@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
package/main.js
ADDED
|
@@ -0,0 +1,5018 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { TextInput, useThemeType, Flex, Icon, Alert, Button, Label, Popup, User, Switch as Switch$1, Dialog, TextArea, SegmentedRadioGroup, Link as Link$1, Loader, ThemeProvider, MobileProvider } from "@gravity-ui/uikit";
|
|
3
|
+
import React__default from "react";
|
|
4
|
+
import ReactDOM from "react-dom";
|
|
5
|
+
import { useLocation, useHistory, Switch, Route, Redirect, Link, useParams, withRouter, Router } from "react-router-dom";
|
|
6
|
+
import { useSelector, useDispatch, connect, Provider } from "react-redux";
|
|
7
|
+
import { HotkeysProvider } from "react-hotkeys-hook";
|
|
8
|
+
import { a as DialogManagerContainer } from "./components/DialogManager.js";
|
|
9
|
+
import { bp as SET_WORKBOOK, bq as RESET_WORKBOOK_PERMISSIONS, br as ADD_COLLECTION_BREADCRUMBS, bs as ADD_WORKBOOK_INFO, bt as CHANGE_FILTERS, bu as DELETE_ENTRY_INLINE, bv as DELETE_ENTRY_FAILED, bw as DELETE_ENTRY_SUCCESS, bx as DELETE_ENTRY_LOADING, by as CHANGE_FAVORITE_ENTRY_INLINE, bz as CHANGE_FAVORITE_ENTRY_FAILED, bA as CHANGE_FAVORITE_ENTRY_SUCCESS, bB as CHANGE_FAVORITE_ENTRY_LOADING, bC as RENAME_ENTRY_INLINE, bD as RENAME_ENTRY_FAILED, bE as RENAME_ENTRY_SUCCESS, bF as RENAME_ENTRY_LOADING, bG as RESET_CREATE_WORKBOOK_ENTRY_TYPE, bH as SET_CREATE_WORKBOOK_ENTRY_TYPE, bI as RESET_WORKBOOK_ENTRIES_BY_SCOPE, bJ as RESET_WORKBOOK_SHARED_ENTRIES, bK as RESET_WORKBOOK_ENTRIES, bL as BIND_SHARED_ENTRY_TO_WORKBOOK_FAILED, bM as BIND_SHARED_ENTRY_TO_WORKBOOK_SUCCESS, bN as BIND_SHARED_ENTRY_TO_WORKBOOK_LOADING, bO as GET_WORKBOOK_SHARED_ENTRIES_FAILED, bP as GET_WORKBOOK_SHARED_ENTRIES_SUCCESS, bQ as GET_WORKBOOK_SHARED_ENTRIES_LOADING, bR as GET_WORKBOOK_ENTRIES_FAILED, bS as GET_ALL_WORKBOOK_ENTRIES_SEPARATELY_SUCCESS, bT as GET_WORKBOOK_ENTRIES_SUCCESS, bU as GET_WORKBOOK_ENTRIES_LOADING, bV as GET_WORKBOOK_BREADCRUMBS_FAILED, bW as GET_WORKBOOK_BREADCRUMBS_SUCCESS, bX as GET_WORKBOOK_BREADCRUMBS_LOADING, bY as GET_WORKBOOK_FAILED, bZ as GET_WORKBOOK_SUCCESS, b_ as GET_WORKBOOK_LOADING, b$ as RESET_WORKBOOK_STATE, c0 as PARTIAL_UPDATE_DIALOG_PROPS, c1 as UPDATE_DIALOG_PROPS, c2 as CLOSE_DIALOG, c3 as OPEN_DIALOG, a9 as RevisionsListMode, R as RevisionsMode, c4 as SET_IS_RENAME_WITHOUT_RELOAD, c5 as REVISIONS_LOADING_STATUS, c6 as SET_ENTRY_CURRENT_REVID, c7 as CLEAN_REVISIONS, c8 as SET_REVISIONS, c9 as TOGGLE_REVISIONS_MODE, ca as SET_REVISIONS_LIST_MODE, cb as SET_REVISIONS_MODE, cc as SET_ENTRY, cd as SET_ITEM, ce as fireMetricaHit, L as CounterName, V as useEffectOnce, cf as initSdk, g as getSdk, l as logger$1, e as isSdkError, d as showToast, i as isEnabledFeature, o as openDialog, c as closeDialog, cg as setIsRenameWithoutReload, aq as setCreateWorkbookEntryType, ch as getUIEntryRoute, ci as getIconDataById, D as sdk, U as Utils, O as navigateHelper_default, f as openDialogErrorWithTabs, cj as CHARTKIT_LOGGER, r as getLocation, ck as setHistory, cl as getHistory, cm as registerSDKDispatch } from "./components/ActionPanel.js";
|
|
10
|
+
import { D as DL, r as registry, eH as isHeaderWithoutNavigationError, eI as isHeaderWithoutHelpCenterError, eJ as SYSTEM_USER, eK as DATALENS_IFRAME_CLASSNAME, l as I18n, eL as SignInQa, F as Feature, eM as EXAMPLE_FUNCTION, eN as RESTRICTED_PARAM_NAMES, d as EntryScope, c as ENTRY_TYPES, u as DashTabItemType, eO as DashboardAddWidgetQa, j as i18n$c, eP as extractEntryId, cM as isEntryId, aj as formatNumber, de as QLChartType, eQ as ViewSetupQA, c7 as PLACE, n as ErrorCode, aN as ChartkitMenuDialogsQA, eR as DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME, eS as DISABLE, A as ACCEPT_LANGUAGE_HEADER, p as TENANT_ID_HEADER, eT as DISPLAY_MODE_HEADER, S as SUPERUSER_SWITCH_MODE_COOKIE_NAME, q as SuperuserHeader, E as ENABLE, eU as ALLOW_THEMES } from "./components/AccessRights.js";
|
|
11
|
+
import { f as SET_THEME, U as UPDATE_USER_SETTINGS, h as getLocalTheme, j as SET_IS_HIDDEN, k as SET_IS_COMPACT, R as RESET_ASIDE_HEADER_SETTINGS, l as SET_ASIDE_HEADER_SETTINGS, m as SET_CURRENT_PAGE_ENTRY, n as SET_ASIDE_HEADER_DATA, C as CLOSE_NAVIGATION, O as OPEN_NAVIGATION, g as getIsAsideHeaderEnabled, A as AsideHeaderAdapter, o as getUpdatedUserSettings, p as selectThemeSettings } from "./components/AsideHeaderAdapter.js";
|
|
12
|
+
import { S as SET_IS_LANDING } from "./components/LandingPage.js";
|
|
13
|
+
import { S as SET_COLOR_PALETTES, g as SET_CURRENT_COLOR_PALETTE } from "./components/ColorPaletteEditorContainer.js";
|
|
14
|
+
import { R as RESET_EXPORT_RESULT, G as GET_EXPORT_RESULT_FAILED, y as GET_EXPORT_RESULT_SUCCESS, z as GET_EXPORT_RESULT_LOADING, A as RESET_EXPORT_PROGRESS, B as GET_EXPORT_PROGRESS_FAILED, C as GET_EXPORT_PROGRESS_SUCCESS, E as GET_EXPORT_PROGRESS_LOADING, F as RESET_IMPORT_PROGRESS, H as GET_IMPORT_PROGRESS_FAILED, I as GET_IMPORT_PROGRESS_SUCCESS, J as GET_IMPORT_PROGRESS_LOADING, K as RESET_IMPORT_WORKBOOK, L as IMPORT_WORKBOOK_FAILED, M as IMPORT_WORKBOOK_SUCCESS, N as IMPORT_WORKBOOK_LOADING, O as RESET_EXPORT_WORKBOOK, P as EXPORT_WORKBOOK_FAILED, Q as EXPORT_WORKBOOK_SUCCESS, T as EXPORT_WORKBOOK_LOADING, U as DELETE_WORKBOOKS_FAILED, V as DELETE_WORKBOOKS_SUCCESS, W as DELETE_WORKBOOKS_LOADING, X as DELETE_WORKBOOK_FAILED, Y as DELETE_WORKBOOK_SUCCESS, Z as DELETE_WORKBOOK_LOADING, _ as DELETE_COLLECTIONS_FAILED, $ as DELETE_COLLECTIONS_SUCCESS, a0 as DELETE_COLLECTIONS_LOADING, a1 as DELETE_COLLECTION_FAILED, a2 as DELETE_COLLECTION_SUCCESS, a3 as DELETE_COLLECTION_LOADING, a4 as UPDATE_COLLECTION_FAILED, a5 as UPDATE_COLLECTION_SUCCESS, a6 as UPDATE_COLLECTION_LOADING, a7 as UPDATE_WORKBOOK_FAILED, a8 as UPDATE_WORKBOOK_SUCCESS, a9 as UPDATE_WORKBOOK_LOADING, aa as COPY_WORKBOOK_FAILED, ab as COPY_WORKBOOK_SUCCESS, ac as COPY_WORKBOOK_LOADING, ad as MOVE_SHARED_ENTRY_FAILED, ae as MOVE_SHARED_ENTRY_SUCCESS, af as MOVE_SHARED_ENTRY_LOADING, ag as MOVE_WORKBOOKS_FAILED, ah as MOVE_WORKBOOKS_SUCCESS, ai as MOVE_WORKBOOKS_LOADING, aj as MOVE_WORKBOOK_FAILED, ak as MOVE_WORKBOOK_SUCCESS, al as MOVE_WORKBOOK_LOADING, am as MOVE_COLLECTIONS_FAILED, an as MOVE_COLLECTIONS_SUCCESS, ao as MOVE_COLLECTIONS_LOADING, ap as MOVE_COLLECTION_FAILED, aq as MOVE_COLLECTION_SUCCESS, ar as MOVE_COLLECTION_LOADING, as as CREATE_WORKBOOK_FAILED, at as CREATE_WORKBOOK_SUCCESS, au as CREATE_WORKBOOK_LOADING, av as CREATE_COLLECTION_FAILED, aw as CREATE_COLLECTION_SUCCESS, ax as CREATE_COLLECTION_LOADING, ay as COPY_TEMPLATE_FAILED, az as COPY_TEMPLATE_SUCCESS, aA as COPY_TEMPLATE_LOADING, aB as GET_STRUCTURE_ITEMS_FAILED, aC as GET_STRUCTURE_ITEMS_SUCCESS, aD as GET_STRUCTURE_ITEMS_LOADING, aE as RESET_STRUCTURE_ITEMS, aF as GET_COLLECTION_FAILED, aG as GET_COLLECTION_SUCCESS, aH as GET_COLLECTION_LOADING, aI as GET_COLLECTION_BREADCRUMBS_FAILED, aJ as GET_COLLECTION_BREADCRUMBS_SUCCESS, aK as GET_COLLECTION_BREADCRUMBS_LOADING, aL as RESET_COLLECTION_BREADCRUMBS, aM as GET_ROOT_COLLECTION_PERMISSIONS_FAILED, aN as GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS, aO as GET_ROOT_COLLECTION_PERMISSIONS_LOADING, aP as RESET_STATE, aQ as DIALOG_CREATE_WORKBOOK } from "./components/CollectionsStructure.js";
|
|
15
|
+
import { M as MIGRATE_ENTRIES_TO_WORKBOOK_FAILED, a as MIGRATE_ENTRIES_TO_WORKBOOK_SUCCESS, b as MIGRATE_ENTRIES_TO_WORKBOOK_LOADING, G as GET_RELATIONS_FAILED, c as GET_RELATIONS_SUCCESS, d as GET_RELATIONS_LOADING, e as GET_RELATIONS_GRAPH_FAILED, f as GET_RELATIONS_GRAPH_SUCCESS, g as GET_RELATIONS_GRAPH_LOADING, h as GET_ENTRY_FAILED, i as GET_ENTRY_SUCCESS, j as GET_ENTRY_LOADING, R as RESET_STATE$1 } from "./components/MigrateToWorkbookDialog.js";
|
|
16
|
+
import { C as COPY_ENTRIES_TO_WORKBOOK_FAILED, a as COPY_ENTRIES_TO_WORKBOOK_SUCCESS, b as COPY_ENTRIES_TO_WORKBOOK_LOADING, G as GET_RELATIONS_FAILED$1, c as GET_RELATIONS_SUCCESS$1, d as GET_RELATIONS_LOADING$1, e as GET_ENTRY_FAILED$1, f as GET_ENTRY_SUCCESS$1, g as GET_ENTRY_LOADING$1, R as RESET_STATE$2 } from "./components/CopyEntriesToWorkbookDialog.js";
|
|
17
|
+
import isObject from "lodash/isObject";
|
|
18
|
+
import isSet from "lodash/isSet";
|
|
19
|
+
import isFunction from "lodash/isFunction";
|
|
20
|
+
import transform from "lodash/transform";
|
|
21
|
+
import { hh as SET_EDIT_HISTORY_CURRENT_STATE, hi as SET_EDIT_HISTORY_POINT_INDEX, hj as ADD_EDIT_HISTORY_POINT, hk as RESET_EDIT_HISTORY_UNIT, hl as INIT_EDIT_HISTORY_UNIT, hm as controlDialog, cq as isIframe, bl as isEmbeddedMode, cf as isTvMode, bp as reducerRegistry, hn as chartkitApi, ho as getChartkitType, hf as getStore, hp as renameDataset, hq as renameDash, I as ITEM_TYPE, hr as requestCollectChartkitStats, hs as requestCollectDashStats, ht as fetchDistinctsByApi, hu as fetchBatchRenderedMarkdown, hv as fetchRenderedMarkdown, hw as getExtendedItemData, hx as getCaptionText, hy as isEmbeddedEntry, h as CHARTS_ERROR_CODE, b4 as ERROR_CODE, b as CHARTKIT_ERROR_NODE_CLASSNAME, u as unwrapFromArrayAndSkipOperation, c as CONTROL_TYPE, j as CLICK_ACTION_TYPE, w as wrapToArray, f as addOperationForValue, C as CHARTKIT_SCROLLABLE_NODE_CLASSNAME, hz as Markdown, hA as CHARTKIT_WIDGET_TYPE, hB as Table, cE as ChartKitWithCharts, g as chartsDataProvider, hC as resetStore } from "./components/ControlComponents.js";
|
|
22
|
+
import { L as LocationChange } from "./components/LocationChange.js";
|
|
23
|
+
import { F as FallbackPage } from "./pages/FallbackPage.js";
|
|
24
|
+
import { D as DashAndWizardQLPages, d as dashAndWizardQLRoutes } from "./pages/DashAndWizardQLPages.js";
|
|
25
|
+
import { M as MobileHeaderComponent } from "./components/MobileHeader.js";
|
|
26
|
+
import { R as RELOADED_URL_QUERY, S as SET_AUTH_PAGE_INITED, d as RESET_FORM, e as RESET_FORM_VALIDATION, U as UPDATE_FORM_VALIDATION, f as UPDATE_FORM_VALUES$1, g as RESET_AUTH_STATE, A as AUTH_ROUTE } from "./pages/AuthPage.js";
|
|
27
|
+
import { combineReducers, bindActionCreators } from "redux";
|
|
28
|
+
import { g as getUsersRoles, U as UPDATE_USER_ROLE_FAILED, a as UPDATE_USER_ROLE_SUCCESS, b as UPDATE_USER_ROLE_LOADING, R as RESET_UPDATE_USER_PASSWORD_STATE, c as UPDATE_USER_PASSWORD_FAILED, d as UPDATE_USER_PASSWORD_SUCCESS, e as UPDATE_USER_PASSWORD_LOADING, E as EDIT_USER_PROFILE_FAILED, f as EDIT_USER_PROFILE_SUCCESS, h as EDIT_USER_PROFILE_LOADING, D as DELETE_USER_PROFILE_FAILED, i as DELETE_USER_PROFILE_SUCCESS, j as DELETE_USER_PROFILE_LOADING, k as RESET_USER_PROFILE_STATE, G as GET_USER_PROFILE_FAILED, l as GET_USER_PROFILE_SUCCESS, m as GET_USER_PROFILE_LOADING, n as UserRoleLabel } from "./pages/OwnUserProfilePage.js";
|
|
29
|
+
import { S as SET_USERS, a as SET_QUEUE, L as LoginById, U as UserAvatarById, r as resolveUsersByIds } from "./components/UserAvatar.js";
|
|
30
|
+
import { u as useCapabilities, a as Capability, c as capabilities } from "./components/Breadcrumbs.js";
|
|
31
|
+
import block from "bem-cn-lite";
|
|
32
|
+
import { GravityChartsPlugin } from "@gravity-ui/chartkit/gravity-charts";
|
|
33
|
+
import { HighchartsPlugin } from "@gravity-ui/chartkit/highcharts";
|
|
34
|
+
import { IndicatorPlugin } from "@gravity-ui/chartkit/indicator";
|
|
35
|
+
import { YagrPlugin } from "@gravity-ui/chartkit/yagr";
|
|
36
|
+
import { g as getChartkitMenuByType, b as getDefaultChartMenu, c as getPanePreviewChartMenu, d as getWizardChartMenu, e as getChartkitMenu, X as X_CSRF_TOKEN_HEADER$1, D as DATALENS_DEBUG_MODE_KEY$1 } from "./components/Widgets.js";
|
|
37
|
+
import { W as WORKBOOKS_PATH, M as MOBILE_SIZE } from "./components/CollectionFilters.js";
|
|
38
|
+
import { g as getEntryScopesWithRevisionsList } from "./components/RevisionsPanel.js";
|
|
39
|
+
import { cx as setWizardWidgetKey, cy as setQlEntryKey, cz as setError, cA as setStatus, b6 as performManualConfiguration, aW as getEntry, aY as getDefaultPath, bC as AppStatus, cB as AVAILABLE_CONNECTION_TYPES_BY_CHART_TYPE } from "./pages/DashPage.js";
|
|
40
|
+
import { s as setConnectionKey, c as changeInnerForm, b as changeForm, I as InnerFieldKey, L as Label$1, R as RadioButton, d as Input, f as formSelector, e as RadioGroup, g as getIsShowCreateConnectionButton, h as getNewConnectionDestination, j as getFakeEntry } from "./pages/ConnectionsPage.js";
|
|
41
|
+
import { E as EntryBreadcrumbs } from "./components/EntryBreadcrumbs.js";
|
|
42
|
+
import { f as getAdditionalEntryContextMenuItems, h as getMenuGroupConfig, j as getEntryMenuConfig } from "./components/EntryContextMenu.js";
|
|
43
|
+
import { g as getAdditionalEntryDialoguesMap } from "./components/EntryDialogues.js";
|
|
44
|
+
import { g as getEntryName } from "./components/EntryTitle.js";
|
|
45
|
+
import { I as Illustration, g as getIllustrationStore } from "./components/Illustration.js";
|
|
46
|
+
import { M as MarkdownControl } from "./components/MarkdownControl.js";
|
|
47
|
+
import { a as getPlacesConfig, b as getCreatableEntriesConfig, c as getQuickItems, d as getInitDestination, e as getPlaceSelectParameters, N as NavigationMinimal_default } from "./components/Navigation.js";
|
|
48
|
+
import { a as YfmWrapperContent } from "./components/YfmWrapper.js";
|
|
49
|
+
import { a as DatepickerControl } from "./components/common.js";
|
|
50
|
+
import { P as PlaceholderIllustration } from "./components/PlaceholderIllustration.js";
|
|
51
|
+
import { C as ChunkGroup, E as EmptyRow, a as CreateEntryActionType, b as CreateEntry, T as TAB_ALL } from "./pages/CollectionsNavigationPage.js";
|
|
52
|
+
import { ChevronDown, ChevronUp, Plus, ChartColumn, Heading, TextAlignLeft, Picture, Sliders, CircleXmark, Database, Lock, ChartMixed, TriangleExclamationFill } from "@gravity-ui/icons";
|
|
53
|
+
import { S as SmartLoader } from "./components/SmartLoader.js";
|
|
54
|
+
import update from "immutability-helper";
|
|
55
|
+
import { a as DialogEntryDescription } from "./components/DialogEntryDescription.js";
|
|
56
|
+
import noop from "lodash/noop";
|
|
57
|
+
import { C as Collapse } from "./components/Collapse.js";
|
|
58
|
+
import { get } from "lodash";
|
|
59
|
+
import { a as DialogTextWidget } from "./components/DialogTextWidget.js";
|
|
60
|
+
import { m as getDashEntryUrl, n as getNewDashUrl$1, C as ControlButton, o as ControlCheckbox, p as ControlRangeDatepicker, q as ControlDatepicker, r as ControlTextArea, s as ControlInput, t as ControlSelect, v as isValidRequiredValue } from "./components/DashKit.js";
|
|
61
|
+
import { g as getFieldEditorDocPath } from "./components/FieldEditor.js";
|
|
62
|
+
import { E as EntryIcon } from "./components/EntryIcon.js";
|
|
63
|
+
import { F as FieldWrapper } from "./components/FieldWrapper.js";
|
|
64
|
+
import { compose } from "recompose";
|
|
65
|
+
import { W as WorkbookNavigationMinimal } from "./components/WorkbookNavigationMinimal.js";
|
|
66
|
+
import { E as EntityIcon } from "./components/EntityIcon.js";
|
|
67
|
+
import isEmpty from "lodash/isEmpty";
|
|
68
|
+
import _uniqBy from "lodash/uniqBy";
|
|
69
|
+
import { I as Interpolate } from "./components/Interpolate.js";
|
|
70
|
+
import isEqual from "lodash/isEqual";
|
|
71
|
+
import { a8 as HOTKEYS_SCOPES } from "./components/DialogFilter.js";
|
|
72
|
+
import "@gravity-ui/uikit/styles/styles.scss";
|
|
73
|
+
/* empty css */
|
|
74
|
+
import { createHashHistory } from "history";
|
|
75
|
+
const { theme, themeSettings } = getLocalTheme();
|
|
76
|
+
function getUserState() {
|
|
77
|
+
return {
|
|
78
|
+
settings: {
|
|
79
|
+
data: DL.USER_SETTINGS,
|
|
80
|
+
error: null,
|
|
81
|
+
loading: false
|
|
82
|
+
},
|
|
83
|
+
theme,
|
|
84
|
+
themeSettings
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function user(state = getUserState(), action) {
|
|
88
|
+
switch (action.type) {
|
|
89
|
+
case UPDATE_USER_SETTINGS: {
|
|
90
|
+
return {
|
|
91
|
+
...state,
|
|
92
|
+
settings: {
|
|
93
|
+
...state.settings,
|
|
94
|
+
data: { ...state.settings.data, ...action.payload.userSettings }
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
case SET_THEME: {
|
|
99
|
+
return {
|
|
100
|
+
...state,
|
|
101
|
+
theme: action.payload.theme,
|
|
102
|
+
themeSettings: action.payload.themeSettings
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
default:
|
|
106
|
+
return state;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function getLandingNavigationSettings() {
|
|
110
|
+
const errorType = DL.LANDING_PAGE_ERROR_TYPE;
|
|
111
|
+
return {
|
|
112
|
+
withHelpCenter: !isHeaderWithoutHelpCenterError(errorType),
|
|
113
|
+
withNavigation: !isHeaderWithoutNavigationError(errorType)
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const getInitialSettings = () => ({
|
|
117
|
+
withHelpCenter: true,
|
|
118
|
+
withNavigation: !DL.HIDE_NAVIGATION,
|
|
119
|
+
navigationType: "aside",
|
|
120
|
+
...DL.IS_LANDING ? getLandingNavigationSettings() : {}
|
|
121
|
+
});
|
|
122
|
+
const getInitialState$1 = () => ({
|
|
123
|
+
startFromNavigation: "",
|
|
124
|
+
panelVisible: false,
|
|
125
|
+
place: "",
|
|
126
|
+
asideHeaderData: {
|
|
127
|
+
// This initial size is used in mobile version
|
|
128
|
+
size: 0
|
|
129
|
+
},
|
|
130
|
+
settings: getInitialSettings(),
|
|
131
|
+
currentPageEntry: null,
|
|
132
|
+
isHidden: false
|
|
133
|
+
});
|
|
134
|
+
const getAsideHeaderInitialState = () => {
|
|
135
|
+
const { getIsCompact: getIsCompact2 } = registry.common.functions.getAll();
|
|
136
|
+
return {
|
|
137
|
+
...getInitialState$1(),
|
|
138
|
+
isCompact: getIsCompact2()
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
function asideHeader(state = getAsideHeaderInitialState(), action) {
|
|
142
|
+
switch (action.type) {
|
|
143
|
+
case OPEN_NAVIGATION: {
|
|
144
|
+
const { startFromNavigation, place } = action;
|
|
145
|
+
return {
|
|
146
|
+
...state,
|
|
147
|
+
startFromNavigation: startFromNavigation || "",
|
|
148
|
+
place: place || "",
|
|
149
|
+
panelVisible: true
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
case CLOSE_NAVIGATION: {
|
|
153
|
+
return {
|
|
154
|
+
...state,
|
|
155
|
+
panelVisible: false
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
case SET_ASIDE_HEADER_DATA: {
|
|
159
|
+
return {
|
|
160
|
+
...state,
|
|
161
|
+
asideHeaderData: action.asideHeaderData
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
case SET_CURRENT_PAGE_ENTRY: {
|
|
165
|
+
return {
|
|
166
|
+
...state,
|
|
167
|
+
currentPageEntry: action.currentPageEntry
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
case SET_ASIDE_HEADER_SETTINGS: {
|
|
171
|
+
return {
|
|
172
|
+
...state,
|
|
173
|
+
settings: {
|
|
174
|
+
...state.settings,
|
|
175
|
+
...action.settings
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
case RESET_ASIDE_HEADER_SETTINGS: {
|
|
180
|
+
return {
|
|
181
|
+
...state,
|
|
182
|
+
settings: getInitialSettings()
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
case SET_IS_COMPACT: {
|
|
186
|
+
return {
|
|
187
|
+
...state,
|
|
188
|
+
isCompact: action.isCompact
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
case SET_IS_HIDDEN: {
|
|
192
|
+
return {
|
|
193
|
+
...state,
|
|
194
|
+
isHidden: action.isHidden
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
default: {
|
|
198
|
+
return state;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const initialState$b = {
|
|
203
|
+
getWorkbookEntries: {
|
|
204
|
+
isLoading: false,
|
|
205
|
+
data: null,
|
|
206
|
+
error: null
|
|
207
|
+
},
|
|
208
|
+
getWorkbookSharedEntries: {
|
|
209
|
+
isLoading: false,
|
|
210
|
+
data: null,
|
|
211
|
+
error: null
|
|
212
|
+
},
|
|
213
|
+
bindSharedEntryToWorkbook: {
|
|
214
|
+
isLoading: false,
|
|
215
|
+
error: null
|
|
216
|
+
},
|
|
217
|
+
items: [],
|
|
218
|
+
sharedItems: [],
|
|
219
|
+
getWorkbook: {
|
|
220
|
+
isLoading: false,
|
|
221
|
+
data: null,
|
|
222
|
+
error: null
|
|
223
|
+
},
|
|
224
|
+
getWorkbookBreadcrumbs: {
|
|
225
|
+
isLoading: false,
|
|
226
|
+
data: null,
|
|
227
|
+
error: null
|
|
228
|
+
},
|
|
229
|
+
createWorkbookEntry: {
|
|
230
|
+
type: null
|
|
231
|
+
},
|
|
232
|
+
renameEntry: {
|
|
233
|
+
isLoading: false,
|
|
234
|
+
data: null,
|
|
235
|
+
error: null
|
|
236
|
+
},
|
|
237
|
+
changeFavoriteEntry: {
|
|
238
|
+
isLoading: false,
|
|
239
|
+
data: null,
|
|
240
|
+
error: null
|
|
241
|
+
},
|
|
242
|
+
deleteEntry: {
|
|
243
|
+
isLoading: false,
|
|
244
|
+
data: null,
|
|
245
|
+
error: null
|
|
246
|
+
},
|
|
247
|
+
filters: {
|
|
248
|
+
filterString: void 0,
|
|
249
|
+
orderField: "name",
|
|
250
|
+
orderDirection: "asc"
|
|
251
|
+
},
|
|
252
|
+
workbooksNames: {},
|
|
253
|
+
workbookPermissions: null,
|
|
254
|
+
entityBreadcrumbs: null
|
|
255
|
+
};
|
|
256
|
+
const workbooksReducer = (state = initialState$b, action) => {
|
|
257
|
+
switch (action.type) {
|
|
258
|
+
// Information about the workbook
|
|
259
|
+
case GET_WORKBOOK_LOADING: {
|
|
260
|
+
return {
|
|
261
|
+
...state,
|
|
262
|
+
getWorkbook: {
|
|
263
|
+
...state.getWorkbook,
|
|
264
|
+
isLoading: true,
|
|
265
|
+
error: null
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
case GET_WORKBOOK_SUCCESS: {
|
|
270
|
+
return {
|
|
271
|
+
...state,
|
|
272
|
+
getWorkbook: {
|
|
273
|
+
isLoading: false,
|
|
274
|
+
data: action.data,
|
|
275
|
+
error: null
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
case GET_WORKBOOK_FAILED: {
|
|
280
|
+
return {
|
|
281
|
+
...state,
|
|
282
|
+
getWorkbook: {
|
|
283
|
+
...state.getWorkbook,
|
|
284
|
+
isLoading: false,
|
|
285
|
+
error: action.error
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
// Bread crumbs of workbooks
|
|
290
|
+
case GET_WORKBOOK_BREADCRUMBS_LOADING: {
|
|
291
|
+
return {
|
|
292
|
+
...state,
|
|
293
|
+
getWorkbookBreadcrumbs: {
|
|
294
|
+
...state.getWorkbookBreadcrumbs,
|
|
295
|
+
isLoading: true,
|
|
296
|
+
error: null
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
case GET_WORKBOOK_BREADCRUMBS_SUCCESS: {
|
|
301
|
+
return {
|
|
302
|
+
...state,
|
|
303
|
+
getWorkbookBreadcrumbs: {
|
|
304
|
+
isLoading: false,
|
|
305
|
+
data: action.data,
|
|
306
|
+
error: null
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
case GET_WORKBOOK_BREADCRUMBS_FAILED: {
|
|
311
|
+
return {
|
|
312
|
+
...state,
|
|
313
|
+
getWorkbookBreadcrumbs: {
|
|
314
|
+
...state.getWorkbookBreadcrumbs,
|
|
315
|
+
isLoading: false,
|
|
316
|
+
error: action.error
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
// Entities in the workbook
|
|
321
|
+
case GET_WORKBOOK_ENTRIES_LOADING: {
|
|
322
|
+
return {
|
|
323
|
+
...state,
|
|
324
|
+
getWorkbookEntries: {
|
|
325
|
+
...state.getWorkbookEntries,
|
|
326
|
+
isLoading: true,
|
|
327
|
+
error: null
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
case GET_WORKBOOK_ENTRIES_SUCCESS: {
|
|
332
|
+
const loadedIds = new Set(
|
|
333
|
+
state.items.map((item) => {
|
|
334
|
+
return item.entryId;
|
|
335
|
+
})
|
|
336
|
+
);
|
|
337
|
+
const newEntries = action.data.entries.filter((entry) => !loadedIds.has(entry.entryId));
|
|
338
|
+
return {
|
|
339
|
+
...state,
|
|
340
|
+
getWorkbookEntries: {
|
|
341
|
+
isLoading: false,
|
|
342
|
+
data: action.data,
|
|
343
|
+
error: null
|
|
344
|
+
},
|
|
345
|
+
items: [...state.items, ...newEntries]
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
case GET_ALL_WORKBOOK_ENTRIES_SEPARATELY_SUCCESS: {
|
|
349
|
+
const loadedIds = new Set(
|
|
350
|
+
state.items.map((item) => {
|
|
351
|
+
return item.entryId;
|
|
352
|
+
})
|
|
353
|
+
);
|
|
354
|
+
const newEntries = [];
|
|
355
|
+
action.data.forEach((workbookEntries) => {
|
|
356
|
+
return workbookEntries?.entries.forEach((entry) => {
|
|
357
|
+
if (!loadedIds.has(entry.entryId)) {
|
|
358
|
+
newEntries.push(entry);
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
return {
|
|
363
|
+
...state,
|
|
364
|
+
getWorkbookEntries: {
|
|
365
|
+
isLoading: false,
|
|
366
|
+
data: action.data,
|
|
367
|
+
error: null
|
|
368
|
+
},
|
|
369
|
+
items: [...state.items, ...newEntries]
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
case GET_WORKBOOK_ENTRIES_FAILED: {
|
|
373
|
+
return {
|
|
374
|
+
...state,
|
|
375
|
+
getWorkbookEntries: {
|
|
376
|
+
...state.getWorkbookEntries,
|
|
377
|
+
isLoading: false,
|
|
378
|
+
error: action.error
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
// Shared entities in the workbook
|
|
383
|
+
case GET_WORKBOOK_SHARED_ENTRIES_LOADING: {
|
|
384
|
+
return {
|
|
385
|
+
...state,
|
|
386
|
+
getWorkbookSharedEntries: {
|
|
387
|
+
...state.getWorkbookSharedEntries,
|
|
388
|
+
isLoading: true,
|
|
389
|
+
error: null
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
case GET_WORKBOOK_SHARED_ENTRIES_SUCCESS: {
|
|
394
|
+
const loadedIds = new Set(
|
|
395
|
+
state.sharedItems.map((item) => {
|
|
396
|
+
return item.entryId;
|
|
397
|
+
})
|
|
398
|
+
);
|
|
399
|
+
const newEntries = action.data.entries.filter((entry) => !loadedIds.has(entry.entryId));
|
|
400
|
+
return {
|
|
401
|
+
...state,
|
|
402
|
+
getWorkbookSharedEntries: {
|
|
403
|
+
isLoading: false,
|
|
404
|
+
data: action.data,
|
|
405
|
+
error: null
|
|
406
|
+
},
|
|
407
|
+
sharedItems: [...state.sharedItems, ...newEntries]
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
case GET_WORKBOOK_SHARED_ENTRIES_FAILED: {
|
|
411
|
+
return {
|
|
412
|
+
...state,
|
|
413
|
+
getWorkbookSharedEntries: {
|
|
414
|
+
...state.getWorkbookSharedEntries,
|
|
415
|
+
isLoading: false,
|
|
416
|
+
error: action.error
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
case BIND_SHARED_ENTRY_TO_WORKBOOK_LOADING: {
|
|
421
|
+
return {
|
|
422
|
+
...state,
|
|
423
|
+
bindSharedEntryToWorkbook: {
|
|
424
|
+
...state.bindSharedEntryToWorkbook,
|
|
425
|
+
isLoading: true
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
case BIND_SHARED_ENTRY_TO_WORKBOOK_SUCCESS: {
|
|
430
|
+
return {
|
|
431
|
+
...state,
|
|
432
|
+
bindSharedEntryToWorkbook: {
|
|
433
|
+
isLoading: false,
|
|
434
|
+
error: null
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
case BIND_SHARED_ENTRY_TO_WORKBOOK_FAILED: {
|
|
439
|
+
return {
|
|
440
|
+
...state,
|
|
441
|
+
bindSharedEntryToWorkbook: {
|
|
442
|
+
isLoading: false,
|
|
443
|
+
error: action.error
|
|
444
|
+
}
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
// Resetting information about the contents of the workbook
|
|
448
|
+
case RESET_WORKBOOK_ENTRIES: {
|
|
449
|
+
return {
|
|
450
|
+
...state,
|
|
451
|
+
getWorkbookEntries: initialState$b.getWorkbookEntries,
|
|
452
|
+
items: initialState$b.items
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
// Resetting information about the shared entries of the workbook
|
|
456
|
+
case RESET_WORKBOOK_SHARED_ENTRIES: {
|
|
457
|
+
return {
|
|
458
|
+
...state,
|
|
459
|
+
getWorkbookSharedEntries: initialState$b.getWorkbookSharedEntries,
|
|
460
|
+
sharedItems: initialState$b.sharedItems
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
case RESET_WORKBOOK_ENTRIES_BY_SCOPE: {
|
|
464
|
+
const entries = state.items.filter((entry) => entry.scope !== action.data);
|
|
465
|
+
return {
|
|
466
|
+
...state,
|
|
467
|
+
getWorkbookEntries: {
|
|
468
|
+
...state.getWorkbookEntries,
|
|
469
|
+
data: entries
|
|
470
|
+
},
|
|
471
|
+
items: entries
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
// Information about which entity to create in the workbook
|
|
475
|
+
case SET_CREATE_WORKBOOK_ENTRY_TYPE: {
|
|
476
|
+
return {
|
|
477
|
+
...state,
|
|
478
|
+
createWorkbookEntry: {
|
|
479
|
+
type: action.data
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
case RESET_CREATE_WORKBOOK_ENTRY_TYPE: {
|
|
484
|
+
return {
|
|
485
|
+
...state,
|
|
486
|
+
createWorkbookEntry: initialState$b.createWorkbookEntry
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
// Renaming the entry
|
|
490
|
+
case RENAME_ENTRY_LOADING: {
|
|
491
|
+
return {
|
|
492
|
+
...state,
|
|
493
|
+
renameEntry: {
|
|
494
|
+
isLoading: true,
|
|
495
|
+
data: null,
|
|
496
|
+
error: null
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
case RENAME_ENTRY_SUCCESS: {
|
|
501
|
+
return {
|
|
502
|
+
...state,
|
|
503
|
+
renameEntry: {
|
|
504
|
+
isLoading: false,
|
|
505
|
+
data: action.data,
|
|
506
|
+
error: null
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
case RENAME_ENTRY_FAILED: {
|
|
511
|
+
return {
|
|
512
|
+
...state,
|
|
513
|
+
renameEntry: {
|
|
514
|
+
...state.renameEntry,
|
|
515
|
+
isLoading: false,
|
|
516
|
+
error: action.error
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
case RENAME_ENTRY_INLINE: {
|
|
521
|
+
return {
|
|
522
|
+
...state,
|
|
523
|
+
items: state.items.map((item) => {
|
|
524
|
+
const renamedEntry = action.data[0];
|
|
525
|
+
if (renamedEntry.entryId === item.entryId) {
|
|
526
|
+
const newItem = { ...item };
|
|
527
|
+
Object.keys(newItem).forEach((key) => {
|
|
528
|
+
const typedKey = key;
|
|
529
|
+
if (typedKey in renamedEntry) {
|
|
530
|
+
newItem[typedKey] = renamedEntry[typedKey];
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
return newItem;
|
|
534
|
+
}
|
|
535
|
+
return item;
|
|
536
|
+
})
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
// Change favorite the entry
|
|
540
|
+
case CHANGE_FAVORITE_ENTRY_LOADING: {
|
|
541
|
+
return {
|
|
542
|
+
...state,
|
|
543
|
+
changeFavoriteEntry: {
|
|
544
|
+
isLoading: true,
|
|
545
|
+
data: null,
|
|
546
|
+
error: null
|
|
547
|
+
}
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
case CHANGE_FAVORITE_ENTRY_SUCCESS: {
|
|
551
|
+
return {
|
|
552
|
+
...state,
|
|
553
|
+
changeFavoriteEntry: {
|
|
554
|
+
isLoading: false,
|
|
555
|
+
data: action.data,
|
|
556
|
+
error: null
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
case CHANGE_FAVORITE_ENTRY_FAILED: {
|
|
561
|
+
return {
|
|
562
|
+
...state,
|
|
563
|
+
changeFavoriteEntry: {
|
|
564
|
+
...state.changeFavoriteEntry,
|
|
565
|
+
isLoading: false,
|
|
566
|
+
error: action.error
|
|
567
|
+
}
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
case CHANGE_FAVORITE_ENTRY_INLINE: {
|
|
571
|
+
const changeFavoriteEntry = Array.isArray(action.data) ? action.data[0] : action.data;
|
|
572
|
+
const mapItemsCallback = (item) => {
|
|
573
|
+
if (changeFavoriteEntry.entryId === item.entryId) {
|
|
574
|
+
const newItem = { ...item };
|
|
575
|
+
newItem.isFavorite = !newItem.isFavorite;
|
|
576
|
+
return newItem;
|
|
577
|
+
}
|
|
578
|
+
return item;
|
|
579
|
+
};
|
|
580
|
+
return {
|
|
581
|
+
...state,
|
|
582
|
+
sharedItems: state.sharedItems.map(mapItemsCallback),
|
|
583
|
+
items: state.items.map(mapItemsCallback)
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
// Deleting an entry
|
|
587
|
+
case DELETE_ENTRY_LOADING: {
|
|
588
|
+
return {
|
|
589
|
+
...state,
|
|
590
|
+
deleteEntry: {
|
|
591
|
+
isLoading: true,
|
|
592
|
+
data: null,
|
|
593
|
+
error: null
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
case DELETE_ENTRY_SUCCESS: {
|
|
598
|
+
return {
|
|
599
|
+
...state,
|
|
600
|
+
deleteEntry: {
|
|
601
|
+
isLoading: false,
|
|
602
|
+
data: action.data,
|
|
603
|
+
error: null
|
|
604
|
+
}
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
case DELETE_ENTRY_FAILED: {
|
|
608
|
+
return {
|
|
609
|
+
...state,
|
|
610
|
+
deleteEntry: {
|
|
611
|
+
...state.deleteEntry,
|
|
612
|
+
isLoading: false,
|
|
613
|
+
error: action.error
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
case DELETE_ENTRY_INLINE: {
|
|
618
|
+
return {
|
|
619
|
+
...state,
|
|
620
|
+
items: state.items.filter((item) => {
|
|
621
|
+
if (action.data.entryId === item.entryId) {
|
|
622
|
+
return false;
|
|
623
|
+
}
|
|
624
|
+
return true;
|
|
625
|
+
})
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
case CHANGE_FILTERS: {
|
|
629
|
+
return {
|
|
630
|
+
...state,
|
|
631
|
+
filters: {
|
|
632
|
+
...state.filters,
|
|
633
|
+
...action.data
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
case ADD_WORKBOOK_INFO: {
|
|
638
|
+
return {
|
|
639
|
+
...state,
|
|
640
|
+
workbooksNames: {
|
|
641
|
+
...state.workbooksNames,
|
|
642
|
+
[action.data.workbookId]: action.data.workbookName
|
|
643
|
+
},
|
|
644
|
+
workbookPermissions: action.data.workbookPermissions,
|
|
645
|
+
entityBreadcrumbs: action.data.workbookBreadcrumbs
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
case ADD_COLLECTION_BREADCRUMBS: {
|
|
649
|
+
return {
|
|
650
|
+
...state,
|
|
651
|
+
entityBreadcrumbs: action.data
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
case RESET_WORKBOOK_PERMISSIONS: {
|
|
655
|
+
return {
|
|
656
|
+
...state,
|
|
657
|
+
workbookPermissions: null
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
case SET_WORKBOOK: {
|
|
661
|
+
return {
|
|
662
|
+
...state,
|
|
663
|
+
getWorkbook: {
|
|
664
|
+
isLoading: false,
|
|
665
|
+
data: action.data.workbook,
|
|
666
|
+
error: null
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
default: {
|
|
671
|
+
return state;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
const reducer$1 = (state, action) => {
|
|
676
|
+
if (action.type === RESET_WORKBOOK_STATE) {
|
|
677
|
+
return workbooksReducer(void 0, action);
|
|
678
|
+
}
|
|
679
|
+
return workbooksReducer(state, action);
|
|
680
|
+
};
|
|
681
|
+
const getInitialDialogState = () => ({
|
|
682
|
+
dialogs: []
|
|
683
|
+
});
|
|
684
|
+
function dialog(state = getInitialDialogState(), action) {
|
|
685
|
+
switch (action.type) {
|
|
686
|
+
case OPEN_DIALOG:
|
|
687
|
+
return {
|
|
688
|
+
...state,
|
|
689
|
+
dialogs: [...state.dialogs, { id: action.id, props: action.props }]
|
|
690
|
+
};
|
|
691
|
+
case CLOSE_DIALOG: {
|
|
692
|
+
return {
|
|
693
|
+
...state,
|
|
694
|
+
dialogs: state.dialogs.slice(0, -1)
|
|
695
|
+
};
|
|
696
|
+
}
|
|
697
|
+
case UPDATE_DIALOG_PROPS: {
|
|
698
|
+
const { id, props } = action;
|
|
699
|
+
const dialogToUpdateIndex = state.dialogs.findIndex((d) => d.id === id);
|
|
700
|
+
if (dialogToUpdateIndex !== -1) {
|
|
701
|
+
const dialogToUpdate = state.dialogs[dialogToUpdateIndex];
|
|
702
|
+
const updatedDialog = Object.assign(
|
|
703
|
+
{ id: dialogToUpdate.id },
|
|
704
|
+
{ props: dialogToUpdate.props },
|
|
705
|
+
{ props }
|
|
706
|
+
);
|
|
707
|
+
const nextDialogs = state.dialogs.map((d) => {
|
|
708
|
+
if (d.id === id) {
|
|
709
|
+
return updatedDialog;
|
|
710
|
+
}
|
|
711
|
+
return d;
|
|
712
|
+
});
|
|
713
|
+
return {
|
|
714
|
+
...state,
|
|
715
|
+
dialogs: nextDialogs
|
|
716
|
+
};
|
|
717
|
+
}
|
|
718
|
+
return state;
|
|
719
|
+
}
|
|
720
|
+
case PARTIAL_UPDATE_DIALOG_PROPS: {
|
|
721
|
+
const { id, props } = action;
|
|
722
|
+
const dialogToUpdateIndex = state.dialogs.findIndex((d) => d.id === id);
|
|
723
|
+
if (dialogToUpdateIndex !== -1) {
|
|
724
|
+
const dialogToUpdate = state.dialogs[dialogToUpdateIndex];
|
|
725
|
+
const updatedDialog = Object.assign(
|
|
726
|
+
{ id: dialogToUpdate.id },
|
|
727
|
+
{ props: { ...dialogToUpdate.props, ...props } }
|
|
728
|
+
);
|
|
729
|
+
return {
|
|
730
|
+
...state,
|
|
731
|
+
dialogs: state.dialogs.map((d) => d.id === id ? updatedDialog : d)
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
return state;
|
|
735
|
+
}
|
|
736
|
+
default:
|
|
737
|
+
return state;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
const initialState$a = {
|
|
741
|
+
isLanding: DL.IS_LANDING
|
|
742
|
+
};
|
|
743
|
+
const landing = (state = initialState$a, action) => {
|
|
744
|
+
switch (action.type) {
|
|
745
|
+
case SET_IS_LANDING: {
|
|
746
|
+
return {
|
|
747
|
+
isLanding: action.isLanding
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
default: {
|
|
751
|
+
return state;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
const getInitialEntryContentState = () => ({
|
|
756
|
+
revisionsMode: RevisionsMode.Closed,
|
|
757
|
+
revisionsListMode: RevisionsListMode.Expanded,
|
|
758
|
+
revisions: null,
|
|
759
|
+
currentRevId: null,
|
|
760
|
+
hasRevisionsNextPage: false,
|
|
761
|
+
revisionsLoadingStatus: "",
|
|
762
|
+
isRenameWithoutReload: false
|
|
763
|
+
});
|
|
764
|
+
function entryContent(state = getInitialEntryContentState(), action) {
|
|
765
|
+
switch (action.type) {
|
|
766
|
+
case SET_ENTRY: {
|
|
767
|
+
const newEntryId = action.payload.entryId;
|
|
768
|
+
const currentEntryRevisionsList = state.revisions;
|
|
769
|
+
const needCleanRevisionsList = currentEntryRevisionsList?.length && currentEntryRevisionsList[0].entryId !== newEntryId;
|
|
770
|
+
const revisions = needCleanRevisionsList ? [] : state.revisions;
|
|
771
|
+
return {
|
|
772
|
+
...state,
|
|
773
|
+
...action.payload,
|
|
774
|
+
revisions,
|
|
775
|
+
currentRevId: action.payload.revId
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
case SET_REVISIONS_MODE: {
|
|
779
|
+
const newState = {
|
|
780
|
+
...state,
|
|
781
|
+
revisionsMode: action.payload
|
|
782
|
+
};
|
|
783
|
+
if (!action.payload) {
|
|
784
|
+
newState.revisionsListMode = RevisionsListMode.Expanded;
|
|
785
|
+
}
|
|
786
|
+
return newState;
|
|
787
|
+
}
|
|
788
|
+
case SET_REVISIONS_LIST_MODE:
|
|
789
|
+
return {
|
|
790
|
+
...state,
|
|
791
|
+
revisionsListMode: action.payload
|
|
792
|
+
};
|
|
793
|
+
case TOGGLE_REVISIONS_MODE: {
|
|
794
|
+
const newRevisionsMode = state.revisionsMode === RevisionsMode.Opened ? RevisionsMode.Closed : RevisionsMode.Opened;
|
|
795
|
+
const newState = {
|
|
796
|
+
...state,
|
|
797
|
+
revisionsMode: newRevisionsMode
|
|
798
|
+
};
|
|
799
|
+
return newState;
|
|
800
|
+
}
|
|
801
|
+
case SET_REVISIONS: {
|
|
802
|
+
const { revisions, currentRevId, hasRevisionsNextPage } = action.payload;
|
|
803
|
+
return {
|
|
804
|
+
...state,
|
|
805
|
+
revisions,
|
|
806
|
+
currentRevId,
|
|
807
|
+
hasRevisionsNextPage
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
case CLEAN_REVISIONS: {
|
|
811
|
+
return {
|
|
812
|
+
...state,
|
|
813
|
+
revisions: [],
|
|
814
|
+
hasRevisionsNextPage: false
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
case SET_ENTRY_CURRENT_REVID:
|
|
818
|
+
return {
|
|
819
|
+
...state,
|
|
820
|
+
currentRevId: action.payload
|
|
821
|
+
};
|
|
822
|
+
case REVISIONS_LOADING_STATUS:
|
|
823
|
+
return {
|
|
824
|
+
...state,
|
|
825
|
+
revisionsLoadingStatus: action.payload
|
|
826
|
+
};
|
|
827
|
+
case SET_IS_RENAME_WITHOUT_RELOAD: {
|
|
828
|
+
return {
|
|
829
|
+
...state,
|
|
830
|
+
isRenameWithoutReload: action.isRenameWithoutReload
|
|
831
|
+
};
|
|
832
|
+
}
|
|
833
|
+
default:
|
|
834
|
+
return state;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
const getInitialState = () => ({
|
|
838
|
+
colorPalettes: [],
|
|
839
|
+
currentColorPalette: void 0
|
|
840
|
+
});
|
|
841
|
+
function colorPaletteEditor(state = getInitialState(), action) {
|
|
842
|
+
switch (action.type) {
|
|
843
|
+
case SET_CURRENT_COLOR_PALETTE: {
|
|
844
|
+
return {
|
|
845
|
+
...state,
|
|
846
|
+
currentColorPalette: action.colorPalette
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
case SET_COLOR_PALETTES: {
|
|
850
|
+
return {
|
|
851
|
+
...state,
|
|
852
|
+
colorPalettes: action.colorPalettes
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
default:
|
|
856
|
+
return state;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
const initialState$9 = {
|
|
860
|
+
getRootCollectionPermissions: {
|
|
861
|
+
isLoading: false,
|
|
862
|
+
data: null,
|
|
863
|
+
error: null
|
|
864
|
+
},
|
|
865
|
+
getCollectionBreadcrumbs: {
|
|
866
|
+
isLoading: false,
|
|
867
|
+
data: null,
|
|
868
|
+
error: null
|
|
869
|
+
},
|
|
870
|
+
getCollection: {
|
|
871
|
+
isLoading: false,
|
|
872
|
+
data: null,
|
|
873
|
+
error: null
|
|
874
|
+
},
|
|
875
|
+
getStructureItems: {
|
|
876
|
+
isLoading: false,
|
|
877
|
+
data: null,
|
|
878
|
+
error: null
|
|
879
|
+
},
|
|
880
|
+
items: [],
|
|
881
|
+
createCollection: {
|
|
882
|
+
isLoading: false,
|
|
883
|
+
data: null,
|
|
884
|
+
error: null
|
|
885
|
+
},
|
|
886
|
+
copyTemplate: {
|
|
887
|
+
isLoading: false,
|
|
888
|
+
data: null,
|
|
889
|
+
error: null
|
|
890
|
+
},
|
|
891
|
+
createWorkbook: {
|
|
892
|
+
isLoading: false,
|
|
893
|
+
data: null,
|
|
894
|
+
error: null
|
|
895
|
+
},
|
|
896
|
+
moveCollection: {
|
|
897
|
+
isLoading: false,
|
|
898
|
+
data: null,
|
|
899
|
+
error: null
|
|
900
|
+
},
|
|
901
|
+
moveCollections: {
|
|
902
|
+
isLoading: false,
|
|
903
|
+
data: null,
|
|
904
|
+
error: null
|
|
905
|
+
},
|
|
906
|
+
moveWorkbook: {
|
|
907
|
+
isLoading: false,
|
|
908
|
+
data: null,
|
|
909
|
+
error: null
|
|
910
|
+
},
|
|
911
|
+
moveWorkbooks: {
|
|
912
|
+
isLoading: false,
|
|
913
|
+
data: null,
|
|
914
|
+
error: null
|
|
915
|
+
},
|
|
916
|
+
moveSharedEntry: {
|
|
917
|
+
isLoading: false,
|
|
918
|
+
data: null,
|
|
919
|
+
error: null
|
|
920
|
+
},
|
|
921
|
+
copyWorkbook: {
|
|
922
|
+
isLoading: false,
|
|
923
|
+
data: null,
|
|
924
|
+
error: null
|
|
925
|
+
},
|
|
926
|
+
updateWorkbook: {
|
|
927
|
+
isLoading: false,
|
|
928
|
+
data: null,
|
|
929
|
+
error: null
|
|
930
|
+
},
|
|
931
|
+
updateCollection: {
|
|
932
|
+
isLoading: false,
|
|
933
|
+
data: null,
|
|
934
|
+
error: null
|
|
935
|
+
},
|
|
936
|
+
deleteCollection: {
|
|
937
|
+
isLoading: false,
|
|
938
|
+
data: null,
|
|
939
|
+
error: null
|
|
940
|
+
},
|
|
941
|
+
deleteCollections: {
|
|
942
|
+
isLoading: false,
|
|
943
|
+
data: null,
|
|
944
|
+
error: null
|
|
945
|
+
},
|
|
946
|
+
deleteWorkbook: {
|
|
947
|
+
isLoading: false,
|
|
948
|
+
data: null,
|
|
949
|
+
error: null
|
|
950
|
+
},
|
|
951
|
+
deleteWorkbooks: {
|
|
952
|
+
isLoading: false,
|
|
953
|
+
data: null,
|
|
954
|
+
error: null
|
|
955
|
+
},
|
|
956
|
+
exportWorkbook: {
|
|
957
|
+
isLoading: false,
|
|
958
|
+
data: null,
|
|
959
|
+
error: null
|
|
960
|
+
},
|
|
961
|
+
importWorkbook: {
|
|
962
|
+
isLoading: false,
|
|
963
|
+
data: null,
|
|
964
|
+
error: null
|
|
965
|
+
},
|
|
966
|
+
getExportResult: {
|
|
967
|
+
isLoading: false,
|
|
968
|
+
data: null,
|
|
969
|
+
error: null
|
|
970
|
+
},
|
|
971
|
+
getImportProgress: {
|
|
972
|
+
isLoading: false,
|
|
973
|
+
data: null,
|
|
974
|
+
error: null,
|
|
975
|
+
notificationEntries: null
|
|
976
|
+
},
|
|
977
|
+
getExportProgress: {
|
|
978
|
+
isLoading: false,
|
|
979
|
+
data: null,
|
|
980
|
+
error: null,
|
|
981
|
+
notificationEntries: null
|
|
982
|
+
}
|
|
983
|
+
};
|
|
984
|
+
const collectionsStructure = (state = initialState$9, action) => {
|
|
985
|
+
switch (action.type) {
|
|
986
|
+
case RESET_STATE: {
|
|
987
|
+
return initialState$9;
|
|
988
|
+
}
|
|
989
|
+
// Getting rights at the root of the structure
|
|
990
|
+
case GET_ROOT_COLLECTION_PERMISSIONS_LOADING: {
|
|
991
|
+
return {
|
|
992
|
+
...state,
|
|
993
|
+
getRootCollectionPermissions: {
|
|
994
|
+
...state.getRootCollectionPermissions,
|
|
995
|
+
isLoading: true,
|
|
996
|
+
error: null
|
|
997
|
+
}
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
case GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS: {
|
|
1001
|
+
return {
|
|
1002
|
+
...state,
|
|
1003
|
+
getRootCollectionPermissions: {
|
|
1004
|
+
isLoading: false,
|
|
1005
|
+
data: action.data,
|
|
1006
|
+
error: null
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
case GET_ROOT_COLLECTION_PERMISSIONS_FAILED: {
|
|
1011
|
+
return {
|
|
1012
|
+
...state,
|
|
1013
|
+
getRootCollectionPermissions: {
|
|
1014
|
+
...state.getRootCollectionPermissions,
|
|
1015
|
+
isLoading: false,
|
|
1016
|
+
error: action.error
|
|
1017
|
+
}
|
|
1018
|
+
};
|
|
1019
|
+
}
|
|
1020
|
+
// Reset the collection bread crumbs
|
|
1021
|
+
case RESET_COLLECTION_BREADCRUMBS: {
|
|
1022
|
+
return {
|
|
1023
|
+
...state,
|
|
1024
|
+
getCollectionBreadcrumbs: initialState$9.getCollectionBreadcrumbs
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1027
|
+
// Collections Bread Crumbs
|
|
1028
|
+
case GET_COLLECTION_BREADCRUMBS_LOADING: {
|
|
1029
|
+
return {
|
|
1030
|
+
...state,
|
|
1031
|
+
getCollectionBreadcrumbs: {
|
|
1032
|
+
...state.getCollectionBreadcrumbs,
|
|
1033
|
+
isLoading: true,
|
|
1034
|
+
error: null
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
case GET_COLLECTION_BREADCRUMBS_SUCCESS: {
|
|
1039
|
+
return {
|
|
1040
|
+
...state,
|
|
1041
|
+
getCollectionBreadcrumbs: {
|
|
1042
|
+
isLoading: false,
|
|
1043
|
+
data: action.data,
|
|
1044
|
+
error: null
|
|
1045
|
+
}
|
|
1046
|
+
};
|
|
1047
|
+
}
|
|
1048
|
+
case GET_COLLECTION_BREADCRUMBS_FAILED: {
|
|
1049
|
+
return {
|
|
1050
|
+
...state,
|
|
1051
|
+
getCollectionBreadcrumbs: {
|
|
1052
|
+
...state.getCollectionBreadcrumbs,
|
|
1053
|
+
isLoading: false,
|
|
1054
|
+
error: action.error
|
|
1055
|
+
}
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
// Information about the collection
|
|
1059
|
+
case GET_COLLECTION_LOADING: {
|
|
1060
|
+
return {
|
|
1061
|
+
...state,
|
|
1062
|
+
getCollection: {
|
|
1063
|
+
...state.getCollection,
|
|
1064
|
+
isLoading: true,
|
|
1065
|
+
error: null
|
|
1066
|
+
}
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
case GET_COLLECTION_SUCCESS: {
|
|
1070
|
+
return {
|
|
1071
|
+
...state,
|
|
1072
|
+
getCollection: {
|
|
1073
|
+
isLoading: false,
|
|
1074
|
+
data: action.data,
|
|
1075
|
+
error: null
|
|
1076
|
+
}
|
|
1077
|
+
};
|
|
1078
|
+
}
|
|
1079
|
+
case GET_COLLECTION_FAILED: {
|
|
1080
|
+
return {
|
|
1081
|
+
...state,
|
|
1082
|
+
getCollection: {
|
|
1083
|
+
...state.getCollection,
|
|
1084
|
+
isLoading: false,
|
|
1085
|
+
error: action.error
|
|
1086
|
+
}
|
|
1087
|
+
};
|
|
1088
|
+
}
|
|
1089
|
+
// Resetting Collection contents
|
|
1090
|
+
case RESET_STRUCTURE_ITEMS: {
|
|
1091
|
+
return {
|
|
1092
|
+
...state,
|
|
1093
|
+
getStructureItems: initialState$9.getStructureItems,
|
|
1094
|
+
items: initialState$9.items
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
// Contents of the collection
|
|
1098
|
+
case GET_STRUCTURE_ITEMS_LOADING: {
|
|
1099
|
+
return {
|
|
1100
|
+
...state,
|
|
1101
|
+
getStructureItems: {
|
|
1102
|
+
...state.getStructureItems,
|
|
1103
|
+
isLoading: true,
|
|
1104
|
+
error: null
|
|
1105
|
+
}
|
|
1106
|
+
};
|
|
1107
|
+
}
|
|
1108
|
+
case GET_STRUCTURE_ITEMS_SUCCESS: {
|
|
1109
|
+
const loadedIds = state.items.map((item) => {
|
|
1110
|
+
if ("workbookId" in item) {
|
|
1111
|
+
return item.workbookId;
|
|
1112
|
+
}
|
|
1113
|
+
return item.collectionId;
|
|
1114
|
+
});
|
|
1115
|
+
const newItems = action.data.items.filter((item) => {
|
|
1116
|
+
const id = "workbookId" in item ? item.workbookId : item.collectionId;
|
|
1117
|
+
return !loadedIds.includes(id);
|
|
1118
|
+
});
|
|
1119
|
+
return {
|
|
1120
|
+
...state,
|
|
1121
|
+
getStructureItems: {
|
|
1122
|
+
isLoading: false,
|
|
1123
|
+
data: action.data,
|
|
1124
|
+
error: null
|
|
1125
|
+
},
|
|
1126
|
+
items: [...state.items, ...newItems]
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
case GET_STRUCTURE_ITEMS_FAILED: {
|
|
1130
|
+
return {
|
|
1131
|
+
...state,
|
|
1132
|
+
getStructureItems: {
|
|
1133
|
+
...state.getStructureItems,
|
|
1134
|
+
isLoading: false,
|
|
1135
|
+
error: action.error
|
|
1136
|
+
}
|
|
1137
|
+
};
|
|
1138
|
+
}
|
|
1139
|
+
// copy template
|
|
1140
|
+
case COPY_TEMPLATE_LOADING: {
|
|
1141
|
+
return {
|
|
1142
|
+
...state,
|
|
1143
|
+
copyTemplate: {
|
|
1144
|
+
isLoading: true,
|
|
1145
|
+
data: null,
|
|
1146
|
+
error: null
|
|
1147
|
+
}
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
case COPY_TEMPLATE_SUCCESS: {
|
|
1151
|
+
return {
|
|
1152
|
+
...state,
|
|
1153
|
+
copyTemplate: {
|
|
1154
|
+
isLoading: false,
|
|
1155
|
+
data: action.data,
|
|
1156
|
+
error: null
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
case COPY_TEMPLATE_FAILED: {
|
|
1161
|
+
return {
|
|
1162
|
+
...state,
|
|
1163
|
+
copyTemplate: {
|
|
1164
|
+
...state.copyTemplate,
|
|
1165
|
+
isLoading: false,
|
|
1166
|
+
error: action.error
|
|
1167
|
+
}
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
// collections creation
|
|
1171
|
+
case CREATE_COLLECTION_LOADING: {
|
|
1172
|
+
return {
|
|
1173
|
+
...state,
|
|
1174
|
+
createCollection: {
|
|
1175
|
+
isLoading: true,
|
|
1176
|
+
data: null,
|
|
1177
|
+
error: null
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
case CREATE_COLLECTION_SUCCESS: {
|
|
1182
|
+
return {
|
|
1183
|
+
...state,
|
|
1184
|
+
createCollection: {
|
|
1185
|
+
isLoading: false,
|
|
1186
|
+
data: action.data,
|
|
1187
|
+
error: null
|
|
1188
|
+
}
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
case CREATE_COLLECTION_FAILED: {
|
|
1192
|
+
return {
|
|
1193
|
+
...state,
|
|
1194
|
+
createCollection: {
|
|
1195
|
+
...state.createCollection,
|
|
1196
|
+
isLoading: false,
|
|
1197
|
+
error: action.error
|
|
1198
|
+
}
|
|
1199
|
+
};
|
|
1200
|
+
}
|
|
1201
|
+
case CREATE_WORKBOOK_LOADING: {
|
|
1202
|
+
return {
|
|
1203
|
+
...state,
|
|
1204
|
+
createWorkbook: {
|
|
1205
|
+
isLoading: true,
|
|
1206
|
+
data: null,
|
|
1207
|
+
error: null
|
|
1208
|
+
}
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
case CREATE_WORKBOOK_SUCCESS: {
|
|
1212
|
+
return {
|
|
1213
|
+
...state,
|
|
1214
|
+
createWorkbook: {
|
|
1215
|
+
isLoading: false,
|
|
1216
|
+
data: action.data,
|
|
1217
|
+
error: null
|
|
1218
|
+
}
|
|
1219
|
+
};
|
|
1220
|
+
}
|
|
1221
|
+
case CREATE_WORKBOOK_FAILED: {
|
|
1222
|
+
return {
|
|
1223
|
+
...state,
|
|
1224
|
+
createWorkbook: {
|
|
1225
|
+
...state.createWorkbook,
|
|
1226
|
+
isLoading: false,
|
|
1227
|
+
error: action.error
|
|
1228
|
+
}
|
|
1229
|
+
};
|
|
1230
|
+
}
|
|
1231
|
+
// Moving a collection
|
|
1232
|
+
case MOVE_COLLECTION_LOADING: {
|
|
1233
|
+
return {
|
|
1234
|
+
...state,
|
|
1235
|
+
moveCollection: {
|
|
1236
|
+
isLoading: true,
|
|
1237
|
+
data: null,
|
|
1238
|
+
error: null
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
case MOVE_COLLECTION_SUCCESS: {
|
|
1243
|
+
return {
|
|
1244
|
+
...state,
|
|
1245
|
+
moveCollection: {
|
|
1246
|
+
isLoading: false,
|
|
1247
|
+
data: action.data,
|
|
1248
|
+
error: null
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
case MOVE_COLLECTION_FAILED: {
|
|
1253
|
+
return {
|
|
1254
|
+
...state,
|
|
1255
|
+
moveCollection: {
|
|
1256
|
+
...state.moveCollection,
|
|
1257
|
+
isLoading: false,
|
|
1258
|
+
error: action.error
|
|
1259
|
+
}
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
// Moving collections
|
|
1263
|
+
case MOVE_COLLECTIONS_LOADING: {
|
|
1264
|
+
return {
|
|
1265
|
+
...state,
|
|
1266
|
+
moveCollections: {
|
|
1267
|
+
isLoading: true,
|
|
1268
|
+
data: null,
|
|
1269
|
+
error: null
|
|
1270
|
+
}
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
case MOVE_COLLECTIONS_SUCCESS: {
|
|
1274
|
+
return {
|
|
1275
|
+
...state,
|
|
1276
|
+
moveCollections: {
|
|
1277
|
+
isLoading: false,
|
|
1278
|
+
data: action.data,
|
|
1279
|
+
error: null
|
|
1280
|
+
}
|
|
1281
|
+
};
|
|
1282
|
+
}
|
|
1283
|
+
case MOVE_COLLECTIONS_FAILED: {
|
|
1284
|
+
return {
|
|
1285
|
+
...state,
|
|
1286
|
+
moveCollections: {
|
|
1287
|
+
...state.moveCollections,
|
|
1288
|
+
isLoading: false,
|
|
1289
|
+
error: action.error
|
|
1290
|
+
}
|
|
1291
|
+
};
|
|
1292
|
+
}
|
|
1293
|
+
// Moving the workbook
|
|
1294
|
+
case MOVE_WORKBOOK_LOADING: {
|
|
1295
|
+
return {
|
|
1296
|
+
...state,
|
|
1297
|
+
moveWorkbook: {
|
|
1298
|
+
isLoading: true,
|
|
1299
|
+
data: null,
|
|
1300
|
+
error: null
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
case MOVE_WORKBOOK_SUCCESS: {
|
|
1305
|
+
return {
|
|
1306
|
+
...state,
|
|
1307
|
+
moveWorkbook: {
|
|
1308
|
+
isLoading: false,
|
|
1309
|
+
data: action.data,
|
|
1310
|
+
error: null
|
|
1311
|
+
}
|
|
1312
|
+
};
|
|
1313
|
+
}
|
|
1314
|
+
case MOVE_WORKBOOK_FAILED: {
|
|
1315
|
+
return {
|
|
1316
|
+
...state,
|
|
1317
|
+
moveWorkbook: {
|
|
1318
|
+
...state.moveWorkbook,
|
|
1319
|
+
isLoading: false,
|
|
1320
|
+
error: action.error
|
|
1321
|
+
}
|
|
1322
|
+
};
|
|
1323
|
+
}
|
|
1324
|
+
// Moving workbooks
|
|
1325
|
+
case MOVE_WORKBOOKS_LOADING: {
|
|
1326
|
+
return {
|
|
1327
|
+
...state,
|
|
1328
|
+
moveWorkbooks: {
|
|
1329
|
+
isLoading: true,
|
|
1330
|
+
data: null,
|
|
1331
|
+
error: null
|
|
1332
|
+
}
|
|
1333
|
+
};
|
|
1334
|
+
}
|
|
1335
|
+
case MOVE_WORKBOOKS_SUCCESS: {
|
|
1336
|
+
return {
|
|
1337
|
+
...state,
|
|
1338
|
+
moveWorkbooks: {
|
|
1339
|
+
isLoading: false,
|
|
1340
|
+
data: action.data,
|
|
1341
|
+
error: null
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
case MOVE_WORKBOOKS_FAILED: {
|
|
1346
|
+
return {
|
|
1347
|
+
...state,
|
|
1348
|
+
moveWorkbooks: {
|
|
1349
|
+
...state.moveWorkbooks,
|
|
1350
|
+
isLoading: false,
|
|
1351
|
+
error: action.error
|
|
1352
|
+
}
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
// Moving a shared entry
|
|
1356
|
+
case MOVE_SHARED_ENTRY_LOADING: {
|
|
1357
|
+
return {
|
|
1358
|
+
...state,
|
|
1359
|
+
moveSharedEntry: {
|
|
1360
|
+
isLoading: true,
|
|
1361
|
+
data: null,
|
|
1362
|
+
error: null
|
|
1363
|
+
}
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
case MOVE_SHARED_ENTRY_SUCCESS: {
|
|
1367
|
+
return {
|
|
1368
|
+
...state,
|
|
1369
|
+
moveSharedEntry: {
|
|
1370
|
+
isLoading: false,
|
|
1371
|
+
data: action.data,
|
|
1372
|
+
error: null
|
|
1373
|
+
}
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
case MOVE_SHARED_ENTRY_FAILED: {
|
|
1377
|
+
return {
|
|
1378
|
+
...state,
|
|
1379
|
+
moveSharedEntry: {
|
|
1380
|
+
...state.moveSharedEntry,
|
|
1381
|
+
isLoading: false,
|
|
1382
|
+
error: action.error
|
|
1383
|
+
}
|
|
1384
|
+
};
|
|
1385
|
+
}
|
|
1386
|
+
// Copying a workbook
|
|
1387
|
+
case COPY_WORKBOOK_LOADING: {
|
|
1388
|
+
return {
|
|
1389
|
+
...state,
|
|
1390
|
+
copyWorkbook: {
|
|
1391
|
+
isLoading: true,
|
|
1392
|
+
data: null,
|
|
1393
|
+
error: null
|
|
1394
|
+
}
|
|
1395
|
+
};
|
|
1396
|
+
}
|
|
1397
|
+
case COPY_WORKBOOK_SUCCESS: {
|
|
1398
|
+
return {
|
|
1399
|
+
...state,
|
|
1400
|
+
copyWorkbook: {
|
|
1401
|
+
isLoading: false,
|
|
1402
|
+
data: action.data,
|
|
1403
|
+
error: null
|
|
1404
|
+
}
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
case COPY_WORKBOOK_FAILED: {
|
|
1408
|
+
return {
|
|
1409
|
+
...state,
|
|
1410
|
+
copyWorkbook: {
|
|
1411
|
+
...state.copyWorkbook,
|
|
1412
|
+
isLoading: false,
|
|
1413
|
+
error: action.error
|
|
1414
|
+
}
|
|
1415
|
+
};
|
|
1416
|
+
}
|
|
1417
|
+
// Workbook modification
|
|
1418
|
+
case UPDATE_WORKBOOK_LOADING: {
|
|
1419
|
+
return {
|
|
1420
|
+
...state,
|
|
1421
|
+
updateWorkbook: {
|
|
1422
|
+
isLoading: true,
|
|
1423
|
+
data: null,
|
|
1424
|
+
error: null
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
case UPDATE_WORKBOOK_SUCCESS: {
|
|
1429
|
+
return {
|
|
1430
|
+
...state,
|
|
1431
|
+
updateWorkbook: {
|
|
1432
|
+
isLoading: false,
|
|
1433
|
+
data: action.data,
|
|
1434
|
+
error: null
|
|
1435
|
+
}
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
case UPDATE_WORKBOOK_FAILED: {
|
|
1439
|
+
return {
|
|
1440
|
+
...state,
|
|
1441
|
+
updateWorkbook: {
|
|
1442
|
+
...state.updateWorkbook,
|
|
1443
|
+
isLoading: false,
|
|
1444
|
+
error: action.error
|
|
1445
|
+
}
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
1448
|
+
// Collection modification
|
|
1449
|
+
case UPDATE_COLLECTION_LOADING: {
|
|
1450
|
+
return {
|
|
1451
|
+
...state,
|
|
1452
|
+
updateCollection: {
|
|
1453
|
+
isLoading: true,
|
|
1454
|
+
data: null,
|
|
1455
|
+
error: null
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
case UPDATE_COLLECTION_SUCCESS: {
|
|
1460
|
+
return {
|
|
1461
|
+
...state,
|
|
1462
|
+
updateCollection: {
|
|
1463
|
+
isLoading: false,
|
|
1464
|
+
data: action.data,
|
|
1465
|
+
error: null
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
case UPDATE_COLLECTION_FAILED: {
|
|
1470
|
+
return {
|
|
1471
|
+
...state,
|
|
1472
|
+
updateCollection: {
|
|
1473
|
+
...state.updateCollection,
|
|
1474
|
+
isLoading: false,
|
|
1475
|
+
error: action.error
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
}
|
|
1479
|
+
// Deleting a collection
|
|
1480
|
+
case DELETE_COLLECTION_LOADING: {
|
|
1481
|
+
return {
|
|
1482
|
+
...state,
|
|
1483
|
+
deleteCollection: {
|
|
1484
|
+
isLoading: true,
|
|
1485
|
+
data: null,
|
|
1486
|
+
error: null
|
|
1487
|
+
}
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
case DELETE_COLLECTION_SUCCESS: {
|
|
1491
|
+
return {
|
|
1492
|
+
...state,
|
|
1493
|
+
deleteCollection: {
|
|
1494
|
+
isLoading: false,
|
|
1495
|
+
data: action.data,
|
|
1496
|
+
error: null
|
|
1497
|
+
}
|
|
1498
|
+
};
|
|
1499
|
+
}
|
|
1500
|
+
case DELETE_COLLECTION_FAILED: {
|
|
1501
|
+
return {
|
|
1502
|
+
...state,
|
|
1503
|
+
deleteCollection: {
|
|
1504
|
+
...state.deleteCollection,
|
|
1505
|
+
isLoading: false,
|
|
1506
|
+
error: action.error
|
|
1507
|
+
}
|
|
1508
|
+
};
|
|
1509
|
+
}
|
|
1510
|
+
// Delete collections
|
|
1511
|
+
case DELETE_COLLECTIONS_LOADING: {
|
|
1512
|
+
return {
|
|
1513
|
+
...state,
|
|
1514
|
+
deleteCollections: {
|
|
1515
|
+
isLoading: true,
|
|
1516
|
+
data: null,
|
|
1517
|
+
error: null
|
|
1518
|
+
}
|
|
1519
|
+
};
|
|
1520
|
+
}
|
|
1521
|
+
case DELETE_COLLECTIONS_SUCCESS: {
|
|
1522
|
+
return {
|
|
1523
|
+
...state,
|
|
1524
|
+
deleteCollections: {
|
|
1525
|
+
isLoading: false,
|
|
1526
|
+
data: action.data,
|
|
1527
|
+
error: null
|
|
1528
|
+
}
|
|
1529
|
+
};
|
|
1530
|
+
}
|
|
1531
|
+
case DELETE_COLLECTIONS_FAILED: {
|
|
1532
|
+
return {
|
|
1533
|
+
...state,
|
|
1534
|
+
deleteCollections: {
|
|
1535
|
+
...state.deleteCollections,
|
|
1536
|
+
isLoading: false,
|
|
1537
|
+
error: action.error
|
|
1538
|
+
}
|
|
1539
|
+
};
|
|
1540
|
+
}
|
|
1541
|
+
// Deleting a workbook
|
|
1542
|
+
case DELETE_WORKBOOK_LOADING: {
|
|
1543
|
+
return {
|
|
1544
|
+
...state,
|
|
1545
|
+
deleteWorkbook: {
|
|
1546
|
+
isLoading: true,
|
|
1547
|
+
data: null,
|
|
1548
|
+
error: null
|
|
1549
|
+
}
|
|
1550
|
+
};
|
|
1551
|
+
}
|
|
1552
|
+
case DELETE_WORKBOOK_SUCCESS: {
|
|
1553
|
+
return {
|
|
1554
|
+
...state,
|
|
1555
|
+
deleteWorkbook: {
|
|
1556
|
+
isLoading: false,
|
|
1557
|
+
data: action.data,
|
|
1558
|
+
error: null
|
|
1559
|
+
}
|
|
1560
|
+
};
|
|
1561
|
+
}
|
|
1562
|
+
case DELETE_WORKBOOK_FAILED: {
|
|
1563
|
+
return {
|
|
1564
|
+
...state,
|
|
1565
|
+
deleteWorkbook: {
|
|
1566
|
+
...state.deleteWorkbook,
|
|
1567
|
+
isLoading: false,
|
|
1568
|
+
error: action.error
|
|
1569
|
+
}
|
|
1570
|
+
};
|
|
1571
|
+
}
|
|
1572
|
+
// Delete workbooks
|
|
1573
|
+
case DELETE_WORKBOOKS_LOADING: {
|
|
1574
|
+
return {
|
|
1575
|
+
...state,
|
|
1576
|
+
deleteWorkbooks: {
|
|
1577
|
+
isLoading: true,
|
|
1578
|
+
data: null,
|
|
1579
|
+
error: null
|
|
1580
|
+
}
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
case DELETE_WORKBOOKS_SUCCESS: {
|
|
1584
|
+
return {
|
|
1585
|
+
...state,
|
|
1586
|
+
deleteWorkbooks: {
|
|
1587
|
+
isLoading: false,
|
|
1588
|
+
data: action.data,
|
|
1589
|
+
error: null
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
}
|
|
1593
|
+
case DELETE_WORKBOOKS_FAILED: {
|
|
1594
|
+
return {
|
|
1595
|
+
...state,
|
|
1596
|
+
deleteWorkbooks: {
|
|
1597
|
+
...state.deleteWorkbooks,
|
|
1598
|
+
isLoading: false,
|
|
1599
|
+
error: action.error
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
// Export workbook file
|
|
1604
|
+
case EXPORT_WORKBOOK_LOADING: {
|
|
1605
|
+
return {
|
|
1606
|
+
...state,
|
|
1607
|
+
exportWorkbook: {
|
|
1608
|
+
isLoading: true,
|
|
1609
|
+
data: null,
|
|
1610
|
+
error: null
|
|
1611
|
+
}
|
|
1612
|
+
};
|
|
1613
|
+
}
|
|
1614
|
+
case EXPORT_WORKBOOK_SUCCESS: {
|
|
1615
|
+
return {
|
|
1616
|
+
...state,
|
|
1617
|
+
exportWorkbook: {
|
|
1618
|
+
isLoading: false,
|
|
1619
|
+
data: action.data,
|
|
1620
|
+
error: null
|
|
1621
|
+
}
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
case EXPORT_WORKBOOK_FAILED: {
|
|
1625
|
+
return {
|
|
1626
|
+
...state,
|
|
1627
|
+
exportWorkbook: {
|
|
1628
|
+
isLoading: false,
|
|
1629
|
+
data: null,
|
|
1630
|
+
error: action.error
|
|
1631
|
+
}
|
|
1632
|
+
};
|
|
1633
|
+
}
|
|
1634
|
+
case RESET_EXPORT_WORKBOOK: {
|
|
1635
|
+
return {
|
|
1636
|
+
...state,
|
|
1637
|
+
exportWorkbook: {
|
|
1638
|
+
isLoading: false,
|
|
1639
|
+
data: null,
|
|
1640
|
+
error: null
|
|
1641
|
+
}
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1644
|
+
// Import workbook file
|
|
1645
|
+
case IMPORT_WORKBOOK_LOADING: {
|
|
1646
|
+
return {
|
|
1647
|
+
...state,
|
|
1648
|
+
importWorkbook: {
|
|
1649
|
+
isLoading: true,
|
|
1650
|
+
data: null,
|
|
1651
|
+
error: null
|
|
1652
|
+
}
|
|
1653
|
+
};
|
|
1654
|
+
}
|
|
1655
|
+
case IMPORT_WORKBOOK_SUCCESS: {
|
|
1656
|
+
return {
|
|
1657
|
+
...state,
|
|
1658
|
+
importWorkbook: {
|
|
1659
|
+
isLoading: false,
|
|
1660
|
+
data: action.data,
|
|
1661
|
+
error: null
|
|
1662
|
+
}
|
|
1663
|
+
};
|
|
1664
|
+
}
|
|
1665
|
+
case IMPORT_WORKBOOK_FAILED: {
|
|
1666
|
+
return {
|
|
1667
|
+
...state,
|
|
1668
|
+
importWorkbook: {
|
|
1669
|
+
isLoading: false,
|
|
1670
|
+
data: null,
|
|
1671
|
+
error: action.error
|
|
1672
|
+
}
|
|
1673
|
+
};
|
|
1674
|
+
}
|
|
1675
|
+
case RESET_IMPORT_WORKBOOK: {
|
|
1676
|
+
return {
|
|
1677
|
+
...state,
|
|
1678
|
+
importWorkbook: {
|
|
1679
|
+
isLoading: false,
|
|
1680
|
+
data: null,
|
|
1681
|
+
error: null
|
|
1682
|
+
}
|
|
1683
|
+
};
|
|
1684
|
+
}
|
|
1685
|
+
// Getting workbook import progres
|
|
1686
|
+
case GET_IMPORT_PROGRESS_LOADING: {
|
|
1687
|
+
return {
|
|
1688
|
+
...state,
|
|
1689
|
+
getImportProgress: {
|
|
1690
|
+
...state.getImportProgress,
|
|
1691
|
+
isLoading: true,
|
|
1692
|
+
error: null,
|
|
1693
|
+
notificationEntries: null
|
|
1694
|
+
}
|
|
1695
|
+
};
|
|
1696
|
+
}
|
|
1697
|
+
case GET_IMPORT_PROGRESS_SUCCESS: {
|
|
1698
|
+
return {
|
|
1699
|
+
...state,
|
|
1700
|
+
getImportProgress: {
|
|
1701
|
+
isLoading: false,
|
|
1702
|
+
data: action.data,
|
|
1703
|
+
error: null,
|
|
1704
|
+
notificationEntries: action.notificationEntries
|
|
1705
|
+
}
|
|
1706
|
+
};
|
|
1707
|
+
}
|
|
1708
|
+
case GET_IMPORT_PROGRESS_FAILED: {
|
|
1709
|
+
return {
|
|
1710
|
+
...state,
|
|
1711
|
+
getImportProgress: {
|
|
1712
|
+
...state.getImportProgress,
|
|
1713
|
+
isLoading: false,
|
|
1714
|
+
error: action.error
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1717
|
+
}
|
|
1718
|
+
case RESET_IMPORT_PROGRESS: {
|
|
1719
|
+
return {
|
|
1720
|
+
...state,
|
|
1721
|
+
getImportProgress: {
|
|
1722
|
+
isLoading: false,
|
|
1723
|
+
data: null,
|
|
1724
|
+
error: null,
|
|
1725
|
+
notificationEntries: null
|
|
1726
|
+
}
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
// Getting workbook export progress
|
|
1730
|
+
case GET_EXPORT_PROGRESS_LOADING: {
|
|
1731
|
+
return {
|
|
1732
|
+
...state,
|
|
1733
|
+
getExportProgress: {
|
|
1734
|
+
...state.getExportProgress,
|
|
1735
|
+
isLoading: true,
|
|
1736
|
+
error: null,
|
|
1737
|
+
notificationEntries: null
|
|
1738
|
+
}
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
case GET_EXPORT_PROGRESS_SUCCESS: {
|
|
1742
|
+
return {
|
|
1743
|
+
...state,
|
|
1744
|
+
getExportProgress: {
|
|
1745
|
+
isLoading: false,
|
|
1746
|
+
data: action.data,
|
|
1747
|
+
error: null,
|
|
1748
|
+
notificationEntries: action.notificationEntries
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
case GET_EXPORT_PROGRESS_FAILED: {
|
|
1753
|
+
return {
|
|
1754
|
+
...state,
|
|
1755
|
+
getExportProgress: {
|
|
1756
|
+
...state.getExportProgress,
|
|
1757
|
+
isLoading: false,
|
|
1758
|
+
error: action.error
|
|
1759
|
+
}
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
case RESET_EXPORT_PROGRESS: {
|
|
1763
|
+
return {
|
|
1764
|
+
...state,
|
|
1765
|
+
getExportProgress: {
|
|
1766
|
+
isLoading: false,
|
|
1767
|
+
data: null,
|
|
1768
|
+
error: null,
|
|
1769
|
+
notificationEntries: null
|
|
1770
|
+
}
|
|
1771
|
+
};
|
|
1772
|
+
}
|
|
1773
|
+
// Getting export result
|
|
1774
|
+
case GET_EXPORT_RESULT_LOADING: {
|
|
1775
|
+
return {
|
|
1776
|
+
...state,
|
|
1777
|
+
getExportResult: {
|
|
1778
|
+
...state.getExportResult,
|
|
1779
|
+
isLoading: true,
|
|
1780
|
+
error: null
|
|
1781
|
+
}
|
|
1782
|
+
};
|
|
1783
|
+
}
|
|
1784
|
+
case GET_EXPORT_RESULT_SUCCESS: {
|
|
1785
|
+
return {
|
|
1786
|
+
...state,
|
|
1787
|
+
getExportResult: {
|
|
1788
|
+
isLoading: false,
|
|
1789
|
+
data: action.data,
|
|
1790
|
+
error: null
|
|
1791
|
+
}
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
case GET_EXPORT_RESULT_FAILED: {
|
|
1795
|
+
return {
|
|
1796
|
+
...state,
|
|
1797
|
+
getExportResult: {
|
|
1798
|
+
...state.getExportResult,
|
|
1799
|
+
isLoading: false,
|
|
1800
|
+
error: action.error
|
|
1801
|
+
}
|
|
1802
|
+
};
|
|
1803
|
+
}
|
|
1804
|
+
case RESET_EXPORT_RESULT: {
|
|
1805
|
+
return {
|
|
1806
|
+
...state,
|
|
1807
|
+
getExportResult: initialState$9.getExportResult
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
default: {
|
|
1811
|
+
return state;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
};
|
|
1815
|
+
const initialState$8 = {
|
|
1816
|
+
getEntry: {
|
|
1817
|
+
isLoading: false,
|
|
1818
|
+
data: null,
|
|
1819
|
+
error: null
|
|
1820
|
+
},
|
|
1821
|
+
getRelationsGraph: {
|
|
1822
|
+
isLoading: false,
|
|
1823
|
+
data: null,
|
|
1824
|
+
error: null
|
|
1825
|
+
},
|
|
1826
|
+
getRelations: {
|
|
1827
|
+
isLoading: false,
|
|
1828
|
+
data: null,
|
|
1829
|
+
error: null
|
|
1830
|
+
},
|
|
1831
|
+
migrateEntriesToWorkbook: {
|
|
1832
|
+
isLoading: false,
|
|
1833
|
+
data: null,
|
|
1834
|
+
error: null
|
|
1835
|
+
}
|
|
1836
|
+
};
|
|
1837
|
+
const migrationToWorkbook = (state = initialState$8, action) => {
|
|
1838
|
+
switch (action.type) {
|
|
1839
|
+
case RESET_STATE$1: {
|
|
1840
|
+
return initialState$8;
|
|
1841
|
+
}
|
|
1842
|
+
case GET_ENTRY_LOADING: {
|
|
1843
|
+
return {
|
|
1844
|
+
...state,
|
|
1845
|
+
getEntry: {
|
|
1846
|
+
...state.getEntry,
|
|
1847
|
+
isLoading: true,
|
|
1848
|
+
error: null
|
|
1849
|
+
}
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
case GET_ENTRY_SUCCESS: {
|
|
1853
|
+
return {
|
|
1854
|
+
...state,
|
|
1855
|
+
getEntry: {
|
|
1856
|
+
isLoading: false,
|
|
1857
|
+
data: action.data,
|
|
1858
|
+
error: null
|
|
1859
|
+
}
|
|
1860
|
+
};
|
|
1861
|
+
}
|
|
1862
|
+
case GET_ENTRY_FAILED: {
|
|
1863
|
+
return {
|
|
1864
|
+
...state,
|
|
1865
|
+
getEntry: {
|
|
1866
|
+
...state.getEntry,
|
|
1867
|
+
isLoading: false,
|
|
1868
|
+
error: action.error
|
|
1869
|
+
}
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
case GET_RELATIONS_GRAPH_LOADING: {
|
|
1873
|
+
return {
|
|
1874
|
+
...state,
|
|
1875
|
+
getRelationsGraph: {
|
|
1876
|
+
...state.getRelationsGraph,
|
|
1877
|
+
isLoading: true,
|
|
1878
|
+
error: null
|
|
1879
|
+
}
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
case GET_RELATIONS_GRAPH_SUCCESS: {
|
|
1883
|
+
return {
|
|
1884
|
+
...state,
|
|
1885
|
+
getRelationsGraph: {
|
|
1886
|
+
isLoading: false,
|
|
1887
|
+
data: action.data,
|
|
1888
|
+
error: null
|
|
1889
|
+
}
|
|
1890
|
+
};
|
|
1891
|
+
}
|
|
1892
|
+
case GET_RELATIONS_GRAPH_FAILED: {
|
|
1893
|
+
return {
|
|
1894
|
+
...state,
|
|
1895
|
+
getRelationsGraph: {
|
|
1896
|
+
...state.getRelationsGraph,
|
|
1897
|
+
isLoading: false,
|
|
1898
|
+
error: action.error
|
|
1899
|
+
}
|
|
1900
|
+
};
|
|
1901
|
+
}
|
|
1902
|
+
case GET_RELATIONS_LOADING: {
|
|
1903
|
+
return {
|
|
1904
|
+
...state,
|
|
1905
|
+
getRelations: {
|
|
1906
|
+
...state.getRelations,
|
|
1907
|
+
isLoading: true,
|
|
1908
|
+
error: null
|
|
1909
|
+
}
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
case GET_RELATIONS_SUCCESS: {
|
|
1913
|
+
return {
|
|
1914
|
+
...state,
|
|
1915
|
+
getRelations: {
|
|
1916
|
+
isLoading: false,
|
|
1917
|
+
data: action.data,
|
|
1918
|
+
error: null
|
|
1919
|
+
}
|
|
1920
|
+
};
|
|
1921
|
+
}
|
|
1922
|
+
case GET_RELATIONS_FAILED: {
|
|
1923
|
+
return {
|
|
1924
|
+
...state,
|
|
1925
|
+
getRelations: {
|
|
1926
|
+
...state.getRelations,
|
|
1927
|
+
isLoading: false,
|
|
1928
|
+
error: action.error
|
|
1929
|
+
}
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
case MIGRATE_ENTRIES_TO_WORKBOOK_LOADING: {
|
|
1933
|
+
return {
|
|
1934
|
+
...state,
|
|
1935
|
+
migrateEntriesToWorkbook: {
|
|
1936
|
+
...state.migrateEntriesToWorkbook,
|
|
1937
|
+
isLoading: true,
|
|
1938
|
+
error: null
|
|
1939
|
+
}
|
|
1940
|
+
};
|
|
1941
|
+
}
|
|
1942
|
+
case MIGRATE_ENTRIES_TO_WORKBOOK_SUCCESS: {
|
|
1943
|
+
return {
|
|
1944
|
+
...state,
|
|
1945
|
+
migrateEntriesToWorkbook: {
|
|
1946
|
+
isLoading: false,
|
|
1947
|
+
data: action.data,
|
|
1948
|
+
error: null
|
|
1949
|
+
}
|
|
1950
|
+
};
|
|
1951
|
+
}
|
|
1952
|
+
case MIGRATE_ENTRIES_TO_WORKBOOK_FAILED: {
|
|
1953
|
+
return {
|
|
1954
|
+
...state,
|
|
1955
|
+
migrateEntriesToWorkbook: {
|
|
1956
|
+
...state.migrateEntriesToWorkbook,
|
|
1957
|
+
isLoading: false,
|
|
1958
|
+
error: action.error
|
|
1959
|
+
}
|
|
1960
|
+
};
|
|
1961
|
+
}
|
|
1962
|
+
default: {
|
|
1963
|
+
return state;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
};
|
|
1967
|
+
const initialState$7 = {
|
|
1968
|
+
getEntry: {
|
|
1969
|
+
isLoading: false,
|
|
1970
|
+
data: null,
|
|
1971
|
+
error: null
|
|
1972
|
+
},
|
|
1973
|
+
getRelations: {
|
|
1974
|
+
isLoading: false,
|
|
1975
|
+
data: null,
|
|
1976
|
+
error: null
|
|
1977
|
+
},
|
|
1978
|
+
copyEntriesToWorkbook: {
|
|
1979
|
+
isLoading: false,
|
|
1980
|
+
data: null,
|
|
1981
|
+
error: null
|
|
1982
|
+
}
|
|
1983
|
+
};
|
|
1984
|
+
const copyEntriesToWorkbook = (state = initialState$7, action) => {
|
|
1985
|
+
switch (action.type) {
|
|
1986
|
+
case RESET_STATE$2: {
|
|
1987
|
+
return initialState$7;
|
|
1988
|
+
}
|
|
1989
|
+
case GET_ENTRY_LOADING$1: {
|
|
1990
|
+
return {
|
|
1991
|
+
...state,
|
|
1992
|
+
getEntry: {
|
|
1993
|
+
...state.getEntry,
|
|
1994
|
+
isLoading: true,
|
|
1995
|
+
error: null
|
|
1996
|
+
}
|
|
1997
|
+
};
|
|
1998
|
+
}
|
|
1999
|
+
case GET_ENTRY_SUCCESS$1: {
|
|
2000
|
+
return {
|
|
2001
|
+
...state,
|
|
2002
|
+
getEntry: {
|
|
2003
|
+
isLoading: false,
|
|
2004
|
+
data: action.data,
|
|
2005
|
+
error: null
|
|
2006
|
+
}
|
|
2007
|
+
};
|
|
2008
|
+
}
|
|
2009
|
+
case GET_ENTRY_FAILED$1: {
|
|
2010
|
+
return {
|
|
2011
|
+
...state,
|
|
2012
|
+
getEntry: {
|
|
2013
|
+
...state.getEntry,
|
|
2014
|
+
isLoading: false,
|
|
2015
|
+
error: action.error
|
|
2016
|
+
}
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
case GET_RELATIONS_LOADING$1: {
|
|
2020
|
+
return {
|
|
2021
|
+
...state,
|
|
2022
|
+
getRelations: {
|
|
2023
|
+
...state.getRelations,
|
|
2024
|
+
isLoading: true,
|
|
2025
|
+
error: null
|
|
2026
|
+
}
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
case GET_RELATIONS_SUCCESS$1: {
|
|
2030
|
+
return {
|
|
2031
|
+
...state,
|
|
2032
|
+
getRelations: {
|
|
2033
|
+
isLoading: false,
|
|
2034
|
+
data: action.data,
|
|
2035
|
+
error: null
|
|
2036
|
+
}
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
case GET_RELATIONS_FAILED$1: {
|
|
2040
|
+
return {
|
|
2041
|
+
...state,
|
|
2042
|
+
getRelations: {
|
|
2043
|
+
...state.getRelations,
|
|
2044
|
+
isLoading: false,
|
|
2045
|
+
error: action.error
|
|
2046
|
+
}
|
|
2047
|
+
};
|
|
2048
|
+
}
|
|
2049
|
+
case COPY_ENTRIES_TO_WORKBOOK_LOADING: {
|
|
2050
|
+
return {
|
|
2051
|
+
...state,
|
|
2052
|
+
copyEntriesToWorkbook: {
|
|
2053
|
+
...state.copyEntriesToWorkbook,
|
|
2054
|
+
isLoading: true,
|
|
2055
|
+
error: null
|
|
2056
|
+
}
|
|
2057
|
+
};
|
|
2058
|
+
}
|
|
2059
|
+
case COPY_ENTRIES_TO_WORKBOOK_SUCCESS: {
|
|
2060
|
+
return {
|
|
2061
|
+
...state,
|
|
2062
|
+
copyEntriesToWorkbook: {
|
|
2063
|
+
isLoading: false,
|
|
2064
|
+
data: action.data,
|
|
2065
|
+
error: null
|
|
2066
|
+
}
|
|
2067
|
+
};
|
|
2068
|
+
}
|
|
2069
|
+
case COPY_ENTRIES_TO_WORKBOOK_FAILED: {
|
|
2070
|
+
return {
|
|
2071
|
+
...state,
|
|
2072
|
+
copyEntriesToWorkbook: {
|
|
2073
|
+
...state.copyEntriesToWorkbook,
|
|
2074
|
+
isLoading: false,
|
|
2075
|
+
error: action.error
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
2078
|
+
}
|
|
2079
|
+
default: {
|
|
2080
|
+
return state;
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
};
|
|
2084
|
+
const initialState$6 = {
|
|
2085
|
+
units: {}
|
|
2086
|
+
};
|
|
2087
|
+
const cloneStateForHistory = (state, pathIgnoreList) => {
|
|
2088
|
+
const deepOmitBy = (value, path, iteratee) => {
|
|
2089
|
+
if (isObject(value) && !isSet(value) && !isFunction(value)) {
|
|
2090
|
+
return transform(value, (result, item, key) => {
|
|
2091
|
+
if (typeof item === "function") {
|
|
2092
|
+
result[key] = item;
|
|
2093
|
+
} else {
|
|
2094
|
+
const itemPath = `${path}/${key}`;
|
|
2095
|
+
if (!iteratee(itemPath)) {
|
|
2096
|
+
result[key] = deepOmitBy(item, itemPath, iteratee);
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
});
|
|
2100
|
+
} else {
|
|
2101
|
+
return value;
|
|
2102
|
+
}
|
|
2103
|
+
};
|
|
2104
|
+
return deepOmitBy(state, "", (path) => pathIgnoreList.includes(path));
|
|
2105
|
+
};
|
|
2106
|
+
function editHistory(state = initialState$6, action) {
|
|
2107
|
+
switch (action.type) {
|
|
2108
|
+
case INIT_EDIT_HISTORY_UNIT: {
|
|
2109
|
+
const { unitId, setState, options } = action;
|
|
2110
|
+
return {
|
|
2111
|
+
units: {
|
|
2112
|
+
...state.units,
|
|
2113
|
+
[unitId]: {
|
|
2114
|
+
pointIndex: -1,
|
|
2115
|
+
diffs: [],
|
|
2116
|
+
setState,
|
|
2117
|
+
options
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
};
|
|
2121
|
+
}
|
|
2122
|
+
case RESET_EDIT_HISTORY_UNIT: {
|
|
2123
|
+
const { unitId } = action;
|
|
2124
|
+
const unit = state.units[unitId];
|
|
2125
|
+
return {
|
|
2126
|
+
units: {
|
|
2127
|
+
...state.units,
|
|
2128
|
+
[unitId]: {
|
|
2129
|
+
...unit,
|
|
2130
|
+
pointIndex: -1,
|
|
2131
|
+
diffs: []
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
case ADD_EDIT_HISTORY_POINT: {
|
|
2137
|
+
const { unitId, diff, state: newState, stacked } = action;
|
|
2138
|
+
const editHistoryUnit = state.units[unitId];
|
|
2139
|
+
const { diffs, pointIndex } = editHistoryUnit;
|
|
2140
|
+
const prevDiffs = diffs.slice(0, pointIndex + 1);
|
|
2141
|
+
const storedNewState = cloneStateForHistory(
|
|
2142
|
+
newState,
|
|
2143
|
+
editHistoryUnit.options.pathIgnoreList
|
|
2144
|
+
);
|
|
2145
|
+
const nextPointIndex = pointIndex + (stacked ? 0 : 1);
|
|
2146
|
+
let nextDiffs;
|
|
2147
|
+
if (stacked) {
|
|
2148
|
+
if (!Array.isArray(prevDiffs[prevDiffs.length - 1])) {
|
|
2149
|
+
prevDiffs[prevDiffs.length - 1] = [prevDiffs[prevDiffs.length - 1]];
|
|
2150
|
+
}
|
|
2151
|
+
prevDiffs[prevDiffs.length - 1].push(diff);
|
|
2152
|
+
nextDiffs = [...prevDiffs];
|
|
2153
|
+
} else {
|
|
2154
|
+
nextDiffs = [...prevDiffs, diff];
|
|
2155
|
+
}
|
|
2156
|
+
return {
|
|
2157
|
+
units: {
|
|
2158
|
+
...state.units,
|
|
2159
|
+
[unitId]: {
|
|
2160
|
+
...editHistoryUnit,
|
|
2161
|
+
// Force current history point index to latest state
|
|
2162
|
+
pointIndex: nextPointIndex,
|
|
2163
|
+
diffs: nextDiffs,
|
|
2164
|
+
pointState: storedNewState
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
};
|
|
2168
|
+
}
|
|
2169
|
+
case SET_EDIT_HISTORY_POINT_INDEX: {
|
|
2170
|
+
const { unitId, pointIndex } = action;
|
|
2171
|
+
const editHistoryUnit = state.units[unitId];
|
|
2172
|
+
return {
|
|
2173
|
+
units: {
|
|
2174
|
+
...state.units,
|
|
2175
|
+
[unitId]: {
|
|
2176
|
+
...editHistoryUnit,
|
|
2177
|
+
pointIndex
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
};
|
|
2181
|
+
}
|
|
2182
|
+
case SET_EDIT_HISTORY_CURRENT_STATE: {
|
|
2183
|
+
const { unitId, pointState } = action;
|
|
2184
|
+
const editHistoryUnit = state.units[unitId];
|
|
2185
|
+
const storedPointState = cloneStateForHistory(
|
|
2186
|
+
pointState,
|
|
2187
|
+
editHistoryUnit.options.pathIgnoreList
|
|
2188
|
+
);
|
|
2189
|
+
return {
|
|
2190
|
+
units: {
|
|
2191
|
+
...state.units,
|
|
2192
|
+
[unitId]: {
|
|
2193
|
+
...editHistoryUnit,
|
|
2194
|
+
pointState: storedPointState
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
};
|
|
2198
|
+
}
|
|
2199
|
+
default:
|
|
2200
|
+
return state;
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
const initialState$5 = {};
|
|
2204
|
+
const localStorageFallback = (state = initialState$5, action) => {
|
|
2205
|
+
switch (action.type) {
|
|
2206
|
+
case SET_ITEM: {
|
|
2207
|
+
const { payload } = action;
|
|
2208
|
+
return {
|
|
2209
|
+
...state,
|
|
2210
|
+
[payload.key]: payload.value
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
default: {
|
|
2214
|
+
return state;
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
};
|
|
2218
|
+
const coreReducers = {
|
|
2219
|
+
user,
|
|
2220
|
+
asideHeader,
|
|
2221
|
+
workbooks: reducer$1,
|
|
2222
|
+
dialog,
|
|
2223
|
+
landing,
|
|
2224
|
+
entryContent,
|
|
2225
|
+
colorPaletteEditor,
|
|
2226
|
+
collectionsStructure,
|
|
2227
|
+
controlDialog,
|
|
2228
|
+
migrationToWorkbook,
|
|
2229
|
+
copyEntriesToWorkbook,
|
|
2230
|
+
editHistory,
|
|
2231
|
+
localStorageFallback
|
|
2232
|
+
};
|
|
2233
|
+
const selectIsLanding = (state) => state.landing.isLanding;
|
|
2234
|
+
const locationChangeHandler = (location2, prevLocation) => {
|
|
2235
|
+
if (location2.pathname !== prevLocation.pathname) {
|
|
2236
|
+
fireMetricaHit(CounterName.Main, location2.pathname);
|
|
2237
|
+
fireMetricaHit(CounterName.Cross, location2.pathname);
|
|
2238
|
+
}
|
|
2239
|
+
};
|
|
2240
|
+
const useClearReloadedQuery = () => {
|
|
2241
|
+
const isLanding = useSelector(selectIsLanding);
|
|
2242
|
+
const { search } = useLocation();
|
|
2243
|
+
const history = useHistory();
|
|
2244
|
+
useEffectOnce(() => {
|
|
2245
|
+
function clearQuery() {
|
|
2246
|
+
const searchParams = new URLSearchParams(search);
|
|
2247
|
+
if (searchParams.has(RELOADED_URL_QUERY)) {
|
|
2248
|
+
searchParams.delete(RELOADED_URL_QUERY);
|
|
2249
|
+
history.replace({ search: searchParams.toString() });
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
if (DL.AUTH_ENABLED && !isLanding && !DL.IS_AUTH_PAGE) {
|
|
2253
|
+
clearQuery();
|
|
2254
|
+
}
|
|
2255
|
+
});
|
|
2256
|
+
};
|
|
2257
|
+
const initialState$4 = {
|
|
2258
|
+
authPageInited: false,
|
|
2259
|
+
rethPath: null
|
|
2260
|
+
};
|
|
2261
|
+
const commonReducer = (state = initialState$4, action) => {
|
|
2262
|
+
switch (action.type) {
|
|
2263
|
+
case SET_AUTH_PAGE_INITED: {
|
|
2264
|
+
return {
|
|
2265
|
+
...state,
|
|
2266
|
+
...action.payload
|
|
2267
|
+
};
|
|
2268
|
+
}
|
|
2269
|
+
default: {
|
|
2270
|
+
return state;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
};
|
|
2274
|
+
const UPDATE_FORM_VALUES = /* @__PURE__ */ Symbol("auth/signin/UPDATE_FORM_VALUES");
|
|
2275
|
+
const initialState$3 = {
|
|
2276
|
+
login: "",
|
|
2277
|
+
password: ""
|
|
2278
|
+
};
|
|
2279
|
+
const signinReducer = (state = initialState$3, action) => {
|
|
2280
|
+
switch (action.type) {
|
|
2281
|
+
case UPDATE_FORM_VALUES: {
|
|
2282
|
+
return {
|
|
2283
|
+
...state,
|
|
2284
|
+
...action.payload
|
|
2285
|
+
};
|
|
2286
|
+
}
|
|
2287
|
+
default: {
|
|
2288
|
+
return state;
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
};
|
|
2292
|
+
const getInitialRoles = () => {
|
|
2293
|
+
const rolesList = getUsersRoles();
|
|
2294
|
+
const defaultRole = rolesList[rolesList.length - 1];
|
|
2295
|
+
return [defaultRole];
|
|
2296
|
+
};
|
|
2297
|
+
const initialState$2 = {
|
|
2298
|
+
values: {
|
|
2299
|
+
login: "",
|
|
2300
|
+
email: "",
|
|
2301
|
+
firstName: "",
|
|
2302
|
+
lastName: "",
|
|
2303
|
+
password: "",
|
|
2304
|
+
repeatPassword: "",
|
|
2305
|
+
roles: getInitialRoles()
|
|
2306
|
+
},
|
|
2307
|
+
validation: {
|
|
2308
|
+
login: void 0,
|
|
2309
|
+
email: void 0,
|
|
2310
|
+
firstName: void 0,
|
|
2311
|
+
lastName: void 0,
|
|
2312
|
+
password: void 0,
|
|
2313
|
+
repeatPassword: void 0
|
|
2314
|
+
}
|
|
2315
|
+
};
|
|
2316
|
+
const userInfoFormReducer = (state = initialState$2, action) => {
|
|
2317
|
+
switch (action.type) {
|
|
2318
|
+
case UPDATE_FORM_VALUES$1: {
|
|
2319
|
+
return {
|
|
2320
|
+
...state,
|
|
2321
|
+
values: {
|
|
2322
|
+
...state.values,
|
|
2323
|
+
...action.payload
|
|
2324
|
+
}
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
case UPDATE_FORM_VALIDATION: {
|
|
2328
|
+
return {
|
|
2329
|
+
...state,
|
|
2330
|
+
validation: {
|
|
2331
|
+
...state.validation,
|
|
2332
|
+
...action.payload
|
|
2333
|
+
}
|
|
2334
|
+
};
|
|
2335
|
+
}
|
|
2336
|
+
case RESET_FORM_VALIDATION: {
|
|
2337
|
+
return {
|
|
2338
|
+
...state,
|
|
2339
|
+
validation: initialState$2.validation
|
|
2340
|
+
};
|
|
2341
|
+
}
|
|
2342
|
+
case RESET_FORM: {
|
|
2343
|
+
return initialState$2;
|
|
2344
|
+
}
|
|
2345
|
+
default: {
|
|
2346
|
+
return state;
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
};
|
|
2350
|
+
const initialState$1 = {
|
|
2351
|
+
getProfile: {
|
|
2352
|
+
isLoading: false,
|
|
2353
|
+
data: null,
|
|
2354
|
+
error: null
|
|
2355
|
+
},
|
|
2356
|
+
deleteProfile: {
|
|
2357
|
+
isLoading: false,
|
|
2358
|
+
error: null
|
|
2359
|
+
},
|
|
2360
|
+
updatePassword: {
|
|
2361
|
+
isLoading: false,
|
|
2362
|
+
error: null
|
|
2363
|
+
},
|
|
2364
|
+
updateRole: {
|
|
2365
|
+
isLoading: false,
|
|
2366
|
+
error: null
|
|
2367
|
+
},
|
|
2368
|
+
editProfile: {
|
|
2369
|
+
isLoading: false,
|
|
2370
|
+
error: null
|
|
2371
|
+
}
|
|
2372
|
+
};
|
|
2373
|
+
const userProfileReducer = (state = initialState$1, action) => {
|
|
2374
|
+
switch (action.type) {
|
|
2375
|
+
case GET_USER_PROFILE_LOADING: {
|
|
2376
|
+
return {
|
|
2377
|
+
...state,
|
|
2378
|
+
getProfile: {
|
|
2379
|
+
...state.getProfile,
|
|
2380
|
+
isLoading: true,
|
|
2381
|
+
error: null
|
|
2382
|
+
}
|
|
2383
|
+
};
|
|
2384
|
+
}
|
|
2385
|
+
case GET_USER_PROFILE_SUCCESS: {
|
|
2386
|
+
return {
|
|
2387
|
+
...state,
|
|
2388
|
+
getProfile: {
|
|
2389
|
+
isLoading: false,
|
|
2390
|
+
data: action.data,
|
|
2391
|
+
error: null
|
|
2392
|
+
}
|
|
2393
|
+
};
|
|
2394
|
+
}
|
|
2395
|
+
case GET_USER_PROFILE_FAILED: {
|
|
2396
|
+
return {
|
|
2397
|
+
...state,
|
|
2398
|
+
getProfile: {
|
|
2399
|
+
...state.getProfile,
|
|
2400
|
+
isLoading: false,
|
|
2401
|
+
error: action.error
|
|
2402
|
+
}
|
|
2403
|
+
};
|
|
2404
|
+
}
|
|
2405
|
+
case RESET_USER_PROFILE_STATE: {
|
|
2406
|
+
return {
|
|
2407
|
+
...state,
|
|
2408
|
+
getProfile: {
|
|
2409
|
+
...initialState$1.getProfile
|
|
2410
|
+
}
|
|
2411
|
+
};
|
|
2412
|
+
}
|
|
2413
|
+
case DELETE_USER_PROFILE_LOADING: {
|
|
2414
|
+
return {
|
|
2415
|
+
...state,
|
|
2416
|
+
deleteProfile: {
|
|
2417
|
+
...state.deleteProfile,
|
|
2418
|
+
isLoading: true,
|
|
2419
|
+
error: null
|
|
2420
|
+
}
|
|
2421
|
+
};
|
|
2422
|
+
}
|
|
2423
|
+
case DELETE_USER_PROFILE_SUCCESS: {
|
|
2424
|
+
return {
|
|
2425
|
+
...state,
|
|
2426
|
+
deleteProfile: {
|
|
2427
|
+
...state.deleteProfile,
|
|
2428
|
+
isLoading: false,
|
|
2429
|
+
error: null
|
|
2430
|
+
}
|
|
2431
|
+
};
|
|
2432
|
+
}
|
|
2433
|
+
case DELETE_USER_PROFILE_FAILED: {
|
|
2434
|
+
return {
|
|
2435
|
+
...state,
|
|
2436
|
+
deleteProfile: {
|
|
2437
|
+
...state.deleteProfile,
|
|
2438
|
+
isLoading: false,
|
|
2439
|
+
error: action.error
|
|
2440
|
+
}
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
case EDIT_USER_PROFILE_LOADING: {
|
|
2444
|
+
return {
|
|
2445
|
+
...state,
|
|
2446
|
+
editProfile: {
|
|
2447
|
+
...state.editProfile,
|
|
2448
|
+
isLoading: true,
|
|
2449
|
+
error: null
|
|
2450
|
+
}
|
|
2451
|
+
};
|
|
2452
|
+
}
|
|
2453
|
+
case EDIT_USER_PROFILE_SUCCESS: {
|
|
2454
|
+
return {
|
|
2455
|
+
...state,
|
|
2456
|
+
editProfile: {
|
|
2457
|
+
...state.editProfile,
|
|
2458
|
+
isLoading: false,
|
|
2459
|
+
error: null
|
|
2460
|
+
}
|
|
2461
|
+
};
|
|
2462
|
+
}
|
|
2463
|
+
case EDIT_USER_PROFILE_FAILED: {
|
|
2464
|
+
return {
|
|
2465
|
+
...state,
|
|
2466
|
+
editProfile: {
|
|
2467
|
+
...state.editProfile,
|
|
2468
|
+
isLoading: false,
|
|
2469
|
+
error: action.error
|
|
2470
|
+
}
|
|
2471
|
+
};
|
|
2472
|
+
}
|
|
2473
|
+
case UPDATE_USER_PASSWORD_LOADING: {
|
|
2474
|
+
return {
|
|
2475
|
+
...state,
|
|
2476
|
+
updatePassword: {
|
|
2477
|
+
...state.updatePassword,
|
|
2478
|
+
isLoading: true,
|
|
2479
|
+
error: null
|
|
2480
|
+
}
|
|
2481
|
+
};
|
|
2482
|
+
}
|
|
2483
|
+
case UPDATE_USER_PASSWORD_SUCCESS: {
|
|
2484
|
+
return {
|
|
2485
|
+
...state,
|
|
2486
|
+
updatePassword: {
|
|
2487
|
+
...state.updatePassword,
|
|
2488
|
+
isLoading: false,
|
|
2489
|
+
error: null
|
|
2490
|
+
}
|
|
2491
|
+
};
|
|
2492
|
+
}
|
|
2493
|
+
case UPDATE_USER_PASSWORD_FAILED: {
|
|
2494
|
+
return {
|
|
2495
|
+
...state,
|
|
2496
|
+
updatePassword: {
|
|
2497
|
+
...state.updatePassword,
|
|
2498
|
+
isLoading: false,
|
|
2499
|
+
error: action.error
|
|
2500
|
+
}
|
|
2501
|
+
};
|
|
2502
|
+
}
|
|
2503
|
+
case RESET_UPDATE_USER_PASSWORD_STATE: {
|
|
2504
|
+
return {
|
|
2505
|
+
...state,
|
|
2506
|
+
updatePassword: { ...initialState$1.updatePassword }
|
|
2507
|
+
};
|
|
2508
|
+
}
|
|
2509
|
+
case UPDATE_USER_ROLE_LOADING: {
|
|
2510
|
+
return {
|
|
2511
|
+
...state,
|
|
2512
|
+
updateRole: {
|
|
2513
|
+
...state.updateRole,
|
|
2514
|
+
isLoading: true,
|
|
2515
|
+
error: null
|
|
2516
|
+
}
|
|
2517
|
+
};
|
|
2518
|
+
}
|
|
2519
|
+
case UPDATE_USER_ROLE_SUCCESS: {
|
|
2520
|
+
return {
|
|
2521
|
+
...state,
|
|
2522
|
+
updateRole: {
|
|
2523
|
+
...state.updateRole,
|
|
2524
|
+
isLoading: false,
|
|
2525
|
+
error: null
|
|
2526
|
+
}
|
|
2527
|
+
};
|
|
2528
|
+
}
|
|
2529
|
+
case UPDATE_USER_ROLE_FAILED: {
|
|
2530
|
+
return {
|
|
2531
|
+
...state,
|
|
2532
|
+
updateRole: {
|
|
2533
|
+
...state.updateRole,
|
|
2534
|
+
isLoading: false,
|
|
2535
|
+
error: action.error
|
|
2536
|
+
}
|
|
2537
|
+
};
|
|
2538
|
+
}
|
|
2539
|
+
default: {
|
|
2540
|
+
return state;
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
};
|
|
2544
|
+
const initialState = {
|
|
2545
|
+
queue: [],
|
|
2546
|
+
users: {
|
|
2547
|
+
[SYSTEM_USER.UID]: {
|
|
2548
|
+
loading: false,
|
|
2549
|
+
error: null,
|
|
2550
|
+
data: {
|
|
2551
|
+
source: "system",
|
|
2552
|
+
subject: {
|
|
2553
|
+
uid: SYSTEM_USER.UID,
|
|
2554
|
+
login: SYSTEM_USER.LOGIN
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
};
|
|
2560
|
+
function usersByIdReducer(state = initialState, action) {
|
|
2561
|
+
switch (action.type) {
|
|
2562
|
+
case SET_QUEUE:
|
|
2563
|
+
return {
|
|
2564
|
+
...state,
|
|
2565
|
+
queue: [...action.payload.userIds]
|
|
2566
|
+
};
|
|
2567
|
+
case SET_USERS:
|
|
2568
|
+
return {
|
|
2569
|
+
...state,
|
|
2570
|
+
users: {
|
|
2571
|
+
...state.users,
|
|
2572
|
+
...action.payload.users
|
|
2573
|
+
}
|
|
2574
|
+
};
|
|
2575
|
+
default:
|
|
2576
|
+
return state;
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
const reducers = combineReducers({
|
|
2580
|
+
common: commonReducer,
|
|
2581
|
+
signin: signinReducer,
|
|
2582
|
+
userInfoForm: userInfoFormReducer,
|
|
2583
|
+
userProfile: userProfileReducer,
|
|
2584
|
+
usersByIds: usersByIdReducer
|
|
2585
|
+
});
|
|
2586
|
+
const reducer = (state, action) => {
|
|
2587
|
+
if (action.type === RESET_AUTH_STATE) {
|
|
2588
|
+
return reducers(void 0, action);
|
|
2589
|
+
}
|
|
2590
|
+
return reducers(state, action);
|
|
2591
|
+
};
|
|
2592
|
+
const useIframeRender = () => {
|
|
2593
|
+
const isIframeRendered = isIframe();
|
|
2594
|
+
React__default.useEffect(() => {
|
|
2595
|
+
if (isIframeRendered) {
|
|
2596
|
+
document.body.classList?.add(DATALENS_IFRAME_CLASSNAME);
|
|
2597
|
+
} else {
|
|
2598
|
+
document.body.classList?.remove(DATALENS_IFRAME_CLASSNAME);
|
|
2599
|
+
}
|
|
2600
|
+
}, [isIframeRendered]);
|
|
2601
|
+
};
|
|
2602
|
+
const OPEN_SOURCE_INSTALLATION_INFO = "open source";
|
|
2603
|
+
reducerRegistry.register(coreReducers);
|
|
2604
|
+
reducerRegistry.register({ auth: reducer });
|
|
2605
|
+
reducerRegistry.register({ chartkitApi: chartkitApi.reducer });
|
|
2606
|
+
reducerRegistry.registerMiddleware(chartkitApi.middleware);
|
|
2607
|
+
const DatasetPage = React__default.lazy(() => import("./pages/DatasetPage.js"));
|
|
2608
|
+
const PreviewPage = React__default.lazy(() => import("./pages/PreviewPage.js"));
|
|
2609
|
+
const ConnectionsPage = React__default.lazy(
|
|
2610
|
+
() => import(
|
|
2611
|
+
/* webpackChunkName: "connections-page" */
|
|
2612
|
+
"./pages/ConnectionsPage.js"
|
|
2613
|
+
).then((n) => n.C)
|
|
2614
|
+
);
|
|
2615
|
+
const CollectionsNavigtaionPage = React__default.lazy(
|
|
2616
|
+
() => import("./pages/CollectionsNavigationPage.js").then((n) => n.c)
|
|
2617
|
+
);
|
|
2618
|
+
const ServiceSettings = React__default.lazy(() => import("./pages/ServiceSettingsPage.js").then((n) => n.i));
|
|
2619
|
+
const UserProfile = React__default.lazy(() => import("./pages/OwnUserProfilePage.js").then((n) => n.O));
|
|
2620
|
+
const LandingPage = React__default.lazy(() => import("./pages/LandingPage.js"));
|
|
2621
|
+
const AuthPage = React__default.lazy(
|
|
2622
|
+
() => import(
|
|
2623
|
+
/* webpackChunkName: "auth-page" */
|
|
2624
|
+
"./pages/AuthPage.js"
|
|
2625
|
+
).then((n) => n.k)
|
|
2626
|
+
);
|
|
2627
|
+
const DatalensPageView = ({ homePathname = "/collections" }) => {
|
|
2628
|
+
useClearReloadedQuery();
|
|
2629
|
+
const capabilities2 = useCapabilities();
|
|
2630
|
+
const isLanding = useSelector(selectIsLanding);
|
|
2631
|
+
const location2 = useLocation();
|
|
2632
|
+
if (isLanding) {
|
|
2633
|
+
return /* @__PURE__ */ jsx(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: /* @__PURE__ */ jsx(LandingPage, {}) });
|
|
2634
|
+
}
|
|
2635
|
+
if (DL.IS_AUTH_PAGE) {
|
|
2636
|
+
return /* @__PURE__ */ jsx(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: /* @__PURE__ */ jsx(AuthPage, {}) });
|
|
2637
|
+
}
|
|
2638
|
+
return /* @__PURE__ */ jsxs(React__default.Suspense, { fallback: /* @__PURE__ */ jsx(FallbackPage, {}), children: [
|
|
2639
|
+
/* @__PURE__ */ jsxs(Switch, { children: [
|
|
2640
|
+
DL.AUTH_ENABLED && /* @__PURE__ */ jsx(Route, { path: "/auth", component: AuthPage }),
|
|
2641
|
+
/* @__PURE__ */ jsx(
|
|
2642
|
+
Route,
|
|
2643
|
+
{
|
|
2644
|
+
path: ["/workbooks/:workbookId/datasets/new", "/datasets/:id"],
|
|
2645
|
+
component: DatasetPage
|
|
2646
|
+
}
|
|
2647
|
+
),
|
|
2648
|
+
/* @__PURE__ */ jsx(Route, { path: "/preview", component: PreviewPage }),
|
|
2649
|
+
/* @__PURE__ */ jsx(Route, { path: ["/connections/new/:type", "/connections/new"], children: /* @__PURE__ */ jsx(Redirect, { to: { pathname: homePathname, search: location2.search } }) }),
|
|
2650
|
+
capabilities2[Capability.ManageableConnections] && /* @__PURE__ */ jsx(
|
|
2651
|
+
Route,
|
|
2652
|
+
{
|
|
2653
|
+
path: [
|
|
2654
|
+
"/connections/:id",
|
|
2655
|
+
"/workbooks/:workbookId/connections/new/:type",
|
|
2656
|
+
"/workbooks/:workbookId/connections/new"
|
|
2657
|
+
],
|
|
2658
|
+
component: ConnectionsPage
|
|
2659
|
+
}
|
|
2660
|
+
),
|
|
2661
|
+
DL.AUTH_ENABLED && /* @__PURE__ */ jsx(Route, { path: "/profile", component: UserProfile }),
|
|
2662
|
+
capabilities2[Capability.AccessibleSettings] && /* @__PURE__ */ jsx(Route, { path: "/settings", component: ServiceSettings }),
|
|
2663
|
+
capabilities2[Capability.AccessibleCollectionsRoot] && /* @__PURE__ */ jsx(Route, { path: ["/collections"], component: CollectionsNavigtaionPage }),
|
|
2664
|
+
/* @__PURE__ */ jsx(Route, { exact: true, path: dashAndWizardQLRoutes, component: DashAndWizardQLPages }),
|
|
2665
|
+
/* @__PURE__ */ jsx(
|
|
2666
|
+
Route,
|
|
2667
|
+
{
|
|
2668
|
+
path: capabilities2[Capability.ManageableConnections] ? ["/collections/:collectionId", "/workbooks/:workbookId"] : ["/workbooks/:workbookId"],
|
|
2669
|
+
component: CollectionsNavigtaionPage
|
|
2670
|
+
}
|
|
2671
|
+
),
|
|
2672
|
+
/* @__PURE__ */ jsx(Route, { path: "/", children: /* @__PURE__ */ jsx(Redirect, { to: { pathname: homePathname, search: location2.search } }) })
|
|
2673
|
+
] }),
|
|
2674
|
+
/* @__PURE__ */ jsx(LocationChange, { onLocationChanged: locationChangeHandler })
|
|
2675
|
+
] });
|
|
2676
|
+
};
|
|
2677
|
+
const DatalensPage = ({ homePathname = "/collections" }) => {
|
|
2678
|
+
const showAsideHeaderAdapter = getIsAsideHeaderEnabled() && !isEmbeddedMode() && !isTvMode();
|
|
2679
|
+
const showMobileHeader = !isEmbeddedMode() && DL.IS_MOBILE && !DL.IS_NOT_AUTHENTICATED && !DL.IS_AUTH_PAGE;
|
|
2680
|
+
useIframeRender();
|
|
2681
|
+
if (showMobileHeader) {
|
|
2682
|
+
return /* @__PURE__ */ jsx(
|
|
2683
|
+
MobileHeaderComponent,
|
|
2684
|
+
{
|
|
2685
|
+
renderContent: () => /* @__PURE__ */ jsx(DatalensPageView, { homePathname }),
|
|
2686
|
+
logoTextProps: { installationInfo: OPEN_SOURCE_INSTALLATION_INFO }
|
|
2687
|
+
}
|
|
2688
|
+
);
|
|
2689
|
+
}
|
|
2690
|
+
if (showAsideHeaderAdapter) {
|
|
2691
|
+
return /* @__PURE__ */ jsx(
|
|
2692
|
+
AsideHeaderAdapter,
|
|
2693
|
+
{
|
|
2694
|
+
renderContent: () => /* @__PURE__ */ jsx(DatalensPageView, { homePathname }),
|
|
2695
|
+
logoTextProps: { installationInfo: OPEN_SOURCE_INSTALLATION_INFO }
|
|
2696
|
+
}
|
|
2697
|
+
);
|
|
2698
|
+
}
|
|
2699
|
+
return /* @__PURE__ */ jsx(DatalensPageView, { homePathname });
|
|
2700
|
+
};
|
|
2701
|
+
const registryLibsPlugins = (options = {}) => {
|
|
2702
|
+
registry.libs.schematicSdk.register(
|
|
2703
|
+
initSdk(options.sdk ?? {}),
|
|
2704
|
+
options.sdk?.allowOverride ?? false
|
|
2705
|
+
);
|
|
2706
|
+
};
|
|
2707
|
+
const updateFormValues = (payload) => ({
|
|
2708
|
+
type: UPDATE_FORM_VALUES,
|
|
2709
|
+
payload
|
|
2710
|
+
});
|
|
2711
|
+
const submitSigninForm = ({ onError }) => {
|
|
2712
|
+
return (dispatch, getState) => {
|
|
2713
|
+
const { sdk: sdk2 } = getSdk();
|
|
2714
|
+
const { login, password } = getState().auth.signin;
|
|
2715
|
+
const preparedLogin = login.trim();
|
|
2716
|
+
return sdk2.auth.auth.signin({
|
|
2717
|
+
login: preparedLogin,
|
|
2718
|
+
password
|
|
2719
|
+
}).then(() => {
|
|
2720
|
+
const { rethPath } = getState().auth.common;
|
|
2721
|
+
const url = new URL(rethPath || window.location.origin);
|
|
2722
|
+
url.searchParams.delete(RELOADED_URL_QUERY);
|
|
2723
|
+
window.location.href = url.toString();
|
|
2724
|
+
}).catch((error) => {
|
|
2725
|
+
if (!sdk2.isCancel(error)) {
|
|
2726
|
+
logger$1.logError("auth/signin failed", error);
|
|
2727
|
+
if (isSdkError(error)) {
|
|
2728
|
+
onError?.(error);
|
|
2729
|
+
return;
|
|
2730
|
+
}
|
|
2731
|
+
dispatch(
|
|
2732
|
+
showToast({
|
|
2733
|
+
title: error.message,
|
|
2734
|
+
error
|
|
2735
|
+
})
|
|
2736
|
+
);
|
|
2737
|
+
}
|
|
2738
|
+
});
|
|
2739
|
+
};
|
|
2740
|
+
};
|
|
2741
|
+
const selectLogin = (state) => state.auth.signin.login;
|
|
2742
|
+
const selectPassword = (state) => state.auth.signin.password;
|
|
2743
|
+
const selectFormData = (state) => state.auth.signin;
|
|
2744
|
+
const i18n$b = I18n.keyset("auth.sign-in");
|
|
2745
|
+
const Login = ({ qa }) => {
|
|
2746
|
+
const dispatch = useDispatch();
|
|
2747
|
+
const login = useSelector(selectLogin);
|
|
2748
|
+
const handleUpdate = (value) => dispatch(updateFormValues({ login: value }));
|
|
2749
|
+
return /* @__PURE__ */ jsx(
|
|
2750
|
+
TextInput,
|
|
2751
|
+
{
|
|
2752
|
+
value: login,
|
|
2753
|
+
onUpdate: handleUpdate,
|
|
2754
|
+
placeholder: i18n$b("label_login-placeholder"),
|
|
2755
|
+
size: "l",
|
|
2756
|
+
autoComplete: "username",
|
|
2757
|
+
autoFocus: true,
|
|
2758
|
+
qa
|
|
2759
|
+
}
|
|
2760
|
+
);
|
|
2761
|
+
};
|
|
2762
|
+
const i18n$a = I18n.keyset("auth.sign-in");
|
|
2763
|
+
const Password = ({ qa }) => {
|
|
2764
|
+
const dispatch = useDispatch();
|
|
2765
|
+
const password = useSelector(selectPassword);
|
|
2766
|
+
const handleUpdate = (value) => dispatch(updateFormValues({ password: value }));
|
|
2767
|
+
return /* @__PURE__ */ jsx(
|
|
2768
|
+
TextInput,
|
|
2769
|
+
{
|
|
2770
|
+
type: "password",
|
|
2771
|
+
placeholder: i18n$a("label_password-placeholder"),
|
|
2772
|
+
size: "l",
|
|
2773
|
+
autoComplete: "current-password",
|
|
2774
|
+
value: password,
|
|
2775
|
+
onUpdate: handleUpdate,
|
|
2776
|
+
qa
|
|
2777
|
+
}
|
|
2778
|
+
);
|
|
2779
|
+
};
|
|
2780
|
+
const darkLogo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='179'%20height='24'%20fill='none'%20viewBox='0%200%20179%2024'%3e%3cpath%20fill='%23fff'%20d='M10.213%2020.8H7.116v-5.147L1.279%202.824h3.226L9.06%2012.86c.87%201.913%201.152%202.586%201.152%204.888zm2.022-9.285H9.087l3.788-8.69h3.149zm32.356%209.543c-2.867%200-4.863-2.38-4.863-6.673%200-4.345%202.047-6.854%204.991-6.854%201.331%200%202.458.621%203.225%201.785V2.824h3.047V20.8h-2.816l-.154-1.681c-.819%201.267-1.996%201.94-3.43%201.94m18.712-1.138c-.896.621-2.329%201.138-4.274%201.138-3.891%200-6.093-2.198-6.093-6.724%200-3.932%201.766-6.803%205.478-6.803%203.046%200%205.017%201.707%205.017%206.234v1.63h-7.346c.128%202.172.972%203.232%203.2%203.232%201.484%200%203.071-.569%204.018-1.215zm-38.32-7.992v5.69q0%201.59.154%203.182h-2.97a4%204%200%200%201-.23-1.035h-.128c-.589.62-1.357%201.216-3.149%201.216-2.355%200-3.942-1.449-3.942-3.957%200-2.716%202.074-4.242%206.733-4.242h.486v-.828c0-1.396-.666-1.914-2.125-1.914-1.715%200-3.2.931-4.172%201.733V9.11c.921-.672%202.534-1.526%204.53-1.526%203.226%200%204.813%201.19%204.813%204.345m5.53-.465V20.8h-3.047V7.79h2.97l.076%201.086h.154c.614-.62%201.69-1.293%203.507-1.293%202.483%200%203.507%201.138%203.507%203.725V20.8h-3.046v-9.182c0-.983-.487-1.448-1.562-1.448-1.1%200-1.997.595-2.56%201.293m42.16%209.337-2.74-4.397-2.585%204.397H64.25l4.044-6.777-3.89-6.233h3.43l2.457%203.931%202.201-3.93h3.046l-3.635%206.31%204.198%206.699zM45.486%209.963c-1.74%200-2.61%201.345-2.61%204.422%200%202.949.818%204.242%202.482%204.242%201.715%200%202.585-1.319%202.585-4.345%200-3-.819-4.32-2.457-4.32m12.876%200c-1.46%200-2.202%201.086-2.278%203.155h4.249v-.258c0-1.63-.46-2.897-1.971-2.897m-36.426%207.733v-2.87h-.435c-2.611%200-3.66.516-3.66%202.017%200%201.137.64%201.888%201.92%201.888%201.074%200%201.791-.466%202.175-1.035M84.32%202.824h4.306c4.834%200%208.452%202.276%208.452%208.897%200%205.872-3.645%209.079-8.716%209.079H84.32zm3.778%2015.545c3.46%200%205.731-2.25%205.731-6.7%200-4.836-2.245-6.414-5.467-6.414h-.846V18.37zM108.904%2011.928v5.69q0%201.59.158%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.607.62-1.4%201.216-3.249%201.216-2.43%200-4.067-1.475-4.067-4.113s2.139-4.19%206.947-4.19h.501v-.724c0-1.396-.686-1.914-2.192-1.914-1.611%200-3.46.673-4.305%201.294V8.773c.95-.543%202.588-1.19%204.675-1.19%203.328%200%204.966%201.19%204.966%204.345m-3.144%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.661%201.94%201.981%201.94%201.11%200%201.849-.466%202.245-1.035M110.117%207.79h1.664V4.945h3.143V7.79h3.302v2.431h-3.302v6.7c0%20.956.607%201.706%201.928%201.706%201.057%200%201.638-.414%201.638-.414v2.51s-.872.335-2.404.335c-2.905%200-4.305-1.732-4.305-4.164v-6.673h-1.664zM130.004%2011.928v5.69q0%201.59.159%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.608.62-1.4%201.216-3.249%201.216-2.43%200-4.068-1.475-4.068-4.113s2.14-4.19%206.947-4.19h.502v-.724c0-1.396-.687-1.914-2.192-1.914-1.612%200-3.461.673-4.306%201.294V8.773c.951-.543%202.589-1.19%204.675-1.19%203.329%200%204.966%201.19%204.966%204.345m-3.143%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.66%201.94%201.981%201.94%201.109%200%201.849-.466%202.245-1.035M132.532%202.824h3.196V18.37h6.418v2.43h-9.614zM153.767%2019.92c-.924.621-2.403%201.138-4.411%201.138-4.015%200-6.287-2.198-6.287-6.724%200-3.932%201.823-6.803%205.653-6.803%203.143%200%205.177%201.707%205.177%206.234v1.63h-7.581c.132%202.172%201.004%203.232%203.302%203.232%201.532%200%203.17-.569%204.147-1.215zm-5.098-9.957c-1.505%200-2.271%201.086-2.351%203.155h4.385v-.258c0-1.63-.475-2.897-2.034-2.897M159.149%2011.463V20.8h-3.144V7.79h3.064l.08%201.086h.158c.634-.62%201.743-1.293%203.619-1.293%202.562%200%203.619%201.138%203.619%203.725V20.8h-3.144v-9.182c0-.983-.502-1.448-1.611-1.448-1.136%200-2.06.595-2.641%201.293M173.152%2021.058c-3.064%200-4.543-1.215-4.543-1.215v-2.51c.264.13%201.743%201.294%204.041%201.294%201.796%200%202.615-.491%202.615-1.5%200-1.138-.977-1.63-2.8-1.862-2.589-.336-3.936-1.526-3.936-3.828%200-2.25%201.796-3.906%205.019-3.906%202.615%200%203.857.725%203.857.725v2.508c-.212-.155-1.506-.879-3.54-.879-1.479%200-2.272.44-2.272%201.423%200%201.241%201.11%201.396%202.43%201.577%202.668.362%204.28%201.552%204.28%203.828%200%203.078-2.034%204.345-5.151%204.345'/%3e%3c/svg%3e";
|
|
2781
|
+
const lightLogo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='179'%20height='24'%20fill='none'%20viewBox='0%200%20179%2024'%3e%3cpath%20fill='%23000'%20fill-opacity='.85'%20d='M10.213%2020.8H7.116v-5.147L1.279%202.824h3.226L9.06%2012.86c.87%201.913%201.152%202.586%201.152%204.888zm2.022-9.285H9.087l3.788-8.69h3.149zm32.356%209.543c-2.867%200-4.863-2.38-4.863-6.673%200-4.345%202.047-6.854%204.991-6.854%201.331%200%202.458.621%203.225%201.785V2.824h3.047V20.8h-2.816l-.154-1.681c-.819%201.267-1.996%201.94-3.43%201.94m18.712-1.138c-.896.621-2.329%201.138-4.274%201.138-3.891%200-6.093-2.198-6.093-6.724%200-3.932%201.766-6.803%205.478-6.803%203.046%200%205.017%201.707%205.017%206.234v1.63h-7.346c.128%202.172.972%203.232%203.2%203.232%201.484%200%203.071-.569%204.018-1.215zm-38.32-7.992v5.69q0%201.59.154%203.182h-2.97a4%204%200%200%201-.23-1.035h-.128c-.589.62-1.357%201.216-3.149%201.216-2.355%200-3.942-1.449-3.942-3.957%200-2.716%202.074-4.242%206.733-4.242h.486v-.828c0-1.396-.666-1.914-2.125-1.914-1.715%200-3.2.931-4.172%201.733V9.11c.921-.672%202.534-1.526%204.53-1.526%203.226%200%204.813%201.19%204.813%204.345m5.53-.465V20.8h-3.047V7.79h2.97l.076%201.086h.154c.614-.62%201.69-1.293%203.507-1.293%202.483%200%203.507%201.138%203.507%203.725V20.8h-3.046v-9.182c0-.983-.487-1.448-1.562-1.448-1.1%200-1.997.595-2.56%201.293m42.16%209.337-2.74-4.397-2.585%204.397H64.25l4.044-6.777-3.89-6.233h3.43l2.457%203.931%202.201-3.93h3.046l-3.635%206.31%204.198%206.699zM45.486%209.963c-1.74%200-2.61%201.345-2.61%204.422%200%202.949.818%204.242%202.482%204.242%201.715%200%202.585-1.319%202.585-4.345%200-3-.819-4.32-2.457-4.32m12.876%200c-1.46%200-2.202%201.086-2.278%203.155h4.249v-.258c0-1.63-.46-2.897-1.971-2.897m-36.426%207.733v-2.87h-.435c-2.611%200-3.66.516-3.66%202.017%200%201.137.64%201.888%201.92%201.888%201.074%200%201.791-.466%202.175-1.035M84.32%202.824h4.306c4.834%200%208.452%202.276%208.452%208.897%200%205.872-3.645%209.079-8.716%209.079H84.32zm3.778%2015.545c3.46%200%205.731-2.25%205.731-6.7%200-4.836-2.245-6.414-5.467-6.414h-.846V18.37zM108.904%2011.928v5.69q0%201.59.158%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.607.62-1.4%201.216-3.249%201.216-2.43%200-4.067-1.475-4.067-4.113s2.139-4.19%206.947-4.19h.501v-.724c0-1.396-.686-1.914-2.192-1.914-1.611%200-3.46.673-4.305%201.294V8.773c.95-.543%202.588-1.19%204.675-1.19%203.328%200%204.966%201.19%204.966%204.345m-3.144%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.661%201.94%201.981%201.94%201.11%200%201.849-.466%202.245-1.035M110.117%207.79h1.664V4.945h3.143V7.79h3.302v2.431h-3.302v6.7c0%20.956.607%201.706%201.928%201.706%201.057%200%201.638-.414%201.638-.414v2.51s-.872.335-2.404.335c-2.905%200-4.305-1.732-4.305-4.164v-6.673h-1.664zM130.004%2011.928v5.69q0%201.59.159%203.182h-3.064a4%204%200%200%201-.238-1.035h-.132c-.608.62-1.4%201.216-3.249%201.216-2.43%200-4.068-1.475-4.068-4.113s2.14-4.19%206.947-4.19h.502v-.724c0-1.396-.687-1.914-2.192-1.914-1.612%200-3.461.673-4.306%201.294V8.773c.951-.543%202.589-1.19%204.675-1.19%203.329%200%204.966%201.19%204.966%204.345m-3.143%205.768v-2.974h-.449c-2.694%200-3.777.543-3.777%202.069%200%201.164.66%201.94%201.981%201.94%201.109%200%201.849-.466%202.245-1.035M132.532%202.824h3.196V18.37h6.418v2.43h-9.614zM153.767%2019.92c-.924.621-2.403%201.138-4.411%201.138-4.015%200-6.287-2.198-6.287-6.724%200-3.932%201.823-6.803%205.653-6.803%203.143%200%205.177%201.707%205.177%206.234v1.63h-7.581c.132%202.172%201.004%203.232%203.302%203.232%201.532%200%203.17-.569%204.147-1.215zm-5.098-9.957c-1.505%200-2.271%201.086-2.351%203.155h4.385v-.258c0-1.63-.475-2.897-2.034-2.897M159.149%2011.463V20.8h-3.144V7.79h3.064l.08%201.086h.158c.634-.62%201.743-1.293%203.619-1.293%202.562%200%203.619%201.138%203.619%203.725V20.8h-3.144v-9.182c0-.983-.502-1.448-1.611-1.448-1.136%200-2.06.595-2.641%201.293M173.152%2021.058c-3.064%200-4.543-1.215-4.543-1.215v-2.51c.264.13%201.743%201.294%204.041%201.294%201.796%200%202.615-.491%202.615-1.5%200-1.138-.977-1.63-2.8-1.862-2.589-.336-3.936-1.526-3.936-3.828%200-2.25%201.796-3.906%205.019-3.906%202.615%200%203.857.725%203.857.725v2.508c-.212-.155-1.506-.879-3.54-.879-1.479%200-2.272.44-2.272%201.423%200%201.241%201.11%201.396%202.43%201.577%202.668.362%204.28%201.552%204.28%203.828%200%203.078-2.034%204.345-5.151%204.345'/%3e%3c/svg%3e";
|
|
2782
|
+
const i18n$9 = I18n.keyset("auth.sign-in");
|
|
2783
|
+
const b$b = block("dl-signin");
|
|
2784
|
+
const Signin = ({ alternativeAuthOptions }) => {
|
|
2785
|
+
const dispatch = useDispatch();
|
|
2786
|
+
const [errorMessage, setErrorMessage] = React__default.useState(null);
|
|
2787
|
+
const formData = useSelector(selectFormData);
|
|
2788
|
+
const theme2 = useThemeType();
|
|
2789
|
+
const logo = theme2 === "dark" ? darkLogo : lightLogo;
|
|
2790
|
+
const handleSigninError = (error) => {
|
|
2791
|
+
if (error.status === 403) {
|
|
2792
|
+
setErrorMessage(i18n$9("label_error-incorrect-fields"));
|
|
2793
|
+
return;
|
|
2794
|
+
}
|
|
2795
|
+
dispatch(showToast({ title: error.message, error }));
|
|
2796
|
+
};
|
|
2797
|
+
const handleSubmit = (event) => {
|
|
2798
|
+
event.preventDefault();
|
|
2799
|
+
if (!formData.login || !formData.password) {
|
|
2800
|
+
setErrorMessage(i18n$9("label_error-required-fields"));
|
|
2801
|
+
return;
|
|
2802
|
+
}
|
|
2803
|
+
dispatch(submitSigninForm({ onError: handleSigninError }));
|
|
2804
|
+
};
|
|
2805
|
+
const handleFormChange = React__default.useCallback(() => {
|
|
2806
|
+
if (errorMessage) {
|
|
2807
|
+
setErrorMessage(null);
|
|
2808
|
+
}
|
|
2809
|
+
}, [errorMessage]);
|
|
2810
|
+
return /* @__PURE__ */ jsx(Flex, { className: b$b(), justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsxs(
|
|
2811
|
+
Flex,
|
|
2812
|
+
{
|
|
2813
|
+
className: b$b("form-container"),
|
|
2814
|
+
direction: "column",
|
|
2815
|
+
gap: "6",
|
|
2816
|
+
as: "form",
|
|
2817
|
+
qa: SignInQa.SIGN_IN_FORM,
|
|
2818
|
+
onChange: handleFormChange,
|
|
2819
|
+
onSubmit: handleSubmit,
|
|
2820
|
+
children: [
|
|
2821
|
+
/* @__PURE__ */ jsx(Icon, { data: logo, width: "100%" }),
|
|
2822
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 6, children: [
|
|
2823
|
+
errorMessage && /* @__PURE__ */ jsx(Alert, { theme: "danger", message: errorMessage }),
|
|
2824
|
+
/* @__PURE__ */ jsx(Login, { qa: SignInQa.INPUT_LOGIN }),
|
|
2825
|
+
/* @__PURE__ */ jsx(Password, { qa: SignInQa.INPUT_PASSWORD }),
|
|
2826
|
+
/* @__PURE__ */ jsx(Button, { size: "xl", view: "action", type: "submit", children: i18n$9("button_sign-in") }),
|
|
2827
|
+
!DL.AUTH_SIGNUP_DISABLED && /* @__PURE__ */ jsxs(Flex, { gap: 1, children: [
|
|
2828
|
+
i18n$9("label_sign-up-hint"),
|
|
2829
|
+
/* @__PURE__ */ jsx(Link, { to: AUTH_ROUTE.SIGNUP, className: b$b("link"), children: i18n$9("label_sing-up-link") })
|
|
2830
|
+
] })
|
|
2831
|
+
] }),
|
|
2832
|
+
alternativeAuthOptions
|
|
2833
|
+
]
|
|
2834
|
+
}
|
|
2835
|
+
) });
|
|
2836
|
+
};
|
|
2837
|
+
const b$a = block("users-list-labels-list");
|
|
2838
|
+
const LabelsList = ({
|
|
2839
|
+
items,
|
|
2840
|
+
countVisibleElements = 1,
|
|
2841
|
+
buttonTheme = "normal",
|
|
2842
|
+
size = isEnabledFeature(Feature.EnableNewServiceSettings) ? "s" : "xs"
|
|
2843
|
+
}) => {
|
|
2844
|
+
const [open, setOpen] = React__default.useState(false);
|
|
2845
|
+
const anchorRef = React__default.useRef(null);
|
|
2846
|
+
const toggleRolesPopup = React__default.useCallback(
|
|
2847
|
+
(event) => {
|
|
2848
|
+
event.stopPropagation();
|
|
2849
|
+
setOpen(!open);
|
|
2850
|
+
},
|
|
2851
|
+
[open]
|
|
2852
|
+
);
|
|
2853
|
+
const handlePopupClose = React__default.useCallback(() => {
|
|
2854
|
+
setOpen(false);
|
|
2855
|
+
}, []);
|
|
2856
|
+
const renderList = () => {
|
|
2857
|
+
const visibleItems = items.slice(0, countVisibleElements);
|
|
2858
|
+
const hiddenItems = items.slice(countVisibleElements);
|
|
2859
|
+
const buttonText = `+${items.length - countVisibleElements}`;
|
|
2860
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
2861
|
+
visibleItems.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)),
|
|
2862
|
+
/* @__PURE__ */ jsx(
|
|
2863
|
+
Label,
|
|
2864
|
+
{
|
|
2865
|
+
ref: anchorRef,
|
|
2866
|
+
theme: buttonTheme,
|
|
2867
|
+
onClick: toggleRolesPopup,
|
|
2868
|
+
className: b$a("button"),
|
|
2869
|
+
size,
|
|
2870
|
+
children: buttonText
|
|
2871
|
+
}
|
|
2872
|
+
),
|
|
2873
|
+
/* @__PURE__ */ jsx(
|
|
2874
|
+
Popup,
|
|
2875
|
+
{
|
|
2876
|
+
anchorElement: anchorRef.current,
|
|
2877
|
+
open,
|
|
2878
|
+
placement: ["bottom-end", "bottom", "top-end", "top"],
|
|
2879
|
+
onOpenChange: (isOpened) => {
|
|
2880
|
+
if (!isOpened) {
|
|
2881
|
+
handlePopupClose();
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
children: /* @__PURE__ */ jsx("div", { className: b$a("popup"), children: /* @__PURE__ */ jsx("div", { className: b$a("popup-content"), children: hiddenItems.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)) }) })
|
|
2885
|
+
}
|
|
2886
|
+
)
|
|
2887
|
+
] });
|
|
2888
|
+
};
|
|
2889
|
+
return /* @__PURE__ */ jsx(Flex, { className: b$a(), alignItems: "center", gap: 2, children: items.length > countVisibleElements ? renderList() : items.map((item) => /* @__PURE__ */ jsx(UserRoleLabel, { role: item, size }, item)) });
|
|
2890
|
+
};
|
|
2891
|
+
const b$9 = block("service-settings-users-list");
|
|
2892
|
+
const i18n$8 = I18n.keyset("service-settings.users-list.view");
|
|
2893
|
+
const newServiceSettingsEnabled = isEnabledFeature(Feature.EnableNewServiceSettings);
|
|
2894
|
+
const getUsersListColumns = () => newServiceSettingsEnabled ? [
|
|
2895
|
+
{
|
|
2896
|
+
id: "user",
|
|
2897
|
+
// TODO: name: i18n('user'),
|
|
2898
|
+
name: "Пользователь",
|
|
2899
|
+
template: ({ firstName, lastName, email }) => /* @__PURE__ */ jsx(
|
|
2900
|
+
User,
|
|
2901
|
+
{
|
|
2902
|
+
className: b$9("user"),
|
|
2903
|
+
size: "m",
|
|
2904
|
+
name: `${firstName ?? ""} ${lastName ?? ""}`.trim() || "—",
|
|
2905
|
+
description: email
|
|
2906
|
+
}
|
|
2907
|
+
),
|
|
2908
|
+
width: "35%"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
id: "role",
|
|
2912
|
+
name: i18n$8("label_field-roles"),
|
|
2913
|
+
template: ({ roles }) => /* @__PURE__ */ jsx(LabelsList, { items: roles, countVisibleElements: 1 })
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
id: "login",
|
|
2917
|
+
name: i18n$8("label_field-login"),
|
|
2918
|
+
template: ({ login }) => /* @__PURE__ */ jsx("div", { className: b$9("login"), children: login }),
|
|
2919
|
+
meta: { copy: ({ login }) => login }
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
id: "userId",
|
|
2923
|
+
name: i18n$8("label_field-id"),
|
|
2924
|
+
meta: { copy: ({ userId }) => userId }
|
|
2925
|
+
}
|
|
2926
|
+
] : [
|
|
2927
|
+
{
|
|
2928
|
+
id: "firstName",
|
|
2929
|
+
name: i18n$8("label_field-first-name")
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
id: "lastName",
|
|
2933
|
+
name: i18n$8("label_field-last-name")
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
id: "userId",
|
|
2937
|
+
name: i18n$8("label_field-id"),
|
|
2938
|
+
template: ({ userId }) => userId,
|
|
2939
|
+
meta: { copy: ({ userId }) => userId }
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
id: "email",
|
|
2943
|
+
name: i18n$8("label_field-email"),
|
|
2944
|
+
template: ({ email }) => email,
|
|
2945
|
+
meta: { copy: ({ email }) => email }
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
id: "role",
|
|
2949
|
+
name: i18n$8("label_field-roles"),
|
|
2950
|
+
template: ({ roles }) => /* @__PURE__ */ jsx(LabelsList, { items: roles, countVisibleElements: 1 })
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
id: "login",
|
|
2954
|
+
name: i18n$8("label_field-login"),
|
|
2955
|
+
meta: { copy: ({ login }) => login }
|
|
2956
|
+
}
|
|
2957
|
+
];
|
|
2958
|
+
const registerAuthPlugins = () => {
|
|
2959
|
+
registry.auth.functions.register({
|
|
2960
|
+
getUsersListColumns
|
|
2961
|
+
});
|
|
2962
|
+
registry.auth.components.registerMany({
|
|
2963
|
+
Signin
|
|
2964
|
+
});
|
|
2965
|
+
};
|
|
2966
|
+
const exampleFunction = (arg) => {
|
|
2967
|
+
return `${arg}`;
|
|
2968
|
+
};
|
|
2969
|
+
const AdvancedChartPlugin = {
|
|
2970
|
+
type: "advanced-chart",
|
|
2971
|
+
renderer: React__default.lazy(() => import("./AdvancedChartWidget.js"))
|
|
2972
|
+
};
|
|
2973
|
+
const HighchartsMapPlugin = {
|
|
2974
|
+
type: "highchartsmap",
|
|
2975
|
+
renderer: React__default.lazy(() => import("./HighchartsMapWidget.js"))
|
|
2976
|
+
};
|
|
2977
|
+
const MarkupPlugin = {
|
|
2978
|
+
type: "markup",
|
|
2979
|
+
renderer: React__default.lazy(() => import("./MarkupWidget.js"))
|
|
2980
|
+
};
|
|
2981
|
+
const MetricPlugin = {
|
|
2982
|
+
type: "metric",
|
|
2983
|
+
renderer: React__default.lazy(() => import("./MetricWidget.js"))
|
|
2984
|
+
};
|
|
2985
|
+
const TablePlugin = {
|
|
2986
|
+
type: "table",
|
|
2987
|
+
renderer: React__default.lazy(() => import("./pages/ConnectionsPage.js").then((n) => n.k))
|
|
2988
|
+
};
|
|
2989
|
+
const YandexMapPlugin = {
|
|
2990
|
+
type: "yandexmap",
|
|
2991
|
+
renderer: React__default.lazy(() => import("./YandexMapWidget.js"))
|
|
2992
|
+
};
|
|
2993
|
+
const getChartkitPlugins = () => [
|
|
2994
|
+
YagrPlugin,
|
|
2995
|
+
IndicatorPlugin,
|
|
2996
|
+
MetricPlugin,
|
|
2997
|
+
HighchartsMapPlugin,
|
|
2998
|
+
YandexMapPlugin,
|
|
2999
|
+
HighchartsPlugin,
|
|
3000
|
+
GravityChartsPlugin,
|
|
3001
|
+
MarkupPlugin,
|
|
3002
|
+
TablePlugin,
|
|
3003
|
+
AdvancedChartPlugin
|
|
3004
|
+
];
|
|
3005
|
+
const registerChartPlugins = () => {
|
|
3006
|
+
registry.chart.functions.register({
|
|
3007
|
+
[EXAMPLE_FUNCTION]: exampleFunction,
|
|
3008
|
+
getWizardChartMenu,
|
|
3009
|
+
getPanePreviewChartMenu,
|
|
3010
|
+
getDefaultChartMenu,
|
|
3011
|
+
getChartkitMenuByType,
|
|
3012
|
+
getChartkitPlugins,
|
|
3013
|
+
getChartkitType
|
|
3014
|
+
});
|
|
3015
|
+
};
|
|
3016
|
+
const useCreateWorkbookDialogHandlers = () => {
|
|
3017
|
+
const { collectionId = null } = useParams();
|
|
3018
|
+
const dispatch = useDispatch();
|
|
3019
|
+
const history = useHistory();
|
|
3020
|
+
const handleOpenCreateDialog = React__default.useCallback(
|
|
3021
|
+
(defaultView, options) => {
|
|
3022
|
+
const { refreshPageAfterImport, initialImportStatus, ...restOptions } = options ?? {};
|
|
3023
|
+
dispatch(
|
|
3024
|
+
openDialog({
|
|
3025
|
+
id: DIALOG_CREATE_WORKBOOK,
|
|
3026
|
+
props: {
|
|
3027
|
+
open: true,
|
|
3028
|
+
collectionId,
|
|
3029
|
+
onCreateWorkbook: ({ workbookId }) => {
|
|
3030
|
+
if (workbookId) {
|
|
3031
|
+
history.push(`${WORKBOOKS_PATH}/${workbookId}`);
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
onClose: () => {
|
|
3035
|
+
dispatch(closeDialog());
|
|
3036
|
+
if (refreshPageAfterImport && initialImportStatus !== void 0) {
|
|
3037
|
+
refreshPageAfterImport(initialImportStatus);
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
defaultView,
|
|
3041
|
+
showImport: true,
|
|
3042
|
+
...restOptions
|
|
3043
|
+
}
|
|
3044
|
+
})
|
|
3045
|
+
);
|
|
3046
|
+
},
|
|
3047
|
+
[collectionId, dispatch, history]
|
|
3048
|
+
);
|
|
3049
|
+
const handleOpenCreateDialogWithConnection = React__default.useCallback(() => {
|
|
3050
|
+
dispatch(
|
|
3051
|
+
openDialog({
|
|
3052
|
+
id: DIALOG_CREATE_WORKBOOK,
|
|
3053
|
+
props: {
|
|
3054
|
+
open: true,
|
|
3055
|
+
collectionId,
|
|
3056
|
+
onCreateWorkbook: ({ workbookId }) => {
|
|
3057
|
+
if (workbookId) {
|
|
3058
|
+
history.push(`${WORKBOOKS_PATH}/${workbookId}/connections/new`);
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3061
|
+
onClose: () => {
|
|
3062
|
+
dispatch(closeDialog());
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
})
|
|
3066
|
+
);
|
|
3067
|
+
}, [collectionId, dispatch, history]);
|
|
3068
|
+
return {
|
|
3069
|
+
handleOpenCreateDialog,
|
|
3070
|
+
handleOpenCreateDialogWithConnection
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
const customizeCollectionsActions = (_item, actions) => actions;
|
|
3074
|
+
const customizeWorkbooksActions = (_item, actions) => actions;
|
|
3075
|
+
const customizeEmptyPlaceholder = ({
|
|
3076
|
+
title,
|
|
3077
|
+
description,
|
|
3078
|
+
actions
|
|
3079
|
+
}) => {
|
|
3080
|
+
return { title, description, actions };
|
|
3081
|
+
};
|
|
3082
|
+
const customizeNoCreatePermissionDialog = ({ message }) => {
|
|
3083
|
+
return {
|
|
3084
|
+
message
|
|
3085
|
+
};
|
|
3086
|
+
};
|
|
3087
|
+
const registerCollectionsPlugins = () => {
|
|
3088
|
+
registry.collections.functions.register({
|
|
3089
|
+
customizeWorkbooksActions,
|
|
3090
|
+
customizeCollectionsActions,
|
|
3091
|
+
customizeEmptyPlaceholder,
|
|
3092
|
+
customizeNoCreatePermissionDialog,
|
|
3093
|
+
useCreateWorkbookDialogHandlers
|
|
3094
|
+
});
|
|
3095
|
+
};
|
|
3096
|
+
const getAdditionalChartkitErrorContent = () => {
|
|
3097
|
+
return {};
|
|
3098
|
+
};
|
|
3099
|
+
const getIsCompact = () => {
|
|
3100
|
+
const isCompactValue = localStorage.getItem("isCompact");
|
|
3101
|
+
if (!isCompactValue) {
|
|
3102
|
+
return false;
|
|
3103
|
+
}
|
|
3104
|
+
return JSON.parse(isCompactValue);
|
|
3105
|
+
};
|
|
3106
|
+
const updateIsCompact = (isCompact) => {
|
|
3107
|
+
return () => {
|
|
3108
|
+
localStorage.setItem("isCompact", JSON.stringify(isCompact));
|
|
3109
|
+
};
|
|
3110
|
+
};
|
|
3111
|
+
const getLoginById = () => LoginById;
|
|
3112
|
+
const getRestrictedParamNames = () => RESTRICTED_PARAM_NAMES;
|
|
3113
|
+
const setEntryKey = async ({ scope, type, key, withRouting = true }) => {
|
|
3114
|
+
const store = getStore();
|
|
3115
|
+
if (withRouting) {
|
|
3116
|
+
store.dispatch(setIsRenameWithoutReload(true));
|
|
3117
|
+
}
|
|
3118
|
+
switch (scope) {
|
|
3119
|
+
case EntryScope.Dash:
|
|
3120
|
+
store.dispatch(renameDash(key));
|
|
3121
|
+
break;
|
|
3122
|
+
case EntryScope.Connection:
|
|
3123
|
+
store.dispatch(setConnectionKey(key));
|
|
3124
|
+
break;
|
|
3125
|
+
case EntryScope.Dataset:
|
|
3126
|
+
store.dispatch(renameDataset(key));
|
|
3127
|
+
break;
|
|
3128
|
+
case EntryScope.Widget: {
|
|
3129
|
+
if (ENTRY_TYPES.wizard.includes(type)) {
|
|
3130
|
+
store.dispatch(setWizardWidgetKey(key));
|
|
3131
|
+
} else if (ENTRY_TYPES.ql.includes(type)) {
|
|
3132
|
+
store.dispatch(setQlEntryKey(key));
|
|
3133
|
+
}
|
|
3134
|
+
break;
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
if (withRouting) {
|
|
3138
|
+
store.dispatch(setIsRenameWithoutReload(false));
|
|
3139
|
+
}
|
|
3140
|
+
};
|
|
3141
|
+
const b$8 = block("dl-main-tab-content");
|
|
3142
|
+
const i18n$7 = I18n.keyset("new-workbooks");
|
|
3143
|
+
const MainTabContent = ({
|
|
3144
|
+
workbook,
|
|
3145
|
+
chunk,
|
|
3146
|
+
onRenameEntry,
|
|
3147
|
+
onDeleteEntry,
|
|
3148
|
+
onDuplicateEntry,
|
|
3149
|
+
onCopyEntry,
|
|
3150
|
+
actionCreateText,
|
|
3151
|
+
hasCreateButton = true,
|
|
3152
|
+
title,
|
|
3153
|
+
actionType,
|
|
3154
|
+
isShowMoreBtn,
|
|
3155
|
+
loadMoreEntries,
|
|
3156
|
+
retryLoadEntries,
|
|
3157
|
+
isErrorMessage,
|
|
3158
|
+
isLoading,
|
|
3159
|
+
createEntryBtn,
|
|
3160
|
+
clearView,
|
|
3161
|
+
onShowRelatedClick,
|
|
3162
|
+
onCopyId,
|
|
3163
|
+
onUpdateSharedEntryBindings
|
|
3164
|
+
}) => {
|
|
3165
|
+
const [isOpen, setIsOpen] = React__default.useState(true);
|
|
3166
|
+
const dispatch = useDispatch();
|
|
3167
|
+
const handleCreateEntity = () => {
|
|
3168
|
+
if (actionType) {
|
|
3169
|
+
dispatch(setCreateWorkbookEntryType(actionType));
|
|
3170
|
+
}
|
|
3171
|
+
};
|
|
3172
|
+
const getContentTab = () => {
|
|
3173
|
+
if (isErrorMessage) {
|
|
3174
|
+
return /* @__PURE__ */ jsx("div", { className: b$8("error-text"), children: i18n$7("label_error-load-entities") });
|
|
3175
|
+
}
|
|
3176
|
+
if (chunk && chunk.length > 0 && isOpen) {
|
|
3177
|
+
return /* @__PURE__ */ jsx(
|
|
3178
|
+
ChunkGroup,
|
|
3179
|
+
{
|
|
3180
|
+
workbook,
|
|
3181
|
+
chunk,
|
|
3182
|
+
onRenameEntry,
|
|
3183
|
+
onDeleteEntry,
|
|
3184
|
+
onDuplicateEntry,
|
|
3185
|
+
onCopyEntry,
|
|
3186
|
+
onShowRelatedClick,
|
|
3187
|
+
onCopyId,
|
|
3188
|
+
onUpdateSharedEntryBindings
|
|
3189
|
+
},
|
|
3190
|
+
chunk[0].key
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
if (isOpen) {
|
|
3194
|
+
return /* @__PURE__ */ jsx(EmptyRow, { label: /* @__PURE__ */ jsx("div", { className: b$8("no-objects"), children: i18n$7("no_objects") }) });
|
|
3195
|
+
}
|
|
3196
|
+
return null;
|
|
3197
|
+
};
|
|
3198
|
+
const getActionBtn = () => {
|
|
3199
|
+
const buttonSize = DL.IS_MOBILE ? MOBILE_SIZE.BUTTON : void 0;
|
|
3200
|
+
if (isErrorMessage) {
|
|
3201
|
+
return /* @__PURE__ */ jsx(
|
|
3202
|
+
Button,
|
|
3203
|
+
{
|
|
3204
|
+
onClick: retryLoadEntries,
|
|
3205
|
+
size: buttonSize,
|
|
3206
|
+
className: b$8("retry-btn"),
|
|
3207
|
+
view: "outlined",
|
|
3208
|
+
children: i18n$7("action_retry")
|
|
3209
|
+
}
|
|
3210
|
+
);
|
|
3211
|
+
}
|
|
3212
|
+
if (isShowMoreBtn && isOpen) {
|
|
3213
|
+
return /* @__PURE__ */ jsx(
|
|
3214
|
+
Button,
|
|
3215
|
+
{
|
|
3216
|
+
onClick: loadMoreEntries,
|
|
3217
|
+
size: buttonSize,
|
|
3218
|
+
className: b$8("show-more-btn"),
|
|
3219
|
+
view: "outlined",
|
|
3220
|
+
children: i18n$7("action_show-more")
|
|
3221
|
+
}
|
|
3222
|
+
);
|
|
3223
|
+
}
|
|
3224
|
+
return null;
|
|
3225
|
+
};
|
|
3226
|
+
const showCreateButton = workbook.permissions.update && !DL.IS_MOBILE && hasCreateButton;
|
|
3227
|
+
if (!isLoading && DL.IS_MOBILE && chunk.length === 0) {
|
|
3228
|
+
return null;
|
|
3229
|
+
}
|
|
3230
|
+
const renderCreateButton = () => {
|
|
3231
|
+
if (showCreateButton) {
|
|
3232
|
+
return /* @__PURE__ */ jsx("div", { className: b$8("content"), children: /* @__PURE__ */ jsx("div", { className: b$8("create-btn"), children: createEntryBtn ?? /* @__PURE__ */ jsxs(Button, { onClick: handleCreateEntity, children: [
|
|
3233
|
+
/* @__PURE__ */ jsx(Icon, { data: Plus }),
|
|
3234
|
+
actionCreateText
|
|
3235
|
+
] }) }) });
|
|
3236
|
+
}
|
|
3237
|
+
return null;
|
|
3238
|
+
};
|
|
3239
|
+
return /* @__PURE__ */ jsxs("div", { className: b$8({ mobile: DL.IS_MOBILE }), children: [
|
|
3240
|
+
!clearView && /* @__PURE__ */ jsxs("div", { className: b$8("header", { closed: !isOpen }), children: [
|
|
3241
|
+
/* @__PURE__ */ jsx("div", { className: b$8("content"), children: /* @__PURE__ */ jsxs("div", { className: b$8("title"), onClick: () => setIsOpen(!isOpen), children: [
|
|
3242
|
+
isOpen ? /* @__PURE__ */ jsx(ChevronDown, {}) : /* @__PURE__ */ jsx(ChevronUp, {}),
|
|
3243
|
+
/* @__PURE__ */ jsx("div", { className: b$8("title-text"), children: title })
|
|
3244
|
+
] }) }),
|
|
3245
|
+
renderCreateButton()
|
|
3246
|
+
] }),
|
|
3247
|
+
/* @__PURE__ */ jsxs("div", { className: b$8("table"), children: [
|
|
3248
|
+
/* @__PURE__ */ jsxs("div", { className: b$8("table-header"), children: [
|
|
3249
|
+
/* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { title: true }) }),
|
|
3250
|
+
!DL.IS_MOBILE && /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { author: true }) }),
|
|
3251
|
+
/* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { date: true }) }),
|
|
3252
|
+
!DL.IS_MOBILE && /* @__PURE__ */ jsx("div", { className: b$8("table-header-cell", { controls: true }) })
|
|
3253
|
+
] }),
|
|
3254
|
+
!isLoading && getContentTab()
|
|
3255
|
+
] }),
|
|
3256
|
+
isLoading ? /* @__PURE__ */ jsx(SmartLoader, { size: "m", showAfter: 0 }) : getActionBtn()
|
|
3257
|
+
] });
|
|
3258
|
+
};
|
|
3259
|
+
const i18n$6 = I18n.keyset("new-workbooks");
|
|
3260
|
+
const b$7 = block("dl-workbook-entries-table");
|
|
3261
|
+
const WorkbookEntriesTableTabs = ({
|
|
3262
|
+
workbook,
|
|
3263
|
+
retryLoadEntries,
|
|
3264
|
+
loadMoreEntries,
|
|
3265
|
+
scope,
|
|
3266
|
+
mapTokens,
|
|
3267
|
+
mapErrors,
|
|
3268
|
+
mapLoaders,
|
|
3269
|
+
chunks,
|
|
3270
|
+
onRenameEntry,
|
|
3271
|
+
onDeleteEntry,
|
|
3272
|
+
onDuplicateEntry,
|
|
3273
|
+
onCopyEntry,
|
|
3274
|
+
onShowRelated,
|
|
3275
|
+
onCopyId
|
|
3276
|
+
}) => {
|
|
3277
|
+
const capabilities2 = useCapabilities();
|
|
3278
|
+
if (scope) {
|
|
3279
|
+
return null;
|
|
3280
|
+
}
|
|
3281
|
+
const [dashChunk = [], widgetChunk = [], datasetChunk = [], connChunk = []] = chunks ?? [];
|
|
3282
|
+
const isWidgetEmpty = widgetChunk.length === 0;
|
|
3283
|
+
const isDashEmpty = dashChunk.length === 0;
|
|
3284
|
+
const clearViewDash = DL.IS_MOBILE && isWidgetEmpty;
|
|
3285
|
+
const clearViewWidget = DL.IS_MOBILE && isDashEmpty;
|
|
3286
|
+
const showDataEntities = workbook.permissions.view && !DL.IS_MOBILE;
|
|
3287
|
+
if (DL.IS_MOBILE && isWidgetEmpty && isDashEmpty) {
|
|
3288
|
+
return /* @__PURE__ */ jsx(PlaceholderIllustration, { name: "template", title: i18n$6("label_empty-mobile-workbook") });
|
|
3289
|
+
}
|
|
3290
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
3291
|
+
/* @__PURE__ */ jsx(
|
|
3292
|
+
MainTabContent,
|
|
3293
|
+
{
|
|
3294
|
+
chunk: dashChunk,
|
|
3295
|
+
actionCreateText: i18n$6("action_create-dashboard"),
|
|
3296
|
+
title: i18n$6("title_dashboards"),
|
|
3297
|
+
actionType: CreateEntryActionType.Dashboard,
|
|
3298
|
+
isShowMoreBtn: Boolean(!isDashEmpty && mapTokens?.[EntryScope.Dash]),
|
|
3299
|
+
loadMoreEntries: () => loadMoreEntries?.(EntryScope.Dash),
|
|
3300
|
+
retryLoadEntries: () => retryLoadEntries?.(EntryScope.Dash),
|
|
3301
|
+
isErrorMessage: mapErrors?.[EntryScope.Dash],
|
|
3302
|
+
isLoading: mapLoaders?.[EntryScope.Dash],
|
|
3303
|
+
workbook,
|
|
3304
|
+
onRenameEntry,
|
|
3305
|
+
onDeleteEntry,
|
|
3306
|
+
onDuplicateEntry,
|
|
3307
|
+
onCopyEntry,
|
|
3308
|
+
clearView: clearViewDash,
|
|
3309
|
+
onShowRelatedClick: onShowRelated,
|
|
3310
|
+
onCopyId
|
|
3311
|
+
}
|
|
3312
|
+
),
|
|
3313
|
+
/* @__PURE__ */ jsx(
|
|
3314
|
+
MainTabContent,
|
|
3315
|
+
{
|
|
3316
|
+
chunk: widgetChunk,
|
|
3317
|
+
actionCreateText: i18n$6("action_create-chart"),
|
|
3318
|
+
title: i18n$6("title_charts"),
|
|
3319
|
+
actionType: CreateEntryActionType.Wizard,
|
|
3320
|
+
isShowMoreBtn: Boolean(!isWidgetEmpty && mapTokens?.[EntryScope.Widget]),
|
|
3321
|
+
loadMoreEntries: () => loadMoreEntries?.(EntryScope.Widget),
|
|
3322
|
+
retryLoadEntries: () => retryLoadEntries?.(EntryScope.Widget),
|
|
3323
|
+
isErrorMessage: mapErrors?.[EntryScope.Widget],
|
|
3324
|
+
isLoading: mapLoaders?.[EntryScope.Widget],
|
|
3325
|
+
workbook,
|
|
3326
|
+
onRenameEntry,
|
|
3327
|
+
onDeleteEntry,
|
|
3328
|
+
onDuplicateEntry,
|
|
3329
|
+
onCopyEntry,
|
|
3330
|
+
createEntryBtn: /* @__PURE__ */ jsx(CreateEntry, { className: b$7("controls"), scope: EntryScope.Widget }),
|
|
3331
|
+
clearView: clearViewWidget,
|
|
3332
|
+
onShowRelatedClick: onShowRelated,
|
|
3333
|
+
onCopyId
|
|
3334
|
+
}
|
|
3335
|
+
),
|
|
3336
|
+
showDataEntities && /* @__PURE__ */ jsx(
|
|
3337
|
+
MainTabContent,
|
|
3338
|
+
{
|
|
3339
|
+
chunk: datasetChunk,
|
|
3340
|
+
actionCreateText: i18n$6("action_create-dataset"),
|
|
3341
|
+
title: i18n$6("title_datasets"),
|
|
3342
|
+
actionType: CreateEntryActionType.Dataset,
|
|
3343
|
+
isShowMoreBtn: Boolean(
|
|
3344
|
+
datasetChunk?.length > 0 && mapTokens?.[EntryScope.Dataset]
|
|
3345
|
+
),
|
|
3346
|
+
loadMoreEntries: () => loadMoreEntries?.(EntryScope.Dataset),
|
|
3347
|
+
retryLoadEntries: () => retryLoadEntries?.(EntryScope.Dataset),
|
|
3348
|
+
isErrorMessage: mapErrors?.[EntryScope.Dataset],
|
|
3349
|
+
isLoading: mapLoaders?.[EntryScope.Dataset],
|
|
3350
|
+
workbook,
|
|
3351
|
+
onRenameEntry,
|
|
3352
|
+
onDeleteEntry,
|
|
3353
|
+
onDuplicateEntry,
|
|
3354
|
+
onCopyEntry,
|
|
3355
|
+
onShowRelatedClick: onShowRelated,
|
|
3356
|
+
onCopyId
|
|
3357
|
+
}
|
|
3358
|
+
),
|
|
3359
|
+
showDataEntities && capabilities2[Capability.ManageableConnections] && /* @__PURE__ */ jsx(
|
|
3360
|
+
MainTabContent,
|
|
3361
|
+
{
|
|
3362
|
+
chunk: connChunk,
|
|
3363
|
+
actionCreateText: i18n$6("action_create-connection"),
|
|
3364
|
+
title: i18n$6("title_connections"),
|
|
3365
|
+
actionType: CreateEntryActionType.Connection,
|
|
3366
|
+
isShowMoreBtn: Boolean(
|
|
3367
|
+
connChunk?.length > 0 && mapTokens?.[EntryScope.Connection]
|
|
3368
|
+
),
|
|
3369
|
+
loadMoreEntries: () => loadMoreEntries?.(EntryScope.Connection),
|
|
3370
|
+
retryLoadEntries: () => retryLoadEntries?.(EntryScope.Connection),
|
|
3371
|
+
isErrorMessage: mapErrors?.[EntryScope.Connection],
|
|
3372
|
+
isLoading: mapLoaders?.[EntryScope.Connection],
|
|
3373
|
+
workbook,
|
|
3374
|
+
onRenameEntry,
|
|
3375
|
+
onDeleteEntry,
|
|
3376
|
+
onDuplicateEntry,
|
|
3377
|
+
onCopyEntry,
|
|
3378
|
+
onShowRelatedClick: onShowRelated,
|
|
3379
|
+
onCopyId
|
|
3380
|
+
}
|
|
3381
|
+
)
|
|
3382
|
+
] });
|
|
3383
|
+
};
|
|
3384
|
+
const getAllEntryScopes = () => {
|
|
3385
|
+
return Object.values(EntryScope);
|
|
3386
|
+
};
|
|
3387
|
+
const bEditPanelItem = block("edit-panel-item");
|
|
3388
|
+
const DASHKIT_BASIC_ACTION_PANEL_ITEM = {
|
|
3389
|
+
[DashTabItemType.GroupControl]: {
|
|
3390
|
+
id: "group-selector",
|
|
3391
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: Sliders }),
|
|
3392
|
+
get title() {
|
|
3393
|
+
return i18n$c("dash.main.view", "button_edit-panel-selector");
|
|
3394
|
+
},
|
|
3395
|
+
className: bEditPanelItem(),
|
|
3396
|
+
qa: DashboardAddWidgetQa.AddGroupControl,
|
|
3397
|
+
dragProps: {
|
|
3398
|
+
type: DashTabItemType.GroupControl
|
|
3399
|
+
}
|
|
3400
|
+
},
|
|
3401
|
+
[DashTabItemType.Image]: {
|
|
3402
|
+
id: DashTabItemType.Image,
|
|
3403
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: Picture }),
|
|
3404
|
+
get title() {
|
|
3405
|
+
return i18n$c("dash.main.view", "button_edit-panel-image");
|
|
3406
|
+
},
|
|
3407
|
+
className: bEditPanelItem(),
|
|
3408
|
+
qa: DashboardAddWidgetQa.AddImage,
|
|
3409
|
+
dragProps: {
|
|
3410
|
+
type: DashTabItemType.Image
|
|
3411
|
+
}
|
|
3412
|
+
},
|
|
3413
|
+
[DashTabItemType.Text]: {
|
|
3414
|
+
id: "text",
|
|
3415
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: TextAlignLeft }),
|
|
3416
|
+
get title() {
|
|
3417
|
+
return i18n$c("dash.main.view", "button_edit-panel-text");
|
|
3418
|
+
},
|
|
3419
|
+
className: bEditPanelItem(),
|
|
3420
|
+
qa: DashboardAddWidgetQa.AddText,
|
|
3421
|
+
dragProps: {
|
|
3422
|
+
type: DashTabItemType.Text
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
[DashTabItemType.Title]: {
|
|
3426
|
+
id: "header",
|
|
3427
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: Heading }),
|
|
3428
|
+
get title() {
|
|
3429
|
+
return i18n$c("dash.main.view", "button_edit-panel-title");
|
|
3430
|
+
},
|
|
3431
|
+
className: bEditPanelItem(),
|
|
3432
|
+
qa: DashboardAddWidgetQa.AddTitle,
|
|
3433
|
+
dragProps: {
|
|
3434
|
+
type: DashTabItemType.Title
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
[DashTabItemType.Widget]: {
|
|
3438
|
+
id: "chart",
|
|
3439
|
+
icon: /* @__PURE__ */ jsx(Icon, { data: ChartColumn }),
|
|
3440
|
+
get title() {
|
|
3441
|
+
return i18n$c("dash.main.view", "button_edit-panel-chart");
|
|
3442
|
+
},
|
|
3443
|
+
className: bEditPanelItem(),
|
|
3444
|
+
qa: DashboardAddWidgetQa.AddWidget,
|
|
3445
|
+
dragProps: {
|
|
3446
|
+
type: DashTabItemType.Widget
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
};
|
|
3450
|
+
const getBasicActionPanelItems = () => {
|
|
3451
|
+
return [
|
|
3452
|
+
DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Widget],
|
|
3453
|
+
DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.GroupControl],
|
|
3454
|
+
DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Text],
|
|
3455
|
+
DASHKIT_BASIC_ACTION_PANEL_ITEM[DashTabItemType.Title]
|
|
3456
|
+
];
|
|
3457
|
+
};
|
|
3458
|
+
function getCurrentUserRights() {
|
|
3459
|
+
if (!DL.AUTH_ENABLED) {
|
|
3460
|
+
return {
|
|
3461
|
+
admin: true
|
|
3462
|
+
};
|
|
3463
|
+
}
|
|
3464
|
+
return {
|
|
3465
|
+
admin: Boolean(DL.IS_NATIVE_AUTH_ADMIN)
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
const i18n$5 = I18n.keyset("component.revisions-panel.view");
|
|
3469
|
+
const ENTRY_SCOPE_TEXTS = {
|
|
3470
|
+
connection: {
|
|
3471
|
+
scopeText: i18n$5("label_connection"),
|
|
3472
|
+
panelText: i18n$5("label_of-connection")
|
|
3473
|
+
},
|
|
3474
|
+
dataset: {
|
|
3475
|
+
scopeText: i18n$5("label_dataset"),
|
|
3476
|
+
panelText: i18n$5("label_of-dataset")
|
|
3477
|
+
},
|
|
3478
|
+
dash: {
|
|
3479
|
+
scopeText: i18n$5("label_dash"),
|
|
3480
|
+
panelText: i18n$5("label_of-dash")
|
|
3481
|
+
},
|
|
3482
|
+
widget: {
|
|
3483
|
+
scopeText: i18n$5("label_chart"),
|
|
3484
|
+
panelText: i18n$5("label_of-chart")
|
|
3485
|
+
},
|
|
3486
|
+
editor: {
|
|
3487
|
+
scopeText: i18n$5("label_editor"),
|
|
3488
|
+
panelText: i18n$5("label_of-editor")
|
|
3489
|
+
}
|
|
3490
|
+
};
|
|
3491
|
+
const getRevisionsPanelEntryScopesTexts = () => ENTRY_SCOPE_TEXTS;
|
|
3492
|
+
const getScopeTypeIcon = (scope) => {
|
|
3493
|
+
switch (scope) {
|
|
3494
|
+
case EntryScope.Folder:
|
|
3495
|
+
return "folder";
|
|
3496
|
+
case EntryScope.Widget:
|
|
3497
|
+
case "chart":
|
|
3498
|
+
return "chart-wizard";
|
|
3499
|
+
case EntryScope.Dataset:
|
|
3500
|
+
return "dataset";
|
|
3501
|
+
case EntryScope.Dash:
|
|
3502
|
+
case "dashboard":
|
|
3503
|
+
return "dashboard";
|
|
3504
|
+
case "monitoring":
|
|
3505
|
+
return "editor";
|
|
3506
|
+
case "broken":
|
|
3507
|
+
return "broken";
|
|
3508
|
+
default:
|
|
3509
|
+
return null;
|
|
3510
|
+
}
|
|
3511
|
+
};
|
|
3512
|
+
const getTopLevelEntryScopes = () => {
|
|
3513
|
+
return [EntryScope.Dash];
|
|
3514
|
+
};
|
|
3515
|
+
const migrateItemDataOnPaste = ({
|
|
3516
|
+
itemData
|
|
3517
|
+
}) => {
|
|
3518
|
+
const migratedItemData = {
|
|
3519
|
+
...itemData,
|
|
3520
|
+
data: update(itemData.data, { $unset: ["id"] })
|
|
3521
|
+
};
|
|
3522
|
+
if (itemData.type === ITEM_TYPE.WIDGET) {
|
|
3523
|
+
migratedItemData.data.tabs = itemData.data.tabs && itemData.data.tabs.map((tab) => {
|
|
3524
|
+
return update(tab, {
|
|
3525
|
+
$unset: ["id"]
|
|
3526
|
+
});
|
|
3527
|
+
});
|
|
3528
|
+
}
|
|
3529
|
+
if (itemData.type === ITEM_TYPE.GROUP_CONTROL) {
|
|
3530
|
+
migratedItemData.data.group = itemData.data.group?.map((item) => {
|
|
3531
|
+
return update(item, { $unset: ["id"] });
|
|
3532
|
+
});
|
|
3533
|
+
}
|
|
3534
|
+
return migratedItemData;
|
|
3535
|
+
};
|
|
3536
|
+
const registerCommonPlugins = () => {
|
|
3537
|
+
registry.common.components.registerMany({
|
|
3538
|
+
MobileHeaderComponent,
|
|
3539
|
+
PlaceholderIllustrationImage: Illustration,
|
|
3540
|
+
UserAvatarById,
|
|
3541
|
+
EntryBreadcrumbs,
|
|
3542
|
+
YfmWrapperContent,
|
|
3543
|
+
DatepickerControl,
|
|
3544
|
+
MarkdownControl,
|
|
3545
|
+
WorkbookEntriesTableTabs,
|
|
3546
|
+
DialogEntryDescription
|
|
3547
|
+
});
|
|
3548
|
+
registry.common.functions.register({
|
|
3549
|
+
[EXAMPLE_FUNCTION]: exampleFunction,
|
|
3550
|
+
getEntryMenuConfig,
|
|
3551
|
+
getMenuGroupConfig,
|
|
3552
|
+
getIconDataById,
|
|
3553
|
+
getIllustrationStore,
|
|
3554
|
+
getIsCompact,
|
|
3555
|
+
updateIsCompact,
|
|
3556
|
+
getPlaceSelectParameters,
|
|
3557
|
+
getLoginById,
|
|
3558
|
+
getEntryName,
|
|
3559
|
+
getInitDestination,
|
|
3560
|
+
getNavigationQuickItems: getQuickItems,
|
|
3561
|
+
getNavigationCreatableEntriesConfig: getCreatableEntriesConfig,
|
|
3562
|
+
getNavigationPlacesConfig: getPlacesConfig,
|
|
3563
|
+
setEntryKey,
|
|
3564
|
+
getUpdatedUserSettings,
|
|
3565
|
+
getUIEntryRoute,
|
|
3566
|
+
getFormatNumber: formatNumber,
|
|
3567
|
+
getAdditionalEntryDialoguesMap,
|
|
3568
|
+
getAdditionalEntryContextMenuItems,
|
|
3569
|
+
isEntryId,
|
|
3570
|
+
extractEntryId,
|
|
3571
|
+
getAdditionalMarkdownPlugins: async () => [],
|
|
3572
|
+
fetchRenderedMarkdown,
|
|
3573
|
+
fetchBatchRenderedMarkdown,
|
|
3574
|
+
fetchDistinctsByApi,
|
|
3575
|
+
requestCollectDashStats,
|
|
3576
|
+
requestCollectChartkitStats,
|
|
3577
|
+
migrateItemDataOnPaste,
|
|
3578
|
+
checkCreateEntryButtonVisibility: () => true,
|
|
3579
|
+
getBasicActionPanelItems,
|
|
3580
|
+
getListMembersFilter: () => null,
|
|
3581
|
+
getAllEntryScopes,
|
|
3582
|
+
getTopLevelEntryScopes,
|
|
3583
|
+
getScopeTypeIcon,
|
|
3584
|
+
getEntryScopesWithRevisionsList,
|
|
3585
|
+
getRevisionsPanelEntryScopesTexts,
|
|
3586
|
+
getRestrictedParamNames,
|
|
3587
|
+
getAdditionalChartkitErrorContent,
|
|
3588
|
+
getCurrentUserRights,
|
|
3589
|
+
getNotAuthenticatedErrorContentTypes: () => [],
|
|
3590
|
+
getHeaderWithoutHelpCenterErrorContentTypes: () => [],
|
|
3591
|
+
getHeaderWithoutNavigationErrorContentTypes: () => [],
|
|
3592
|
+
getImageNameFromErrorContentType: () => null
|
|
3593
|
+
});
|
|
3594
|
+
if (DL.AUTH_ENABLED) {
|
|
3595
|
+
registry.common.functions.register({ resolveUsersByIds });
|
|
3596
|
+
}
|
|
3597
|
+
};
|
|
3598
|
+
const i18n$4 = I18n.keyset("connections.form");
|
|
3599
|
+
const CACHE_TTL_MIN = 0;
|
|
3600
|
+
const CACHE_TTL_MAX = 24 * 60 * 60;
|
|
3601
|
+
const CACHE_TTL_MODE = {
|
|
3602
|
+
DEFAULT: "default",
|
|
3603
|
+
CUSTOMIZABLE: "customizable"
|
|
3604
|
+
};
|
|
3605
|
+
const getInitialCacheTtlMode = (value) => {
|
|
3606
|
+
return value ? CACHE_TTL_MODE.CUSTOMIZABLE : CACHE_TTL_MODE.DEFAULT;
|
|
3607
|
+
};
|
|
3608
|
+
const getPreparedCacheValue = (value) => {
|
|
3609
|
+
if (value === "") {
|
|
3610
|
+
return null;
|
|
3611
|
+
}
|
|
3612
|
+
let result = Number(value);
|
|
3613
|
+
if (result < CACHE_TTL_MIN) {
|
|
3614
|
+
result = CACHE_TTL_MIN;
|
|
3615
|
+
} else if (result > CACHE_TTL_MAX) {
|
|
3616
|
+
result = CACHE_TTL_MAX;
|
|
3617
|
+
}
|
|
3618
|
+
return String(result);
|
|
3619
|
+
};
|
|
3620
|
+
const CacheTtlRowComponent = (props) => {
|
|
3621
|
+
const { actions, form, innerForm, labelText, disabled, name } = props;
|
|
3622
|
+
const value = form[name];
|
|
3623
|
+
const cacheTtlMode = innerForm[InnerFieldKey.CacheTtlMode];
|
|
3624
|
+
const radioButtonBeforeUpdateHandler = (nextCacheTtlMode) => {
|
|
3625
|
+
const nextCacheTtlSec = nextCacheTtlMode === CACHE_TTL_MODE.DEFAULT ? null : "0";
|
|
3626
|
+
actions.changeForm({ [name]: nextCacheTtlSec });
|
|
3627
|
+
};
|
|
3628
|
+
React__default.useEffect(() => {
|
|
3629
|
+
const initialCacheTtlMode = getInitialCacheTtlMode(value);
|
|
3630
|
+
actions.changeInnerForm({ [InnerFieldKey.CacheTtlMode]: initialCacheTtlMode });
|
|
3631
|
+
}, []);
|
|
3632
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
3633
|
+
/* @__PURE__ */ jsx(Label$1, { text: labelText || i18n$4("field_cache-ttl-sec") }),
|
|
3634
|
+
/* @__PURE__ */ jsx(
|
|
3635
|
+
RadioButton,
|
|
3636
|
+
{
|
|
3637
|
+
name: InnerFieldKey.CacheTtlMode,
|
|
3638
|
+
options: [
|
|
3639
|
+
{ text: i18n$4("value_default"), value: CACHE_TTL_MODE.DEFAULT },
|
|
3640
|
+
{
|
|
3641
|
+
text: i18n$4("value_customizable-cache-ttl"),
|
|
3642
|
+
value: CACHE_TTL_MODE.CUSTOMIZABLE
|
|
3643
|
+
}
|
|
3644
|
+
],
|
|
3645
|
+
inner: true,
|
|
3646
|
+
controlProps: { disabled },
|
|
3647
|
+
beforeUpdate: radioButtonBeforeUpdateHandler
|
|
3648
|
+
}
|
|
3649
|
+
),
|
|
3650
|
+
cacheTtlMode === CACHE_TTL_MODE.CUSTOMIZABLE && /* @__PURE__ */ jsx(
|
|
3651
|
+
Input,
|
|
3652
|
+
{
|
|
3653
|
+
name,
|
|
3654
|
+
width: "s",
|
|
3655
|
+
controlProps: {
|
|
3656
|
+
disabled,
|
|
3657
|
+
type: "number",
|
|
3658
|
+
controlProps: { min: CACHE_TTL_MIN, max: CACHE_TTL_MAX }
|
|
3659
|
+
},
|
|
3660
|
+
prepareValue: getPreparedCacheValue
|
|
3661
|
+
}
|
|
3662
|
+
)
|
|
3663
|
+
] });
|
|
3664
|
+
};
|
|
3665
|
+
const mapStateToProps$1 = (state) => {
|
|
3666
|
+
return {
|
|
3667
|
+
form: state.connections.form,
|
|
3668
|
+
innerForm: state.connections.innerForm
|
|
3669
|
+
};
|
|
3670
|
+
};
|
|
3671
|
+
const mapDispatchToProps$2 = (dispatch) => {
|
|
3672
|
+
return {
|
|
3673
|
+
actions: bindActionCreators(
|
|
3674
|
+
{
|
|
3675
|
+
changeForm,
|
|
3676
|
+
changeInnerForm
|
|
3677
|
+
},
|
|
3678
|
+
dispatch
|
|
3679
|
+
)
|
|
3680
|
+
};
|
|
3681
|
+
};
|
|
3682
|
+
const CacheTtlRow = connect(mapStateToProps$1, mapDispatchToProps$2)(CacheTtlRowComponent);
|
|
3683
|
+
const b$6 = block("conn-form-collapse");
|
|
3684
|
+
const COLLAPSE_MODE = {
|
|
3685
|
+
OPENED: "opened",
|
|
3686
|
+
CLOSED: "closed"
|
|
3687
|
+
};
|
|
3688
|
+
const CollapseRowComponent = (props) => {
|
|
3689
|
+
const { actions, innerForm, name, text } = props;
|
|
3690
|
+
const componentProps = get(props, "componentProps", {});
|
|
3691
|
+
const defaultIsExpand = get(componentProps, "defaultIsExpand", false);
|
|
3692
|
+
const clickHandler = React__default.useCallback(() => {
|
|
3693
|
+
const currentMode = innerForm[name] || COLLAPSE_MODE.CLOSED;
|
|
3694
|
+
const nextMode = currentMode === COLLAPSE_MODE.CLOSED ? COLLAPSE_MODE.OPENED : COLLAPSE_MODE.CLOSED;
|
|
3695
|
+
actions.changeInnerForm({ [name]: nextMode });
|
|
3696
|
+
}, [actions, innerForm, name]);
|
|
3697
|
+
React__default.useEffect(() => {
|
|
3698
|
+
const initialMode = defaultIsExpand ? COLLAPSE_MODE.OPENED : COLLAPSE_MODE.CLOSED;
|
|
3699
|
+
actions.changeInnerForm({ [name]: initialMode });
|
|
3700
|
+
}, []);
|
|
3701
|
+
return /* @__PURE__ */ jsx("div", { className: b$6(), onClick: clickHandler, children: /* @__PURE__ */ jsx(Collapse, { ...componentProps, className: b$6("component"), title: text, children: /* @__PURE__ */ jsx("div", {}) }) });
|
|
3702
|
+
};
|
|
3703
|
+
const mapStateToProps = (state) => {
|
|
3704
|
+
return {
|
|
3705
|
+
innerForm: state.connections.innerForm
|
|
3706
|
+
};
|
|
3707
|
+
};
|
|
3708
|
+
const mapDispatchToProps$1 = (dispatch) => {
|
|
3709
|
+
return {
|
|
3710
|
+
actions: bindActionCreators(
|
|
3711
|
+
{
|
|
3712
|
+
changeInnerForm
|
|
3713
|
+
},
|
|
3714
|
+
dispatch
|
|
3715
|
+
)
|
|
3716
|
+
};
|
|
3717
|
+
};
|
|
3718
|
+
const CollapseRow = connect(mapStateToProps, mapDispatchToProps$1)(CollapseRowComponent);
|
|
3719
|
+
const b$5 = block("conn-form-raw-sql-level");
|
|
3720
|
+
function RawSQLLevelRow(props) {
|
|
3721
|
+
const { name, label, switchOffValue, radioGroup, disabled } = props;
|
|
3722
|
+
const dispatch = useDispatch();
|
|
3723
|
+
const form = useSelector(formSelector);
|
|
3724
|
+
const value = form[name] || "";
|
|
3725
|
+
const switchChecked = Boolean(value && value !== switchOffValue);
|
|
3726
|
+
const handleSwitchUpdate = (checked) => {
|
|
3727
|
+
const nextValue = checked && radioGroup?.options[0]?.value ? radioGroup.options[0].value : switchOffValue;
|
|
3728
|
+
dispatch(changeForm({ [name]: nextValue }));
|
|
3729
|
+
};
|
|
3730
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
3731
|
+
/* @__PURE__ */ jsx(Label$1, { ...label }),
|
|
3732
|
+
/* @__PURE__ */ jsxs("div", { className: b$5("control"), children: [
|
|
3733
|
+
/* @__PURE__ */ jsx(Switch$1, { checked: switchChecked, onUpdate: handleSwitchUpdate, disabled }),
|
|
3734
|
+
switchChecked && /* @__PURE__ */ jsx(
|
|
3735
|
+
RadioGroup,
|
|
3736
|
+
{
|
|
3737
|
+
name,
|
|
3738
|
+
options: radioGroup?.options,
|
|
3739
|
+
controlProps: {
|
|
3740
|
+
...radioGroup?.controlProps,
|
|
3741
|
+
disabled: disabled || radioGroup?.controlProps?.disabled
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
)
|
|
3745
|
+
] })
|
|
3746
|
+
] });
|
|
3747
|
+
}
|
|
3748
|
+
const PreparedRowItem = (props) => {
|
|
3749
|
+
switch (props.type) {
|
|
3750
|
+
case "cache_ttl_sec": {
|
|
3751
|
+
const { type: _type, ...rowProps } = props;
|
|
3752
|
+
return /* @__PURE__ */ jsx(CacheTtlRow, { ...rowProps });
|
|
3753
|
+
}
|
|
3754
|
+
case "collapse": {
|
|
3755
|
+
const { type: _type, ...rowProps } = props;
|
|
3756
|
+
return /* @__PURE__ */ jsx(CollapseRow, { ...rowProps });
|
|
3757
|
+
}
|
|
3758
|
+
case "raw_sql_level": {
|
|
3759
|
+
const { type: _type, ...rowProps } = props;
|
|
3760
|
+
return /* @__PURE__ */ jsx(RawSQLLevelRow, { ...rowProps });
|
|
3761
|
+
}
|
|
3762
|
+
default: {
|
|
3763
|
+
logger$1.logError(`FormItem (conn): unknown row type "${props.type}"`);
|
|
3764
|
+
return null;
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
};
|
|
3768
|
+
const listItemRender = ({ data, components }) => {
|
|
3769
|
+
const { ListItemWrapper, ListItemLink, ListItemTitle, ListItemIcon } = components;
|
|
3770
|
+
const { to, iconData, title } = data;
|
|
3771
|
+
return /* @__PURE__ */ jsx(ListItemWrapper, { children: /* @__PURE__ */ jsxs(ListItemLink, { to, children: [
|
|
3772
|
+
/* @__PURE__ */ jsx(ListItemIcon, { iconData }),
|
|
3773
|
+
/* @__PURE__ */ jsx(ListItemTitle, { title })
|
|
3774
|
+
] }) });
|
|
3775
|
+
};
|
|
3776
|
+
const registerConnectionsPlugins = () => {
|
|
3777
|
+
registry.connections.components.registerMany({
|
|
3778
|
+
CreateEditorChartButton: () => null,
|
|
3779
|
+
PreparedRowItem
|
|
3780
|
+
});
|
|
3781
|
+
registry.connections.functions.register({
|
|
3782
|
+
getFakeEntry,
|
|
3783
|
+
getNewConnectionDestination,
|
|
3784
|
+
beforeConnectorFormUnmount: noop,
|
|
3785
|
+
getConnectionItemRender: listItemRender,
|
|
3786
|
+
getIsShowCreateConnectionButton
|
|
3787
|
+
});
|
|
3788
|
+
};
|
|
3789
|
+
const getMinAutoupdateInterval = () => {
|
|
3790
|
+
return 30;
|
|
3791
|
+
};
|
|
3792
|
+
const LazyBody = React__default.lazy(() => import("./Body.js"));
|
|
3793
|
+
const registerDashPlugins = () => {
|
|
3794
|
+
registry.dash.components.registerMany({
|
|
3795
|
+
DashBody: LazyBody,
|
|
3796
|
+
DialogTextWidget
|
|
3797
|
+
});
|
|
3798
|
+
registry.dash.functions.register({
|
|
3799
|
+
[EXAMPLE_FUNCTION]: exampleFunction,
|
|
3800
|
+
getCaptionText,
|
|
3801
|
+
getNewDashUrl: getNewDashUrl$1,
|
|
3802
|
+
getDashEntryUrl,
|
|
3803
|
+
getMinAutoupdateInterval,
|
|
3804
|
+
getExtendedItemData
|
|
3805
|
+
});
|
|
3806
|
+
};
|
|
3807
|
+
const b$4 = block("rls-dialog");
|
|
3808
|
+
const i18n$3 = I18n.keyset("dataset.rls.modify");
|
|
3809
|
+
const _RLSDialog = class _RLSDialog extends React__default.Component {
|
|
3810
|
+
constructor() {
|
|
3811
|
+
super(...arguments);
|
|
3812
|
+
this.state = {
|
|
3813
|
+
visible: false,
|
|
3814
|
+
rlsField: ""
|
|
3815
|
+
};
|
|
3816
|
+
this.saveRls = () => {
|
|
3817
|
+
const { field, onSave, onClose } = this.props;
|
|
3818
|
+
const { rlsField } = this.state;
|
|
3819
|
+
if (field) {
|
|
3820
|
+
const { guid } = field;
|
|
3821
|
+
onSave({
|
|
3822
|
+
[guid]: rlsField
|
|
3823
|
+
});
|
|
3824
|
+
onClose();
|
|
3825
|
+
}
|
|
3826
|
+
};
|
|
3827
|
+
this.changeRlsSettings = (rlsField) => {
|
|
3828
|
+
this.setState({ rlsField });
|
|
3829
|
+
};
|
|
3830
|
+
}
|
|
3831
|
+
static getDerivedStateFromProps(nextProps, nextState) {
|
|
3832
|
+
const { rlsField, visible } = nextProps;
|
|
3833
|
+
const { visible: visibleState } = nextState;
|
|
3834
|
+
if (visible === visibleState) {
|
|
3835
|
+
return null;
|
|
3836
|
+
}
|
|
3837
|
+
return {
|
|
3838
|
+
rlsField,
|
|
3839
|
+
visible
|
|
3840
|
+
};
|
|
3841
|
+
}
|
|
3842
|
+
render() {
|
|
3843
|
+
const { visible, onClose, field } = this.props;
|
|
3844
|
+
const { rlsField } = this.state;
|
|
3845
|
+
if (!field) {
|
|
3846
|
+
return null;
|
|
3847
|
+
}
|
|
3848
|
+
const { title } = field;
|
|
3849
|
+
return /* @__PURE__ */ jsxs(Dialog, { open: visible, onClose, children: [
|
|
3850
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption: i18n$3("label_row-level-security") }),
|
|
3851
|
+
/* @__PURE__ */ jsxs(Dialog.Body, { className: b$4(), children: [
|
|
3852
|
+
/* @__PURE__ */ jsx("div", { className: b$4("field-name"), children: /* @__PURE__ */ jsx("span", { children: title }) }),
|
|
3853
|
+
/* @__PURE__ */ jsx(
|
|
3854
|
+
TextArea,
|
|
3855
|
+
{
|
|
3856
|
+
rows: 5,
|
|
3857
|
+
placeholder: i18n$3("field_placeholder-row-level-security"),
|
|
3858
|
+
value: rlsField,
|
|
3859
|
+
autoFocus: true,
|
|
3860
|
+
onUpdate: this.changeRlsSettings
|
|
3861
|
+
}
|
|
3862
|
+
)
|
|
3863
|
+
] }),
|
|
3864
|
+
/* @__PURE__ */ jsx(
|
|
3865
|
+
Dialog.Footer,
|
|
3866
|
+
{
|
|
3867
|
+
preset: "default",
|
|
3868
|
+
onClickButtonCancel: onClose,
|
|
3869
|
+
onClickButtonApply: this.saveRls,
|
|
3870
|
+
textButtonCancel: i18n$3("button_cancel"),
|
|
3871
|
+
textButtonApply: i18n$3("button_save"),
|
|
3872
|
+
propsButtonApply: {
|
|
3873
|
+
disabled: this.isSaveBtnDisabled
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3876
|
+
)
|
|
3877
|
+
] });
|
|
3878
|
+
}
|
|
3879
|
+
get isSaveBtnDisabled() {
|
|
3880
|
+
const { rlsField } = this.props;
|
|
3881
|
+
const { rlsField: rlsFieldState } = this.state;
|
|
3882
|
+
return rlsField === rlsFieldState;
|
|
3883
|
+
}
|
|
3884
|
+
};
|
|
3885
|
+
_RLSDialog.defaultProps = {
|
|
3886
|
+
visible: false
|
|
3887
|
+
};
|
|
3888
|
+
let RLSDialog = _RLSDialog;
|
|
3889
|
+
const renderRLSDialog = (props) => {
|
|
3890
|
+
return /* @__PURE__ */ jsx(RLSDialog, { ...props });
|
|
3891
|
+
};
|
|
3892
|
+
const registerDatasetPlugins = () => {
|
|
3893
|
+
registry.datasets.functions.register({
|
|
3894
|
+
renderRLSDialog
|
|
3895
|
+
});
|
|
3896
|
+
};
|
|
3897
|
+
const registerDocsPlugins = () => {
|
|
3898
|
+
registry.docs.functions.register({ getFieldEditorDocPath });
|
|
3899
|
+
};
|
|
3900
|
+
const registerMainPlugins = () => {
|
|
3901
|
+
registry.main.components.registerMany({});
|
|
3902
|
+
};
|
|
3903
|
+
const b$3 = block("ql-view-setup");
|
|
3904
|
+
class ViewSetupComponent extends React__default.PureComponent {
|
|
3905
|
+
constructor(props) {
|
|
3906
|
+
super(props);
|
|
3907
|
+
this.defaultMonitoringQLConnection = null;
|
|
3908
|
+
this.onChartTypeUpdate = (newChartType) => {
|
|
3909
|
+
this.setState({
|
|
3910
|
+
chartType: newChartType
|
|
3911
|
+
});
|
|
3912
|
+
if (newChartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring)) {
|
|
3913
|
+
if (this.defaultMonitoringQLConnection === null) {
|
|
3914
|
+
const getDefaultMonitoringQLConnectionId = registry.ql.functions.get(
|
|
3915
|
+
"getDefaultMonitoringQLConnectionId"
|
|
3916
|
+
);
|
|
3917
|
+
const defaultMonitoringQLConnectionId = getDefaultMonitoringQLConnectionId(DL.ENV);
|
|
3918
|
+
this.fetchConnection(defaultMonitoringQLConnectionId).then(
|
|
3919
|
+
(connection) => {
|
|
3920
|
+
if (connection) {
|
|
3921
|
+
this.defaultMonitoringQLConnection = connection;
|
|
3922
|
+
this.setState({
|
|
3923
|
+
connection,
|
|
3924
|
+
showConnectionError: false
|
|
3925
|
+
});
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
);
|
|
3929
|
+
} else {
|
|
3930
|
+
this.setState({
|
|
3931
|
+
connection: this.defaultMonitoringQLConnection,
|
|
3932
|
+
showConnectionError: false
|
|
3933
|
+
});
|
|
3934
|
+
}
|
|
3935
|
+
} else {
|
|
3936
|
+
this.setState({
|
|
3937
|
+
connection: null,
|
|
3938
|
+
showConnectionError: false
|
|
3939
|
+
});
|
|
3940
|
+
}
|
|
3941
|
+
};
|
|
3942
|
+
this.onCreateClick = () => {
|
|
3943
|
+
const { connection, chartType } = this.state;
|
|
3944
|
+
if (!connection || !chartType) {
|
|
3945
|
+
this.setState({
|
|
3946
|
+
showConnectionError: true
|
|
3947
|
+
});
|
|
3948
|
+
} else {
|
|
3949
|
+
this.props.performManualConfiguration({ connection, chartType });
|
|
3950
|
+
}
|
|
3951
|
+
};
|
|
3952
|
+
this.toggleNavigation = (value) => {
|
|
3953
|
+
const isNavigationVisible = value || !this.state.isNavigationVisible;
|
|
3954
|
+
this.setState({
|
|
3955
|
+
isNavigationVisible
|
|
3956
|
+
});
|
|
3957
|
+
};
|
|
3958
|
+
this.onNavigationEntryClick = async (newConnection) => {
|
|
3959
|
+
const connection = {
|
|
3960
|
+
...newConnection,
|
|
3961
|
+
data: null,
|
|
3962
|
+
public: false,
|
|
3963
|
+
revId: "",
|
|
3964
|
+
tenantId: "",
|
|
3965
|
+
unversionedData: null
|
|
3966
|
+
};
|
|
3967
|
+
this.toggleNavigation(false);
|
|
3968
|
+
this.setState({
|
|
3969
|
+
connection
|
|
3970
|
+
});
|
|
3971
|
+
};
|
|
3972
|
+
this.onNavigationClose = () => {
|
|
3973
|
+
const { isNavigationVisible } = this.state;
|
|
3974
|
+
if (isNavigationVisible) {
|
|
3975
|
+
this.toggleNavigation(false);
|
|
3976
|
+
}
|
|
3977
|
+
};
|
|
3978
|
+
this.navigationButtonRef = React__default.createRef();
|
|
3979
|
+
let initialChartType = QLChartType.Sql;
|
|
3980
|
+
const urlChartType = location.href.match(/\/new\/([^?]+)(\?.+)?/);
|
|
3981
|
+
if (urlChartType) {
|
|
3982
|
+
initialChartType = decodeURIComponent(urlChartType[1]);
|
|
3983
|
+
}
|
|
3984
|
+
if (![QLChartType.Sql, QLChartType.Promql, QLChartType.Monitoringql].includes(
|
|
3985
|
+
initialChartType
|
|
3986
|
+
)) {
|
|
3987
|
+
initialChartType = QLChartType.Sql;
|
|
3988
|
+
}
|
|
3989
|
+
if (initialChartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring)) {
|
|
3990
|
+
const getDefaultMonitoringQLConnectionId = registry.ql.functions.get(
|
|
3991
|
+
"getDefaultMonitoringQLConnectionId"
|
|
3992
|
+
);
|
|
3993
|
+
const defaultMonitoringQLConnectionId = getDefaultMonitoringQLConnectionId(DL.ENV);
|
|
3994
|
+
this.fetchConnection(defaultMonitoringQLConnectionId).then(
|
|
3995
|
+
(connection) => {
|
|
3996
|
+
if (connection) {
|
|
3997
|
+
this.defaultMonitoringQLConnection = connection;
|
|
3998
|
+
this.setState({
|
|
3999
|
+
connection,
|
|
4000
|
+
showConnectionError: false
|
|
4001
|
+
});
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
);
|
|
4005
|
+
}
|
|
4006
|
+
this.state = {
|
|
4007
|
+
isNavigationVisible: false,
|
|
4008
|
+
title: "",
|
|
4009
|
+
chartType: initialChartType,
|
|
4010
|
+
connection: null,
|
|
4011
|
+
showConnectionError: false
|
|
4012
|
+
};
|
|
4013
|
+
}
|
|
4014
|
+
render() {
|
|
4015
|
+
const { defaultPath, entry } = this.props;
|
|
4016
|
+
const { chartType, connection, showConnectionError } = this.state;
|
|
4017
|
+
const workbookId = entry?.workbookId || null;
|
|
4018
|
+
const chartTypesList = [{ value: QLChartType.Sql, text: "SQL", key: "SQL" }];
|
|
4019
|
+
if (isEnabledFeature(Feature.QLPrometheus)) {
|
|
4020
|
+
chartTypesList.push({ value: QLChartType.Promql, text: "Prometheus", key: "Prometheus" });
|
|
4021
|
+
}
|
|
4022
|
+
if (isEnabledFeature(Feature.QLMonitoring)) {
|
|
4023
|
+
chartTypesList.push({
|
|
4024
|
+
value: QLChartType.Monitoringql,
|
|
4025
|
+
text: "Monitoring",
|
|
4026
|
+
key: "Monitoring"
|
|
4027
|
+
});
|
|
4028
|
+
}
|
|
4029
|
+
const { getPlaceSelectParameters: getPlaceSelectParameters2 } = registry.common.functions.getAll();
|
|
4030
|
+
const { getConnectionsByChartType: getConnectionsByChartType2 } = registry.ql.functions.getAll();
|
|
4031
|
+
return /* @__PURE__ */ jsx("div", { className: b$3(), children: /* @__PURE__ */ jsxs("div", { className: b$3("form"), children: [
|
|
4032
|
+
/* @__PURE__ */ jsx("span", { className: b$3("form-header"), children: i18n$c("sql", "label_create-ql-chart") }),
|
|
4033
|
+
/* @__PURE__ */ jsxs("div", { className: b$3("form-row"), children: [
|
|
4034
|
+
/* @__PURE__ */ jsx("span", { className: b$3("form-label"), children: i18n$c("sql", "label_chart-type") }),
|
|
4035
|
+
/* @__PURE__ */ jsx(
|
|
4036
|
+
SegmentedRadioGroup,
|
|
4037
|
+
{
|
|
4038
|
+
value: chartType,
|
|
4039
|
+
onUpdate: this.onChartTypeUpdate,
|
|
4040
|
+
className: b$3("chart-type-select"),
|
|
4041
|
+
children: chartTypesList.map((chartTypeConfig) => {
|
|
4042
|
+
return /* @__PURE__ */ jsx(
|
|
4043
|
+
SegmentedRadioGroup.Option,
|
|
4044
|
+
{
|
|
4045
|
+
value: chartTypeConfig.value,
|
|
4046
|
+
children: /* @__PURE__ */ jsx("span", { children: chartTypeConfig.text })
|
|
4047
|
+
},
|
|
4048
|
+
chartTypeConfig.key
|
|
4049
|
+
);
|
|
4050
|
+
})
|
|
4051
|
+
}
|
|
4052
|
+
)
|
|
4053
|
+
] }),
|
|
4054
|
+
/* @__PURE__ */ jsxs("div", { className: b$3("form-row"), ref: this.navigationButtonRef, children: [
|
|
4055
|
+
/* @__PURE__ */ jsx("span", { className: b$3("form-label"), children: i18n$c("sql", "label_connection") }),
|
|
4056
|
+
connection ? /* @__PURE__ */ jsx("div", { className: b$3("connection-select-btn-wrapper"), children: /* @__PURE__ */ jsx(
|
|
4057
|
+
Button,
|
|
4058
|
+
{
|
|
4059
|
+
className: b$3("connection-select-btn"),
|
|
4060
|
+
width: "auto",
|
|
4061
|
+
onClick: () => {
|
|
4062
|
+
this.toggleNavigation();
|
|
4063
|
+
},
|
|
4064
|
+
disabled: chartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring),
|
|
4065
|
+
children: /* @__PURE__ */ jsxs("div", { className: b$3("connection-select-btn-content"), children: [
|
|
4066
|
+
/* @__PURE__ */ jsx(
|
|
4067
|
+
EntryIcon,
|
|
4068
|
+
{
|
|
4069
|
+
entry: connection,
|
|
4070
|
+
size: 24,
|
|
4071
|
+
className: b$3("entry-icon")
|
|
4072
|
+
}
|
|
4073
|
+
),
|
|
4074
|
+
connection.name
|
|
4075
|
+
] })
|
|
4076
|
+
}
|
|
4077
|
+
) }) : /* @__PURE__ */ jsx(
|
|
4078
|
+
FieldWrapper,
|
|
4079
|
+
{
|
|
4080
|
+
error: showConnectionError ? i18n$c("sql", "error_select-connection") : void 0,
|
|
4081
|
+
className: b$3("connection-select-btn-wrapper", { error: true }),
|
|
4082
|
+
children: /* @__PURE__ */ jsx(
|
|
4083
|
+
Button,
|
|
4084
|
+
{
|
|
4085
|
+
onClick: () => {
|
|
4086
|
+
this.toggleNavigation();
|
|
4087
|
+
},
|
|
4088
|
+
disabled: chartType === QLChartType.Monitoringql && isEnabledFeature(Feature.EnableCustomMonitoring),
|
|
4089
|
+
qa: ViewSetupQA.SelectConnection,
|
|
4090
|
+
className: b$3("connection-select-btn"),
|
|
4091
|
+
children: i18n$c("sql", "label_select-connection")
|
|
4092
|
+
}
|
|
4093
|
+
)
|
|
4094
|
+
}
|
|
4095
|
+
),
|
|
4096
|
+
workbookId ? /* @__PURE__ */ jsx(
|
|
4097
|
+
WorkbookNavigationMinimal,
|
|
4098
|
+
{
|
|
4099
|
+
anchor: this.navigationButtonRef,
|
|
4100
|
+
visible: this.state.isNavigationVisible,
|
|
4101
|
+
onClose: this.onNavigationClose,
|
|
4102
|
+
onEntryClick: this.onNavigationEntryClick,
|
|
4103
|
+
workbookId,
|
|
4104
|
+
scope: EntryScope.Connection,
|
|
4105
|
+
includeClickableType: getConnectionsByChartType2(chartType)
|
|
4106
|
+
}
|
|
4107
|
+
) : /* @__PURE__ */ jsx(
|
|
4108
|
+
NavigationMinimal_default,
|
|
4109
|
+
{
|
|
4110
|
+
sdk,
|
|
4111
|
+
anchor: this.navigationButtonRef,
|
|
4112
|
+
visible: this.state.isNavigationVisible,
|
|
4113
|
+
onClose: this.onNavigationClose,
|
|
4114
|
+
onEntryClick: this.onNavigationEntryClick,
|
|
4115
|
+
clickableScope: "connection",
|
|
4116
|
+
scope: "connection",
|
|
4117
|
+
startFrom: defaultPath,
|
|
4118
|
+
ignoreWorkbookEntries: true,
|
|
4119
|
+
ignoreSharedEntries: true,
|
|
4120
|
+
placeSelectParameters: getPlaceSelectParameters2([
|
|
4121
|
+
PLACE.ROOT,
|
|
4122
|
+
PLACE.FAVORITES,
|
|
4123
|
+
PLACE.CONNECTIONS
|
|
4124
|
+
]),
|
|
4125
|
+
includeClickableType: getConnectionsByChartType2(chartType)
|
|
4126
|
+
}
|
|
4127
|
+
)
|
|
4128
|
+
] }),
|
|
4129
|
+
/* @__PURE__ */ jsx("div", { className: b$3("form-buttons"), children: /* @__PURE__ */ jsx(
|
|
4130
|
+
Button,
|
|
4131
|
+
{
|
|
4132
|
+
className: b$3("create-btn"),
|
|
4133
|
+
view: "action",
|
|
4134
|
+
size: "l",
|
|
4135
|
+
qa: ViewSetupQA.ViewSetupCreate,
|
|
4136
|
+
onClick: this.onCreateClick,
|
|
4137
|
+
children: i18n$c("sql", "label_create")
|
|
4138
|
+
}
|
|
4139
|
+
) })
|
|
4140
|
+
] }) });
|
|
4141
|
+
}
|
|
4142
|
+
fetchConnection(connectionId) {
|
|
4143
|
+
return getSdk().sdk.us.getEntry({ entryId: connectionId }).then((loadedConnectionEntry) => {
|
|
4144
|
+
if (!loadedConnectionEntry) {
|
|
4145
|
+
throw new Error(i18n$c("sql", "error_failed-to-load-default-connection"));
|
|
4146
|
+
}
|
|
4147
|
+
const connection = loadedConnectionEntry;
|
|
4148
|
+
connection.name = Utils.getEntryNameFromKey(connection.key);
|
|
4149
|
+
return connection;
|
|
4150
|
+
}).catch((error) => {
|
|
4151
|
+
logger$1.logError("ql: setup failed", error);
|
|
4152
|
+
this.props.setError({
|
|
4153
|
+
error
|
|
4154
|
+
});
|
|
4155
|
+
this.props.setStatus(AppStatus.Failed);
|
|
4156
|
+
});
|
|
4157
|
+
}
|
|
4158
|
+
}
|
|
4159
|
+
const makeMapStateToProps = (state) => {
|
|
4160
|
+
return {
|
|
4161
|
+
defaultPath: getDefaultPath(state),
|
|
4162
|
+
entry: getEntry(state)
|
|
4163
|
+
};
|
|
4164
|
+
};
|
|
4165
|
+
const mapDispatchToProps = {
|
|
4166
|
+
performManualConfiguration,
|
|
4167
|
+
setStatus,
|
|
4168
|
+
setError
|
|
4169
|
+
};
|
|
4170
|
+
const ViewSetupComponentConnected = connect(
|
|
4171
|
+
makeMapStateToProps,
|
|
4172
|
+
mapDispatchToProps
|
|
4173
|
+
)(compose(withRouter)(ViewSetupComponent));
|
|
4174
|
+
const ViewSetup = () => {
|
|
4175
|
+
return /* @__PURE__ */ jsx(ViewSetupComponentConnected, {});
|
|
4176
|
+
};
|
|
4177
|
+
const getConnectionsByChartType = (chartType) => {
|
|
4178
|
+
return AVAILABLE_CONNECTION_TYPES_BY_CHART_TYPE[chartType];
|
|
4179
|
+
};
|
|
4180
|
+
const registerQlPlugins = () => {
|
|
4181
|
+
registry.ql.components.registerMany({
|
|
4182
|
+
QlUnconfiguredChartView: ViewSetup
|
|
4183
|
+
});
|
|
4184
|
+
registry.ql.functions.register({
|
|
4185
|
+
getConnectionsByChartType
|
|
4186
|
+
});
|
|
4187
|
+
};
|
|
4188
|
+
const i18n$2 = I18n.keyset("new-workbooks");
|
|
4189
|
+
const b$2 = block("dl-workbook-create-entry");
|
|
4190
|
+
const ChartQlItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
|
|
4191
|
+
/* @__PURE__ */ jsx(EntityIcon, { type: "chart-ql" }),
|
|
4192
|
+
/* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_ql-chart") })
|
|
4193
|
+
] });
|
|
4194
|
+
const ChartWizardItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
|
|
4195
|
+
/* @__PURE__ */ jsx(EntityIcon, { type: "chart-wizard" }),
|
|
4196
|
+
/* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_wizard-chart") })
|
|
4197
|
+
] });
|
|
4198
|
+
const ConnectionItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
|
|
4199
|
+
/* @__PURE__ */ jsx(EntityIcon, { type: "connection" }),
|
|
4200
|
+
/* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_connection") })
|
|
4201
|
+
] });
|
|
4202
|
+
const DashboardItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
|
|
4203
|
+
/* @__PURE__ */ jsx(EntityIcon, { type: "dashboard" }),
|
|
4204
|
+
/* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_dashboard") })
|
|
4205
|
+
] });
|
|
4206
|
+
const DatasetItem = () => /* @__PURE__ */ jsxs("div", { className: b$2("dropdown-item"), children: [
|
|
4207
|
+
/* @__PURE__ */ jsx(EntityIcon, { type: "dataset" }),
|
|
4208
|
+
/* @__PURE__ */ jsx("div", { className: b$2("dropdown-text"), children: i18n$2("menu_dataset") })
|
|
4209
|
+
] });
|
|
4210
|
+
const defineOptions = (options) => ({
|
|
4211
|
+
buttonText: options.text,
|
|
4212
|
+
hasMenu: Number(options.items?.length) > 0,
|
|
4213
|
+
handleClick: options.onClick,
|
|
4214
|
+
items: options.items ?? []
|
|
4215
|
+
});
|
|
4216
|
+
const useCreateEntryOptions = ({
|
|
4217
|
+
scope,
|
|
4218
|
+
handleAction
|
|
4219
|
+
}) => {
|
|
4220
|
+
const defineAction = (type) => () => handleAction(type);
|
|
4221
|
+
if (scope === EntryScope.Dash) {
|
|
4222
|
+
return defineOptions({
|
|
4223
|
+
text: i18n$2("action_create-dashboard"),
|
|
4224
|
+
onClick: defineAction(CreateEntryActionType.Dashboard)
|
|
4225
|
+
});
|
|
4226
|
+
}
|
|
4227
|
+
if (scope === EntryScope.Dataset) {
|
|
4228
|
+
return defineOptions({
|
|
4229
|
+
text: i18n$2("action_create-dataset"),
|
|
4230
|
+
onClick: defineAction(CreateEntryActionType.Dataset)
|
|
4231
|
+
});
|
|
4232
|
+
}
|
|
4233
|
+
if (scope === EntryScope.Connection && capabilities.has(Capability.ManageableConnections)) {
|
|
4234
|
+
return defineOptions({
|
|
4235
|
+
text: i18n$2("action_create-connection"),
|
|
4236
|
+
onClick: defineAction(CreateEntryActionType.Connection)
|
|
4237
|
+
});
|
|
4238
|
+
}
|
|
4239
|
+
if (scope === EntryScope.Widget) {
|
|
4240
|
+
return defineOptions({
|
|
4241
|
+
text: i18n$2("action_create-chart"),
|
|
4242
|
+
items: [
|
|
4243
|
+
{ text: /* @__PURE__ */ jsx(ChartWizardItem, {}), action: defineAction(CreateEntryActionType.Wizard) },
|
|
4244
|
+
{ text: /* @__PURE__ */ jsx(ChartQlItem, {}), action: defineAction(CreateEntryActionType.QL) }
|
|
4245
|
+
]
|
|
4246
|
+
});
|
|
4247
|
+
}
|
|
4248
|
+
return defineOptions({
|
|
4249
|
+
text: i18n$2("action_create"),
|
|
4250
|
+
items: [
|
|
4251
|
+
[{ text: /* @__PURE__ */ jsx(DashboardItem, {}), action: defineAction(CreateEntryActionType.Dashboard) }],
|
|
4252
|
+
[
|
|
4253
|
+
{ text: /* @__PURE__ */ jsx(ChartWizardItem, {}), action: defineAction(CreateEntryActionType.Wizard) },
|
|
4254
|
+
{ text: /* @__PURE__ */ jsx(ChartQlItem, {}), action: defineAction(CreateEntryActionType.QL) }
|
|
4255
|
+
],
|
|
4256
|
+
[
|
|
4257
|
+
{ text: /* @__PURE__ */ jsx(DatasetItem, {}), action: defineAction(CreateEntryActionType.Dataset) },
|
|
4258
|
+
{ text: /* @__PURE__ */ jsx(ConnectionItem, {}), action: defineAction(CreateEntryActionType.Connection) }
|
|
4259
|
+
]
|
|
4260
|
+
]
|
|
4261
|
+
});
|
|
4262
|
+
};
|
|
4263
|
+
const getWorkbookDashboardEntryUrl = (response) => {
|
|
4264
|
+
return `/${response.data?.entryId}`;
|
|
4265
|
+
};
|
|
4266
|
+
const getNewDashUrl = (workbookId) => {
|
|
4267
|
+
return `/workbooks/${workbookId}/dashboards`;
|
|
4268
|
+
};
|
|
4269
|
+
const i18n$1 = I18n.keyset("new-workbooks.empty-table");
|
|
4270
|
+
function getText(scope) {
|
|
4271
|
+
let title;
|
|
4272
|
+
let description = "";
|
|
4273
|
+
switch (scope) {
|
|
4274
|
+
case EntryScope.Dash: {
|
|
4275
|
+
title = i18n$1("section_empty-scope-dashboard");
|
|
4276
|
+
break;
|
|
4277
|
+
}
|
|
4278
|
+
case EntryScope.Widget: {
|
|
4279
|
+
title = i18n$1("section_empty-scope-widget");
|
|
4280
|
+
break;
|
|
4281
|
+
}
|
|
4282
|
+
case EntryScope.Dataset: {
|
|
4283
|
+
title = i18n$1("section_empty-scope-dataset");
|
|
4284
|
+
break;
|
|
4285
|
+
}
|
|
4286
|
+
case EntryScope.Connection: {
|
|
4287
|
+
title = i18n$1("section_empty-scope-connection");
|
|
4288
|
+
break;
|
|
4289
|
+
}
|
|
4290
|
+
default: {
|
|
4291
|
+
title = i18n$1("section_empty-scope-all");
|
|
4292
|
+
description = i18n$1("label_empty-scope-all-description");
|
|
4293
|
+
}
|
|
4294
|
+
}
|
|
4295
|
+
return { title, description };
|
|
4296
|
+
}
|
|
4297
|
+
const useAdditionalWorkbookEntryActions = () => {
|
|
4298
|
+
return [];
|
|
4299
|
+
};
|
|
4300
|
+
const getWorkbookEntryUrl = (workbookEntry, workbook) => {
|
|
4301
|
+
if (workbookEntry.scope === EntryScope.Widget && !workbook.permissions.view && workbook.permissions.limitedView) {
|
|
4302
|
+
return `/preview/${workbookEntry.entryId}`;
|
|
4303
|
+
}
|
|
4304
|
+
return new URL(navigateHelper_default.redirectUrlSwitcher(workbookEntry), window.location.origin).pathname;
|
|
4305
|
+
};
|
|
4306
|
+
const useAdditionalWorkbookActions = () => {
|
|
4307
|
+
return [];
|
|
4308
|
+
};
|
|
4309
|
+
const i18n = I18n.keyset("new-workbooks.table-filters");
|
|
4310
|
+
const getWorkbookTabs = (workbook) => {
|
|
4311
|
+
const tabs = [
|
|
4312
|
+
{ id: TAB_ALL, title: i18n("switch_filter-by-scope-all") },
|
|
4313
|
+
{ id: EntryScope.Dash, title: i18n("switch_filter-by-scope-dash") },
|
|
4314
|
+
{ id: EntryScope.Widget, title: i18n("switch_filter-by-scope-widget") }
|
|
4315
|
+
];
|
|
4316
|
+
if (!DL.IS_MOBILE && (!DL.IAM_RESOURCES?.workbook.roles.limitedViewer || workbook.permissions.view)) {
|
|
4317
|
+
tabs.push({ id: EntryScope.Dataset, title: i18n("switch_filter-by-scope-dataset") });
|
|
4318
|
+
if (capabilities.has(Capability.ManageableConnections)) {
|
|
4319
|
+
tabs.push({
|
|
4320
|
+
id: EntryScope.Connection,
|
|
4321
|
+
title: i18n("switch_filter-by-scope-connection")
|
|
4322
|
+
});
|
|
4323
|
+
}
|
|
4324
|
+
}
|
|
4325
|
+
return tabs;
|
|
4326
|
+
};
|
|
4327
|
+
const checkWbCreateEntryButtonVisibility = (workbook) => {
|
|
4328
|
+
return workbook.permissions.update && !DL.IS_MOBILE;
|
|
4329
|
+
};
|
|
4330
|
+
const registerWorkbooksPlugins = () => {
|
|
4331
|
+
registry.workbooks.functions.register({
|
|
4332
|
+
checkWbCreateEntryButtonVisibility,
|
|
4333
|
+
getWorkbookTabs,
|
|
4334
|
+
getWorkbookEntryUrl,
|
|
4335
|
+
getWorkbookDashboardEntryUrl,
|
|
4336
|
+
getNewDashUrl,
|
|
4337
|
+
useAdditionalWorkbookEntryActions,
|
|
4338
|
+
useAdditionalWorkbookActions,
|
|
4339
|
+
useCreateEntryOptions,
|
|
4340
|
+
getWorkbookEmptyStateTexts: getText
|
|
4341
|
+
});
|
|
4342
|
+
};
|
|
4343
|
+
const registerAppPlugins = (options = {}) => {
|
|
4344
|
+
registerChartPlugins();
|
|
4345
|
+
registerConnectionsPlugins();
|
|
4346
|
+
registerCommonPlugins();
|
|
4347
|
+
registerDatasetPlugins();
|
|
4348
|
+
registerDashPlugins();
|
|
4349
|
+
registerQlPlugins();
|
|
4350
|
+
registerWorkbooksPlugins();
|
|
4351
|
+
registerMainPlugins();
|
|
4352
|
+
registerDocsPlugins();
|
|
4353
|
+
registerCollectionsPlugins();
|
|
4354
|
+
registerAuthPlugins();
|
|
4355
|
+
registryLibsPlugins(options.libs);
|
|
4356
|
+
};
|
|
4357
|
+
const b$1 = block(CHARTKIT_ERROR_NODE_CLASSNAME);
|
|
4358
|
+
const logger = logger$1.get(CHARTKIT_LOGGER);
|
|
4359
|
+
function getEndpointForScope(scopeName) {
|
|
4360
|
+
if (scopeName === "dataset") {
|
|
4361
|
+
return DL.ENDPOINTS.dataset;
|
|
4362
|
+
} else if (scopeName === "connection") {
|
|
4363
|
+
return DL.ENDPOINTS.connections;
|
|
4364
|
+
} else {
|
|
4365
|
+
return null;
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
const InterpolatedErrorMessage = (props) => {
|
|
4369
|
+
const { text, href } = props;
|
|
4370
|
+
return /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
4371
|
+
Interpolate,
|
|
4372
|
+
{
|
|
4373
|
+
text,
|
|
4374
|
+
matches: {
|
|
4375
|
+
link(match) {
|
|
4376
|
+
return /* @__PURE__ */ jsx(Link$1, { href, target: "_blank", rel: "noopener noreferrer", children: match });
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
) });
|
|
4381
|
+
};
|
|
4382
|
+
const ChartKitError = (props) => {
|
|
4383
|
+
const dispatch = useDispatch();
|
|
4384
|
+
const location2 = useLocation();
|
|
4385
|
+
const { error, onAction } = props;
|
|
4386
|
+
React__default.useEffect(() => {
|
|
4387
|
+
logger.logError("ChartKitError", error);
|
|
4388
|
+
}, [error]);
|
|
4389
|
+
const {
|
|
4390
|
+
code,
|
|
4391
|
+
message: title,
|
|
4392
|
+
details = {},
|
|
4393
|
+
debug: { requestId = DL.REQUEST_ID, traceId = null } = {}
|
|
4394
|
+
} = error;
|
|
4395
|
+
const extraParams = error.extra;
|
|
4396
|
+
const { hideDebugInfo, hideRetry, openedMore, actionText, actionData, showErrorMessage } = extraParams;
|
|
4397
|
+
const { noControls } = React__default.useMemo(
|
|
4398
|
+
() => Utils.getOptionsFromSearch(location2.search),
|
|
4399
|
+
[location2]
|
|
4400
|
+
);
|
|
4401
|
+
const more = isEmpty(details) ? null : details;
|
|
4402
|
+
const showMore = more || extraParams.showMore;
|
|
4403
|
+
const showRetry = !hideRetry;
|
|
4404
|
+
const showControls = !noControls && !isEmbeddedEntry() && (showMore || showRetry);
|
|
4405
|
+
let showSourceDetails = true;
|
|
4406
|
+
const expandMore = more && (openedMore || noControls);
|
|
4407
|
+
let detailsString = "";
|
|
4408
|
+
const notEmptyDetails = !isEmpty(details);
|
|
4409
|
+
if (notEmptyDetails) {
|
|
4410
|
+
const values = Object.values(details);
|
|
4411
|
+
if (values.length === 1 && typeof values[0] === "string") {
|
|
4412
|
+
detailsString = values[0];
|
|
4413
|
+
} else {
|
|
4414
|
+
detailsString = JSON.stringify(details, null, 4);
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
let iconData = CircleXmark;
|
|
4418
|
+
let detailedTitle = title;
|
|
4419
|
+
const sourceErrorDetails = [];
|
|
4420
|
+
const uniqDetails = _uniqBy(Object.keys(details) || [], (key) => {
|
|
4421
|
+
const source = details[key];
|
|
4422
|
+
const errorCode = source.code || source.status;
|
|
4423
|
+
if (source.details) {
|
|
4424
|
+
return `${errorCode}-${source.details.entry_id}`;
|
|
4425
|
+
}
|
|
4426
|
+
return null;
|
|
4427
|
+
});
|
|
4428
|
+
uniqDetails.forEach((key) => {
|
|
4429
|
+
const source = details[key];
|
|
4430
|
+
if (source.message || source.code) {
|
|
4431
|
+
sourceErrorDetails.push({ message: source.message, code: source.code });
|
|
4432
|
+
}
|
|
4433
|
+
});
|
|
4434
|
+
const iconModes = {
|
|
4435
|
+
"no-data": false
|
|
4436
|
+
};
|
|
4437
|
+
switch (code) {
|
|
4438
|
+
case ERROR_CODE.NO_DATA:
|
|
4439
|
+
iconModes["no-data"] = true;
|
|
4440
|
+
break;
|
|
4441
|
+
case ERROR_CODE.TOO_MANY_LINES:
|
|
4442
|
+
case ERROR_CODE.UI_SANDBOX_EXECUTION_TIMEOUT:
|
|
4443
|
+
case ERROR_CODE.UI_SANDBOX_FN_EXECUTION_TIMEOUT: {
|
|
4444
|
+
iconData = ChartMixed;
|
|
4445
|
+
break;
|
|
4446
|
+
}
|
|
4447
|
+
case ERROR_CODE.DATA_PROVIDER_ERROR:
|
|
4448
|
+
iconData = Database;
|
|
4449
|
+
break;
|
|
4450
|
+
case CHARTS_ERROR_CODE.CONFIG_LOADING_ERROR:
|
|
4451
|
+
if (error?.debug?.code === 403) {
|
|
4452
|
+
iconData = Lock;
|
|
4453
|
+
const entryId = error?.debug?.entryId;
|
|
4454
|
+
if (entryId) {
|
|
4455
|
+
const text = i18n$c("component.chartkit-error.codes", code);
|
|
4456
|
+
const href = `/navigate/${entryId}`;
|
|
4457
|
+
const message = /* @__PURE__ */ jsx(InterpolatedErrorMessage, { text, href });
|
|
4458
|
+
detailedTitle = [message];
|
|
4459
|
+
}
|
|
4460
|
+
}
|
|
4461
|
+
break;
|
|
4462
|
+
case CHARTS_ERROR_CODE.DATA_FETCHING_ERROR: {
|
|
4463
|
+
const errorDetails = [];
|
|
4464
|
+
uniqDetails.forEach((key) => {
|
|
4465
|
+
const source = details[key];
|
|
4466
|
+
const errorCode = source.code || source.status;
|
|
4467
|
+
iconData = Database;
|
|
4468
|
+
if ([
|
|
4469
|
+
ErrorCode.UsAccessDenied,
|
|
4470
|
+
ErrorCode.ReferencedEntryAccessDenied,
|
|
4471
|
+
ErrorCode.WorkbookIsolationInterruptionDenied
|
|
4472
|
+
].includes(errorCode) && source.details && source.details.scope) {
|
|
4473
|
+
const { scope } = source.details;
|
|
4474
|
+
if (scope === "dataset" || scope === "connection") {
|
|
4475
|
+
const endpoint = getEndpointForScope(scope);
|
|
4476
|
+
const detailKey = `${errorCode}_${scope.toUpperCase()}`;
|
|
4477
|
+
const text = i18n$c("component.chartkit-error.codes", detailKey);
|
|
4478
|
+
const href = `${endpoint}/${source.details.entry_id}`;
|
|
4479
|
+
const message = /* @__PURE__ */ jsx(InterpolatedErrorMessage, { text, href });
|
|
4480
|
+
errorDetails.push(message);
|
|
4481
|
+
}
|
|
4482
|
+
} else if ([
|
|
4483
|
+
ErrorCode.DBError,
|
|
4484
|
+
ErrorCode.DBQueryError,
|
|
4485
|
+
ErrorCode.DBSourceDoesntExist
|
|
4486
|
+
].includes(errorCode) && source.debug && source.debug.db_message) {
|
|
4487
|
+
errorDetails.push(i18n$c("component.chartkit-error.codes", errorCode));
|
|
4488
|
+
detailsString = source.debug.db_message;
|
|
4489
|
+
} else if (source.status === 409) {
|
|
4490
|
+
errorDetails.push(i18n$c("common.errors", "label_error-outdated-message"));
|
|
4491
|
+
iconData = CircleXmark;
|
|
4492
|
+
showSourceDetails = false;
|
|
4493
|
+
} else if (I18n.has("component.chartkit-error.codes", errorCode)) {
|
|
4494
|
+
errorDetails.push(i18n$c("component.chartkit-error.codes", errorCode));
|
|
4495
|
+
detailsString = "";
|
|
4496
|
+
}
|
|
4497
|
+
});
|
|
4498
|
+
detailedTitle = errorDetails.length ? errorDetails : detailedTitle;
|
|
4499
|
+
break;
|
|
4500
|
+
}
|
|
4501
|
+
case ErrorCode.EntryForbidden: {
|
|
4502
|
+
detailedTitle = i18n$c("common.errors", "label_error-access-message");
|
|
4503
|
+
break;
|
|
4504
|
+
}
|
|
4505
|
+
case ErrorCode.InvalidTokenFormat: {
|
|
4506
|
+
detailedTitle = i18n$c("common.errors", "label_error-invalid-format-token-message");
|
|
4507
|
+
break;
|
|
4508
|
+
}
|
|
4509
|
+
case ErrorCode.TokenNotFound: {
|
|
4510
|
+
detailedTitle = i18n$c("common.errors", "label_error-token-not-found-message");
|
|
4511
|
+
break;
|
|
4512
|
+
}
|
|
4513
|
+
case ErrorCode.InvalidToken: {
|
|
4514
|
+
detailedTitle = i18n$c("common.errors", "label_error-invalid-token-message");
|
|
4515
|
+
break;
|
|
4516
|
+
}
|
|
4517
|
+
case ErrorCode.OutdatedDependencies: {
|
|
4518
|
+
detailedTitle = i18n$c("common.errors", "label_error-outdated-message");
|
|
4519
|
+
break;
|
|
4520
|
+
}
|
|
4521
|
+
}
|
|
4522
|
+
const getAdditionalChartkitErrorContent2 = registry.common.functions.get(
|
|
4523
|
+
"getAdditionalChartkitErrorContent"
|
|
4524
|
+
);
|
|
4525
|
+
const additionalContent = getAdditionalChartkitErrorContent2({ code });
|
|
4526
|
+
if (additionalContent.detailedTitle) {
|
|
4527
|
+
detailedTitle = additionalContent.detailedTitle;
|
|
4528
|
+
}
|
|
4529
|
+
if (additionalContent.iconData) {
|
|
4530
|
+
iconData = additionalContent.iconData;
|
|
4531
|
+
}
|
|
4532
|
+
const renderSourceErrorDetails = () => {
|
|
4533
|
+
return sourceErrorDetails.map((sourceErrorDetail) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
4534
|
+
showErrorMessage && sourceErrorDetail.message && /* @__PURE__ */ jsx("div", { className: b$1("message"), children: sourceErrorDetail.message }),
|
|
4535
|
+
!sourceErrorDetail.message && sourceErrorDetail.code && /* @__PURE__ */ jsx("div", { className: b$1("code-block"), children: sourceErrorDetail.code })
|
|
4536
|
+
] }, sourceErrorDetail.message));
|
|
4537
|
+
};
|
|
4538
|
+
return /* @__PURE__ */ jsxs("div", { className: b$1(), "data-qa": ChartkitMenuDialogsQA.chartError, children: [
|
|
4539
|
+
/* @__PURE__ */ jsxs("div", { "data-qa": code, className: b$1("title", { mobile: DL.IS_MOBILE }), children: [
|
|
4540
|
+
/* @__PURE__ */ jsx(Icon, { data: iconData, size: 20, className: b$1("icon", iconModes) }),
|
|
4541
|
+
Array.isArray(detailedTitle) ? /* @__PURE__ */ jsx("div", { children: detailedTitle.map((str) => /* @__PURE__ */ jsx("div", { children: str }, str)) }) : detailedTitle
|
|
4542
|
+
] }),
|
|
4543
|
+
showSourceDetails && renderSourceErrorDetails(),
|
|
4544
|
+
expandMore && detailsString && /* @__PURE__ */ jsx("div", { className: b$1("code-block"), children: detailsString }),
|
|
4545
|
+
showControls && /* @__PURE__ */ jsxs("div", { className: b$1("actions"), children: [
|
|
4546
|
+
showRetry && /* @__PURE__ */ jsx(
|
|
4547
|
+
Button,
|
|
4548
|
+
{
|
|
4549
|
+
className: b$1("action"),
|
|
4550
|
+
onClick: () => onAction(actionData),
|
|
4551
|
+
qa: ChartkitMenuDialogsQA.errorButtonRetry,
|
|
4552
|
+
children: actionText
|
|
4553
|
+
}
|
|
4554
|
+
),
|
|
4555
|
+
showMore && /* @__PURE__ */ jsx(
|
|
4556
|
+
Button,
|
|
4557
|
+
{
|
|
4558
|
+
view: "flat",
|
|
4559
|
+
className: b$1("action"),
|
|
4560
|
+
onClick: () => dispatch(openDialogErrorWithTabs({ error, title: error.message })),
|
|
4561
|
+
children: i18n$c("component.chartkit-error.view", "button_details")
|
|
4562
|
+
}
|
|
4563
|
+
)
|
|
4564
|
+
] }),
|
|
4565
|
+
!hideDebugInfo && /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
4566
|
+
requestId && /* @__PURE__ */ jsx("div", { className: b$1("request-id"), children: `Request-ID: ${requestId}` }),
|
|
4567
|
+
traceId && /* @__PURE__ */ jsx("div", { className: b$1("request-id"), children: `Trace-ID: ${traceId}` })
|
|
4568
|
+
] })
|
|
4569
|
+
] });
|
|
4570
|
+
};
|
|
4571
|
+
const Error$1 = React__default.memo(ChartKitError);
|
|
4572
|
+
function isNotSingleParam(control) {
|
|
4573
|
+
return "paramFrom" in control && "paramTo" in control;
|
|
4574
|
+
}
|
|
4575
|
+
const STATUS = {
|
|
4576
|
+
LOADING: "loading",
|
|
4577
|
+
DONE: "done",
|
|
4578
|
+
ERROR: "error"
|
|
4579
|
+
};
|
|
4580
|
+
const b = block("chartkit-control");
|
|
4581
|
+
const dashI18n = I18n.keyset("dash.dashkit-plugin-control.view");
|
|
4582
|
+
const controlI18n = I18n.keyset("chartkit.control");
|
|
4583
|
+
class Control extends React__default.PureComponent {
|
|
4584
|
+
constructor() {
|
|
4585
|
+
super(...arguments);
|
|
4586
|
+
this.state = {
|
|
4587
|
+
status: STATUS.LOADING,
|
|
4588
|
+
data: this.props.data,
|
|
4589
|
+
savedData: this.props.data,
|
|
4590
|
+
params: this.props.data.params,
|
|
4591
|
+
statePriority: false,
|
|
4592
|
+
validationErrors: {},
|
|
4593
|
+
loading: false
|
|
4594
|
+
};
|
|
4595
|
+
this.renderControl = (control, index) => {
|
|
4596
|
+
if (!control) {
|
|
4597
|
+
return null;
|
|
4598
|
+
}
|
|
4599
|
+
if (control.type === "line-break") {
|
|
4600
|
+
return /* @__PURE__ */ jsx("br", {}, index);
|
|
4601
|
+
}
|
|
4602
|
+
const { label, param } = control;
|
|
4603
|
+
const notSingleParam = isNotSingleParam(control);
|
|
4604
|
+
const value = isNotSingleParam(control) ? {
|
|
4605
|
+
from: unwrapFromArrayAndSkipOperation(this.params[control.paramFrom]),
|
|
4606
|
+
to: unwrapFromArrayAndSkipOperation(this.params[control.paramTo])
|
|
4607
|
+
} : unwrapFromArrayAndSkipOperation(this.params[param]);
|
|
4608
|
+
let props = {
|
|
4609
|
+
...control,
|
|
4610
|
+
className: b("item"),
|
|
4611
|
+
key: index + (param || isNotSingleParam(control) && control.paramFrom || label),
|
|
4612
|
+
value: control.disabled ? "" : value,
|
|
4613
|
+
onChange: (value2) => this.onChange(control, value2, index),
|
|
4614
|
+
loading: this.state.loading
|
|
4615
|
+
};
|
|
4616
|
+
if ("required" in control) {
|
|
4617
|
+
props = { ...props, ...this.getValidationProps(control, value, index) };
|
|
4618
|
+
}
|
|
4619
|
+
switch (control.type) {
|
|
4620
|
+
case CONTROL_TYPE.SELECT:
|
|
4621
|
+
return /* @__PURE__ */ jsx(ControlSelect, { ...props });
|
|
4622
|
+
case CONTROL_TYPE.INPUT:
|
|
4623
|
+
return /* @__PURE__ */ jsx(ControlInput, { ...props });
|
|
4624
|
+
case CONTROL_TYPE.TEXTAREA:
|
|
4625
|
+
return /* @__PURE__ */ jsx(ControlTextArea, { ...props, className: b("item", { button: true }) });
|
|
4626
|
+
case CONTROL_TYPE.DATEPICKER:
|
|
4627
|
+
return /* @__PURE__ */ jsx(ControlDatepicker, { ...props });
|
|
4628
|
+
case CONTROL_TYPE.RANGE_DATEPICKER:
|
|
4629
|
+
return /* @__PURE__ */ jsx(ControlRangeDatepicker, { returnInterval: !notSingleParam, ...props });
|
|
4630
|
+
case CONTROL_TYPE.CHECKBOX:
|
|
4631
|
+
return /* @__PURE__ */ jsx(ControlCheckbox, { ...props, className: b("item", { checkbox: true }) });
|
|
4632
|
+
case CONTROL_TYPE.BUTTON:
|
|
4633
|
+
return /* @__PURE__ */ jsx(ControlButton, { ...props, className: b("item", { button: true }) });
|
|
4634
|
+
}
|
|
4635
|
+
return null;
|
|
4636
|
+
};
|
|
4637
|
+
this.getChangedParams = (control, value) => {
|
|
4638
|
+
let newParams = { ...this.params };
|
|
4639
|
+
let callExternalOnChange = this.isStandalone;
|
|
4640
|
+
let callChangeByClick = false;
|
|
4641
|
+
if (control.type === "range-datepicker" && control.paramFrom && control.paramTo && typeof value === "object" && !Array.isArray(value)) {
|
|
4642
|
+
newParams[control.paramFrom] = [value.from];
|
|
4643
|
+
newParams[control.paramTo] = [value.to];
|
|
4644
|
+
} else if (control.type === "button" && control.onClick && control.onClick.action === CLICK_ACTION_TYPE.SET_PARAMS && control.onClick.args) {
|
|
4645
|
+
newParams = control.onClick.args;
|
|
4646
|
+
callExternalOnChange = true;
|
|
4647
|
+
callChangeByClick = true;
|
|
4648
|
+
} else if (control.type === "button" && control.onClick && control.onClick.action === CLICK_ACTION_TYPE.SET_INITIAL_PARAMS && this.props.initialParams?.params) {
|
|
4649
|
+
newParams = this.props.initialParams?.params;
|
|
4650
|
+
callExternalOnChange = true;
|
|
4651
|
+
callChangeByClick = true;
|
|
4652
|
+
} else {
|
|
4653
|
+
newParams[control.param] = wrapToArray(value).map(
|
|
4654
|
+
(value2) => addOperationForValue({ value: value2, operation: control.operation })
|
|
4655
|
+
);
|
|
4656
|
+
}
|
|
4657
|
+
return { newParams, callExternalOnChange, callChangeByClick };
|
|
4658
|
+
};
|
|
4659
|
+
this.getValidationProps = (control, value, index) => {
|
|
4660
|
+
const validationProps = {};
|
|
4661
|
+
const initialValidationError = isValidRequiredValue({
|
|
4662
|
+
required: control.required,
|
|
4663
|
+
value
|
|
4664
|
+
}) ? dashI18n("value_required") : null;
|
|
4665
|
+
const validationError = initialValidationError || this.state.validationErrors[index];
|
|
4666
|
+
validationProps.required = control.required;
|
|
4667
|
+
validationProps.hasValidationError = Boolean(validationError);
|
|
4668
|
+
if (control.label && control.required) {
|
|
4669
|
+
validationProps.label = `${control.label}*`;
|
|
4670
|
+
}
|
|
4671
|
+
if ("innerLabel" in control && !control.label && control.innerLabel && control.required) {
|
|
4672
|
+
validationProps.innerLabel = `${control.innerLabel}*`;
|
|
4673
|
+
}
|
|
4674
|
+
if (control.type === "input" || control.type === "select") {
|
|
4675
|
+
validationProps.placeholder = validationError || control.placeholder;
|
|
4676
|
+
}
|
|
4677
|
+
return validationProps;
|
|
4678
|
+
};
|
|
4679
|
+
}
|
|
4680
|
+
static getDerivedStateFromProps(nextProps, prevState) {
|
|
4681
|
+
const resultState = {
|
|
4682
|
+
...prevState,
|
|
4683
|
+
savedData: nextProps.data,
|
|
4684
|
+
statePriority: false
|
|
4685
|
+
};
|
|
4686
|
+
const propsDataEqual = isEqual(nextProps.data, prevState.savedData);
|
|
4687
|
+
if (!prevState.statePriority && !propsDataEqual) {
|
|
4688
|
+
return {
|
|
4689
|
+
...resultState,
|
|
4690
|
+
data: nextProps.data,
|
|
4691
|
+
params: nextProps.data.params
|
|
4692
|
+
};
|
|
4693
|
+
}
|
|
4694
|
+
return resultState;
|
|
4695
|
+
}
|
|
4696
|
+
static getDerivedStateFromError() {
|
|
4697
|
+
return { status: STATUS.ERROR };
|
|
4698
|
+
}
|
|
4699
|
+
get params() {
|
|
4700
|
+
return { ...this.props.data.params, ...this.state.params };
|
|
4701
|
+
}
|
|
4702
|
+
componentDidMount() {
|
|
4703
|
+
this.setStatePriority({ status: STATUS.DONE });
|
|
4704
|
+
if (this.isStandalone) {
|
|
4705
|
+
this.props.onLoad();
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
get isStandalone() {
|
|
4709
|
+
return this.props.data.type === "control";
|
|
4710
|
+
}
|
|
4711
|
+
setStatePriority(state, callback) {
|
|
4712
|
+
this.setState(Object.assign({ statePriority: true }, state), callback);
|
|
4713
|
+
}
|
|
4714
|
+
async run(prevParams, callOnChange) {
|
|
4715
|
+
this.setStatePriority({ status: STATUS.LOADING });
|
|
4716
|
+
let loadedData;
|
|
4717
|
+
try {
|
|
4718
|
+
loadedData = await this.props.getControls(prevParams);
|
|
4719
|
+
} catch (error) {
|
|
4720
|
+
console.error("CHARTKIT_CONTROL_RUN_FAILED", error);
|
|
4721
|
+
this.setStatePriority({ status: STATUS.ERROR });
|
|
4722
|
+
return;
|
|
4723
|
+
}
|
|
4724
|
+
if (!loadedData) {
|
|
4725
|
+
return;
|
|
4726
|
+
}
|
|
4727
|
+
const newParams = loadedData.params;
|
|
4728
|
+
this.setStatePriority(
|
|
4729
|
+
{
|
|
4730
|
+
status: STATUS.DONE,
|
|
4731
|
+
data: loadedData,
|
|
4732
|
+
params: newParams
|
|
4733
|
+
},
|
|
4734
|
+
() => {
|
|
4735
|
+
if (callOnChange) {
|
|
4736
|
+
this.props.onChange(
|
|
4737
|
+
{ type: "PARAMS_CHANGED", data: { params: newParams } },
|
|
4738
|
+
{ forceUpdate: !this.isStandalone },
|
|
4739
|
+
callOnChange
|
|
4740
|
+
);
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
);
|
|
4744
|
+
}
|
|
4745
|
+
async onChange(control, value, index) {
|
|
4746
|
+
const { type, updateControlsOnChange, updateOnChange, postUpdateOnChange } = control;
|
|
4747
|
+
const { newParams, callExternalOnChange, callChangeByClick } = this.getChangedParams(
|
|
4748
|
+
control,
|
|
4749
|
+
value
|
|
4750
|
+
);
|
|
4751
|
+
const hasError = "required" in control ? isValidRequiredValue({
|
|
4752
|
+
required: control.required,
|
|
4753
|
+
value
|
|
4754
|
+
}) : false;
|
|
4755
|
+
this.setValidationError(String(index), hasError);
|
|
4756
|
+
if (hasError) {
|
|
4757
|
+
return;
|
|
4758
|
+
}
|
|
4759
|
+
if (type === "button" && control.onClick?.action === CLICK_ACTION_TYPE.RUN_ACTIVITY) {
|
|
4760
|
+
this.setState({ loading: true });
|
|
4761
|
+
try {
|
|
4762
|
+
await this.props.runActivity?.({ params: { ...newParams, ...control.onClick.args } });
|
|
4763
|
+
} catch (e) {
|
|
4764
|
+
} finally {
|
|
4765
|
+
this.setState({ loading: false });
|
|
4766
|
+
}
|
|
4767
|
+
return;
|
|
4768
|
+
}
|
|
4769
|
+
if (!isEqual(newParams, this.params) || type === CONTROL_TYPE.BUTTON) {
|
|
4770
|
+
if (postUpdateOnChange) {
|
|
4771
|
+
this.run(newParams, true);
|
|
4772
|
+
} else if (updateOnChange) {
|
|
4773
|
+
this.setStatePriority({ params: newParams }, () => {
|
|
4774
|
+
this.props.onChange(
|
|
4775
|
+
{ type: "PARAMS_CHANGED", data: { params: newParams } },
|
|
4776
|
+
{ forceUpdate: true },
|
|
4777
|
+
callExternalOnChange,
|
|
4778
|
+
callChangeByClick
|
|
4779
|
+
);
|
|
4780
|
+
});
|
|
4781
|
+
} else if (updateControlsOnChange) {
|
|
4782
|
+
this.run(newParams);
|
|
4783
|
+
} else {
|
|
4784
|
+
this.setStatePriority({ params: newParams }, () => {
|
|
4785
|
+
this.props.onUpdate?.({ type: "PARAMS_CHANGED", data: { params: newParams } });
|
|
4786
|
+
});
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
}
|
|
4790
|
+
renderBody() {
|
|
4791
|
+
const { status } = this.state;
|
|
4792
|
+
if (status === STATUS.ERROR) {
|
|
4793
|
+
return /* @__PURE__ */ jsxs("div", { className: b("error"), children: [
|
|
4794
|
+
controlI18n("label_error"),
|
|
4795
|
+
/* @__PURE__ */ jsx(Icon, { data: TriangleExclamationFill, className: b("error-icon") })
|
|
4796
|
+
] });
|
|
4797
|
+
}
|
|
4798
|
+
return /* @__PURE__ */ jsx("div", { className: b("controls", { hidden: status === STATUS.LOADING }), children: this.state.data.controls?.controls.map(this.renderControl) });
|
|
4799
|
+
}
|
|
4800
|
+
renderLoader() {
|
|
4801
|
+
return this.state.status === STATUS.LOADING ? /* @__PURE__ */ jsx("div", { className: b("loader"), children: /* @__PURE__ */ jsx(Loader, { size: "s" }) }) : null;
|
|
4802
|
+
}
|
|
4803
|
+
render() {
|
|
4804
|
+
if (this.state.data.controls) {
|
|
4805
|
+
const { lineBreaks = "nowrap" } = this.state.data.controls;
|
|
4806
|
+
const standalone = this.isStandalone;
|
|
4807
|
+
const classNameMix = standalone ? CHARTKIT_SCROLLABLE_NODE_CLASSNAME : "";
|
|
4808
|
+
return /* @__PURE__ */ jsxs(
|
|
4809
|
+
"div",
|
|
4810
|
+
{
|
|
4811
|
+
className: b(
|
|
4812
|
+
{ "line-breaks": lineBreaks, standalone, mobile: DL.IS_MOBILE },
|
|
4813
|
+
classNameMix
|
|
4814
|
+
),
|
|
4815
|
+
children: [
|
|
4816
|
+
this.renderLoader(),
|
|
4817
|
+
this.renderBody()
|
|
4818
|
+
]
|
|
4819
|
+
}
|
|
4820
|
+
);
|
|
4821
|
+
}
|
|
4822
|
+
return null;
|
|
4823
|
+
}
|
|
4824
|
+
setValidationError(index, hasError) {
|
|
4825
|
+
if (hasError) {
|
|
4826
|
+
this.setState({
|
|
4827
|
+
validationErrors: {
|
|
4828
|
+
...this.state.validationErrors,
|
|
4829
|
+
[index]: dashI18n("value_required")
|
|
4830
|
+
}
|
|
4831
|
+
});
|
|
4832
|
+
return;
|
|
4833
|
+
}
|
|
4834
|
+
if (this.state.validationErrors[index]) {
|
|
4835
|
+
this.setState({
|
|
4836
|
+
validationErrors: {
|
|
4837
|
+
...this.state.validationErrors,
|
|
4838
|
+
[index]: null
|
|
4839
|
+
}
|
|
4840
|
+
});
|
|
4841
|
+
}
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
4844
|
+
var control_default = {
|
|
4845
|
+
key: "control",
|
|
4846
|
+
value: Control
|
|
4847
|
+
};
|
|
4848
|
+
var markdown_default = {
|
|
4849
|
+
key: CHARTKIT_WIDGET_TYPE.MARKDOWN,
|
|
4850
|
+
value: Markdown
|
|
4851
|
+
};
|
|
4852
|
+
var table_default = {
|
|
4853
|
+
key: CHARTKIT_WIDGET_TYPE.TABLE,
|
|
4854
|
+
value: Table
|
|
4855
|
+
};
|
|
4856
|
+
const X_CSRF_TOKEN_HEADER = "X-CSRF-Token";
|
|
4857
|
+
const DATALENS_DEBUG_MODE_KEY = "datalens-debug-mode";
|
|
4858
|
+
ChartKitWithCharts.registerPlugins(table_default, control_default, markdown_default);
|
|
4859
|
+
ChartKitWithCharts.setGeneralSettings({
|
|
4860
|
+
lang: DL.USER_LANG,
|
|
4861
|
+
isMobile: DL.IS_MOBILE,
|
|
4862
|
+
theme: "common",
|
|
4863
|
+
config: isEnabledFeature(Feature.UseConfigurableChartkit),
|
|
4864
|
+
requestIdPrefix: DL.REQUEST_ID_PREFIX,
|
|
4865
|
+
ErrorComponent: Error$1
|
|
4866
|
+
});
|
|
4867
|
+
ChartKitWithCharts.setDataProviderSettings({
|
|
4868
|
+
endpoint: DL.ENDPOINTS.charts,
|
|
4869
|
+
lang: DL.USER_LANG,
|
|
4870
|
+
includeUnresolvedParams: true,
|
|
4871
|
+
requestDecorator: (request) => {
|
|
4872
|
+
const CSRFToken = Utils.getCSRFToken();
|
|
4873
|
+
request.headers[ACCEPT_LANGUAGE_HEADER] = DL.USER_LANG;
|
|
4874
|
+
if (CSRFToken) {
|
|
4875
|
+
request.headers[X_CSRF_TOKEN_HEADER] = CSRFToken;
|
|
4876
|
+
}
|
|
4877
|
+
if (DL.CURRENT_TENANT_ID) {
|
|
4878
|
+
request.headers[TENANT_ID_HEADER] = DL.CURRENT_TENANT_ID;
|
|
4879
|
+
}
|
|
4880
|
+
let dispayMode = "basic";
|
|
4881
|
+
if (isEmbeddedEntry()) {
|
|
4882
|
+
dispayMode = "secure-embedded";
|
|
4883
|
+
} else if (isIframe()) {
|
|
4884
|
+
dispayMode = "embedded";
|
|
4885
|
+
}
|
|
4886
|
+
request.headers[DISPLAY_MODE_HEADER] = dispayMode;
|
|
4887
|
+
if (DL.DISPLAY_SUPERUSER_SWITCH) {
|
|
4888
|
+
const cookieValue = Utils.getCookie(SUPERUSER_SWITCH_MODE_COOKIE_NAME);
|
|
4889
|
+
const headerValue = cookieValue === ENABLE;
|
|
4890
|
+
if (cookieValue) {
|
|
4891
|
+
request.headers[SuperuserHeader.XDlAllowSuperuser] = headerValue;
|
|
4892
|
+
request.headers[SuperuserHeader.XDlSudo] = headerValue;
|
|
4893
|
+
}
|
|
4894
|
+
}
|
|
4895
|
+
const datalensDebugMode = Utils.restore(DATALENS_DEBUG_MODE_KEY);
|
|
4896
|
+
if (datalensDebugMode === 1) {
|
|
4897
|
+
request.data.datalensDebugMode = 1;
|
|
4898
|
+
}
|
|
4899
|
+
return request;
|
|
4900
|
+
},
|
|
4901
|
+
noJsonFn: isEnabledFeature(Feature.NoJsonFn) || Utils.getCookie(DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME) === DISABLE
|
|
4902
|
+
});
|
|
4903
|
+
var DatalensChartKitOld_default = ChartKitWithCharts;
|
|
4904
|
+
const initChartKitSettings = () => {
|
|
4905
|
+
DatalensChartKitOld_default.registerPlugins(table_default, control_default, markdown_default);
|
|
4906
|
+
DatalensChartKitOld_default.setGeneralSettings({
|
|
4907
|
+
lang: DL.USER_LANG,
|
|
4908
|
+
isMobile: DL.IS_MOBILE,
|
|
4909
|
+
theme: "common",
|
|
4910
|
+
config: isEnabledFeature(Feature.UseConfigurableChartkit),
|
|
4911
|
+
requestIdPrefix: DL.REQUEST_ID_PREFIX,
|
|
4912
|
+
ErrorComponent: Error$1,
|
|
4913
|
+
menu: getChartkitMenu({ chartsDataProvider })
|
|
4914
|
+
});
|
|
4915
|
+
DatalensChartKitOld_default.setDataProviderSettings?.({
|
|
4916
|
+
endpoint: DL.ENDPOINTS.charts,
|
|
4917
|
+
lang: DL.USER_LANG,
|
|
4918
|
+
includeUnresolvedParams: true,
|
|
4919
|
+
requestDecorator: (request) => {
|
|
4920
|
+
if (!request.headers) {
|
|
4921
|
+
request.headers = {};
|
|
4922
|
+
}
|
|
4923
|
+
const CSRFToken = Utils.getCSRFToken();
|
|
4924
|
+
request.headers[ACCEPT_LANGUAGE_HEADER] = DL.USER_LANG;
|
|
4925
|
+
if (CSRFToken) {
|
|
4926
|
+
request.headers[X_CSRF_TOKEN_HEADER$1] = CSRFToken;
|
|
4927
|
+
}
|
|
4928
|
+
if (DL.CURRENT_TENANT_ID) {
|
|
4929
|
+
request.headers[TENANT_ID_HEADER] = DL.CURRENT_TENANT_ID;
|
|
4930
|
+
}
|
|
4931
|
+
let dispayMode = "basic";
|
|
4932
|
+
if (isEmbeddedEntry()) {
|
|
4933
|
+
dispayMode = "secure-embedded";
|
|
4934
|
+
} else if (isIframe()) {
|
|
4935
|
+
dispayMode = "embedded";
|
|
4936
|
+
}
|
|
4937
|
+
request.headers[DISPLAY_MODE_HEADER] = dispayMode;
|
|
4938
|
+
if (DL.DISPLAY_SUPERUSER_SWITCH) {
|
|
4939
|
+
const cookieValue = Utils.getCookie(SUPERUSER_SWITCH_MODE_COOKIE_NAME);
|
|
4940
|
+
const headerValue = cookieValue === ENABLE;
|
|
4941
|
+
if (cookieValue) {
|
|
4942
|
+
request.headers[SuperuserHeader.XDlAllowSuperuser] = headerValue;
|
|
4943
|
+
request.headers[SuperuserHeader.XDlSudo] = headerValue;
|
|
4944
|
+
}
|
|
4945
|
+
}
|
|
4946
|
+
const datalensDebugMode = Utils.restore(DATALENS_DEBUG_MODE_KEY$1);
|
|
4947
|
+
if (datalensDebugMode === 1) {
|
|
4948
|
+
request.data.datalensDebugMode = 1;
|
|
4949
|
+
}
|
|
4950
|
+
return request;
|
|
4951
|
+
},
|
|
4952
|
+
noJsonFn: isEnabledFeature(Feature.NoJsonFn) || Utils.getCookie(DISABLE_JSONFN_SWITCH_MODE_COOKIE_NAME) === DISABLE
|
|
4953
|
+
});
|
|
4954
|
+
};
|
|
4955
|
+
const renderDatalens = (render, config) => {
|
|
4956
|
+
registerAppPlugins(config.pluginsConfig);
|
|
4957
|
+
const { registerPlugins } = config;
|
|
4958
|
+
if (registerPlugins) {
|
|
4959
|
+
registerPlugins();
|
|
4960
|
+
}
|
|
4961
|
+
initChartKitSettings();
|
|
4962
|
+
render();
|
|
4963
|
+
};
|
|
4964
|
+
const getOverridedTheme = (defaultTheme) => {
|
|
4965
|
+
const queryTheme = Utils.getOptionsFromSearch(getLocation().search).theme;
|
|
4966
|
+
return ALLOW_THEMES.includes(queryTheme) ? queryTheme : defaultTheme;
|
|
4967
|
+
};
|
|
4968
|
+
let currentRootElement = null;
|
|
4969
|
+
function mount(rootElement, homePathname) {
|
|
4970
|
+
setHistory(createHashHistory());
|
|
4971
|
+
currentRootElement = rootElement;
|
|
4972
|
+
const Content = () => {
|
|
4973
|
+
const theme2 = getOverridedTheme("light");
|
|
4974
|
+
const themeSettings2 = useSelector(selectThemeSettings);
|
|
4975
|
+
return /* @__PURE__ */ jsx(
|
|
4976
|
+
ThemeProvider,
|
|
4977
|
+
{
|
|
4978
|
+
theme: theme2,
|
|
4979
|
+
systemLightTheme: themeSettings2?.systemLightTheme,
|
|
4980
|
+
systemDarkTheme: themeSettings2?.systemDarkTheme,
|
|
4981
|
+
children: /* @__PURE__ */ jsx(MobileProvider, { mobile: DL.IS_MOBILE, children: /* @__PURE__ */ jsx(HotkeysProvider, { initiallyActiveScopes: [HOTKEYS_SCOPES.GLOBAL], children: /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
4982
|
+
/* @__PURE__ */ jsx(DialogManagerContainer, {}),
|
|
4983
|
+
/* @__PURE__ */ jsx(DatalensPage, { homePathname })
|
|
4984
|
+
] }) }) })
|
|
4985
|
+
}
|
|
4986
|
+
);
|
|
4987
|
+
};
|
|
4988
|
+
const renderApp = () => {
|
|
4989
|
+
Utils.setup();
|
|
4990
|
+
const history = getHistory();
|
|
4991
|
+
const store = getStore();
|
|
4992
|
+
registerSDKDispatch(store.dispatch);
|
|
4993
|
+
ReactDOM.render(
|
|
4994
|
+
/* @__PURE__ */ jsx(Router, { history, children: /* @__PURE__ */ jsx(Provider, { store, children: /* @__PURE__ */ jsx(Content, {}) }) }),
|
|
4995
|
+
rootElement
|
|
4996
|
+
);
|
|
4997
|
+
};
|
|
4998
|
+
renderDatalens(renderApp, {});
|
|
4999
|
+
}
|
|
5000
|
+
function unmount(rootElement) {
|
|
5001
|
+
const targetElement = rootElement || currentRootElement;
|
|
5002
|
+
if (targetElement) {
|
|
5003
|
+
try {
|
|
5004
|
+
ReactDOM.unmountComponentAtNode(targetElement);
|
|
5005
|
+
if (targetElement === currentRootElement) {
|
|
5006
|
+
currentRootElement = null;
|
|
5007
|
+
}
|
|
5008
|
+
resetStore();
|
|
5009
|
+
} catch (error) {
|
|
5010
|
+
console.error("Error unmounting DataLens main.tsx:", error);
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
}
|
|
5014
|
+
export {
|
|
5015
|
+
bEditPanelItem as b,
|
|
5016
|
+
mount as m,
|
|
5017
|
+
unmount as u
|
|
5018
|
+
};
|