@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.
- package/AccessErrorPage.js +18 -0
- package/AdvancedChartWidget.js +253 -0
- package/AppearanceSettings.js +45 -0
- package/Body.js +2328 -0
- package/CreateProfilePage.js +142 -0
- package/HighchartsMapWidget.js +602 -0
- package/LICENSE +203 -0
- package/MainPage.js +121 -0
- package/MarkupWidget.js +33 -0
- package/MetricWidget.js +579 -0
- package/StyledSplitPane.js +41 -0
- package/UserProfilePage.js +44 -0
- package/UsersList.js +306 -0
- package/YandexMapWidget.js +2698 -0
- package/assets/images/dark/403.js +4 -0
- package/assets/images/dark/404.js +4 -0
- package/assets/images/dark/500.js +4 -0
- package/assets/images/dark/bad_request.js +4 -0
- package/assets/images/dark/empty_directory.js +4 -0
- package/assets/images/dark/empty_state.js +4 -0
- package/assets/images/dark/no_accounts.js +4 -0
- package/assets/images/dark/no_permission.js +4 -0
- package/assets/images/dark/project.js +4 -0
- package/assets/images/dark/success_operation.js +4 -0
- package/assets/images/light/403.js +4 -0
- package/assets/images/light/404.js +4 -0
- package/assets/images/light/500.js +4 -0
- package/assets/images/light/bad_request.js +4 -0
- package/assets/images/light/empty_directory.js +4 -0
- package/assets/images/light/empty_state.js +4 -0
- package/assets/images/light/no_accounts.js +4 -0
- package/assets/images/light/no_permission.js +4 -0
- package/assets/images/light/project.js +4 -0
- package/assets/images/light/success_operation.js +4 -0
- package/components/AccessRights.js +5908 -0
- package/components/ActionPanel.js +3507 -0
- package/components/AdaptiveDialog.js +45 -0
- package/components/AnimateBlock.js +38 -0
- package/components/AsideHeaderAdapter.js +632 -0
- package/components/AsyncImage.js +77 -0
- package/components/AutogeneratedPaletteIcon.js +53 -0
- package/components/BetaMark.js +9 -0
- package/components/Breadcrumbs.js +70 -0
- package/components/BreadcrumbsItemLink.js +16 -0
- package/components/ButtonAttach.js +32 -0
- package/components/Collapse.js +159 -0
- package/components/CollectionFilters.js +340 -0
- package/components/CollectionIcon.js +14 -0
- package/components/CollectionsStructure.js +3262 -0
- package/components/ColorPaletteEditorContainer.js +1091 -0
- package/components/ColorPaletteSelect.js +120 -0
- package/components/ColorPickerInput.js +199 -0
- package/components/ConnectorIcon.js +65 -0
- package/components/ControlComponents.js +24341 -0
- package/components/CopyEntriesToWorkbookDialog.js +414 -0
- package/components/DashKit.js +4026 -0
- package/components/DataTypeIcon.js +68 -0
- package/components/DatasetFieldList.js +51 -0
- package/components/DebouncedInput.js +47 -0
- package/components/DialogAddSharedEntryFromLink.js +146 -0
- package/components/DialogChartWidget.js +1265 -0
- package/components/DialogCommon.js +91 -0
- package/components/DialogConfirm.js +69 -0
- package/components/DialogDefault.js +78 -0
- package/components/DialogEditItem.js +183 -0
- package/components/DialogEntryDescription.js +175 -0
- package/components/DialogErrorWithTabs.js +373 -0
- package/components/DialogExternalControl.js +108 -0
- package/components/DialogFieldEditor.js +45 -0
- package/components/DialogFilter.js +3735 -0
- package/components/DialogGroupControl.js +926 -0
- package/components/DialogImageWidget.js +203 -0
- package/components/DialogManager.js +42 -0
- package/components/DialogNoRights.js +19 -0
- package/components/DialogParameter.js +560 -0
- package/components/DialogQLParameter.js +71 -0
- package/components/DialogRelatedEntities.js +230 -0
- package/components/DialogRelations.js +3389 -0
- package/components/DialogSelectSharedEntry.js +129 -0
- package/components/DialogSharedEntryBindings.js +496 -0
- package/components/DialogSharedEntryPermissions.js +147 -0
- package/components/DialogSharedEntryUnbind.js +124 -0
- package/components/DialogSharedRelatedEntities.js +196 -0
- package/components/DialogSuccessWithAction.js +23 -0
- package/components/DialogTextWidget.js +211 -0
- package/components/DialogTitleWidget.js +580 -0
- package/components/DialogWarning.js +51 -0
- package/components/DropdownAction.js +13 -0
- package/components/DropdownNavigation.js +173 -0
- package/components/EditableText.js +56 -0
- package/components/EntitiesList.js +54 -0
- package/components/EntityIcon.js +47 -0
- package/components/EntityLink.js +14 -0
- package/components/EntityRow.js +99 -0
- package/components/EntriesList.js +55 -0
- package/components/EntryBreadcrumbs.js +111 -0
- package/components/EntryContextMenu.js +792 -0
- package/components/EntryDialogues.js +2515 -0
- package/components/EntryIcon.js +102 -0
- package/components/EntryRow.js +99 -0
- package/components/EntryTitle.js +57 -0
- package/components/ErrorBoundary.js +24 -0
- package/components/ErrorContent.js +249 -0
- package/components/ErrorPage.js +30 -0
- package/components/ExpandablePanel.js +67 -0
- package/components/FieldEditor.js +2240 -0
- package/components/FieldWrapper.js +15 -0
- package/components/FloatMenu.js +41 -0
- package/components/FormSection.js +16 -0
- package/components/FormattedValue.js +1 -0
- package/components/IamAccessDialog.js +15 -0
- package/components/IconById.js +14 -0
- package/components/Illustration.js +94 -0
- package/components/InaccessibleOnMobileInset.js +39 -0
- package/components/Interpolate.js +32 -0
- package/components/InterpolatedText.js +47 -0
- package/components/LandingPage.js +50 -0
- package/components/ListWithMenu.js +191 -0
- package/components/ListWithRemove.js +42 -0
- package/components/LocationChange.js +23 -0
- package/components/MarkdownControl.js +21 -0
- package/components/MarkdownHelpPopover.js +77 -0
- package/components/Markup.js +200 -0
- package/components/MigrateToWorkbookDialog.js +498 -0
- package/components/MobileHeader.js +142 -0
- package/components/MobileTocToggle.js +16 -0
- package/components/Monaco.js +112 -0
- package/components/Navigation.js +2675 -0
- package/components/NavigationPrompt.js +18 -0
- package/components/NavigationTabs.js +84 -0
- package/components/NumberFormatSettings.js +193 -0
- package/components/OpenDialogNeedReset.js +49 -0
- package/components/OrderBySelect.js +51 -0
- package/components/PageTitle.js +53 -0
- package/components/PaletteIcon.js +25 -0
- package/components/PaletteItem.js +44 -0
- package/components/PathSelect.js +113 -0
- package/components/PlaceholderIllustration.js +37 -0
- package/components/Progress.js +47 -0
- package/components/ProgressBar.js +19 -0
- package/components/RelativeDatesPicker.js +675 -0
- package/components/RevisionStatusPoint.js +25 -0
- package/components/Revisions.js +314 -0
- package/components/RevisionsPanel.js +278 -0
- package/components/SectionWrapper.js +52 -0
- package/components/Select.js +404 -0
- package/components/SelectComponents.js +12 -0
- package/components/SelectMigrationToWorkbookDialog.js +162 -0
- package/components/SharedBindingsList.js +93 -0
- package/components/SharedEntryIcon.js +22 -0
- package/components/SlugifyUrl.js +22 -0
- package/components/SmartLoader.js +28 -0
- package/components/TabMenu.js +356 -0
- package/components/Tabs.js +66 -0
- package/components/TagInput.js +142 -0
- package/components/TemplateTextPaper.js +32 -0
- package/components/TextEditor.js +41 -0
- package/components/UserAvatar.js +233 -0
- package/components/UserMenu.js +54 -0
- package/components/ValuesList.js +55 -0
- package/components/Veil.js +19 -0
- package/components/ViewAsync.js +45 -0
- package/components/ViewError.js +115 -0
- package/components/ViewLoader.js +17 -0
- package/components/WidgetRoundingsInput.js +47 -0
- package/components/Widgets.js +3964 -0
- package/components/WorkbookIcon.js +63 -0
- package/components/WorkbookNavigationMinimal.js +345 -0
- package/components/YfmWrapper.js +144 -0
- package/components/common.js +4451 -0
- package/highcharts.js +380 -0
- package/index.css +24402 -0
- package/index.js +24 -0
- package/main.js +5018 -0
- package/markdown.js +362 -0
- package/package.json +107 -0
- package/pages/AuthPage.js +604 -0
- package/pages/CollectionsNavigationPage.js +2579 -0
- package/pages/ConnectionsPage.js +11918 -0
- package/pages/DashAndWizardQLPages.js +67 -0
- package/pages/DashPage.js +16470 -0
- package/pages/DatasetPage.js +9986 -0
- package/pages/FallbackPage.js +8 -0
- package/pages/LandingPage.js +8 -0
- package/pages/OwnUserProfilePage.js +878 -0
- package/pages/PreviewPage.js +284 -0
- package/pages/QLPage.js +9628 -0
- package/pages/ServiceSettingsPage.js +180 -0
- package/pages/WizardPage.js +2774 -0
- package/perfomance.js +23 -0
- package/serviceSettings.js +117 -0
- package/types/i18n/constants.d.ts +4 -0
- package/types/i18n/index.d.ts +6 -0
- package/types/i18n/prepare-keysets/constants.d.ts +2 -0
- package/types/i18n/prepare-keysets/index.d.ts +1 -0
- package/types/i18n/prepare-keysets/prepare-keysets.d.ts +1 -0
- package/types/i18n/prepare-keysets/utils.d.ts +22 -0
- package/types/i18n/read-keysets.d.ts +5 -0
- package/types/i18n/types.d.ts +11 -0
- package/types/i18n/utils.d.ts +12 -0
- package/types/index.d.ts +2 -0
- package/types/server/app-env.d.ts +10 -0
- package/types/server/callbacks/index.d.ts +4 -0
- package/types/server/callbacks/page-error.d.ts +3 -0
- package/types/server/components/api-docs/constants.d.ts +1 -0
- package/types/server/components/api-docs/index.d.ts +1 -0
- package/types/server/components/api-docs/types.d.ts +11 -0
- package/types/server/components/app-layout/app-layout-settings.d.ts +3 -0
- package/types/server/components/app-layout/plugins/layout/index.d.ts +2 -0
- package/types/server/components/auth/callbacks/auth-layout.d.ts +3 -0
- package/types/server/components/auth/callbacks/index.d.ts +4 -0
- package/types/server/components/auth/middlewares/auth/api-auth.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/constants.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/index.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/ui-auth.d.ts +2 -0
- package/types/server/components/auth/routes.d.ts +4 -0
- package/types/server/components/auth/types/token.d.ts +10 -0
- package/types/server/components/auth/types/user.d.ts +14 -0
- package/types/server/components/axios.d.ts +3 -0
- package/types/server/components/cache-client.d.ts +30 -0
- package/types/server/components/chart-editor-developer-mode-access-check.d.ts +2 -0
- package/types/server/components/charts-engine/components/chart-generator.d.ts +70 -0
- package/types/server/components/charts-engine/components/chart-validator.d.ts +6 -0
- package/types/server/components/charts-engine/components/error-handler.d.ts +15 -0
- package/types/server/components/charts-engine/components/markdown.d.ts +6 -0
- package/types/server/components/charts-engine/components/processor/chart-api-context.d.ts +14 -0
- package/types/server/components/charts-engine/components/processor/comments-fetcher.d.ts +72 -0
- package/types/server/components/charts-engine/components/processor/console.d.ts +13 -0
- package/types/server/components/charts-engine/components/processor/control-builder.d.ts +10 -0
- package/types/server/components/charts-engine/components/processor/data-fetcher.d.ts +110 -0
- package/types/server/components/charts-engine/components/processor/hooks.d.ts +48 -0
- package/types/server/components/charts-engine/components/processor/index.d.ts +84 -0
- package/types/server/components/charts-engine/components/processor/paramsUtils.d.ts +17 -0
- package/types/server/components/charts-engine/components/processor/sources.d.ts +10 -0
- package/types/server/components/charts-engine/components/processor/stack-trace-prepaper.d.ts +3 -0
- package/types/server/components/charts-engine/components/processor/types.d.ts +169 -0
- package/types/server/components/charts-engine/components/processor/utils.d.ts +12 -0
- package/types/server/components/charts-engine/components/processor/worker-chart-builder.d.ts +26 -0
- package/types/server/components/charts-engine/components/request/axios.d.ts +54 -0
- package/types/server/components/charts-engine/components/request/index.d.ts +36 -0
- package/types/server/components/charts-engine/components/storage/base.d.ts +76 -0
- package/types/server/components/charts-engine/components/storage/index.d.ts +7 -0
- package/types/server/components/charts-engine/components/storage/types.d.ts +94 -0
- package/types/server/components/charts-engine/components/storage/united-storage/index.d.ts +3 -0
- package/types/server/components/charts-engine/components/storage/united-storage/provider.d.ts +115 -0
- package/types/server/components/charts-engine/components/utils.d.ts +26 -0
- package/types/server/components/charts-engine/components/wizard-worker/index.d.ts +1 -0
- package/types/server/components/charts-engine/components/wizard-worker/types.d.ts +72 -0
- package/types/server/components/charts-engine/components/wizard-worker/utils.d.ts +3 -0
- package/types/server/components/charts-engine/constants/index.d.ts +53 -0
- package/types/server/components/charts-engine/controllers/charts.d.ts +49 -0
- package/types/server/components/charts-engine/controllers/config.d.ts +3 -0
- package/types/server/components/charts-engine/controllers/csvConverter.d.ts +13 -0
- package/types/server/components/charts-engine/controllers/embedded-entry.d.ts +2 -0
- package/types/server/components/charts-engine/controllers/embeds.d.ts +3 -0
- package/types/server/components/charts-engine/controllers/export.d.ts +2 -0
- package/types/server/components/charts-engine/controllers/markdown.d.ts +5 -0
- package/types/server/components/charts-engine/controllers/run.d.ts +10 -0
- package/types/server/components/charts-engine/controllers/utils.d.ts +29 -0
- package/types/server/components/charts-engine/index.d.ts +49 -0
- package/types/server/components/charts-engine/runners/common.d.ts +59 -0
- package/types/server/components/charts-engine/runners/control.d.ts +2 -0
- package/types/server/components/charts-engine/runners/index.d.ts +25 -0
- package/types/server/components/charts-engine/runners/utils.d.ts +1 -0
- package/types/server/components/charts-engine/runners/wizard.d.ts +2 -0
- package/types/server/components/charts-engine/runners/worker.d.ts +8 -0
- package/types/server/components/charts-engine/types.d.ts +169 -0
- package/types/server/components/features/features-list/AsideHeaderEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/AuthUpdateWithTimeout.d.ts +3 -0
- package/types/server/components/features/features-list/ChartEditorDeveloperModeCheck.d.ts +3 -0
- package/types/server/components/features/features-list/ChartkitAlerts.d.ts +3 -0
- package/types/server/components/features/features-list/CollectionsAccessEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/CollectionsEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/Comments.d.ts +3 -0
- package/types/server/components/features/features-list/ConnectionBasedControl.d.ts +3 -0
- package/types/server/components/features/features-list/CopyEntriesToWorkbook.d.ts +3 -0
- package/types/server/components/features/features-list/DashBoardSupportDescription.d.ts +3 -0
- package/types/server/components/features/features-list/DashBoardWidgetParamsStrictValidation.d.ts +3 -0
- package/types/server/components/features/features-list/DashServerMigrationEnable.d.ts +3 -0
- package/types/server/components/features/features-list/DashServerValidationEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/DatasetsRLS.d.ts +3 -0
- package/types/server/components/features/features-list/DisableFnAndHtml.d.ts +3 -0
- package/types/server/components/features/features-list/EnableAutocreateDataset.d.ts +3 -0
- package/types/server/components/features/features-list/EnableChartEditorDocs.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCommonChartDashSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCustomDashMargins.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCustomMonitoring.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDLRebranding.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashAutoFocus.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashChartStat.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashColorPickersByTheme.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDatasetSourcesPagination.d.ts +3 -0
- package/types/server/components/features/features-list/EnableEmbedsInDialogShare.d.ts +3 -0
- package/types/server/components/features/features-list/EnableEntryMenuItemShare.d.ts +3 -0
- package/types/server/components/features/features-list/EnableExportSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableExportWorkbookFile.d.ts +3 -0
- package/types/server/components/features/features-list/EnableFileUploadingByPresignedUrl.d.ts +3 -0
- package/types/server/components/features/features-list/EnableFooter.d.ts +3 -0
- package/types/server/components/features/features-list/EnableGlobalSelectors.d.ts +3 -0
- package/types/server/components/features/features-list/EnableMobileFixedHeader.d.ts +3 -0
- package/types/server/components/features/features-list/EnableMobileHeader.d.ts +3 -0
- package/types/server/components/features/features-list/EnableNewDashSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableNewServiceSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnablePublishEntry.d.ts +3 -0
- package/types/server/components/features/features-list/EnableRLSV2.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSaveAsEditorScript.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSecureParamsV2.d.ts +3 -0
- package/types/server/components/features/features-list/EnableServerlessEditor.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSharedEntries.d.ts +3 -0
- package/types/server/components/features/features-list/EnableUpdatingDsSettingsByAction.d.ts +3 -0
- package/types/server/components/features/features-list/EntryMenuItemCopy.d.ts +3 -0
- package/types/server/components/features/features-list/EntryMenuItemMove.d.ts +3 -0
- package/types/server/components/features/features-list/ExternalSelectors.d.ts +3 -0
- package/types/server/components/features/features-list/FetchDocumentation.d.ts +3 -0
- package/types/server/components/features/features-list/FieldEditorDocSection.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForBarYAndScatter.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForLineAreaAndBarX.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForPieAndTreemap.d.ts +3 -0
- package/types/server/components/features/features-list/HideMultitenant.d.ts +3 -0
- package/types/server/components/features/features-list/HolidaysOnChart.d.ts +3 -0
- package/types/server/components/features/features-list/MassRemoveCollectionsWorkbooks.d.ts +3 -0
- package/types/server/components/features/features-list/MenuItemsFlatView.d.ts +3 -0
- package/types/server/components/features/features-list/MultiDatasets.d.ts +3 -0
- package/types/server/components/features/features-list/MultipleColorsInVisualization.d.ts +3 -0
- package/types/server/components/features/features-list/NewTableWidgetForCE.d.ts +3 -0
- package/types/server/components/features/features-list/NoJsonFn.d.ts +3 -0
- package/types/server/components/features/features-list/QLMonitoring.d.ts +3 -0
- package/types/server/components/features/features-list/QLPrometheus.d.ts +3 -0
- package/types/server/components/features/features-list/QlAutoExecuteMonitoringChart.d.ts +3 -0
- package/types/server/components/features/features-list/ReadOnlyMode.d.ts +3 -0
- package/types/server/components/features/features-list/RevisionsListNoLimit.d.ts +3 -0
- package/types/server/components/features/features-list/ShouldCheckEditorAccess.d.ts +3 -0
- package/types/server/components/features/features-list/ShowChartsEngineDebugInfo.d.ts +3 -0
- package/types/server/components/features/features-list/ShowCreateEntryWithMenu.d.ts +3 -0
- package/types/server/components/features/features-list/ShowInspectorDetails.d.ts +3 -0
- package/types/server/components/features/features-list/UseAxiosRequest.d.ts +3 -0
- package/types/server/components/features/features-list/UseChartsEngineLogin.d.ts +3 -0
- package/types/server/components/features/features-list/UseChartsEngineResponseConfig.d.ts +3 -0
- package/types/server/components/features/features-list/UseComponentHeader.d.ts +3 -0
- package/types/server/components/features/features-list/UseConfigurableChartkit.d.ts +3 -0
- package/types/server/components/features/features-list/UsePublicDistincts.d.ts +3 -0
- package/types/server/components/features/features-list/UseYqlFolderKey.d.ts +3 -0
- package/types/server/components/features/features-list/XlsxChartExportEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/XlsxFilesEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/index.d.ts +3 -0
- package/types/server/components/features/index.d.ts +2 -0
- package/types/server/components/features/utils.d.ts +15 -0
- package/types/server/components/gateway-auth-helpers/bi-auth-helpers.d.ts +9 -0
- package/types/server/components/gateway-auth-helpers/index.d.ts +2 -0
- package/types/server/components/gateway-auth-helpers/us-auth-helpers.d.ts +9 -0
- package/types/server/components/index.d.ts +4 -0
- package/types/server/components/layout/index.d.ts +2 -0
- package/types/server/components/layout/landing-layout.d.ts +3 -0
- package/types/server/components/layout/opensource-layout-config.d.ts +2 -0
- package/types/server/components/layout/utils.d.ts +9 -0
- package/types/server/components/metrika-data-formatter.d.ts +2 -0
- package/types/server/components/public-api/config/index.d.ts +1 -0
- package/types/server/components/public-api/config/v1.d.ts +330 -0
- package/types/server/components/public-api/constants/common.d.ts +21 -0
- package/types/server/components/public-api/constants/index.d.ts +1 -0
- package/types/server/components/public-api/index.d.ts +2 -0
- package/types/server/components/public-api/types.d.ts +39 -0
- package/types/server/components/public-api/utils/index.d.ts +3 -0
- package/types/server/components/public-api/utils/init-public-api-swagger.d.ts +2 -0
- package/types/server/components/public-api/utils/prepare-public-api-base-config.d.ts +4 -0
- package/types/server/components/public-api/utils/register-action-to-open-api.d.ts +9 -0
- package/types/server/components/resolve-entry-by-link.d.ts +9 -0
- package/types/server/components/sdk/dash.d.ts +32 -0
- package/types/server/components/sdk/index.d.ts +2 -0
- package/types/server/components/sdk/us.d.ts +22 -0
- package/types/server/components/workbook-transfer/charts.d.ts +56 -0
- package/types/server/components/workbook-transfer/create-transfer-notifications.d.ts +21 -0
- package/types/server/components/workbook-transfer/dash.d.ts +35 -0
- package/types/server/components/zitadel/init-zitadel.d.ts +6 -0
- package/types/server/components/zitadel/routes.d.ts +8 -0
- package/types/server/components/zitadel/utils.d.ts +23 -0
- package/types/server/configs/common.d.ts +24 -0
- package/types/server/configs/opensource/common.d.ts +115 -0
- package/types/server/configs/opensource/development.d.ts +4 -0
- package/types/server/configs/secrets.d.ts +3 -0
- package/types/server/configs/shared/control-dash-chart-template.d.ts +8 -0
- package/types/server/configs/shared/datalens-chart-template.d.ts +9 -0
- package/types/server/configs/shared/ql-chart-template.d.ts +11 -0
- package/types/server/constants/axios.d.ts +6 -0
- package/types/server/constants/index.d.ts +23 -0
- package/types/server/constants/public-api.d.ts +1 -0
- package/types/server/controllers/api.d.ts +4 -0
- package/types/server/controllers/dl-main.d.ts +2 -0
- package/types/server/controllers/index.d.ts +6 -0
- package/types/server/controllers/navigate.d.ts +2 -0
- package/types/server/controllers/navigation.d.ts +2 -0
- package/types/server/controllers/ping.d.ts +2 -0
- package/types/server/controllers/public-api/constants.d.ts +10 -0
- package/types/server/controllers/public-api/index.d.ts +3 -0
- package/types/server/controllers/public-api/utils.d.ts +14 -0
- package/types/server/controllers/stats.d.ts +2 -0
- package/types/server/controllers/utils/handle-entry-redirect.d.ts +3 -0
- package/types/server/controllers/workbook-transfer.d.ts +34 -0
- package/types/server/controllers/xlsx-converter.d.ts +9 -0
- package/types/server/controllers/zitadel.d.ts +2 -0
- package/types/server/expresskit.d.ts +7 -0
- package/types/server/index.d.ts +0 -0
- package/types/server/lib/validation/index.d.ts +3 -0
- package/types/server/lib/validation/types.d.ts +12 -0
- package/types/server/local-dev.d.ts +1 -0
- package/types/server/middlewares/app-layout.d.ts +9 -0
- package/types/server/middlewares/auth-zitadel.d.ts +2 -0
- package/types/server/middlewares/before-auth-defaults.d.ts +2 -0
- package/types/server/middlewares/connector-icons.d.ts +10 -0
- package/types/server/middlewares/ctx.d.ts +2 -0
- package/types/server/middlewares/index.d.ts +9 -0
- package/types/server/middlewares/patch-logger.d.ts +2 -0
- package/types/server/middlewares/scr-requests.d.ts +2 -0
- package/types/server/middlewares/server-feature-with-bounded-context.d.ts +2 -0
- package/types/server/middlewares/tenant-settings.d.ts +2 -0
- package/types/server/middlewares/x-dl-context.d.ts +6 -0
- package/types/server/modes/charts/init-charts-engine.d.ts +18 -0
- package/types/server/modes/charts/plugins/constants/middleware-urls.d.ts +3 -0
- package/types/server/modes/charts/plugins/constants/misc.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/constants/misc.d.ts +1 -0
- package/types/server/modes/charts/plugins/control/controls/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/control/helpers/misc.d.ts +13 -0
- package/types/server/modes/charts/plugins/control/index.d.ts +19 -0
- package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-dataset-content.d.ts +8 -0
- package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-fields.d.ts +3 -0
- package/types/server/modes/charts/plugins/control/js/helpers/process-content.d.ts +11 -0
- package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-content.d.ts +3 -0
- package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-parameters.d.ts +6 -0
- package/types/server/modes/charts/plugins/control/js/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/control/js/types.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/types.d.ts +50 -0
- package/types/server/modes/charts/plugins/control/url/constants.d.ts +9 -0
- package/types/server/modes/charts/plugins/control/url/distincts/build-distincts-body.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/url/distincts/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/fields/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/control/url/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/typed-query/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/types.d.ts +27 -0
- package/types/server/modes/charts/plugins/dash-api.d.ts +14 -0
- package/types/server/modes/charts/plugins/data-api-json-schema.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/chart-editor-module.d.ts +136 -0
- package/types/server/modes/charts/plugins/datalens/config/constants.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/config/index.d.ts +58 -0
- package/types/server/modes/charts/plugins/datalens/config/types.d.ts +57 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/dataLabels.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/format.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/index.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/range-slider.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/highcharts.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/js/constants/errors.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/colors/index.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/index.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/types.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/utils.d.ts +8 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/index.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/types.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/misc/prepare-single-result.d.ts +20 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/notifications/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/totals/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/totals/types.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/js/js-v1.5-private.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/js/js.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/area/index.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/constants/misc.d.ts +1 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/backgroundColor.d.ts +41 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/color.d.ts +24 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/misc.d.ts +29 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/sort.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/totals.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-head-generator.d.ts +53 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-rows-generator.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/types.d.ts +125 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/highcharts.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/prepare-bar-x.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/highcharts.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/prepare-bar-y-data.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-background-colors-map-by-continuous-column.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-flat-table-background-styles.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/types.d.ts +39 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/index.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/types.d.ts +29 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/misc.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/index.d.ts +43 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/constants.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/index.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/types.d.ts +41 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint-with-cluster.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopolygon.d.ts +33 -0
- package/types/server/modes/charts/plugins/datalens/preparers/heatmap.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/action-params.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatter.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatting.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/get-axis-formatting.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/getAxisType.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/index.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/isAxisLabelDateFormat.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/backgroundSettings/misc.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/index.d.ts +16 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/colors.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/columnSettings.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/get-formatted-value.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/highcharts.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/layers.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/legend.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/segments.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/visualizations.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/getLayerPlaceholderWithItems.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/types.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/colorizeByGradient.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedCategories.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedLineKeys.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getXAxisValue.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/index.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/getColoredLineLegendTitle.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/helpers.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToDimensionColoredLines.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToLines.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToMeasureColoredLines.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/prepareLines.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/types.d.ts +142 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentName.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsIndexInOrder.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsList.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsMap.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsYAxis.d.ts +15 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/types.d.ts +20 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/types.d.ts +67 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/utils.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/highcharts.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/prepare-line-data.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/types.d.ts +36 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line-time/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/index.d.ts +56 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/utils.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/basic.d.ts +25 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/markup.d.ts +44 -0
- package/types/server/modes/charts/plugins/datalens/preparers/old-pivot-table/old-pivot-table.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/gravity-charts.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/highcharts.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/prepare-pie-data.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/utils.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/polyline.d.ts +36 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/gravity-charts.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/shape.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/tooltip.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/highcharts.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/prepare-scatter.d.ts +28 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/types.d.ts +18 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/highcharts.d.ts +40 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/types.d.ts +74 -0
- package/types/server/modes/charts/plugins/datalens/preparers/utils.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/private-module.d.ts +85 -0
- package/types/server/modes/charts/plugins/datalens/types.d.ts +72 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/constants.d.ts +1 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/default-request.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/index.d.ts +40 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/totals.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/types.d.ts +42 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/index.d.ts +8 -0
- package/types/server/modes/charts/plugins/datalens/url/build-sources.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/fields.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/filters.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/index.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/misc.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/parameters.d.ts +16 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/table-settings.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/url/types.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/utils/axis-helpers.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/utils/color-helpers.d.ts +93 -0
- package/types/server/modes/charts/plugins/datalens/utils/config-helpers.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/utils/constants.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/utils/export-helpers.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/utils/geo-helpers.d.ts +57 -0
- package/types/server/modes/charts/plugins/datalens/utils/get-gradient-stops.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/utils/hierarchy-helpers.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/utils/markup-helpers.d.ts +26 -0
- package/types/server/modes/charts/plugins/datalens/utils/misc-helpers.d.ts +88 -0
- package/types/server/modes/charts/plugins/datalens/utils/pivot-table/totals.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/utils/shape-helpers.d.ts +9 -0
- package/types/server/modes/charts/plugins/dataset/v2.d.ts +71 -0
- package/types/server/modes/charts/plugins/helpers/color-palettes.d.ts +30 -0
- package/types/server/modes/charts/plugins/helpers/misc.d.ts +11 -0
- package/types/server/modes/charts/plugins/logins-blacklist.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/ql/module/chart-editor-module.d.ts +69 -0
- package/types/server/modes/charts/plugins/ql/module/config/build-chart-config.d.ts +16 -0
- package/types/server/modes/charts/plugins/ql/module/config/index.d.ts +45 -0
- package/types/server/modes/charts/plugins/ql/module/highcharts.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/module/js/build-graph.d.ts +14 -0
- package/types/server/modes/charts/plugins/ql/module/library-config/build-library-config.d.ts +14 -0
- package/types/server/modes/charts/plugins/ql/module/library-config/index.d.ts +12 -0
- package/types/server/modes/charts/plugins/ql/module/private-module.d.ts +13 -0
- package/types/server/modes/charts/plugins/ql/module/url/build-sources.d.ts +4 -0
- package/types/server/modes/charts/plugins/ql/module/url/index.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/module/url/types.d.ts +9 -0
- package/types/server/modes/charts/plugins/ql/preparers/line-time.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/preparers/line.d.ts +11 -0
- package/types/server/modes/charts/plugins/ql/preparers/metric.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/preparers/pie.d.ts +11 -0
- package/types/server/modes/charts/plugins/ql/preparers/preview-table.d.ts +9 -0
- package/types/server/modes/charts/plugins/ql/preparers/table.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/ql-chart-runner.d.ts +2 -0
- package/types/server/modes/charts/plugins/ql/types.d.ts +4 -0
- package/types/server/modes/charts/plugins/ql/utils/autofill-helpers.d.ts +38 -0
- package/types/server/modes/charts/plugins/ql/utils/colors.d.ts +19 -0
- package/types/server/modes/charts/plugins/ql/utils/connection.d.ts +5 -0
- package/types/server/modes/charts/plugins/ql/utils/constants.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/utils/identify-params.d.ts +6 -0
- package/types/server/modes/charts/plugins/ql/utils/migrate-helpers.d.ts +30 -0
- package/types/server/modes/charts/plugins/ql/utils/misc-helpers.d.ts +139 -0
- package/types/server/modes/charts/plugins/ql/utils/value-helpers.d.ts +5 -0
- package/types/server/modes/charts/plugins/ql/utils/visualization-utils.d.ts +21 -0
- package/types/server/modes/charts/plugins/ql/worker.d.ts +1 -0
- package/types/server/modes/charts/plugins/ql/yagr.d.ts +7 -0
- package/types/server/modes/charts/plugins/request-with-dataset/index.d.ts +26 -0
- package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/charts-with-dataset.d.ts +15 -0
- package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/controls-with-dataset.d.ts +13 -0
- package/types/server/modes/charts/plugins/request-with-dataset/request-dataset.d.ts +24 -0
- package/types/server/modes/charts/plugins/runner-key-adapter.d.ts +8 -0
- package/types/server/modes/charts/plugins/types.d.ts +62 -0
- package/types/server/modes/charts/telemetry.d.ts +3 -0
- package/types/server/modes/opensource/app.d.ts +3 -0
- package/types/server/modes/opensource/middlewares/index.d.ts +1 -0
- package/types/server/modes/opensource/middlewares/subrequest-headers.d.ts +2 -0
- package/types/server/modes/opensource/routes.d.ts +12 -0
- package/types/server/nodekit.d.ts +3 -0
- package/types/server/registry/index.d.ts +114 -0
- package/types/server/registry/units/common/auth-functions-map.d.ts +10 -0
- package/types/server/registry/units/common/functions-map.d.ts +16 -0
- package/types/server/registry/units/common/index.d.ts +70 -0
- package/types/server/registry/units/common/register.d.ts +1 -0
- package/types/server/registry/utils/register-app-plugins.d.ts +1 -0
- package/types/server/types/app-layout.d.ts +18 -0
- package/types/server/types/connections.d.ts +2 -0
- package/types/server/types/controllers.d.ts +16 -0
- package/types/server/types/gateway.d.ts +7 -0
- package/types/server/types/xlsxConverter.d.ts +9 -0
- package/types/server/utils/axios.d.ts +3 -0
- package/types/server/utils/env-utils.d.ts +1 -0
- package/types/server/utils/gateway.d.ts +9 -0
- package/types/server/utils/index.d.ts +43 -0
- package/types/server/utils/language.d.ts +18 -0
- package/types/server/utils/redis.d.ts +20 -0
- package/types/server/utils/routes.d.ts +2 -0
- package/types/server/utils/schema-validate.d.ts +1 -0
- package/types/shared/components/auth/constants/cookie.d.ts +2 -0
- package/types/shared/components/auth/constants/role.d.ts +7 -0
- package/types/shared/components/auth/constants/token.d.ts +1 -0
- package/types/shared/components/auth/constants/url.d.ts +1 -0
- package/types/shared/components/auth/types/layout.d.ts +6 -0
- package/types/shared/components/public-api/utils/index.d.ts +1 -0
- package/types/shared/constants/api-v2.d.ts +4 -0
- package/types/shared/constants/chartkit-handlers.d.ts +13 -0
- package/types/shared/constants/charts.d.ts +6 -0
- package/types/shared/constants/collections.d.ts +5 -0
- package/types/shared/constants/colors/common/classic-20.d.ts +3 -0
- package/types/shared/constants/colors/common/datalens.d.ts +3 -0
- package/types/shared/constants/colors/common/default-20.d.ts +3 -0
- package/types/shared/constants/colors/common/emerald-20.d.ts +3 -0
- package/types/shared/constants/colors/common/golden-20.d.ts +3 -0
- package/types/shared/constants/colors/common/neutral-20.d.ts +3 -0
- package/types/shared/constants/colors/common/oceanic-20.d.ts +3 -0
- package/types/shared/constants/colors/common/traffic-light-9.d.ts +3 -0
- package/types/shared/constants/colors/index.d.ts +24 -0
- package/types/shared/constants/colors/tableau/blue-red-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/blue-red-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/color-blind-10.d.ts +3 -0
- package/types/shared/constants/colors/tableau/gray-5.d.ts +3 -0
- package/types/shared/constants/colors/tableau/green-orange-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/green-orange-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/purpure-gray-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/purpure-gray-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10-light.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10-medium.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-20.d.ts +3 -0
- package/types/shared/constants/colors/tableau/traffic-light.d.ts +3 -0
- package/types/shared/constants/colors/types.d.ts +71 -0
- package/types/shared/constants/common.d.ts +107 -0
- package/types/shared/constants/connections.d.ts +94 -0
- package/types/shared/constants/cookie.d.ts +2 -0
- package/types/shared/constants/dash.d.ts +32 -0
- package/types/shared/constants/datasets.d.ts +4 -0
- package/types/shared/constants/datepicker/relative-datepicker.d.ts +11 -0
- package/types/shared/constants/entry.d.ts +65 -0
- package/types/shared/constants/error/index.d.ts +10 -0
- package/types/shared/constants/error-codes.d.ts +61 -0
- package/types/shared/constants/exports.d.ts +15 -0
- package/types/shared/constants/gradients/default.d.ts +14 -0
- package/types/shared/constants/gradients/index.d.ts +132 -0
- package/types/shared/constants/gradients/three-point/blue-gray-red.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/blue-yellow-red.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-blue-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-gray-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-violet-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/pink-gray-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/red-orange-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/traffic-light.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/violet-blue-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/yellow-green-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point-gradients.d.ts +48 -0
- package/types/shared/constants/gradients/two-point/blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/cyan.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/golden.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/gray.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/green-blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/green.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/oceanic.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/orange-yellow.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/red-blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/red.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/violet-orange.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/violet.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/yellow.d.ts +5 -0
- package/types/shared/constants/gradients/two-point-gradients.d.ts +60 -0
- package/types/shared/constants/header.d.ts +42 -0
- package/types/shared/constants/index.d.ts +33 -0
- package/types/shared/constants/markdown.d.ts +1 -0
- package/types/shared/constants/markup.d.ts +1 -0
- package/types/shared/constants/navigation.d.ts +20 -0
- package/types/shared/constants/old-schema.d.ts +3 -0
- package/types/shared/constants/placeholder.d.ts +28 -0
- package/types/shared/constants/print.d.ts +2 -0
- package/types/shared/constants/qa/action-panel.d.ts +14 -0
- package/types/shared/constants/qa/chart.d.ts +53 -0
- package/types/shared/constants/qa/collections.d.ts +11 -0
- package/types/shared/constants/qa/components.d.ts +176 -0
- package/types/shared/constants/qa/connections.d.ts +32 -0
- package/types/shared/constants/qa/control.d.ts +76 -0
- package/types/shared/constants/qa/dash.d.ts +97 -0
- package/types/shared/constants/qa/datasets.d.ts +53 -0
- package/types/shared/constants/qa/dl-navigation.d.ts +9 -0
- package/types/shared/constants/qa/field-editor.d.ts +3 -0
- package/types/shared/constants/qa/index.d.ts +16 -0
- package/types/shared/constants/qa/ql.d.ts +28 -0
- package/types/shared/constants/qa/settings.d.ts +11 -0
- package/types/shared/constants/qa/sign-in.d.ts +5 -0
- package/types/shared/constants/qa/uikit.d.ts +7 -0
- package/types/shared/constants/qa/visualization.d.ts +18 -0
- package/types/shared/constants/qa/wizard.d.ts +174 -0
- package/types/shared/constants/qa/workbooks.d.ts +18 -0
- package/types/shared/constants/ql.d.ts +27 -0
- package/types/shared/constants/shapes/index.d.ts +2 -0
- package/types/shared/constants/shapes/lines/index.d.ts +42 -0
- package/types/shared/constants/shapes/points/index.d.ts +8 -0
- package/types/shared/constants/themes.d.ts +17 -0
- package/types/shared/constants/timeout.d.ts +9 -0
- package/types/shared/constants/ui-sandbox.d.ts +1 -0
- package/types/shared/constants/url.d.ts +5 -0
- package/types/shared/constants/user.d.ts +4 -0
- package/types/shared/constants/visualization.d.ts +36 -0
- package/types/shared/constants/widgets.d.ts +30 -0
- package/types/shared/constants/wizard.d.ts +55 -0
- package/types/shared/constants/workbook-transfer.d.ts +17 -0
- package/types/shared/constants/workbooks.d.ts +7 -0
- package/types/shared/constants/yfm.d.ts +20 -0
- package/types/shared/endpoints/constants/index.d.ts +2 -0
- package/types/shared/endpoints/constants/opensource.d.ts +62 -0
- package/types/shared/endpoints/index.d.ts +62 -0
- package/types/shared/endpoints/schema/index.d.ts +2 -0
- package/types/shared/endpoints/schema/opensource.d.ts +40 -0
- package/types/shared/endpoints/sources/index.d.ts +19 -0
- package/types/shared/endpoints/sources/opensource.d.ts +2 -0
- package/types/shared/endpoints/sources/types.d.ts +27 -0
- package/types/shared/endpoints/types.d.ts +14 -0
- package/types/shared/endpoints/utils.d.ts +1 -0
- package/types/shared/index.d.ts +6 -0
- package/types/shared/modules/bi-api/index.d.ts +1 -0
- package/types/shared/modules/bi-api/mappers/index.d.ts +1 -0
- package/types/shared/modules/bi-api/mappers/v2.d.ts +14 -0
- package/types/shared/modules/charts-shared.d.ts +71 -0
- package/types/shared/modules/colors/common-helpers.d.ts +7 -0
- package/types/shared/modules/colors/distincts-helpers.d.ts +2 -0
- package/types/shared/modules/config/ql/index.d.ts +1 -0
- package/types/shared/modules/config/ql/mapQlConfigToLatestVersion.d.ts +7 -0
- package/types/shared/modules/config/ql/v1/mapUndefinedConfigToV1.d.ts +3 -0
- package/types/shared/modules/config/ql/v2/mapV1ConfigToV2.d.ts +4 -0
- package/types/shared/modules/config/ql/v3/mapV2ConfigToV3.d.ts +3 -0
- package/types/shared/modules/config/ql/v4/mapV3ConfigToV4.d.ts +3 -0
- package/types/shared/modules/config/ql/v5/mapV4ConfigToV5.d.ts +3 -0
- package/types/shared/modules/config/ql/v6/mapV5ConfigToV6.d.ts +3 -0
- package/types/shared/modules/config/ql/v7/mapV6ConfigToV7.d.ts +3 -0
- package/types/shared/modules/config/utils.d.ts +1 -0
- package/types/shared/modules/config/wizard/index.d.ts +1 -0
- package/types/shared/modules/config/wizard/mapChartsConfigToLatestVersion.d.ts +4 -0
- package/types/shared/modules/config/wizard/mocks/v4.mock.d.ts +21 -0
- package/types/shared/modules/config/wizard/v1/mapV1ConfigToV2.d.ts +3 -0
- package/types/shared/modules/config/wizard/v10/mapV10ConfigToV11.d.ts +2 -0
- package/types/shared/modules/config/wizard/v11/mapV11ConfigToV12.d.ts +2 -0
- package/types/shared/modules/config/wizard/v12/mapV12ConfigToV13.d.ts +2 -0
- package/types/shared/modules/config/wizard/v13/mapV13ConfigToV14.d.ts +3 -0
- package/types/shared/modules/config/wizard/v14/mapV14ConfigToV15.d.ts +3 -0
- package/types/shared/modules/config/wizard/v2/mapV2ConfigToV3.d.ts +3 -0
- package/types/shared/modules/config/wizard/v3/mapV3ConfigToV4.d.ts +4 -0
- package/types/shared/modules/config/wizard/v4/mapV4ConfigToV5.d.ts +2 -0
- package/types/shared/modules/config/wizard/v5/mapV5ConfigToV6.d.ts +2 -0
- package/types/shared/modules/config/wizard/v6/mapV6ConfigToV7.d.ts +2 -0
- package/types/shared/modules/config/wizard/v7/mapV7ConfigToV8.d.ts +2 -0
- package/types/shared/modules/config/wizard/v8/mapV8ConfigToV9.d.ts +2 -0
- package/types/shared/modules/config/wizard/v9/mapV9ConfigToV10.d.ts +2 -0
- package/types/shared/modules/control/typed-query-helpers.d.ts +2 -0
- package/types/shared/modules/dash-scheme-converter.d.ts +15 -0
- package/types/shared/modules/entry.d.ts +6 -0
- package/types/shared/modules/fields.d.ts +12 -0
- package/types/shared/modules/format-units/formatUnit.d.ts +5 -0
- package/types/shared/modules/format-units/i18n/en.json.d.ts +20 -0
- package/types/shared/modules/format-units/i18n/i18n.d.ts +5 -0
- package/types/shared/modules/format-units/i18n/ru.json.d.ts +20 -0
- package/types/shared/modules/format-units/index.d.ts +1 -0
- package/types/shared/modules/format-units/types.d.ts +14 -0
- package/types/shared/modules/helpers.d.ts +38 -0
- package/types/shared/modules/index.d.ts +19 -0
- package/types/shared/modules/language.d.ts +2 -0
- package/types/shared/modules/markdown/emoji-defs.d.ts +1 -0
- package/types/shared/modules/markdown/markdown-plugins/unify-terms.d.ts +4 -0
- package/types/shared/modules/markdown/markdown.d.ts +12 -0
- package/types/shared/modules/markup.d.ts +2 -0
- package/types/shared/modules/qa-helpers.d.ts +5 -0
- package/types/shared/modules/ql-helpers.d.ts +22 -0
- package/types/shared/modules/sleep.d.ts +1 -0
- package/types/shared/modules/slugify.d.ts +3 -0
- package/types/shared/modules/tenant.d.ts +3 -0
- package/types/shared/modules/transliterate.d.ts +1 -0
- package/types/shared/modules/typed-query-api/helpers/parameters.d.ts +2 -0
- package/types/shared/modules/typed-query-api/index.d.ts +1 -0
- package/types/shared/modules/typed-query-api/mappers/parameters.d.ts +3 -0
- package/types/shared/modules/url.d.ts +1 -0
- package/types/shared/modules/user.d.ts +4 -0
- package/types/shared/modules/visualization/placeholder.d.ts +3 -0
- package/types/shared/modules/wizard/axis-mode.d.ts +8 -0
- package/types/shared/modules/wizard/axis-settings.d.ts +2 -0
- package/types/shared/modules/wizard/config.d.ts +2 -0
- package/types/shared/modules/wizard/index.d.ts +3 -0
- package/types/shared/modules/wizard-helpers.d.ts +51 -0
- package/types/shared/old-schema/charts.d.ts +131 -0
- package/types/shared/old-schema/index.d.ts +113 -0
- package/types/shared/schema/auth/actions.d.ts +22 -0
- package/types/shared/schema/auth/index.d.ts +27 -0
- package/types/shared/schema/auth/types/common.d.ts +3 -0
- package/types/shared/schema/auth/types/users.d.ts +86 -0
- package/types/shared/schema/auth-schema/auth/actions.d.ts +12 -0
- package/types/shared/schema/auth-schema/auth/index.d.ts +17 -0
- package/types/shared/schema/auth-schema/auth/types.d.ts +11 -0
- package/types/shared/schema/auth-schema/index.d.ts +18 -0
- package/types/shared/schema/bi/actions/connections.d.ts +31 -0
- package/types/shared/schema/bi/actions/datasets.d.ts +43 -0
- package/types/shared/schema/bi/actions/index.d.ts +66 -0
- package/types/shared/schema/bi/actions/oauth.d.ts +10 -0
- package/types/shared/schema/bi/helpers/datasets.d.ts +58 -0
- package/types/shared/schema/bi/helpers/index.d.ts +1 -0
- package/types/shared/schema/bi/index.d.ts +71 -0
- package/types/shared/schema/bi/schemas/connections.d.ts +20 -0
- package/types/shared/schema/bi/schemas/datasets.d.ts +24 -0
- package/types/shared/schema/bi/schemas/index.d.ts +1 -0
- package/types/shared/schema/bi/types/common.d.ts +5 -0
- package/types/shared/schema/bi/types/connections.d.ts +145 -0
- package/types/shared/schema/bi/types/datasets.d.ts +246 -0
- package/types/shared/schema/bi/types/forms.d.ts +182 -0
- package/types/shared/schema/bi/types/index.d.ts +4 -0
- package/types/shared/schema/bi/types/oauth.d.ts +18 -0
- package/types/shared/schema/bi-converter/actions/index.d.ts +18 -0
- package/types/shared/schema/bi-converter/index.d.ts +23 -0
- package/types/shared/schema/bi-converter/types/index.d.ts +181 -0
- package/types/shared/schema/extensions/actions/iam-access-dialog.d.ts +100 -0
- package/types/shared/schema/extensions/actions/index.d.ts +100 -0
- package/types/shared/schema/extensions/index.d.ts +104 -0
- package/types/shared/schema/extensions/types/iam-access-dialog.d.ts +123 -0
- package/types/shared/schema/extensions/types/index.d.ts +1 -0
- package/types/shared/schema/gateway-utils.d.ts +34 -0
- package/types/shared/schema/googleapis/actions.d.ts +1 -0
- package/types/shared/schema/index.d.ts +3363 -0
- package/types/shared/schema/meta-manager/actions/export.d.ts +12 -0
- package/types/shared/schema/meta-manager/actions/import.d.ts +10 -0
- package/types/shared/schema/meta-manager/actions/index.d.ts +14 -0
- package/types/shared/schema/meta-manager/index.d.ts +19 -0
- package/types/shared/schema/meta-manager/types/export.d.ts +33 -0
- package/types/shared/schema/meta-manager/types/import.d.ts +21 -0
- package/types/shared/schema/meta-manager/types/index.d.ts +2 -0
- package/types/shared/schema/mix/actions/dash/create-dashboard-v1.d.ts +723 -0
- package/types/shared/schema/mix/actions/dash/delete-dashboard.d.ts +9 -0
- package/types/shared/schema/mix/actions/dash/get-dashboard-v1.d.ts +515 -0
- package/types/shared/schema/mix/actions/dash/index.d.ts +1959 -0
- package/types/shared/schema/mix/actions/dash/update-dashboard-v1.d.ts +722 -0
- package/types/shared/schema/mix/actions/editor.d.ts +10 -0
- package/types/shared/schema/mix/actions/entries.d.ts +18 -0
- package/types/shared/schema/mix/actions/index.d.ts +2067 -0
- package/types/shared/schema/mix/actions/markdown.d.ts +11 -0
- package/types/shared/schema/mix/actions/navigation.d.ts +9 -0
- package/types/shared/schema/mix/actions/ql/create-ql-chart.d.ts +23 -0
- package/types/shared/schema/mix/actions/ql/delete-ql-chart.d.ts +8 -0
- package/types/shared/schema/mix/actions/ql/get-ql-chart.d.ts +14 -0
- package/types/shared/schema/mix/actions/ql/index.d.ts +54 -0
- package/types/shared/schema/mix/actions/ql/update-ql-chart.d.ts +22 -0
- package/types/shared/schema/mix/actions/wizard/create-wizard-chart.d.ts +23 -0
- package/types/shared/schema/mix/actions/wizard/delete-wizard-chart.d.ts +8 -0
- package/types/shared/schema/mix/actions/wizard/get-wizard-chart.d.ts +14 -0
- package/types/shared/schema/mix/actions/wizard/index.d.ts +54 -0
- package/types/shared/schema/mix/actions/wizard/update-wizard-chart.d.ts +22 -0
- package/types/shared/schema/mix/helpers/dash/index.d.ts +69 -0
- package/types/shared/schema/mix/helpers/dash/migrate-dash-to-v1.d.ts +2 -0
- package/types/shared/schema/mix/helpers/editor/index.d.ts +6 -0
- package/types/shared/schema/mix/helpers/editor/validation.d.ts +2 -0
- package/types/shared/schema/mix/helpers/entries.d.ts +54 -0
- package/types/shared/schema/mix/helpers/index.d.ts +2 -0
- package/types/shared/schema/mix/helpers/validation.d.ts +1 -0
- package/types/shared/schema/mix/index.d.ts +2071 -0
- package/types/shared/schema/mix/schemas/dash/create-dashboard-v1.d.ts +497 -0
- package/types/shared/schema/mix/schemas/dash/dash-v1.d.ts +255 -0
- package/types/shared/schema/mix/schemas/dash/delete-dashboard.d.ts +6 -0
- package/types/shared/schema/mix/schemas/dash/get-dashboard-v1.d.ts +275 -0
- package/types/shared/schema/mix/schemas/dash/update-dashboard-v1.d.ts +496 -0
- package/types/shared/schema/mix/schemas/ql.d.ts +18 -0
- package/types/shared/schema/mix/schemas/wizard.d.ts +18 -0
- package/types/shared/schema/mix/types/dash/index.d.ts +53 -0
- package/types/shared/schema/mix/types/entries.d.ts +91 -0
- package/types/shared/schema/mix/types/index.d.ts +6 -0
- package/types/shared/schema/mix/types/markdown.d.ts +15 -0
- package/types/shared/schema/mix/types/navigation.d.ts +12 -0
- package/types/shared/schema/mix/types/ql.d.ts +4 -0
- package/types/shared/schema/mix/types/wizard.d.ts +4 -0
- package/types/shared/schema/stat-api/types/index.d.ts +11 -0
- package/types/shared/schema/types.d.ts +5 -0
- package/types/shared/schema/us/actions/collections/create-collection.d.ts +93 -0
- package/types/shared/schema/us/actions/collections/delete-collection.d.ts +52 -0
- package/types/shared/schema/us/actions/collections/delete-collections.d.ts +52 -0
- package/types/shared/schema/us/actions/collections/get-collection-breadcrumbs.d.ts +86 -0
- package/types/shared/schema/us/actions/collections/get-collection.d.ts +90 -0
- package/types/shared/schema/us/actions/collections/get-root-collection-permissions.d.ts +17 -0
- package/types/shared/schema/us/actions/collections/get-structure-items.d.ts +7 -0
- package/types/shared/schema/us/actions/collections/index.d.ts +335 -0
- package/types/shared/schema/us/actions/collections/move-collection.d.ts +48 -0
- package/types/shared/schema/us/actions/collections/move-collections.d.ts +53 -0
- package/types/shared/schema/us/actions/collections/update-collection.d.ts +48 -0
- package/types/shared/schema/us/actions/color-palettes.d.ts +13 -0
- package/types/shared/schema/us/actions/editor.d.ts +10 -0
- package/types/shared/schema/us/actions/embeds.d.ts +11 -0
- package/types/shared/schema/us/actions/entries/create-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/entries/get-entries-relations.d.ts +78 -0
- package/types/shared/schema/us/actions/entries/get-entries.d.ts +100 -0
- package/types/shared/schema/us/actions/entries/get-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/entries/index.d.ts +298 -0
- package/types/shared/schema/us/actions/entries/list-directory.d.ts +101 -0
- package/types/shared/schema/us/actions/entries/update-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/favorites.d.ts +12 -0
- package/types/shared/schema/us/actions/index.d.ts +1064 -0
- package/types/shared/schema/us/actions/locks.d.ts +11 -0
- package/types/shared/schema/us/actions/operations.d.ts +37 -0
- package/types/shared/schema/us/actions/presets.d.ts +10 -0
- package/types/shared/schema/us/actions/private.d.ts +9 -0
- package/types/shared/schema/us/actions/state.d.ts +10 -0
- package/types/shared/schema/us/actions/template.d.ts +9 -0
- package/types/shared/schema/us/actions/tenant.d.ts +9 -0
- package/types/shared/schema/us/actions/user.d.ts +20 -0
- package/types/shared/schema/us/actions/workbooks/copy-workbook.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/create-workbook.d.ts +106 -0
- package/types/shared/schema/us/actions/workbooks/delete-workbook.d.ts +59 -0
- package/types/shared/schema/us/actions/workbooks/delete-workbooks.d.ts +65 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook-entries.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook-shared-entries.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook.d.ts +100 -0
- package/types/shared/schema/us/actions/workbooks/get-workbooks-list.d.ts +75 -0
- package/types/shared/schema/us/actions/workbooks/index.d.ts +384 -0
- package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-copy.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-transfer.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/move-workbook.d.ts +61 -0
- package/types/shared/schema/us/actions/workbooks/move-workbooks.d.ts +66 -0
- package/types/shared/schema/us/actions/workbooks/update-workbook.d.ts +61 -0
- package/types/shared/schema/us/index.d.ts +1069 -0
- package/types/shared/schema/us/schemas/collections/index.d.ts +27 -0
- package/types/shared/schema/us/schemas/entries/get-entries.d.ts +172 -0
- package/types/shared/schema/us/schemas/entries/list-directory.d.ts +171 -0
- package/types/shared/schema/us/schemas/operation/index.d.ts +16 -0
- package/types/shared/schema/us/schemas/workbooks/index.d.ts +33 -0
- package/types/shared/schema/us/types/access-bindings.d.ts +0 -0
- package/types/shared/schema/us/types/collections.d.ts +80 -0
- package/types/shared/schema/us/types/color-palettes.d.ts +24 -0
- package/types/shared/schema/us/types/common.d.ts +16 -0
- package/types/shared/schema/us/types/editor.d.ts +32 -0
- package/types/shared/schema/us/types/embeds.d.ts +37 -0
- package/types/shared/schema/us/types/entries.d.ts +292 -0
- package/types/shared/schema/us/types/favorites.d.ts +48 -0
- package/types/shared/schema/us/types/fields.d.ts +133 -0
- package/types/shared/schema/us/types/index.d.ts +17 -0
- package/types/shared/schema/us/types/locks.d.ts +34 -0
- package/types/shared/schema/us/types/operations.d.ts +6 -0
- package/types/shared/schema/us/types/presets.d.ts +5 -0
- package/types/shared/schema/us/types/private.d.ts +2 -0
- package/types/shared/schema/us/types/sort.d.ts +3 -0
- package/types/shared/schema/us/types/state.d.ts +18 -0
- package/types/shared/schema/us/types/template.d.ts +13 -0
- package/types/shared/schema/us/types/tenant.d.ts +14 -0
- package/types/shared/schema/us/types/workbooks.d.ts +95 -0
- package/types/shared/schema/us-private/actions/entries.d.ts +12 -0
- package/types/shared/schema/us-private/actions/index.d.ts +13 -0
- package/types/shared/schema/us-private/actions/tenant.d.ts +10 -0
- package/types/shared/schema/us-private/index.d.ts +20 -0
- package/types/shared/schema/us-private/types/entries.d.ts +18 -0
- package/types/shared/schema/us-private/types/index.d.ts +1 -0
- package/types/shared/schema/utils.d.ts +14 -0
- package/types/shared/server/axios.d.ts +8 -0
- package/types/shared/types/bi-api/index.d.ts +1 -0
- package/types/shared/types/bi-api/v2.d.ts +178 -0
- package/types/shared/types/chartkit/common.d.ts +34 -0
- package/types/shared/types/chartkit/dl-chartkit.d.ts +30 -0
- package/types/shared/types/chartkit/gravity-charts/index.d.ts +9 -0
- package/types/shared/types/chartkit/gravity-charts/scatter.d.ts +24 -0
- package/types/shared/types/chartkit/index.d.ts +4 -0
- package/types/shared/types/chartkit/table.d.ts +134 -0
- package/types/shared/types/charts.d.ts +273 -0
- package/types/shared/types/color-palettes.d.ts +7 -0
- package/types/shared/types/common-update.d.ts +13 -0
- package/types/shared/types/common.d.ts +301 -0
- package/types/shared/types/config/ql/index.d.ts +22 -0
- package/types/shared/types/config/ql/v1.d.ts +78 -0
- package/types/shared/types/config/ql/v2.d.ts +79 -0
- package/types/shared/types/config/ql/v3.d.ts +79 -0
- package/types/shared/types/config/ql/v4.d.ts +80 -0
- package/types/shared/types/config/ql/v5.d.ts +80 -0
- package/types/shared/types/config/ql/v6.d.ts +80 -0
- package/types/shared/types/config/ql/v7.d.ts +80 -0
- package/types/shared/types/config/wizard/index.d.ts +58 -0
- package/types/shared/types/config/wizard/v10.d.ts +262 -0
- package/types/shared/types/config/wizard/v11.d.ts +276 -0
- package/types/shared/types/config/wizard/v12.d.ts +283 -0
- package/types/shared/types/config/wizard/v13.d.ts +282 -0
- package/types/shared/types/config/wizard/v14.d.ts +283 -0
- package/types/shared/types/config/wizard/v15.d.ts +283 -0
- package/types/shared/types/config/wizard/v2.d.ts +239 -0
- package/types/shared/types/config/wizard/v3.d.ts +242 -0
- package/types/shared/types/config/wizard/v4.d.ts +253 -0
- package/types/shared/types/config/wizard/v5.d.ts +253 -0
- package/types/shared/types/config/wizard/v6.d.ts +253 -0
- package/types/shared/types/config/wizard/v7.d.ts +254 -0
- package/types/shared/types/config/wizard/v8.d.ts +258 -0
- package/types/shared/types/config/wizard/v9.d.ts +260 -0
- package/types/shared/types/configs/index.d.ts +1 -0
- package/types/shared/types/connections.d.ts +21 -0
- package/types/shared/types/dash.d.ts +324 -0
- package/types/shared/types/dataset.d.ts +325 -0
- package/types/shared/types/entry.d.ts +14 -0
- package/types/shared/types/feature.d.ts +102 -0
- package/types/shared/types/formatting.d.ts +22 -0
- package/types/shared/types/index.d.ts +28 -0
- package/types/shared/types/language.d.ts +1 -0
- package/types/shared/types/menu.d.ts +27 -0
- package/types/shared/types/meta-manager.d.ts +11 -0
- package/types/shared/types/metrica.d.ts +5 -0
- package/types/shared/types/notification.d.ts +5 -0
- package/types/shared/types/permissions.d.ts +3 -0
- package/types/shared/types/ql/common.d.ts +158 -0
- package/types/shared/types/ql/versions.d.ts +9 -0
- package/types/shared/types/typed-query-api/index.d.ts +1 -0
- package/types/shared/types/typed-query-api/v1.d.ts +29 -0
- package/types/shared/types/ui-sandbox.d.ts +5 -0
- package/types/shared/types/utility-types.d.ts +28 -0
- package/types/shared/types/widget.d.ts +47 -0
- package/types/shared/types/wizard/background-settings.d.ts +14 -0
- package/types/shared/types/wizard/bars.d.ts +54 -0
- package/types/shared/types/wizard/column.d.ts +14 -0
- package/types/shared/types/wizard/export.d.ts +10 -0
- package/types/shared/types/wizard/field.d.ts +112 -0
- package/types/shared/types/wizard/index.d.ts +421 -0
- package/types/shared/types/wizard/misc.d.ts +58 -0
- package/types/shared/types/wizard/placeholder.d.ts +50 -0
- package/types/shared/types/wizard/sub-totals.d.ts +3 -0
- package/types/shared/types/wizard/versions.d.ts +17 -0
- package/types/shared/utils/array/assert-non-empty-array.d.ts +1 -0
- package/types/shared/utils/array/index.d.ts +1 -0
- package/types/shared/utils/dash.d.ts +6 -0
- package/types/shared/utils/dataset.d.ts +12 -0
- package/types/shared/utils/date-time.d.ts +2 -0
- package/types/shared/utils/entry.d.ts +3 -0
- package/types/shared/utils/feature.d.ts +8 -0
- package/types/shared/utils/functions-registry.d.ts +5 -0
- package/types/shared/utils/index.d.ts +8 -0
- package/types/shared/utils/makeFunctionTemplate.d.ts +3 -0
- package/types/shared/utils/manualError.d.ts +23 -0
- package/types/shared/utils/markdown.d.ts +4 -0
- package/types/shared/utils/markup.d.ts +4 -0
- package/types/shared/utils/openapi/index.d.ts +1 -0
- package/types/shared/utils/palettes.d.ts +6 -0
- package/types/shared/utils/ui-sandbox.d.ts +5 -0
- package/types/shared/utils/visualization-check.d.ts +12 -0
- package/types/shared/utils/wizard.d.ts +4 -0
- package/types/shared/zod-schemas/dash.d.ts +231 -0
- package/types/shared/zod-schemas/entry.d.ts +6 -0
- package/types/shared/zod-schemas/permissions.d.ts +7 -0
- package/types/shared/zod-schemas/shared-entry-permissions.d.ts +13 -0
- package/types/ui/capabilities/capabilities.d.ts +13 -0
- package/types/ui/capabilities/index.d.ts +9 -0
- package/types/ui/components/AccessRights/AccessRightsUrlOpen.d.ts +2 -0
- package/types/ui/components/ActionPanel/ActionPanel.d.ts +101 -0
- package/types/ui/components/ActionPanel/ActionPanelHelpers.d.ts +5 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/ChartSaveControl.d.ts +24 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveButton/SaveButton.d.ts +10 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveDropdown/SaveDropdown.d.ts +8 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/types.d.ts +20 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/useAdditionalItems.d.ts +6 -0
- package/types/ui/components/ActionPanel/components/EntryPanel/EntryPanel.d.ts +199 -0
- package/types/ui/components/ActionPanel/index.d.ts +2 -0
- package/types/ui/components/ActionPanel/utils.d.ts +4 -0
- package/types/ui/components/AdaptiveDialog/AdaptiveDialog.d.ts +19 -0
- package/types/ui/components/AnimateBlock/AnimateBlock.d.ts +8 -0
- package/types/ui/components/AnimateBlock/index.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/AsideHeaderAdapter.d.ts +19 -0
- package/types/ui/components/AsideHeaderAdapter/LogoText/LogoText.d.ts +7 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/HighcontrastSettings.d.ts +7 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/ThemeSettings.d.ts +6 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/ItemField/ItemField.d.ts +9 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/LanguageSettings.d.ts +3 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Settings.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/types.d.ts +9 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/utils.d.ts +16 -0
- package/types/ui/components/AsideHeaderAdapter/VersionDialog/VersionDialog.d.ts +12 -0
- package/types/ui/components/AsideHeaderAdapter/constants.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/helpers.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/index.d.ts +2 -0
- package/types/ui/components/AsyncImage/AsyncImage.d.ts +11 -0
- package/types/ui/components/AutogeneratedPaletteIcon/AutogeneratedPaletteIcon.d.ts +9 -0
- package/types/ui/components/BetaMark/BetaMark.d.ts +6 -0
- package/types/ui/components/Breadcrumbs/CollectionsStructureBreadcrumbs/CollectionsStructureBreadcrumbs.d.ts +6 -0
- package/types/ui/components/BreadcrumbsItemLink/BreadcrumbsItemLink.d.ts +6 -0
- package/types/ui/components/ButtonAttach/ButtonAttach.d.ts +14 -0
- package/types/ui/components/Collapse/Collapse.d.ts +2 -0
- package/types/ui/components/Collapse/types.d.ts +22 -0
- package/types/ui/components/CollectionFilters/CollectionFilters.d.ts +31 -0
- package/types/ui/components/CollectionFilters/index.d.ts +1 -0
- package/types/ui/components/CollectionIcon/CollectionIcon.d.ts +8 -0
- package/types/ui/components/CollectionsStructure/CollectionDialog/CollectionDialog.d.ts +20 -0
- package/types/ui/components/CollectionsStructure/CollectionDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/CollectionNoCreatePermissionDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CollectionStructureDialog.d.ts +30 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CreateEntityDialog/CreateEntityDialog.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/NewTitleDialog/NewTitleDialog.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/Item.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/StructureItemSelect.d.ts +24 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CopyEntriesDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/CopyWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateEntryInWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/CreateWorkbookDialog.d.ts +26 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportFileField/ImportFileField.d.ts +9 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportWorkbookView/ImportWorkbookView.d.ts +7 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/utils.d.ts +4 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/DeleteCollectionsWorkbooksContent.d.ts +5 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksDialog.d.ts +16 -0
- package/types/ui/components/CollectionsStructure/DeleteDialog/DeleteDialog.d.ts +11 -0
- package/types/ui/components/CollectionsStructure/DeleteDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/DeleteWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/EditCollectionDialog.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/EditSharedEntryDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/EditWorkbookDialog.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportInfo/ExportInfo.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportWorkbookDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/utils.d.ts +5 -0
- package/types/ui/components/CollectionsStructure/MigrateEntryToWorkbookDialog.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/MoveCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveCollectionsWorkbooksDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveSharedEntryDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/WorkbookDialog.d.ts +26 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/index.d.ts +2 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/types.d.ts +4 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/EntriesNotificationCut.d.ts +27 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/helpers.d.ts +7 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/types.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/hooks/useCollectionEntityDialogState.d.ts +8 -0
- package/types/ui/components/CollectionsStructure/hooks/useCollectionStructureDialogState.d.ts +19 -0
- package/types/ui/components/CollectionsStructure/hooks/useNotificationsAndDetails.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/index.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/types.d.ts +7 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/ColorPaletteChartkitPreview.d.ts +3 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/types.d.ts +4 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/utils.d.ts +3 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteEditorContainer.d.ts +52 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/ColorPalettesCard.d.ts +16 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/DefaultPaletteSelect/DefaultPaletteSelect.d.ts +7 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorTextInput/ColorTextInput.d.ts +11 -0
- package/types/ui/components/ColorPaletteEditorContainer/GradientPaletteEditor/GradientPaletteEditor.d.ts +46 -0
- package/types/ui/components/ColorPaletteEditorContainer/PaletteEditor/PaletteEditor.d.ts +49 -0
- package/types/ui/components/ColorPaletteSelect/ColorPaletteSelect.d.ts +12 -0
- package/types/ui/components/ColorPickerInput/ColorPickerInput.d.ts +22 -0
- package/types/ui/components/ColorPickerInput/utils.d.ts +11 -0
- package/types/ui/components/ConnectorIcon/ConnectorIcon.d.ts +7 -0
- package/types/ui/components/ControlComponents/BackButton/BackButton.d.ts +3 -0
- package/types/ui/components/ControlComponents/Dialog/Dialog.d.ts +11 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/AppearanceSection.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/ColorAccentRow/ColorAccentRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/HintRow/HintRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/InnerTitleRow/InnerTitleRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitlePlacementRow/TitlePlacementRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitleRow/TitleRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/CommonGroupSettingsSection.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/ConnectionSettings.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/ConnectionSelector.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/helpers.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/QueryTypeControl.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditLabelControl/EditLabelControl.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditQueryControl/EditQueryControl.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/helpers.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/helpers/get-distincts-by-typed-query.d.ts +12 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/DatasetSelectorSettings/DatasetSelectorSettings.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/EntrySelector/EntrySelector.d.ts +23 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ExternalSelectorSettings/ExternalSelectorSettings.d.ts +9 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/CurrentTabOption/CurrentTabOption.d.ts +9 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/ImpactTypeSelect.d.ts +11 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/SelectedTabsOption/SelectedTabsOption.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/constants.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/helpers.d.ts +18 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/useTabVisibilityValidation.d.ts +13 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/InputTypeSelector/InputTypeSelector.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ParameterNameInput/ParameterNameInput.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/helpers/input-type-select.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/Date/Acceptable/Acceptable.d.ts +24 -0
- package/types/ui/components/ControlComponents/Sections/Date/Default/Default.d.ts +40 -0
- package/types/ui/components/ControlComponents/Sections/OperationSelector/OperationSelector.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/ParametersSection/ParametersSection.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/Switchers/Button/Button.d.ts +10 -0
- package/types/ui/components/ControlComponents/Sections/Switchers/DatasetField/DatasetField.d.ts +40 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/Acceptable.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/SelectorValuesDialogBody.d.ts +13 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ListValueControl.d.ts +12 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/MultiselectableCheckbox.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/DynamicValueSelect.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/StaticValueSelect.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/hooks.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/types.d.ts +19 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/utils.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/RequiredValueCheckbox/RequiredValueCheckbox.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ValueSelector.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/helpers/get-distincts-by-dataset-field.d.ts +22 -0
- package/types/ui/components/ControlComponents/Sections/Wrapper/Wrapper.d.ts +7 -0
- package/types/ui/components/ControlComponents/SelectorPreview/SelectorPreview.d.ts +2 -0
- package/types/ui/components/ControlComponents/SelectorTypeSelect/SelectorTypeSelect.d.ts +6 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/CopyEntriesToWorkbookDialog.d.ts +13 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/Body.d.ts +7 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/EntryRow.d.ts +16 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/utils.d.ts +4 -0
- package/types/ui/components/DNDPane/DNDItem/DNDItem.d.ts +2 -0
- package/types/ui/components/DNDPane/DNDPane.d.ts +13 -0
- package/types/ui/components/DashKit/DashKit.d.ts +32 -0
- package/types/ui/components/DashKit/constants.d.ts +22 -0
- package/types/ui/components/DashKit/context/WidgetContext.d.ts +17 -0
- package/types/ui/components/DashKit/helpers.d.ts +27 -0
- package/types/ui/components/DashKit/plugins/Control/Control.d.ts +20 -0
- package/types/ui/components/DashKit/plugins/Control/ControlItems/ControlItemSelect.d.ts +30 -0
- package/types/ui/components/DashKit/plugins/Control/Error/Error.d.ts +7 -0
- package/types/ui/components/DashKit/plugins/Control/constants.d.ts +9 -0
- package/types/ui/components/DashKit/plugins/Control/prerenderMiddleware.d.ts +2 -0
- package/types/ui/components/DashKit/plugins/Control/types.d.ts +134 -0
- package/types/ui/components/DashKit/plugins/Control/utils.d.ts +75 -0
- package/types/ui/components/DashKit/plugins/DebugInfoTool/DebugInfoTool.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/Control.d.ts +27 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/store/reducer.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/store/types.d.ts +75 -0
- package/types/ui/components/DashKit/plugins/GroupControl/GroupControl.d.ts +18 -0
- package/types/ui/components/DashKit/plugins/GroupControl/types.d.ts +28 -0
- package/types/ui/components/DashKit/plugins/GroupControl/utils.d.ts +19 -0
- package/types/ui/components/DashKit/plugins/Image/Image.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/RendererWrapper/RendererWrapper.d.ts +13 -0
- package/types/ui/components/DashKit/plugins/Text/Text.d.ts +9 -0
- package/types/ui/components/DashKit/plugins/Title/AnchorLink/AnchorLink.d.ts +6 -0
- package/types/ui/components/DashKit/plugins/Title/Title.d.ts +14 -0
- package/types/ui/components/DashKit/plugins/Title/constants.d.ts +2 -0
- package/types/ui/components/DashKit/plugins/Title/utils.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/Widget/WidgetPlugin.d.ts +10 -0
- package/types/ui/components/DashKit/plugins/Widget/components/Footer.d.ts +7 -0
- package/types/ui/components/DashKit/plugins/Widget/components/Header.d.ts +15 -0
- package/types/ui/components/DashKit/plugins/Widget/components/helpers.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/Widget/store/actions.d.ts +17 -0
- package/types/ui/components/DashKit/plugins/Widget/store/reducer.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/Widget/types.d.ts +50 -0
- package/types/ui/components/DashKit/plugins/types.d.ts +41 -0
- package/types/ui/components/DashKit/utils.d.ts +39 -0
- package/types/ui/components/DataTypeIcon/DataTypeIcon.d.ts +10 -0
- package/types/ui/components/DatasetFieldList/DatasetFieldList.d.ts +10 -0
- package/types/ui/components/DebouncedInput/DebouncedInput.d.ts +28 -0
- package/types/ui/components/DebouncedInput/index.d.ts +1 -0
- package/types/ui/components/DialogAddSharedEntryFromLink/DialogAddSharedEntryFromLink.d.ts +15 -0
- package/types/ui/components/DialogChartWidget/DialogChartWidget.d.ts +30 -0
- package/types/ui/components/DialogCommon/DialogCommon.d.ts +74 -0
- package/types/ui/components/DialogConfirm/DialogConfirm.d.ts +84 -0
- package/types/ui/components/DialogDefault/DialogDefault.d.ts +23 -0
- package/types/ui/components/DialogEditItem/DialogEditItem.d.ts +69 -0
- package/types/ui/components/DialogEntryDescription/DialogEntryDescription.d.ts +3 -0
- package/types/ui/components/DialogEntryDescription/DialogEntryDescriptionWrapper.d.ts +7 -0
- package/types/ui/components/DialogEntryDescription/EntryDescriptionButton.d.ts +13 -0
- package/types/ui/components/DialogEntryDescription/index.d.ts +3 -0
- package/types/ui/components/DialogErrorWithTabs/DebugInfo/DebugInfo.d.ts +9 -0
- package/types/ui/components/DialogErrorWithTabs/DialogErrorWithTabs.d.ts +20 -0
- package/types/ui/components/DialogErrorWithTabs/ErrorText/ErrorText.d.ts +7 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseRequestTab/DatabaseRequestTab.d.ts +6 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseResponseTab/DatabaseResponseTab.d.ts +6 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/DebugTab.d.ts +8 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/utils.d.ts +1 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DocumentationTab/DocumentationTab.d.ts +6 -0
- package/types/ui/components/DialogExternalControl/DialogExternalControl.d.ts +66 -0
- package/types/ui/components/DialogFieldEditor/DialogFieldEditor.d.ts +24 -0
- package/types/ui/components/DialogFilter/BooleanFilter/BooleanFilter.d.ts +8 -0
- package/types/ui/components/DialogFilter/DateFilter/DateFilter.d.ts +12 -0
- package/types/ui/components/DialogFilter/DialogFilter.d.ts +88 -0
- package/types/ui/components/DialogFilter/InputFilter/InputFilter.d.ts +9 -0
- package/types/ui/components/DialogFilter/SelectFilter/SelectFilter.d.ts +35 -0
- package/types/ui/components/DialogFilter/constants.d.ts +15 -0
- package/types/ui/components/DialogFilter/typings.d.ts +8 -0
- package/types/ui/components/DialogFilter/utils.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/DialogGroupControl.d.ts +19 -0
- package/types/ui/components/DialogGroupControl/GroupControlBody/GroupControlBody.d.ts +7 -0
- package/types/ui/components/DialogGroupControl/GroupControlBody/SimilarSelectorsBlock/SimilarSelectorsBlock.d.ts +1 -0
- package/types/ui/components/DialogGroupControl/GroupControlFooter/GroupControlFooter.d.ts +7 -0
- package/types/ui/components/DialogGroupControl/GroupControlSidebar/GroupControlSidebar.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/GroupControlSidebar/TabItemWrapper/TabItemWrapper.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/GroupExtendedSettings/ControlPlacementRow.d.ts +13 -0
- package/types/ui/components/DialogGroupControl/GroupExtendedSettings/GroupExtendedSettings.d.ts +11 -0
- package/types/ui/components/DialogGroupControl/hooks/useSimilarSelectorsActions.d.ts +12 -0
- package/types/ui/components/DialogImageWidget/DialogImageWidget.d.ts +18 -0
- package/types/ui/components/DialogImageWidget/index.d.ts +1 -0
- package/types/ui/components/DialogManager/DialogManager.d.ts +6 -0
- package/types/ui/components/DialogManager/DialogManagerContainer.d.ts +2 -0
- package/types/ui/components/DialogNoRights/DialogNoRights.d.ts +11 -0
- package/types/ui/components/DialogParameter/DefaultValueSection.d.ts +9 -0
- package/types/ui/components/DialogParameter/DialogParameter.d.ts +15 -0
- package/types/ui/components/DialogParameter/TemplateSection.d.ts +8 -0
- package/types/ui/components/DialogParameter/helpers.d.ts +7 -0
- package/types/ui/components/DialogParameter/useParameterForm.d.ts +20 -0
- package/types/ui/components/DialogParameter/useParameterTooltipMarkdown.d.ts +5 -0
- package/types/ui/components/DialogParameter/useValidationErrors.d.ts +8 -0
- package/types/ui/components/DialogQLParameter/DialogQLParameter.d.ts +27 -0
- package/types/ui/components/DialogRelatedEntities/DialogRelatedEntities.d.ts +7 -0
- package/types/ui/components/DialogRelatedEntities/constants.d.ts +5 -0
- package/types/ui/components/DialogRelations/DialogRelations.d.ts +21 -0
- package/types/ui/components/DialogRelations/components/Content/Content.d.ts +17 -0
- package/types/ui/components/DialogRelations/components/Content/Row.d.ts +35 -0
- package/types/ui/components/DialogRelations/components/Content/helpers.d.ts +7 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/DialogAliases.d.ts +12 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/AddAliases.d.ts +14 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/helpers.d.ts +26 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesDetail/AliasesDetail.d.ts +11 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesInvalidList.d.ts +10 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesList.d.ts +32 -0
- package/types/ui/components/DialogRelations/components/Filters/Filters.d.ts +6 -0
- package/types/ui/components/DialogRelations/constants.d.ts +26 -0
- package/types/ui/components/DialogRelations/helpers.d.ts +37 -0
- package/types/ui/components/DialogRelations/hooks/helpers.d.ts +109 -0
- package/types/ui/components/DialogRelations/hooks/helpersChart.d.ts +30 -0
- package/types/ui/components/DialogRelations/hooks/helpersControls.d.ts +25 -0
- package/types/ui/components/DialogRelations/hooks/helpersDatasets.d.ts +6 -0
- package/types/ui/components/DialogRelations/hooks/useFilteredRelations.d.ts +11 -0
- package/types/ui/components/DialogRelations/hooks/useRelations.d.ts +20 -0
- package/types/ui/components/DialogRelations/types.d.ts +81 -0
- package/types/ui/components/DialogSelectSharedEntry/DialogSelectSharedEntry.d.ts +16 -0
- package/types/ui/components/DialogSharedEntryBindings/DialogSharedEntryBindings.d.ts +16 -0
- package/types/ui/components/DialogSharedEntryBindings/components/DeleteAlert.d.ts +11 -0
- package/types/ui/components/DialogSharedEntryBindings/components/DirectionControl.d.ts +7 -0
- package/types/ui/components/DialogSharedEntryBindings/components/Relations.d.ts +18 -0
- package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsFooter.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsHeader.d.ts +7 -0
- package/types/ui/components/DialogSharedEntryBindings/constants.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/hooks/useSharedEntryBindings.d.ts +21 -0
- package/types/ui/components/DialogSharedEntryBindings/types.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/utils.d.ts +5 -0
- package/types/ui/components/DialogSharedEntryPermissions/DialogSharedEntryPermissions.d.ts +18 -0
- package/types/ui/components/DialogSharedEntryPermissions/components/PermissionButton/PermissionButton.d.ts +11 -0
- package/types/ui/components/DialogSharedEntryUnbind/DialogSharedEntryUnbind.d.ts +17 -0
- package/types/ui/components/DialogSharedEntryUnbind/constants.d.ts +21 -0
- package/types/ui/components/DialogSharedRelatedEntities/DialogSharedRelatedEntities.d.ts +21 -0
- package/types/ui/components/DialogSuccessWithAction/DialogSuccessWithAction.d.ts +8 -0
- package/types/ui/components/DialogTextWidget/DialogTextWidget.d.ts +19 -0
- package/types/ui/components/DialogTextWidget/index.d.ts +2 -0
- package/types/ui/components/DialogTitleWidget/DialogTitleWidget.d.ts +22 -0
- package/types/ui/components/DialogTitleWidget/useColorSettings.d.ts +41 -0
- package/types/ui/components/DialogWarning/DialogWarning.d.ts +80 -0
- package/types/ui/components/DragAndDrop/DragAndDrop.d.ts +6 -0
- package/types/ui/components/DropdownAction/DropdownAction.d.ts +9 -0
- package/types/ui/components/DropdownNavigation/DropdownNavigation.d.ts +44 -0
- package/types/ui/components/EditableText/EditableText.d.ts +8 -0
- package/types/ui/components/EntitiesList/EntitiesList.d.ts +2 -0
- package/types/ui/components/EntitiesList/types.d.ts +27 -0
- package/types/ui/components/EntityIcon/EntityIcon.d.ts +33 -0
- package/types/ui/components/EntityLink/EntityLink.d.ts +8 -0
- package/types/ui/components/EntityRow/EntityRow.d.ts +11 -0
- package/types/ui/components/EntriesList/EntriesList.d.ts +7 -0
- package/types/ui/components/EntriesList/Item/Item.d.ts +8 -0
- package/types/ui/components/EntriesList/types.d.ts +5 -0
- package/types/ui/components/EntryBreadcrumbs/EntryBreadcrumbs.d.ts +2 -0
- package/types/ui/components/EntryBreadcrumbs/helpers.d.ts +11 -0
- package/types/ui/components/EntryContextMenu/EntryContextMenu.d.ts +65 -0
- package/types/ui/components/EntryContextMenu/EntryContextMenuBase/EntryContextMenuBase.d.ts +17 -0
- package/types/ui/components/EntryContextMenu/constants.d.ts +32 -0
- package/types/ui/components/EntryContextMenu/helpers.d.ts +48 -0
- package/types/ui/components/EntryContextMenu/index.d.ts +3 -0
- package/types/ui/components/EntryContextMenu/types.d.ts +37 -0
- package/types/ui/components/EntryContextMenu/utils.d.ts +2 -0
- package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/helpers.d.ts +2 -0
- package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/withConfiguredEntryContextMenu.d.ts +14 -0
- package/types/ui/components/EntryDialogues/DialogAccess/DialogAccess.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogAccessDescription/DialogAccessDescription.d.ts +16 -0
- package/types/ui/components/EntryDialogues/DialogCopyEntry/DialogCopyEntry.d.ts +42 -0
- package/types/ui/components/EntryDialogues/DialogCopyEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateDashboard/DialogCreateDashboard.d.ts +32 -0
- package/types/ui/components/EntryDialogues/DialogCreateDashboard/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateEditorChart/DialogCreateEditorChart.d.ts +33 -0
- package/types/ui/components/EntryDialogues/DialogCreateEditorChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateFolder/DialogCreateFolder.d.ts +27 -0
- package/types/ui/components/EntryDialogues/DialogCreateFolder/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateQLChart/DialogCreateQLChart.d.ts +35 -0
- package/types/ui/components/EntryDialogues/DialogCreateQLChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateWizardChart/DialogCreateWizardChart.d.ts +35 -0
- package/types/ui/components/EntryDialogues/DialogCreateWizardChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateWorkbookEntry/DialogCreateWorkbookEntry.d.ts +51 -0
- package/types/ui/components/EntryDialogues/DialogDeleteEntry/DialogDeleteEntry.d.ts +38 -0
- package/types/ui/components/EntryDialogues/DialogDeleteEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/DialogEditFavoritesAlias.d.ts +7 -0
- package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogEditWarning/DialogEditWarning.d.ts +22 -0
- package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/DialogEntrySaveAsNew.d.ts +33 -0
- package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogMakeActualConfirm/DialogMakeActualConfirm.d.ts +25 -0
- package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/DialogMigrateToWorkbook.d.ts +6 -0
- package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogMoveEntry/DialogMoveEntry.d.ts +28 -0
- package/types/ui/components/EntryDialogues/DialogMoveEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogRenameEntry/DialogRenameEntry.d.ts +40 -0
- package/types/ui/components/EntryDialogues/DialogRenameEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogShareEntry/DialogShareEntry.d.ts +6 -0
- package/types/ui/components/EntryDialogues/DialogShareEntry/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AlertTooltip/AlertTooltip.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AuthorSection/AuthorSection.d.ts +15 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentError/ContentError.d.ts +9 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentLoader/ContentLoader.d.ts +4 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/CurrentEntrySection/CurrentEntrySection.d.ts +12 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogAlert/DialogAlert.d.ts +67 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogPublic.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/RelationsList/RelationsList.d.ts +13 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/SharedLink/SharedLink.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/constants.d.ts +9 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/helpers.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/types.d.ts +111 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/useDialogPublicState.d.ts +36 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogSwitchPublic.d.ts +7 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogUnlock/DialogUnlock.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogUnlock/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/EntryDialogBase/EntryDialogBase.d.ts +62 -0
- package/types/ui/components/EntryDialogues/EntryDialogues.d.ts +95 -0
- package/types/ui/components/EntryDialogues/constants.d.ts +4 -0
- package/types/ui/components/EntryDialogues/index.d.ts +6 -0
- package/types/ui/components/EntryDialogues/types.d.ts +12 -0
- package/types/ui/components/EntryDialogues/utils.d.ts +1 -0
- package/types/ui/components/EntryIcon/EntryIcon.d.ts +17 -0
- package/types/ui/components/EntryRow/EntryRow.d.ts +31 -0
- package/types/ui/components/EntrySuggest/EntrySuggest.d.ts +10 -0
- package/types/ui/components/EntrySuggest/types.d.ts +12 -0
- package/types/ui/components/EntryTitle/EntryTitle.d.ts +13 -0
- package/types/ui/components/EntryTitle/index.d.ts +2 -0
- package/types/ui/components/EntryTitle/types.d.ts +6 -0
- package/types/ui/components/EntryTitle/utils.d.ts +2 -0
- package/types/ui/components/ErrorBoundary/ErrorBoundary.d.ts +17 -0
- package/types/ui/components/ErrorContent/DebugInfo/DebugInfo.d.ts +7 -0
- package/types/ui/components/ErrorContent/ErrorContent.d.ts +70 -0
- package/types/ui/components/ErrorPage/ErrorPage.d.ts +13 -0
- package/types/ui/components/ErrorPage/withErrorPage.d.ts +63 -0
- package/types/ui/components/ExpandablePanel/ExpandablePanel.d.ts +10 -0
- package/types/ui/components/FieldEditor/FieldEditor.d.ts +81 -0
- package/types/ui/components/FieldEditor/components/DocSection.d.ts +44 -0
- package/types/ui/components/FieldEditor/components/FormulaSection.d.ts +39 -0
- package/types/ui/components/FieldEditor/components/NameHeader.d.ts +6 -0
- package/types/ui/components/FieldEditor/components/Settings.d.ts +15 -0
- package/types/ui/components/FieldEditor/components/SourceSection.d.ts +14 -0
- package/types/ui/components/FieldEditor/components/helpers.d.ts +4 -0
- package/types/ui/components/FieldEditor/constants.d.ts +18 -0
- package/types/ui/components/FieldEditor/index.d.ts +17 -0
- package/types/ui/components/FieldEditor/typings.d.ts +13 -0
- package/types/ui/components/FieldEditor/utils.d.ts +8 -0
- package/types/ui/components/FieldWrapper/FieldWrapper.d.ts +7 -0
- package/types/ui/components/FloatMenu/FloatMenu.d.ts +8 -0
- package/types/ui/components/FormSection/FormSection.d.ts +9 -0
- package/types/ui/components/FormattedValue/FormattedValue.d.ts +18 -0
- package/types/ui/components/IamAccessDialog/AccessList/AccessList.d.ts +18 -0
- package/types/ui/components/IamAccessDialog/AccessList/ActionPanel/ActionPanel.d.ts +11 -0
- package/types/ui/components/IamAccessDialog/AccessList/Block/Block.d.ts +10 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/Controls/Controls.d.ts +15 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/DirectAccessesTable.d.ts +17 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/utils.d.ts +2 -0
- package/types/ui/components/IamAccessDialog/AccessList/Filters/Filters.d.ts +11 -0
- package/types/ui/components/IamAccessDialog/AccessList/InheritedAccessesTable/InheritedAccessesTable.d.ts +13 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/ActionPanel/ActionPanel.d.ts +14 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/AddSubjects.d.ts +12 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/SubjectsList/SubjectsList.d.ts +7 -0
- package/types/ui/components/IamAccessDialog/IamAccessDialog.d.ts +8 -0
- package/types/ui/components/IamAccessDialog/IamAccessDialogComponent.d.ts +3 -0
- package/types/ui/components/IamAccessDialog/ResourceInfo/ResourceInfo.d.ts +8 -0
- package/types/ui/components/IamAccessDialog/constants.d.ts +1 -0
- package/types/ui/components/IamAccessDialog/index.d.ts +1 -0
- package/types/ui/components/IamAccessDialog/utils.d.ts +10 -0
- package/types/ui/components/IconById/IconById.d.ts +6 -0
- package/types/ui/components/Illustration/Illustration.d.ts +2 -0
- package/types/ui/components/Illustration/context.d.ts +2 -0
- package/types/ui/components/Illustration/getIllustrationStore.d.ts +28 -0
- package/types/ui/components/Illustration/getRebrandingIllustrationStore.d.ts +28 -0
- package/types/ui/components/Illustration/types.d.ts +14 -0
- package/types/ui/components/Illustration/utils.d.ts +2 -0
- package/types/ui/components/InaccessibleOnMobileInset/InaccessibleOnMobileInset.d.ts +1 -0
- package/types/ui/components/Interpolate/Interpolate.d.ts +8 -0
- package/types/ui/components/Interpolate/index.d.ts +2 -0
- package/types/ui/components/Interpolate/utils.d.ts +3 -0
- package/types/ui/components/InterpolatedText/InterpolatedText.d.ts +11 -0
- package/types/ui/components/LandingPage/LandingPage.d.ts +1 -0
- package/types/ui/components/ListWithMenu/ListWithMenu.d.ts +22 -0
- package/types/ui/components/ListWithRemove/ListWithRemove.d.ts +10 -0
- package/types/ui/components/LocationChange/LocationChange.d.ts +6 -0
- package/types/ui/components/MarkdownControl/MarkdownControl.d.ts +2 -0
- package/types/ui/components/MarkdownHelpPopover/Content.d.ts +6 -0
- package/types/ui/components/MarkdownHelpPopover/MarkdownHelpPopover.d.ts +10 -0
- package/types/ui/components/Markup/Markup.d.ts +9 -0
- package/types/ui/components/Markup/components/MarkupTooltip/MarkupTooltip.d.ts +11 -0
- package/types/ui/components/Markup/components/UserInfo/UserInfo.d.ts +9 -0
- package/types/ui/components/Markup/components/index.d.ts +2 -0
- package/types/ui/components/Markup/index.d.ts +1 -0
- package/types/ui/components/Markup/types.d.ts +9 -0
- package/types/ui/components/Markup/utils.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/MigrateToWorkbookDialog.d.ts +14 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/Body/Body.d.ts +10 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/Body/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/EntryRow.d.ts +15 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeader.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/BurgerMenuFooter/BurgerMenuFooter.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/MobileHeaderComponent.d.ts +2 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/UserPanel/UserPanel.d.ts +1 -0
- package/types/ui/components/MobileHeader/constants.d.ts +1 -0
- package/types/ui/components/MobileTocToggle/MobileTocToggle.d.ts +3 -0
- package/types/ui/components/Monaco/LazyMonaco.d.ts +5 -0
- package/types/ui/components/Monaco/Monaco.d.ts +19 -0
- package/types/ui/components/Navigation/Base/NavigationBase.d.ts +85 -0
- package/types/ui/components/Navigation/Base/configure.d.ts +133 -0
- package/types/ui/components/Navigation/Base/types.d.ts +8 -0
- package/types/ui/components/Navigation/Base/utils.d.ts +1 -0
- package/types/ui/components/Navigation/Core/CreateEntry/CreateEntry.d.ts +18 -0
- package/types/ui/components/Navigation/Core/CreateEntry/getCreateEntryItems.d.ts +3 -0
- package/types/ui/components/Navigation/Core/EntryContextButton/EntryContextButton.d.ts +14 -0
- package/types/ui/components/Navigation/Core/ErrorView/ErrorView.d.ts +7 -0
- package/types/ui/components/Navigation/Core/FavoritesNameWithAliasItem/FavoritesNameWithAliasItem.d.ts +11 -0
- package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/BreadcrumbMenu.d.ts +17 -0
- package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/NavigationBreadcrumbs.d.ts +25 -0
- package/types/ui/components/Navigation/Core/NavigationEntries.d.ts +113 -0
- package/types/ui/components/Navigation/Core/NavigationInline.d.ts +33 -0
- package/types/ui/components/Navigation/Core/NavigationMinimal.d.ts +43 -0
- package/types/ui/components/Navigation/Core/NavigationModal.d.ts +54 -0
- package/types/ui/components/Navigation/Core/OrderSelect/OrderSelect.d.ts +9 -0
- package/types/ui/components/Navigation/Core/SearchInput/SearchInput.d.ts +13 -0
- package/types/ui/components/Navigation/Core/Sidebar/Sidebar.d.ts +22 -0
- package/types/ui/components/Navigation/Core/TableView/BatchDialog/BatchDialog.d.ts +12 -0
- package/types/ui/components/Navigation/Core/TableView/List/List.d.ts +15 -0
- package/types/ui/components/Navigation/Core/TableView/Row/Row.d.ts +25 -0
- package/types/ui/components/Navigation/Core/TableView/Row/RowHeader.d.ts +4 -0
- package/types/ui/components/Navigation/Core/TableView/TableView.d.ts +2 -0
- package/types/ui/components/Navigation/Core/TableView/types.d.ts +47 -0
- package/types/ui/components/Navigation/Core/TableView/useBatchSelect.d.ts +4 -0
- package/types/ui/components/Navigation/NavigationMinimal.d.ts +32 -0
- package/types/ui/components/Navigation/NavigationModal.d.ts +13 -0
- package/types/ui/components/Navigation/PlaceSelect/PlaceSelect.d.ts +21 -0
- package/types/ui/components/Navigation/components/BatchPanel/BatchPanel.d.ts +8 -0
- package/types/ui/components/Navigation/components/EmptyState/EmptyState.d.ts +9 -0
- package/types/ui/components/Navigation/components/EmptyState/utils.d.ts +2 -0
- package/types/ui/components/Navigation/constants.d.ts +24 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/AccessError/AccessError.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/BatchMove.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/MoveError/MoveError.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/SelectDestination/SelectDestination.d.ts +7 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/types.d.ts +5 -0
- package/types/ui/components/Navigation/hoc/resolveNavigationPath.d.ts +10 -0
- package/types/ui/components/Navigation/index.d.ts +4 -0
- package/types/ui/components/Navigation/settings.d.ts +11 -0
- package/types/ui/components/Navigation/types.d.ts +48 -0
- package/types/ui/components/Navigation/util.d.ts +10 -0
- package/types/ui/components/NavigationPrompt/NavigationPrompt.d.ts +6 -0
- package/types/ui/components/NavigationTabs/NavigationTabs.d.ts +12 -0
- package/types/ui/components/NumberFormatSettings/NumberFormatSettings.d.ts +10 -0
- package/types/ui/components/NumberFormatSettings/NumberInput/NumberInput.d.ts +10 -0
- package/types/ui/components/OpenDialogNeedReset/OpenDialogNeedReset.d.ts +5 -0
- package/types/ui/components/OrderBySelect/OrderBySelect.d.ts +12 -0
- package/types/ui/components/OrderBySelect/constants.d.ts +6 -0
- package/types/ui/components/OrderBySelect/index.d.ts +3 -0
- package/types/ui/components/OrderBySelect/types.d.ts +10 -0
- package/types/ui/components/PageTitle/PageTitle.d.ts +11 -0
- package/types/ui/components/PageTitle/index.d.ts +2 -0
- package/types/ui/components/PageTitle/usePageTitle.d.ts +13 -0
- package/types/ui/components/PaletteIcon/PaletteIcon.d.ts +12 -0
- package/types/ui/components/PaletteItem/PaletteItem.d.ts +15 -0
- package/types/ui/components/PathSelect/PathSelect.d.ts +34 -0
- package/types/ui/components/Picture/Picture.d.ts +7 -0
- package/types/ui/components/PlaceholderIllustration/PlaceholderIllustration.d.ts +2 -0
- package/types/ui/components/PlaceholderIllustration/types.d.ts +11 -0
- package/types/ui/components/Progress/DialogCounterProgress.d.ts +10 -0
- package/types/ui/components/ProgressBar/ProgressBar.d.ts +8 -0
- package/types/ui/components/RelativeDatesPicker/RelativeDatesPicker.d.ts +29 -0
- package/types/ui/components/RelativeDatesPicker/constants.d.ts +27 -0
- package/types/ui/components/RelativeDatesPicker/types.d.ts +42 -0
- package/types/ui/components/RelativeDatesPicker/utils.d.ts +42 -0
- package/types/ui/components/RevisionStatusPoint/RevisionStatusPoint.d.ts +5 -0
- package/types/ui/components/Revisions/Revisions.d.ts +75 -0
- package/types/ui/components/Revisions/RevisionsList/RevisionsList.d.ts +27 -0
- package/types/ui/components/Revisions/helpers.d.ts +7 -0
- package/types/ui/components/Revisions/types.d.ts +14 -0
- package/types/ui/components/RevisionsPanel/RevisionsPanel.d.ts +30 -0
- package/types/ui/components/RevisionsPanel/components/RevisionsControls.d.ts +13 -0
- package/types/ui/components/RevisionsPanel/utils.d.ts +10 -0
- package/types/ui/components/ScrollableWithShadow/ScrollableWithShadow.d.ts +13 -0
- package/types/ui/components/SectionWrapper/SectionWrapper.d.ts +14 -0
- package/types/ui/components/Select/constants/SelectStyles.d.ts +3 -0
- package/types/ui/components/Select/hooks/useSelectAsyncFetch/useIntersection.d.ts +6 -0
- package/types/ui/components/Select/hooks/useSelectAsyncFetch/useSelectAsyncFetch.d.ts +15 -0
- package/types/ui/components/Select/hooks/useSelectInfinityFetch/types.d.ts +5 -0
- package/types/ui/components/Select/hooks/useSelectInfinityFetch/useSelectInfinityFetch.d.ts +11 -0
- package/types/ui/components/Select/hooks/useSelectOptionsEnhancer.d.ts +2 -0
- package/types/ui/components/Select/hooks/useSelectRenderEmptyOptions/useSelectRenderEmptyOptions.d.ts +8 -0
- package/types/ui/components/Select/hooks/useSelectRenderError.d.ts +8 -0
- package/types/ui/components/Select/hooks/useSelectRenderFilter/useSelectRenderFilter.d.ts +16 -0
- package/types/ui/components/Select/wrappers/SelectAsync.d.ts +5 -0
- package/types/ui/components/Select/wrappers/SelectFeatured.d.ts +10 -0
- package/types/ui/components/Select/wrappers/SelectFeaturedAsync.d.ts +7 -0
- package/types/ui/components/SelectComponents/components/SelectOptionWithIcon/SelectOptionWithIcon.d.ts +10 -0
- package/types/ui/components/SelectComponents/index.d.ts +1 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/Body/Body.d.ts +18 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/SelectMigrationToWorkbookDialog.d.ts +13 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/constants.d.ts +25 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/SharedBindingsList/ListSearch.d.ts +11 -0
- package/types/ui/components/SharedBindingsList/SharedBindingsList.d.ts +14 -0
- package/types/ui/components/SharedEntryIcon/SharedEntryIcon.d.ts +9 -0
- package/types/ui/components/SlugifyUrl/SlugifyUrl.d.ts +6 -0
- package/types/ui/components/SlugifyUrl/index.d.ts +1 -0
- package/types/ui/components/SmartLoader/SmartLoader.d.ts +8 -0
- package/types/ui/components/TabMenu/TabMenu.d.ts +2 -0
- package/types/ui/components/TabMenu/types.d.ts +46 -0
- package/types/ui/components/Tabs/Tabs.d.ts +7 -0
- package/types/ui/components/Tabs/withDatalensSpecific.d.ts +9 -0
- package/types/ui/components/TagInput/TagInput.d.ts +13 -0
- package/types/ui/components/TemplateTextPaper/TemplateTextPaper.d.ts +7 -0
- package/types/ui/components/TextEditor/TextEditor.d.ts +11 -0
- package/types/ui/components/UserAvatar/UserAvatarById.d.ts +2 -0
- package/types/ui/components/UserMenu/UserAvatar.d.ts +4 -0
- package/types/ui/components/UserMenu/UserMenu.d.ts +3 -0
- package/types/ui/components/UsersSuggest/UsersSuggest.d.ts +9 -0
- package/types/ui/components/UsersSuggest/types.d.ts +10 -0
- package/types/ui/components/ValuesList/ValuesList.d.ts +12 -0
- package/types/ui/components/Veil/Veil.d.ts +14 -0
- package/types/ui/components/ViewAsync/ViewAsync.d.ts +23 -0
- package/types/ui/components/ViewError/ViewError.d.ts +22 -0
- package/types/ui/components/ViewLoader/ViewLoader.d.ts +8 -0
- package/types/ui/components/WidgetRoundingsInput/WidgetRoundingsInput.d.ts +6 -0
- package/types/ui/components/Widgets/Chart/Chart.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartAlert.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartSelector.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartWidget.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartWidgetWithProvider.d.ts +8 -0
- package/types/ui/components/Widgets/Chart/components/ChartInfoIcon.d.ts +5 -0
- package/types/ui/components/Widgets/Chart/components/Content.d.ts +2 -0
- package/types/ui/components/Widgets/Chart/components/Header.d.ts +13 -0
- package/types/ui/components/Widgets/Chart/components/WidgetFooter.d.ts +10 -0
- package/types/ui/components/Widgets/Chart/components/WidgetHeader.d.ts +53 -0
- package/types/ui/components/Widgets/Chart/helpers/helpers.d.ts +139 -0
- package/types/ui/components/Widgets/Chart/helpers/yandex-map.d.ts +12 -0
- package/types/ui/components/Widgets/Chart/hooks/useAutoHeightResizeObserver.d.ts +12 -0
- package/types/ui/components/Widgets/Chart/hooks/useChartActivities.d.ts +15 -0
- package/types/ui/components/Widgets/Chart/hooks/useIntersectionObserver.d.ts +8 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChart.d.ts +203 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChartSelector.d.ts +184 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChartWidget.d.ts +195 -0
- package/types/ui/components/Widgets/Chart/hooks/useMemoCallback.d.ts +6 -0
- package/types/ui/components/Widgets/Chart/store/reducer.d.ts +3 -0
- package/types/ui/components/Widgets/Chart/store/types.d.ts +58 -0
- package/types/ui/components/Widgets/Chart/types.d.ts +260 -0
- package/types/ui/components/Widgets/Chart/utils.d.ts +5 -0
- package/types/ui/components/WorkbookIcon/WorkbookIcon.d.ts +8 -0
- package/types/ui/components/WorkbookNavigationMinimal/WorkbookNavigationMinimal.d.ts +47 -0
- package/types/ui/components/WorkbookNavigationMinimal/components/ListWithSharedEntries.d.ts +13 -0
- package/types/ui/components/WorkbookNavigationMinimal/constants.d.ts +1 -0
- package/types/ui/components/WorkbookNavigationMinimal/types.d.ts +10 -0
- package/types/ui/components/YfmWrapper/YfmWrapper.d.ts +3 -0
- package/types/ui/components/YfmWrapper/YfmWrapperContent.d.ts +8 -0
- package/types/ui/components/common/Datepicker/Calendar/Calendar.d.ts +51 -0
- package/types/ui/components/common/Datepicker/Datepicker.d.ts +36 -0
- package/types/ui/components/common/Datepicker/Month/Month.d.ts +61 -0
- package/types/ui/components/common/Datepicker/Months/Months.d.ts +29 -0
- package/types/ui/components/common/Datepicker/PopupContent/PopupContent.d.ts +25 -0
- package/types/ui/components/common/Datepicker/Presets/Presets.d.ts +18 -0
- package/types/ui/components/common/Datepicker/Quarters/Quarters.d.ts +28 -0
- package/types/ui/components/common/Datepicker/YearSwitcher/YearSwitcher.d.ts +21 -0
- package/types/ui/components/common/Datepicker/Years/Years.d.ts +27 -0
- package/types/ui/components/common/Datepicker/constants.d.ts +46 -0
- package/types/ui/components/common/Datepicker/index.d.ts +4 -0
- package/types/ui/components/common/Datepicker/utils.d.ts +34 -0
- package/types/ui/components/common/DatepickerControl/DatepickerControl.d.ts +5 -0
- package/types/ui/components/common/RangeInputPicker/RangeInputPicker.d.ts +60 -0
- package/types/ui/components/common/RangeInputPicker/constants.d.ts +3 -0
- package/types/ui/components/common/RangeInputPicker/index.d.ts +1 -0
- package/types/ui/components/common/RangeInputPicker/types.d.ts +32 -0
- package/types/ui/components/common/RangeInputPicker/utils.d.ts +15 -0
- package/types/ui/components/common/YCSelect/Item/Item.d.ts +52 -0
- package/types/ui/components/common/YCSelect/Items/Items.d.ts +76 -0
- package/types/ui/components/common/YCSelect/Search/Search.d.ts +20 -0
- package/types/ui/components/common/YCSelect/YCSelect.d.ts +96 -0
- package/types/ui/components/common/YCSelect/constants.d.ts +2 -0
- package/types/ui/components/common/YCSelect/index.d.ts +4 -0
- package/types/ui/components/common/YCSelect/isBothEmpty.d.ts +1 -0
- package/types/ui/components/common/YCSelect/utils.d.ts +16 -0
- package/types/ui/configs/common/icons.d.ts +25 -0
- package/types/ui/configs/index.d.ts +27 -0
- package/types/ui/constants/common.d.ts +197 -0
- package/types/ui/constants/connections.d.ts +6 -0
- package/types/ui/constants/dialogs.d.ts +24 -0
- package/types/ui/constants/embedded.d.ts +4 -0
- package/types/ui/constants/index.d.ts +6 -0
- package/types/ui/constants/misc.d.ts +77 -0
- package/types/ui/constants/mobile.d.ts +8 -0
- package/types/ui/constants/navigation.d.ts +1 -0
- package/types/ui/constants/operations.d.ts +37 -0
- package/types/ui/constants/visualizations/combined-chart.d.ts +2 -0
- package/types/ui/constants/visualizations/donut.d.ts +2 -0
- package/types/ui/constants/visualizations/flatTable.d.ts +9 -0
- package/types/ui/constants/visualizations/geolayer.d.ts +2 -0
- package/types/ui/constants/visualizations/geopoint.d.ts +3 -0
- package/types/ui/constants/visualizations/geopolygon.d.ts +2 -0
- package/types/ui/constants/visualizations/heatmap.d.ts +2 -0
- package/types/ui/constants/visualizations/index.d.ts +347 -0
- package/types/ui/constants/visualizations/line.d.ts +8 -0
- package/types/ui/constants/visualizations/metric.d.ts +2 -0
- package/types/ui/constants/visualizations/pie.d.ts +2 -0
- package/types/ui/constants/visualizations/pivotTable.d.ts +2 -0
- package/types/ui/constants/visualizations/polyline.d.ts +2 -0
- package/types/ui/constants/visualizations/scatter.d.ts +2 -0
- package/types/ui/constants/visualizations/treemap.d.ts +13 -0
- package/types/ui/constants/visualizations/utils.d.ts +2 -0
- package/types/ui/constants/workbooks.d.ts +2 -0
- package/types/ui/constants/yfm.d.ts +4 -0
- package/types/ui/datalens/helpers.d.ts +2 -0
- package/types/ui/datalens/hooks.d.ts +1 -0
- package/types/ui/datalens/index.d.ts +9 -0
- package/types/ui/datalens/pages/AuthPage/AuthPage.d.ts +3 -0
- package/types/ui/datalens/pages/CollectionsNavigationPage/CollectionsNavigationPage.d.ts +2 -0
- package/types/ui/datalens/pages/ConnectionsPage/ConnectionsPage.d.ts +2 -0
- package/types/ui/datalens/pages/DashAndWizardQLPages/DashAndWizardQLPages.d.ts +29 -0
- package/types/ui/datalens/pages/DashPage/DashPage.d.ts +2 -0
- package/types/ui/datalens/pages/DatasetPage/DatasetPage.d.ts +2 -0
- package/types/ui/datalens/pages/FallbackPage/FallbackPage.d.ts +5 -0
- package/types/ui/datalens/pages/LandingPage/LandingPage.d.ts +2 -0
- package/types/ui/datalens/pages/MainPage/MainPage.d.ts +2 -0
- package/types/ui/datalens/pages/OwnUserProfilePage/OwnUserProfilePage.d.ts +2 -0
- package/types/ui/datalens/pages/PreviewPage/PreviewPage.d.ts +2 -0
- package/types/ui/datalens/pages/QLPage/QLPage.d.ts +5 -0
- package/types/ui/datalens/pages/ServiceSettingsPage/ServiceSettingsPage.d.ts +2 -0
- package/types/ui/datalens/pages/WizardPage/WizardPage.d.ts +2 -0
- package/types/ui/datalens/render.d.ts +8 -0
- package/types/ui/entries/dl-main.d.ts +0 -0
- package/types/ui/entries/main.d.ts +3 -0
- package/types/ui/hoc/index.d.ts +1 -0
- package/types/ui/hoc/withEnabledFeature.d.ts +5 -0
- package/types/ui/hoc/withHiddenUnmount.d.ts +59 -0
- package/types/ui/hoc/withHotkeysContext.d.ts +5 -0
- package/types/ui/hoc/withInaccessibleOnMobile.d.ts +61 -0
- package/types/ui/hoc/withPromiseOpen.d.ts +66 -0
- package/types/ui/hooks/index.d.ts +7 -0
- package/types/ui/hooks/useBeforeLoad.d.ts +1 -0
- package/types/ui/hooks/useBindHotkey.d.ts +17 -0
- package/types/ui/hooks/useChangedProp.d.ts +1 -0
- package/types/ui/hooks/useEffectOnce.d.ts +2 -0
- package/types/ui/hooks/useEnterClick.d.ts +2 -0
- package/types/ui/hooks/useHover.d.ts +7 -0
- package/types/ui/hooks/useLocalStorageFallback.d.ts +9 -0
- package/types/ui/hooks/useMarkdown.d.ts +9 -0
- package/types/ui/hooks/useMountedState.d.ts +2 -0
- package/types/ui/hooks/useOutsideClick.d.ts +2 -0
- package/types/ui/hooks/usePrevious.d.ts +1 -0
- package/types/ui/hooks/useRefMounted.d.ts +2 -0
- package/types/ui/hooks/useSetState.d.ts +1 -0
- package/types/ui/hooks/useShallowEqualSelector.d.ts +2 -0
- package/types/ui/hooks/useSyncedState.d.ts +2 -0
- package/types/ui/hooks/useTitle.d.ts +1 -0
- package/types/ui/index.d.ts +76 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/ChartKit.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/ChartKitAdapter.d.ts +27 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/ChartKitTooltip/ChartKitTooltip.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Error/Error.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/IconRenderer.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/CirclePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DiamondPointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SolidLineIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SquarePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TriangleDownPointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TrianglePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/constants.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/renderTooltipIcon.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/SolidLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/types.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/utils.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Loader/Loader.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/Widget.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/AlertWidget.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/utils.d.ts +76 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Markdown/Markdown.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/Bar.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/types.d.ts +55 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/utils.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Paginator/Paginator.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Table.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/WrappedHTMLNode.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/types.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/action-params.d.ts +32 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/event-handlers.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/index.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/misc.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/render.d.ts +39 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/validation.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/constants.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/index.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/index.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/action-params-handlers.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/apply-hc-handlers.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkit-adapter.d.ts +59 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkitAdapter.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/constants.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/getRandomCKId.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chart-to-table.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chartkit-adapter.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/comments.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/event-handlers.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/holidays.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/utils.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/tooltip.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/utils.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/wait-for-content.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/init.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/chartkit-custom-error/chartkit-custom-error.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/comments/drawing.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/config.d.ts +576 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/handleLegendItemClick.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/options.d.ts +465 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/buildNavigatorFallback.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/calculatePrecision.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/concatStrings.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getChartKitFormattedValue.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getFormatOptionsFromLine.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getXAxisThresholdValue.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isSafari.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isTooltipShared.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/localStorage.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/mergeArrayWithObject.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/numberFormat.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/graph.d.ts +541 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/prepare-data.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/helpers.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/tooltip.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/types.d.ts +102 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/types/index.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/colors.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/calcucalteClosestPointManually.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/index.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/highcharts.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/i18n.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/en.d.ts +58 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/ru.d.ts +59 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/map.d.ts +84 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/options.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/tooltip/tooltip.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/perfomance.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/fetch-script.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/number-format.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Canvas.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/DataConverter.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Heatmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/TileUrlsGenerator.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/Gridmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/index.d.ts +0 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/hexagonGrid.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/squareGrid.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/Polygonmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorLegend.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.d.ts +44 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultBalloonContent.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnClick.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseEnter.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseLeave.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/modules.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/yandex-map.d.ts +30 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/AdvancedChartWidget.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/components/Tooltip/Tooltip.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/utils.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/types.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapComponent.d.ts +108 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapWidget.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/types.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/renderer/MarkupWidget.d.ts +20 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/types.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricTile.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricWidget.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/metricHelpers.d.ts +89 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/types.d.ts +54 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/TableWidget.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/BarCell/BarCell.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/DiffCell/DiffCell.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/HtmlCell/HtmlCell.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/MarkupCell/MarkupCell.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/SortIcon/SortIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/BackgroundTable.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/Table.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableBody.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableFooter.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableHead.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/cell-width.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/types.d.ts +150 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/usePreparedTableData.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/utils.d.ts +20 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TableTitleView/TableTitleView.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TreeCell/TreeCell.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/types.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/action-params.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/drill-down.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/index.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/math.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/migrate-to-old-format.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/renderer.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/tree.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/types.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/EyeSlashIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/SizeIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Layer/Layer.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Legend.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapComponent.d.ts +68 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapWidget.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/events.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/types.d.ts +51 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/utils.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/types.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/chart-storage.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/StyledSplitPane/StyledSplitPane.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/index.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/withSplitPane/withSplitPane.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/index.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/types.d.ts +56 -0
- package/types/ui/libs/DatalensChartkit/DatalensChartKitOld.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/Error/Error.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/Error/getAdditionalChartkitErrorContent.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/ChartKitBase.d.ts +130 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Chart/Chart.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/ChartkitError/ChartkitError.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/reducer.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/types.d.ts +43 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Control/Control.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/Header.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/ChartsInsights.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/ChartsInsightsIcon.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/getIconData.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/TooltipContent/TooltipContent.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/helpers/getIconLevel.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpin/ButtonSpin.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpinInput/ButtonSpinInput.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModal/ChartsModal.d.ts +60 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModalMenu/ChartsModalMenu.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/DownloadCsv/DownloadCsv.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/CsvExport/CsvExport.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/Export.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/ToastContent/ToastContent.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/types.d.ts +32 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/utils.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Inspector.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/SourceMeta/Datalens.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Source/Source.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceError/SourceError.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceSuccess/SourceSuccess.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Sources.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Timings/Timings.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Body/Body.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Context/Context.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Footer/Footer.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Header/Header.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Modal.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/PopupMessage/PopupMessage.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/constants.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/helpers.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Menu.d.ts +71 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/MenuWithErrorBoundary/MenuWithErrorBoundary.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Loader/Loader.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/helpers.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/types.d.ts +105 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitIcon/ChartKitIcon.d.ts +25 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Control.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Items/Items.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/Control/types.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/components/DeferredInitializer/DeferredInitializer.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/Drill/Drill.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/components/Error/Error.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/components/Error/More/More.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/ErrorBoundary.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/withErrorBoundary.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/Attach/Attach.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/ColorItem/ColorItem.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/DraggableModalHOC/DraggableModalHOC.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/PaletteEditor/PaletteEditor.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/PaletteSettings/PaletteSettings.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/SideMarkdown/SideMarkdown.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/extensions/alert.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/control.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/markdown.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/table.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/helpers/convert-data-to-table.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/helpers/helpers.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/menu/Menu.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/menu/MenuItems.d.ts +55 -0
- package/types/ui/libs/DatalensChartkit/menu/constants.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/menu/helpers.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/modules/axios/axios.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/axios/axiosConcurrency.d.ts +23 -0
- package/types/ui/libs/DatalensChartkit/modules/constants/constants.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/chartkit-handlers.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/get-graph.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-config.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-data.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/getChartsInsightsData.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/index.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/index.d.ts +125 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/node.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/types.d.ts +478 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox-runtime.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/utils.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/wizard.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/example.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/helpers.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/withDataProvider.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/modules/datalens-chartkit-custom-error/datalens-chartkit-custom-error.d.ts +61 -0
- package/types/ui/libs/DatalensChartkit/modules/export/export.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/modules/extensions-manager/extensions-manager.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/constants.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/index.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/utils.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/modules/localStorage.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/menu/menu.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/modules/perfomance.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/settings/settings.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/modules/table.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/types/common.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/types/control.d.ts +73 -0
- package/types/ui/libs/DatalensChartkit/types/dataProvider.d.ts +43 -0
- package/types/ui/libs/DatalensChartkit/types/index.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/types/menu.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/types/widget.d.ts +324 -0
- package/types/ui/libs/auth/refreshToken.d.ts +1 -0
- package/types/ui/libs/axios/axios.d.ts +5 -0
- package/types/ui/libs/axios/interceptors.d.ts +4 -0
- package/types/ui/libs/datasetHelper/index.d.ts +3 -0
- package/types/ui/libs/datasetSdk/index.d.ts +35 -0
- package/types/ui/libs/google-analytics/index.d.ts +1 -0
- package/types/ui/libs/index.d.ts +7 -0
- package/types/ui/libs/logger/index.d.ts +5 -0
- package/types/ui/libs/metrica/index.d.ts +21 -0
- package/types/ui/libs/monaco/constants.d.ts +2 -0
- package/types/ui/libs/monaco/dl-lang/constants.d.ts +17 -0
- package/types/ui/libs/monaco/dl-lang/index.d.ts +3 -0
- package/types/ui/libs/monaco/index.d.ts +6 -0
- package/types/ui/libs/monaco/load-monaco-core.d.ts +18 -0
- package/types/ui/libs/monaco/ql-lang/constants.d.ts +3 -0
- package/types/ui/libs/monaco/ql-lang/index.d.ts +8 -0
- package/types/ui/libs/monaco/theme-mappers.d.ts +5 -0
- package/types/ui/libs/monaco/types.d.ts +4 -0
- package/types/ui/libs/monaco/utils.d.ts +23 -0
- package/types/ui/libs/navigateHelper/index.d.ts +16 -0
- package/types/ui/libs/schematic-sdk/decorator.d.ts +10 -0
- package/types/ui/libs/schematic-sdk/index.d.ts +32 -0
- package/types/ui/libs/schematic-sdk/parse-error.d.ts +17 -0
- package/types/ui/libs/sdk/index.d.ts +69 -0
- package/types/ui/libs/sdk/types.d.ts +22 -0
- package/types/ui/libs/userSettings/index.d.ts +8 -0
- package/types/ui/modules/index.d.ts +1 -0
- package/types/ui/modules/markdownProvider.d.ts +13 -0
- package/types/ui/navigation/history.d.ts +3 -0
- package/types/ui/navigation/index.d.ts +7 -0
- package/types/ui/navigation/router.d.ts +58 -0
- package/types/ui/registry/components/DefaultEmpty.d.ts +2 -0
- package/types/ui/registry/functions/example-function.d.ts +1 -0
- package/types/ui/registry/index.d.ts +1071 -0
- package/types/ui/registry/libs/index.d.ts +9 -0
- package/types/ui/registry/libs/registryLibsPlugins.d.ts +7 -0
- package/types/ui/registry/libs/schematic-sdk/index.d.ts +6 -0
- package/types/ui/registry/units/auth/components-map.d.ts +9 -0
- package/types/ui/registry/units/auth/functions-map.d.ts +10 -0
- package/types/ui/registry/units/auth/index.d.ts +51 -0
- package/types/ui/registry/units/auth/register.d.ts +1 -0
- package/types/ui/registry/units/auth/types/components/AdditionalProfileSections.d.ts +4 -0
- package/types/ui/registry/units/auth/types/components/AdditionalUsersFilters.d.ts +4 -0
- package/types/ui/registry/units/auth/types/components/Signin.d.ts +3 -0
- package/types/ui/registry/units/auth/types/functions/getAdditionalAddProfileFields.d.ts +14 -0
- package/types/ui/registry/units/auth/types/functions/getAdditionalProfileFields.d.ts +6 -0
- package/types/ui/registry/units/auth/types/functions/getUsersListColumns.d.ts +3 -0
- package/types/ui/registry/units/auth/types/functions/getUsersRoles.d.ts +2 -0
- package/types/ui/registry/units/chart/components-map.d.ts +7 -0
- package/types/ui/registry/units/chart/functions-map.d.ts +26 -0
- package/types/ui/registry/units/chart/index.d.ts +79 -0
- package/types/ui/registry/units/chart/register.d.ts +1 -0
- package/types/ui/registry/units/chart/types/components/AlertDialog.d.ts +7 -0
- package/types/ui/registry/units/chart/types/components/ChartActionPanelButton.d.ts +11 -0
- package/types/ui/registry/units/chart/types/functions/get-chartkit-holidays.d.ts +2 -0
- package/types/ui/registry/units/chart/types/functions/getChartkitMenuByType.d.ts +22 -0
- package/types/ui/registry/units/chart/types/functions/getDefaultChartMenu.d.ts +9 -0
- package/types/ui/registry/units/chart/types/functions/getPanePreviewChartMenu.d.ts +4 -0
- package/types/ui/registry/units/chart/types/functions/getVisualSelectorBottomPlaceholder.d.ts +5 -0
- package/types/ui/registry/units/chart/types/functions/getWizardChartMenu.d.ts +8 -0
- package/types/ui/registry/units/collections/components-map.d.ts +5 -0
- package/types/ui/registry/units/collections/functionts-map.d.ts +10 -0
- package/types/ui/registry/units/collections/index.d.ts +47 -0
- package/types/ui/registry/units/collections/register.d.ts +1 -0
- package/types/ui/registry/units/collections/types/customizeEmptyPlaceholder.d.ts +17 -0
- package/types/ui/registry/units/collections/types/customizeNoCreatePermissionDialog.d.ts +6 -0
- package/types/ui/registry/units/collections/types/index.d.ts +3 -0
- package/types/ui/registry/units/collections/types/useCreateWorkbookDialogHandlers.d.ts +16 -0
- package/types/ui/registry/units/common/components/Example/Example.d.ts +12 -0
- package/types/ui/registry/units/common/components-map.d.ts +68 -0
- package/types/ui/registry/units/common/constants/components.d.ts +1 -0
- package/types/ui/registry/units/common/constants/functions.d.ts +1 -0
- package/types/ui/registry/units/common/functions-map.d.ts +128 -0
- package/types/ui/registry/units/common/index.d.ts +452 -0
- package/types/ui/registry/units/common/register.d.ts +1 -0
- package/types/ui/registry/units/common/types/components/AccessRights.d.ts +9 -0
- package/types/ui/registry/units/common/types/components/AccessRightsUrlOpen.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/AclSubject.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/AclSubjectSuggest.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/ActionPanelEntrySelect.d.ts +3 -0
- package/types/ui/registry/units/common/types/components/AsideHeaderAdapter.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/ButtonFavorite.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/DialogAddParticipants.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/DialogEntryDescription.d.ts +13 -0
- package/types/ui/registry/units/common/types/components/DialogImageWidgetLinkHint.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/DialogRelatedEntitiesRadioHint.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/DialogShare.d.ts +20 -0
- package/types/ui/registry/units/common/types/components/DownloadScreenshot.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/EntryBreadcrumbs.d.ts +16 -0
- package/types/ui/registry/units/common/types/components/IamAccessDialog.d.ts +16 -0
- package/types/ui/registry/units/common/types/components/LoginById.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/MarkdownControl.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/MarkupShareLink.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/MarkupUserInfo.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/MobileHeaderComponent.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/OAuthTokenButton.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/PlaceholderIllustrationImage.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/RangeInputPicker.d.ts +1 -0
- package/types/ui/registry/units/common/types/components/ReportButton.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/UserAvatarById.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/YfmWrapper.d.ts +10 -0
- package/types/ui/registry/units/common/types/functions/GetUsersById.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/checkCreateEntryButtonVisibility.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/fetchDocumentation.d.ts +9 -0
- package/types/ui/registry/units/common/types/functions/fetchFunctionsDocumentation.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getAdditionalChartkitErrorContent.d.ts +8 -0
- package/types/ui/registry/units/common/types/functions/getBasicActionPanelItems.d.ts +6 -0
- package/types/ui/registry/units/common/types/functions/getFunctionsDocumentation.d.ts +35 -0
- package/types/ui/registry/units/common/types/functions/getGloballyEntrySettings.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getHeaderWithoutHelpCenterErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getHeaderWithoutNavigationErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getIllustrationStore.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getImageNameFromErrorContentType.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getLoginById.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getLogoIcon.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getNotAuthenticatedErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getShouldShowAIAssistant.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getUIEntryRoute.d.ts +8 -0
- package/types/ui/registry/units/common/types/functions/isValidLogoUrl.d.ts +5 -0
- package/types/ui/registry/units/common/types/functions/openDialogOrganizationInvite.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/openDialogOrganizationInviteUsers.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/renderDialogRelatedEntitiesAlertHint.d.ts +6 -0
- package/types/ui/registry/units/common/types/functions/resolveUsersByIds.d.ts +3 -0
- package/types/ui/registry/units/common/types/functions/setEntryKey.d.ts +7 -0
- package/types/ui/registry/units/common/types/functions/useSubjectsListId.d.ts +4 -0
- package/types/ui/registry/units/connections/components-map.d.ts +7 -0
- package/types/ui/registry/units/connections/functions-map.d.ts +19 -0
- package/types/ui/registry/units/connections/index.d.ts +66 -0
- package/types/ui/registry/units/connections/register.d.ts +1 -0
- package/types/ui/registry/units/connections/types/CreateEditorChartButtonProps.d.ts +5 -0
- package/types/ui/registry/units/connections/types/PreparedRowItem.d.ts +4 -0
- package/types/ui/registry/units/connections/types/beforeConnectorFormUnmount.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getConnectionItemRender.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getFakeEntry.d.ts +3 -0
- package/types/ui/registry/units/connections/types/getIsShowCreateConnectionButton.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getMockedForm.d.ts +4 -0
- package/types/ui/registry/units/connections/types/getNewConnectionDestination.d.ts +4 -0
- package/types/ui/registry/units/connections/types/getRenderConnectionSettingsPopup.d.ts +2 -0
- package/types/ui/registry/units/dash/components-map.d.ts +13 -0
- package/types/ui/registry/units/dash/functions-map.d.ts +17 -0
- package/types/ui/registry/units/dash/index.d.ts +77 -0
- package/types/ui/registry/units/dash/register.d.ts +1 -0
- package/types/ui/registry/units/dash/types/BeforeCloseDialogItem.d.ts +3 -0
- package/types/ui/registry/units/dash/types/BeforeOpenDialogItem.d.ts +4 -0
- package/types/ui/registry/units/dash/types/DashActionPanelAdditionalButtons.d.ts +5 -0
- package/types/ui/registry/units/dash/types/DialogDashOtherSettingsPrepend.d.ts +6 -0
- package/types/ui/registry/units/dash/types/GetExtendedItemData.d.ts +4 -0
- package/types/ui/registry/units/datasets/functions-map.d.ts +6 -0
- package/types/ui/registry/units/datasets/index.d.ts +19 -0
- package/types/ui/registry/units/datasets/register.d.ts +1 -0
- package/types/ui/registry/units/datasets/types/functions/getRenderDatasetSettingsPopup.d.ts +2 -0
- package/types/ui/registry/units/datasets/types/functions/renderRLSDialog.d.ts +3 -0
- package/types/ui/registry/units/docs/functions-map.d.ts +3 -0
- package/types/ui/registry/units/docs/index.d.ts +23 -0
- package/types/ui/registry/units/docs/register.d.ts +1 -0
- package/types/ui/registry/units/editor/components-map.d.ts +5 -0
- package/types/ui/registry/units/editor/constants/components.d.ts +1 -0
- package/types/ui/registry/units/editor/constants/functions.d.ts +1 -0
- package/types/ui/registry/units/editor/functions-map.d.ts +6 -0
- package/types/ui/registry/units/editor/index.d.ts +35 -0
- package/types/ui/registry/units/editor/types/components/ActionPanelButton.d.ts +9 -0
- package/types/ui/registry/units/editor/types/functions/fetchEditorDocumentation.d.ts +4 -0
- package/types/ui/registry/units/editor/types/functions/getEditorTemplates.d.ts +10 -0
- package/types/ui/registry/units/fieldEditor/components-map.d.ts +21 -0
- package/types/ui/registry/units/fieldEditor/index.d.ts +24 -0
- package/types/ui/registry/units/main/components-map.d.ts +4 -0
- package/types/ui/registry/units/main/index.d.ts +23 -0
- package/types/ui/registry/units/main/register.d.ts +1 -0
- package/types/ui/registry/units/preview/components-map.d.ts +4 -0
- package/types/ui/registry/units/preview/index.d.ts +23 -0
- package/types/ui/registry/units/preview/register.d.ts +1 -0
- package/types/ui/registry/units/public/components-map.d.ts +5 -0
- package/types/ui/registry/units/public/index.d.ts +24 -0
- package/types/ui/registry/units/public/register.d.ts +1 -0
- package/types/ui/registry/units/public/types/components/Header.d.ts +4 -0
- package/types/ui/registry/units/ql/components-map.d.ts +5 -0
- package/types/ui/registry/units/ql/functions-map.d.ts +5 -0
- package/types/ui/registry/units/ql/index.d.ts +36 -0
- package/types/ui/registry/units/ql/register.d.ts +1 -0
- package/types/ui/registry/units/wizard/components-map.d.ts +5 -0
- package/types/ui/registry/units/wizard/index.d.ts +24 -0
- package/types/ui/registry/units/wizard/register.d.ts +1 -0
- package/types/ui/registry/units/wizard/types/components/WizardActionPanelExtension.d.ts +3 -0
- package/types/ui/registry/units/workbooks/components-map.d.ts +6 -0
- package/types/ui/registry/units/workbooks/functions-map.d.ts +30 -0
- package/types/ui/registry/units/workbooks/index.d.ts +98 -0
- package/types/ui/registry/units/workbooks/register.d.ts +1 -0
- package/types/ui/registry/units/workbooks/types/components/workbookTableRowExtendedContent.d.ts +7 -0
- package/types/ui/registry/units/workbooks/types/functions/checkWbCreateEntryButtonVisibility.d.ts +3 -0
- package/types/ui/registry/utils/components-registry.d.ts +11 -0
- package/types/ui/registry/utils/register-app-plugins.d.ts +5 -0
- package/types/ui/store/actions/asideHeader/index.d.ts +46 -0
- package/types/ui/store/actions/asideHeader/navigation.d.ts +15 -0
- package/types/ui/store/actions/chartWidget.d.ts +38 -0
- package/types/ui/store/actions/collectionsStructure/common.d.ts +531 -0
- package/types/ui/store/actions/collectionsStructure/export.d.ts +108 -0
- package/types/ui/store/actions/collectionsStructure/index.d.ts +10 -0
- package/types/ui/store/actions/collectionsStructure/showCollectionEntityErrorToast.d.ts +2 -0
- package/types/ui/store/actions/collectionsStructure/templates.d.ts +23 -0
- package/types/ui/store/actions/colorPaletteEditor.d.ts +23 -0
- package/types/ui/store/actions/controlDialog/controlDialog.d.ts +123 -0
- package/types/ui/store/actions/controlDialog/helpers.d.ts +12 -0
- package/types/ui/store/actions/copyEntriesToWorkbook.d.ts +51 -0
- package/types/ui/store/actions/dialog.d.ts +75 -0
- package/types/ui/store/actions/editHistory.d.ts +66 -0
- package/types/ui/store/actions/entryContent.d.ts +74 -0
- package/types/ui/store/actions/iamAccessDialog.d.ts +143 -0
- package/types/ui/store/actions/landing.d.ts +8 -0
- package/types/ui/store/actions/localStorageFallback.d.ts +11 -0
- package/types/ui/store/actions/migrationToWorkbook.d.ts +65 -0
- package/types/ui/store/actions/openDialogTypes.d.ts +65 -0
- package/types/ui/store/actions/toaster.d.ts +16 -0
- package/types/ui/store/actions/user.d.ts +30 -0
- package/types/ui/store/actions/usersByIds.d.ts +2 -0
- package/types/ui/store/configure.d.ts +4 -0
- package/types/ui/store/constants/collectionsStructure.d.ts +80 -0
- package/types/ui/store/constants/controlDialog.d.ts +50 -0
- package/types/ui/store/constants/copyEntriesToWorkbook.d.ts +10 -0
- package/types/ui/store/constants/editHistory.d.ts +5 -0
- package/types/ui/store/constants/iamAccessDialog.d.ts +17 -0
- package/types/ui/store/constants/migrationToWorkbook.d.ts +13 -0
- package/types/ui/store/index.d.ts +7 -0
- package/types/ui/store/reducer-registry.d.ts +19 -0
- package/types/ui/store/reducers/asideHeader.d.ts +7 -0
- package/types/ui/store/reducers/collectionsStructure.d.ts +128 -0
- package/types/ui/store/reducers/colorPaletteEditor.d.ts +8 -0
- package/types/ui/store/reducers/controlDialog/controlDialog.d.ts +58 -0
- package/types/ui/store/reducers/controlDialog/helpers.d.ts +18 -0
- package/types/ui/store/reducers/copyEntriesToWorkbook.d.ts +36 -0
- package/types/ui/store/reducers/dialog.d.ts +9 -0
- package/types/ui/store/reducers/editHistory.d.ts +19 -0
- package/types/ui/store/reducers/entryContent.d.ts +14 -0
- package/types/ui/store/reducers/iamAccessDialog.d.ts +33 -0
- package/types/ui/store/reducers/index.d.ts +280 -0
- package/types/ui/store/reducers/landing.d.ts +10 -0
- package/types/ui/store/reducers/localStorageFallback.d.ts +3 -0
- package/types/ui/store/reducers/migrationToWorkbook.d.ts +25 -0
- package/types/ui/store/reducers/user.d.ts +4 -0
- package/types/ui/store/selectors/asideHeader.d.ts +11 -0
- package/types/ui/store/selectors/collectionsStructure.d.ts +564 -0
- package/types/ui/store/selectors/colorPaletteEditor.d.ts +14 -0
- package/types/ui/store/selectors/controlDialog.d.ts +49 -0
- package/types/ui/store/selectors/copyEntriesToWorkbook.d.ts +81 -0
- package/types/ui/store/selectors/editHistory.d.ts +7 -0
- package/types/ui/store/selectors/entryContent.d.ts +27 -0
- package/types/ui/store/selectors/iamAccessDialog.d.ts +142 -0
- package/types/ui/store/selectors/landing.d.ts +2 -0
- package/types/ui/store/selectors/localStorageFallback.d.ts +2 -0
- package/types/ui/store/selectors/migrationToWorkbook.d.ts +113 -0
- package/types/ui/store/selectors/user.d.ts +47 -0
- package/types/ui/store/toolkit/chartkit/api.d.ts +8 -0
- package/types/ui/store/toolkit/chartkit/types.d.ts +4 -0
- package/types/ui/store/toolkit/index.d.ts +1 -0
- package/types/ui/store/typings/asideHeader.d.ts +23 -0
- package/types/ui/store/typings/controlDialog.d.ts +129 -0
- package/types/ui/store/typings/entryContent.d.ts +19 -0
- package/types/ui/store/typings/iamAccessDialog.d.ts +7 -0
- package/types/ui/store/typings/user.d.ts +12 -0
- package/types/ui/store/utils/asideHeader.d.ts +3 -0
- package/types/ui/store/utils/collectionStructure.d.ts +14 -0
- package/types/ui/store/utils/controlDialog.d.ts +44 -0
- package/types/ui/store/utils/jdp.d.ts +5 -0
- package/types/ui/store/utils/user.d.ts +3 -0
- package/types/ui/typings/common.d.ts +38 -0
- package/types/ui/typings/components.d.ts +7 -0
- package/types/ui/typings/error.d.ts +25 -0
- package/types/ui/typings/index.d.ts +3 -0
- package/types/ui/units/auth/components/AuthPage/AuthPage.d.ts +7 -0
- package/types/ui/units/auth/components/AuthPage/useAuthPageInit.d.ts +1 -0
- package/types/ui/units/auth/components/ChangePasswordDialog/ChangePasswordDialog.d.ts +9 -0
- package/types/ui/units/auth/components/ChangeUserRoleDialog/ChangeUserRoleDialog.d.ts +10 -0
- package/types/ui/units/auth/components/DeleteUserDialog/DeleteUserDialog.d.ts +8 -0
- package/types/ui/units/auth/components/EditUserProfileDialog/EditUserProfileDialog.d.ts +11 -0
- package/types/ui/units/auth/components/LoginById/LoginById.d.ts +2 -0
- package/types/ui/units/auth/components/LoginById/utils.d.ts +2 -0
- package/types/ui/units/auth/components/Logout/Logout.d.ts +1 -0
- package/types/ui/units/auth/components/Reload/Reload.d.ts +1 -0
- package/types/ui/units/auth/components/Signin/Signin.d.ts +2 -0
- package/types/ui/units/auth/components/Signin/components/Login.d.ts +5 -0
- package/types/ui/units/auth/components/Signin/components/Password.d.ts +5 -0
- package/types/ui/units/auth/components/Signup/Signup.d.ts +1 -0
- package/types/ui/units/auth/components/Signup/components/Back.d.ts +1 -0
- package/types/ui/units/auth/components/UserProfile/UserProfile.d.ts +14 -0
- package/types/ui/units/auth/components/UserRoleLabel/UserRoleLabel.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/CustomRow.d.ts +7 -0
- package/types/ui/units/auth/components/formControls/Email.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/FirstName.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/GeneratePasswordButton.d.ts +3 -0
- package/types/ui/units/auth/components/formControls/LastName.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Login.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Password.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/RepeatPassword.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Roles.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/RowButton.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/types.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/utils.d.ts +1 -0
- package/types/ui/units/auth/constants/errors.d.ts +3 -0
- package/types/ui/units/auth/constants/routes.d.ts +7 -0
- package/types/ui/units/auth/containers/UserProfile/UserProfile.d.ts +4 -0
- package/types/ui/units/auth/hooks/useClearReloadedQuery.d.ts +1 -0
- package/types/ui/units/auth/hooks/useUserById.d.ts +10 -0
- package/types/ui/units/auth/store/actions/common.d.ts +15 -0
- package/types/ui/units/auth/store/actions/index.d.ts +6 -0
- package/types/ui/units/auth/store/actions/logout.d.ts +9 -0
- package/types/ui/units/auth/store/actions/signin.d.ts +20 -0
- package/types/ui/units/auth/store/actions/userInfoForm.d.ts +32 -0
- package/types/ui/units/auth/store/actions/userProfile.d.ts +95 -0
- package/types/ui/units/auth/store/actions/usersByIds.d.ts +21 -0
- package/types/ui/units/auth/store/constants/common.d.ts +2 -0
- package/types/ui/units/auth/store/constants/signin.d.ts +1 -0
- package/types/ui/units/auth/store/constants/userInfoForm.d.ts +4 -0
- package/types/ui/units/auth/store/constants/userProfile.d.ts +17 -0
- package/types/ui/units/auth/store/constants/usersByIds.d.ts +2 -0
- package/types/ui/units/auth/store/reducers/common.d.ts +6 -0
- package/types/ui/units/auth/store/reducers/index.d.ts +41 -0
- package/types/ui/units/auth/store/reducers/signin.d.ts +6 -0
- package/types/ui/units/auth/store/reducers/userInfoForm.d.ts +8 -0
- package/types/ui/units/auth/store/reducers/userProfile.d.ts +28 -0
- package/types/ui/units/auth/store/reducers/usersByIds.d.ts +3 -0
- package/types/ui/units/auth/store/selectors/common.d.ts +3 -0
- package/types/ui/units/auth/store/selectors/signin.d.ts +5 -0
- package/types/ui/units/auth/store/selectors/userInfoForm.d.ts +16 -0
- package/types/ui/units/auth/store/selectors/userProfile.d.ts +9 -0
- package/types/ui/units/auth/store/selectors/usersByIds.d.ts +14 -0
- package/types/ui/units/auth/store/typings/userInfoForm.d.ts +11 -0
- package/types/ui/units/auth/store/typings/usersByIds.d.ts +39 -0
- package/types/ui/units/auth/utils/fields.d.ts +1 -0
- package/types/ui/units/auth/utils/getUsersRoles.d.ts +1 -0
- package/types/ui/units/auth/utils/userProfile.d.ts +4 -0
- package/types/ui/units/auth/utils/validation.d.ts +39 -0
- package/types/ui/units/collections/components/CollectionActions/CollectionActions.d.ts +11 -0
- package/types/ui/units/collections/components/CollectionActions/components/SharedEntryNotice/SharedEntryNotice.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionActions/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionActions/utils.d.ts +23 -0
- package/types/ui/units/collections/components/CollectionBatchPanel/CollectionBatchPanel.d.ts +9 -0
- package/types/ui/units/collections/components/CollectionContent/CollectionContent.d.ts +31 -0
- package/types/ui/units/collections/components/CollectionContent/hooks/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContent/hooks/useActions.d.ts +8 -0
- package/types/ui/units/collections/components/CollectionContent/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContent/utils.d.ts +8 -0
- package/types/ui/units/collections/components/CollectionContentGrid/CollectionContentGrid.d.ts +12 -0
- package/types/ui/units/collections/components/CollectionContentGrid/CollectionItemIcon.d.ts +6 -0
- package/types/ui/units/collections/components/CollectionContentGrid/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContentTable/CollectionContentTable.d.ts +14 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionCheckboxCell.d.ts +10 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionLinkRow.d.ts +10 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionTitleCell.d.ts +6 -0
- package/types/ui/units/collections/components/CollectionContentTable/helpers.d.ts +7 -0
- package/types/ui/units/collections/components/CollectionContentTable/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionPage/CollectionPage.d.ts +2 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/index.d.ts +5 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useCreateWorkbookDialogHandlers.d.ts +2 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useData.d.ts +14 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useFilters.d.ts +11 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useLayout.d.ts +22 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useOpenCreateWorkbookDialog.d.ts +7 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useSelection.d.ts +28 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useViewMode.d.ts +12 -0
- package/types/ui/units/collections/components/CollectionPage/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionPage/utils.d.ts +9 -0
- package/types/ui/units/collections/components/constants.d.ts +111 -0
- package/types/ui/units/collections/components/helpers.d.ts +6 -0
- package/types/ui/units/collections/components/types.d.ts +7 -0
- package/types/ui/units/collections/hooks/useRefreshPageAfterImport.d.ts +9 -0
- package/types/ui/units/collections/store/actions/index.d.ts +125 -0
- package/types/ui/units/collections/store/constants/index.d.ts +16 -0
- package/types/ui/units/collections/store/reducers/index.d.ts +21 -0
- package/types/ui/units/collections/store/selectors/index.d.ts +82 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/CollectionBreadcrumbs.d.ts +14 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/index.d.ts +2 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/utils.d.ts +27 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/CollectionsNavigationApp.d.ts +1 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/index.d.ts +1 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/CollectionsNavigationLayout.d.ts +9 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/index.d.ts +1 -0
- package/types/ui/units/collections-navigation/constants/index.d.ts +2 -0
- package/types/ui/units/collections-navigation/contexts/LayoutContext.d.ts +31 -0
- package/types/ui/units/collections-navigation/store/actions/index.d.ts +91 -0
- package/types/ui/units/collections-navigation/store/constants/index.d.ts +5 -0
- package/types/ui/units/collections-navigation/store/reducers/index.d.ts +10 -0
- package/types/ui/units/collections-navigation/store/selectors/index.d.ts +80 -0
- package/types/ui/units/collections-navigation/utils/index.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/ConnectorForm.d.ts +7 -0
- package/types/ui/units/connections/components/ConnectorForm/ErrorActions/ErrorActions.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/CheckParamsButton/CheckParamsButton.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/FormActions.d.ts +35 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/SubmitButton/SubmitButton.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/selectors.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/utils.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/FormItem.d.ts +5 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/FormRow.d.ts +56 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/PreparedRowItem.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Checkbox/Checkbox.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Datepicker/Datepicker.d.ts +518 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Description/Description.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/components/FileInput/FileInput.d.ts +602 -0
- package/types/ui/units/connections/components/ConnectorForm/components/FileInput/utils.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Input/Input.d.ts +549 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/KeyValue.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/hooks.d.ts +24 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/types.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Label/Label.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/components/MarkdownItem/MarkdownItem.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/PlainText/PlainText.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/components/RadioButton/RadioButton.d.ts +487 -0
- package/types/ui/units/connections/components/ConnectorForm/components/RadioGroup/RadioGroup.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Select/Select.d.ts +550 -0
- package/types/ui/units/connections/components/ConnectorForm/components/index.d.ts +13 -0
- package/types/ui/units/connections/components/ConnectorForm/components/withControlWrap/withControlWrap.d.ts +64 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/CacheTtlRow/CacheTtlRow.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/CollapseRow/CollapseRow.d.ts +25 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/RawSQLLevelRow/RawSQLLevelRow.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/index.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/utils/index.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorsList/ConnectorsList.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorsList/ListItem.d.ts +43 -0
- package/types/ui/units/connections/components/ConnectorsList/utils/index.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorsList/utils/listItemRender.d.ts +2 -0
- package/types/ui/units/connections/components/ErrorView/ErrorView.d.ts +21 -0
- package/types/ui/units/connections/components/FormTitle/FormTitle.d.ts +11 -0
- package/types/ui/units/connections/components/Page/ConnPanelActions.d.ts +9 -0
- package/types/ui/units/connections/components/Page/Page.d.ts +2 -0
- package/types/ui/units/connections/components/Page/components/ConnSettings.d.ts +4 -0
- package/types/ui/units/connections/components/Page/components/CreateDatasetButton.d.ts +33 -0
- package/types/ui/units/connections/components/Page/components/CreateQlChartButton.d.ts +24 -0
- package/types/ui/units/connections/components/Page/components/DescriptionButton.d.ts +3 -0
- package/types/ui/units/connections/components/Page/components/S3BasedConnButton.d.ts +28 -0
- package/types/ui/units/connections/components/Page/components/UnloadConfirmation.d.ts +1 -0
- package/types/ui/units/connections/components/Page/components/index.d.ts +5 -0
- package/types/ui/units/connections/components/Page/constants.d.ts +2 -0
- package/types/ui/units/connections/components/Page/filterContextMenuItems.d.ts +9 -0
- package/types/ui/units/connections/components/Page/useAdditionalContextMenuItems.d.ts +11 -0
- package/types/ui/units/connections/components/Page/useApiErrors.d.ts +12 -0
- package/types/ui/units/connections/components/Page/utils.d.ts +11 -0
- package/types/ui/units/connections/components/Router/Router.d.ts +9 -0
- package/types/ui/units/connections/components/WrappedLoader/WrappedLoader.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ChOverYT.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ChoicePage.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ConnectorCard.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/Notification.d.ts +5 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/constants.d.ts +5 -0
- package/types/ui/units/connections/components/custom-forms/File/File.d.ts +32 -0
- package/types/ui/units/connections/components/custom-forms/File/components/AddFileButton.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/File/components/FilesList.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/FileItem.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/ListItem.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/SourceItem.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ReplaceSourceButton.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/ColumnFilter.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/FileSettings.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/TypeSelect.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/Workspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/File/components/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/context.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/File/types.d.ts +20 -0
- package/types/ui/units/connections/components/custom-forms/File/useHandlers.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/File/utils.d.ts +25 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/GSheetsV2.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AddSection.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/GAuthButton.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/index.d.ts +13 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceInfoView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceView.d.ts +12 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/UploadedGSheetView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/index.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/SheetsList.d.ts +16 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/EmptyWorkspace.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceInfoWorkspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceWorkspace.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetWorkspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/Workspace.d.ts +12 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/utils.d.ts +9 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/ActionBarContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/SheetsListContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/WorkspaceContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGSheetDialogs.d.ts +26 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGoogleAuth.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/utils.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/types.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/Yadocs.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/AdditionalTitleContent.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/DialogAddDocument/DialogAddDocument.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/DocsList.d.ts +14 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/Workspace.d.ts +16 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/UploadedYadocView.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceInfoView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceView.d.ts +13 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/index.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/index.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/ActionBarContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/DocsListContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/WorkspaceContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/useYadocsDialogs.d.ts +26 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/types.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ButtonLogout/ButtonLogout.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/components/ColumnFilter/ColumnFilter.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/ColumnsHeaderSwitcher/ColumnsHeaderSwitcher.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/DialogWithInput.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/index.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/types.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionDeleteView.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionErrorView.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionMoreView.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItem.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItemActions.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/types.d.ts +25 -0
- package/types/ui/units/connections/components/custom-forms/components/index.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/hooks/useFileSourceTableWidgetData.d.ts +18 -0
- package/types/ui/units/connections/components/custom-forms/index.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/utils/render.d.ts +12 -0
- package/types/ui/units/connections/components/dialogs/Confirm/Confirm.d.ts +2 -0
- package/types/ui/units/connections/components/dialogs/Confirm/index.d.ts +6 -0
- package/types/ui/units/connections/components/dialogs/Confirm/types.d.ts +10 -0
- package/types/ui/units/connections/components/dialogs/CreateConnection/CreateConnection.d.ts +9 -0
- package/types/ui/units/connections/components/dialogs/CreateConnectionInWbOrCollection/CreateConnectionInWbOrCollection.d.ts +11 -0
- package/types/ui/units/connections/components/dialogs/S3Source/DialogS3Source.d.ts +2 -0
- package/types/ui/units/connections/components/dialogs/S3Source/ListHeader.d.ts +10 -0
- package/types/ui/units/connections/components/dialogs/S3Source/ListItem.d.ts +9 -0
- package/types/ui/units/connections/components/dialogs/S3Source/index.d.ts +6 -0
- package/types/ui/units/connections/components/dialogs/S3Source/types.d.ts +12 -0
- package/types/ui/units/connections/components/dialogs/S3Source/utils.d.ts +13 -0
- package/types/ui/units/connections/components/dialogs/index.d.ts +4 -0
- package/types/ui/units/connections/components/hooks/index.d.ts +1 -0
- package/types/ui/units/connections/components/hooks/useCreationHandler/index.d.ts +10 -0
- package/types/ui/units/connections/components/index.d.ts +9 -0
- package/types/ui/units/connections/constants/form.d.ts +43 -0
- package/types/ui/units/connections/constants/index.d.ts +11 -0
- package/types/ui/units/connections/constants/validation.d.ts +6 -0
- package/types/ui/units/connections/index.d.ts +108 -0
- package/types/ui/units/connections/store/actions/api.d.ts +103 -0
- package/types/ui/units/connections/store/actions/base.d.ts +74 -0
- package/types/ui/units/connections/store/actions/file.d.ts +13 -0
- package/types/ui/units/connections/store/actions/gsheet/index.d.ts +14 -0
- package/types/ui/units/connections/store/actions/gsheet/misc-actions.d.ts +29 -0
- package/types/ui/units/connections/store/actions/gsheet/utils.d.ts +33 -0
- package/types/ui/units/connections/store/actions/index.d.ts +34 -0
- package/types/ui/units/connections/store/actions/s3-based.d.ts +9 -0
- package/types/ui/units/connections/store/actions/yadoc/index.d.ts +14 -0
- package/types/ui/units/connections/store/actions/yadoc/misc-actions.d.ts +29 -0
- package/types/ui/units/connections/store/actions/yadoc/utils.d.ts +29 -0
- package/types/ui/units/connections/store/constants.d.ts +2 -0
- package/types/ui/units/connections/store/index.d.ts +4 -0
- package/types/ui/units/connections/store/reducers/index.d.ts +3 -0
- package/types/ui/units/connections/store/selectors/connection-data.d.ts +7 -0
- package/types/ui/units/connections/store/selectors/form.d.ts +10 -0
- package/types/ui/units/connections/store/selectors/gsheet.d.ts +8 -0
- package/types/ui/units/connections/store/selectors/index.d.ts +26 -0
- package/types/ui/units/connections/store/selectors/initial-form.d.ts +3 -0
- package/types/ui/units/connections/store/selectors/inner-form.d.ts +4 -0
- package/types/ui/units/connections/store/selectors/yadocs.d.ts +7 -0
- package/types/ui/units/connections/store/typings/file.d.ts +34 -0
- package/types/ui/units/connections/store/typings/gsheet.d.ts +74 -0
- package/types/ui/units/connections/store/typings/index.d.ts +293 -0
- package/types/ui/units/connections/store/typings/s3-based.d.ts +15 -0
- package/types/ui/units/connections/store/typings/yadocs.d.ts +75 -0
- package/types/ui/units/connections/store/utils/connectors.d.ts +12 -0
- package/types/ui/units/connections/store/utils/entry.d.ts +2 -0
- package/types/ui/units/connections/store/utils/file.d.ts +6 -0
- package/types/ui/units/connections/store/utils/forms.d.ts +26 -0
- package/types/ui/units/connections/store/utils/index.d.ts +5 -0
- package/types/ui/units/connections/store/utils/validation.d.ts +11 -0
- package/types/ui/units/connections/typings/common.d.ts +1 -0
- package/types/ui/units/connections/typings/form.d.ts +7 -0
- package/types/ui/units/connections/typings/index.d.ts +2 -0
- package/types/ui/units/connections/utils/common.d.ts +4 -0
- package/types/ui/units/connections/utils/connectors.d.ts +10 -0
- package/types/ui/units/connections/utils/entry.d.ts +4 -0
- package/types/ui/units/connections/utils/gsheet.d.ts +9 -0
- package/types/ui/units/connections/utils/i18n.d.ts +2 -0
- package/types/ui/units/connections/utils/index.d.ts +7 -0
- package/types/ui/units/connections/utils/validation.d.ts +4 -0
- package/types/ui/units/connections/utils/yadocs.d.ts +9 -0
- package/types/ui/units/dash/components/DashActionPanel/DashActionPanel.d.ts +118 -0
- package/types/ui/units/dash/components/DashActionPanel/DashActionPanelMobile.d.ts +10 -0
- package/types/ui/units/dash/components/DashActionPanel/Description/Description.d.ts +8 -0
- package/types/ui/units/dash/components/DashActionPanel/EditControls/EditControls.d.ts +25 -0
- package/types/ui/units/dash/components/DashActionPanel/SaveDropDown/SaveDropDown.d.ts +8 -0
- package/types/ui/units/dash/components/DashActionPanel/ViewControls/ViewControls.d.ts +14 -0
- package/types/ui/units/dash/components/DashActionPanel/helpers.d.ts +9 -0
- package/types/ui/units/dash/components/EmptyState/EmptyState.d.ts +12 -0
- package/types/ui/units/dash/components/GlobalSelectorIcon/GlobalSelectorIcon.d.ts +9 -0
- package/types/ui/units/dash/components/Loader/Loader.d.ts +8 -0
- package/types/ui/units/dash/components/NavigationInput/InputLink/InputLink.d.ts +29 -0
- package/types/ui/units/dash/components/NavigationInput/NavigationInput.d.ts +41 -0
- package/types/ui/units/dash/components/ParamsSettings/ParamsRow.d.ts +15 -0
- package/types/ui/units/dash/components/ParamsSettings/ParamsSettings.d.ts +2 -0
- package/types/ui/units/dash/components/ParamsSettings/helpers.d.ts +8 -0
- package/types/ui/units/dash/components/ParamsSettings/types.d.ts +15 -0
- package/types/ui/units/dash/components/ShareButton/ShareButton.d.ts +15 -0
- package/types/ui/units/dash/containers/App/App.d.ts +2 -0
- package/types/ui/units/dash/containers/Body/Body.d.ts +25 -0
- package/types/ui/units/dash/containers/Body/LazyBody.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/Content/Content.d.ts +49 -0
- package/types/ui/units/dash/containers/Body/components/Content/hooks/useCopiedData.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/DashkitWrapper.d.ts +37 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useConfig.d.ts +2 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashKitContext.d.ts +14 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashkitRef.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDataProviderContext.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useHashStates.d.ts +11 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/getGearGlobalIcon.d.ts +9 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/helpers.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/useOverlay.d.ts +23 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/usePreparedCopyItemOptions.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/context.d.ts +20 -0
- package/types/ui/units/dash/containers/Dash/Dash.d.ts +146 -0
- package/types/ui/units/dash/containers/DashError/DashError.d.ts +5 -0
- package/types/ui/units/dash/containers/DashHotkes/DashHotkeys.d.ts +10 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/DialogEditQuery.d.ts +5 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryEditor/QueryEditor.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryError/QueryError.d.ts +6 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/helpers/validate-query.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Dialogs.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/Settings.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/AutoRefresh.d.ts +13 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Display.d.ts +14 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/LoadPriority.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/MaxConnection.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/OtherSettings.d.ts +20 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Params.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Row.d.ts +6 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Title.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/utils.d.ts +1 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/EditedTabItem.d.ts +8 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/PopupWidgetsOrder.d.ts +15 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/helpers.d.ts +91 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/TabItem.d.ts +75 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/Tabs.d.ts +51 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorInputsGroup/ColorInputsGroup.d.ts +15 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorItem/ColorItem.d.ts +10 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorPalette.d.ts +13 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPicker/ColorPicker.d.ts +12 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPickerInputWithPreset/ColorPickerInputWithPreset.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/components/PaletteBackground/PaletteBackground.d.ts +16 -0
- package/types/ui/units/dash/containers/Dialogs/components/PaletteText/PaletteText.d.ts +14 -0
- package/types/ui/units/dash/containers/Dialogs/constants.d.ts +23 -0
- package/types/ui/units/dash/containers/Dialogs/utils.d.ts +2 -0
- package/types/ui/units/dash/containers/FixedHeader/FixedHeader.d.ts +27 -0
- package/types/ui/units/dash/containers/FixedHeader/FixedHeaderMobile.d.ts +7 -0
- package/types/ui/units/dash/containers/Header/Header.d.ts +53 -0
- package/types/ui/units/dash/containers/MobileFloatMenu/MobileFloatMenu.d.ts +15 -0
- package/types/ui/units/dash/containers/TableOfContent/TableOfContent.d.ts +6 -0
- package/types/ui/units/dash/containers/TableOfContent/helpers.d.ts +5 -0
- package/types/ui/units/dash/containers/Tabs/Tabs.d.ts +32 -0
- package/types/ui/units/dash/hooks/useIframeFeatures.d.ts +7 -0
- package/types/ui/units/dash/modules/constants.d.ts +70 -0
- package/types/ui/units/dash/modules/helpers.d.ts +199 -0
- package/types/ui/units/dash/modules/markdownProvider.d.ts +11 -0
- package/types/ui/units/dash/modules/postMessage.d.ts +16 -0
- package/types/ui/units/dash/modules/pushStats.d.ts +4 -0
- package/types/ui/units/dash/store/actions/base/actions.d.ts +28 -0
- package/types/ui/units/dash/store/actions/base/helpers.d.ts +7 -0
- package/types/ui/units/dash/store/actions/dash.d.ts +2 -0
- package/types/ui/units/dash/store/actions/dashTyped.d.ts +337 -0
- package/types/ui/units/dash/store/actions/dialogs/actions.d.ts +35 -0
- package/types/ui/units/dash/store/actions/dialogs/dialog-edit-query.d.ts +2 -0
- package/types/ui/units/dash/store/actions/helpers.d.ts +60 -0
- package/types/ui/units/dash/store/actions/index.d.ts +10 -0
- package/types/ui/units/dash/store/actions/relations/actions.d.ts +12 -0
- package/types/ui/units/dash/store/constants/dashActionTypes.d.ts +5 -0
- package/types/ui/units/dash/store/constants/index.d.ts +2 -0
- package/types/ui/units/dash/store/reducers/dash.d.ts +61 -0
- package/types/ui/units/dash/store/reducers/dashHelpers.d.ts +48 -0
- package/types/ui/units/dash/store/reducers/dashTypedReducer.d.ts +48 -0
- package/types/ui/units/dash/store/selectors/dash.d.ts +0 -0
- package/types/ui/units/dash/store/selectors/dashTypedSelectors.d.ts +232 -0
- package/types/ui/units/dash/store/typings/dash.d.ts +43 -0
- package/types/ui/units/dash/store/utils.d.ts +28 -0
- package/types/ui/units/dash/typings/context.d.ts +16 -0
- package/types/ui/units/dash/typings/dash.d.ts +20 -0
- package/types/ui/units/dash/typings/entry.d.ts +3 -0
- package/types/ui/units/dash/utils/context.d.ts +3 -0
- package/types/ui/units/dash/utils/customEvents.d.ts +1 -0
- package/types/ui/units/dash/utils/dashkitProps.d.ts +3 -0
- package/types/ui/units/dash/utils/getTabId.d.ts +2 -0
- package/types/ui/units/dash/utils/scrollUtils.d.ts +1 -0
- package/types/ui/units/dash/utils/selectors.d.ts +35 -0
- package/types/ui/units/dash/utils/url.d.ts +6 -0
- package/types/ui/units/datasets/components/Avatar/Avatar.d.ts +29 -0
- package/types/ui/units/datasets/components/ColorsDialog/ColorsDialog.d.ts +15 -0
- package/types/ui/units/datasets/components/ContainerLoader/ContainerLoader.d.ts +23 -0
- package/types/ui/units/datasets/components/DatasetPanel/DatasetPanel.d.ts +51 -0
- package/types/ui/units/datasets/components/DatasetPanel/helpers.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetRouter/DatasetRouter.d.ts +406 -0
- package/types/ui/units/datasets/components/DatasetRouter/UnloadConfirmation.d.ts +1 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/DatasetTabFieldList.d.ts +15 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/FieldRow/FieldRow.d.ts +14 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/TitleColumn/TitleColumn.d.ts +7 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/TypeColumn/TypeColumn.d.ts +7 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValidationColumn/ValidationColumn.d.ts +4 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValueColumn/ValueColumn.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/constants.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/helpers.d.ts +4 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/types.d.ts +76 -0
- package/types/ui/units/datasets/components/DatasetTabSection/DatasetTabSection.d.ts +22 -0
- package/types/ui/units/datasets/components/DatasetTable/DatasetTable.d.ts +81 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Aggregation.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Cast.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Description.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/FieldSettings.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Hidden.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Id.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/IndexColumn.d.ts +12 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/More.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Rls.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Source.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Title.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/index.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/components/AggregationSelect/AggregationSelect.d.ts +44 -0
- package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/BatchActionPanel.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/components/DialogChangeDatasetFields/DialogChangeDatasetFields.d.ts +21 -0
- package/types/ui/units/datasets/components/DatasetTable/components/DisplaySettings.d.ts +2 -0
- package/types/ui/units/datasets/components/DatasetTable/components/FieldActionsPopup.d.ts +14 -0
- package/types/ui/units/datasets/components/DatasetTable/components/ObservedDataTable.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/components/TableTextInput.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/components/TypeSelect/TypeSelect.d.ts +30 -0
- package/types/ui/units/datasets/components/DatasetTable/components/index.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetTable/constants.d.ts +21 -0
- package/types/ui/units/datasets/components/DatasetTable/types.d.ts +23 -0
- package/types/ui/units/datasets/components/DatasetTable/utils.d.ts +44 -0
- package/types/ui/units/datasets/components/DescriptionButton/DescriptionButton.d.ts +3 -0
- package/types/ui/units/datasets/components/DialogCreateDataset/DialogCreateDataset.d.ts +20 -0
- package/types/ui/units/datasets/components/DragAndDrop/DragAndDrop.d.ts +6 -0
- package/types/ui/units/datasets/components/ErrorView/ErrorView.d.ts +12 -0
- package/types/ui/units/datasets/components/FieldSettingsDialog/FieldSettingsDialog.d.ts +13 -0
- package/types/ui/units/datasets/components/FilterSection/FilterSection.d.ts +18 -0
- package/types/ui/units/datasets/components/FilterSection/helpers.d.ts +10 -0
- package/types/ui/units/datasets/components/FilterSection/types.d.ts +3 -0
- package/types/ui/units/datasets/components/FilterSection/useFilterSection.d.ts +24 -0
- package/types/ui/units/datasets/components/ParametersSection/ParametersSection.d.ts +10 -0
- package/types/ui/units/datasets/components/ParametersSection/components/CopyToClipboard/CopyToClipboardMenuItem.d.ts +2 -0
- package/types/ui/units/datasets/components/ParametersSection/components/HeaderWithTooltip/HeaderWithTooltip.d.ts +1 -0
- package/types/ui/units/datasets/components/ParametersSection/helpers.d.ts +5 -0
- package/types/ui/units/datasets/components/ParametersSection/useParametersSection.d.ts +12 -0
- package/types/ui/units/datasets/components/PreviewHeader/PreviewHeader.d.ts +24 -0
- package/types/ui/units/datasets/components/PreviewHeader/constants.d.ts +1 -0
- package/types/ui/units/datasets/components/PreviewHeader/utils.d.ts +1 -0
- package/types/ui/units/datasets/components/PreviewTable/PreviewTable.d.ts +35 -0
- package/types/ui/units/datasets/components/RLSDialog/RLSDialog.d.ts +51 -0
- package/types/ui/units/datasets/components/RelationDialog/RelationDialog.d.ts +69 -0
- package/types/ui/units/datasets/components/RelationsMap/RelationsMap.d.ts +5 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/SelectSourcePrototypes.d.ts +63 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/SourcesTable.d.ts +21 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/constants.d.ts +3 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/utils.d.ts +2 -0
- package/types/ui/units/datasets/components/Source/Source.d.ts +27 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/SourceEditorDialog.d.ts +32 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/EditorFormItem.d.ts +12 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/Form.d.ts +14 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/InputFormItem.d.ts +13 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/ParamSelector.d.ts +17 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SelectFormItem.d.ts +10 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceError.d.ts +9 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceHelpTooltip.d.ts +7 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceSwitcher.d.ts +10 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/index.d.ts +5 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/types.d.ts +8 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/helpers.d.ts +19 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/index.d.ts +2 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/validation.d.ts +7 -0
- package/types/ui/units/datasets/components/UserName/UserName.d.ts +9 -0
- package/types/ui/units/datasets/components/Veil/Veil.d.ts +10 -0
- package/types/ui/units/datasets/components/dialogs/DatasetFieldInspector/DatasetFieldInspector.d.ts +10 -0
- package/types/ui/units/datasets/components/dialogs/index.d.ts +1 -0
- package/types/ui/units/datasets/components/hoc/AvatarDnD.d.ts +12 -0
- package/types/ui/units/datasets/constants/datasets.d.ts +22 -0
- package/types/ui/units/datasets/constants/index.d.ts +138 -0
- package/types/ui/units/datasets/containers/Dataset/ActionPanelRightItems.d.ts +9 -0
- package/types/ui/units/datasets/containers/Dataset/Dataset.d.ts +475 -0
- package/types/ui/units/datasets/containers/Dataset/constants.d.ts +1 -0
- package/types/ui/units/datasets/containers/Dataset/getAdditionalContextMenuItems.d.ts +18 -0
- package/types/ui/units/datasets/containers/Dataset/useHistoryActions.d.ts +1 -0
- package/types/ui/units/datasets/containers/DatasetEditor/DatasetEditor.d.ts +101 -0
- package/types/ui/units/datasets/containers/DatasetEditor/utils.d.ts +9 -0
- package/types/ui/units/datasets/containers/DatasetError/DatasetError.d.ts +41 -0
- package/types/ui/units/datasets/containers/DatasetFilters/DatasetFilters.d.ts +6 -0
- package/types/ui/units/datasets/containers/DatasetPage/DatasetPage.d.ts +27 -0
- package/types/ui/units/datasets/containers/DatasetPage/createDatasetPageContext.d.ts +7 -0
- package/types/ui/units/datasets/containers/DatasetParameters/DatasetParameters.d.ts +5 -0
- package/types/ui/units/datasets/containers/DatasetPreview/DatasetPreview.d.ts +3 -0
- package/types/ui/units/datasets/containers/DatasetSources/DatasetSources.d.ts +546 -0
- package/types/ui/units/datasets/containers/DatasetTabViewer/DatasetTabViewer.d.ts +15 -0
- package/types/ui/units/datasets/helpers/dataset-error-helpers.d.ts +8 -0
- package/types/ui/units/datasets/helpers/datasets.d.ts +5 -0
- package/types/ui/units/datasets/helpers/utils.d.ts +52 -0
- package/types/ui/units/datasets/helpers/validation.d.ts +10 -0
- package/types/ui/units/datasets/store/actions/creators/datasetTyped.d.ts +215 -0
- package/types/ui/units/datasets/store/actions/creators/dialogs.d.ts +11 -0
- package/types/ui/units/datasets/store/actions/creators/index.d.ts +2 -0
- package/types/ui/units/datasets/store/actions/creators/utils.d.ts +9 -0
- package/types/ui/units/datasets/store/actions/types/dataset.d.ts +83 -0
- package/types/ui/units/datasets/store/constants.d.ts +11 -0
- package/types/ui/units/datasets/store/edit-history-middleware.d.ts +2 -0
- package/types/ui/units/datasets/store/reducers/dataset.d.ts +1544 -0
- package/types/ui/units/datasets/store/reducers/index.d.ts +1544 -0
- package/types/ui/units/datasets/store/reducers/utils/index.d.ts +8 -0
- package/types/ui/units/datasets/store/reducers/utils/mocks.d.ts +2 -0
- package/types/ui/units/datasets/store/selectors/dataset.d.ts +240 -0
- package/types/ui/units/datasets/store/selectors/datasetTyped.d.ts +3 -0
- package/types/ui/units/datasets/store/selectors/index.d.ts +2 -0
- package/types/ui/units/datasets/store/types/dataset.d.ts +681 -0
- package/types/ui/units/datasets/store/types/index.d.ts +1 -0
- package/types/ui/units/datasets/typings/dataset.d.ts +20 -0
- package/types/ui/units/datasets/typings/redux.d.ts +20 -0
- package/types/ui/units/preview/components/App/App.d.ts +24 -0
- package/types/ui/units/preview/components/IndexPage/IndexPage.d.ts +2 -0
- package/types/ui/units/preview/components/Preview/Preview.d.ts +14 -0
- package/types/ui/units/preview/hooks/useChartAutoupdate.d.ts +4 -0
- package/types/ui/units/preview/modules/constants/constants.d.ts +2 -0
- package/types/ui/units/preview/modules/helpers.d.ts +1 -0
- package/types/ui/units/ql/components/DND/DNDContainer.d.ts +33 -0
- package/types/ui/units/ql/components/DND/DNDItem.d.ts +2 -0
- package/types/ui/units/ql/components/DND/DNDLayer.d.ts +61 -0
- package/types/ui/units/ql/components/Dialogs/Settings/Settings.d.ts +67 -0
- package/types/ui/units/ql/components/Grid/Grid.d.ts +26 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPane.d.ts +11 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneView.d.ts +36 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneViewContent.d.ts +16 -0
- package/types/ui/units/ql/configs/chart-types.d.ts +10 -0
- package/types/ui/units/ql/constants/index.d.ts +47 -0
- package/types/ui/units/ql/containers/App/App.d.ts +302 -0
- package/types/ui/units/ql/containers/PaneMain/PaneMain.d.ts +13 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/ScreenEditor.d.ts +9 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/DefaultValue.d.ts +25 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/OverridenValue.d.ts +7 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/TabParams.d.ts +6 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/utils.d.ts +8 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenPromQL/ScreenPromQL.d.ts +13 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenSQL/ScreenSQL.d.ts +9 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/TabQuery.d.ts +11 -0
- package/types/ui/units/ql/containers/PanePreview/PanePreview.d.ts +12 -0
- package/types/ui/units/ql/containers/PaneTablePreview/PaneTablePreview.d.ts +12 -0
- package/types/ui/units/ql/containers/PaneVisualization/PaneVisualization.d.ts +7 -0
- package/types/ui/units/ql/containers/QL/QL.d.ts +12 -0
- package/types/ui/units/ql/containers/QL/QLActionPanel/QLActionPanel.d.ts +15 -0
- package/types/ui/units/ql/containers/QL/QLActionPanel/useQLActionPanel.d.ts +6 -0
- package/types/ui/units/ql/containers/QL/ViewSetup/ViewSetup.d.ts +3 -0
- package/types/ui/units/ql/modules/helpers.d.ts +4 -0
- package/types/ui/units/ql/store/actions/dialog.d.ts +13 -0
- package/types/ui/units/ql/store/actions/ql.d.ts +284 -0
- package/types/ui/units/ql/store/reducers/index.d.ts +219 -0
- package/types/ui/units/ql/store/reducers/ql.d.ts +873 -0
- package/types/ui/units/ql/store/typings/index.d.ts +1 -0
- package/types/ui/units/ql/store/typings/ql.d.ts +289 -0
- package/types/ui/units/ql/store/utils/grid.d.ts +81 -0
- package/types/ui/units/ql/store/utils/monitoring.d.ts +572 -0
- package/types/ui/units/ql/utils/chart-settings.d.ts +3 -0
- package/types/ui/units/ql/utils/connectionts.d.ts +2 -0
- package/types/ui/units/ql/utils/query.d.ts +3 -0
- package/types/ui/units/ql/utils/visualization/getAvailableQlVisualizations.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/getDefaultQlVisualization.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/getQlVisualization.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/index.d.ts +3 -0
- package/types/ui/units/service-settings/components/AppearanceSettings/AppearanceSettings.d.ts +7 -0
- package/types/ui/units/service-settings/components/CreateUserForm/CreateUserForm.d.ts +1 -0
- package/types/ui/units/service-settings/components/SectionGroup/SectionGroup.d.ts +7 -0
- package/types/ui/units/service-settings/components/UsersList/LabelsList/LabelsList.d.ts +9 -0
- package/types/ui/units/service-settings/components/UsersList/UsersFilters/UsersFilters.d.ts +5 -0
- package/types/ui/units/service-settings/components/UsersList/UsersList.d.ts +2 -0
- package/types/ui/units/service-settings/components/UsersList/constants.d.ts +7 -0
- package/types/ui/units/service-settings/components/UsersList/utils.d.ts +3 -0
- package/types/ui/units/service-settings/containers/AccessErrorPage/AccessErrorPage.d.ts +2 -0
- package/types/ui/units/service-settings/containers/App/App.d.ts +7 -0
- package/types/ui/units/service-settings/containers/CreateProfilePage/CreateProfilePage.d.ts +2 -0
- package/types/ui/units/service-settings/containers/MainPage/MainPage.d.ts +18 -0
- package/types/ui/units/service-settings/containers/UserProfilePage/UserProfilePage.d.ts +2 -0
- package/types/ui/units/service-settings/store/actions/serviceSettings.d.ts +64 -0
- package/types/ui/units/service-settings/store/constants/serviceSettings.d.ts +10 -0
- package/types/ui/units/service-settings/store/reducers/serviceSettings.d.ts +34 -0
- package/types/ui/units/service-settings/store/selectors/serviceSettings.d.ts +10 -0
- package/types/ui/units/service-settings/store/typings/serviceSettings.d.ts +17 -0
- package/types/ui/units/wizard/actions/dataset.d.ts +106 -0
- package/types/ui/units/wizard/actions/dialog.d.ts +70 -0
- package/types/ui/units/wizard/actions/dialogColor.d.ts +58 -0
- package/types/ui/units/wizard/actions/dndItems.d.ts +68 -0
- package/types/ui/units/wizard/actions/hierarchyEditor.d.ts +14 -0
- package/types/ui/units/wizard/actions/index.d.ts +714 -0
- package/types/ui/units/wizard/actions/placeholder.d.ts +31 -0
- package/types/ui/units/wizard/actions/preview.d.ts +88 -0
- package/types/ui/units/wizard/actions/settings.d.ts +36 -0
- package/types/ui/units/wizard/actions/tooltip.d.ts +7 -0
- package/types/ui/units/wizard/actions/utils/getDatasetUpdates.d.ts +25 -0
- package/types/ui/units/wizard/actions/utils/index.d.ts +3 -0
- package/types/ui/units/wizard/actions/utils/mutateAndValidateItem.d.ts +6 -0
- package/types/ui/units/wizard/actions/utils/placeholders.d.ts +2 -0
- package/types/ui/units/wizard/actions/visualization.d.ts +199 -0
- package/types/ui/units/wizard/actions/widget.d.ts +60 -0
- package/types/ui/units/wizard/components/AddField/AddField.d.ts +22 -0
- package/types/ui/units/wizard/components/DND/DNDContainer.d.ts +33 -0
- package/types/ui/units/wizard/components/DND/DNDItem.d.ts +32 -0
- package/types/ui/units/wizard/components/DND/DragAndDrop.d.ts +6 -0
- package/types/ui/units/wizard/components/DatasetSelect/DatasetSelect.d.ts +31 -0
- package/types/ui/units/wizard/components/DatasetSelect/DatasetSelectItem.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/ColorSettingsContainer/ColorSettingsContainer.d.ts +55 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColor.d.ts +249 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorGradient/DialogColorGradient.d.ts +38 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorPalette/DialogColorPalette.d.ts +35 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/DialogColumnSettings.d.ts +28 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSetting/ColumnWidthSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSettingsSection/ColumnWidthSettingsSection.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/FieldInfo/FieldInfo.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/Subheader/Subheader.d.ts +6 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/hooks/useDialogColumnSettingsState.d.ts +28 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/utils/index.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/DialogField.d.ts +44 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/BackgroundSettings.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/helpers.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgrounColorFieldSelect.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundColorModeRadioButtons.d.ts +20 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundNullModeSettings.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettings.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsButtonColorDialog.d.ts +24 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsSwitch.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/BarsSettings.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/ColorControls/ColorsControl.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/GradientColorControl/GradientColorControl.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/MinMaxInputs/MinMaxInputs.d.ts +19 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/PaletteColorControl/PaletteColorControl.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/helpers.d.ts +4 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/useBarsSettings.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/ButtonColorDialog/ButtonColorDialog.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldInput/DialogFieldInput.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldMainSection/DialogFieldMainSection.d.ts +46 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldRow/DialogFieldRow.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSelect/DialogFieldSelect.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSettingTitle/DialogFieldSettingTitle.d.ts +6 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/SubTotalsSettings/SubTotalsSettings.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/backgroundSettings.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/barsSettings.d.ts +2 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/misc.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/subTotals.d.ts +4 -0
- package/types/ui/units/wizard/components/Dialogs/DialogFieldInspector/DialogFieldInspector.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/DialogGeolayer/DialogGeolayer.d.ts +63 -0
- package/types/ui/units/wizard/components/Dialogs/DialogLabelSettings/DialogLabelSettings.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/DialogLink.d.ts +67 -0
- package/types/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogMultidataset.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogNoRights.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/DialogPlaceholder.d.ts +19 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/components/DialogPlaceholderRow/DialogPlaceholderRow.d.ts +5 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/constants/radio-buttons.d.ts +15 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/utils.d.ts +2 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPointsSize.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapes.d.ts +27 -0
- package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapesPalette/DialogShapesPalette.d.ts +21 -0
- package/types/ui/units/wizard/components/Dialogs/DialogTooltipSettings/DialogTooltipSettings.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/CenterSetting/CenterSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/IndicatorTitleSetting/IndicatorTitleSetting.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/LimitInput/LimitInput.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingFeed/SettingFeed.d.ts +7 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/NavigatorSubSettings/NavigatorSubSettings.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/SettingNavigator.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingPagination/SettingPagination.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingSwitcher/SettingSwitcher.d.ts +22 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingTitleMode/SettingTitleMode.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/Settings.d.ts +24 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/ZoomSetting/ZoomSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/components/DialogRadioButtons/DialogRadioButtons.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/components/DialogRow/DialogRow.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/components/TitleWithTooltip/TitleWithTooltip.d.ts +7 -0
- package/types/ui/units/wizard/components/GeolayersSelect/GeolayersSelect.d.ts +37 -0
- package/types/ui/units/wizard/components/GradientPalettePreview/GradientPalettePreview.d.ts +6 -0
- package/types/ui/units/wizard/components/HierarchyEditor/HierarchyEditor.d.ts +25 -0
- package/types/ui/units/wizard/components/MinifiedPalette/MinifiedPalette.d.ts +17 -0
- package/types/ui/units/wizard/components/Palette/Palette.d.ts +18 -0
- package/types/ui/units/wizard/components/PlaceholderActionIcon/PlaceholderActionIcon.d.ts +17 -0
- package/types/ui/units/wizard/components/SearchInput/SearchInput.d.ts +10 -0
- package/types/ui/units/wizard/components/ValuesList/ValuesList.d.ts +62 -0
- package/types/ui/units/wizard/components/VisualizationItemTitleWithAggregation/VisualizationItemTitleWithAggregation.d.ts +7 -0
- package/types/ui/units/wizard/constants/aggregations.d.ts +12 -0
- package/types/ui/units/wizard/constants/dialogColor.d.ts +30 -0
- package/types/ui/units/wizard/constants/formats.d.ts +11 -0
- package/types/ui/units/wizard/constants/grouping.d.ts +3 -0
- package/types/ui/units/wizard/constants/index.d.ts +9 -0
- package/types/ui/units/wizard/constants/paletteTypes.d.ts +5 -0
- package/types/ui/units/wizard/constants/placeholders.d.ts +2 -0
- package/types/ui/units/wizard/containers/App.d.ts +109 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/DatasetItem/DatasetItem.d.ts +80 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/FieldsContainer.d.ts +9 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/ParametersContainer/ParametersContainer.d.ts +5 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/components/SectionContainer/SectionContainer.d.ts +10 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/HierarchyEditor/HierarchyEditor.d.ts +261 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/SectionDataset.d.ts +336 -0
- package/types/ui/units/wizard/containers/Wizard/SectionPreview/SectionPreview.d.ts +57 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/AddField/AddField.d.ts +28 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/AvailablePlaceholder/AvailablePlaceholder.d.ts +32 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ColorsPlaceholder/ColorsPlaceholder.d.ts +47 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardFiltersPlaceholder/DashboardFiltersPlaceholder.d.ts +56 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardParametersPlaceholder/DashboardParametersPlaceholder.d.ts +51 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/FiltersPlaceholder/FiltersPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LabelsPlaceholder/LabelsPlaceholder.d.ts +50 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LayerFiltersPlaceholder/LayerFiltersPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/Placeholder/Placeholder.d.ts +478 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/PlaceholdersContainer.d.ts +58 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SegmentsPlaceholder/SegmentsPlaceholder.d.ts +34 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ShapesPlaceholder/ShapesPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SortPlaceholder/SortPlaceholder.d.ts +408 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/TooltipsPlaceholder/TooltipsPlaceholder.d.ts +38 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/VisualizationPlaceholder.d.ts +462 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/constants.d.ts +2 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/utils.d.ts +186 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/SectionVisualization.d.ts +381 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationItem/VisualizationItem.d.ts +82 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/CombinedChartLayerTypeSwitcher.d.ts +4 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/VisualizationLayersControl.d.ts +31 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationSelector/VisualizationSelector.d.ts +45 -0
- package/types/ui/units/wizard/containers/Wizard/Wizard.d.ts +8 -0
- package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/WizardActionPanel.d.ts +20 -0
- package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/useWizardActionPanel.d.ts +11 -0
- package/types/ui/units/wizard/reducers/dataset.d.ts +19 -0
- package/types/ui/units/wizard/reducers/dialogColor.d.ts +6 -0
- package/types/ui/units/wizard/reducers/hierarchyEditor.d.ts +8 -0
- package/types/ui/units/wizard/reducers/index.d.ts +31 -0
- package/types/ui/units/wizard/reducers/preview.d.ts +38 -0
- package/types/ui/units/wizard/reducers/revisions/reducers.d.ts +8 -0
- package/types/ui/units/wizard/reducers/settings.d.ts +10 -0
- package/types/ui/units/wizard/reducers/utils/checkTableColor.d.ts +2 -0
- package/types/ui/units/wizard/reducers/utils/clearUnusedVisualizationItems.d.ts +21 -0
- package/types/ui/units/wizard/reducers/utils/getConfigData.d.ts +3 -0
- package/types/ui/units/wizard/reducers/utils/getPlaceholdersWithMergedSettings.d.ts +14 -0
- package/types/ui/units/wizard/reducers/utils/index.d.ts +2 -0
- package/types/ui/units/wizard/reducers/utils/updateColorHierarchies.d.ts +189 -0
- package/types/ui/units/wizard/reducers/visualization.d.ts +26 -0
- package/types/ui/units/wizard/reducers/widget.d.ts +12 -0
- package/types/ui/units/wizard/selectors/dataset.d.ts +41 -0
- package/types/ui/units/wizard/selectors/dialogColor.d.ts +10 -0
- package/types/ui/units/wizard/selectors/gradient.d.ts +3 -0
- package/types/ui/units/wizard/selectors/index.d.ts +11 -0
- package/types/ui/units/wizard/selectors/preview.d.ts +40 -0
- package/types/ui/units/wizard/selectors/settings.d.ts +15 -0
- package/types/ui/units/wizard/selectors/visualization.d.ts +705 -0
- package/types/ui/units/wizard/selectors/widget.d.ts +9 -0
- package/types/ui/units/wizard/typings/index.d.ts +1 -0
- package/types/ui/units/wizard/typings/wizard.d.ts +33 -0
- package/types/ui/units/wizard/utils/colors.d.ts +2 -0
- package/types/ui/units/wizard/utils/filters.d.ts +7 -0
- package/types/ui/units/wizard/utils/helpers.d.ts +224 -0
- package/types/ui/units/wizard/utils/mappers/mapChartsToClientConfig.d.ts +4 -0
- package/types/ui/units/wizard/utils/mappers/mapClientToChartsConfig.d.ts +4 -0
- package/types/ui/units/wizard/utils/palette.d.ts +5 -0
- package/types/ui/units/wizard/utils/placeholder.d.ts +21 -0
- package/types/ui/units/wizard/utils/shapes.d.ts +2 -0
- package/types/ui/units/wizard/utils/table.d.ts +2 -0
- package/types/ui/units/wizard/utils/visualization.d.ts +232 -0
- package/types/ui/units/wizard/utils/wizard.d.ts +150 -0
- package/types/ui/units/workbooks/components/CreateEntry/CreateEntry.d.ts +13 -0
- package/types/ui/units/workbooks/components/CreateEntry/utils.d.ts +13 -0
- package/types/ui/units/workbooks/components/CreateEntryDialog/CreateEntryDialog.d.ts +2 -0
- package/types/ui/units/workbooks/components/CreateEntryDialog/utils.d.ts +3 -0
- package/types/ui/units/workbooks/components/DeleteEntryDialog/DeleteEntryDialog.d.ts +11 -0
- package/types/ui/units/workbooks/components/DuplicateEntryDialog/DuplicateEntryDialog.d.ts +13 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbook.d.ts +11 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbookContainer.d.ts +5 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/utils.d.ts +5 -0
- package/types/ui/units/workbooks/components/EntryActions/EntryActions.d.ts +15 -0
- package/types/ui/units/workbooks/components/EntryActions/utils.d.ts +2 -0
- package/types/ui/units/workbooks/components/RenameEntryDialog/RenameEntryDialog.d.ts +11 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/ChunkGroup/ChunkGroup.d.ts +7 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/MainTabContent/MainTabContent.d.ts +20 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/Row/Row.d.ts +20 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTable.d.ts +27 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTableTabs.d.ts +29 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/constants.d.ts +8 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/types.d.ts +13 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/utils.d.ts +3 -0
- package/types/ui/units/workbooks/components/WorkbookActions/WorkbookActions.d.ts +8 -0
- package/types/ui/units/workbooks/components/WorkbookActions/utils.d.ts +2 -0
- package/types/ui/units/workbooks/components/WorkbookFilters/WorkbookFilters.d.ts +8 -0
- package/types/ui/units/workbooks/components/WorkbookMainTabContent/WorkbookMainTabContent.d.ts +10 -0
- package/types/ui/units/workbooks/components/WorkbookMainTabContent/useChunkedEntries.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookPage/WorkbookPage.d.ts +1 -0
- package/types/ui/units/workbooks/components/WorkbookPage/hooks/useLayout.d.ts +6 -0
- package/types/ui/units/workbooks/components/WorkbookTabContent/WorkbookTabContent.d.ts +12 -0
- package/types/ui/units/workbooks/components/WorkbookTabContent/useChunkedEntries.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/WorkbookTabs.d.ts +6 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/constants.d.ts +1 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/types.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/utils.d.ts +3 -0
- package/types/ui/units/workbooks/constants/index.d.ts +10 -0
- package/types/ui/units/workbooks/store/actions/index.d.ts +246 -0
- package/types/ui/units/workbooks/store/constants/index.d.ts +39 -0
- package/types/ui/units/workbooks/store/reducers/index.d.ts +230 -0
- package/types/ui/units/workbooks/store/reducers/workbook-page.d.ts +278 -0
- package/types/ui/units/workbooks/store/selectors/index.d.ts +242 -0
- package/types/ui/units/workbooks/types/index.d.ts +25 -0
- package/types/ui/units/workbooks/utils/entry.d.ts +2 -0
- package/types/ui/utils/absurd.d.ts +26 -0
- package/types/ui/utils/collectionFiltersStorage.d.ts +13 -0
- package/types/ui/utils/colors.d.ts +6 -0
- package/types/ui/utils/connections/icons.d.ts +4 -0
- package/types/ui/utils/connections/index.d.ts +1 -0
- package/types/ui/utils/copyItems.d.ts +47 -0
- package/types/ui/utils/copyText.d.ts +6 -0
- package/types/ui/utils/custom-export-menu-item.d.ts +8 -0
- package/types/ui/utils/date.d.ts +3 -0
- package/types/ui/utils/docs/helpers.d.ts +1 -0
- package/types/ui/utils/docs/index.d.ts +4 -0
- package/types/ui/utils/embedded.d.ts +5 -0
- package/types/ui/utils/errorContentTypes.d.ts +6 -0
- package/types/ui/utils/errors/errorByCode.d.ts +17 -0
- package/types/ui/utils/errors/manual.d.ts +1 -0
- package/types/ui/utils/errors/parse.d.ts +13 -0
- package/types/ui/utils/getActionPanelItems.d.ts +23 -0
- package/types/ui/utils/getAllEntryScopes.d.ts +2 -0
- package/types/ui/utils/getBasicActionPanelItems.d.ts +10 -0
- package/types/ui/utils/getCurrentUserRights.d.ts +3 -0
- package/types/ui/utils/getOverridedTheme.d.ts +2 -0
- package/types/ui/utils/getRestrictedParamNames.d.ts +1 -0
- package/types/ui/utils/getRevisionsPanelEntryScopesTexts.d.ts +22 -0
- package/types/ui/utils/getScopeTypeIcon.d.ts +1 -0
- package/types/ui/utils/getTopLevelEntryScopes.d.ts +2 -0
- package/types/ui/utils/getTypeSelectOptions.d.ts +3 -0
- package/types/ui/utils/gridStorage.d.ts +18 -0
- package/types/ui/utils/helpers.d.ts +17 -0
- package/types/ui/utils/icons.d.ts +2 -0
- package/types/ui/utils/index.d.ts +18 -0
- package/types/ui/utils/isEnabledFeature.d.ts +1 -0
- package/types/ui/utils/markdown/get-render-markdown-fn.d.ts +1 -0
- package/types/ui/utils/markdown/get-render-yfm-fn.d.ts +2 -0
- package/types/ui/utils/markdown/index.d.ts +2 -0
- package/types/ui/utils/markup.d.ts +2 -0
- package/types/ui/utils/migrateItemDataOnPaste.d.ts +17 -0
- package/types/ui/utils/mobile.d.ts +15 -0
- package/types/ui/utils/os.d.ts +14 -0
- package/types/ui/utils/palettes.d.ts +2 -0
- package/types/ui/utils/readOnly.d.ts +1 -0
- package/types/ui/utils/revisions.d.ts +13 -0
- package/types/ui/utils/scrollableContainerContext.d.ts +10 -0
- package/types/ui/utils/sdkRequests.d.ts +8 -0
- package/types/ui/utils/setEntryKey.d.ts +2 -0
- package/types/ui/utils/shared-entries/get-is-shared-entry.d.ts +2 -0
- package/types/ui/utils/shared-entries/index.d.ts +1 -0
- package/types/ui/utils/stringUtils.d.ts +2 -0
- package/types/ui/utils/urlUtils.d.ts +4 -0
- package/types/ui/utils/utils.d.ts +62 -0
- package/types/ui/utils/validation.d.ts +8 -0
- package/types/ui/utils/visualizations/line.d.ts +22 -0
- package/types/ui/utils/visualizations/placeholders/colors.d.ts +16 -0
- package/types/ui/utils/visualizations/placeholders/common-measures.d.ts +11 -0
- package/types/ui/utils/waitOperation.d.ts +24 -0
- package/types/ui/utils/widgetColors.d.ts +9 -0
- package/types/ui/utils/workbooks.d.ts +1 -0
|
@@ -0,0 +1,2698 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import { pickActionParamsFromParams, transformParamsToActionParams } from "@gravity-ui/dashkit/helpers";
|
|
4
|
+
import block from "bem-cn-lite";
|
|
5
|
+
import get from "lodash/get";
|
|
6
|
+
import isEqual from "lodash/isEqual";
|
|
7
|
+
import isNumber from "lodash/isNumber";
|
|
8
|
+
import merge from "lodash/merge";
|
|
9
|
+
import pick from "lodash/pick";
|
|
10
|
+
import PropTypes from "prop-types";
|
|
11
|
+
import ReactDOM from "react-dom";
|
|
12
|
+
import { ib as ChartKitCustomError, bd as getRandomCKId, bG as Performance, ic as ERROR_CODE, bB as i18n, ie as hasMatchedActionParams, ig as subtractParameters, ih as addParams } from "./components/ControlComponents.js";
|
|
13
|
+
import isEmpty from "lodash/isEmpty";
|
|
14
|
+
import { l as logger, I as isMacintosh, G as getRenderMarkupToStringFn, F as getRenderYfmFn } from "./components/ActionPanel.js";
|
|
15
|
+
import colormap from "colormap";
|
|
16
|
+
import contains from "robust-point-in-polygon";
|
|
17
|
+
/* empty css */
|
|
18
|
+
import { Button, Icon } from "@gravity-ui/uikit";
|
|
19
|
+
import { aj as formatNumber, aC as WRAPPED_MARKDOWN_KEY } from "./components/AccessRights.js";
|
|
20
|
+
import { gray, lab } from "d3";
|
|
21
|
+
import escape from "lodash/escape";
|
|
22
|
+
import { S as StyledSplitPane } from "./StyledSplitPane.js";
|
|
23
|
+
function fetchScript(url) {
|
|
24
|
+
return new Promise((resolve, reject) => {
|
|
25
|
+
const script = document.createElement("script");
|
|
26
|
+
script.type = "text/javascript";
|
|
27
|
+
script.onload = resolve;
|
|
28
|
+
script.onerror = reject;
|
|
29
|
+
script.src = url;
|
|
30
|
+
script.async = true;
|
|
31
|
+
document.head.appendChild(script);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function numberFormat(value) {
|
|
35
|
+
return isNumber(value) ? new Intl.NumberFormat("ru-RU", {
|
|
36
|
+
maximumFractionDigits: 20
|
|
37
|
+
}).format(value) : value;
|
|
38
|
+
}
|
|
39
|
+
const init = (polygonmap) => {
|
|
40
|
+
const show = polygonmap.options.get("showLegend");
|
|
41
|
+
if (!show) return;
|
|
42
|
+
const template = polygonmap.options.get("legendTemplate");
|
|
43
|
+
const map = polygonmap.getMap();
|
|
44
|
+
const colorScheme = polygonmap.colorize.getColorMap();
|
|
45
|
+
const colorRanges = polygonmap.colorize.getColorRanges();
|
|
46
|
+
const colors = colorScheme.map((el, i) => {
|
|
47
|
+
return {
|
|
48
|
+
name: el,
|
|
49
|
+
value: colorRanges[i],
|
|
50
|
+
opacity: polygonmap.options.get("colorOpacity")
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
const CustomControlClass = function(options) {
|
|
54
|
+
CustomControlClass.superclass.constructor.call(this, options);
|
|
55
|
+
};
|
|
56
|
+
const ymaps = polygonmap.getYMaps();
|
|
57
|
+
ymaps.util.augment(CustomControlClass, ymaps.collection.Item, {
|
|
58
|
+
onAddToMap(map2) {
|
|
59
|
+
CustomControlClass.superclass.onAddToMap.call(this, map2);
|
|
60
|
+
this.getParent().getChildElement(this).then(this._onGetChildElement, this);
|
|
61
|
+
polygonmap._legendControl = this;
|
|
62
|
+
},
|
|
63
|
+
_onGetChildElement(parentDomContainer) {
|
|
64
|
+
const legend = document.createElement("div");
|
|
65
|
+
legend.className = "ymaps-color-legend";
|
|
66
|
+
legend.innerHTML = template.call(polygonmap, colors);
|
|
67
|
+
parentDomContainer.appendChild(legend);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
const customControl = new CustomControlClass();
|
|
71
|
+
map.controls.add(customControl, {
|
|
72
|
+
float: "none",
|
|
73
|
+
position: polygonmap.options.get("legendPosition")
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
const defaultTemplate = function(colors) {
|
|
77
|
+
const fillBy = this.options.get("fillBy");
|
|
78
|
+
const fillByWeight = fillBy === "weight";
|
|
79
|
+
const colorRangesMinimum = this.options.get("colorRangesMinimum");
|
|
80
|
+
const min = colorRangesMinimum === "min" ? fillByWeight ? this.pointsWeightMinimum : this.pointsCountMinimum : colorRangesMinimum;
|
|
81
|
+
return `
|
|
82
|
+
<div class="legend">
|
|
83
|
+
${colors.map(
|
|
84
|
+
(color, i) => `
|
|
85
|
+
<div class="legend__row">
|
|
86
|
+
<span class="legend__value">
|
|
87
|
+
${colors[i - 1] ? `${colors[i - 1].value + 1} - ${color.value}` : `${min} - ${color.value}`}
|
|
88
|
+
</span>
|
|
89
|
+
<span class="legend__color" style="background: ${color.name}; opacity: ${color.opacity}"></span>
|
|
90
|
+
</div>
|
|
91
|
+
`
|
|
92
|
+
).join("\n")}
|
|
93
|
+
</div>
|
|
94
|
+
`;
|
|
95
|
+
};
|
|
96
|
+
var colorLegend_default = { init, defaultTemplate };
|
|
97
|
+
class Colorize {
|
|
98
|
+
/**
|
|
99
|
+
* @param {number} min Min value.
|
|
100
|
+
* @param {number} max Max value.
|
|
101
|
+
* @param {object} options Setting for generate colormap.
|
|
102
|
+
* @param {string|array} options.colorScheme Sheme of colormap or array of custom colors (from light to dark).
|
|
103
|
+
* @param {number|array} options.colorRanges Count of ranges to automaticly generate or custom array
|
|
104
|
+
* of ranges (from light to dark).
|
|
105
|
+
*/
|
|
106
|
+
constructor(min, max, options) {
|
|
107
|
+
if (typeof min !== "number") {
|
|
108
|
+
throw new Error('Wrong "min" value');
|
|
109
|
+
}
|
|
110
|
+
if (typeof max !== "number") {
|
|
111
|
+
throw new Error('Wrong "max" value');
|
|
112
|
+
}
|
|
113
|
+
this._min = min;
|
|
114
|
+
this._max = max;
|
|
115
|
+
if (typeof options.colorRanges === "object") {
|
|
116
|
+
this._ranges = options.colorRanges;
|
|
117
|
+
this._rangesCount = this._ranges.length;
|
|
118
|
+
} else {
|
|
119
|
+
this._rangesCount = options.colorRanges;
|
|
120
|
+
this._ranges = this._createRangesArray();
|
|
121
|
+
}
|
|
122
|
+
this._colors = typeof options.colorScheme === "object" ? options.colorScheme : colormap({
|
|
123
|
+
colormap: options.colorScheme,
|
|
124
|
+
nshades: this._rangesCount
|
|
125
|
+
}).reverse();
|
|
126
|
+
if (this._colors.length !== this._rangesCount) {
|
|
127
|
+
throw new Error("The length of the colorScheme array and ranges must be equal");
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Create array for ranges depending on rangesCount.
|
|
132
|
+
* @returns {Array.<*>} Return array of ranges.
|
|
133
|
+
* @private
|
|
134
|
+
*/
|
|
135
|
+
_createRangesArray() {
|
|
136
|
+
const arr = [];
|
|
137
|
+
const step = Math.floor((this._max - this._min) / this._rangesCount, 10);
|
|
138
|
+
for (let i = 1; i < this._rangesCount; i++) {
|
|
139
|
+
arr.push(this._min + i * step);
|
|
140
|
+
}
|
|
141
|
+
arr.push(this._max + 1);
|
|
142
|
+
return arr;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @returns {Array} Return generated array of colors.
|
|
146
|
+
*/
|
|
147
|
+
getColorMap() {
|
|
148
|
+
return this._colors;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @returns {Array} Return generated array of ranges.
|
|
152
|
+
*/
|
|
153
|
+
getColorRanges() {
|
|
154
|
+
return this._ranges;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Return color depending on count of points inside polygon
|
|
158
|
+
* @param {number} pointsCount=0 Count of point inside polygon.
|
|
159
|
+
* @returns {string} Return color.
|
|
160
|
+
*/
|
|
161
|
+
getColor(pointsCount = 0) {
|
|
162
|
+
let color = this._colors[0];
|
|
163
|
+
for (let i = 0; i < this._rangesCount; i++) {
|
|
164
|
+
if (pointsCount > this._ranges[i - 1] && pointsCount <= this._ranges[i]) {
|
|
165
|
+
color = this._colors[i];
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return color;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
var colorize_default = Colorize;
|
|
173
|
+
const defaultBalloonContent = (object2) => {
|
|
174
|
+
return `<div>
|
|
175
|
+
<h3>Object data</h3>
|
|
176
|
+
<div>Number of points: ${object2.properties.pointsCount}</div>
|
|
177
|
+
</div>`;
|
|
178
|
+
};
|
|
179
|
+
var defaultBalloonContent_default = defaultBalloonContent;
|
|
180
|
+
const defaultFilter = function(feature) {
|
|
181
|
+
return feature.properties.pointsCount > 0;
|
|
182
|
+
};
|
|
183
|
+
var defaultFilter_default = defaultFilter;
|
|
184
|
+
const defaultMapper = function(feature) {
|
|
185
|
+
const { pointsCount, pointsWeight } = feature.properties;
|
|
186
|
+
let fillColor;
|
|
187
|
+
if (pointsCount === 0) {
|
|
188
|
+
fillColor = this.options.get("fillColorEmptyPolygon");
|
|
189
|
+
} else {
|
|
190
|
+
const colorNumber = this.options.get("fillBy") === "weight" ? pointsWeight : pointsCount;
|
|
191
|
+
fillColor = this.colorize.getColor(colorNumber);
|
|
192
|
+
}
|
|
193
|
+
feature.properties.fillColor = fillColor;
|
|
194
|
+
feature.options = Object.assign(
|
|
195
|
+
{
|
|
196
|
+
fillColor,
|
|
197
|
+
fillOpacity: this.options.get("fillOpacity"),
|
|
198
|
+
strokeWidth: this.options.get("strokeWidth"),
|
|
199
|
+
strokeColor: this.options.get("strokeColor")
|
|
200
|
+
},
|
|
201
|
+
feature.options
|
|
202
|
+
);
|
|
203
|
+
return feature;
|
|
204
|
+
};
|
|
205
|
+
var defaultMapper_default = defaultMapper;
|
|
206
|
+
const defaultOnClick = function(e) {
|
|
207
|
+
const objId = e.get("objectId");
|
|
208
|
+
const object2 = this.objectManager.objects.getById(objId);
|
|
209
|
+
const balloonContent = this.options.get("balloonContent");
|
|
210
|
+
this.balloon.setData({
|
|
211
|
+
content: balloonContent(object2)
|
|
212
|
+
});
|
|
213
|
+
this.balloon.open(e.get("coords"));
|
|
214
|
+
const options = {
|
|
215
|
+
fillColorOriginal: object2.options.fillColor || this.options.get("fillColor"),
|
|
216
|
+
fillOpacityOriginal: typeof object2.options.fillOpacity === "number" ? object2.options.fillOpacity : this.options.get("fillOpacity"),
|
|
217
|
+
strokeColorOriginal: typeof object2.options.strokeColor === "number" ? object2.options.strokeColor : this.options.get("strokeColor"),
|
|
218
|
+
strokeWidthOriginal: typeof object2.options.strokeWidth === "number" ? object2.options.strokeWidth : this.options.get("strokeWidth"),
|
|
219
|
+
fillOpacity: typeof object2.options.fillOpacityActive === "number" ? object2.options.fillOpacityActive : this.options.get("fillOpacityActive"),
|
|
220
|
+
strokeColor: typeof object2.options.strokeColorActive === "number" ? object2.options.strokeColorActive : this.options.get("strokeColorActive"),
|
|
221
|
+
strokeWidth: typeof object2.options.strokeWidthActive === "number" ? object2.options.strokeWidthActive : this.options.get("strokeWidthActive")
|
|
222
|
+
};
|
|
223
|
+
const fillColor = object2.options.fillColorActive || this.options.get("fillColorActive");
|
|
224
|
+
if (fillColor) {
|
|
225
|
+
options.fillColor = fillColor;
|
|
226
|
+
}
|
|
227
|
+
this.objectManager.objects.setObjectOptions(objId, options);
|
|
228
|
+
const onClose = () => {
|
|
229
|
+
if (this._prevObjectId) {
|
|
230
|
+
const object22 = this.objectManager.objects.getById(this._prevObjectId);
|
|
231
|
+
if (object22) {
|
|
232
|
+
this.objectManager.objects.setObjectOptions(this._prevObjectId, {
|
|
233
|
+
fillColor: object22.options.fillColorOriginal,
|
|
234
|
+
fillOpacity: object22.options.fillOpacityOriginal,
|
|
235
|
+
strokeColor: object22.options.strokeColorOriginal,
|
|
236
|
+
strokeWidth: object22.options.strokeWidthOriginal
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
onClose();
|
|
242
|
+
this._prevObjectId = objId;
|
|
243
|
+
this.balloon.events.add("close", () => {
|
|
244
|
+
onClose();
|
|
245
|
+
this._prevObjectId = null;
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
var defaultOnClick_default = defaultOnClick;
|
|
249
|
+
const defaultOnMouseEnter = function(e) {
|
|
250
|
+
const objId = e.get("objectId");
|
|
251
|
+
if (this._prevObjectId !== objId) {
|
|
252
|
+
const object2 = this.objectManager.objects.getById(objId);
|
|
253
|
+
const options = {
|
|
254
|
+
fillColorOriginal: object2.options.fillColor || this.options.get("fillColor"),
|
|
255
|
+
fillOpacityOriginal: typeof object2.options.fillOpacity === "number" ? object2.options.fillOpacity : this.options.get("fillOpacity"),
|
|
256
|
+
strokeColorOriginal: typeof object2.options.strokeColor === "number" ? object2.options.strokeColor : this.options.get("strokeColor"),
|
|
257
|
+
strokeWidthOriginal: typeof object2.options.strokeWidth === "number" ? object2.options.strokeWidth : this.options.get("strokeWidth"),
|
|
258
|
+
fillOpacity: typeof object2.options.fillOpacityHover === "number" ? object2.options.fillOpacityHover : this.options.get("fillOpacityHover"),
|
|
259
|
+
strokeColor: typeof object2.options.strokeColorHover === "number" ? object2.options.strokeColorHover : this.options.get("strokeColorHover"),
|
|
260
|
+
strokeWidth: typeof object2.options.strokeWidthHover === "number" ? object2.options.strokeWidthHover : this.options.get("strokeWidthHover")
|
|
261
|
+
};
|
|
262
|
+
const fillColor = object2.options.fillColorHover || this.options.get("fillColorHover");
|
|
263
|
+
if (fillColor) {
|
|
264
|
+
options.fillColor = fillColor;
|
|
265
|
+
}
|
|
266
|
+
this.objectManager.objects.setObjectOptions(objId, options);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
var defaultOnMouseEnter_default = defaultOnMouseEnter;
|
|
270
|
+
const defaultOnMouseLeave = function(e) {
|
|
271
|
+
const objId = e.get("objectId");
|
|
272
|
+
const object2 = this.objectManager.objects.getById(objId);
|
|
273
|
+
if (this._prevObjectId !== objId) {
|
|
274
|
+
this.objectManager.objects.setObjectOptions(objId, {
|
|
275
|
+
fillColor: object2.options.fillColorOriginal,
|
|
276
|
+
fillOpacity: object2.options.fillOpacityOriginal,
|
|
277
|
+
strokeColor: object2.options.strokeColorOriginal,
|
|
278
|
+
strokeWidth: object2.options.strokeWidthOriginal
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
var defaultOnMouseLeave_default = defaultOnMouseLeave;
|
|
283
|
+
const inside = (polygon, point) => {
|
|
284
|
+
const pointCoord = point.coordinates;
|
|
285
|
+
const polygonsCoord = polygon.coordinates;
|
|
286
|
+
const polygonCoord = polygonsCoord[0];
|
|
287
|
+
let result = contains(polygonCoord, pointCoord) !== 1;
|
|
288
|
+
if (result) {
|
|
289
|
+
for (let k = 1; k < polygonsCoord.length; k++) {
|
|
290
|
+
const holeCoord = polygonsCoord[k];
|
|
291
|
+
const isInsideHole = contains(holeCoord, pointCoord) !== 1;
|
|
292
|
+
if (isInsideHole) {
|
|
293
|
+
result = !isInsideHole;
|
|
294
|
+
break;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
} else {
|
|
298
|
+
for (let k = 1; k < polygonsCoord.length; k++) {
|
|
299
|
+
const polygonCoord2 = polygonsCoord[k];
|
|
300
|
+
const isInsidePolygon = contains(polygonCoord2, pointCoord) !== 1;
|
|
301
|
+
if (isInsidePolygon) {
|
|
302
|
+
result = isInsidePolygon;
|
|
303
|
+
break;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
return result;
|
|
308
|
+
};
|
|
309
|
+
var inside_default = inside;
|
|
310
|
+
const normalizeFeature = (feature, meta, props = {}) => {
|
|
311
|
+
let { type, coordinates } = feature.geometry;
|
|
312
|
+
if (feature.geometry.type === "MultiPolygon") {
|
|
313
|
+
type = "Polygon";
|
|
314
|
+
coordinates = feature.geometry.coordinates.reduce(
|
|
315
|
+
(acc, coordinates2) => acc.concat(coordinates2),
|
|
316
|
+
[]
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
return Object.assign({}, props, feature, {
|
|
320
|
+
geometry: {
|
|
321
|
+
type,
|
|
322
|
+
coordinates,
|
|
323
|
+
// This parameter is needed for drawing holes in polygons on ymaps
|
|
324
|
+
fillRule: "evenOdd"
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
var normalizeFeature_default = normalizeFeature;
|
|
329
|
+
function define$1(ymaps) {
|
|
330
|
+
ymaps.modules.define(
|
|
331
|
+
"Polygonmap",
|
|
332
|
+
["meta", "option.Manager", "ObjectManager"],
|
|
333
|
+
(provide, meta, OptionManager, ObjectManager) => {
|
|
334
|
+
class Polygonmap {
|
|
335
|
+
constructor(data, options = {}) {
|
|
336
|
+
const defaultOptions = new OptionManager({
|
|
337
|
+
mapper: defaultMapper_default,
|
|
338
|
+
fillBy: "points",
|
|
339
|
+
fillByWeightProp: "weight",
|
|
340
|
+
fillByWeightType: "middle",
|
|
341
|
+
colorRangesMinimum: 0,
|
|
342
|
+
colorRanges: 4,
|
|
343
|
+
colorScheme: ["#e66a54", "#ce4356", "#ab2960", "#571756"],
|
|
344
|
+
fillOpacity: 0.8,
|
|
345
|
+
fillColorEmptyPolygon: "#f4f6f8",
|
|
346
|
+
strokeColor: "#fff",
|
|
347
|
+
strokeWidth: 1,
|
|
348
|
+
showLegend: true,
|
|
349
|
+
legendTemplate: colorLegend_default.defaultTemplate,
|
|
350
|
+
legendPosition: {
|
|
351
|
+
top: 10,
|
|
352
|
+
right: 10
|
|
353
|
+
},
|
|
354
|
+
// Since the default filter for empty polygons is disabled by default,
|
|
355
|
+
// this option will be undefined.
|
|
356
|
+
filter: void 0,
|
|
357
|
+
filterEmptyPolygons: false,
|
|
358
|
+
onMouseEnter: defaultOnMouseEnter_default,
|
|
359
|
+
onMouseLeave: defaultOnMouseLeave_default,
|
|
360
|
+
onClick: defaultOnClick_default,
|
|
361
|
+
balloonContent: defaultBalloonContent_default,
|
|
362
|
+
fillColorHover: void 0,
|
|
363
|
+
fillOpacityHover: 0.9,
|
|
364
|
+
strokeColorHover: "#fff",
|
|
365
|
+
strokeWidthHover: 2,
|
|
366
|
+
fillColorActive: void 0,
|
|
367
|
+
fillOpacityActive: 0.9,
|
|
368
|
+
strokeColorActive: "#fff",
|
|
369
|
+
strokeWidthActive: 2,
|
|
370
|
+
interactivity: true
|
|
371
|
+
});
|
|
372
|
+
this._initOptions(options, defaultOptions);
|
|
373
|
+
this.setData(data);
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* Get Yandex Maps main class.
|
|
377
|
+
*
|
|
378
|
+
* @public
|
|
379
|
+
* @returns {YMaps} Reference to YMaps.
|
|
380
|
+
*/
|
|
381
|
+
getYMaps() {
|
|
382
|
+
return ymaps;
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Get the data, polygons and points.
|
|
386
|
+
*
|
|
387
|
+
* @public
|
|
388
|
+
* @returns {Object} Polygons and points.
|
|
389
|
+
*/
|
|
390
|
+
getData() {
|
|
391
|
+
return this._data || null;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Set the data, polygons and points.
|
|
395
|
+
*
|
|
396
|
+
* @public
|
|
397
|
+
* @param {Object} data Polygons and points.
|
|
398
|
+
* @param {Object} data.polygons GeoJSON FeatureCollections.
|
|
399
|
+
* @param {Object} data.points GeoJSON FeatureCollections.
|
|
400
|
+
* @returns {Polygonmap} Self-reference.
|
|
401
|
+
*/
|
|
402
|
+
setData(data) {
|
|
403
|
+
this._data = data;
|
|
404
|
+
if (data) {
|
|
405
|
+
this._data = {
|
|
406
|
+
points: { type: "FeatureCollection", features: [] },
|
|
407
|
+
polygons: { type: "FeatureCollection", features: [] }
|
|
408
|
+
};
|
|
409
|
+
this._prepare(data);
|
|
410
|
+
this._initObjectManager();
|
|
411
|
+
}
|
|
412
|
+
return this;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Get the Map instance.
|
|
416
|
+
*
|
|
417
|
+
* @public
|
|
418
|
+
* @returns {Map} Reference to Map instance.
|
|
419
|
+
*/
|
|
420
|
+
getMap() {
|
|
421
|
+
return this._map;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Set Map instance to render Polygonmap object.
|
|
425
|
+
*
|
|
426
|
+
* @public
|
|
427
|
+
* @param {Map} map Map instance.
|
|
428
|
+
* @returns {Polygonmap} Self-reference.
|
|
429
|
+
*/
|
|
430
|
+
setMap(map) {
|
|
431
|
+
if (this._map !== map) {
|
|
432
|
+
this._map = map;
|
|
433
|
+
if (map && this._data) {
|
|
434
|
+
this._render();
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
return this;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Destructs Polygonmap instance.
|
|
441
|
+
*
|
|
442
|
+
* @public
|
|
443
|
+
*/
|
|
444
|
+
destroy() {
|
|
445
|
+
this.setData(null);
|
|
446
|
+
this.objectManager.removeAll();
|
|
447
|
+
this._legendControl.setParent(null);
|
|
448
|
+
this.balloon.close();
|
|
449
|
+
this.setMap(null);
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Prepare for render Polygonmap.
|
|
453
|
+
*
|
|
454
|
+
* @private
|
|
455
|
+
* @param {Object} data Polygons and points.
|
|
456
|
+
* @param {Object} data.polygons GeoJSON FeatureCollections.
|
|
457
|
+
* @param {Object} data.points GeoJSON FeatureCollections.
|
|
458
|
+
* @returns {undefined}
|
|
459
|
+
*/
|
|
460
|
+
_prepare(data) {
|
|
461
|
+
if (data.polygons.type === "FeatureCollection" && data.points.type === "FeatureCollection") {
|
|
462
|
+
const polygonFeatures = data.polygons.features;
|
|
463
|
+
const fillBy = this.options.get("fillBy");
|
|
464
|
+
const fillByWeightType = this.options.get("fillByWeightType");
|
|
465
|
+
const fillByWeightProp = this.options.get("fillByWeightProp");
|
|
466
|
+
let pointFeatures = data.points.features;
|
|
467
|
+
for (let i = 0; i < polygonFeatures.length; i++) {
|
|
468
|
+
const restPointFeatures = [];
|
|
469
|
+
const polygonFeature = normalizeFeature_default(polygonFeatures[i], meta, {
|
|
470
|
+
id: i
|
|
471
|
+
});
|
|
472
|
+
polygonFeature.properties = polygonFeature.properties || {};
|
|
473
|
+
if (typeof polygonFeature.properties.pointsCount !== "number" && typeof polygonFeature.properties.pointsWeight !== "number") {
|
|
474
|
+
let pointsCount = 0;
|
|
475
|
+
let pointsWeight = 0;
|
|
476
|
+
for (let j = 0; j < pointFeatures.length; j++) {
|
|
477
|
+
let pointFeature;
|
|
478
|
+
if (i === 0) {
|
|
479
|
+
pointFeature = normalizeFeature_default(pointFeatures[j], meta, {
|
|
480
|
+
id: j
|
|
481
|
+
});
|
|
482
|
+
this._data.points.features.push(pointFeature);
|
|
483
|
+
} else {
|
|
484
|
+
pointFeature = pointFeatures[j];
|
|
485
|
+
}
|
|
486
|
+
if (inside_default(polygonFeature.geometry, pointFeature.geometry)) {
|
|
487
|
+
pointsCount++;
|
|
488
|
+
pointsWeight += pointFeature.properties[fillByWeightProp];
|
|
489
|
+
} else {
|
|
490
|
+
restPointFeatures.push(pointFeature);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
pointFeatures = restPointFeatures;
|
|
494
|
+
if (fillBy === "weight") {
|
|
495
|
+
pointsWeight = fillByWeightType === "middle" ? pointsWeight === 0 && pointsCount === 0 ? 0 : pointsWeight / pointsCount : pointsWeight;
|
|
496
|
+
}
|
|
497
|
+
polygonFeature.properties.pointsCount = pointsCount;
|
|
498
|
+
polygonFeature.properties.pointsWeight = pointsWeight;
|
|
499
|
+
}
|
|
500
|
+
this._calculator(polygonFeature, { fillBy });
|
|
501
|
+
this._data.polygons.features.push(polygonFeature);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Calculator for feture values.
|
|
507
|
+
*
|
|
508
|
+
* @param {Object} feature GeoJSON FeatureCollection.
|
|
509
|
+
* @param {Object} options Options for calculating.
|
|
510
|
+
* @private
|
|
511
|
+
*/
|
|
512
|
+
_calculator(feature, options) {
|
|
513
|
+
const { pointsCount } = feature.properties;
|
|
514
|
+
const { pointsWeight } = feature.properties;
|
|
515
|
+
const { fillBy } = options;
|
|
516
|
+
if (typeof this.pointsCountMinimum === "undefined" || pointsCount <= this.pointsCountMinimum) {
|
|
517
|
+
this.pointsCountMinimum = pointsCount;
|
|
518
|
+
}
|
|
519
|
+
if (typeof this.pointsCountMaximum === "undefined" || pointsCount >= this.pointsCountMaximum) {
|
|
520
|
+
this.pointsCountMaximum = pointsCount;
|
|
521
|
+
}
|
|
522
|
+
if (fillBy === "weight") {
|
|
523
|
+
if (typeof this.pointsWeightMinimum === "undefined" || pointsWeight <= this.pointsWeightMinimum) {
|
|
524
|
+
this.pointsWeightMinimum = pointsWeight;
|
|
525
|
+
}
|
|
526
|
+
if (typeof this.pointsWeightMaximum === "undefined" || pointsWeight >= this.pointsWeightMaximum) {
|
|
527
|
+
this.pointsWeightMaximum = pointsWeight;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Render ObjectManager.
|
|
533
|
+
*
|
|
534
|
+
* @private
|
|
535
|
+
*/
|
|
536
|
+
_render() {
|
|
537
|
+
if (this.options.get("interactivity")) {
|
|
538
|
+
this._initInteractivity();
|
|
539
|
+
}
|
|
540
|
+
this._map.geoObjects.add(this.objectManager);
|
|
541
|
+
colorLegend_default.init(this);
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Init Options.
|
|
545
|
+
*
|
|
546
|
+
* @param {Object} options Options.
|
|
547
|
+
* @param {Object} defaultOptions Default options.
|
|
548
|
+
* @private
|
|
549
|
+
*/
|
|
550
|
+
_initOptions(options, defaultOptions) {
|
|
551
|
+
this.options = new OptionManager(options, defaultOptions);
|
|
552
|
+
const mapper = this.options.get("mapper");
|
|
553
|
+
const filterEmptyPolygons = this.options.get("filterEmptyPolygons");
|
|
554
|
+
const colorScheme = this.options.get("colorScheme");
|
|
555
|
+
const colorRanges = this.options.get("colorRanges");
|
|
556
|
+
const onMouseEnter = this.options.get("onMouseEnter");
|
|
557
|
+
const onMouseLeave = this.options.get("onMouseLeave");
|
|
558
|
+
const onClick = this.options.get("onClick");
|
|
559
|
+
this.options.set("mapper", mapper.bind(this));
|
|
560
|
+
if (filterEmptyPolygons) {
|
|
561
|
+
this.options.set("filter", defaultFilter_default.bind(this));
|
|
562
|
+
}
|
|
563
|
+
if (typeof options.colorRanges === "undefined" && colorRanges !== colorScheme.length) {
|
|
564
|
+
this.options.set("colorRanges", colorScheme.length);
|
|
565
|
+
}
|
|
566
|
+
this.options.set("onMouseEnter", onMouseEnter.bind(this));
|
|
567
|
+
this.options.set("onMouseLeave", onMouseLeave.bind(this));
|
|
568
|
+
this.options.set("onClick", onClick.bind(this));
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Init ObjectManager.
|
|
572
|
+
*
|
|
573
|
+
* @private
|
|
574
|
+
*/
|
|
575
|
+
_initObjectManager() {
|
|
576
|
+
const mapper = this.options.get("mapper");
|
|
577
|
+
const filter = this.options.get("filter");
|
|
578
|
+
const fillBy = this.options.get("fillBy");
|
|
579
|
+
const fillByWeight = fillBy === "weight";
|
|
580
|
+
const colorRangesMinimum = this.options.get("colorRangesMinimum");
|
|
581
|
+
if (colorRangesMinimum === "min") {
|
|
582
|
+
delete this.pointsCountMinimum;
|
|
583
|
+
delete this.pointsWeightMinimum;
|
|
584
|
+
const reducer2 = (acc, feature) => {
|
|
585
|
+
if (!filter || filter(feature)) {
|
|
586
|
+
this._calculator(feature, { fillBy });
|
|
587
|
+
acc.push(feature);
|
|
588
|
+
}
|
|
589
|
+
return acc;
|
|
590
|
+
};
|
|
591
|
+
this._data.polygons.features = this._data.polygons.features.reduce(
|
|
592
|
+
reducer2,
|
|
593
|
+
[]
|
|
594
|
+
);
|
|
595
|
+
}
|
|
596
|
+
try {
|
|
597
|
+
this.colorize = new colorize_default(
|
|
598
|
+
colorRangesMinimum === "min" ? fillByWeight ? this.pointsWeightMinimum : this.pointsCountMinimum : colorRangesMinimum,
|
|
599
|
+
fillByWeight ? this.pointsWeightMaximum : this.pointsCountMaximum,
|
|
600
|
+
{
|
|
601
|
+
colorScheme: this.options.get("colorScheme"),
|
|
602
|
+
colorRanges: this.options.get("colorRanges")
|
|
603
|
+
}
|
|
604
|
+
);
|
|
605
|
+
} catch (error) {
|
|
606
|
+
console.error(error);
|
|
607
|
+
}
|
|
608
|
+
const reducer = (acc, feature) => {
|
|
609
|
+
if (!filter || filter(feature)) {
|
|
610
|
+
if (mapper) {
|
|
611
|
+
acc.push(mapper(feature));
|
|
612
|
+
} else {
|
|
613
|
+
acc.push(feature);
|
|
614
|
+
}
|
|
615
|
+
this._calculator(feature, { fillBy });
|
|
616
|
+
}
|
|
617
|
+
return acc;
|
|
618
|
+
};
|
|
619
|
+
this._data.polygons.features = this._data.polygons.features.reduce(reducer, []);
|
|
620
|
+
this.objectManager = new ObjectManager();
|
|
621
|
+
this.objectManager.add(this._data.polygons);
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Init interactivity.
|
|
625
|
+
*
|
|
626
|
+
* @private
|
|
627
|
+
*/
|
|
628
|
+
_initInteractivity() {
|
|
629
|
+
this._prevObjectId = null;
|
|
630
|
+
this.balloon = new ymaps.Balloon(this._map);
|
|
631
|
+
const onMouseEnter = this.options.get("onMouseEnter");
|
|
632
|
+
const onMouseLeave = this.options.get("onMouseLeave");
|
|
633
|
+
const onClick = this.options.get("onClick");
|
|
634
|
+
this.objectManager.events.add("mouseenter", onMouseEnter);
|
|
635
|
+
this.objectManager.events.add("mouseleave", onMouseLeave);
|
|
636
|
+
this.balloon.options.setParent(this._map.options);
|
|
637
|
+
this.objectManager.events.add("click", onClick);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
provide(Polygonmap);
|
|
641
|
+
}
|
|
642
|
+
);
|
|
643
|
+
}
|
|
644
|
+
var Polygonmap_default = define$1;
|
|
645
|
+
function sin(angle) {
|
|
646
|
+
return Math.sin(Math.PI * angle / 180);
|
|
647
|
+
}
|
|
648
|
+
function cos(angle) {
|
|
649
|
+
return Math.cos(Math.PI * angle / 180);
|
|
650
|
+
}
|
|
651
|
+
function hexagonGrid(projection, zoom, R, offsetLeft, offsetTop, width, height) {
|
|
652
|
+
const colWidth = 1.5 * R;
|
|
653
|
+
const rowHeight = 1.5 * R;
|
|
654
|
+
const cols = Math.floor((width + R / 2) / colWidth) + 1;
|
|
655
|
+
const rows = Math.floor(height / rowHeight);
|
|
656
|
+
const result = { type: "FeatureCollection", features: [] };
|
|
657
|
+
let id = 0;
|
|
658
|
+
for (let c = 0; c < cols; c++) {
|
|
659
|
+
for (let r = 0; r < rows; r++) {
|
|
660
|
+
const horizontalShift = c % 2 === 0 ? 0 : -1 * sin(60);
|
|
661
|
+
const x = c * 1.5;
|
|
662
|
+
const y = r * (2 * sin(60)) + horizontalShift;
|
|
663
|
+
const hexagon = [
|
|
664
|
+
[cos(0) + x, sin(0) + y],
|
|
665
|
+
[cos(60) + x, sin(60) + y],
|
|
666
|
+
[cos(120) + x, sin(120) + y],
|
|
667
|
+
[cos(180) + x, sin(180) + y],
|
|
668
|
+
[cos(240) + x, sin(240) + y],
|
|
669
|
+
[cos(300) + x, sin(300) + y],
|
|
670
|
+
[cos(0) + x, sin(0) + y]
|
|
671
|
+
];
|
|
672
|
+
const hexagonGlobals = hexagon.map(
|
|
673
|
+
([x2, y2]) => projection.fromGlobalPixels([offsetLeft + x2 * R, offsetTop + y2 * R], zoom)
|
|
674
|
+
);
|
|
675
|
+
result.features.push({
|
|
676
|
+
type: "Feature",
|
|
677
|
+
id: "hxg" + id++,
|
|
678
|
+
geometry: {
|
|
679
|
+
type: "Polygon",
|
|
680
|
+
coordinates: [hexagonGlobals]
|
|
681
|
+
},
|
|
682
|
+
properties: {}
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
return result;
|
|
687
|
+
}
|
|
688
|
+
function squaresGrid(projection, zoom, sideLength, offsetLeft, offsetTop, width, height) {
|
|
689
|
+
const cols = width / sideLength;
|
|
690
|
+
const rows = height / sideLength;
|
|
691
|
+
const result = { type: "FeatureCollection", features: [] };
|
|
692
|
+
let id = 0;
|
|
693
|
+
for (let r = 0; r < rows; r++) {
|
|
694
|
+
for (let c = 0; c < cols; c++) {
|
|
695
|
+
const left = offsetLeft + c * sideLength;
|
|
696
|
+
const top = offsetTop + r * sideLength;
|
|
697
|
+
const right = left + sideLength;
|
|
698
|
+
const bottom = top + sideLength;
|
|
699
|
+
const squarePixels = [
|
|
700
|
+
[left, top],
|
|
701
|
+
[right, top],
|
|
702
|
+
[right, bottom],
|
|
703
|
+
[left, bottom]
|
|
704
|
+
];
|
|
705
|
+
const squareGlobals = squarePixels.map(
|
|
706
|
+
(point) => projection.fromGlobalPixels(point, zoom)
|
|
707
|
+
);
|
|
708
|
+
result.features.push({
|
|
709
|
+
type: "Feature",
|
|
710
|
+
id: "sqr" + id++,
|
|
711
|
+
geometry: {
|
|
712
|
+
type: "Polygon",
|
|
713
|
+
coordinates: [squareGlobals]
|
|
714
|
+
},
|
|
715
|
+
properties: {}
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
return result;
|
|
720
|
+
}
|
|
721
|
+
function define(ymaps) {
|
|
722
|
+
Polygonmap_default(ymaps);
|
|
723
|
+
ymaps.modules.define(
|
|
724
|
+
"Gridmap",
|
|
725
|
+
["Polygonmap", "util.bounds"],
|
|
726
|
+
(provide, Polygonmap, bounds) => {
|
|
727
|
+
function getRequiredOption(options, path) {
|
|
728
|
+
const value = get(options, path);
|
|
729
|
+
if (!value) {
|
|
730
|
+
throw new Error(`options.${path} is required parameter`);
|
|
731
|
+
}
|
|
732
|
+
return value;
|
|
733
|
+
}
|
|
734
|
+
class Gridmap {
|
|
735
|
+
constructor(data, options) {
|
|
736
|
+
this._data = data;
|
|
737
|
+
this.options = options;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Set Map instance to render Polygonmap object.
|
|
741
|
+
*
|
|
742
|
+
* @public
|
|
743
|
+
* @param {Map} map Map instance.
|
|
744
|
+
* @returns {Gridmap|Polygonmap} Self-reference.
|
|
745
|
+
*/
|
|
746
|
+
setMap(map) {
|
|
747
|
+
if (this._map !== map) {
|
|
748
|
+
this._map = map;
|
|
749
|
+
if (map && this._data) {
|
|
750
|
+
this._render();
|
|
751
|
+
return this._polygonmap;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
return this;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Get the Map instance.
|
|
758
|
+
*
|
|
759
|
+
* @public
|
|
760
|
+
* @returns {Map} Reference to Map instance.
|
|
761
|
+
*/
|
|
762
|
+
getMap() {
|
|
763
|
+
return this._map;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Render Polygonmap.
|
|
767
|
+
*
|
|
768
|
+
* @private
|
|
769
|
+
*/
|
|
770
|
+
_render() {
|
|
771
|
+
const points = this._data;
|
|
772
|
+
const zoom = getRequiredOption(this.options, "zoom");
|
|
773
|
+
const projection = this._map.options.get("projection");
|
|
774
|
+
let leftBottom;
|
|
775
|
+
let rightTop;
|
|
776
|
+
if (get(this.options, "grid.bounds")) {
|
|
777
|
+
leftBottom = getRequiredOption(this.options, "grid.bounds.leftBottom");
|
|
778
|
+
rightTop = getRequiredOption(this.options, "grid.bounds.rightTop");
|
|
779
|
+
} else {
|
|
780
|
+
const coords = points.features.map(
|
|
781
|
+
({ geometry: { coordinates } }) => coordinates
|
|
782
|
+
);
|
|
783
|
+
[leftBottom, rightTop] = bounds.fromPoints(coords, projection);
|
|
784
|
+
}
|
|
785
|
+
const [left, bottom] = projection.toGlobalPixels(leftBottom, zoom);
|
|
786
|
+
const [right, top] = projection.toGlobalPixels(rightTop, zoom);
|
|
787
|
+
const width = right - left;
|
|
788
|
+
const height = bottom - top;
|
|
789
|
+
const gripType = getRequiredOption(this.options, "grid.type");
|
|
790
|
+
let polygons;
|
|
791
|
+
switch (gripType) {
|
|
792
|
+
case "hexagon": {
|
|
793
|
+
const bigRadius = getRequiredOption(
|
|
794
|
+
this.options,
|
|
795
|
+
"grid.params.bigRadius"
|
|
796
|
+
);
|
|
797
|
+
polygons = hexagonGrid(
|
|
798
|
+
projection,
|
|
799
|
+
zoom,
|
|
800
|
+
bigRadius,
|
|
801
|
+
left,
|
|
802
|
+
top,
|
|
803
|
+
width,
|
|
804
|
+
height
|
|
805
|
+
);
|
|
806
|
+
break;
|
|
807
|
+
}
|
|
808
|
+
case "square": {
|
|
809
|
+
const sideWidth = getRequiredOption(
|
|
810
|
+
this.options,
|
|
811
|
+
"grid.params.sideLength"
|
|
812
|
+
);
|
|
813
|
+
polygons = squaresGrid(
|
|
814
|
+
projection,
|
|
815
|
+
zoom,
|
|
816
|
+
sideWidth,
|
|
817
|
+
left,
|
|
818
|
+
top,
|
|
819
|
+
width,
|
|
820
|
+
height
|
|
821
|
+
);
|
|
822
|
+
break;
|
|
823
|
+
}
|
|
824
|
+
default: {
|
|
825
|
+
throw new Error(`Unsupported grid's type ${gripType}`);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
this._polygonmap = new Polygonmap({ polygons, points }, this.options);
|
|
829
|
+
this._polygonmap.setMap(this._map);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
provide(Gridmap);
|
|
833
|
+
}
|
|
834
|
+
);
|
|
835
|
+
}
|
|
836
|
+
var Gridmap_default = define;
|
|
837
|
+
function defineCanvas(ymaps) {
|
|
838
|
+
ymaps.modules.define(
|
|
839
|
+
"heatmap.component.Canvas",
|
|
840
|
+
["option.Manager", "Monitor"],
|
|
841
|
+
function(provide, OptionManager, Monitor) {
|
|
842
|
+
const DEFAULT_OPTIONS = {
|
|
843
|
+
// Point radius.
|
|
844
|
+
radius: 10,
|
|
845
|
+
// Radius factor.
|
|
846
|
+
radiusFactor: 1,
|
|
847
|
+
// Map layer opacity.
|
|
848
|
+
opacity: 0.8,
|
|
849
|
+
// Median point intencity.
|
|
850
|
+
intensityOfMidpoint: 0.2,
|
|
851
|
+
// Median of points weights.
|
|
852
|
+
medianaOfWeights: 1,
|
|
853
|
+
// Gradient.
|
|
854
|
+
gradient: {
|
|
855
|
+
0.1: "rgba(128, 255, 0, 0.7)",
|
|
856
|
+
0.2: "rgba(255, 255, 0, 0.8)",
|
|
857
|
+
0.7: "rgba(234, 72, 58, 0.9)",
|
|
858
|
+
1: "rgba(162, 36, 25, 1)"
|
|
859
|
+
}
|
|
860
|
+
};
|
|
861
|
+
const EMPTY_PNG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAABFUlEQVR4nO3BMQEAAADCoPVP7WsIoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeAMBPAABPO1TCQAAAABJRU5ErkJggg==";
|
|
862
|
+
const Canvas = function(size) {
|
|
863
|
+
this._canvas = document.createElement("canvas");
|
|
864
|
+
this._canvas.width = size[0];
|
|
865
|
+
this._canvas.height = size[1];
|
|
866
|
+
this._context = this._canvas.getContext("2d");
|
|
867
|
+
this.options = new OptionManager({});
|
|
868
|
+
this._setupDrawTools();
|
|
869
|
+
this._setupOptionMonitor();
|
|
870
|
+
};
|
|
871
|
+
Canvas.prototype.getBrushRadius = function() {
|
|
872
|
+
return this.options.get("radius", DEFAULT_OPTIONS.radius) * this.options.get("radiusFactor", DEFAULT_OPTIONS.radiusFactor);
|
|
873
|
+
};
|
|
874
|
+
Canvas.prototype.generateDataURLHeatmap = function(points) {
|
|
875
|
+
if (points && points.length > 0) {
|
|
876
|
+
this._drawHeatmap(points);
|
|
877
|
+
return this._canvas.toDataURL();
|
|
878
|
+
} else {
|
|
879
|
+
return EMPTY_PNG;
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
Canvas.prototype.destroy = function() {
|
|
883
|
+
this._destroyOptionMonitor();
|
|
884
|
+
this._destroyDrawTools();
|
|
885
|
+
};
|
|
886
|
+
Canvas.prototype._setupOptionMonitor = function() {
|
|
887
|
+
this._optionMonitor = new Monitor(this.options);
|
|
888
|
+
return this._optionMonitor.add(
|
|
889
|
+
["radius", "radiusFactor", "gradient"],
|
|
890
|
+
this._setupDrawTools,
|
|
891
|
+
this
|
|
892
|
+
);
|
|
893
|
+
};
|
|
894
|
+
Canvas.prototype._destroyOptionMonitor = function() {
|
|
895
|
+
this._optionMonitor.removeAll();
|
|
896
|
+
this._optionMonitor = {};
|
|
897
|
+
};
|
|
898
|
+
Canvas.prototype._setupDrawTools = function() {
|
|
899
|
+
this._brush = this._createBrush();
|
|
900
|
+
this._gradient = this._createGradient();
|
|
901
|
+
return this;
|
|
902
|
+
};
|
|
903
|
+
Canvas.prototype._destroyDrawTools = function() {
|
|
904
|
+
this._brush = null;
|
|
905
|
+
this._gradient = null;
|
|
906
|
+
};
|
|
907
|
+
Canvas.prototype._createBrush = function() {
|
|
908
|
+
const brush = document.createElement("canvas");
|
|
909
|
+
const context = brush.getContext("2d");
|
|
910
|
+
const radius = this.getBrushRadius();
|
|
911
|
+
const gradient = context.createRadialGradient(
|
|
912
|
+
radius,
|
|
913
|
+
radius,
|
|
914
|
+
0,
|
|
915
|
+
radius,
|
|
916
|
+
radius,
|
|
917
|
+
radius
|
|
918
|
+
);
|
|
919
|
+
brush.width = 2 * radius;
|
|
920
|
+
brush.height = 2 * radius;
|
|
921
|
+
gradient.addColorStop(0, "rgba(0,0,0,1)");
|
|
922
|
+
gradient.addColorStop(1, "rgba(0,0,0,0)");
|
|
923
|
+
context.fillStyle = gradient;
|
|
924
|
+
context.fillRect(0, 0, 2 * radius, 2 * radius);
|
|
925
|
+
return brush;
|
|
926
|
+
};
|
|
927
|
+
Canvas.prototype._createGradient = function() {
|
|
928
|
+
const canvas = document.createElement("canvas");
|
|
929
|
+
const context = canvas.getContext("2d");
|
|
930
|
+
const gradient = context.createLinearGradient(0, 0, 0, 256);
|
|
931
|
+
canvas.width = 1;
|
|
932
|
+
canvas.height = 256;
|
|
933
|
+
const gradientOption = this.options.get("gradient", DEFAULT_OPTIONS.gradient);
|
|
934
|
+
for (const i in gradientOption) {
|
|
935
|
+
if (gradientOption.hasOwnProperty(i)) {
|
|
936
|
+
gradient.addColorStop(i, gradientOption[i]);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
context.fillStyle = gradient;
|
|
940
|
+
context.fillRect(0, 0, 1, 256);
|
|
941
|
+
return context.getImageData(0, 0, 1, 256).data;
|
|
942
|
+
};
|
|
943
|
+
Canvas.prototype._drawHeatmap = function(points) {
|
|
944
|
+
const context = this._context;
|
|
945
|
+
const radius = this.getBrushRadius();
|
|
946
|
+
const intensityOfMidpoint = this.options.get(
|
|
947
|
+
"intensityOfMidpoint",
|
|
948
|
+
DEFAULT_OPTIONS.intensityOfMidpoint
|
|
949
|
+
);
|
|
950
|
+
const medianaOfWeights = this.options.get(
|
|
951
|
+
"medianaOfWeights",
|
|
952
|
+
DEFAULT_OPTIONS.medianaOfWeights
|
|
953
|
+
);
|
|
954
|
+
const weightFactor = intensityOfMidpoint / medianaOfWeights;
|
|
955
|
+
context.clearRect(0, 0, this._canvas.width, this._canvas.height);
|
|
956
|
+
for (let i = 0, length = points.length; i < length; i++) {
|
|
957
|
+
context.globalAlpha = Math.min(points[i].weight * weightFactor, 1);
|
|
958
|
+
context.drawImage(
|
|
959
|
+
this._brush,
|
|
960
|
+
points[i].coordinates[0] - radius,
|
|
961
|
+
points[i].coordinates[1] - radius
|
|
962
|
+
);
|
|
963
|
+
}
|
|
964
|
+
const heatmapImage = context.getImageData(
|
|
965
|
+
0,
|
|
966
|
+
0,
|
|
967
|
+
this._canvas.width,
|
|
968
|
+
this._canvas.height
|
|
969
|
+
);
|
|
970
|
+
this._colorize(heatmapImage.data);
|
|
971
|
+
context.putImageData(heatmapImage, 0, 0);
|
|
972
|
+
return this;
|
|
973
|
+
};
|
|
974
|
+
Canvas.prototype._colorize = function(pixels) {
|
|
975
|
+
const opacity = this.options.get("opacity", DEFAULT_OPTIONS.opacity);
|
|
976
|
+
for (let i = 3, length = pixels.length, j; i < length; i += 4) {
|
|
977
|
+
if (pixels[i]) {
|
|
978
|
+
j = 4 * pixels[i];
|
|
979
|
+
pixels[i - 3] = this._gradient[j];
|
|
980
|
+
pixels[i - 2] = this._gradient[j + 1];
|
|
981
|
+
pixels[i - 1] = this._gradient[j + 2];
|
|
982
|
+
pixels[i] = opacity * (this._gradient[j + 3] || 255);
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
provide(Canvas);
|
|
987
|
+
}
|
|
988
|
+
);
|
|
989
|
+
}
|
|
990
|
+
var Canvas_default = defineCanvas;
|
|
991
|
+
function defineDataConverter(ymaps) {
|
|
992
|
+
ymaps.modules.define("heatmap.component.dataConverter", [], function(provide) {
|
|
993
|
+
const dataConverter = {};
|
|
994
|
+
dataConverter.convert = function(data) {
|
|
995
|
+
let points = [];
|
|
996
|
+
if (typeof object == "string") {
|
|
997
|
+
data = JSON.parse(data);
|
|
998
|
+
}
|
|
999
|
+
if (this._isJsonFeatureCollection(data)) {
|
|
1000
|
+
for (let i = 0, l = data.features.length; i < l; i++) {
|
|
1001
|
+
points = points.concat(this.convert(data.features[i]));
|
|
1002
|
+
}
|
|
1003
|
+
} else if (this._isCoordinates(data)) {
|
|
1004
|
+
points.push(this._convertCoordinatesToPoint(data));
|
|
1005
|
+
} else {
|
|
1006
|
+
const dataArray = [].concat(data);
|
|
1007
|
+
for (let i = 0, l = dataArray.length, item; i < l; i++) {
|
|
1008
|
+
item = dataArray[i];
|
|
1009
|
+
if (this._isCoordinates(item)) {
|
|
1010
|
+
points.push(this._convertCoordinatesToPoint(item));
|
|
1011
|
+
} else if (this._isJsonGeometry(item) && item.type == "Point") {
|
|
1012
|
+
points.push(this._convertCoordinatesToPoint(item.coordinates));
|
|
1013
|
+
} else if (this._isJsonFeature(item) && item.geometry.type == "Point") {
|
|
1014
|
+
points.push(this._convertJsonFeatureToPoint(item));
|
|
1015
|
+
} else if (this._isGeoObject(item) && item.geometry.getType() == "Point") {
|
|
1016
|
+
points.push(this._convertGeoObjectToPoint(item));
|
|
1017
|
+
} else if (this._isCollection(item)) {
|
|
1018
|
+
const iterator = item.getIterator();
|
|
1019
|
+
let geoObject;
|
|
1020
|
+
while ((geoObject = iterator.getNext()) != iterator.STOP_ITERATION) {
|
|
1021
|
+
points = points.concat(this.convert(geoObject));
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
return points;
|
|
1027
|
+
};
|
|
1028
|
+
dataConverter._isJsonFeature = function(object2) {
|
|
1029
|
+
return object2.type == "Feature";
|
|
1030
|
+
};
|
|
1031
|
+
dataConverter._convertJsonFeatureToPoint = function(jsonFeature) {
|
|
1032
|
+
let weight = 1;
|
|
1033
|
+
if (jsonFeature.properties && jsonFeature.properties.weight) {
|
|
1034
|
+
weight = jsonFeature.properties.weight;
|
|
1035
|
+
}
|
|
1036
|
+
return {
|
|
1037
|
+
coordinates: jsonFeature.geometry.coordinates,
|
|
1038
|
+
weight
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
dataConverter._isJsonFeatureCollection = function(object2) {
|
|
1042
|
+
return object2.type == "FeatureCollection";
|
|
1043
|
+
};
|
|
1044
|
+
dataConverter._isCoordinates = function(object2) {
|
|
1045
|
+
return Object.prototype.toString.call(object2) == "[object Array]" && typeof object2[0] == "number" && typeof object2[1] == "number";
|
|
1046
|
+
};
|
|
1047
|
+
dataConverter._convertCoordinatesToPoint = function(coordinates) {
|
|
1048
|
+
return {
|
|
1049
|
+
coordinates,
|
|
1050
|
+
weight: 1
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
dataConverter._isJsonGeometry = function(object2) {
|
|
1054
|
+
return Boolean(object2.type && object2.coordinates);
|
|
1055
|
+
};
|
|
1056
|
+
dataConverter._isGeoObject = function(object2) {
|
|
1057
|
+
return Boolean(object2.geometry && object2.getOverlay);
|
|
1058
|
+
};
|
|
1059
|
+
dataConverter._convertGeoObjectToPoint = function(geoObject) {
|
|
1060
|
+
return {
|
|
1061
|
+
coordinates: geoObject.geometry.getCoordinates(),
|
|
1062
|
+
weight: geoObject.properties.get("weight") || 1
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
dataConverter._isCollection = function(object2) {
|
|
1066
|
+
return Boolean(object2.getIterator);
|
|
1067
|
+
};
|
|
1068
|
+
provide(dataConverter);
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1071
|
+
var DataConverter_default = defineDataConverter;
|
|
1072
|
+
function defineHeatmap(ymaps) {
|
|
1073
|
+
ymaps.modules.define(
|
|
1074
|
+
"Heatmap",
|
|
1075
|
+
[
|
|
1076
|
+
"option.Manager",
|
|
1077
|
+
"Monitor",
|
|
1078
|
+
"Layer",
|
|
1079
|
+
"heatmap.component.dataConverter",
|
|
1080
|
+
"heatmap.component.TileUrlsGenerator"
|
|
1081
|
+
],
|
|
1082
|
+
function(provide, OptionManager, Monitor, Layer2, dataConverter, TileUrlsGenerator) {
|
|
1083
|
+
const Heatmap = function(data, options) {
|
|
1084
|
+
this._unprocessedPoints = [];
|
|
1085
|
+
if (data) {
|
|
1086
|
+
this.setData(data);
|
|
1087
|
+
}
|
|
1088
|
+
this.options = new OptionManager(options);
|
|
1089
|
+
};
|
|
1090
|
+
Heatmap.prototype.getData = function() {
|
|
1091
|
+
return this._data || null;
|
|
1092
|
+
};
|
|
1093
|
+
Heatmap.prototype.setData = function(data) {
|
|
1094
|
+
this._data = data;
|
|
1095
|
+
const points = dataConverter.convert(data);
|
|
1096
|
+
if (this._tileUrlsGenerator) {
|
|
1097
|
+
this._tileUrlsGenerator.setPoints(points);
|
|
1098
|
+
this._refresh();
|
|
1099
|
+
} else {
|
|
1100
|
+
this._unprocessedPoints = points;
|
|
1101
|
+
}
|
|
1102
|
+
return this;
|
|
1103
|
+
};
|
|
1104
|
+
Heatmap.prototype.getMap = function() {
|
|
1105
|
+
return this._map;
|
|
1106
|
+
};
|
|
1107
|
+
Heatmap.prototype.setMap = function(map) {
|
|
1108
|
+
if (this._map != map) {
|
|
1109
|
+
if (this._layer) {
|
|
1110
|
+
this._map.layers.remove(this._layer);
|
|
1111
|
+
this._destroyLayer();
|
|
1112
|
+
}
|
|
1113
|
+
this._map = map;
|
|
1114
|
+
if (map) {
|
|
1115
|
+
this._setupLayer();
|
|
1116
|
+
this._map.layers.add(this._layer);
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
return this;
|
|
1120
|
+
};
|
|
1121
|
+
Heatmap.prototype.destroy = function() {
|
|
1122
|
+
this._data = null;
|
|
1123
|
+
this.setMap(null);
|
|
1124
|
+
};
|
|
1125
|
+
Heatmap.prototype._refresh = function() {
|
|
1126
|
+
if (this._layer) {
|
|
1127
|
+
this._layer.update();
|
|
1128
|
+
}
|
|
1129
|
+
return this;
|
|
1130
|
+
};
|
|
1131
|
+
Heatmap.prototype._setupLayer = function() {
|
|
1132
|
+
this._setupTileUrlsGenerator();
|
|
1133
|
+
const getTileUrl = this._tileUrlsGenerator.getTileUrl.bind(this._tileUrlsGenerator);
|
|
1134
|
+
this._layer = new Layer2(getTileUrl, { tileTransparent: true });
|
|
1135
|
+
this._setupOptionMonitor();
|
|
1136
|
+
return this._layer;
|
|
1137
|
+
};
|
|
1138
|
+
Heatmap.prototype._destroyLayer = function() {
|
|
1139
|
+
this._destroyTileUrlsGenerator();
|
|
1140
|
+
this._destroyOptionMonitor();
|
|
1141
|
+
this._layer = null;
|
|
1142
|
+
};
|
|
1143
|
+
Heatmap.prototype._setupTileUrlsGenerator = function() {
|
|
1144
|
+
this._tileUrlsGenerator = new TileUrlsGenerator(
|
|
1145
|
+
this._map.options.get("projection"),
|
|
1146
|
+
this._unprocessedPoints
|
|
1147
|
+
);
|
|
1148
|
+
this._unprocessedPoints = null;
|
|
1149
|
+
this._tileUrlsGenerator.options.setParent(this.options);
|
|
1150
|
+
return this._tileUrlsGenerator;
|
|
1151
|
+
};
|
|
1152
|
+
Heatmap.prototype._destroyTileUrlsGenerator = function() {
|
|
1153
|
+
this._unprocessedPoints = this._tileUrlsGenerator.getPoints();
|
|
1154
|
+
this._tileUrlsGenerator.destroy();
|
|
1155
|
+
this._tileUrlsGenerator = null;
|
|
1156
|
+
};
|
|
1157
|
+
Heatmap.prototype._setupOptionMonitor = function() {
|
|
1158
|
+
this._optionMonitor = new Monitor(this.options);
|
|
1159
|
+
return this._optionMonitor.add(
|
|
1160
|
+
["radius", "dissipating", "opacity", "intensityOfMidpoint", "gradient"],
|
|
1161
|
+
this._refresh,
|
|
1162
|
+
this
|
|
1163
|
+
);
|
|
1164
|
+
};
|
|
1165
|
+
Heatmap.prototype._destroyOptionMonitor = function() {
|
|
1166
|
+
this._optionMonitor.removeAll();
|
|
1167
|
+
this._optionMonitor = {};
|
|
1168
|
+
};
|
|
1169
|
+
provide(Heatmap);
|
|
1170
|
+
}
|
|
1171
|
+
);
|
|
1172
|
+
}
|
|
1173
|
+
var Heatmap_default = defineHeatmap;
|
|
1174
|
+
function defineTitleUrlsGenerator(ymaps) {
|
|
1175
|
+
ymaps.modules.define(
|
|
1176
|
+
"heatmap.component.TileUrlsGenerator",
|
|
1177
|
+
["option.Manager", "heatmap.component.Canvas"],
|
|
1178
|
+
function(provide, OptionManager, HeatmapCanvas) {
|
|
1179
|
+
const TILE_SIZE = [256, 256];
|
|
1180
|
+
const TileUrlsGenerator = function(projection, points) {
|
|
1181
|
+
this._projection = projection;
|
|
1182
|
+
this._canvas = new HeatmapCanvas(TILE_SIZE);
|
|
1183
|
+
this.options = new OptionManager({});
|
|
1184
|
+
this._canvas.options.setParent(this.options);
|
|
1185
|
+
this.setPoints(points || []);
|
|
1186
|
+
};
|
|
1187
|
+
TileUrlsGenerator.prototype.setPoints = function(points) {
|
|
1188
|
+
this._points = [];
|
|
1189
|
+
const weights = [];
|
|
1190
|
+
for (let i = 0, length = points.length; i < length; i++) {
|
|
1191
|
+
this._points.push({
|
|
1192
|
+
coordinates: this._projection.toGlobalPixels(points[i].coordinates, 0),
|
|
1193
|
+
weight: points[i].weight
|
|
1194
|
+
});
|
|
1195
|
+
weights.push(points[i].weight);
|
|
1196
|
+
}
|
|
1197
|
+
this._canvas.options.set("medianaOfWeights", findMediana(weights));
|
|
1198
|
+
return this;
|
|
1199
|
+
};
|
|
1200
|
+
TileUrlsGenerator.prototype.getPoints = function() {
|
|
1201
|
+
const points = [];
|
|
1202
|
+
for (let i = 0, length = this._points.length; i < length; i++) {
|
|
1203
|
+
points.push({
|
|
1204
|
+
coordinates: this._projection.fromGlobalPixels(
|
|
1205
|
+
this._points[i].coordinates,
|
|
1206
|
+
0
|
|
1207
|
+
),
|
|
1208
|
+
weight: this._points[i].weight
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
return points;
|
|
1212
|
+
};
|
|
1213
|
+
TileUrlsGenerator.prototype.getTileUrl = function(tileNumber, zoom) {
|
|
1214
|
+
const radiusFactor = this._canvas.options.get("radiusFactor");
|
|
1215
|
+
if (this.options.get("dissipating")) {
|
|
1216
|
+
const newRadiusFactor = calculateRadiusFactor(zoom);
|
|
1217
|
+
if (radiusFactor != newRadiusFactor) {
|
|
1218
|
+
this._canvas.options.set("radiusFactor", newRadiusFactor);
|
|
1219
|
+
}
|
|
1220
|
+
} else if (radiusFactor) {
|
|
1221
|
+
this._canvas.options.unset("radiusFactor");
|
|
1222
|
+
}
|
|
1223
|
+
const zoomFactor = Math.pow(2, zoom);
|
|
1224
|
+
const tileBounds = [
|
|
1225
|
+
[
|
|
1226
|
+
tileNumber[0] * TILE_SIZE[0] / zoomFactor,
|
|
1227
|
+
tileNumber[1] * TILE_SIZE[1] / zoomFactor
|
|
1228
|
+
],
|
|
1229
|
+
[
|
|
1230
|
+
(tileNumber[0] + 1) * TILE_SIZE[0] / zoomFactor,
|
|
1231
|
+
(tileNumber[1] + 1) * TILE_SIZE[1] / zoomFactor
|
|
1232
|
+
]
|
|
1233
|
+
];
|
|
1234
|
+
const tileMargin = this._canvas.getBrushRadius() / zoomFactor;
|
|
1235
|
+
const points = [];
|
|
1236
|
+
for (let i = 0, length = this._points.length, point; i < length; i++) {
|
|
1237
|
+
point = this._points[i].coordinates;
|
|
1238
|
+
if (this._contains(tileBounds, point, tileMargin)) {
|
|
1239
|
+
points.push({
|
|
1240
|
+
coordinates: [
|
|
1241
|
+
(point[0] - tileBounds[0][0]) * zoomFactor,
|
|
1242
|
+
(point[1] - tileBounds[0][1]) * zoomFactor
|
|
1243
|
+
],
|
|
1244
|
+
weight: this._points[i].weight
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
return this._canvas.generateDataURLHeatmap(points);
|
|
1249
|
+
};
|
|
1250
|
+
TileUrlsGenerator.prototype.destroy = function() {
|
|
1251
|
+
this._canvas.destroy();
|
|
1252
|
+
this._canvas = null;
|
|
1253
|
+
this._projection = null;
|
|
1254
|
+
};
|
|
1255
|
+
TileUrlsGenerator.prototype._contains = function(bounds, point, margin) {
|
|
1256
|
+
return point[0] >= bounds[0][0] - margin && point[0] <= bounds[1][0] + margin && point[1] >= bounds[0][1] - margin && point[1] <= bounds[1][1] + margin;
|
|
1257
|
+
};
|
|
1258
|
+
function calculateRadiusFactor(zoom) {
|
|
1259
|
+
return Math.pow(zoom / 10, 1.1);
|
|
1260
|
+
}
|
|
1261
|
+
function findMediana(selection) {
|
|
1262
|
+
const sortSelection = selection.sort(comparator);
|
|
1263
|
+
const center = sortSelection.length / 2;
|
|
1264
|
+
if (center !== Math.floor(center)) {
|
|
1265
|
+
return sortSelection[Math.floor(center)];
|
|
1266
|
+
} else {
|
|
1267
|
+
return (sortSelection[center - 1] + sortSelection[center]) / 2;
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
function comparator(a, b2) {
|
|
1271
|
+
return a - b2;
|
|
1272
|
+
}
|
|
1273
|
+
provide(TileUrlsGenerator);
|
|
1274
|
+
}
|
|
1275
|
+
);
|
|
1276
|
+
}
|
|
1277
|
+
var TileUrlsGenerator_default = defineTitleUrlsGenerator;
|
|
1278
|
+
function defineModules(ymaps) {
|
|
1279
|
+
Heatmap_default(ymaps);
|
|
1280
|
+
DataConverter_default(ymaps);
|
|
1281
|
+
TileUrlsGenerator_default(ymaps);
|
|
1282
|
+
Canvas_default(ymaps);
|
|
1283
|
+
}
|
|
1284
|
+
var modules_default = defineModules;
|
|
1285
|
+
const IS_DEVELOPMENT = process.env.NODE_ENV === "development";
|
|
1286
|
+
const ONLOAD = "__chartkit_ymaps_onload";
|
|
1287
|
+
const ONERROR = "__chartkit_ymaps_onerror";
|
|
1288
|
+
function getFetchUrl(lang, apiKey = "") {
|
|
1289
|
+
const apiKeyParam = apiKey ? `&apikey=${apiKey}` : "";
|
|
1290
|
+
return `https://api-maps.yandex.ru/2.1?lang=${lang}_RU${apiKeyParam}&mode=${IS_DEVELOPMENT ? "debug" : "release"}&ns=&onload=${ONLOAD}&onerror=${ONERROR}`;
|
|
1291
|
+
}
|
|
1292
|
+
function combinedMapper(feature) {
|
|
1293
|
+
const mappedFeature = defaultMapper_default.call(this, feature);
|
|
1294
|
+
const nameProperty = this.options.get("nameProperty");
|
|
1295
|
+
const name = nameProperty ? mappedFeature.properties[nameProperty] : void 0;
|
|
1296
|
+
return merge({}, mappedFeature, {
|
|
1297
|
+
properties: {
|
|
1298
|
+
name,
|
|
1299
|
+
text: this.options.get("valuesText"),
|
|
1300
|
+
value: this.options.get("fillBy") === "weight" ? mappedFeature.properties.pointsWeight : mappedFeature.properties.pointsCount
|
|
1301
|
+
}
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
function combinedMapperNoPoints(feature) {
|
|
1305
|
+
const mappedFeature = defaultMapper_default.call(this, feature);
|
|
1306
|
+
const nameProperty = this.options.get("nameProperty");
|
|
1307
|
+
const name = nameProperty ? mappedFeature.properties[nameProperty] : void 0;
|
|
1308
|
+
return merge({}, mappedFeature, {
|
|
1309
|
+
properties: {
|
|
1310
|
+
name,
|
|
1311
|
+
text: this.options.get("valuesText")
|
|
1312
|
+
}
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
function arrayOfArraysToPointsCollection(points) {
|
|
1316
|
+
return {
|
|
1317
|
+
type: "FeatureCollection",
|
|
1318
|
+
features: points.map(([coordA, coordB, weight]) => {
|
|
1319
|
+
return {
|
|
1320
|
+
geometry: {
|
|
1321
|
+
coordinates: [coordA, coordB],
|
|
1322
|
+
type: "Point"
|
|
1323
|
+
},
|
|
1324
|
+
properties: { weight },
|
|
1325
|
+
type: "Feature"
|
|
1326
|
+
};
|
|
1327
|
+
})
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1330
|
+
const GEO_OBJECT_TYPE = {
|
|
1331
|
+
POLYGONMAP: "polygonmap",
|
|
1332
|
+
GRIDMAP: "gridmap",
|
|
1333
|
+
HEATMAP: "heatmap",
|
|
1334
|
+
GEOCOLLECTION: "geocollection"
|
|
1335
|
+
};
|
|
1336
|
+
const b$3 = block("chartkit-tooltip");
|
|
1337
|
+
const TOOLTIP_TWIG_TEMPLATE = `<div
|
|
1338
|
+
class="${b$3({ "yandex-map": true })}"
|
|
1339
|
+
{% if (!(properties.name || properties.value !== undefined || properties.text || properties.data)) %}
|
|
1340
|
+
style="display: none"
|
|
1341
|
+
{% endif %}
|
|
1342
|
+
>
|
|
1343
|
+
{% if (properties.name) %}
|
|
1344
|
+
<div class="${b$3("header")}">
|
|
1345
|
+
{{properties.name}}
|
|
1346
|
+
</div>
|
|
1347
|
+
{% endif %}
|
|
1348
|
+
{% if (properties.value !== undefined || properties.text) %}
|
|
1349
|
+
<div class="${b$3("row")}">
|
|
1350
|
+
{% if (properties.value !== undefined) %}
|
|
1351
|
+
<div class="${b$3("cell", {
|
|
1352
|
+
"yandex-map": true
|
|
1353
|
+
})}">{{properties.value|number}}</div>
|
|
1354
|
+
{% endif %}
|
|
1355
|
+
{% if (properties.text) %}
|
|
1356
|
+
<div class="${b$3("cell", { "yandex-map": true })}">
|
|
1357
|
+
{% if (properties.rawText) %}
|
|
1358
|
+
{{properties.text|raw}}
|
|
1359
|
+
{% else %}
|
|
1360
|
+
{{properties.text}}
|
|
1361
|
+
{% endif %}
|
|
1362
|
+
</div>
|
|
1363
|
+
{% endif %}
|
|
1364
|
+
</div>
|
|
1365
|
+
{% endif %}
|
|
1366
|
+
{% if (properties.data) %}
|
|
1367
|
+
{% if (properties.value !== undefined || properties.text || properties.name) %}
|
|
1368
|
+
<wbr>
|
|
1369
|
+
{% endif %}
|
|
1370
|
+
{% for part in properties.data %}
|
|
1371
|
+
<div class="${b$3("row")}
|
|
1372
|
+
">
|
|
1373
|
+
{% if (properties.data.0.color) %}
|
|
1374
|
+
<div class="${b$3("cell")}">
|
|
1375
|
+
<span class="${b$3(
|
|
1376
|
+
"color"
|
|
1377
|
+
)}" style="background-color: {{part.color}};"></span>
|
|
1378
|
+
</div>
|
|
1379
|
+
{% endif %}
|
|
1380
|
+
<div class="${b$3("cell", { "yandex-map": true })}">{{part.weight|number}}</div>
|
|
1381
|
+
<div class="${b$3("cell", { "yandex-map": true })}">
|
|
1382
|
+
{% if (properties.rawText) %}
|
|
1383
|
+
{{part.text|raw}}
|
|
1384
|
+
{% else %}
|
|
1385
|
+
{{part.text}}
|
|
1386
|
+
{% endif %}
|
|
1387
|
+
</div>
|
|
1388
|
+
</div>
|
|
1389
|
+
{% endfor %}
|
|
1390
|
+
{% endif %}
|
|
1391
|
+
</div>`;
|
|
1392
|
+
function setHeatmapVisibility(heatmap, value) {
|
|
1393
|
+
if (value) {
|
|
1394
|
+
heatmap.options.set("opacity", heatmap.options.get("opacitySaved"));
|
|
1395
|
+
heatmap.options.set("opacitySaved", null);
|
|
1396
|
+
} else {
|
|
1397
|
+
heatmap.options.set("opacitySaved", heatmap.options.get("opacity"));
|
|
1398
|
+
heatmap.options.set("opacity", 0);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
function setPolygonmapVisibility(geoObject, value) {
|
|
1402
|
+
const objects = geoObject.objectManager.objects;
|
|
1403
|
+
objects.getAll().forEach(
|
|
1404
|
+
({
|
|
1405
|
+
id,
|
|
1406
|
+
options: {
|
|
1407
|
+
fillOpacity,
|
|
1408
|
+
fillOpacityHover,
|
|
1409
|
+
strokeWidth,
|
|
1410
|
+
strokeWidthHover,
|
|
1411
|
+
fillOpacitySaved,
|
|
1412
|
+
fillOpacityHoverSaved,
|
|
1413
|
+
strokeWidthSaved,
|
|
1414
|
+
strokeWidthHoverSaved
|
|
1415
|
+
}
|
|
1416
|
+
}) => {
|
|
1417
|
+
if (value) {
|
|
1418
|
+
objects.setObjectOptions(id, {
|
|
1419
|
+
openHintOnHover: true,
|
|
1420
|
+
zIndex: 100,
|
|
1421
|
+
fillOpacity: fillOpacitySaved,
|
|
1422
|
+
fillOpacityHover: fillOpacityHoverSaved,
|
|
1423
|
+
strokeWidth: strokeWidthSaved,
|
|
1424
|
+
strokeWidthHover: strokeWidthHoverSaved,
|
|
1425
|
+
fillOpacitySaved: null,
|
|
1426
|
+
fillOpacityHoverSaved: null,
|
|
1427
|
+
strokeWidthSaved: null,
|
|
1428
|
+
strokeWidthHoverSaved: null
|
|
1429
|
+
});
|
|
1430
|
+
} else {
|
|
1431
|
+
objects.setObjectOptions(id, {
|
|
1432
|
+
openHintOnHover: false,
|
|
1433
|
+
zIndex: -100,
|
|
1434
|
+
fillOpacity: 0,
|
|
1435
|
+
fillOpacityHover: 0,
|
|
1436
|
+
strokeWidth: 0,
|
|
1437
|
+
strokeWidthHover: 0,
|
|
1438
|
+
fillOpacitySaved: fillOpacity,
|
|
1439
|
+
fillOpacityHoverSaved: fillOpacityHover,
|
|
1440
|
+
strokeWidthSaved: strokeWidth,
|
|
1441
|
+
strokeWidthHoverSaved: strokeWidthHover
|
|
1442
|
+
});
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
);
|
|
1446
|
+
}
|
|
1447
|
+
class YandexMap {
|
|
1448
|
+
static _ymaps;
|
|
1449
|
+
static _promise;
|
|
1450
|
+
static _shared = {};
|
|
1451
|
+
static _loadApi(lang, apiKey) {
|
|
1452
|
+
return new Promise((resolve, reject) => {
|
|
1453
|
+
window[ONLOAD] = (api) => {
|
|
1454
|
+
YandexMap._ymaps = api;
|
|
1455
|
+
resolve(api);
|
|
1456
|
+
delete window[ONLOAD];
|
|
1457
|
+
};
|
|
1458
|
+
window[ONERROR] = (error) => {
|
|
1459
|
+
reject(ChartKitCustomError.wrap(error));
|
|
1460
|
+
delete window[ONERROR];
|
|
1461
|
+
};
|
|
1462
|
+
fetchScript(getFetchUrl(lang, apiKey)).catch((error) => {
|
|
1463
|
+
throw ChartKitCustomError.wrap(error);
|
|
1464
|
+
});
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
static async _initModules() {
|
|
1468
|
+
try {
|
|
1469
|
+
await YandexMap._ymaps.modules.require("layer.tileContainer.CanvasContainer").then(([canvasContainer]) => {
|
|
1470
|
+
if (canvasContainer?.superclass?.constructor) {
|
|
1471
|
+
const superclassCtor = canvasContainer.superclass.constructor;
|
|
1472
|
+
canvasContainer.superclass.constructor = function(...args) {
|
|
1473
|
+
const result = superclassCtor.call(this, args);
|
|
1474
|
+
this.options?.set("crossOrigin", "anonymous");
|
|
1475
|
+
return result;
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
});
|
|
1479
|
+
Gridmap_default(YandexMap._ymaps);
|
|
1480
|
+
modules_default(YandexMap._ymaps);
|
|
1481
|
+
YandexMap._ymaps.template.filtersStorage.add(
|
|
1482
|
+
"number",
|
|
1483
|
+
(dataLogger, value) => numberFormat(value)
|
|
1484
|
+
);
|
|
1485
|
+
YandexMap._shared.hintLayout = YandexMap._ymaps.templateLayoutFactory.createClass(
|
|
1486
|
+
TOOLTIP_TWIG_TEMPLATE,
|
|
1487
|
+
{
|
|
1488
|
+
// Defining the getShape method, which will return the dimensions of the hint layout.
|
|
1489
|
+
// This is necessary in order for the hint to automatically shift the position when going outside the map.
|
|
1490
|
+
getShape: function() {
|
|
1491
|
+
const element = this.getElement();
|
|
1492
|
+
let result = null;
|
|
1493
|
+
if (element) {
|
|
1494
|
+
const firstChild = element.firstChild;
|
|
1495
|
+
result = new YandexMap._ymaps.shape.Rectangle(
|
|
1496
|
+
new YandexMap._ymaps.geometry.pixel.Rectangle([
|
|
1497
|
+
[0, 0],
|
|
1498
|
+
[firstChild.offsetWidth, firstChild.offsetHeight]
|
|
1499
|
+
])
|
|
1500
|
+
);
|
|
1501
|
+
}
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
);
|
|
1506
|
+
YandexMap._shared.balloonContentLayout = YandexMap._ymaps.templateLayoutFactory.createClass(
|
|
1507
|
+
`{% if (properties.balloonContentHeader || properties.balloonContentBody || properties.balloonContentFooter) %}
|
|
1508
|
+
<div class="${b$3()}">
|
|
1509
|
+
<div class="${b$3("header")}">
|
|
1510
|
+
$[properties.balloonContentHeader]
|
|
1511
|
+
</div>
|
|
1512
|
+
<div class="${b$3("row")}">
|
|
1513
|
+
$[properties.balloonContentBody]
|
|
1514
|
+
</div>
|
|
1515
|
+
<div class="${b$3("footer")}">
|
|
1516
|
+
$[properties.balloonContentFooter]
|
|
1517
|
+
</div>
|
|
1518
|
+
</div>
|
|
1519
|
+
{% endif %}`
|
|
1520
|
+
);
|
|
1521
|
+
const Chips = YandexMap._ymaps.templateLayoutFactory.createClass(
|
|
1522
|
+
'<div class="chartkit-yandex-map-chips">$[properties.label]</div>',
|
|
1523
|
+
{
|
|
1524
|
+
build: function() {
|
|
1525
|
+
Chips.superclass.build.call(this);
|
|
1526
|
+
const map = this.getData().geoObject.getMap();
|
|
1527
|
+
if (!this.inited) {
|
|
1528
|
+
this.inited = true;
|
|
1529
|
+
let zoom = map.getZoom();
|
|
1530
|
+
map.events.add(
|
|
1531
|
+
"boundschange",
|
|
1532
|
+
function() {
|
|
1533
|
+
const currentZoom = map.getZoom();
|
|
1534
|
+
if (currentZoom !== zoom) {
|
|
1535
|
+
zoom = currentZoom;
|
|
1536
|
+
this.rebuild();
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
this
|
|
1540
|
+
);
|
|
1541
|
+
}
|
|
1542
|
+
const properties = this.getData().properties;
|
|
1543
|
+
const options = this.getData().options;
|
|
1544
|
+
const geoObjectOptions = this.getData().geoObject.options;
|
|
1545
|
+
const radius = properties.get("radius");
|
|
1546
|
+
const label = properties.get("label");
|
|
1547
|
+
const size = map.getZoom() * radius;
|
|
1548
|
+
const element = this.getParentElement().getElementsByClassName(
|
|
1549
|
+
"chartkit-yandex-map-chips"
|
|
1550
|
+
)[0];
|
|
1551
|
+
element.style.width = element.style.height = size + "px";
|
|
1552
|
+
element.style.marginLeft = element.style.marginTop = -size / 2 + "px";
|
|
1553
|
+
element.style.backgroundColor = options.get("color");
|
|
1554
|
+
element.style.opacity = geoObjectOptions.get("opacity");
|
|
1555
|
+
const MIN_SIZE_TO_SHOW_LABEL = 25;
|
|
1556
|
+
if (label && size >= MIN_SIZE_TO_SHOW_LABEL) {
|
|
1557
|
+
const BASE_TEXT_MULTIPLIER = 0.31;
|
|
1558
|
+
element.style.fontSize = size * BASE_TEXT_MULTIPLIER + "px";
|
|
1559
|
+
} else {
|
|
1560
|
+
element.style.fontSize = "0px";
|
|
1561
|
+
}
|
|
1562
|
+
const circleShape = { type: "Circle", coordinates: [0, 0], radius: size / 2 };
|
|
1563
|
+
options.set("shape", circleShape);
|
|
1564
|
+
const isActive = geoObjectOptions.get("active");
|
|
1565
|
+
const classNames = new Set(element.className.split(" "));
|
|
1566
|
+
if (isActive === true) {
|
|
1567
|
+
classNames.delete("inactive");
|
|
1568
|
+
classNames.add("active");
|
|
1569
|
+
} else if (isActive === false) {
|
|
1570
|
+
classNames.delete("active");
|
|
1571
|
+
classNames.add("inactive");
|
|
1572
|
+
} else {
|
|
1573
|
+
classNames.delete("inactive");
|
|
1574
|
+
classNames.delete("active");
|
|
1575
|
+
}
|
|
1576
|
+
element.className = Array.from(classNames).join(" ");
|
|
1577
|
+
this.optionsMonitor = new YandexMap._ymaps.Monitor(geoObjectOptions).add(
|
|
1578
|
+
"opacity",
|
|
1579
|
+
(newValue) => {
|
|
1580
|
+
element.style.opacity = newValue;
|
|
1581
|
+
}
|
|
1582
|
+
);
|
|
1583
|
+
},
|
|
1584
|
+
clear: function() {
|
|
1585
|
+
Chips.superclass.clear.call(this);
|
|
1586
|
+
this.optionsMonitor.removeAll();
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
);
|
|
1590
|
+
YandexMap._ymaps.option.presetStorage.add("chartkit#chips", { iconLayout: Chips });
|
|
1591
|
+
} catch (error) {
|
|
1592
|
+
throw ChartKitCustomError.wrap(error);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
// TODO: Calling YandexMap._initModules and YandexMap._promise = null look kind of sloppy
|
|
1596
|
+
static async _initYmaps(lang, apiKey) {
|
|
1597
|
+
try {
|
|
1598
|
+
if (window.ymaps) {
|
|
1599
|
+
YandexMap._ymaps = window.ymaps;
|
|
1600
|
+
} else if (!YandexMap._promise) {
|
|
1601
|
+
YandexMap._promise = YandexMap._loadApi(lang, apiKey).then(YandexMap._initModules);
|
|
1602
|
+
}
|
|
1603
|
+
await YandexMap._promise;
|
|
1604
|
+
} catch (error) {
|
|
1605
|
+
YandexMap._promise = null;
|
|
1606
|
+
throw ChartKitCustomError.wrap(error);
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
static async draw({ node, data, config, events, lang }) {
|
|
1610
|
+
let yandexMapAPIWaiting = null;
|
|
1611
|
+
let geoObjectsInstantiationDuration = null;
|
|
1612
|
+
const { ymap: { state, options: configOptions, apiKey } = {} } = config;
|
|
1613
|
+
if (!YandexMap._ymaps) {
|
|
1614
|
+
const initYmapsMarkId = getRandomCKId();
|
|
1615
|
+
Performance.mark(initYmapsMarkId);
|
|
1616
|
+
await YandexMap._initYmaps(lang, apiKey);
|
|
1617
|
+
yandexMapAPIWaiting = Performance.getDuration(initYmapsMarkId);
|
|
1618
|
+
}
|
|
1619
|
+
const bounds = state.bounds;
|
|
1620
|
+
if (bounds && isEqual(bounds[0], bounds[1])) {
|
|
1621
|
+
const zoomRange = await YandexMap._ymaps.getZoomRange("yandex#map", bounds[0]);
|
|
1622
|
+
state.center = bounds[0];
|
|
1623
|
+
state.zoom = zoomRange[1];
|
|
1624
|
+
delete state.bounds;
|
|
1625
|
+
}
|
|
1626
|
+
const geoObjectsInstantiationMarkId = getRandomCKId();
|
|
1627
|
+
Performance.mark(geoObjectsInstantiationMarkId);
|
|
1628
|
+
const map = new YandexMap._ymaps.Map(
|
|
1629
|
+
node,
|
|
1630
|
+
{
|
|
1631
|
+
controls: [],
|
|
1632
|
+
behaviors: [],
|
|
1633
|
+
...state
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
yandexMapDisablePoiInteractivity: true,
|
|
1637
|
+
suppressMapOpenBlock: true,
|
|
1638
|
+
hintCloseTimeout: 100,
|
|
1639
|
+
hintOpenTimeout: 100,
|
|
1640
|
+
hintPane: "hint",
|
|
1641
|
+
hintLayout: YandexMap._shared.hintLayout,
|
|
1642
|
+
balloonPanelMaxMapArea: 0,
|
|
1643
|
+
autoFitToViewport: "always",
|
|
1644
|
+
...configOptions
|
|
1645
|
+
}
|
|
1646
|
+
);
|
|
1647
|
+
if (events) {
|
|
1648
|
+
Object.entries(events).forEach(([key, value]) => {
|
|
1649
|
+
map.events.add(key, value);
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
const extendOptions = (options) => {
|
|
1653
|
+
const result = {
|
|
1654
|
+
balloonContentLayout: YandexMap._shared.balloonContentLayout,
|
|
1655
|
+
...options
|
|
1656
|
+
};
|
|
1657
|
+
if (result.showCustomLegend) {
|
|
1658
|
+
result.showLegend = false;
|
|
1659
|
+
}
|
|
1660
|
+
return result;
|
|
1661
|
+
};
|
|
1662
|
+
if (isEmpty(data)) {
|
|
1663
|
+
throw new ChartKitCustomError(null, { code: ERROR_CODE.NO_DATA });
|
|
1664
|
+
}
|
|
1665
|
+
const responses = await Promise.allSettled(
|
|
1666
|
+
data.map(async (item, index) => {
|
|
1667
|
+
if (item.collection) {
|
|
1668
|
+
const {
|
|
1669
|
+
collection: { geometry, properties, children }
|
|
1670
|
+
} = item;
|
|
1671
|
+
const geoObjectChildren = children.reduce(
|
|
1672
|
+
(result, { feature, options: childOptions }) => {
|
|
1673
|
+
result.push(new YandexMap._ymaps.GeoObject(feature, childOptions));
|
|
1674
|
+
return result;
|
|
1675
|
+
},
|
|
1676
|
+
[]
|
|
1677
|
+
);
|
|
1678
|
+
const geoCollection = new YandexMap._ymaps.GeoObjectCollection(
|
|
1679
|
+
{ geometry, properties, children: geoObjectChildren },
|
|
1680
|
+
{
|
|
1681
|
+
...extendOptions(item.options),
|
|
1682
|
+
geoObjectType: GEO_OBJECT_TYPE.GEOCOLLECTION,
|
|
1683
|
+
zIndex: index
|
|
1684
|
+
}
|
|
1685
|
+
);
|
|
1686
|
+
map.geoObjects.add(geoCollection);
|
|
1687
|
+
return geoCollection;
|
|
1688
|
+
} else if (item.clusterer) {
|
|
1689
|
+
const { clusterer, options } = item;
|
|
1690
|
+
const geoClusterer = new YandexMap._ymaps.Clusterer(options);
|
|
1691
|
+
clusterer.forEach(({ feature, options: innerOptions }) => {
|
|
1692
|
+
const geoObject = new YandexMap._ymaps.GeoObject(
|
|
1693
|
+
feature,
|
|
1694
|
+
extendOptions(innerOptions)
|
|
1695
|
+
);
|
|
1696
|
+
geoClusterer.add(geoObject);
|
|
1697
|
+
});
|
|
1698
|
+
map.geoObjects.add(geoClusterer);
|
|
1699
|
+
return geoClusterer;
|
|
1700
|
+
} else if (item.polygonmap) {
|
|
1701
|
+
const {
|
|
1702
|
+
polygonmap: {
|
|
1703
|
+
polygons,
|
|
1704
|
+
points = { type: "FeatureCollection", features: [] },
|
|
1705
|
+
values
|
|
1706
|
+
},
|
|
1707
|
+
options
|
|
1708
|
+
} = item;
|
|
1709
|
+
const featurePointsCollection = points.type === "FeatureCollection" ? points : arrayOfArraysToPointsCollection(points);
|
|
1710
|
+
const useValues = options.joinByProperty && values;
|
|
1711
|
+
if (useValues) {
|
|
1712
|
+
const valuesDict = values.reduce((result, value) => {
|
|
1713
|
+
const key = value[options.joinByProperty];
|
|
1714
|
+
result[key] = value.value;
|
|
1715
|
+
return result;
|
|
1716
|
+
}, {});
|
|
1717
|
+
polygons.features = polygons.features.map((feature) => {
|
|
1718
|
+
const key = feature.properties[options.joinByProperty];
|
|
1719
|
+
return merge({}, feature, { properties: { pointsCount: valuesDict[key] } });
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
return new Promise((resolve, reject) => {
|
|
1723
|
+
YandexMap._ymaps.modules.require(["Polygonmap"], (Polygonmap) => {
|
|
1724
|
+
if (options.mapper === "emptyMapper") {
|
|
1725
|
+
delete options.mapper;
|
|
1726
|
+
}
|
|
1727
|
+
const mapper = featurePointsCollection.features.length || useValues ? combinedMapper : combinedMapperNoPoints;
|
|
1728
|
+
let polygonmap = new Polygonmap(
|
|
1729
|
+
{ polygons, points: featurePointsCollection },
|
|
1730
|
+
Object.assign(
|
|
1731
|
+
{
|
|
1732
|
+
colorRangesMinimum: 1,
|
|
1733
|
+
onClick: function() {
|
|
1734
|
+
},
|
|
1735
|
+
mapper,
|
|
1736
|
+
geoObjectType: GEO_OBJECT_TYPE.POLYGONMAP
|
|
1737
|
+
},
|
|
1738
|
+
extendOptions(options)
|
|
1739
|
+
)
|
|
1740
|
+
);
|
|
1741
|
+
try {
|
|
1742
|
+
polygonmap = polygonmap.setMap(map);
|
|
1743
|
+
} catch (error) {
|
|
1744
|
+
logger.logError("YandexMapModule.draw failed [Polygonmap]", error);
|
|
1745
|
+
reject();
|
|
1746
|
+
}
|
|
1747
|
+
if (polygonmap.options.get("visible") === false) {
|
|
1748
|
+
setPolygonmapVisibility(polygonmap, false);
|
|
1749
|
+
}
|
|
1750
|
+
polygonmap.optionsMonitor = new YandexMap._ymaps.Monitor(
|
|
1751
|
+
polygonmap.options
|
|
1752
|
+
).add(
|
|
1753
|
+
"visible",
|
|
1754
|
+
(newValue) => setPolygonmapVisibility(polygonmap, newValue)
|
|
1755
|
+
);
|
|
1756
|
+
resolve(polygonmap);
|
|
1757
|
+
});
|
|
1758
|
+
});
|
|
1759
|
+
}
|
|
1760
|
+
if (item.gridmap) {
|
|
1761
|
+
const featurePointsCollection = item.gridmap.type === "FeatureCollection" ? item.gridmap : arrayOfArraysToPointsCollection(item.gridmap);
|
|
1762
|
+
return new Promise((resolve) => {
|
|
1763
|
+
YandexMap._ymaps.modules.require(["Gridmap"], (Gridmap) => {
|
|
1764
|
+
let gridmap = new Gridmap(
|
|
1765
|
+
featurePointsCollection,
|
|
1766
|
+
merge(
|
|
1767
|
+
{
|
|
1768
|
+
filterEmptyPolygons: true,
|
|
1769
|
+
colorRangesMinimum: 1,
|
|
1770
|
+
onClick: function() {
|
|
1771
|
+
},
|
|
1772
|
+
mapper: combinedMapper,
|
|
1773
|
+
geoObjectType: GEO_OBJECT_TYPE.GRIDMAP
|
|
1774
|
+
},
|
|
1775
|
+
extendOptions(item.options)
|
|
1776
|
+
)
|
|
1777
|
+
);
|
|
1778
|
+
gridmap = gridmap.setMap(map);
|
|
1779
|
+
if (gridmap.options.get("visible") === false) {
|
|
1780
|
+
setPolygonmapVisibility(gridmap, false);
|
|
1781
|
+
}
|
|
1782
|
+
gridmap.optionsMonitor = new YandexMap._ymaps.Monitor(
|
|
1783
|
+
gridmap.options
|
|
1784
|
+
).add(
|
|
1785
|
+
"visible",
|
|
1786
|
+
(newValue) => setPolygonmapVisibility(gridmap, newValue)
|
|
1787
|
+
);
|
|
1788
|
+
resolve(gridmap);
|
|
1789
|
+
});
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
if (item.heatmap) {
|
|
1793
|
+
return new Promise((resolve) => {
|
|
1794
|
+
YandexMap._ymaps.modules.require(["Heatmap"], (Heatmap) => {
|
|
1795
|
+
const heatmap = new Heatmap(item.heatmap, {
|
|
1796
|
+
...extendOptions(item.options),
|
|
1797
|
+
geoObjectType: GEO_OBJECT_TYPE.HEATMAP
|
|
1798
|
+
});
|
|
1799
|
+
if (heatmap.options.get("visible") === false) {
|
|
1800
|
+
setHeatmapVisibility(heatmap, false);
|
|
1801
|
+
}
|
|
1802
|
+
heatmap.setMap(map);
|
|
1803
|
+
heatmap.optionsMonitor = new YandexMap._ymaps.Monitor(
|
|
1804
|
+
heatmap.options
|
|
1805
|
+
).add("visible", (newValue) => setHeatmapVisibility(heatmap, newValue));
|
|
1806
|
+
resolve(heatmap);
|
|
1807
|
+
});
|
|
1808
|
+
});
|
|
1809
|
+
} else {
|
|
1810
|
+
const { feature, options } = item;
|
|
1811
|
+
const geoObject = new YandexMap._ymaps.GeoObject(
|
|
1812
|
+
feature,
|
|
1813
|
+
extendOptions(options)
|
|
1814
|
+
);
|
|
1815
|
+
map.geoObjects.add(geoObject);
|
|
1816
|
+
return geoObject;
|
|
1817
|
+
}
|
|
1818
|
+
})
|
|
1819
|
+
);
|
|
1820
|
+
const geoObjects = responses.reduce((acc, response) => {
|
|
1821
|
+
if (response.status === "fulfilled") {
|
|
1822
|
+
acc.push(response.value);
|
|
1823
|
+
}
|
|
1824
|
+
return acc;
|
|
1825
|
+
}, []);
|
|
1826
|
+
geoObjectsInstantiationDuration = Performance.getDuration(geoObjectsInstantiationMarkId);
|
|
1827
|
+
const mapPerformanceMetrics = {
|
|
1828
|
+
geoObjectsInstantiationDuration,
|
|
1829
|
+
yandexMapAPIWaiting
|
|
1830
|
+
};
|
|
1831
|
+
return { map, geoObjects, mapPerformanceMetrics };
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
var yandex_map_default = YandexMap;
|
|
1835
|
+
const EyeSlashIcon = () => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
1836
|
+
"path",
|
|
1837
|
+
{
|
|
1838
|
+
d: "M15.8502 13.3666L0.923557 1.70983C0.848674 1.65991 0.74883 1.60999 0.673947 1.60999C0.549142 1.60999 0.424337 1.68487 0.349454 1.75975L0.099844 2.08424C0.049922 2.13417 0 2.25897 0 2.33385C0 2.4337 0.074883 2.58346 0.174727 2.63339L15.1014 14.3151C15.1513 14.3651 15.2512 14.39 15.351 14.39C15.4509 14.39 15.5757 14.3401 15.6505 14.2403L15.9002 13.9407C15.9501 13.8908 16 13.766 16 13.6911C16 13.5913 15.9251 13.4415 15.8502 13.3666ZM7.41342 5.27925L10.7832 7.90016C10.7332 6.4025 9.51014 5.20437 8.01248 5.20437C7.83775 5.22933 7.58814 5.25429 7.41342 5.27925ZM8.58658 10.7457L5.21685 8.12481C5.26677 9.62247 6.48986 10.7956 8.01248 10.7956C8.16225 10.7956 8.41186 10.7707 8.58658 10.7457ZM8.01248 4.40562C10.4587 4.40562 12.7301 5.77847 13.9282 8C13.6786 8.47426 13.2044 9.14821 12.83 9.52262L13.7785 10.2465C14.2278 9.77223 14.8019 8.94852 15.1014 8.37442C15.1513 8.27457 15.2012 8.12481 15.2012 8C15.2012 7.90016 15.1513 7.75039 15.1014 7.65055C13.7535 5.00468 11.0577 3.20749 8.01248 3.20749C7.08892 3.20749 6.21529 3.38222 5.39158 3.68175L6.53978 4.60531C7.01404 4.4805 7.51326 4.40562 8.01248 4.40562ZM8.01248 11.5944C5.54134 11.5944 3.26989 10.2215 2.07176 8C2.32137 7.5507 2.79563 6.87676 3.17005 6.50234L2.22153 5.77847C1.77223 6.25273 1.19813 7.07644 0.898596 7.65055C0.848674 7.75039 0.823713 7.90016 0.823713 8.02496C0.823713 8.12481 0.848674 8.27457 0.898596 8.37442C2.24649 11.0203 4.94228 12.7925 8.01248 12.7925C8.91108 12.7925 9.78471 12.6178 10.6084 12.3432L9.46022 11.4197C8.98596 11.5445 8.48674 11.5944 8.01248 11.5944Z",
|
|
1839
|
+
fill: "currentColor"
|
|
1840
|
+
}
|
|
1841
|
+
) });
|
|
1842
|
+
const SizeIcon = () => /* @__PURE__ */ jsx(
|
|
1843
|
+
"svg",
|
|
1844
|
+
{
|
|
1845
|
+
width: "164",
|
|
1846
|
+
height: "12",
|
|
1847
|
+
viewBox: "0 0 164 12",
|
|
1848
|
+
fill: "none",
|
|
1849
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1850
|
+
children: /* @__PURE__ */ jsx("path", { d: "M0.5 11.5V9.46973L163.5 0.532226V11.5H0.5Z", stroke: "currentColor" })
|
|
1851
|
+
}
|
|
1852
|
+
);
|
|
1853
|
+
const b$2 = block("chartkit-ymap-legend-layer");
|
|
1854
|
+
function wrappedFormatNumber(value) {
|
|
1855
|
+
return formatNumber(value, { precision: "auto", unit: "auto" });
|
|
1856
|
+
}
|
|
1857
|
+
class Layer extends React__default.PureComponent {
|
|
1858
|
+
constructor() {
|
|
1859
|
+
super(...arguments);
|
|
1860
|
+
this.state = {
|
|
1861
|
+
layerVisibility: typeof this.props.geoObject.options.get("visible") === "boolean" ? this.props.geoObject.options.get("visible") : true,
|
|
1862
|
+
categoriesVisibility: false
|
|
1863
|
+
};
|
|
1864
|
+
this.componentDidUpdate = (prevProps) => {
|
|
1865
|
+
if (prevProps !== this.props) {
|
|
1866
|
+
this.setState({
|
|
1867
|
+
layerVisibility: typeof this.props.geoObject.options.get("visible") === "boolean" ? this.props.geoObject.options.get("visible") : true,
|
|
1868
|
+
categoriesVisibility: false
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
};
|
|
1872
|
+
this.onClickShowToggle = () => {
|
|
1873
|
+
const newVisibilityValue = !this.state.layerVisibility;
|
|
1874
|
+
this.setState({
|
|
1875
|
+
layerVisibility: newVisibilityValue
|
|
1876
|
+
});
|
|
1877
|
+
this.props.onSetVisibility(
|
|
1878
|
+
this.props.geoObject.options.get("geoObjectId"),
|
|
1879
|
+
newVisibilityValue
|
|
1880
|
+
);
|
|
1881
|
+
};
|
|
1882
|
+
this.onClickCollapseToggle = () => {
|
|
1883
|
+
const newVisibilityValue = !this.state.categoriesVisibility;
|
|
1884
|
+
this.setState({
|
|
1885
|
+
categoriesVisibility: newVisibilityValue
|
|
1886
|
+
});
|
|
1887
|
+
};
|
|
1888
|
+
}
|
|
1889
|
+
render() {
|
|
1890
|
+
const { geoObject, singleLayerMode } = this.props;
|
|
1891
|
+
const { layerVisibility, categoriesVisibility } = this.state;
|
|
1892
|
+
const layerTitle = geoObject.options.get("layerTitle");
|
|
1893
|
+
const geoObjectId = geoObject.options.get("geoObjectId");
|
|
1894
|
+
const geoObjectType = geoObject.options.get("geoObjectType");
|
|
1895
|
+
const mode = geoObject.options.get("mode");
|
|
1896
|
+
const sizeTitle = geoObject.options.get("sizeTitle");
|
|
1897
|
+
const sizeMinValue = geoObject.options.get("sizeMinValue");
|
|
1898
|
+
const sizeMaxValue = geoObject.options.get("sizeMaxValue");
|
|
1899
|
+
let colorTitle = geoObject.options.get("colorTitle");
|
|
1900
|
+
const gradient = geoObject.options.get("gradient");
|
|
1901
|
+
const isCustomPalette = geoObject.options.get("isCustomPalette");
|
|
1902
|
+
const gradientData = geoObject.options.get("gradientData");
|
|
1903
|
+
const colorDictionary = geoObject.options.get("colorDictionary");
|
|
1904
|
+
let colorDictionaryKeys = [];
|
|
1905
|
+
let customColorDictionaryKeys = [];
|
|
1906
|
+
if (colorDictionary) {
|
|
1907
|
+
colorDictionaryKeys = Object.keys(colorDictionary);
|
|
1908
|
+
if (colorDictionaryKeys.length > 10) {
|
|
1909
|
+
customColorDictionaryKeys = colorDictionaryKeys.slice(0, 10);
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
const colorMinValue = geoObject.options.get("colorMinValue");
|
|
1913
|
+
const colorMaxValue = geoObject.options.get("colorMaxValue");
|
|
1914
|
+
const colorMidValue = geoObject.options.get("colorMidValue");
|
|
1915
|
+
let previewStyle;
|
|
1916
|
+
if (mode === "gradient") {
|
|
1917
|
+
previewStyle = {
|
|
1918
|
+
background: `linear-gradient(90deg, ${gradientData.colors.map((stage) => `rgb(${Object.values(stage).join(",")})`).join(", ")})`
|
|
1919
|
+
};
|
|
1920
|
+
} else if (geoObjectType === GEO_OBJECT_TYPE.HEATMAP) {
|
|
1921
|
+
previewStyle = {
|
|
1922
|
+
background: `linear-gradient(90deg, ${Object.keys(gradient).sort().map((stage) => gradient[stage]).join(",")}`
|
|
1923
|
+
};
|
|
1924
|
+
colorTitle = colorTitle || i18n("chartkit-ymap-legend", "label-heatmap");
|
|
1925
|
+
}
|
|
1926
|
+
if (singleLayerMode && !colorTitle && !sizeTitle) {
|
|
1927
|
+
return null;
|
|
1928
|
+
}
|
|
1929
|
+
return /* @__PURE__ */ jsxs("div", { className: b$2({ hidden: !layerVisibility }), children: [
|
|
1930
|
+
!singleLayerMode && /* @__PURE__ */ jsxs("div", { className: b$2("header"), children: [
|
|
1931
|
+
/* @__PURE__ */ jsx("span", { className: b$2("layer-title"), title: layerTitle, children: layerTitle }),
|
|
1932
|
+
/* @__PURE__ */ jsx(
|
|
1933
|
+
Button,
|
|
1934
|
+
{
|
|
1935
|
+
className: b$2("visibility-button"),
|
|
1936
|
+
view: "flat",
|
|
1937
|
+
onClick: this.onClickShowToggle,
|
|
1938
|
+
children: /* @__PURE__ */ jsx(Icon, { data: EyeSlashIcon })
|
|
1939
|
+
}
|
|
1940
|
+
)
|
|
1941
|
+
] }),
|
|
1942
|
+
colorTitle && /* @__PURE__ */ jsx("div", { className: b$2("color-title"), title: colorTitle, children: colorTitle }),
|
|
1943
|
+
mode === "gradient" && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1944
|
+
/* @__PURE__ */ jsx("div", { className: b$2("color-preview"), style: previewStyle }),
|
|
1945
|
+
/* @__PURE__ */ jsxs("div", { className: b$2("preview-legend"), children: [
|
|
1946
|
+
/* @__PURE__ */ jsx("span", { children: wrappedFormatNumber(colorMinValue) }),
|
|
1947
|
+
typeof colorMidValue === "number" && /* @__PURE__ */ jsx("span", { children: wrappedFormatNumber(colorMidValue) }),
|
|
1948
|
+
/* @__PURE__ */ jsx("span", { children: wrappedFormatNumber(colorMaxValue) })
|
|
1949
|
+
] })
|
|
1950
|
+
] }),
|
|
1951
|
+
geoObjectType === GEO_OBJECT_TYPE.HEATMAP && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1952
|
+
/* @__PURE__ */ jsx(
|
|
1953
|
+
"div",
|
|
1954
|
+
{
|
|
1955
|
+
className: b$2("color-preview", { "default-heatmap": !isCustomPalette }),
|
|
1956
|
+
style: previewStyle
|
|
1957
|
+
}
|
|
1958
|
+
),
|
|
1959
|
+
/* @__PURE__ */ jsxs("div", { className: b$2("preview-legend"), children: [
|
|
1960
|
+
/* @__PURE__ */ jsx("span", { children: "min" }),
|
|
1961
|
+
/* @__PURE__ */ jsx("span", { children: "max" })
|
|
1962
|
+
] })
|
|
1963
|
+
] }),
|
|
1964
|
+
mode === "dictionary" && colorDictionary && /* @__PURE__ */ jsxs("div", { className: b$2("list"), children: [
|
|
1965
|
+
customColorDictionaryKeys.length > 0 && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1966
|
+
(categoriesVisibility ? colorDictionaryKeys : customColorDictionaryKeys).map((key) => /* @__PURE__ */ jsxs("div", { className: b$2("row"), children: [
|
|
1967
|
+
/* @__PURE__ */ jsx(
|
|
1968
|
+
"span",
|
|
1969
|
+
{
|
|
1970
|
+
className: b$2("color"),
|
|
1971
|
+
style: { background: colorDictionary[key] }
|
|
1972
|
+
}
|
|
1973
|
+
),
|
|
1974
|
+
/* @__PURE__ */ jsx("span", { className: b$2("value"), children: key })
|
|
1975
|
+
] }, key)),
|
|
1976
|
+
/* @__PURE__ */ jsx(
|
|
1977
|
+
"div",
|
|
1978
|
+
{
|
|
1979
|
+
className: b$2("row", { action: true }),
|
|
1980
|
+
onClick: this.onClickCollapseToggle,
|
|
1981
|
+
children: /* @__PURE__ */ jsx("span", { className: b$2("value"), children: categoriesVisibility ? i18n("chartkit-ymap-legend", "label-hide") : i18n("chartkit-ymap-legend", "label-more", {
|
|
1982
|
+
count: colorDictionaryKeys.length - 10
|
|
1983
|
+
}) })
|
|
1984
|
+
},
|
|
1985
|
+
"others"
|
|
1986
|
+
)
|
|
1987
|
+
] }),
|
|
1988
|
+
customColorDictionaryKeys.length === 0 && colorDictionaryKeys && colorDictionaryKeys.map((key) => /* @__PURE__ */ jsxs("div", { className: b$2("row"), children: [
|
|
1989
|
+
/* @__PURE__ */ jsx(
|
|
1990
|
+
"span",
|
|
1991
|
+
{
|
|
1992
|
+
className: b$2("color"),
|
|
1993
|
+
style: { background: colorDictionary[key] }
|
|
1994
|
+
}
|
|
1995
|
+
),
|
|
1996
|
+
/* @__PURE__ */ jsx("span", { className: b$2("value"), children: key })
|
|
1997
|
+
] }, key))
|
|
1998
|
+
] }),
|
|
1999
|
+
typeof sizeTitle === "string" && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
2000
|
+
/* @__PURE__ */ jsx("div", { className: b$2("size-title"), title: sizeTitle, children: sizeTitle }),
|
|
2001
|
+
/* @__PURE__ */ jsx("div", { className: b$2("size-preview"), children: /* @__PURE__ */ jsx(SizeIcon, {}) }),
|
|
2002
|
+
/* @__PURE__ */ jsxs("div", { className: b$2("preview-legend"), children: [
|
|
2003
|
+
/* @__PURE__ */ jsx("span", { children: wrappedFormatNumber(sizeMinValue) }),
|
|
2004
|
+
/* @__PURE__ */ jsx("span", { children: wrappedFormatNumber(sizeMaxValue) })
|
|
2005
|
+
] })
|
|
2006
|
+
] })
|
|
2007
|
+
] }, geoObjectId);
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
const b$1 = block("chartkit-ymap-legend");
|
|
2011
|
+
const Legend = ({ geoObjects, onSetVisibility }) => {
|
|
2012
|
+
const filteredGeoObjects = geoObjects.filter((geoObject) => {
|
|
2013
|
+
return [
|
|
2014
|
+
GEO_OBJECT_TYPE.POLYGONMAP,
|
|
2015
|
+
GEO_OBJECT_TYPE.GRIDMAP,
|
|
2016
|
+
GEO_OBJECT_TYPE.GEOCOLLECTION,
|
|
2017
|
+
GEO_OBJECT_TYPE.HEATMAP
|
|
2018
|
+
].includes(geoObject.options.get("geoObjectType")) && geoObject.options.get("showCustomLegend");
|
|
2019
|
+
});
|
|
2020
|
+
if (filteredGeoObjects.length === 0) {
|
|
2021
|
+
return null;
|
|
2022
|
+
}
|
|
2023
|
+
const singleLayerMode = filteredGeoObjects.length === 1;
|
|
2024
|
+
return /* @__PURE__ */ jsx("div", { className: b$1(), children: filteredGeoObjects.map((geoObject, index) => /* @__PURE__ */ jsx(
|
|
2025
|
+
Layer,
|
|
2026
|
+
{
|
|
2027
|
+
geoObject,
|
|
2028
|
+
onSetVisibility,
|
|
2029
|
+
singleLayerMode
|
|
2030
|
+
},
|
|
2031
|
+
index
|
|
2032
|
+
)) });
|
|
2033
|
+
};
|
|
2034
|
+
function setSelectedState(args) {
|
|
2035
|
+
const { data, actionParams } = args;
|
|
2036
|
+
data.forEach((item) => {
|
|
2037
|
+
const polygons = get(item, "polygonmap.polygons.features", []);
|
|
2038
|
+
if (polygons.length) {
|
|
2039
|
+
const anySelected = polygons.some((polygon) => {
|
|
2040
|
+
const ap = polygon?.properties?.custom?.actionParams ?? {};
|
|
2041
|
+
return hasMatchedActionParams(ap, actionParams);
|
|
2042
|
+
});
|
|
2043
|
+
polygons.forEach((polygon) => {
|
|
2044
|
+
let selected;
|
|
2045
|
+
if (anySelected) {
|
|
2046
|
+
const ap = polygon?.properties?.custom?.actionParams ?? {};
|
|
2047
|
+
selected = hasMatchedActionParams(ap, actionParams);
|
|
2048
|
+
}
|
|
2049
|
+
if (selected === false) {
|
|
2050
|
+
const originalFillColor = polygon.options.fillColor;
|
|
2051
|
+
polygon.options.fillColorHover = originalFillColor;
|
|
2052
|
+
polygon.options.fillColor = originalFillColor ? gray(lab(originalFillColor).l).formatRgb() : void 0;
|
|
2053
|
+
polygon.options.fillOpacity = 0.5;
|
|
2054
|
+
}
|
|
2055
|
+
});
|
|
2056
|
+
return;
|
|
2057
|
+
}
|
|
2058
|
+
const geoPoints = get(item, "collection.children", []);
|
|
2059
|
+
if (geoPoints.length) {
|
|
2060
|
+
const anySelected = geoPoints.some((point) => {
|
|
2061
|
+
const ap = point?.feature?.properties?.custom?.actionParams ?? {};
|
|
2062
|
+
return hasMatchedActionParams(ap, actionParams);
|
|
2063
|
+
});
|
|
2064
|
+
geoPoints.forEach((point) => {
|
|
2065
|
+
let selected;
|
|
2066
|
+
if (anySelected) {
|
|
2067
|
+
const ap = point?.feature?.properties?.custom?.actionParams ?? {};
|
|
2068
|
+
selected = hasMatchedActionParams(ap, actionParams);
|
|
2069
|
+
}
|
|
2070
|
+
point.options.active = selected;
|
|
2071
|
+
});
|
|
2072
|
+
return;
|
|
2073
|
+
}
|
|
2074
|
+
});
|
|
2075
|
+
}
|
|
2076
|
+
function getGeoObjectCollection(geoObjectCollection) {
|
|
2077
|
+
const type = geoObjectCollection.options.get("geoObjectType");
|
|
2078
|
+
switch (type) {
|
|
2079
|
+
case GEO_OBJECT_TYPE.POLYGONMAP: {
|
|
2080
|
+
return geoObjectCollection.objectManager.objects.getAll();
|
|
2081
|
+
}
|
|
2082
|
+
case GEO_OBJECT_TYPE.GEOCOLLECTION: {
|
|
2083
|
+
return geoObjectCollection.toArray();
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
return [];
|
|
2087
|
+
}
|
|
2088
|
+
function getGeoObjectActionParams(geoObject) {
|
|
2089
|
+
const geoType = get(geoObject, "geometry.type");
|
|
2090
|
+
if (geoType === "Polygon") {
|
|
2091
|
+
return geoObject.properties.custom?.actionParams ?? {};
|
|
2092
|
+
}
|
|
2093
|
+
return geoObject.properties.get("custom")?.actionParams ?? {};
|
|
2094
|
+
}
|
|
2095
|
+
function getNewActionParams(args) {
|
|
2096
|
+
const { multiSelect, currentPoint, geoObjects, actionParams: prevActionParams } = args;
|
|
2097
|
+
let newActionParams = prevActionParams;
|
|
2098
|
+
const currentPointParams = getGeoObjectActionParams(currentPoint);
|
|
2099
|
+
const hasSomePointSelected = geoObjects.some((item) => {
|
|
2100
|
+
return getGeoObjectCollection(item).some((point) => {
|
|
2101
|
+
return hasMatchedActionParams(getGeoObjectActionParams(point), prevActionParams);
|
|
2102
|
+
});
|
|
2103
|
+
});
|
|
2104
|
+
if (hasSomePointSelected) {
|
|
2105
|
+
if (hasMatchedActionParams(currentPointParams, prevActionParams)) {
|
|
2106
|
+
if (multiSelect) {
|
|
2107
|
+
newActionParams = subtractParameters(newActionParams, currentPointParams);
|
|
2108
|
+
geoObjects.forEach((item) => {
|
|
2109
|
+
return getGeoObjectCollection(item).forEach((point) => {
|
|
2110
|
+
const pointActionParams = getGeoObjectActionParams(point);
|
|
2111
|
+
if (hasMatchedActionParams(pointActionParams, newActionParams)) {
|
|
2112
|
+
newActionParams = addParams(newActionParams, pointActionParams);
|
|
2113
|
+
}
|
|
2114
|
+
});
|
|
2115
|
+
});
|
|
2116
|
+
} else {
|
|
2117
|
+
newActionParams = {};
|
|
2118
|
+
}
|
|
2119
|
+
} else {
|
|
2120
|
+
if (!multiSelect) {
|
|
2121
|
+
geoObjects.forEach((item) => {
|
|
2122
|
+
return getGeoObjectCollection(item).forEach((point) => {
|
|
2123
|
+
const pointActionParams = getGeoObjectActionParams(point);
|
|
2124
|
+
if (hasMatchedActionParams(pointActionParams, newActionParams)) {
|
|
2125
|
+
newActionParams = subtractParameters(
|
|
2126
|
+
newActionParams,
|
|
2127
|
+
pointActionParams
|
|
2128
|
+
);
|
|
2129
|
+
}
|
|
2130
|
+
});
|
|
2131
|
+
});
|
|
2132
|
+
}
|
|
2133
|
+
newActionParams = addParams(newActionParams, currentPointParams);
|
|
2134
|
+
}
|
|
2135
|
+
} else {
|
|
2136
|
+
newActionParams = addParams(newActionParams, currentPointParams);
|
|
2137
|
+
}
|
|
2138
|
+
return newActionParams;
|
|
2139
|
+
}
|
|
2140
|
+
function shouldUseMultiselect(event) {
|
|
2141
|
+
const sourceEvent = typeof event?.getSourceEvent === "function" ? event.getSourceEvent() : null;
|
|
2142
|
+
if (sourceEvent) {
|
|
2143
|
+
return shouldUseMultiselect(sourceEvent);
|
|
2144
|
+
}
|
|
2145
|
+
const originalEvent = event?.originalEvent?.domEvent ?? event?.originalEvent;
|
|
2146
|
+
const key = isMacintosh() ? "metaKey" : "ctrlKey";
|
|
2147
|
+
return Boolean(originalEvent?.get?.(key) ?? originalEvent?.[key]);
|
|
2148
|
+
}
|
|
2149
|
+
function applyEventHandlers(args) {
|
|
2150
|
+
const { geoObjects, config, unresolvedParams = {}, onChange } = args;
|
|
2151
|
+
const prevActionParams = pickActionParamsFromParams(unresolvedParams);
|
|
2152
|
+
const handleClick = function(geoObject, event) {
|
|
2153
|
+
const actions = config?.events?.click ?? [];
|
|
2154
|
+
const clickActions = Array.isArray(actions) ? actions : [actions];
|
|
2155
|
+
clickActions.forEach((action) => {
|
|
2156
|
+
const handlers = Array.isArray(action.handler) ? action.handler : [action.handler];
|
|
2157
|
+
handlers.forEach((handler) => {
|
|
2158
|
+
switch (handler.type) {
|
|
2159
|
+
case "setActionParams": {
|
|
2160
|
+
const clickScope = get(action, "scope", "point");
|
|
2161
|
+
if (clickScope !== "point") {
|
|
2162
|
+
return;
|
|
2163
|
+
}
|
|
2164
|
+
const newActionParams = getNewActionParams({
|
|
2165
|
+
geoObjects,
|
|
2166
|
+
actionParams: prevActionParams,
|
|
2167
|
+
currentPoint: geoObject,
|
|
2168
|
+
multiSelect: shouldUseMultiselect(event)
|
|
2169
|
+
});
|
|
2170
|
+
if (isEqual(prevActionParams, newActionParams)) {
|
|
2171
|
+
return;
|
|
2172
|
+
}
|
|
2173
|
+
const params = transformParamsToActionParams(newActionParams);
|
|
2174
|
+
onChange?.(
|
|
2175
|
+
{
|
|
2176
|
+
type: "PARAMS_CHANGED",
|
|
2177
|
+
data: { params }
|
|
2178
|
+
},
|
|
2179
|
+
{ forceUpdate: true },
|
|
2180
|
+
true,
|
|
2181
|
+
true
|
|
2182
|
+
);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
});
|
|
2186
|
+
});
|
|
2187
|
+
};
|
|
2188
|
+
geoObjects.forEach((collection) => {
|
|
2189
|
+
const type = collection.options.get("geoObjectType");
|
|
2190
|
+
switch (type) {
|
|
2191
|
+
case GEO_OBJECT_TYPE.POLYGONMAP: {
|
|
2192
|
+
collection.objectManager.events.add("click", function(event) {
|
|
2193
|
+
const objId = event.get("objectId");
|
|
2194
|
+
const object2 = collection.objectManager.objects.getById(objId);
|
|
2195
|
+
handleClick(object2, event);
|
|
2196
|
+
});
|
|
2197
|
+
break;
|
|
2198
|
+
}
|
|
2199
|
+
case GEO_OBJECT_TYPE.GEOCOLLECTION: {
|
|
2200
|
+
collection.events.add("click", function(event) {
|
|
2201
|
+
handleClick(event.get("target"), event);
|
|
2202
|
+
});
|
|
2203
|
+
break;
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
});
|
|
2207
|
+
}
|
|
2208
|
+
const renderPossibleMarkupItems = (renderMarkupToString, renderMarkdownToString, data) => {
|
|
2209
|
+
data.forEach((d) => {
|
|
2210
|
+
if (typeof d?.key === "string" && d?.value) {
|
|
2211
|
+
const markup = renderMarkupToString(d.value);
|
|
2212
|
+
d.text = d.key ? `${escape(d.key)}: ${markup}` : markup;
|
|
2213
|
+
}
|
|
2214
|
+
if (d && d?.[WRAPPED_MARKDOWN_KEY] && renderMarkdownToString) {
|
|
2215
|
+
d.text = renderMarkdownToString(d[WRAPPED_MARKDOWN_KEY]);
|
|
2216
|
+
}
|
|
2217
|
+
});
|
|
2218
|
+
};
|
|
2219
|
+
const PROVIDER_DATA_FIELDS = ["data", "config", "libraryConfig"];
|
|
2220
|
+
const b = block("chartkit-ymap");
|
|
2221
|
+
const hoveredPolygonOptions = { strokeWidth: 2, fillOpacity: 1 };
|
|
2222
|
+
const CHART_SECTION_PERCENTAGE = 0.6;
|
|
2223
|
+
const PANE_RESIZER_HEIGHT = 24;
|
|
2224
|
+
const MOBILE_CHART_HEIGHT = 400;
|
|
2225
|
+
const paneSplits = {
|
|
2226
|
+
vertical: "vertical",
|
|
2227
|
+
horizontal: "horizontal"
|
|
2228
|
+
};
|
|
2229
|
+
function getTileContainer(layer) {
|
|
2230
|
+
for (const k in layer) {
|
|
2231
|
+
if (Object.prototype.hasOwnProperty.call(layer, k)) {
|
|
2232
|
+
if (layer[k] instanceof yandex_map_default._ymaps.layer.tileContainer.CanvasContainer || layer[k] instanceof yandex_map_default._ymaps.layer.tileContainer.DomContainer) {
|
|
2233
|
+
return layer[k];
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
return null;
|
|
2238
|
+
}
|
|
2239
|
+
function waitForTilesLoad(layer) {
|
|
2240
|
+
return new yandex_map_default._ymaps.vow.Promise((resolve) => {
|
|
2241
|
+
const tileContainer = getTileContainer(layer);
|
|
2242
|
+
let readyAll = true;
|
|
2243
|
+
tileContainer.tiles.each((tile) => {
|
|
2244
|
+
if (!tile.isReady()) {
|
|
2245
|
+
readyAll = false;
|
|
2246
|
+
}
|
|
2247
|
+
});
|
|
2248
|
+
if (readyAll) {
|
|
2249
|
+
resolve();
|
|
2250
|
+
} else {
|
|
2251
|
+
tileContainer.events.once("ready", () => {
|
|
2252
|
+
resolve();
|
|
2253
|
+
});
|
|
2254
|
+
}
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
function getCurrentPaneSplit() {
|
|
2258
|
+
return window.innerWidth > window.innerHeight ? paneSplits.vertical : paneSplits.horizontal;
|
|
2259
|
+
}
|
|
2260
|
+
function getNodeHeight(node) {
|
|
2261
|
+
return node?.getBoundingClientRect().height || 0;
|
|
2262
|
+
}
|
|
2263
|
+
function hasActionParamsChanged(currentParams, prevParams) {
|
|
2264
|
+
const prevActionParams = pickActionParamsFromParams(currentParams);
|
|
2265
|
+
const actionParams = pickActionParamsFromParams(prevParams);
|
|
2266
|
+
return !isEqual(prevActionParams, actionParams);
|
|
2267
|
+
}
|
|
2268
|
+
class YandexMapComponent extends React__default.Component {
|
|
2269
|
+
static propTypes = {
|
|
2270
|
+
data: PropTypes.shape({
|
|
2271
|
+
data: PropTypes.array,
|
|
2272
|
+
config: PropTypes.object,
|
|
2273
|
+
libraryConfig: PropTypes.object
|
|
2274
|
+
}).isRequired,
|
|
2275
|
+
lang: PropTypes.oneOf(["ru", "en"]),
|
|
2276
|
+
splitTooltip: PropTypes.bool,
|
|
2277
|
+
onLoad: PropTypes.func,
|
|
2278
|
+
onChartLoad: PropTypes.func,
|
|
2279
|
+
onRender: PropTypes.func,
|
|
2280
|
+
onChange: PropTypes.func.isRequired,
|
|
2281
|
+
onError: PropTypes.func.isRequired
|
|
2282
|
+
};
|
|
2283
|
+
constructor(props) {
|
|
2284
|
+
super(props);
|
|
2285
|
+
const paneSplit = getCurrentPaneSplit();
|
|
2286
|
+
const paneMinSize = MOBILE_CHART_HEIGHT;
|
|
2287
|
+
this.state = {
|
|
2288
|
+
paneSplit,
|
|
2289
|
+
paneMinSize,
|
|
2290
|
+
geoObjects: [],
|
|
2291
|
+
bounds: void 0,
|
|
2292
|
+
paneSize: void 0,
|
|
2293
|
+
paneMaxSize: void 0,
|
|
2294
|
+
error: void 0
|
|
2295
|
+
};
|
|
2296
|
+
}
|
|
2297
|
+
componentDidMount() {
|
|
2298
|
+
this.init("onMount");
|
|
2299
|
+
if (this.props.splitTooltip) {
|
|
2300
|
+
window.addEventListener("resize", this.resizeHandler);
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
shouldComponentUpdate(nextProps, nextState) {
|
|
2304
|
+
const splitTooltipModeWasSwitched = nextProps.splitTooltip !== this.props.splitTooltip;
|
|
2305
|
+
const orientationWasChanged = nextState.paneSplit !== this.state.paneSplit;
|
|
2306
|
+
const shouldUpdate = splitTooltipModeWasSwitched || orientationWasChanged || !isEqual(
|
|
2307
|
+
pick(nextProps.data, PROVIDER_DATA_FIELDS),
|
|
2308
|
+
pick(this.props.data, PROVIDER_DATA_FIELDS)
|
|
2309
|
+
) || nextState.geoObjects !== this.state.geoObjects || nextState.paneSize !== this.state.paneSize || hasActionParamsChanged(
|
|
2310
|
+
nextProps.data.unresolvedParams,
|
|
2311
|
+
this.props.data.unresolvedParams
|
|
2312
|
+
);
|
|
2313
|
+
return shouldUpdate;
|
|
2314
|
+
}
|
|
2315
|
+
componentDidUpdate(prevProps, prevState) {
|
|
2316
|
+
const splitTooltipModeWasSwitched = prevProps.splitTooltip !== this.props.splitTooltip;
|
|
2317
|
+
const orientationWasChanged = prevState.paneSplit !== this.state.paneSplit;
|
|
2318
|
+
const needReInit = splitTooltipModeWasSwitched || orientationWasChanged || !isEqual(
|
|
2319
|
+
pick(prevProps.data, PROVIDER_DATA_FIELDS),
|
|
2320
|
+
pick(this.props.data, PROVIDER_DATA_FIELDS)
|
|
2321
|
+
) || hasActionParamsChanged(
|
|
2322
|
+
this.props.data.unresolvedParams,
|
|
2323
|
+
prevProps.data.unresolvedParams
|
|
2324
|
+
);
|
|
2325
|
+
if (needReInit) {
|
|
2326
|
+
if (!prevProps.splitTooltip && this.props.splitTooltip) {
|
|
2327
|
+
window.addEventListener("resize", this.resizeHandler);
|
|
2328
|
+
} else if (prevProps.splitTooltip && !this.props.splitTooltip) {
|
|
2329
|
+
window.removeEventListener("resize", this.resizeHandler);
|
|
2330
|
+
}
|
|
2331
|
+
this.init("onRender");
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
componentWillUnmount() {
|
|
2335
|
+
this.destroy();
|
|
2336
|
+
window.removeEventListener("resize", this.resizeHandler);
|
|
2337
|
+
}
|
|
2338
|
+
tooltipContainerRef = React__default.createRef();
|
|
2339
|
+
mapContainerRef = React__default.createRef();
|
|
2340
|
+
selectedObjectId = null;
|
|
2341
|
+
geoObjectsStates = {};
|
|
2342
|
+
node = void 0;
|
|
2343
|
+
map = void 0;
|
|
2344
|
+
// If there is a chart with a map and description on the dashboard,
|
|
2345
|
+
// then after the description appears, sizechange is triggered, and then boundschange.
|
|
2346
|
+
// In the described case, it is necessary that bounds are not stored in state.
|
|
2347
|
+
sizeChanged = false;
|
|
2348
|
+
resizeHandler = () => {
|
|
2349
|
+
const currentPaneSplit = getCurrentPaneSplit();
|
|
2350
|
+
if (this.state.paneSplit !== currentPaneSplit) {
|
|
2351
|
+
this.setState({ paneSplit: currentPaneSplit });
|
|
2352
|
+
}
|
|
2353
|
+
};
|
|
2354
|
+
/**
|
|
2355
|
+
* helper for Wizard to set opacity for geo layers
|
|
2356
|
+
*
|
|
2357
|
+
* @param {string} geoObjectId
|
|
2358
|
+
* @param {number} value
|
|
2359
|
+
* @returns {void}
|
|
2360
|
+
*/
|
|
2361
|
+
setOpacity = (geoObjectId, value) => {
|
|
2362
|
+
const geoObject = this.state.geoObjects.find(
|
|
2363
|
+
(item) => item.options.get("geoObjectId") === geoObjectId
|
|
2364
|
+
);
|
|
2365
|
+
const geoObjectType = geoObject.options.get("geoObjectType");
|
|
2366
|
+
if (geoObjectType === GEO_OBJECT_TYPE.HEATMAP) {
|
|
2367
|
+
geoObject.options.set("opacity", value);
|
|
2368
|
+
} else if (geoObjectType === GEO_OBJECT_TYPE.POLYGONMAP || geoObjectType === GEO_OBJECT_TYPE.GRIDMAP) {
|
|
2369
|
+
const objects = geoObject.objectManager.objects;
|
|
2370
|
+
let opacityHover = value + 0.1;
|
|
2371
|
+
opacityHover = opacityHover > 1 ? 1 : opacityHover;
|
|
2372
|
+
objects.getAll().forEach(
|
|
2373
|
+
({ id }) => objects.setObjectOptions(id, {
|
|
2374
|
+
fillOpacity: value,
|
|
2375
|
+
fillOpacityHover: opacityHover
|
|
2376
|
+
})
|
|
2377
|
+
);
|
|
2378
|
+
} else {
|
|
2379
|
+
geoObject.options.set("opacity", value);
|
|
2380
|
+
}
|
|
2381
|
+
};
|
|
2382
|
+
/**
|
|
2383
|
+
* helper for Wizard to set visibility for geo layers
|
|
2384
|
+
*
|
|
2385
|
+
* @param {string} geoObjectId
|
|
2386
|
+
* @param {boolean} value
|
|
2387
|
+
* @returns {void}
|
|
2388
|
+
*/
|
|
2389
|
+
setVisibility = (geoObjectId, value) => {
|
|
2390
|
+
const geoObject = this.state.geoObjects.find(
|
|
2391
|
+
(item) => item.options.get("geoObjectId") === geoObjectId
|
|
2392
|
+
);
|
|
2393
|
+
geoObject.options.set("visible", value);
|
|
2394
|
+
this.geoObjectsStates[geoObjectId] = { options: { visible: value } };
|
|
2395
|
+
this.props.onChange(
|
|
2396
|
+
{ type: "YMAP_GEOOBJECT_VISIBILITY_CHANGED", data: { geoObjectId, value } },
|
|
2397
|
+
{},
|
|
2398
|
+
true
|
|
2399
|
+
);
|
|
2400
|
+
};
|
|
2401
|
+
destroy() {
|
|
2402
|
+
if (this.map) {
|
|
2403
|
+
this.map.destroy();
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
applyEvents() {
|
|
2407
|
+
const { data: widgetData, onChange } = this.props;
|
|
2408
|
+
applyEventHandlers({
|
|
2409
|
+
geoObjects: this.state.geoObjects,
|
|
2410
|
+
config: widgetData.config,
|
|
2411
|
+
onChange,
|
|
2412
|
+
unresolvedParams: widgetData.unresolvedParams
|
|
2413
|
+
});
|
|
2414
|
+
}
|
|
2415
|
+
async init(callBackType) {
|
|
2416
|
+
try {
|
|
2417
|
+
const widgetData = this.props.data;
|
|
2418
|
+
const { data, libraryConfig, config, unresolvedParams } = widgetData;
|
|
2419
|
+
let renderMarkdownToString;
|
|
2420
|
+
const renderMarkupToString = await getRenderMarkupToStringFn();
|
|
2421
|
+
if (config.useMarkdown) {
|
|
2422
|
+
renderMarkdownToString = await getRenderYfmFn();
|
|
2423
|
+
}
|
|
2424
|
+
const actionParams = pickActionParamsFromParams(unresolvedParams);
|
|
2425
|
+
setSelectedState({ data, actionParams });
|
|
2426
|
+
const { map, geoObjects, mapPerformanceMetrics } = await yandex_map_default.draw({
|
|
2427
|
+
node: this.node,
|
|
2428
|
+
data: data.map((geoObject) => {
|
|
2429
|
+
const geoObjectState = geoObject.options && this.geoObjectsStates[geoObject.options.geoObjectId];
|
|
2430
|
+
const children = get(geoObject, "collection.children") || get(geoObject, "clusterer") || [];
|
|
2431
|
+
const polygons = get(geoObject, "polygonmap.polygons.features", []);
|
|
2432
|
+
if (children.length) {
|
|
2433
|
+
children.forEach((child) => {
|
|
2434
|
+
const childData = get(child, "feature.properties.data", []);
|
|
2435
|
+
renderPossibleMarkupItems(
|
|
2436
|
+
renderMarkupToString,
|
|
2437
|
+
renderMarkdownToString,
|
|
2438
|
+
childData
|
|
2439
|
+
);
|
|
2440
|
+
});
|
|
2441
|
+
} else if (polygons.length) {
|
|
2442
|
+
polygons.forEach((polygon) => {
|
|
2443
|
+
const polygonData = get(polygon, "properties.data", []);
|
|
2444
|
+
renderPossibleMarkupItems(
|
|
2445
|
+
renderMarkupToString,
|
|
2446
|
+
renderMarkdownToString,
|
|
2447
|
+
polygonData
|
|
2448
|
+
);
|
|
2449
|
+
});
|
|
2450
|
+
}
|
|
2451
|
+
return geoObjectState ? merge({}, geoObject, geoObjectState) : geoObject;
|
|
2452
|
+
}),
|
|
2453
|
+
lang: this.props.lang,
|
|
2454
|
+
config: Object.assign(
|
|
2455
|
+
{ ymap: merge(libraryConfig, { state: { bounds: this.state.bounds } }) },
|
|
2456
|
+
config
|
|
2457
|
+
),
|
|
2458
|
+
events: {
|
|
2459
|
+
boundschange: (event) => {
|
|
2460
|
+
if (!this.sizeChanged) {
|
|
2461
|
+
this.setState({
|
|
2462
|
+
bounds: event.get("newBounds")
|
|
2463
|
+
});
|
|
2464
|
+
}
|
|
2465
|
+
this.sizeChanged = false;
|
|
2466
|
+
},
|
|
2467
|
+
sizechange: () => {
|
|
2468
|
+
this.sizeChanged = true;
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
});
|
|
2472
|
+
yandex_map_default._ymaps.ready(() => {
|
|
2473
|
+
class CustomControlClass extends yandex_map_default._ymaps.collection.Item {
|
|
2474
|
+
constructor(component) {
|
|
2475
|
+
super();
|
|
2476
|
+
this._$content = null;
|
|
2477
|
+
this._$component = component;
|
|
2478
|
+
}
|
|
2479
|
+
onAddToMap() {
|
|
2480
|
+
this._lastCenter = null;
|
|
2481
|
+
this.getParent().getChildElement(this).then(this._onGetChildElement, this);
|
|
2482
|
+
}
|
|
2483
|
+
onRemoveFromMap() {
|
|
2484
|
+
if (this._$content) {
|
|
2485
|
+
this._$content.remove();
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
_onGetChildElement(parentDomContainer) {
|
|
2489
|
+
this._$content = document.createElement("div");
|
|
2490
|
+
ReactDOM.render(this._$component, this._$content);
|
|
2491
|
+
parentDomContainer.appendChild(this._$content);
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
const customControl = new CustomControlClass(
|
|
2495
|
+
/* @__PURE__ */ React__default.createElement(
|
|
2496
|
+
Legend,
|
|
2497
|
+
{
|
|
2498
|
+
map: this.map,
|
|
2499
|
+
geoObjects: this.state.geoObjects,
|
|
2500
|
+
onSetVisibility: this.setVisibility
|
|
2501
|
+
}
|
|
2502
|
+
)
|
|
2503
|
+
);
|
|
2504
|
+
this.map.controls.add(customControl, {
|
|
2505
|
+
float: "none"
|
|
2506
|
+
});
|
|
2507
|
+
this.applyEvents();
|
|
2508
|
+
});
|
|
2509
|
+
this.destroy();
|
|
2510
|
+
this.map = map;
|
|
2511
|
+
const allLayers = [];
|
|
2512
|
+
const tilesLoadingMarkId = getRandomCKId();
|
|
2513
|
+
Performance.mark(tilesLoadingMarkId);
|
|
2514
|
+
this.map.layers.each((layerOrCollection) => {
|
|
2515
|
+
if (layerOrCollection instanceof yandex_map_default._ymaps.LayerCollection) {
|
|
2516
|
+
layerOrCollection.each((createdLayer) => {
|
|
2517
|
+
allLayers.push(createdLayer);
|
|
2518
|
+
});
|
|
2519
|
+
} else {
|
|
2520
|
+
allLayers.push(layerOrCollection);
|
|
2521
|
+
}
|
|
2522
|
+
});
|
|
2523
|
+
const [firstLayer] = allLayers;
|
|
2524
|
+
if (firstLayer) {
|
|
2525
|
+
firstLayer._element?.classList.add("chartkit-map-ground-pane");
|
|
2526
|
+
}
|
|
2527
|
+
const { geoObjectsInstantiationDuration, yandexMapAPIWaiting } = mapPerformanceMetrics;
|
|
2528
|
+
yandex_map_default._ymaps.vow.all(allLayers.map((layer) => waitForTilesLoad(layer))).then(() => {
|
|
2529
|
+
const tilesLoadingDuration = Performance.getDuration(tilesLoadingMarkId);
|
|
2530
|
+
if (callBackType === "onMount") {
|
|
2531
|
+
this.props.onChartLoad?.({
|
|
2532
|
+
widget: {
|
|
2533
|
+
setOpacity: this.setOpacity,
|
|
2534
|
+
setVisibility: this.setVisibility
|
|
2535
|
+
}
|
|
2536
|
+
});
|
|
2537
|
+
}
|
|
2538
|
+
if (callBackType === "onRender") {
|
|
2539
|
+
this.props.onRender?.({
|
|
2540
|
+
widgetRendering: geoObjectsInstantiationDuration + tilesLoadingDuration
|
|
2541
|
+
});
|
|
2542
|
+
}
|
|
2543
|
+
this.props.onLoad?.({
|
|
2544
|
+
widgetRendering: geoObjectsInstantiationDuration + tilesLoadingDuration,
|
|
2545
|
+
yandexMapAPIWaiting,
|
|
2546
|
+
widget: {
|
|
2547
|
+
setOpacity: this.setOpacity,
|
|
2548
|
+
setVisibility: this.setVisibility
|
|
2549
|
+
}
|
|
2550
|
+
});
|
|
2551
|
+
});
|
|
2552
|
+
if (this.props.splitTooltip) {
|
|
2553
|
+
this.prepareForSplitTooltipMode();
|
|
2554
|
+
}
|
|
2555
|
+
this.setState({
|
|
2556
|
+
geoObjects: geoObjects.slice().reverse()
|
|
2557
|
+
});
|
|
2558
|
+
} catch (error) {
|
|
2559
|
+
if (this.props.onError) {
|
|
2560
|
+
this.props.onError({ error });
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
getPaneSizeOptions = () => {
|
|
2565
|
+
let paneSize;
|
|
2566
|
+
let paneMinSize;
|
|
2567
|
+
let paneMaxSize;
|
|
2568
|
+
const mapContainerHeight = getNodeHeight(this.mapContainerRef.current);
|
|
2569
|
+
const tooltipHeight = getNodeHeight(this.tooltipContainerRef.current);
|
|
2570
|
+
if (this.state.paneSplit === paneSplits.vertical) {
|
|
2571
|
+
paneSize = window.innerWidth * CHART_SECTION_PERCENTAGE;
|
|
2572
|
+
} else {
|
|
2573
|
+
paneSize = mapContainerHeight - tooltipHeight - PANE_RESIZER_HEIGHT;
|
|
2574
|
+
paneMinSize = mapContainerHeight - tooltipHeight - PANE_RESIZER_HEIGHT;
|
|
2575
|
+
paneMaxSize = mapContainerHeight - PANE_RESIZER_HEIGHT;
|
|
2576
|
+
}
|
|
2577
|
+
return { paneSize, paneMinSize, paneMaxSize };
|
|
2578
|
+
};
|
|
2579
|
+
// in split-tooltip mode, the tooltip must be shown in a separate split-pane "sash".
|
|
2580
|
+
// Can't find the solutions in map-api about how to render a tooltip outside the map container, so we use the Template capabilities from the Maps API
|
|
2581
|
+
// (https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/reference/Template-docpage /) and append the resulting markup in
|
|
2582
|
+
// the necessary node.
|
|
2583
|
+
// When activating the split tooltip mode, you must:
|
|
2584
|
+
// - show something in the tooltip (wait for the user's first interaction with map objects and only after
|
|
2585
|
+
// showing this is not a good solution, since showing the tooltip will change the size of the map container
|
|
2586
|
+
// and its redrawing). Therefore, we will take the first element from the first collection and show the tooltip for it, and
|
|
2587
|
+
// set the element (if possible) active state.
|
|
2588
|
+
// - subscribe for events on map objects that will update the tooltip and manage the activity states of objects
|
|
2589
|
+
prepareForSplitTooltipMode = () => {
|
|
2590
|
+
this.map.geoObjects.each((collection, index) => {
|
|
2591
|
+
if (!index) {
|
|
2592
|
+
this.setState(this.getPaneSizeOptions(), () => {
|
|
2593
|
+
if (collection.objects) {
|
|
2594
|
+
const firstObject = collection.objects.getIterator().getNext();
|
|
2595
|
+
this.selectedObjectId = firstObject.id;
|
|
2596
|
+
collection.objects.setObjectOptions(firstObject.id, hoveredPolygonOptions);
|
|
2597
|
+
}
|
|
2598
|
+
});
|
|
2599
|
+
}
|
|
2600
|
+
this.bindEventsForSplitTooltip(collection);
|
|
2601
|
+
});
|
|
2602
|
+
};
|
|
2603
|
+
bindEventsForSplitTooltip = (collection) => {
|
|
2604
|
+
if (collection.objects) {
|
|
2605
|
+
collection.objects.events.add("mouseenter", (event) => {
|
|
2606
|
+
event.stopPropagation();
|
|
2607
|
+
event.preventDefault();
|
|
2608
|
+
});
|
|
2609
|
+
collection.objects.events.add("mouseleave", (event) => {
|
|
2610
|
+
event.stopPropagation();
|
|
2611
|
+
event.preventDefault();
|
|
2612
|
+
});
|
|
2613
|
+
collection.objects.events.add("click", (event) => {
|
|
2614
|
+
const objectId = event.get("objectId");
|
|
2615
|
+
if (isNumber(this.selectedObjectId) && this.selectedObjectId !== objectId) {
|
|
2616
|
+
const prevSelectedObject = collection.objects.getById(this.selectedObjectId);
|
|
2617
|
+
const options = {
|
|
2618
|
+
strokeWidth: prevSelectedObject.options.strokeWidthDefault,
|
|
2619
|
+
fillOpacity: prevSelectedObject.options.fillOpacityDefault
|
|
2620
|
+
};
|
|
2621
|
+
collection.objects.setObjectOptions(this.selectedObjectId, options);
|
|
2622
|
+
}
|
|
2623
|
+
this.selectedObjectId = objectId;
|
|
2624
|
+
collection.objects.setObjectOptions(objectId, hoveredPolygonOptions);
|
|
2625
|
+
const selectedObject = collection.objects.getById(objectId);
|
|
2626
|
+
if (this.tooltipContainerRef && this.tooltipContainerRef.current) {
|
|
2627
|
+
const tooltipTemplate = new yandex_map_default._ymaps.Template(
|
|
2628
|
+
TOOLTIP_TWIG_TEMPLATE
|
|
2629
|
+
);
|
|
2630
|
+
const { properties } = selectedObject;
|
|
2631
|
+
const templateData = new yandex_map_default._ymaps.data.Manager({ properties });
|
|
2632
|
+
const tooltipMarkup = tooltipTemplate.build(templateData).text;
|
|
2633
|
+
this.tooltipContainerRef.current.innerHTML = tooltipMarkup;
|
|
2634
|
+
this.setState(this.getPaneSizeOptions());
|
|
2635
|
+
}
|
|
2636
|
+
});
|
|
2637
|
+
} else {
|
|
2638
|
+
collection.events.add("click", (event) => {
|
|
2639
|
+
const target = event.get("target");
|
|
2640
|
+
if (this.tooltipContainerRef && this.tooltipContainerRef.current) {
|
|
2641
|
+
const tooltipTemplate = new yandex_map_default._ymaps.Template(
|
|
2642
|
+
TOOLTIP_TWIG_TEMPLATE
|
|
2643
|
+
);
|
|
2644
|
+
const properties = target.properties.getAll();
|
|
2645
|
+
const templateData = new yandex_map_default._ymaps.data.Manager({ properties });
|
|
2646
|
+
const tooltipMarkup = tooltipTemplate.build(templateData).text;
|
|
2647
|
+
this.tooltipContainerRef.current.innerHTML = tooltipMarkup;
|
|
2648
|
+
this.setState(this.getPaneSizeOptions());
|
|
2649
|
+
}
|
|
2650
|
+
});
|
|
2651
|
+
}
|
|
2652
|
+
};
|
|
2653
|
+
renderMapWithSplitPane = () => {
|
|
2654
|
+
const { paneSplit, paneSize, paneMinSize, paneMaxSize } = this.state;
|
|
2655
|
+
return /* @__PURE__ */ React__default.createElement(
|
|
2656
|
+
StyledSplitPane,
|
|
2657
|
+
{
|
|
2658
|
+
split: paneSplit,
|
|
2659
|
+
size: paneSize,
|
|
2660
|
+
minSize: paneMinSize,
|
|
2661
|
+
maxSize: paneMaxSize,
|
|
2662
|
+
allowResize: paneSplit === paneSplits.horizontal,
|
|
2663
|
+
resizerStyle: { ...!this.node && { display: "none" } },
|
|
2664
|
+
paneOneRender: () => /* @__PURE__ */ React__default.createElement(
|
|
2665
|
+
"div",
|
|
2666
|
+
{
|
|
2667
|
+
className: b({ "with-split-tooltip": Boolean(this.props.splitTooltip) }),
|
|
2668
|
+
ref: (node) => {
|
|
2669
|
+
this.node = node;
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
),
|
|
2673
|
+
paneTwoRender: () => /* @__PURE__ */ React__default.createElement("div", { className: b("tooltip-container"), ref: this.tooltipContainerRef })
|
|
2674
|
+
}
|
|
2675
|
+
);
|
|
2676
|
+
};
|
|
2677
|
+
render() {
|
|
2678
|
+
return /* @__PURE__ */ React__default.createElement("div", { className: b("wrapper"), ref: this.mapContainerRef }, this.props.splitTooltip ? this.renderMapWithSplitPane() : /* @__PURE__ */ React__default.createElement(
|
|
2679
|
+
"div",
|
|
2680
|
+
{
|
|
2681
|
+
className: b(),
|
|
2682
|
+
ref: (node) => {
|
|
2683
|
+
this.node = node;
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
));
|
|
2687
|
+
}
|
|
2688
|
+
}
|
|
2689
|
+
const YandexMapWidget = React__default.forwardRef(
|
|
2690
|
+
// _ref needs to avoid this React warning:
|
|
2691
|
+
// "forwardRef render functions accept exactly two parameters: props and ref"
|
|
2692
|
+
function YandexMapWidgetInner(props, _ref) {
|
|
2693
|
+
return /* @__PURE__ */ jsx(YandexMapComponent, { ...props });
|
|
2694
|
+
}
|
|
2695
|
+
);
|
|
2696
|
+
export {
|
|
2697
|
+
YandexMapWidget as default
|
|
2698
|
+
};
|