@retailcrm/datalens-ui 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccessErrorPage.js +18 -0
- package/AdvancedChartWidget.js +253 -0
- package/AppearanceSettings.js +45 -0
- package/Body.js +2328 -0
- package/CreateProfilePage.js +142 -0
- package/HighchartsMapWidget.js +602 -0
- package/LICENSE +203 -0
- package/MainPage.js +121 -0
- package/MarkupWidget.js +33 -0
- package/MetricWidget.js +579 -0
- package/StyledSplitPane.js +41 -0
- package/UserProfilePage.js +44 -0
- package/UsersList.js +306 -0
- package/YandexMapWidget.js +2698 -0
- package/assets/images/dark/403.js +4 -0
- package/assets/images/dark/404.js +4 -0
- package/assets/images/dark/500.js +4 -0
- package/assets/images/dark/bad_request.js +4 -0
- package/assets/images/dark/empty_directory.js +4 -0
- package/assets/images/dark/empty_state.js +4 -0
- package/assets/images/dark/no_accounts.js +4 -0
- package/assets/images/dark/no_permission.js +4 -0
- package/assets/images/dark/project.js +4 -0
- package/assets/images/dark/success_operation.js +4 -0
- package/assets/images/light/403.js +4 -0
- package/assets/images/light/404.js +4 -0
- package/assets/images/light/500.js +4 -0
- package/assets/images/light/bad_request.js +4 -0
- package/assets/images/light/empty_directory.js +4 -0
- package/assets/images/light/empty_state.js +4 -0
- package/assets/images/light/no_accounts.js +4 -0
- package/assets/images/light/no_permission.js +4 -0
- package/assets/images/light/project.js +4 -0
- package/assets/images/light/success_operation.js +4 -0
- package/components/AccessRights.js +5908 -0
- package/components/ActionPanel.js +3507 -0
- package/components/AdaptiveDialog.js +45 -0
- package/components/AnimateBlock.js +38 -0
- package/components/AsideHeaderAdapter.js +632 -0
- package/components/AsyncImage.js +77 -0
- package/components/AutogeneratedPaletteIcon.js +53 -0
- package/components/BetaMark.js +9 -0
- package/components/Breadcrumbs.js +70 -0
- package/components/BreadcrumbsItemLink.js +16 -0
- package/components/ButtonAttach.js +32 -0
- package/components/Collapse.js +159 -0
- package/components/CollectionFilters.js +340 -0
- package/components/CollectionIcon.js +14 -0
- package/components/CollectionsStructure.js +3262 -0
- package/components/ColorPaletteEditorContainer.js +1091 -0
- package/components/ColorPaletteSelect.js +120 -0
- package/components/ColorPickerInput.js +199 -0
- package/components/ConnectorIcon.js +65 -0
- package/components/ControlComponents.js +24341 -0
- package/components/CopyEntriesToWorkbookDialog.js +414 -0
- package/components/DashKit.js +4026 -0
- package/components/DataTypeIcon.js +68 -0
- package/components/DatasetFieldList.js +51 -0
- package/components/DebouncedInput.js +47 -0
- package/components/DialogAddSharedEntryFromLink.js +146 -0
- package/components/DialogChartWidget.js +1265 -0
- package/components/DialogCommon.js +91 -0
- package/components/DialogConfirm.js +69 -0
- package/components/DialogDefault.js +78 -0
- package/components/DialogEditItem.js +183 -0
- package/components/DialogEntryDescription.js +175 -0
- package/components/DialogErrorWithTabs.js +373 -0
- package/components/DialogExternalControl.js +108 -0
- package/components/DialogFieldEditor.js +45 -0
- package/components/DialogFilter.js +3735 -0
- package/components/DialogGroupControl.js +926 -0
- package/components/DialogImageWidget.js +203 -0
- package/components/DialogManager.js +42 -0
- package/components/DialogNoRights.js +19 -0
- package/components/DialogParameter.js +560 -0
- package/components/DialogQLParameter.js +71 -0
- package/components/DialogRelatedEntities.js +230 -0
- package/components/DialogRelations.js +3389 -0
- package/components/DialogSelectSharedEntry.js +129 -0
- package/components/DialogSharedEntryBindings.js +496 -0
- package/components/DialogSharedEntryPermissions.js +147 -0
- package/components/DialogSharedEntryUnbind.js +124 -0
- package/components/DialogSharedRelatedEntities.js +196 -0
- package/components/DialogSuccessWithAction.js +23 -0
- package/components/DialogTextWidget.js +211 -0
- package/components/DialogTitleWidget.js +580 -0
- package/components/DialogWarning.js +51 -0
- package/components/DropdownAction.js +13 -0
- package/components/DropdownNavigation.js +173 -0
- package/components/EditableText.js +56 -0
- package/components/EntitiesList.js +54 -0
- package/components/EntityIcon.js +47 -0
- package/components/EntityLink.js +14 -0
- package/components/EntityRow.js +99 -0
- package/components/EntriesList.js +55 -0
- package/components/EntryBreadcrumbs.js +111 -0
- package/components/EntryContextMenu.js +792 -0
- package/components/EntryDialogues.js +2515 -0
- package/components/EntryIcon.js +102 -0
- package/components/EntryRow.js +99 -0
- package/components/EntryTitle.js +57 -0
- package/components/ErrorBoundary.js +24 -0
- package/components/ErrorContent.js +249 -0
- package/components/ErrorPage.js +30 -0
- package/components/ExpandablePanel.js +67 -0
- package/components/FieldEditor.js +2240 -0
- package/components/FieldWrapper.js +15 -0
- package/components/FloatMenu.js +41 -0
- package/components/FormSection.js +16 -0
- package/components/FormattedValue.js +1 -0
- package/components/IamAccessDialog.js +15 -0
- package/components/IconById.js +14 -0
- package/components/Illustration.js +94 -0
- package/components/InaccessibleOnMobileInset.js +39 -0
- package/components/Interpolate.js +32 -0
- package/components/InterpolatedText.js +47 -0
- package/components/LandingPage.js +50 -0
- package/components/ListWithMenu.js +191 -0
- package/components/ListWithRemove.js +42 -0
- package/components/LocationChange.js +23 -0
- package/components/MarkdownControl.js +21 -0
- package/components/MarkdownHelpPopover.js +77 -0
- package/components/Markup.js +200 -0
- package/components/MigrateToWorkbookDialog.js +498 -0
- package/components/MobileHeader.js +142 -0
- package/components/MobileTocToggle.js +16 -0
- package/components/Monaco.js +112 -0
- package/components/Navigation.js +2675 -0
- package/components/NavigationPrompt.js +18 -0
- package/components/NavigationTabs.js +84 -0
- package/components/NumberFormatSettings.js +193 -0
- package/components/OpenDialogNeedReset.js +49 -0
- package/components/OrderBySelect.js +51 -0
- package/components/PageTitle.js +53 -0
- package/components/PaletteIcon.js +25 -0
- package/components/PaletteItem.js +44 -0
- package/components/PathSelect.js +113 -0
- package/components/PlaceholderIllustration.js +37 -0
- package/components/Progress.js +47 -0
- package/components/ProgressBar.js +19 -0
- package/components/RelativeDatesPicker.js +675 -0
- package/components/RevisionStatusPoint.js +25 -0
- package/components/Revisions.js +314 -0
- package/components/RevisionsPanel.js +278 -0
- package/components/SectionWrapper.js +52 -0
- package/components/Select.js +404 -0
- package/components/SelectComponents.js +12 -0
- package/components/SelectMigrationToWorkbookDialog.js +162 -0
- package/components/SharedBindingsList.js +93 -0
- package/components/SharedEntryIcon.js +22 -0
- package/components/SlugifyUrl.js +22 -0
- package/components/SmartLoader.js +28 -0
- package/components/TabMenu.js +356 -0
- package/components/Tabs.js +66 -0
- package/components/TagInput.js +142 -0
- package/components/TemplateTextPaper.js +32 -0
- package/components/TextEditor.js +41 -0
- package/components/UserAvatar.js +233 -0
- package/components/UserMenu.js +54 -0
- package/components/ValuesList.js +55 -0
- package/components/Veil.js +19 -0
- package/components/ViewAsync.js +45 -0
- package/components/ViewError.js +115 -0
- package/components/ViewLoader.js +17 -0
- package/components/WidgetRoundingsInput.js +47 -0
- package/components/Widgets.js +3964 -0
- package/components/WorkbookIcon.js +63 -0
- package/components/WorkbookNavigationMinimal.js +345 -0
- package/components/YfmWrapper.js +144 -0
- package/components/common.js +4451 -0
- package/highcharts.js +380 -0
- package/index.css +24402 -0
- package/index.js +24 -0
- package/main.js +5018 -0
- package/markdown.js +362 -0
- package/package.json +107 -0
- package/pages/AuthPage.js +604 -0
- package/pages/CollectionsNavigationPage.js +2579 -0
- package/pages/ConnectionsPage.js +11918 -0
- package/pages/DashAndWizardQLPages.js +67 -0
- package/pages/DashPage.js +16470 -0
- package/pages/DatasetPage.js +9986 -0
- package/pages/FallbackPage.js +8 -0
- package/pages/LandingPage.js +8 -0
- package/pages/OwnUserProfilePage.js +878 -0
- package/pages/PreviewPage.js +284 -0
- package/pages/QLPage.js +9628 -0
- package/pages/ServiceSettingsPage.js +180 -0
- package/pages/WizardPage.js +2774 -0
- package/perfomance.js +23 -0
- package/serviceSettings.js +117 -0
- package/types/i18n/constants.d.ts +4 -0
- package/types/i18n/index.d.ts +6 -0
- package/types/i18n/prepare-keysets/constants.d.ts +2 -0
- package/types/i18n/prepare-keysets/index.d.ts +1 -0
- package/types/i18n/prepare-keysets/prepare-keysets.d.ts +1 -0
- package/types/i18n/prepare-keysets/utils.d.ts +22 -0
- package/types/i18n/read-keysets.d.ts +5 -0
- package/types/i18n/types.d.ts +11 -0
- package/types/i18n/utils.d.ts +12 -0
- package/types/index.d.ts +2 -0
- package/types/server/app-env.d.ts +10 -0
- package/types/server/callbacks/index.d.ts +4 -0
- package/types/server/callbacks/page-error.d.ts +3 -0
- package/types/server/components/api-docs/constants.d.ts +1 -0
- package/types/server/components/api-docs/index.d.ts +1 -0
- package/types/server/components/api-docs/types.d.ts +11 -0
- package/types/server/components/app-layout/app-layout-settings.d.ts +3 -0
- package/types/server/components/app-layout/plugins/layout/index.d.ts +2 -0
- package/types/server/components/auth/callbacks/auth-layout.d.ts +3 -0
- package/types/server/components/auth/callbacks/index.d.ts +4 -0
- package/types/server/components/auth/middlewares/auth/api-auth.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/constants.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/index.d.ts +2 -0
- package/types/server/components/auth/middlewares/auth/ui-auth.d.ts +2 -0
- package/types/server/components/auth/routes.d.ts +4 -0
- package/types/server/components/auth/types/token.d.ts +10 -0
- package/types/server/components/auth/types/user.d.ts +14 -0
- package/types/server/components/axios.d.ts +3 -0
- package/types/server/components/cache-client.d.ts +30 -0
- package/types/server/components/chart-editor-developer-mode-access-check.d.ts +2 -0
- package/types/server/components/charts-engine/components/chart-generator.d.ts +70 -0
- package/types/server/components/charts-engine/components/chart-validator.d.ts +6 -0
- package/types/server/components/charts-engine/components/error-handler.d.ts +15 -0
- package/types/server/components/charts-engine/components/markdown.d.ts +6 -0
- package/types/server/components/charts-engine/components/processor/chart-api-context.d.ts +14 -0
- package/types/server/components/charts-engine/components/processor/comments-fetcher.d.ts +72 -0
- package/types/server/components/charts-engine/components/processor/console.d.ts +13 -0
- package/types/server/components/charts-engine/components/processor/control-builder.d.ts +10 -0
- package/types/server/components/charts-engine/components/processor/data-fetcher.d.ts +110 -0
- package/types/server/components/charts-engine/components/processor/hooks.d.ts +48 -0
- package/types/server/components/charts-engine/components/processor/index.d.ts +84 -0
- package/types/server/components/charts-engine/components/processor/paramsUtils.d.ts +17 -0
- package/types/server/components/charts-engine/components/processor/sources.d.ts +10 -0
- package/types/server/components/charts-engine/components/processor/stack-trace-prepaper.d.ts +3 -0
- package/types/server/components/charts-engine/components/processor/types.d.ts +169 -0
- package/types/server/components/charts-engine/components/processor/utils.d.ts +12 -0
- package/types/server/components/charts-engine/components/processor/worker-chart-builder.d.ts +26 -0
- package/types/server/components/charts-engine/components/request/axios.d.ts +54 -0
- package/types/server/components/charts-engine/components/request/index.d.ts +36 -0
- package/types/server/components/charts-engine/components/storage/base.d.ts +76 -0
- package/types/server/components/charts-engine/components/storage/index.d.ts +7 -0
- package/types/server/components/charts-engine/components/storage/types.d.ts +94 -0
- package/types/server/components/charts-engine/components/storage/united-storage/index.d.ts +3 -0
- package/types/server/components/charts-engine/components/storage/united-storage/provider.d.ts +115 -0
- package/types/server/components/charts-engine/components/utils.d.ts +26 -0
- package/types/server/components/charts-engine/components/wizard-worker/index.d.ts +1 -0
- package/types/server/components/charts-engine/components/wizard-worker/types.d.ts +72 -0
- package/types/server/components/charts-engine/components/wizard-worker/utils.d.ts +3 -0
- package/types/server/components/charts-engine/constants/index.d.ts +53 -0
- package/types/server/components/charts-engine/controllers/charts.d.ts +49 -0
- package/types/server/components/charts-engine/controllers/config.d.ts +3 -0
- package/types/server/components/charts-engine/controllers/csvConverter.d.ts +13 -0
- package/types/server/components/charts-engine/controllers/embedded-entry.d.ts +2 -0
- package/types/server/components/charts-engine/controllers/embeds.d.ts +3 -0
- package/types/server/components/charts-engine/controllers/export.d.ts +2 -0
- package/types/server/components/charts-engine/controllers/markdown.d.ts +5 -0
- package/types/server/components/charts-engine/controllers/run.d.ts +10 -0
- package/types/server/components/charts-engine/controllers/utils.d.ts +29 -0
- package/types/server/components/charts-engine/index.d.ts +49 -0
- package/types/server/components/charts-engine/runners/common.d.ts +59 -0
- package/types/server/components/charts-engine/runners/control.d.ts +2 -0
- package/types/server/components/charts-engine/runners/index.d.ts +25 -0
- package/types/server/components/charts-engine/runners/utils.d.ts +1 -0
- package/types/server/components/charts-engine/runners/wizard.d.ts +2 -0
- package/types/server/components/charts-engine/runners/worker.d.ts +8 -0
- package/types/server/components/charts-engine/types.d.ts +169 -0
- package/types/server/components/features/features-list/AsideHeaderEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/AuthUpdateWithTimeout.d.ts +3 -0
- package/types/server/components/features/features-list/ChartEditorDeveloperModeCheck.d.ts +3 -0
- package/types/server/components/features/features-list/ChartkitAlerts.d.ts +3 -0
- package/types/server/components/features/features-list/CollectionsAccessEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/CollectionsEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/Comments.d.ts +3 -0
- package/types/server/components/features/features-list/ConnectionBasedControl.d.ts +3 -0
- package/types/server/components/features/features-list/CopyEntriesToWorkbook.d.ts +3 -0
- package/types/server/components/features/features-list/DashBoardSupportDescription.d.ts +3 -0
- package/types/server/components/features/features-list/DashBoardWidgetParamsStrictValidation.d.ts +3 -0
- package/types/server/components/features/features-list/DashServerMigrationEnable.d.ts +3 -0
- package/types/server/components/features/features-list/DashServerValidationEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/DatasetsRLS.d.ts +3 -0
- package/types/server/components/features/features-list/DisableFnAndHtml.d.ts +3 -0
- package/types/server/components/features/features-list/EnableAutocreateDataset.d.ts +3 -0
- package/types/server/components/features/features-list/EnableChartEditorDocs.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCommonChartDashSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCustomDashMargins.d.ts +3 -0
- package/types/server/components/features/features-list/EnableCustomMonitoring.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDLRebranding.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashAutoFocus.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashChartStat.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDashColorPickersByTheme.d.ts +3 -0
- package/types/server/components/features/features-list/EnableDatasetSourcesPagination.d.ts +3 -0
- package/types/server/components/features/features-list/EnableEmbedsInDialogShare.d.ts +3 -0
- package/types/server/components/features/features-list/EnableEntryMenuItemShare.d.ts +3 -0
- package/types/server/components/features/features-list/EnableExportSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableExportWorkbookFile.d.ts +3 -0
- package/types/server/components/features/features-list/EnableFileUploadingByPresignedUrl.d.ts +3 -0
- package/types/server/components/features/features-list/EnableFooter.d.ts +3 -0
- package/types/server/components/features/features-list/EnableGlobalSelectors.d.ts +3 -0
- package/types/server/components/features/features-list/EnableMobileFixedHeader.d.ts +3 -0
- package/types/server/components/features/features-list/EnableMobileHeader.d.ts +3 -0
- package/types/server/components/features/features-list/EnableNewDashSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnableNewServiceSettings.d.ts +3 -0
- package/types/server/components/features/features-list/EnablePublishEntry.d.ts +3 -0
- package/types/server/components/features/features-list/EnableRLSV2.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSaveAsEditorScript.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSecureParamsV2.d.ts +3 -0
- package/types/server/components/features/features-list/EnableServerlessEditor.d.ts +3 -0
- package/types/server/components/features/features-list/EnableSharedEntries.d.ts +3 -0
- package/types/server/components/features/features-list/EnableUpdatingDsSettingsByAction.d.ts +3 -0
- package/types/server/components/features/features-list/EntryMenuItemCopy.d.ts +3 -0
- package/types/server/components/features/features-list/EntryMenuItemMove.d.ts +3 -0
- package/types/server/components/features/features-list/ExternalSelectors.d.ts +3 -0
- package/types/server/components/features/features-list/FetchDocumentation.d.ts +3 -0
- package/types/server/components/features/features-list/FieldEditorDocSection.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForBarYAndScatter.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForLineAreaAndBarX.d.ts +3 -0
- package/types/server/components/features/features-list/GravityChartsForPieAndTreemap.d.ts +3 -0
- package/types/server/components/features/features-list/HideMultitenant.d.ts +3 -0
- package/types/server/components/features/features-list/HolidaysOnChart.d.ts +3 -0
- package/types/server/components/features/features-list/MassRemoveCollectionsWorkbooks.d.ts +3 -0
- package/types/server/components/features/features-list/MenuItemsFlatView.d.ts +3 -0
- package/types/server/components/features/features-list/MultiDatasets.d.ts +3 -0
- package/types/server/components/features/features-list/MultipleColorsInVisualization.d.ts +3 -0
- package/types/server/components/features/features-list/NewTableWidgetForCE.d.ts +3 -0
- package/types/server/components/features/features-list/NoJsonFn.d.ts +3 -0
- package/types/server/components/features/features-list/QLMonitoring.d.ts +3 -0
- package/types/server/components/features/features-list/QLPrometheus.d.ts +3 -0
- package/types/server/components/features/features-list/QlAutoExecuteMonitoringChart.d.ts +3 -0
- package/types/server/components/features/features-list/ReadOnlyMode.d.ts +3 -0
- package/types/server/components/features/features-list/RevisionsListNoLimit.d.ts +3 -0
- package/types/server/components/features/features-list/ShouldCheckEditorAccess.d.ts +3 -0
- package/types/server/components/features/features-list/ShowChartsEngineDebugInfo.d.ts +3 -0
- package/types/server/components/features/features-list/ShowCreateEntryWithMenu.d.ts +3 -0
- package/types/server/components/features/features-list/ShowInspectorDetails.d.ts +3 -0
- package/types/server/components/features/features-list/UseAxiosRequest.d.ts +3 -0
- package/types/server/components/features/features-list/UseChartsEngineLogin.d.ts +3 -0
- package/types/server/components/features/features-list/UseChartsEngineResponseConfig.d.ts +3 -0
- package/types/server/components/features/features-list/UseComponentHeader.d.ts +3 -0
- package/types/server/components/features/features-list/UseConfigurableChartkit.d.ts +3 -0
- package/types/server/components/features/features-list/UsePublicDistincts.d.ts +3 -0
- package/types/server/components/features/features-list/UseYqlFolderKey.d.ts +3 -0
- package/types/server/components/features/features-list/XlsxChartExportEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/XlsxFilesEnabled.d.ts +3 -0
- package/types/server/components/features/features-list/index.d.ts +3 -0
- package/types/server/components/features/index.d.ts +2 -0
- package/types/server/components/features/utils.d.ts +15 -0
- package/types/server/components/gateway-auth-helpers/bi-auth-helpers.d.ts +9 -0
- package/types/server/components/gateway-auth-helpers/index.d.ts +2 -0
- package/types/server/components/gateway-auth-helpers/us-auth-helpers.d.ts +9 -0
- package/types/server/components/index.d.ts +4 -0
- package/types/server/components/layout/index.d.ts +2 -0
- package/types/server/components/layout/landing-layout.d.ts +3 -0
- package/types/server/components/layout/opensource-layout-config.d.ts +2 -0
- package/types/server/components/layout/utils.d.ts +9 -0
- package/types/server/components/metrika-data-formatter.d.ts +2 -0
- package/types/server/components/public-api/config/index.d.ts +1 -0
- package/types/server/components/public-api/config/v1.d.ts +330 -0
- package/types/server/components/public-api/constants/common.d.ts +21 -0
- package/types/server/components/public-api/constants/index.d.ts +1 -0
- package/types/server/components/public-api/index.d.ts +2 -0
- package/types/server/components/public-api/types.d.ts +39 -0
- package/types/server/components/public-api/utils/index.d.ts +3 -0
- package/types/server/components/public-api/utils/init-public-api-swagger.d.ts +2 -0
- package/types/server/components/public-api/utils/prepare-public-api-base-config.d.ts +4 -0
- package/types/server/components/public-api/utils/register-action-to-open-api.d.ts +9 -0
- package/types/server/components/resolve-entry-by-link.d.ts +9 -0
- package/types/server/components/sdk/dash.d.ts +32 -0
- package/types/server/components/sdk/index.d.ts +2 -0
- package/types/server/components/sdk/us.d.ts +22 -0
- package/types/server/components/workbook-transfer/charts.d.ts +56 -0
- package/types/server/components/workbook-transfer/create-transfer-notifications.d.ts +21 -0
- package/types/server/components/workbook-transfer/dash.d.ts +35 -0
- package/types/server/components/zitadel/init-zitadel.d.ts +6 -0
- package/types/server/components/zitadel/routes.d.ts +8 -0
- package/types/server/components/zitadel/utils.d.ts +23 -0
- package/types/server/configs/common.d.ts +24 -0
- package/types/server/configs/opensource/common.d.ts +115 -0
- package/types/server/configs/opensource/development.d.ts +4 -0
- package/types/server/configs/secrets.d.ts +3 -0
- package/types/server/configs/shared/control-dash-chart-template.d.ts +8 -0
- package/types/server/configs/shared/datalens-chart-template.d.ts +9 -0
- package/types/server/configs/shared/ql-chart-template.d.ts +11 -0
- package/types/server/constants/axios.d.ts +6 -0
- package/types/server/constants/index.d.ts +23 -0
- package/types/server/constants/public-api.d.ts +1 -0
- package/types/server/controllers/api.d.ts +4 -0
- package/types/server/controllers/dl-main.d.ts +2 -0
- package/types/server/controllers/index.d.ts +6 -0
- package/types/server/controllers/navigate.d.ts +2 -0
- package/types/server/controllers/navigation.d.ts +2 -0
- package/types/server/controllers/ping.d.ts +2 -0
- package/types/server/controllers/public-api/constants.d.ts +10 -0
- package/types/server/controllers/public-api/index.d.ts +3 -0
- package/types/server/controllers/public-api/utils.d.ts +14 -0
- package/types/server/controllers/stats.d.ts +2 -0
- package/types/server/controllers/utils/handle-entry-redirect.d.ts +3 -0
- package/types/server/controllers/workbook-transfer.d.ts +34 -0
- package/types/server/controllers/xlsx-converter.d.ts +9 -0
- package/types/server/controllers/zitadel.d.ts +2 -0
- package/types/server/expresskit.d.ts +7 -0
- package/types/server/index.d.ts +0 -0
- package/types/server/lib/validation/index.d.ts +3 -0
- package/types/server/lib/validation/types.d.ts +12 -0
- package/types/server/local-dev.d.ts +1 -0
- package/types/server/middlewares/app-layout.d.ts +9 -0
- package/types/server/middlewares/auth-zitadel.d.ts +2 -0
- package/types/server/middlewares/before-auth-defaults.d.ts +2 -0
- package/types/server/middlewares/connector-icons.d.ts +10 -0
- package/types/server/middlewares/ctx.d.ts +2 -0
- package/types/server/middlewares/index.d.ts +9 -0
- package/types/server/middlewares/patch-logger.d.ts +2 -0
- package/types/server/middlewares/scr-requests.d.ts +2 -0
- package/types/server/middlewares/server-feature-with-bounded-context.d.ts +2 -0
- package/types/server/middlewares/tenant-settings.d.ts +2 -0
- package/types/server/middlewares/x-dl-context.d.ts +6 -0
- package/types/server/modes/charts/init-charts-engine.d.ts +18 -0
- package/types/server/modes/charts/plugins/constants/middleware-urls.d.ts +3 -0
- package/types/server/modes/charts/plugins/constants/misc.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/constants/misc.d.ts +1 -0
- package/types/server/modes/charts/plugins/control/controls/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/control/helpers/misc.d.ts +13 -0
- package/types/server/modes/charts/plugins/control/index.d.ts +19 -0
- package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-dataset-content.d.ts +8 -0
- package/types/server/modes/charts/plugins/control/js/helpers/dataset/process-fields.d.ts +3 -0
- package/types/server/modes/charts/plugins/control/js/helpers/process-content.d.ts +11 -0
- package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-content.d.ts +3 -0
- package/types/server/modes/charts/plugins/control/js/helpers/typed-query/process-typed-query-parameters.d.ts +6 -0
- package/types/server/modes/charts/plugins/control/js/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/control/js/types.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/types.d.ts +50 -0
- package/types/server/modes/charts/plugins/control/url/constants.d.ts +9 -0
- package/types/server/modes/charts/plugins/control/url/distincts/build-distincts-body.d.ts +10 -0
- package/types/server/modes/charts/plugins/control/url/distincts/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/fields/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/control/url/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/typed-query/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/control/url/types.d.ts +27 -0
- package/types/server/modes/charts/plugins/dash-api.d.ts +14 -0
- package/types/server/modes/charts/plugins/data-api-json-schema.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/chart-editor-module.d.ts +136 -0
- package/types/server/modes/charts/plugins/datalens/config/constants.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/config/index.d.ts +58 -0
- package/types/server/modes/charts/plugins/datalens/config/types.d.ts +57 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/dataLabels.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/format.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/index.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/gravity-charts/utils/range-slider.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/highcharts.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/js/constants/errors.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/colors/index.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/index.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/types.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/errors/oversize-error/utils.d.ts +8 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/index.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/layer-chart/types.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/misc/prepare-single-result.d.ts +20 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/notifications/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/totals/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/js/helpers/totals/types.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/js/js-v1.5-private.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/js/js.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/area/index.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/constants/misc.d.ts +1 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/backgroundColor.d.ts +41 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/color.d.ts +24 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/misc.d.ts +29 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/sort.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/totals.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/helpers/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-head-generator.d.ts +53 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/table-rows-generator.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/backend-pivot-table/types.d.ts +125 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/highcharts.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-x/prepare-bar-x.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/highcharts.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/bar-y/prepare-bar-y-data.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-background-colors-map-by-continuous-column.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/get-flat-table-background-styles.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/background-settings/types.d.ts +39 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/index.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/footer/types.d.ts +29 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/helpers/misc.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/flat-table/index.d.ts +43 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/constants.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/index.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint/types.d.ts +41 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopoint-with-cluster.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/geopolygon.d.ts +33 -0
- package/types/server/modes/charts/plugins/datalens/preparers/heatmap.d.ts +22 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/action-params.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatter.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/addAxisFormatting.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/get-axis-formatting.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/getAxisType.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/index.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/axis/isAxisLabelDateFormat.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/backgroundSettings/misc.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/index.d.ts +16 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/barsSettings/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/colors.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/columnSettings.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/get-formatted-value.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/highcharts.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/layers.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/legend.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/segments.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/helpers/visualizations.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/getLayerPlaceholderWithItems.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/axis/types.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/colorizeByGradient.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/color-helpers/types.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedCategories.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getSortedLineKeys.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/getXAxisValue.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/index.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/getColoredLineLegendTitle.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/helpers.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToDimensionColoredLines.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToLines.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/mapDataToMeasureColoredLines.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/prepareLines.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/line-mappers/types.d.ts +142 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentName.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsIndexInOrder.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsList.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsMap.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/getSegmentsYAxis.d.ts +15 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/segments/types.d.ts +20 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/types.d.ts +67 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/helpers/utils.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/highcharts.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/prepare-line-data.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line/types.d.ts +36 -0
- package/types/server/modes/charts/plugins/datalens/preparers/line-time/index.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/index.d.ts +56 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/utils.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/basic.d.ts +25 -0
- package/types/server/modes/charts/plugins/datalens/preparers/metric/variants/markup.d.ts +44 -0
- package/types/server/modes/charts/plugins/datalens/preparers/old-pivot-table/old-pivot-table.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/gravity-charts.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/highcharts.d.ts +6 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/prepare-pie-data.d.ts +35 -0
- package/types/server/modes/charts/plugins/datalens/preparers/pie/utils.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/polyline.d.ts +36 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/gravity-charts.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/shape.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/helpers/tooltip.d.ts +14 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/highcharts.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/prepare-scatter.d.ts +28 -0
- package/types/server/modes/charts/plugins/datalens/preparers/scatter/types.d.ts +18 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/gravity-charts.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/highcharts.d.ts +40 -0
- package/types/server/modes/charts/plugins/datalens/preparers/treemap/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/datalens/preparers/types.d.ts +74 -0
- package/types/server/modes/charts/plugins/datalens/preparers/utils.d.ts +11 -0
- package/types/server/modes/charts/plugins/datalens/private-module.d.ts +85 -0
- package/types/server/modes/charts/plugins/datalens/types.d.ts +72 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/constants.d.ts +1 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/default-request.d.ts +19 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/index.d.ts +40 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/index.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/totals.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/helpers/types.d.ts +42 -0
- package/types/server/modes/charts/plugins/datalens/url/build-request-body/pivot-request/index.d.ts +8 -0
- package/types/server/modes/charts/plugins/datalens/url/build-sources.d.ts +5 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/fields.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/filters.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/index.d.ts +3 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/misc.d.ts +4 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/parameters.d.ts +16 -0
- package/types/server/modes/charts/plugins/datalens/url/helpers/table-settings.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/url/types.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/utils/axis-helpers.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/utils/color-helpers.d.ts +93 -0
- package/types/server/modes/charts/plugins/datalens/utils/config-helpers.d.ts +9 -0
- package/types/server/modes/charts/plugins/datalens/utils/constants.d.ts +37 -0
- package/types/server/modes/charts/plugins/datalens/utils/export-helpers.d.ts +7 -0
- package/types/server/modes/charts/plugins/datalens/utils/geo-helpers.d.ts +57 -0
- package/types/server/modes/charts/plugins/datalens/utils/get-gradient-stops.d.ts +12 -0
- package/types/server/modes/charts/plugins/datalens/utils/hierarchy-helpers.d.ts +10 -0
- package/types/server/modes/charts/plugins/datalens/utils/markup-helpers.d.ts +26 -0
- package/types/server/modes/charts/plugins/datalens/utils/misc-helpers.d.ts +88 -0
- package/types/server/modes/charts/plugins/datalens/utils/pivot-table/totals.d.ts +13 -0
- package/types/server/modes/charts/plugins/datalens/utils/shape-helpers.d.ts +9 -0
- package/types/server/modes/charts/plugins/dataset/v2.d.ts +71 -0
- package/types/server/modes/charts/plugins/helpers/color-palettes.d.ts +30 -0
- package/types/server/modes/charts/plugins/helpers/misc.d.ts +11 -0
- package/types/server/modes/charts/plugins/logins-blacklist.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/index.d.ts +2 -0
- package/types/server/modes/charts/plugins/ql/module/chart-editor-module.d.ts +69 -0
- package/types/server/modes/charts/plugins/ql/module/config/build-chart-config.d.ts +16 -0
- package/types/server/modes/charts/plugins/ql/module/config/index.d.ts +45 -0
- package/types/server/modes/charts/plugins/ql/module/highcharts.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/module/js/build-graph.d.ts +14 -0
- package/types/server/modes/charts/plugins/ql/module/library-config/build-library-config.d.ts +14 -0
- package/types/server/modes/charts/plugins/ql/module/library-config/index.d.ts +12 -0
- package/types/server/modes/charts/plugins/ql/module/private-module.d.ts +13 -0
- package/types/server/modes/charts/plugins/ql/module/url/build-sources.d.ts +4 -0
- package/types/server/modes/charts/plugins/ql/module/url/index.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/module/url/types.d.ts +9 -0
- package/types/server/modes/charts/plugins/ql/preparers/line-time.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/preparers/line.d.ts +11 -0
- package/types/server/modes/charts/plugins/ql/preparers/metric.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/preparers/pie.d.ts +11 -0
- package/types/server/modes/charts/plugins/ql/preparers/preview-table.d.ts +9 -0
- package/types/server/modes/charts/plugins/ql/preparers/table.d.ts +10 -0
- package/types/server/modes/charts/plugins/ql/ql-chart-runner.d.ts +2 -0
- package/types/server/modes/charts/plugins/ql/types.d.ts +4 -0
- package/types/server/modes/charts/plugins/ql/utils/autofill-helpers.d.ts +38 -0
- package/types/server/modes/charts/plugins/ql/utils/colors.d.ts +19 -0
- package/types/server/modes/charts/plugins/ql/utils/connection.d.ts +5 -0
- package/types/server/modes/charts/plugins/ql/utils/constants.d.ts +8 -0
- package/types/server/modes/charts/plugins/ql/utils/identify-params.d.ts +6 -0
- package/types/server/modes/charts/plugins/ql/utils/migrate-helpers.d.ts +30 -0
- package/types/server/modes/charts/plugins/ql/utils/misc-helpers.d.ts +139 -0
- package/types/server/modes/charts/plugins/ql/utils/value-helpers.d.ts +5 -0
- package/types/server/modes/charts/plugins/ql/utils/visualization-utils.d.ts +21 -0
- package/types/server/modes/charts/plugins/ql/worker.d.ts +1 -0
- package/types/server/modes/charts/plugins/ql/yagr.d.ts +7 -0
- package/types/server/modes/charts/plugins/request-with-dataset/index.d.ts +26 -0
- package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/charts-with-dataset.d.ts +15 -0
- package/types/server/modes/charts/plugins/request-with-dataset/middlewareAdapters/controls-with-dataset.d.ts +13 -0
- package/types/server/modes/charts/plugins/request-with-dataset/request-dataset.d.ts +24 -0
- package/types/server/modes/charts/plugins/runner-key-adapter.d.ts +8 -0
- package/types/server/modes/charts/plugins/types.d.ts +62 -0
- package/types/server/modes/charts/telemetry.d.ts +3 -0
- package/types/server/modes/opensource/app.d.ts +3 -0
- package/types/server/modes/opensource/middlewares/index.d.ts +1 -0
- package/types/server/modes/opensource/middlewares/subrequest-headers.d.ts +2 -0
- package/types/server/modes/opensource/routes.d.ts +12 -0
- package/types/server/nodekit.d.ts +3 -0
- package/types/server/registry/index.d.ts +114 -0
- package/types/server/registry/units/common/auth-functions-map.d.ts +10 -0
- package/types/server/registry/units/common/functions-map.d.ts +16 -0
- package/types/server/registry/units/common/index.d.ts +70 -0
- package/types/server/registry/units/common/register.d.ts +1 -0
- package/types/server/registry/utils/register-app-plugins.d.ts +1 -0
- package/types/server/types/app-layout.d.ts +18 -0
- package/types/server/types/connections.d.ts +2 -0
- package/types/server/types/controllers.d.ts +16 -0
- package/types/server/types/gateway.d.ts +7 -0
- package/types/server/types/xlsxConverter.d.ts +9 -0
- package/types/server/utils/axios.d.ts +3 -0
- package/types/server/utils/env-utils.d.ts +1 -0
- package/types/server/utils/gateway.d.ts +9 -0
- package/types/server/utils/index.d.ts +43 -0
- package/types/server/utils/language.d.ts +18 -0
- package/types/server/utils/redis.d.ts +20 -0
- package/types/server/utils/routes.d.ts +2 -0
- package/types/server/utils/schema-validate.d.ts +1 -0
- package/types/shared/components/auth/constants/cookie.d.ts +2 -0
- package/types/shared/components/auth/constants/role.d.ts +7 -0
- package/types/shared/components/auth/constants/token.d.ts +1 -0
- package/types/shared/components/auth/constants/url.d.ts +1 -0
- package/types/shared/components/auth/types/layout.d.ts +6 -0
- package/types/shared/components/public-api/utils/index.d.ts +1 -0
- package/types/shared/constants/api-v2.d.ts +4 -0
- package/types/shared/constants/chartkit-handlers.d.ts +13 -0
- package/types/shared/constants/charts.d.ts +6 -0
- package/types/shared/constants/collections.d.ts +5 -0
- package/types/shared/constants/colors/common/classic-20.d.ts +3 -0
- package/types/shared/constants/colors/common/datalens.d.ts +3 -0
- package/types/shared/constants/colors/common/default-20.d.ts +3 -0
- package/types/shared/constants/colors/common/emerald-20.d.ts +3 -0
- package/types/shared/constants/colors/common/golden-20.d.ts +3 -0
- package/types/shared/constants/colors/common/neutral-20.d.ts +3 -0
- package/types/shared/constants/colors/common/oceanic-20.d.ts +3 -0
- package/types/shared/constants/colors/common/traffic-light-9.d.ts +3 -0
- package/types/shared/constants/colors/index.d.ts +24 -0
- package/types/shared/constants/colors/tableau/blue-red-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/blue-red-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/color-blind-10.d.ts +3 -0
- package/types/shared/constants/colors/tableau/gray-5.d.ts +3 -0
- package/types/shared/constants/colors/tableau/green-orange-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/green-orange-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/purpure-gray-12.d.ts +3 -0
- package/types/shared/constants/colors/tableau/purpure-gray-6.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10-light.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10-medium.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-10.d.ts +3 -0
- package/types/shared/constants/colors/tableau/tableau-20.d.ts +3 -0
- package/types/shared/constants/colors/tableau/traffic-light.d.ts +3 -0
- package/types/shared/constants/colors/types.d.ts +71 -0
- package/types/shared/constants/common.d.ts +107 -0
- package/types/shared/constants/connections.d.ts +94 -0
- package/types/shared/constants/cookie.d.ts +2 -0
- package/types/shared/constants/dash.d.ts +32 -0
- package/types/shared/constants/datasets.d.ts +4 -0
- package/types/shared/constants/datepicker/relative-datepicker.d.ts +11 -0
- package/types/shared/constants/entry.d.ts +65 -0
- package/types/shared/constants/error/index.d.ts +10 -0
- package/types/shared/constants/error-codes.d.ts +61 -0
- package/types/shared/constants/exports.d.ts +15 -0
- package/types/shared/constants/gradients/default.d.ts +14 -0
- package/types/shared/constants/gradients/index.d.ts +132 -0
- package/types/shared/constants/gradients/three-point/blue-gray-red.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/blue-yellow-red.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-blue-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-gray-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/orange-violet-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/pink-gray-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/red-orange-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/traffic-light.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/violet-blue-green.d.ts +5 -0
- package/types/shared/constants/gradients/three-point/yellow-green-blue.d.ts +5 -0
- package/types/shared/constants/gradients/three-point-gradients.d.ts +48 -0
- package/types/shared/constants/gradients/two-point/blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/cyan.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/golden.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/gray.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/green-blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/green.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/oceanic.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/orange-yellow.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/red-blue.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/red.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/violet-orange.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/violet.d.ts +5 -0
- package/types/shared/constants/gradients/two-point/yellow.d.ts +5 -0
- package/types/shared/constants/gradients/two-point-gradients.d.ts +60 -0
- package/types/shared/constants/header.d.ts +42 -0
- package/types/shared/constants/index.d.ts +33 -0
- package/types/shared/constants/markdown.d.ts +1 -0
- package/types/shared/constants/markup.d.ts +1 -0
- package/types/shared/constants/navigation.d.ts +20 -0
- package/types/shared/constants/old-schema.d.ts +3 -0
- package/types/shared/constants/placeholder.d.ts +28 -0
- package/types/shared/constants/print.d.ts +2 -0
- package/types/shared/constants/qa/action-panel.d.ts +14 -0
- package/types/shared/constants/qa/chart.d.ts +53 -0
- package/types/shared/constants/qa/collections.d.ts +11 -0
- package/types/shared/constants/qa/components.d.ts +176 -0
- package/types/shared/constants/qa/connections.d.ts +32 -0
- package/types/shared/constants/qa/control.d.ts +76 -0
- package/types/shared/constants/qa/dash.d.ts +97 -0
- package/types/shared/constants/qa/datasets.d.ts +53 -0
- package/types/shared/constants/qa/dl-navigation.d.ts +9 -0
- package/types/shared/constants/qa/field-editor.d.ts +3 -0
- package/types/shared/constants/qa/index.d.ts +16 -0
- package/types/shared/constants/qa/ql.d.ts +28 -0
- package/types/shared/constants/qa/settings.d.ts +11 -0
- package/types/shared/constants/qa/sign-in.d.ts +5 -0
- package/types/shared/constants/qa/uikit.d.ts +7 -0
- package/types/shared/constants/qa/visualization.d.ts +18 -0
- package/types/shared/constants/qa/wizard.d.ts +174 -0
- package/types/shared/constants/qa/workbooks.d.ts +18 -0
- package/types/shared/constants/ql.d.ts +27 -0
- package/types/shared/constants/shapes/index.d.ts +2 -0
- package/types/shared/constants/shapes/lines/index.d.ts +42 -0
- package/types/shared/constants/shapes/points/index.d.ts +8 -0
- package/types/shared/constants/themes.d.ts +17 -0
- package/types/shared/constants/timeout.d.ts +9 -0
- package/types/shared/constants/ui-sandbox.d.ts +1 -0
- package/types/shared/constants/url.d.ts +5 -0
- package/types/shared/constants/user.d.ts +4 -0
- package/types/shared/constants/visualization.d.ts +36 -0
- package/types/shared/constants/widgets.d.ts +30 -0
- package/types/shared/constants/wizard.d.ts +55 -0
- package/types/shared/constants/workbook-transfer.d.ts +17 -0
- package/types/shared/constants/workbooks.d.ts +7 -0
- package/types/shared/constants/yfm.d.ts +20 -0
- package/types/shared/endpoints/constants/index.d.ts +2 -0
- package/types/shared/endpoints/constants/opensource.d.ts +62 -0
- package/types/shared/endpoints/index.d.ts +62 -0
- package/types/shared/endpoints/schema/index.d.ts +2 -0
- package/types/shared/endpoints/schema/opensource.d.ts +40 -0
- package/types/shared/endpoints/sources/index.d.ts +19 -0
- package/types/shared/endpoints/sources/opensource.d.ts +2 -0
- package/types/shared/endpoints/sources/types.d.ts +27 -0
- package/types/shared/endpoints/types.d.ts +14 -0
- package/types/shared/endpoints/utils.d.ts +1 -0
- package/types/shared/index.d.ts +6 -0
- package/types/shared/modules/bi-api/index.d.ts +1 -0
- package/types/shared/modules/bi-api/mappers/index.d.ts +1 -0
- package/types/shared/modules/bi-api/mappers/v2.d.ts +14 -0
- package/types/shared/modules/charts-shared.d.ts +71 -0
- package/types/shared/modules/colors/common-helpers.d.ts +7 -0
- package/types/shared/modules/colors/distincts-helpers.d.ts +2 -0
- package/types/shared/modules/config/ql/index.d.ts +1 -0
- package/types/shared/modules/config/ql/mapQlConfigToLatestVersion.d.ts +7 -0
- package/types/shared/modules/config/ql/v1/mapUndefinedConfigToV1.d.ts +3 -0
- package/types/shared/modules/config/ql/v2/mapV1ConfigToV2.d.ts +4 -0
- package/types/shared/modules/config/ql/v3/mapV2ConfigToV3.d.ts +3 -0
- package/types/shared/modules/config/ql/v4/mapV3ConfigToV4.d.ts +3 -0
- package/types/shared/modules/config/ql/v5/mapV4ConfigToV5.d.ts +3 -0
- package/types/shared/modules/config/ql/v6/mapV5ConfigToV6.d.ts +3 -0
- package/types/shared/modules/config/ql/v7/mapV6ConfigToV7.d.ts +3 -0
- package/types/shared/modules/config/utils.d.ts +1 -0
- package/types/shared/modules/config/wizard/index.d.ts +1 -0
- package/types/shared/modules/config/wizard/mapChartsConfigToLatestVersion.d.ts +4 -0
- package/types/shared/modules/config/wizard/mocks/v4.mock.d.ts +21 -0
- package/types/shared/modules/config/wizard/v1/mapV1ConfigToV2.d.ts +3 -0
- package/types/shared/modules/config/wizard/v10/mapV10ConfigToV11.d.ts +2 -0
- package/types/shared/modules/config/wizard/v11/mapV11ConfigToV12.d.ts +2 -0
- package/types/shared/modules/config/wizard/v12/mapV12ConfigToV13.d.ts +2 -0
- package/types/shared/modules/config/wizard/v13/mapV13ConfigToV14.d.ts +3 -0
- package/types/shared/modules/config/wizard/v14/mapV14ConfigToV15.d.ts +3 -0
- package/types/shared/modules/config/wizard/v2/mapV2ConfigToV3.d.ts +3 -0
- package/types/shared/modules/config/wizard/v3/mapV3ConfigToV4.d.ts +4 -0
- package/types/shared/modules/config/wizard/v4/mapV4ConfigToV5.d.ts +2 -0
- package/types/shared/modules/config/wizard/v5/mapV5ConfigToV6.d.ts +2 -0
- package/types/shared/modules/config/wizard/v6/mapV6ConfigToV7.d.ts +2 -0
- package/types/shared/modules/config/wizard/v7/mapV7ConfigToV8.d.ts +2 -0
- package/types/shared/modules/config/wizard/v8/mapV8ConfigToV9.d.ts +2 -0
- package/types/shared/modules/config/wizard/v9/mapV9ConfigToV10.d.ts +2 -0
- package/types/shared/modules/control/typed-query-helpers.d.ts +2 -0
- package/types/shared/modules/dash-scheme-converter.d.ts +15 -0
- package/types/shared/modules/entry.d.ts +6 -0
- package/types/shared/modules/fields.d.ts +12 -0
- package/types/shared/modules/format-units/formatUnit.d.ts +5 -0
- package/types/shared/modules/format-units/i18n/en.json.d.ts +20 -0
- package/types/shared/modules/format-units/i18n/i18n.d.ts +5 -0
- package/types/shared/modules/format-units/i18n/ru.json.d.ts +20 -0
- package/types/shared/modules/format-units/index.d.ts +1 -0
- package/types/shared/modules/format-units/types.d.ts +14 -0
- package/types/shared/modules/helpers.d.ts +38 -0
- package/types/shared/modules/index.d.ts +19 -0
- package/types/shared/modules/language.d.ts +2 -0
- package/types/shared/modules/markdown/emoji-defs.d.ts +1 -0
- package/types/shared/modules/markdown/markdown-plugins/unify-terms.d.ts +4 -0
- package/types/shared/modules/markdown/markdown.d.ts +12 -0
- package/types/shared/modules/markup.d.ts +2 -0
- package/types/shared/modules/qa-helpers.d.ts +5 -0
- package/types/shared/modules/ql-helpers.d.ts +22 -0
- package/types/shared/modules/sleep.d.ts +1 -0
- package/types/shared/modules/slugify.d.ts +3 -0
- package/types/shared/modules/tenant.d.ts +3 -0
- package/types/shared/modules/transliterate.d.ts +1 -0
- package/types/shared/modules/typed-query-api/helpers/parameters.d.ts +2 -0
- package/types/shared/modules/typed-query-api/index.d.ts +1 -0
- package/types/shared/modules/typed-query-api/mappers/parameters.d.ts +3 -0
- package/types/shared/modules/url.d.ts +1 -0
- package/types/shared/modules/user.d.ts +4 -0
- package/types/shared/modules/visualization/placeholder.d.ts +3 -0
- package/types/shared/modules/wizard/axis-mode.d.ts +8 -0
- package/types/shared/modules/wizard/axis-settings.d.ts +2 -0
- package/types/shared/modules/wizard/config.d.ts +2 -0
- package/types/shared/modules/wizard/index.d.ts +3 -0
- package/types/shared/modules/wizard-helpers.d.ts +51 -0
- package/types/shared/old-schema/charts.d.ts +131 -0
- package/types/shared/old-schema/index.d.ts +113 -0
- package/types/shared/schema/auth/actions.d.ts +22 -0
- package/types/shared/schema/auth/index.d.ts +27 -0
- package/types/shared/schema/auth/types/common.d.ts +3 -0
- package/types/shared/schema/auth/types/users.d.ts +86 -0
- package/types/shared/schema/auth-schema/auth/actions.d.ts +12 -0
- package/types/shared/schema/auth-schema/auth/index.d.ts +17 -0
- package/types/shared/schema/auth-schema/auth/types.d.ts +11 -0
- package/types/shared/schema/auth-schema/index.d.ts +18 -0
- package/types/shared/schema/bi/actions/connections.d.ts +31 -0
- package/types/shared/schema/bi/actions/datasets.d.ts +43 -0
- package/types/shared/schema/bi/actions/index.d.ts +66 -0
- package/types/shared/schema/bi/actions/oauth.d.ts +10 -0
- package/types/shared/schema/bi/helpers/datasets.d.ts +58 -0
- package/types/shared/schema/bi/helpers/index.d.ts +1 -0
- package/types/shared/schema/bi/index.d.ts +71 -0
- package/types/shared/schema/bi/schemas/connections.d.ts +20 -0
- package/types/shared/schema/bi/schemas/datasets.d.ts +24 -0
- package/types/shared/schema/bi/schemas/index.d.ts +1 -0
- package/types/shared/schema/bi/types/common.d.ts +5 -0
- package/types/shared/schema/bi/types/connections.d.ts +145 -0
- package/types/shared/schema/bi/types/datasets.d.ts +246 -0
- package/types/shared/schema/bi/types/forms.d.ts +182 -0
- package/types/shared/schema/bi/types/index.d.ts +4 -0
- package/types/shared/schema/bi/types/oauth.d.ts +18 -0
- package/types/shared/schema/bi-converter/actions/index.d.ts +18 -0
- package/types/shared/schema/bi-converter/index.d.ts +23 -0
- package/types/shared/schema/bi-converter/types/index.d.ts +181 -0
- package/types/shared/schema/extensions/actions/iam-access-dialog.d.ts +100 -0
- package/types/shared/schema/extensions/actions/index.d.ts +100 -0
- package/types/shared/schema/extensions/index.d.ts +104 -0
- package/types/shared/schema/extensions/types/iam-access-dialog.d.ts +123 -0
- package/types/shared/schema/extensions/types/index.d.ts +1 -0
- package/types/shared/schema/gateway-utils.d.ts +34 -0
- package/types/shared/schema/googleapis/actions.d.ts +1 -0
- package/types/shared/schema/index.d.ts +3363 -0
- package/types/shared/schema/meta-manager/actions/export.d.ts +12 -0
- package/types/shared/schema/meta-manager/actions/import.d.ts +10 -0
- package/types/shared/schema/meta-manager/actions/index.d.ts +14 -0
- package/types/shared/schema/meta-manager/index.d.ts +19 -0
- package/types/shared/schema/meta-manager/types/export.d.ts +33 -0
- package/types/shared/schema/meta-manager/types/import.d.ts +21 -0
- package/types/shared/schema/meta-manager/types/index.d.ts +2 -0
- package/types/shared/schema/mix/actions/dash/create-dashboard-v1.d.ts +723 -0
- package/types/shared/schema/mix/actions/dash/delete-dashboard.d.ts +9 -0
- package/types/shared/schema/mix/actions/dash/get-dashboard-v1.d.ts +515 -0
- package/types/shared/schema/mix/actions/dash/index.d.ts +1959 -0
- package/types/shared/schema/mix/actions/dash/update-dashboard-v1.d.ts +722 -0
- package/types/shared/schema/mix/actions/editor.d.ts +10 -0
- package/types/shared/schema/mix/actions/entries.d.ts +18 -0
- package/types/shared/schema/mix/actions/index.d.ts +2067 -0
- package/types/shared/schema/mix/actions/markdown.d.ts +11 -0
- package/types/shared/schema/mix/actions/navigation.d.ts +9 -0
- package/types/shared/schema/mix/actions/ql/create-ql-chart.d.ts +23 -0
- package/types/shared/schema/mix/actions/ql/delete-ql-chart.d.ts +8 -0
- package/types/shared/schema/mix/actions/ql/get-ql-chart.d.ts +14 -0
- package/types/shared/schema/mix/actions/ql/index.d.ts +54 -0
- package/types/shared/schema/mix/actions/ql/update-ql-chart.d.ts +22 -0
- package/types/shared/schema/mix/actions/wizard/create-wizard-chart.d.ts +23 -0
- package/types/shared/schema/mix/actions/wizard/delete-wizard-chart.d.ts +8 -0
- package/types/shared/schema/mix/actions/wizard/get-wizard-chart.d.ts +14 -0
- package/types/shared/schema/mix/actions/wizard/index.d.ts +54 -0
- package/types/shared/schema/mix/actions/wizard/update-wizard-chart.d.ts +22 -0
- package/types/shared/schema/mix/helpers/dash/index.d.ts +69 -0
- package/types/shared/schema/mix/helpers/dash/migrate-dash-to-v1.d.ts +2 -0
- package/types/shared/schema/mix/helpers/editor/index.d.ts +6 -0
- package/types/shared/schema/mix/helpers/editor/validation.d.ts +2 -0
- package/types/shared/schema/mix/helpers/entries.d.ts +54 -0
- package/types/shared/schema/mix/helpers/index.d.ts +2 -0
- package/types/shared/schema/mix/helpers/validation.d.ts +1 -0
- package/types/shared/schema/mix/index.d.ts +2071 -0
- package/types/shared/schema/mix/schemas/dash/create-dashboard-v1.d.ts +497 -0
- package/types/shared/schema/mix/schemas/dash/dash-v1.d.ts +255 -0
- package/types/shared/schema/mix/schemas/dash/delete-dashboard.d.ts +6 -0
- package/types/shared/schema/mix/schemas/dash/get-dashboard-v1.d.ts +275 -0
- package/types/shared/schema/mix/schemas/dash/update-dashboard-v1.d.ts +496 -0
- package/types/shared/schema/mix/schemas/ql.d.ts +18 -0
- package/types/shared/schema/mix/schemas/wizard.d.ts +18 -0
- package/types/shared/schema/mix/types/dash/index.d.ts +53 -0
- package/types/shared/schema/mix/types/entries.d.ts +91 -0
- package/types/shared/schema/mix/types/index.d.ts +6 -0
- package/types/shared/schema/mix/types/markdown.d.ts +15 -0
- package/types/shared/schema/mix/types/navigation.d.ts +12 -0
- package/types/shared/schema/mix/types/ql.d.ts +4 -0
- package/types/shared/schema/mix/types/wizard.d.ts +4 -0
- package/types/shared/schema/stat-api/types/index.d.ts +11 -0
- package/types/shared/schema/types.d.ts +5 -0
- package/types/shared/schema/us/actions/collections/create-collection.d.ts +93 -0
- package/types/shared/schema/us/actions/collections/delete-collection.d.ts +52 -0
- package/types/shared/schema/us/actions/collections/delete-collections.d.ts +52 -0
- package/types/shared/schema/us/actions/collections/get-collection-breadcrumbs.d.ts +86 -0
- package/types/shared/schema/us/actions/collections/get-collection.d.ts +90 -0
- package/types/shared/schema/us/actions/collections/get-root-collection-permissions.d.ts +17 -0
- package/types/shared/schema/us/actions/collections/get-structure-items.d.ts +7 -0
- package/types/shared/schema/us/actions/collections/index.d.ts +335 -0
- package/types/shared/schema/us/actions/collections/move-collection.d.ts +48 -0
- package/types/shared/schema/us/actions/collections/move-collections.d.ts +53 -0
- package/types/shared/schema/us/actions/collections/update-collection.d.ts +48 -0
- package/types/shared/schema/us/actions/color-palettes.d.ts +13 -0
- package/types/shared/schema/us/actions/editor.d.ts +10 -0
- package/types/shared/schema/us/actions/embeds.d.ts +11 -0
- package/types/shared/schema/us/actions/entries/create-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/entries/get-entries-relations.d.ts +78 -0
- package/types/shared/schema/us/actions/entries/get-entries.d.ts +100 -0
- package/types/shared/schema/us/actions/entries/get-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/entries/index.d.ts +298 -0
- package/types/shared/schema/us/actions/entries/list-directory.d.ts +101 -0
- package/types/shared/schema/us/actions/entries/update-entry.d.ts +7 -0
- package/types/shared/schema/us/actions/favorites.d.ts +12 -0
- package/types/shared/schema/us/actions/index.d.ts +1064 -0
- package/types/shared/schema/us/actions/locks.d.ts +11 -0
- package/types/shared/schema/us/actions/operations.d.ts +37 -0
- package/types/shared/schema/us/actions/presets.d.ts +10 -0
- package/types/shared/schema/us/actions/private.d.ts +9 -0
- package/types/shared/schema/us/actions/state.d.ts +10 -0
- package/types/shared/schema/us/actions/template.d.ts +9 -0
- package/types/shared/schema/us/actions/tenant.d.ts +9 -0
- package/types/shared/schema/us/actions/user.d.ts +20 -0
- package/types/shared/schema/us/actions/workbooks/copy-workbook.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/create-workbook.d.ts +106 -0
- package/types/shared/schema/us/actions/workbooks/delete-workbook.d.ts +59 -0
- package/types/shared/schema/us/actions/workbooks/delete-workbooks.d.ts +65 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook-entries.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook-shared-entries.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/get-workbook.d.ts +100 -0
- package/types/shared/schema/us/actions/workbooks/get-workbooks-list.d.ts +75 -0
- package/types/shared/schema/us/actions/workbooks/index.d.ts +384 -0
- package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-copy.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/migrate-entries-to-workbook-by-transfer.d.ts +7 -0
- package/types/shared/schema/us/actions/workbooks/move-workbook.d.ts +61 -0
- package/types/shared/schema/us/actions/workbooks/move-workbooks.d.ts +66 -0
- package/types/shared/schema/us/actions/workbooks/update-workbook.d.ts +61 -0
- package/types/shared/schema/us/index.d.ts +1069 -0
- package/types/shared/schema/us/schemas/collections/index.d.ts +27 -0
- package/types/shared/schema/us/schemas/entries/get-entries.d.ts +172 -0
- package/types/shared/schema/us/schemas/entries/list-directory.d.ts +171 -0
- package/types/shared/schema/us/schemas/operation/index.d.ts +16 -0
- package/types/shared/schema/us/schemas/workbooks/index.d.ts +33 -0
- package/types/shared/schema/us/types/access-bindings.d.ts +0 -0
- package/types/shared/schema/us/types/collections.d.ts +80 -0
- package/types/shared/schema/us/types/color-palettes.d.ts +24 -0
- package/types/shared/schema/us/types/common.d.ts +16 -0
- package/types/shared/schema/us/types/editor.d.ts +32 -0
- package/types/shared/schema/us/types/embeds.d.ts +37 -0
- package/types/shared/schema/us/types/entries.d.ts +292 -0
- package/types/shared/schema/us/types/favorites.d.ts +48 -0
- package/types/shared/schema/us/types/fields.d.ts +133 -0
- package/types/shared/schema/us/types/index.d.ts +17 -0
- package/types/shared/schema/us/types/locks.d.ts +34 -0
- package/types/shared/schema/us/types/operations.d.ts +6 -0
- package/types/shared/schema/us/types/presets.d.ts +5 -0
- package/types/shared/schema/us/types/private.d.ts +2 -0
- package/types/shared/schema/us/types/sort.d.ts +3 -0
- package/types/shared/schema/us/types/state.d.ts +18 -0
- package/types/shared/schema/us/types/template.d.ts +13 -0
- package/types/shared/schema/us/types/tenant.d.ts +14 -0
- package/types/shared/schema/us/types/workbooks.d.ts +95 -0
- package/types/shared/schema/us-private/actions/entries.d.ts +12 -0
- package/types/shared/schema/us-private/actions/index.d.ts +13 -0
- package/types/shared/schema/us-private/actions/tenant.d.ts +10 -0
- package/types/shared/schema/us-private/index.d.ts +20 -0
- package/types/shared/schema/us-private/types/entries.d.ts +18 -0
- package/types/shared/schema/us-private/types/index.d.ts +1 -0
- package/types/shared/schema/utils.d.ts +14 -0
- package/types/shared/server/axios.d.ts +8 -0
- package/types/shared/types/bi-api/index.d.ts +1 -0
- package/types/shared/types/bi-api/v2.d.ts +178 -0
- package/types/shared/types/chartkit/common.d.ts +34 -0
- package/types/shared/types/chartkit/dl-chartkit.d.ts +30 -0
- package/types/shared/types/chartkit/gravity-charts/index.d.ts +9 -0
- package/types/shared/types/chartkit/gravity-charts/scatter.d.ts +24 -0
- package/types/shared/types/chartkit/index.d.ts +4 -0
- package/types/shared/types/chartkit/table.d.ts +134 -0
- package/types/shared/types/charts.d.ts +273 -0
- package/types/shared/types/color-palettes.d.ts +7 -0
- package/types/shared/types/common-update.d.ts +13 -0
- package/types/shared/types/common.d.ts +301 -0
- package/types/shared/types/config/ql/index.d.ts +22 -0
- package/types/shared/types/config/ql/v1.d.ts +78 -0
- package/types/shared/types/config/ql/v2.d.ts +79 -0
- package/types/shared/types/config/ql/v3.d.ts +79 -0
- package/types/shared/types/config/ql/v4.d.ts +80 -0
- package/types/shared/types/config/ql/v5.d.ts +80 -0
- package/types/shared/types/config/ql/v6.d.ts +80 -0
- package/types/shared/types/config/ql/v7.d.ts +80 -0
- package/types/shared/types/config/wizard/index.d.ts +58 -0
- package/types/shared/types/config/wizard/v10.d.ts +262 -0
- package/types/shared/types/config/wizard/v11.d.ts +276 -0
- package/types/shared/types/config/wizard/v12.d.ts +283 -0
- package/types/shared/types/config/wizard/v13.d.ts +282 -0
- package/types/shared/types/config/wizard/v14.d.ts +283 -0
- package/types/shared/types/config/wizard/v15.d.ts +283 -0
- package/types/shared/types/config/wizard/v2.d.ts +239 -0
- package/types/shared/types/config/wizard/v3.d.ts +242 -0
- package/types/shared/types/config/wizard/v4.d.ts +253 -0
- package/types/shared/types/config/wizard/v5.d.ts +253 -0
- package/types/shared/types/config/wizard/v6.d.ts +253 -0
- package/types/shared/types/config/wizard/v7.d.ts +254 -0
- package/types/shared/types/config/wizard/v8.d.ts +258 -0
- package/types/shared/types/config/wizard/v9.d.ts +260 -0
- package/types/shared/types/configs/index.d.ts +1 -0
- package/types/shared/types/connections.d.ts +21 -0
- package/types/shared/types/dash.d.ts +324 -0
- package/types/shared/types/dataset.d.ts +325 -0
- package/types/shared/types/entry.d.ts +14 -0
- package/types/shared/types/feature.d.ts +102 -0
- package/types/shared/types/formatting.d.ts +22 -0
- package/types/shared/types/index.d.ts +28 -0
- package/types/shared/types/language.d.ts +1 -0
- package/types/shared/types/menu.d.ts +27 -0
- package/types/shared/types/meta-manager.d.ts +11 -0
- package/types/shared/types/metrica.d.ts +5 -0
- package/types/shared/types/notification.d.ts +5 -0
- package/types/shared/types/permissions.d.ts +3 -0
- package/types/shared/types/ql/common.d.ts +158 -0
- package/types/shared/types/ql/versions.d.ts +9 -0
- package/types/shared/types/typed-query-api/index.d.ts +1 -0
- package/types/shared/types/typed-query-api/v1.d.ts +29 -0
- package/types/shared/types/ui-sandbox.d.ts +5 -0
- package/types/shared/types/utility-types.d.ts +28 -0
- package/types/shared/types/widget.d.ts +47 -0
- package/types/shared/types/wizard/background-settings.d.ts +14 -0
- package/types/shared/types/wizard/bars.d.ts +54 -0
- package/types/shared/types/wizard/column.d.ts +14 -0
- package/types/shared/types/wizard/export.d.ts +10 -0
- package/types/shared/types/wizard/field.d.ts +112 -0
- package/types/shared/types/wizard/index.d.ts +421 -0
- package/types/shared/types/wizard/misc.d.ts +58 -0
- package/types/shared/types/wizard/placeholder.d.ts +50 -0
- package/types/shared/types/wizard/sub-totals.d.ts +3 -0
- package/types/shared/types/wizard/versions.d.ts +17 -0
- package/types/shared/utils/array/assert-non-empty-array.d.ts +1 -0
- package/types/shared/utils/array/index.d.ts +1 -0
- package/types/shared/utils/dash.d.ts +6 -0
- package/types/shared/utils/dataset.d.ts +12 -0
- package/types/shared/utils/date-time.d.ts +2 -0
- package/types/shared/utils/entry.d.ts +3 -0
- package/types/shared/utils/feature.d.ts +8 -0
- package/types/shared/utils/functions-registry.d.ts +5 -0
- package/types/shared/utils/index.d.ts +8 -0
- package/types/shared/utils/makeFunctionTemplate.d.ts +3 -0
- package/types/shared/utils/manualError.d.ts +23 -0
- package/types/shared/utils/markdown.d.ts +4 -0
- package/types/shared/utils/markup.d.ts +4 -0
- package/types/shared/utils/openapi/index.d.ts +1 -0
- package/types/shared/utils/palettes.d.ts +6 -0
- package/types/shared/utils/ui-sandbox.d.ts +5 -0
- package/types/shared/utils/visualization-check.d.ts +12 -0
- package/types/shared/utils/wizard.d.ts +4 -0
- package/types/shared/zod-schemas/dash.d.ts +231 -0
- package/types/shared/zod-schemas/entry.d.ts +6 -0
- package/types/shared/zod-schemas/permissions.d.ts +7 -0
- package/types/shared/zod-schemas/shared-entry-permissions.d.ts +13 -0
- package/types/ui/capabilities/capabilities.d.ts +13 -0
- package/types/ui/capabilities/index.d.ts +9 -0
- package/types/ui/components/AccessRights/AccessRightsUrlOpen.d.ts +2 -0
- package/types/ui/components/ActionPanel/ActionPanel.d.ts +101 -0
- package/types/ui/components/ActionPanel/ActionPanelHelpers.d.ts +5 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/ChartSaveControl.d.ts +24 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveButton/SaveButton.d.ts +10 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/components/SaveDropdown/SaveDropdown.d.ts +8 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/types.d.ts +20 -0
- package/types/ui/components/ActionPanel/components/ChartSaveControls/useAdditionalItems.d.ts +6 -0
- package/types/ui/components/ActionPanel/components/EntryPanel/EntryPanel.d.ts +199 -0
- package/types/ui/components/ActionPanel/index.d.ts +2 -0
- package/types/ui/components/ActionPanel/utils.d.ts +4 -0
- package/types/ui/components/AdaptiveDialog/AdaptiveDialog.d.ts +19 -0
- package/types/ui/components/AnimateBlock/AnimateBlock.d.ts +8 -0
- package/types/ui/components/AnimateBlock/index.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/AsideHeaderAdapter.d.ts +19 -0
- package/types/ui/components/AsideHeaderAdapter/LogoText/LogoText.d.ts +7 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/HighcontrastSettings.d.ts +7 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Appearance/ThemeSettings.d.ts +6 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/ItemField/ItemField.d.ts +9 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/LanguageSettings.d.ts +3 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/Settings.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/types.d.ts +9 -0
- package/types/ui/components/AsideHeaderAdapter/Settings/utils.d.ts +16 -0
- package/types/ui/components/AsideHeaderAdapter/VersionDialog/VersionDialog.d.ts +12 -0
- package/types/ui/components/AsideHeaderAdapter/constants.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/helpers.d.ts +1 -0
- package/types/ui/components/AsideHeaderAdapter/index.d.ts +2 -0
- package/types/ui/components/AsyncImage/AsyncImage.d.ts +11 -0
- package/types/ui/components/AutogeneratedPaletteIcon/AutogeneratedPaletteIcon.d.ts +9 -0
- package/types/ui/components/BetaMark/BetaMark.d.ts +6 -0
- package/types/ui/components/Breadcrumbs/CollectionsStructureBreadcrumbs/CollectionsStructureBreadcrumbs.d.ts +6 -0
- package/types/ui/components/BreadcrumbsItemLink/BreadcrumbsItemLink.d.ts +6 -0
- package/types/ui/components/ButtonAttach/ButtonAttach.d.ts +14 -0
- package/types/ui/components/Collapse/Collapse.d.ts +2 -0
- package/types/ui/components/Collapse/types.d.ts +22 -0
- package/types/ui/components/CollectionFilters/CollectionFilters.d.ts +31 -0
- package/types/ui/components/CollectionFilters/index.d.ts +1 -0
- package/types/ui/components/CollectionIcon/CollectionIcon.d.ts +8 -0
- package/types/ui/components/CollectionsStructure/CollectionDialog/CollectionDialog.d.ts +20 -0
- package/types/ui/components/CollectionsStructure/CollectionDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/CollectionNoCreatePermissionDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/CollectionNoCreatePermissionDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CollectionStructureDialog.d.ts +30 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/CreateEntityDialog/CreateEntityDialog.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/NewTitleDialog/NewTitleDialog.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/Item.d.ts +10 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/Item/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/StructureItemSelect.d.ts +24 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/StructureItemSelect/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CollectionStructureDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/CopyEntriesDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/CopyWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateEntryInWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/CreateWorkbookDialog.d.ts +26 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportFileField/ImportFileField.d.ts +9 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/ImportWorkbookView/ImportWorkbookView.d.ts +7 -0
- package/types/ui/components/CollectionsStructure/CreateWorkbookDialog/utils.d.ts +4 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/DeleteCollectionsWorkbooksContent.d.ts +5 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksContent/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/DeleteCollectionsWorkbooksDialog.d.ts +16 -0
- package/types/ui/components/CollectionsStructure/DeleteDialog/DeleteDialog.d.ts +11 -0
- package/types/ui/components/CollectionsStructure/DeleteDialog/index.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/DeleteWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/EditCollectionDialog.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/EditSharedEntryDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/EditWorkbookDialog.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportInfo/ExportInfo.d.ts +1 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/ExportWorkbookDialog.d.ts +13 -0
- package/types/ui/components/CollectionsStructure/ExportWorkbookDialog/utils.d.ts +5 -0
- package/types/ui/components/CollectionsStructure/MigrateEntryToWorkbookDialog.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/MoveCollectionDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveCollectionsWorkbooksDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveSharedEntryDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/MoveWorkbookDialog.d.ts +15 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/WorkbookDialog.d.ts +26 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/index.d.ts +2 -0
- package/types/ui/components/CollectionsStructure/WorkbookDialog/types.d.ts +4 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/EntriesNotificationCut.d.ts +27 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/helpers.d.ts +7 -0
- package/types/ui/components/CollectionsStructure/components/EntriesNotificationCut/types.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/hooks/useCollectionEntityDialogState.d.ts +8 -0
- package/types/ui/components/CollectionsStructure/hooks/useCollectionStructureDialogState.d.ts +19 -0
- package/types/ui/components/CollectionsStructure/hooks/useNotificationsAndDetails.d.ts +12 -0
- package/types/ui/components/CollectionsStructure/index.d.ts +17 -0
- package/types/ui/components/CollectionsStructure/types.d.ts +7 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/ColorPaletteChartkitPreview.d.ts +3 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/types.d.ts +4 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteCharkitPreview/utils.d.ts +3 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPaletteEditorContainer.d.ts +52 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/ColorPalettesCard.d.ts +16 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorPalettesCard/DefaultPaletteSelect/DefaultPaletteSelect.d.ts +7 -0
- package/types/ui/components/ColorPaletteEditorContainer/ColorTextInput/ColorTextInput.d.ts +11 -0
- package/types/ui/components/ColorPaletteEditorContainer/GradientPaletteEditor/GradientPaletteEditor.d.ts +46 -0
- package/types/ui/components/ColorPaletteEditorContainer/PaletteEditor/PaletteEditor.d.ts +49 -0
- package/types/ui/components/ColorPaletteSelect/ColorPaletteSelect.d.ts +12 -0
- package/types/ui/components/ColorPickerInput/ColorPickerInput.d.ts +22 -0
- package/types/ui/components/ColorPickerInput/utils.d.ts +11 -0
- package/types/ui/components/ConnectorIcon/ConnectorIcon.d.ts +7 -0
- package/types/ui/components/ControlComponents/BackButton/BackButton.d.ts +3 -0
- package/types/ui/components/ControlComponents/Dialog/Dialog.d.ts +11 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/AppearanceSection.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/ColorAccentRow/ColorAccentRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/HintRow/HintRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/InnerTitleRow/InnerTitleRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitlePlacementRow/TitlePlacementRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/AppearanceSection/Rows/TitleRow/TitleRow.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/CommonGroupSettingsSection.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/ConnectionSettings.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/ConnectionSelector.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/ConnectionSelector/helpers.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/QueryTypeControl.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditLabelControl/EditLabelControl.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/components/EditQueryControl/EditQueryControl.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/components/QueryTypeControl/helpers.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ConnectionSettings/helpers/get-distincts-by-typed-query.d.ts +12 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/DatasetSelectorSettings/DatasetSelectorSettings.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/EntrySelector/EntrySelector.d.ts +23 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ExternalSelectorSettings/ExternalSelectorSettings.d.ts +9 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/CurrentTabOption/CurrentTabOption.d.ts +9 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/ImpactTypeSelect.d.ts +11 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/SelectedTabsOption/SelectedTabsOption.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/constants.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/helpers.d.ts +18 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ImpactTypeSelect/useTabVisibilityValidation.d.ts +13 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/InputTypeSelector/InputTypeSelector.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/ParameterNameInput/ParameterNameInput.d.ts +7 -0
- package/types/ui/components/ControlComponents/Sections/CommonSettingsSection/helpers/input-type-select.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/Date/Acceptable/Acceptable.d.ts +24 -0
- package/types/ui/components/ControlComponents/Sections/Date/Default/Default.d.ts +40 -0
- package/types/ui/components/ControlComponents/Sections/OperationSelector/OperationSelector.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/ParametersSection/ParametersSection.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/Switchers/Button/Button.d.ts +10 -0
- package/types/ui/components/ControlComponents/Sections/Switchers/DatasetField/DatasetField.d.ts +40 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/Acceptable.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/Acceptable/SelectorValuesDialogBody.d.ts +13 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ListValueControl.d.ts +12 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/MultiselectableCheckbox.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/DynamicValueSelect.d.ts +6 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/StaticValueSelect.d.ts +2 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/hooks.d.ts +4 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/types.d.ts +19 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ListValueControl/ValueSelector/utils.d.ts +1 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/RequiredValueCheckbox/RequiredValueCheckbox.d.ts +3 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/ValueSelector.d.ts +5 -0
- package/types/ui/components/ControlComponents/Sections/ValueSelector/helpers/get-distincts-by-dataset-field.d.ts +22 -0
- package/types/ui/components/ControlComponents/Sections/Wrapper/Wrapper.d.ts +7 -0
- package/types/ui/components/ControlComponents/SelectorPreview/SelectorPreview.d.ts +2 -0
- package/types/ui/components/ControlComponents/SelectorTypeSelect/SelectorTypeSelect.d.ts +6 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/CopyEntriesToWorkbookDialog.d.ts +13 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/Body.d.ts +7 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/Body/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/EntryRow.d.ts +16 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/CopyEntriesToWorkbookDialog/utils.d.ts +4 -0
- package/types/ui/components/DNDPane/DNDItem/DNDItem.d.ts +2 -0
- package/types/ui/components/DNDPane/DNDPane.d.ts +13 -0
- package/types/ui/components/DashKit/DashKit.d.ts +32 -0
- package/types/ui/components/DashKit/constants.d.ts +22 -0
- package/types/ui/components/DashKit/context/WidgetContext.d.ts +17 -0
- package/types/ui/components/DashKit/helpers.d.ts +27 -0
- package/types/ui/components/DashKit/plugins/Control/Control.d.ts +20 -0
- package/types/ui/components/DashKit/plugins/Control/ControlItems/ControlItemSelect.d.ts +30 -0
- package/types/ui/components/DashKit/plugins/Control/Error/Error.d.ts +7 -0
- package/types/ui/components/DashKit/plugins/Control/constants.d.ts +9 -0
- package/types/ui/components/DashKit/plugins/Control/prerenderMiddleware.d.ts +2 -0
- package/types/ui/components/DashKit/plugins/Control/types.d.ts +134 -0
- package/types/ui/components/DashKit/plugins/Control/utils.d.ts +75 -0
- package/types/ui/components/DashKit/plugins/DebugInfoTool/DebugInfoTool.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/Control.d.ts +27 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/store/reducer.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/GroupControl/Control/store/types.d.ts +75 -0
- package/types/ui/components/DashKit/plugins/GroupControl/GroupControl.d.ts +18 -0
- package/types/ui/components/DashKit/plugins/GroupControl/types.d.ts +28 -0
- package/types/ui/components/DashKit/plugins/GroupControl/utils.d.ts +19 -0
- package/types/ui/components/DashKit/plugins/Image/Image.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/RendererWrapper/RendererWrapper.d.ts +13 -0
- package/types/ui/components/DashKit/plugins/Text/Text.d.ts +9 -0
- package/types/ui/components/DashKit/plugins/Title/AnchorLink/AnchorLink.d.ts +6 -0
- package/types/ui/components/DashKit/plugins/Title/Title.d.ts +14 -0
- package/types/ui/components/DashKit/plugins/Title/constants.d.ts +2 -0
- package/types/ui/components/DashKit/plugins/Title/utils.d.ts +12 -0
- package/types/ui/components/DashKit/plugins/Widget/WidgetPlugin.d.ts +10 -0
- package/types/ui/components/DashKit/plugins/Widget/components/Footer.d.ts +7 -0
- package/types/ui/components/DashKit/plugins/Widget/components/Header.d.ts +15 -0
- package/types/ui/components/DashKit/plugins/Widget/components/helpers.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/Widget/store/actions.d.ts +17 -0
- package/types/ui/components/DashKit/plugins/Widget/store/reducer.d.ts +3 -0
- package/types/ui/components/DashKit/plugins/Widget/types.d.ts +50 -0
- package/types/ui/components/DashKit/plugins/types.d.ts +41 -0
- package/types/ui/components/DashKit/utils.d.ts +39 -0
- package/types/ui/components/DataTypeIcon/DataTypeIcon.d.ts +10 -0
- package/types/ui/components/DatasetFieldList/DatasetFieldList.d.ts +10 -0
- package/types/ui/components/DebouncedInput/DebouncedInput.d.ts +28 -0
- package/types/ui/components/DebouncedInput/index.d.ts +1 -0
- package/types/ui/components/DialogAddSharedEntryFromLink/DialogAddSharedEntryFromLink.d.ts +15 -0
- package/types/ui/components/DialogChartWidget/DialogChartWidget.d.ts +30 -0
- package/types/ui/components/DialogCommon/DialogCommon.d.ts +74 -0
- package/types/ui/components/DialogConfirm/DialogConfirm.d.ts +84 -0
- package/types/ui/components/DialogDefault/DialogDefault.d.ts +23 -0
- package/types/ui/components/DialogEditItem/DialogEditItem.d.ts +69 -0
- package/types/ui/components/DialogEntryDescription/DialogEntryDescription.d.ts +3 -0
- package/types/ui/components/DialogEntryDescription/DialogEntryDescriptionWrapper.d.ts +7 -0
- package/types/ui/components/DialogEntryDescription/EntryDescriptionButton.d.ts +13 -0
- package/types/ui/components/DialogEntryDescription/index.d.ts +3 -0
- package/types/ui/components/DialogErrorWithTabs/DebugInfo/DebugInfo.d.ts +9 -0
- package/types/ui/components/DialogErrorWithTabs/DialogErrorWithTabs.d.ts +20 -0
- package/types/ui/components/DialogErrorWithTabs/ErrorText/ErrorText.d.ts +7 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseRequestTab/DatabaseRequestTab.d.ts +6 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DatabaseResponseTab/DatabaseResponseTab.d.ts +6 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/DebugTab.d.ts +8 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DebugTab/utils.d.ts +1 -0
- package/types/ui/components/DialogErrorWithTabs/Tabs/DocumentationTab/DocumentationTab.d.ts +6 -0
- package/types/ui/components/DialogExternalControl/DialogExternalControl.d.ts +66 -0
- package/types/ui/components/DialogFieldEditor/DialogFieldEditor.d.ts +24 -0
- package/types/ui/components/DialogFilter/BooleanFilter/BooleanFilter.d.ts +8 -0
- package/types/ui/components/DialogFilter/DateFilter/DateFilter.d.ts +12 -0
- package/types/ui/components/DialogFilter/DialogFilter.d.ts +88 -0
- package/types/ui/components/DialogFilter/InputFilter/InputFilter.d.ts +9 -0
- package/types/ui/components/DialogFilter/SelectFilter/SelectFilter.d.ts +35 -0
- package/types/ui/components/DialogFilter/constants.d.ts +15 -0
- package/types/ui/components/DialogFilter/typings.d.ts +8 -0
- package/types/ui/components/DialogFilter/utils.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/DialogGroupControl.d.ts +19 -0
- package/types/ui/components/DialogGroupControl/GroupControlBody/GroupControlBody.d.ts +7 -0
- package/types/ui/components/DialogGroupControl/GroupControlBody/SimilarSelectorsBlock/SimilarSelectorsBlock.d.ts +1 -0
- package/types/ui/components/DialogGroupControl/GroupControlFooter/GroupControlFooter.d.ts +7 -0
- package/types/ui/components/DialogGroupControl/GroupControlSidebar/GroupControlSidebar.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/GroupControlSidebar/TabItemWrapper/TabItemWrapper.d.ts +6 -0
- package/types/ui/components/DialogGroupControl/GroupExtendedSettings/ControlPlacementRow.d.ts +13 -0
- package/types/ui/components/DialogGroupControl/GroupExtendedSettings/GroupExtendedSettings.d.ts +11 -0
- package/types/ui/components/DialogGroupControl/hooks/useSimilarSelectorsActions.d.ts +12 -0
- package/types/ui/components/DialogImageWidget/DialogImageWidget.d.ts +18 -0
- package/types/ui/components/DialogImageWidget/index.d.ts +1 -0
- package/types/ui/components/DialogManager/DialogManager.d.ts +6 -0
- package/types/ui/components/DialogManager/DialogManagerContainer.d.ts +2 -0
- package/types/ui/components/DialogNoRights/DialogNoRights.d.ts +11 -0
- package/types/ui/components/DialogParameter/DefaultValueSection.d.ts +9 -0
- package/types/ui/components/DialogParameter/DialogParameter.d.ts +15 -0
- package/types/ui/components/DialogParameter/TemplateSection.d.ts +8 -0
- package/types/ui/components/DialogParameter/helpers.d.ts +7 -0
- package/types/ui/components/DialogParameter/useParameterForm.d.ts +20 -0
- package/types/ui/components/DialogParameter/useParameterTooltipMarkdown.d.ts +5 -0
- package/types/ui/components/DialogParameter/useValidationErrors.d.ts +8 -0
- package/types/ui/components/DialogQLParameter/DialogQLParameter.d.ts +27 -0
- package/types/ui/components/DialogRelatedEntities/DialogRelatedEntities.d.ts +7 -0
- package/types/ui/components/DialogRelatedEntities/constants.d.ts +5 -0
- package/types/ui/components/DialogRelations/DialogRelations.d.ts +21 -0
- package/types/ui/components/DialogRelations/components/Content/Content.d.ts +17 -0
- package/types/ui/components/DialogRelations/components/Content/Row.d.ts +35 -0
- package/types/ui/components/DialogRelations/components/Content/helpers.d.ts +7 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/DialogAliases.d.ts +12 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/AddAliases.d.ts +14 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AddAliases/helpers.d.ts +26 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesDetail/AliasesDetail.d.ts +11 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesInvalidList.d.ts +10 -0
- package/types/ui/components/DialogRelations/components/DialogAliases/components/AliasesList/AliasesList.d.ts +32 -0
- package/types/ui/components/DialogRelations/components/Filters/Filters.d.ts +6 -0
- package/types/ui/components/DialogRelations/constants.d.ts +26 -0
- package/types/ui/components/DialogRelations/helpers.d.ts +37 -0
- package/types/ui/components/DialogRelations/hooks/helpers.d.ts +109 -0
- package/types/ui/components/DialogRelations/hooks/helpersChart.d.ts +30 -0
- package/types/ui/components/DialogRelations/hooks/helpersControls.d.ts +25 -0
- package/types/ui/components/DialogRelations/hooks/helpersDatasets.d.ts +6 -0
- package/types/ui/components/DialogRelations/hooks/useFilteredRelations.d.ts +11 -0
- package/types/ui/components/DialogRelations/hooks/useRelations.d.ts +20 -0
- package/types/ui/components/DialogRelations/types.d.ts +81 -0
- package/types/ui/components/DialogSelectSharedEntry/DialogSelectSharedEntry.d.ts +16 -0
- package/types/ui/components/DialogSharedEntryBindings/DialogSharedEntryBindings.d.ts +16 -0
- package/types/ui/components/DialogSharedEntryBindings/components/DeleteAlert.d.ts +11 -0
- package/types/ui/components/DialogSharedEntryBindings/components/DirectionControl.d.ts +7 -0
- package/types/ui/components/DialogSharedEntryBindings/components/Relations.d.ts +18 -0
- package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsFooter.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/components/SharedBindingsHeader.d.ts +7 -0
- package/types/ui/components/DialogSharedEntryBindings/constants.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/hooks/useSharedEntryBindings.d.ts +21 -0
- package/types/ui/components/DialogSharedEntryBindings/types.d.ts +9 -0
- package/types/ui/components/DialogSharedEntryBindings/utils.d.ts +5 -0
- package/types/ui/components/DialogSharedEntryPermissions/DialogSharedEntryPermissions.d.ts +18 -0
- package/types/ui/components/DialogSharedEntryPermissions/components/PermissionButton/PermissionButton.d.ts +11 -0
- package/types/ui/components/DialogSharedEntryUnbind/DialogSharedEntryUnbind.d.ts +17 -0
- package/types/ui/components/DialogSharedEntryUnbind/constants.d.ts +21 -0
- package/types/ui/components/DialogSharedRelatedEntities/DialogSharedRelatedEntities.d.ts +21 -0
- package/types/ui/components/DialogSuccessWithAction/DialogSuccessWithAction.d.ts +8 -0
- package/types/ui/components/DialogTextWidget/DialogTextWidget.d.ts +19 -0
- package/types/ui/components/DialogTextWidget/index.d.ts +2 -0
- package/types/ui/components/DialogTitleWidget/DialogTitleWidget.d.ts +22 -0
- package/types/ui/components/DialogTitleWidget/useColorSettings.d.ts +41 -0
- package/types/ui/components/DialogWarning/DialogWarning.d.ts +80 -0
- package/types/ui/components/DragAndDrop/DragAndDrop.d.ts +6 -0
- package/types/ui/components/DropdownAction/DropdownAction.d.ts +9 -0
- package/types/ui/components/DropdownNavigation/DropdownNavigation.d.ts +44 -0
- package/types/ui/components/EditableText/EditableText.d.ts +8 -0
- package/types/ui/components/EntitiesList/EntitiesList.d.ts +2 -0
- package/types/ui/components/EntitiesList/types.d.ts +27 -0
- package/types/ui/components/EntityIcon/EntityIcon.d.ts +33 -0
- package/types/ui/components/EntityLink/EntityLink.d.ts +8 -0
- package/types/ui/components/EntityRow/EntityRow.d.ts +11 -0
- package/types/ui/components/EntriesList/EntriesList.d.ts +7 -0
- package/types/ui/components/EntriesList/Item/Item.d.ts +8 -0
- package/types/ui/components/EntriesList/types.d.ts +5 -0
- package/types/ui/components/EntryBreadcrumbs/EntryBreadcrumbs.d.ts +2 -0
- package/types/ui/components/EntryBreadcrumbs/helpers.d.ts +11 -0
- package/types/ui/components/EntryContextMenu/EntryContextMenu.d.ts +65 -0
- package/types/ui/components/EntryContextMenu/EntryContextMenuBase/EntryContextMenuBase.d.ts +17 -0
- package/types/ui/components/EntryContextMenu/constants.d.ts +32 -0
- package/types/ui/components/EntryContextMenu/helpers.d.ts +48 -0
- package/types/ui/components/EntryContextMenu/index.d.ts +3 -0
- package/types/ui/components/EntryContextMenu/types.d.ts +37 -0
- package/types/ui/components/EntryContextMenu/utils.d.ts +2 -0
- package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/helpers.d.ts +2 -0
- package/types/ui/components/EntryContextMenu/withConfiguredEntryContextMenu/withConfiguredEntryContextMenu.d.ts +14 -0
- package/types/ui/components/EntryDialogues/DialogAccess/DialogAccess.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogAccessDescription/DialogAccessDescription.d.ts +16 -0
- package/types/ui/components/EntryDialogues/DialogCopyEntry/DialogCopyEntry.d.ts +42 -0
- package/types/ui/components/EntryDialogues/DialogCopyEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateDashboard/DialogCreateDashboard.d.ts +32 -0
- package/types/ui/components/EntryDialogues/DialogCreateDashboard/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateEditorChart/DialogCreateEditorChart.d.ts +33 -0
- package/types/ui/components/EntryDialogues/DialogCreateEditorChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateFolder/DialogCreateFolder.d.ts +27 -0
- package/types/ui/components/EntryDialogues/DialogCreateFolder/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateQLChart/DialogCreateQLChart.d.ts +35 -0
- package/types/ui/components/EntryDialogues/DialogCreateQLChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateWizardChart/DialogCreateWizardChart.d.ts +35 -0
- package/types/ui/components/EntryDialogues/DialogCreateWizardChart/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogCreateWorkbookEntry/DialogCreateWorkbookEntry.d.ts +51 -0
- package/types/ui/components/EntryDialogues/DialogDeleteEntry/DialogDeleteEntry.d.ts +38 -0
- package/types/ui/components/EntryDialogues/DialogDeleteEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/DialogEditFavoritesAlias.d.ts +7 -0
- package/types/ui/components/EntryDialogues/DialogEditFavoritesAlias/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogEditWarning/DialogEditWarning.d.ts +22 -0
- package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/DialogEntrySaveAsNew.d.ts +33 -0
- package/types/ui/components/EntryDialogues/DialogEntrySaveAsNew/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogMakeActualConfirm/DialogMakeActualConfirm.d.ts +25 -0
- package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/DialogMigrateToWorkbook.d.ts +6 -0
- package/types/ui/components/EntryDialogues/DialogMigrateToWorkbook/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogMoveEntry/DialogMoveEntry.d.ts +28 -0
- package/types/ui/components/EntryDialogues/DialogMoveEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogRenameEntry/DialogRenameEntry.d.ts +40 -0
- package/types/ui/components/EntryDialogues/DialogRenameEntry/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogShareEntry/DialogShareEntry.d.ts +6 -0
- package/types/ui/components/EntryDialogues/DialogShareEntry/index.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AlertTooltip/AlertTooltip.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/AuthorSection/AuthorSection.d.ts +15 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentError/ContentError.d.ts +9 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/ContentLoader/ContentLoader.d.ts +4 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/CurrentEntrySection/CurrentEntrySection.d.ts +12 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogAlert/DialogAlert.d.ts +67 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/DialogPublic.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/RelationsList/RelationsList.d.ts +13 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/SharedLink/SharedLink.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/constants.d.ts +9 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/helpers.d.ts +1 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/types.d.ts +111 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogPublic/useDialogPublicState.d.ts +36 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/DialogSwitchPublic.d.ts +7 -0
- package/types/ui/components/EntryDialogues/DialogSwitchPublic/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/DialogUnlock/DialogUnlock.d.ts +8 -0
- package/types/ui/components/EntryDialogues/DialogUnlock/index.d.ts +2 -0
- package/types/ui/components/EntryDialogues/EntryDialogBase/EntryDialogBase.d.ts +62 -0
- package/types/ui/components/EntryDialogues/EntryDialogues.d.ts +95 -0
- package/types/ui/components/EntryDialogues/constants.d.ts +4 -0
- package/types/ui/components/EntryDialogues/index.d.ts +6 -0
- package/types/ui/components/EntryDialogues/types.d.ts +12 -0
- package/types/ui/components/EntryDialogues/utils.d.ts +1 -0
- package/types/ui/components/EntryIcon/EntryIcon.d.ts +17 -0
- package/types/ui/components/EntryRow/EntryRow.d.ts +31 -0
- package/types/ui/components/EntrySuggest/EntrySuggest.d.ts +10 -0
- package/types/ui/components/EntrySuggest/types.d.ts +12 -0
- package/types/ui/components/EntryTitle/EntryTitle.d.ts +13 -0
- package/types/ui/components/EntryTitle/index.d.ts +2 -0
- package/types/ui/components/EntryTitle/types.d.ts +6 -0
- package/types/ui/components/EntryTitle/utils.d.ts +2 -0
- package/types/ui/components/ErrorBoundary/ErrorBoundary.d.ts +17 -0
- package/types/ui/components/ErrorContent/DebugInfo/DebugInfo.d.ts +7 -0
- package/types/ui/components/ErrorContent/ErrorContent.d.ts +70 -0
- package/types/ui/components/ErrorPage/ErrorPage.d.ts +13 -0
- package/types/ui/components/ErrorPage/withErrorPage.d.ts +63 -0
- package/types/ui/components/ExpandablePanel/ExpandablePanel.d.ts +10 -0
- package/types/ui/components/FieldEditor/FieldEditor.d.ts +81 -0
- package/types/ui/components/FieldEditor/components/DocSection.d.ts +44 -0
- package/types/ui/components/FieldEditor/components/FormulaSection.d.ts +39 -0
- package/types/ui/components/FieldEditor/components/NameHeader.d.ts +6 -0
- package/types/ui/components/FieldEditor/components/Settings.d.ts +15 -0
- package/types/ui/components/FieldEditor/components/SourceSection.d.ts +14 -0
- package/types/ui/components/FieldEditor/components/helpers.d.ts +4 -0
- package/types/ui/components/FieldEditor/constants.d.ts +18 -0
- package/types/ui/components/FieldEditor/index.d.ts +17 -0
- package/types/ui/components/FieldEditor/typings.d.ts +13 -0
- package/types/ui/components/FieldEditor/utils.d.ts +8 -0
- package/types/ui/components/FieldWrapper/FieldWrapper.d.ts +7 -0
- package/types/ui/components/FloatMenu/FloatMenu.d.ts +8 -0
- package/types/ui/components/FormSection/FormSection.d.ts +9 -0
- package/types/ui/components/FormattedValue/FormattedValue.d.ts +18 -0
- package/types/ui/components/IamAccessDialog/AccessList/AccessList.d.ts +18 -0
- package/types/ui/components/IamAccessDialog/AccessList/ActionPanel/ActionPanel.d.ts +11 -0
- package/types/ui/components/IamAccessDialog/AccessList/Block/Block.d.ts +10 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/Controls/Controls.d.ts +15 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/DirectAccessesTable.d.ts +17 -0
- package/types/ui/components/IamAccessDialog/AccessList/DirectAccessesTable/utils.d.ts +2 -0
- package/types/ui/components/IamAccessDialog/AccessList/Filters/Filters.d.ts +11 -0
- package/types/ui/components/IamAccessDialog/AccessList/InheritedAccessesTable/InheritedAccessesTable.d.ts +13 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/ActionPanel/ActionPanel.d.ts +14 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/AddSubjects.d.ts +12 -0
- package/types/ui/components/IamAccessDialog/AddSubjects/SubjectsList/SubjectsList.d.ts +7 -0
- package/types/ui/components/IamAccessDialog/IamAccessDialog.d.ts +8 -0
- package/types/ui/components/IamAccessDialog/IamAccessDialogComponent.d.ts +3 -0
- package/types/ui/components/IamAccessDialog/ResourceInfo/ResourceInfo.d.ts +8 -0
- package/types/ui/components/IamAccessDialog/constants.d.ts +1 -0
- package/types/ui/components/IamAccessDialog/index.d.ts +1 -0
- package/types/ui/components/IamAccessDialog/utils.d.ts +10 -0
- package/types/ui/components/IconById/IconById.d.ts +6 -0
- package/types/ui/components/Illustration/Illustration.d.ts +2 -0
- package/types/ui/components/Illustration/context.d.ts +2 -0
- package/types/ui/components/Illustration/getIllustrationStore.d.ts +28 -0
- package/types/ui/components/Illustration/getRebrandingIllustrationStore.d.ts +28 -0
- package/types/ui/components/Illustration/types.d.ts +14 -0
- package/types/ui/components/Illustration/utils.d.ts +2 -0
- package/types/ui/components/InaccessibleOnMobileInset/InaccessibleOnMobileInset.d.ts +1 -0
- package/types/ui/components/Interpolate/Interpolate.d.ts +8 -0
- package/types/ui/components/Interpolate/index.d.ts +2 -0
- package/types/ui/components/Interpolate/utils.d.ts +3 -0
- package/types/ui/components/InterpolatedText/InterpolatedText.d.ts +11 -0
- package/types/ui/components/LandingPage/LandingPage.d.ts +1 -0
- package/types/ui/components/ListWithMenu/ListWithMenu.d.ts +22 -0
- package/types/ui/components/ListWithRemove/ListWithRemove.d.ts +10 -0
- package/types/ui/components/LocationChange/LocationChange.d.ts +6 -0
- package/types/ui/components/MarkdownControl/MarkdownControl.d.ts +2 -0
- package/types/ui/components/MarkdownHelpPopover/Content.d.ts +6 -0
- package/types/ui/components/MarkdownHelpPopover/MarkdownHelpPopover.d.ts +10 -0
- package/types/ui/components/Markup/Markup.d.ts +9 -0
- package/types/ui/components/Markup/components/MarkupTooltip/MarkupTooltip.d.ts +11 -0
- package/types/ui/components/Markup/components/UserInfo/UserInfo.d.ts +9 -0
- package/types/ui/components/Markup/components/index.d.ts +2 -0
- package/types/ui/components/Markup/index.d.ts +1 -0
- package/types/ui/components/Markup/types.d.ts +9 -0
- package/types/ui/components/Markup/utils.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/MigrateToWorkbookDialog.d.ts +14 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/Body/Body.d.ts +10 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/Body/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/EntriesGroup.d.ts +10 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntriesGroup/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/EntryRow.d.ts +15 -0
- package/types/ui/components/MigrateToWorkbookDialog/components/EntryRow/index.d.ts +1 -0
- package/types/ui/components/MigrateToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeader.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/BurgerMenuFooter/BurgerMenuFooter.d.ts +1 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/MobileHeaderComponent.d.ts +2 -0
- package/types/ui/components/MobileHeader/MobileHeaderComponent/UserPanel/UserPanel.d.ts +1 -0
- package/types/ui/components/MobileHeader/constants.d.ts +1 -0
- package/types/ui/components/MobileTocToggle/MobileTocToggle.d.ts +3 -0
- package/types/ui/components/Monaco/LazyMonaco.d.ts +5 -0
- package/types/ui/components/Monaco/Monaco.d.ts +19 -0
- package/types/ui/components/Navigation/Base/NavigationBase.d.ts +85 -0
- package/types/ui/components/Navigation/Base/configure.d.ts +133 -0
- package/types/ui/components/Navigation/Base/types.d.ts +8 -0
- package/types/ui/components/Navigation/Base/utils.d.ts +1 -0
- package/types/ui/components/Navigation/Core/CreateEntry/CreateEntry.d.ts +18 -0
- package/types/ui/components/Navigation/Core/CreateEntry/getCreateEntryItems.d.ts +3 -0
- package/types/ui/components/Navigation/Core/EntryContextButton/EntryContextButton.d.ts +14 -0
- package/types/ui/components/Navigation/Core/ErrorView/ErrorView.d.ts +7 -0
- package/types/ui/components/Navigation/Core/FavoritesNameWithAliasItem/FavoritesNameWithAliasItem.d.ts +11 -0
- package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/BreadcrumbMenu.d.ts +17 -0
- package/types/ui/components/Navigation/Core/NavigationBreadcrumbs/NavigationBreadcrumbs.d.ts +25 -0
- package/types/ui/components/Navigation/Core/NavigationEntries.d.ts +113 -0
- package/types/ui/components/Navigation/Core/NavigationInline.d.ts +33 -0
- package/types/ui/components/Navigation/Core/NavigationMinimal.d.ts +43 -0
- package/types/ui/components/Navigation/Core/NavigationModal.d.ts +54 -0
- package/types/ui/components/Navigation/Core/OrderSelect/OrderSelect.d.ts +9 -0
- package/types/ui/components/Navigation/Core/SearchInput/SearchInput.d.ts +13 -0
- package/types/ui/components/Navigation/Core/Sidebar/Sidebar.d.ts +22 -0
- package/types/ui/components/Navigation/Core/TableView/BatchDialog/BatchDialog.d.ts +12 -0
- package/types/ui/components/Navigation/Core/TableView/List/List.d.ts +15 -0
- package/types/ui/components/Navigation/Core/TableView/Row/Row.d.ts +25 -0
- package/types/ui/components/Navigation/Core/TableView/Row/RowHeader.d.ts +4 -0
- package/types/ui/components/Navigation/Core/TableView/TableView.d.ts +2 -0
- package/types/ui/components/Navigation/Core/TableView/types.d.ts +47 -0
- package/types/ui/components/Navigation/Core/TableView/useBatchSelect.d.ts +4 -0
- package/types/ui/components/Navigation/NavigationMinimal.d.ts +32 -0
- package/types/ui/components/Navigation/NavigationModal.d.ts +13 -0
- package/types/ui/components/Navigation/PlaceSelect/PlaceSelect.d.ts +21 -0
- package/types/ui/components/Navigation/components/BatchPanel/BatchPanel.d.ts +8 -0
- package/types/ui/components/Navigation/components/EmptyState/EmptyState.d.ts +9 -0
- package/types/ui/components/Navigation/components/EmptyState/utils.d.ts +2 -0
- package/types/ui/components/Navigation/constants.d.ts +24 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/AccessError/AccessError.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/BatchMove.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/MoveError/MoveError.d.ts +9 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/SelectDestination/SelectDestination.d.ts +7 -0
- package/types/ui/components/Navigation/dialogs/BatchMove/types.d.ts +5 -0
- package/types/ui/components/Navigation/hoc/resolveNavigationPath.d.ts +10 -0
- package/types/ui/components/Navigation/index.d.ts +4 -0
- package/types/ui/components/Navigation/settings.d.ts +11 -0
- package/types/ui/components/Navigation/types.d.ts +48 -0
- package/types/ui/components/Navigation/util.d.ts +10 -0
- package/types/ui/components/NavigationPrompt/NavigationPrompt.d.ts +6 -0
- package/types/ui/components/NavigationTabs/NavigationTabs.d.ts +12 -0
- package/types/ui/components/NumberFormatSettings/NumberFormatSettings.d.ts +10 -0
- package/types/ui/components/NumberFormatSettings/NumberInput/NumberInput.d.ts +10 -0
- package/types/ui/components/OpenDialogNeedReset/OpenDialogNeedReset.d.ts +5 -0
- package/types/ui/components/OrderBySelect/OrderBySelect.d.ts +12 -0
- package/types/ui/components/OrderBySelect/constants.d.ts +6 -0
- package/types/ui/components/OrderBySelect/index.d.ts +3 -0
- package/types/ui/components/OrderBySelect/types.d.ts +10 -0
- package/types/ui/components/PageTitle/PageTitle.d.ts +11 -0
- package/types/ui/components/PageTitle/index.d.ts +2 -0
- package/types/ui/components/PageTitle/usePageTitle.d.ts +13 -0
- package/types/ui/components/PaletteIcon/PaletteIcon.d.ts +12 -0
- package/types/ui/components/PaletteItem/PaletteItem.d.ts +15 -0
- package/types/ui/components/PathSelect/PathSelect.d.ts +34 -0
- package/types/ui/components/Picture/Picture.d.ts +7 -0
- package/types/ui/components/PlaceholderIllustration/PlaceholderIllustration.d.ts +2 -0
- package/types/ui/components/PlaceholderIllustration/types.d.ts +11 -0
- package/types/ui/components/Progress/DialogCounterProgress.d.ts +10 -0
- package/types/ui/components/ProgressBar/ProgressBar.d.ts +8 -0
- package/types/ui/components/RelativeDatesPicker/RelativeDatesPicker.d.ts +29 -0
- package/types/ui/components/RelativeDatesPicker/constants.d.ts +27 -0
- package/types/ui/components/RelativeDatesPicker/types.d.ts +42 -0
- package/types/ui/components/RelativeDatesPicker/utils.d.ts +42 -0
- package/types/ui/components/RevisionStatusPoint/RevisionStatusPoint.d.ts +5 -0
- package/types/ui/components/Revisions/Revisions.d.ts +75 -0
- package/types/ui/components/Revisions/RevisionsList/RevisionsList.d.ts +27 -0
- package/types/ui/components/Revisions/helpers.d.ts +7 -0
- package/types/ui/components/Revisions/types.d.ts +14 -0
- package/types/ui/components/RevisionsPanel/RevisionsPanel.d.ts +30 -0
- package/types/ui/components/RevisionsPanel/components/RevisionsControls.d.ts +13 -0
- package/types/ui/components/RevisionsPanel/utils.d.ts +10 -0
- package/types/ui/components/ScrollableWithShadow/ScrollableWithShadow.d.ts +13 -0
- package/types/ui/components/SectionWrapper/SectionWrapper.d.ts +14 -0
- package/types/ui/components/Select/constants/SelectStyles.d.ts +3 -0
- package/types/ui/components/Select/hooks/useSelectAsyncFetch/useIntersection.d.ts +6 -0
- package/types/ui/components/Select/hooks/useSelectAsyncFetch/useSelectAsyncFetch.d.ts +15 -0
- package/types/ui/components/Select/hooks/useSelectInfinityFetch/types.d.ts +5 -0
- package/types/ui/components/Select/hooks/useSelectInfinityFetch/useSelectInfinityFetch.d.ts +11 -0
- package/types/ui/components/Select/hooks/useSelectOptionsEnhancer.d.ts +2 -0
- package/types/ui/components/Select/hooks/useSelectRenderEmptyOptions/useSelectRenderEmptyOptions.d.ts +8 -0
- package/types/ui/components/Select/hooks/useSelectRenderError.d.ts +8 -0
- package/types/ui/components/Select/hooks/useSelectRenderFilter/useSelectRenderFilter.d.ts +16 -0
- package/types/ui/components/Select/wrappers/SelectAsync.d.ts +5 -0
- package/types/ui/components/Select/wrappers/SelectFeatured.d.ts +10 -0
- package/types/ui/components/Select/wrappers/SelectFeaturedAsync.d.ts +7 -0
- package/types/ui/components/SelectComponents/components/SelectOptionWithIcon/SelectOptionWithIcon.d.ts +10 -0
- package/types/ui/components/SelectComponents/index.d.ts +1 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/Body/Body.d.ts +18 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/SelectMigrationToWorkbookDialog.d.ts +13 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/constants.d.ts +25 -0
- package/types/ui/components/SelectMigrationToWorkbookDialog/index.d.ts +1 -0
- package/types/ui/components/SharedBindingsList/ListSearch.d.ts +11 -0
- package/types/ui/components/SharedBindingsList/SharedBindingsList.d.ts +14 -0
- package/types/ui/components/SharedEntryIcon/SharedEntryIcon.d.ts +9 -0
- package/types/ui/components/SlugifyUrl/SlugifyUrl.d.ts +6 -0
- package/types/ui/components/SlugifyUrl/index.d.ts +1 -0
- package/types/ui/components/SmartLoader/SmartLoader.d.ts +8 -0
- package/types/ui/components/TabMenu/TabMenu.d.ts +2 -0
- package/types/ui/components/TabMenu/types.d.ts +46 -0
- package/types/ui/components/Tabs/Tabs.d.ts +7 -0
- package/types/ui/components/Tabs/withDatalensSpecific.d.ts +9 -0
- package/types/ui/components/TagInput/TagInput.d.ts +13 -0
- package/types/ui/components/TemplateTextPaper/TemplateTextPaper.d.ts +7 -0
- package/types/ui/components/TextEditor/TextEditor.d.ts +11 -0
- package/types/ui/components/UserAvatar/UserAvatarById.d.ts +2 -0
- package/types/ui/components/UserMenu/UserAvatar.d.ts +4 -0
- package/types/ui/components/UserMenu/UserMenu.d.ts +3 -0
- package/types/ui/components/UsersSuggest/UsersSuggest.d.ts +9 -0
- package/types/ui/components/UsersSuggest/types.d.ts +10 -0
- package/types/ui/components/ValuesList/ValuesList.d.ts +12 -0
- package/types/ui/components/Veil/Veil.d.ts +14 -0
- package/types/ui/components/ViewAsync/ViewAsync.d.ts +23 -0
- package/types/ui/components/ViewError/ViewError.d.ts +22 -0
- package/types/ui/components/ViewLoader/ViewLoader.d.ts +8 -0
- package/types/ui/components/WidgetRoundingsInput/WidgetRoundingsInput.d.ts +6 -0
- package/types/ui/components/Widgets/Chart/Chart.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartAlert.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartSelector.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartWidget.d.ts +7 -0
- package/types/ui/components/Widgets/Chart/ChartWidgetWithProvider.d.ts +8 -0
- package/types/ui/components/Widgets/Chart/components/ChartInfoIcon.d.ts +5 -0
- package/types/ui/components/Widgets/Chart/components/Content.d.ts +2 -0
- package/types/ui/components/Widgets/Chart/components/Header.d.ts +13 -0
- package/types/ui/components/Widgets/Chart/components/WidgetFooter.d.ts +10 -0
- package/types/ui/components/Widgets/Chart/components/WidgetHeader.d.ts +53 -0
- package/types/ui/components/Widgets/Chart/helpers/helpers.d.ts +139 -0
- package/types/ui/components/Widgets/Chart/helpers/yandex-map.d.ts +12 -0
- package/types/ui/components/Widgets/Chart/hooks/useAutoHeightResizeObserver.d.ts +12 -0
- package/types/ui/components/Widgets/Chart/hooks/useChartActivities.d.ts +15 -0
- package/types/ui/components/Widgets/Chart/hooks/useIntersectionObserver.d.ts +8 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChart.d.ts +203 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChartSelector.d.ts +184 -0
- package/types/ui/components/Widgets/Chart/hooks/useLoadingChartWidget.d.ts +195 -0
- package/types/ui/components/Widgets/Chart/hooks/useMemoCallback.d.ts +6 -0
- package/types/ui/components/Widgets/Chart/store/reducer.d.ts +3 -0
- package/types/ui/components/Widgets/Chart/store/types.d.ts +58 -0
- package/types/ui/components/Widgets/Chart/types.d.ts +260 -0
- package/types/ui/components/Widgets/Chart/utils.d.ts +5 -0
- package/types/ui/components/WorkbookIcon/WorkbookIcon.d.ts +8 -0
- package/types/ui/components/WorkbookNavigationMinimal/WorkbookNavigationMinimal.d.ts +47 -0
- package/types/ui/components/WorkbookNavigationMinimal/components/ListWithSharedEntries.d.ts +13 -0
- package/types/ui/components/WorkbookNavigationMinimal/constants.d.ts +1 -0
- package/types/ui/components/WorkbookNavigationMinimal/types.d.ts +10 -0
- package/types/ui/components/YfmWrapper/YfmWrapper.d.ts +3 -0
- package/types/ui/components/YfmWrapper/YfmWrapperContent.d.ts +8 -0
- package/types/ui/components/common/Datepicker/Calendar/Calendar.d.ts +51 -0
- package/types/ui/components/common/Datepicker/Datepicker.d.ts +36 -0
- package/types/ui/components/common/Datepicker/Month/Month.d.ts +61 -0
- package/types/ui/components/common/Datepicker/Months/Months.d.ts +29 -0
- package/types/ui/components/common/Datepicker/PopupContent/PopupContent.d.ts +25 -0
- package/types/ui/components/common/Datepicker/Presets/Presets.d.ts +18 -0
- package/types/ui/components/common/Datepicker/Quarters/Quarters.d.ts +28 -0
- package/types/ui/components/common/Datepicker/YearSwitcher/YearSwitcher.d.ts +21 -0
- package/types/ui/components/common/Datepicker/Years/Years.d.ts +27 -0
- package/types/ui/components/common/Datepicker/constants.d.ts +46 -0
- package/types/ui/components/common/Datepicker/index.d.ts +4 -0
- package/types/ui/components/common/Datepicker/utils.d.ts +34 -0
- package/types/ui/components/common/DatepickerControl/DatepickerControl.d.ts +5 -0
- package/types/ui/components/common/RangeInputPicker/RangeInputPicker.d.ts +60 -0
- package/types/ui/components/common/RangeInputPicker/constants.d.ts +3 -0
- package/types/ui/components/common/RangeInputPicker/index.d.ts +1 -0
- package/types/ui/components/common/RangeInputPicker/types.d.ts +32 -0
- package/types/ui/components/common/RangeInputPicker/utils.d.ts +15 -0
- package/types/ui/components/common/YCSelect/Item/Item.d.ts +52 -0
- package/types/ui/components/common/YCSelect/Items/Items.d.ts +76 -0
- package/types/ui/components/common/YCSelect/Search/Search.d.ts +20 -0
- package/types/ui/components/common/YCSelect/YCSelect.d.ts +96 -0
- package/types/ui/components/common/YCSelect/constants.d.ts +2 -0
- package/types/ui/components/common/YCSelect/index.d.ts +4 -0
- package/types/ui/components/common/YCSelect/isBothEmpty.d.ts +1 -0
- package/types/ui/components/common/YCSelect/utils.d.ts +16 -0
- package/types/ui/configs/common/icons.d.ts +25 -0
- package/types/ui/configs/index.d.ts +27 -0
- package/types/ui/constants/common.d.ts +197 -0
- package/types/ui/constants/connections.d.ts +6 -0
- package/types/ui/constants/dialogs.d.ts +24 -0
- package/types/ui/constants/embedded.d.ts +4 -0
- package/types/ui/constants/index.d.ts +6 -0
- package/types/ui/constants/misc.d.ts +77 -0
- package/types/ui/constants/mobile.d.ts +8 -0
- package/types/ui/constants/navigation.d.ts +1 -0
- package/types/ui/constants/operations.d.ts +37 -0
- package/types/ui/constants/visualizations/combined-chart.d.ts +2 -0
- package/types/ui/constants/visualizations/donut.d.ts +2 -0
- package/types/ui/constants/visualizations/flatTable.d.ts +9 -0
- package/types/ui/constants/visualizations/geolayer.d.ts +2 -0
- package/types/ui/constants/visualizations/geopoint.d.ts +3 -0
- package/types/ui/constants/visualizations/geopolygon.d.ts +2 -0
- package/types/ui/constants/visualizations/heatmap.d.ts +2 -0
- package/types/ui/constants/visualizations/index.d.ts +347 -0
- package/types/ui/constants/visualizations/line.d.ts +8 -0
- package/types/ui/constants/visualizations/metric.d.ts +2 -0
- package/types/ui/constants/visualizations/pie.d.ts +2 -0
- package/types/ui/constants/visualizations/pivotTable.d.ts +2 -0
- package/types/ui/constants/visualizations/polyline.d.ts +2 -0
- package/types/ui/constants/visualizations/scatter.d.ts +2 -0
- package/types/ui/constants/visualizations/treemap.d.ts +13 -0
- package/types/ui/constants/visualizations/utils.d.ts +2 -0
- package/types/ui/constants/workbooks.d.ts +2 -0
- package/types/ui/constants/yfm.d.ts +4 -0
- package/types/ui/datalens/helpers.d.ts +2 -0
- package/types/ui/datalens/hooks.d.ts +1 -0
- package/types/ui/datalens/index.d.ts +9 -0
- package/types/ui/datalens/pages/AuthPage/AuthPage.d.ts +3 -0
- package/types/ui/datalens/pages/CollectionsNavigationPage/CollectionsNavigationPage.d.ts +2 -0
- package/types/ui/datalens/pages/ConnectionsPage/ConnectionsPage.d.ts +2 -0
- package/types/ui/datalens/pages/DashAndWizardQLPages/DashAndWizardQLPages.d.ts +29 -0
- package/types/ui/datalens/pages/DashPage/DashPage.d.ts +2 -0
- package/types/ui/datalens/pages/DatasetPage/DatasetPage.d.ts +2 -0
- package/types/ui/datalens/pages/FallbackPage/FallbackPage.d.ts +5 -0
- package/types/ui/datalens/pages/LandingPage/LandingPage.d.ts +2 -0
- package/types/ui/datalens/pages/MainPage/MainPage.d.ts +2 -0
- package/types/ui/datalens/pages/OwnUserProfilePage/OwnUserProfilePage.d.ts +2 -0
- package/types/ui/datalens/pages/PreviewPage/PreviewPage.d.ts +2 -0
- package/types/ui/datalens/pages/QLPage/QLPage.d.ts +5 -0
- package/types/ui/datalens/pages/ServiceSettingsPage/ServiceSettingsPage.d.ts +2 -0
- package/types/ui/datalens/pages/WizardPage/WizardPage.d.ts +2 -0
- package/types/ui/datalens/render.d.ts +8 -0
- package/types/ui/entries/dl-main.d.ts +0 -0
- package/types/ui/entries/main.d.ts +3 -0
- package/types/ui/hoc/index.d.ts +1 -0
- package/types/ui/hoc/withEnabledFeature.d.ts +5 -0
- package/types/ui/hoc/withHiddenUnmount.d.ts +59 -0
- package/types/ui/hoc/withHotkeysContext.d.ts +5 -0
- package/types/ui/hoc/withInaccessibleOnMobile.d.ts +61 -0
- package/types/ui/hoc/withPromiseOpen.d.ts +66 -0
- package/types/ui/hooks/index.d.ts +7 -0
- package/types/ui/hooks/useBeforeLoad.d.ts +1 -0
- package/types/ui/hooks/useBindHotkey.d.ts +17 -0
- package/types/ui/hooks/useChangedProp.d.ts +1 -0
- package/types/ui/hooks/useEffectOnce.d.ts +2 -0
- package/types/ui/hooks/useEnterClick.d.ts +2 -0
- package/types/ui/hooks/useHover.d.ts +7 -0
- package/types/ui/hooks/useLocalStorageFallback.d.ts +9 -0
- package/types/ui/hooks/useMarkdown.d.ts +9 -0
- package/types/ui/hooks/useMountedState.d.ts +2 -0
- package/types/ui/hooks/useOutsideClick.d.ts +2 -0
- package/types/ui/hooks/usePrevious.d.ts +1 -0
- package/types/ui/hooks/useRefMounted.d.ts +2 -0
- package/types/ui/hooks/useSetState.d.ts +1 -0
- package/types/ui/hooks/useShallowEqualSelector.d.ts +2 -0
- package/types/ui/hooks/useSyncedState.d.ts +2 -0
- package/types/ui/hooks/useTitle.d.ts +1 -0
- package/types/ui/index.d.ts +76 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/ChartKit.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/ChartKitAdapter.d.ts +27 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/ChartKitTooltip/ChartKitTooltip.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Error/Error.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/IconRenderer.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/CirclePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DiamondPointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/DotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/LongDashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDashLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/ShortDotLineIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SolidLineIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/SquarePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TriangleDownPointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/Icons/TrianglePointIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/constants.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/renderTooltipIcon.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/DotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/LongDashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDashLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/ShortDotLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/SolidLineIcon.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/template-icons/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/types.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/IconRenderer/utils.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Loader/Loader.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/Widget.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/AlertWidget.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/AlertWidget/utils.d.ts +76 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Markdown/Markdown.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/Bar.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/types.d.ts +55 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Bar/utils.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Paginator/Paginator.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/Table.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/WrappedHTMLNode.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/types.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/action-params.d.ts +32 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/event-handlers.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/index.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/misc.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/render.d.ts +39 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/Table/utils/validation.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/constants.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/Widget/components/index.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/components/index.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/action-params-handlers.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/apply-hc-handlers.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkit-adapter.d.ts +59 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/chartkitAdapter.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/constants.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/getRandomCKId.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chart-to-table.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/chartkit-adapter.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/comments.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/event-handlers.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/holidays.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/gravity-charts/utils.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/tooltip.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/utils.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/helpers/wait-for-content.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/init.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/chartkit-custom-error/chartkit-custom-error.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/comments/drawing.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/config.d.ts +576 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/handleLegendItemClick.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/options.d.ts +465 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/buildNavigatorFallback.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/calculatePrecision.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/concatStrings.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getChartKitFormattedValue.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getFormatOptionsFromLine.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/getXAxisThresholdValue.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isSafari.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/isTooltipShared.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/localStorage.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/mergeArrayWithObject.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/numberFormat.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/graph.d.ts +541 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/prepare-data.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/helpers.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/tooltip.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/tooltip/types.d.ts +102 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/graph/types/index.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/colors.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/calcucalteClosestPointManually.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/helpers/index.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/highcharts/highcharts.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/i18n.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/en.d.ts +58 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/i18n/keysets/ru.d.ts +59 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/map.d.ts +84 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/options.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/map/tooltip/tooltip.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/perfomance.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/fetch-script.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/helpers/number-format.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Canvas.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/DataConverter.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/Heatmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/TileUrlsGenerator.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/Gridmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/index.d.ts +0 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/hexagonGrid.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/gridmap/utils/squareGrid.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/Polygonmap.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorLegend.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.d.ts +44 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/colorize.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultBalloonContent.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultFilter.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultMapper.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnClick.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseEnter.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/defaultOnMouseLeave.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/inside.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/components/polygonmap/utils/normalizeFeature.test.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/modules/modules.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/modules/yandex-map/yandex-map.d.ts +30 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/AdvancedChartWidget.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/components/Tooltip/Tooltip.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/renderer/utils.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/AdvancedChart/types.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapComponent.d.ts +108 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/renderer/HighchartsMapWidget.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/HighchartsMap/types.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/renderer/MarkupWidget.d.ts +20 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Markup/types.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricTile.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/MetricWidget.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/renderer/metricHelpers.d.ts +89 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Metric/types.d.ts +54 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/TableWidget.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/BarCell/BarCell.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/DiffCell/DiffCell.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/HtmlCell/HtmlCell.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/MarkupCell/MarkupCell.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/SortIcon/SortIcon.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/BackgroundTable.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/Table.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableBody.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableFooter.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/TableHead.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/cell-width.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/types.d.ts +150 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/usePreparedTableData.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/utils.d.ts +20 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TableTitleView/TableTitleView.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/TreeCell/TreeCell.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/types.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/action-params.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/drill-down.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/index.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/math.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/migrate-to-old-format.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/renderer.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/utils/tree.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/Table/types.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/EyeSlashIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Icons/SizeIcon.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Layer/Layer.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/Legend/Legend.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapComponent.d.ts +68 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/YandexMapWidget.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/events.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/types.d.ts +51 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/renderer/utils.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/YandexMap/types.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/chart-storage.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/StyledSplitPane/StyledSplitPane.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/index.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/components/withSplitPane/withSplitPane.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/plugins/index.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/ChartKit/types.d.ts +56 -0
- package/types/ui/libs/DatalensChartkit/DatalensChartKitOld.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/Error/Error.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/Error/getAdditionalChartkitErrorContent.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/ChartKitBase.d.ts +130 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Chart/Chart.d.ts +13 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/ChartkitError/ChartkitError.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/reducer.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Content/store/types.d.ts +43 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Control/Control.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/Header.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/ChartsInsights.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/ChartsInsightsIcon.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/ChartsInsightsIcon/getIconData.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/components/TooltipContent/TooltipContent.d.ts +10 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/ChartsInsights/helpers/getIconLevel.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpin/ButtonSpin.d.ts +19 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ButtonSpinInput/ButtonSpinInput.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModal/ChartsModal.d.ts +60 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/ChartsModalMenu/ChartsModalMenu.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/DownloadCsv/DownloadCsv.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/CsvExport/CsvExport.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/Export.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/ToastContent/ToastContent.d.ts +3 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/types.d.ts +32 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Export/utils.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Inspector.d.ts +14 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/SourceMeta/Datalens.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Source/Source.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceError/SourceError.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/SourceSuccess/SourceSuccess.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Sources/Sources.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/Timings/Timings.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Inspector/types.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Body/Body.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Context/Context.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Footer/Footer.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Header/Header.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/Modal/Modal.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/PopupMessage/PopupMessage.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/constants.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Items/helpers.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/Menu/Menu.d.ts +71 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/MenuWithErrorBoundary/MenuWithErrorBoundary.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Header/components/index.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/components/Loader/Loader.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/helpers.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitBase/types.d.ts +105 -0
- package/types/ui/libs/DatalensChartkit/components/ChartKitIcon/ChartKitIcon.d.ts +25 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Control.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Items/Items.d.ts +28 -0
- package/types/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/Control/types.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/components/DeferredInitializer/DeferredInitializer.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/Drill/Drill.d.ts +24 -0
- package/types/ui/libs/DatalensChartkit/components/Error/Error.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/components/Error/More/More.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/ErrorBoundary.d.ts +18 -0
- package/types/ui/libs/DatalensChartkit/components/ErrorBoundary/withErrorBoundary.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/Attach/Attach.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/ColorItem/ColorItem.d.ts +15 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/DraggableModalHOC/DraggableModalHOC.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/PaletteEditor/PaletteEditor.d.ts +26 -0
- package/types/ui/libs/DatalensChartkit/components/Palette/PaletteSettings/PaletteSettings.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/components/SideMarkdown/SideMarkdown.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/extensions/alert.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/control.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/markdown.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/extensions/table.d.ts +6 -0
- package/types/ui/libs/DatalensChartkit/helpers/convert-data-to-table.d.ts +7 -0
- package/types/ui/libs/DatalensChartkit/helpers/helpers.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/index.d.ts +11 -0
- package/types/ui/libs/DatalensChartkit/menu/Menu.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/menu/MenuItems.d.ts +55 -0
- package/types/ui/libs/DatalensChartkit/menu/constants.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/menu/helpers.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/modules/axios/axios.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/axios/axiosConcurrency.d.ts +23 -0
- package/types/ui/libs/DatalensChartkit/modules/constants/constants.d.ts +31 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/chartkit-handlers.d.ts +34 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/get-graph.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-config.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/get-graph/prepare-data.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/getChartsInsightsData.d.ts +16 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/helpers/index.d.ts +1 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/index.d.ts +125 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/node.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/types.d.ts +478 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox-runtime.d.ts +38 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/ui-sandbox.d.ts +29 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/utils.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/charts/wizard.d.ts +17 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/example.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/helpers.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/modules/data-provider/withDataProvider.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/modules/datalens-chartkit-custom-error/datalens-chartkit-custom-error.d.ts +61 -0
- package/types/ui/libs/DatalensChartkit/modules/export/export.d.ts +35 -0
- package/types/ui/libs/DatalensChartkit/modules/extensions-manager/extensions-manager.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/constants.d.ts +12 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/index.d.ts +9 -0
- package/types/ui/libs/DatalensChartkit/modules/html-generator/utils.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/modules/localStorage.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/menu/menu.d.ts +8 -0
- package/types/ui/libs/DatalensChartkit/modules/perfomance.d.ts +5 -0
- package/types/ui/libs/DatalensChartkit/modules/settings/settings.d.ts +21 -0
- package/types/ui/libs/DatalensChartkit/modules/table.d.ts +2 -0
- package/types/ui/libs/DatalensChartkit/types/common.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/types/control.d.ts +73 -0
- package/types/ui/libs/DatalensChartkit/types/dataProvider.d.ts +43 -0
- package/types/ui/libs/DatalensChartkit/types/index.d.ts +4 -0
- package/types/ui/libs/DatalensChartkit/types/menu.d.ts +37 -0
- package/types/ui/libs/DatalensChartkit/types/widget.d.ts +324 -0
- package/types/ui/libs/auth/refreshToken.d.ts +1 -0
- package/types/ui/libs/axios/axios.d.ts +5 -0
- package/types/ui/libs/axios/interceptors.d.ts +4 -0
- package/types/ui/libs/datasetHelper/index.d.ts +3 -0
- package/types/ui/libs/datasetSdk/index.d.ts +35 -0
- package/types/ui/libs/google-analytics/index.d.ts +1 -0
- package/types/ui/libs/index.d.ts +7 -0
- package/types/ui/libs/logger/index.d.ts +5 -0
- package/types/ui/libs/metrica/index.d.ts +21 -0
- package/types/ui/libs/monaco/constants.d.ts +2 -0
- package/types/ui/libs/monaco/dl-lang/constants.d.ts +17 -0
- package/types/ui/libs/monaco/dl-lang/index.d.ts +3 -0
- package/types/ui/libs/monaco/index.d.ts +6 -0
- package/types/ui/libs/monaco/load-monaco-core.d.ts +18 -0
- package/types/ui/libs/monaco/ql-lang/constants.d.ts +3 -0
- package/types/ui/libs/monaco/ql-lang/index.d.ts +8 -0
- package/types/ui/libs/monaco/theme-mappers.d.ts +5 -0
- package/types/ui/libs/monaco/types.d.ts +4 -0
- package/types/ui/libs/monaco/utils.d.ts +23 -0
- package/types/ui/libs/navigateHelper/index.d.ts +16 -0
- package/types/ui/libs/schematic-sdk/decorator.d.ts +10 -0
- package/types/ui/libs/schematic-sdk/index.d.ts +32 -0
- package/types/ui/libs/schematic-sdk/parse-error.d.ts +17 -0
- package/types/ui/libs/sdk/index.d.ts +69 -0
- package/types/ui/libs/sdk/types.d.ts +22 -0
- package/types/ui/libs/userSettings/index.d.ts +8 -0
- package/types/ui/modules/index.d.ts +1 -0
- package/types/ui/modules/markdownProvider.d.ts +13 -0
- package/types/ui/navigation/history.d.ts +3 -0
- package/types/ui/navigation/index.d.ts +7 -0
- package/types/ui/navigation/router.d.ts +58 -0
- package/types/ui/registry/components/DefaultEmpty.d.ts +2 -0
- package/types/ui/registry/functions/example-function.d.ts +1 -0
- package/types/ui/registry/index.d.ts +1071 -0
- package/types/ui/registry/libs/index.d.ts +9 -0
- package/types/ui/registry/libs/registryLibsPlugins.d.ts +7 -0
- package/types/ui/registry/libs/schematic-sdk/index.d.ts +6 -0
- package/types/ui/registry/units/auth/components-map.d.ts +9 -0
- package/types/ui/registry/units/auth/functions-map.d.ts +10 -0
- package/types/ui/registry/units/auth/index.d.ts +51 -0
- package/types/ui/registry/units/auth/register.d.ts +1 -0
- package/types/ui/registry/units/auth/types/components/AdditionalProfileSections.d.ts +4 -0
- package/types/ui/registry/units/auth/types/components/AdditionalUsersFilters.d.ts +4 -0
- package/types/ui/registry/units/auth/types/components/Signin.d.ts +3 -0
- package/types/ui/registry/units/auth/types/functions/getAdditionalAddProfileFields.d.ts +14 -0
- package/types/ui/registry/units/auth/types/functions/getAdditionalProfileFields.d.ts +6 -0
- package/types/ui/registry/units/auth/types/functions/getUsersListColumns.d.ts +3 -0
- package/types/ui/registry/units/auth/types/functions/getUsersRoles.d.ts +2 -0
- package/types/ui/registry/units/chart/components-map.d.ts +7 -0
- package/types/ui/registry/units/chart/functions-map.d.ts +26 -0
- package/types/ui/registry/units/chart/index.d.ts +79 -0
- package/types/ui/registry/units/chart/register.d.ts +1 -0
- package/types/ui/registry/units/chart/types/components/AlertDialog.d.ts +7 -0
- package/types/ui/registry/units/chart/types/components/ChartActionPanelButton.d.ts +11 -0
- package/types/ui/registry/units/chart/types/functions/get-chartkit-holidays.d.ts +2 -0
- package/types/ui/registry/units/chart/types/functions/getChartkitMenuByType.d.ts +22 -0
- package/types/ui/registry/units/chart/types/functions/getDefaultChartMenu.d.ts +9 -0
- package/types/ui/registry/units/chart/types/functions/getPanePreviewChartMenu.d.ts +4 -0
- package/types/ui/registry/units/chart/types/functions/getVisualSelectorBottomPlaceholder.d.ts +5 -0
- package/types/ui/registry/units/chart/types/functions/getWizardChartMenu.d.ts +8 -0
- package/types/ui/registry/units/collections/components-map.d.ts +5 -0
- package/types/ui/registry/units/collections/functionts-map.d.ts +10 -0
- package/types/ui/registry/units/collections/index.d.ts +47 -0
- package/types/ui/registry/units/collections/register.d.ts +1 -0
- package/types/ui/registry/units/collections/types/customizeEmptyPlaceholder.d.ts +17 -0
- package/types/ui/registry/units/collections/types/customizeNoCreatePermissionDialog.d.ts +6 -0
- package/types/ui/registry/units/collections/types/index.d.ts +3 -0
- package/types/ui/registry/units/collections/types/useCreateWorkbookDialogHandlers.d.ts +16 -0
- package/types/ui/registry/units/common/components/Example/Example.d.ts +12 -0
- package/types/ui/registry/units/common/components-map.d.ts +68 -0
- package/types/ui/registry/units/common/constants/components.d.ts +1 -0
- package/types/ui/registry/units/common/constants/functions.d.ts +1 -0
- package/types/ui/registry/units/common/functions-map.d.ts +128 -0
- package/types/ui/registry/units/common/index.d.ts +452 -0
- package/types/ui/registry/units/common/register.d.ts +1 -0
- package/types/ui/registry/units/common/types/components/AccessRights.d.ts +9 -0
- package/types/ui/registry/units/common/types/components/AccessRightsUrlOpen.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/AclSubject.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/AclSubjectSuggest.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/ActionPanelEntrySelect.d.ts +3 -0
- package/types/ui/registry/units/common/types/components/AsideHeaderAdapter.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/ButtonFavorite.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/DialogAddParticipants.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/DialogEntryDescription.d.ts +13 -0
- package/types/ui/registry/units/common/types/components/DialogImageWidgetLinkHint.d.ts +4 -0
- package/types/ui/registry/units/common/types/components/DialogRelatedEntitiesRadioHint.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/DialogShare.d.ts +20 -0
- package/types/ui/registry/units/common/types/components/DownloadScreenshot.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/EntryBreadcrumbs.d.ts +16 -0
- package/types/ui/registry/units/common/types/components/IamAccessDialog.d.ts +16 -0
- package/types/ui/registry/units/common/types/components/LoginById.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/MarkdownControl.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/MarkupShareLink.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/MarkupUserInfo.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/MobileHeaderComponent.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/OAuthTokenButton.d.ts +6 -0
- package/types/ui/registry/units/common/types/components/PlaceholderIllustrationImage.d.ts +7 -0
- package/types/ui/registry/units/common/types/components/RangeInputPicker.d.ts +1 -0
- package/types/ui/registry/units/common/types/components/ReportButton.d.ts +11 -0
- package/types/ui/registry/units/common/types/components/UserAvatarById.d.ts +5 -0
- package/types/ui/registry/units/common/types/components/YfmWrapper.d.ts +10 -0
- package/types/ui/registry/units/common/types/functions/GetUsersById.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/checkCreateEntryButtonVisibility.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/fetchDocumentation.d.ts +9 -0
- package/types/ui/registry/units/common/types/functions/fetchFunctionsDocumentation.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getAdditionalChartkitErrorContent.d.ts +8 -0
- package/types/ui/registry/units/common/types/functions/getBasicActionPanelItems.d.ts +6 -0
- package/types/ui/registry/units/common/types/functions/getFunctionsDocumentation.d.ts +35 -0
- package/types/ui/registry/units/common/types/functions/getGloballyEntrySettings.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getHeaderWithoutHelpCenterErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getHeaderWithoutNavigationErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getIllustrationStore.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getImageNameFromErrorContentType.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getLoginById.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/getLogoIcon.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getNotAuthenticatedErrorContentTypes.d.ts +1 -0
- package/types/ui/registry/units/common/types/functions/getShouldShowAIAssistant.d.ts +4 -0
- package/types/ui/registry/units/common/types/functions/getUIEntryRoute.d.ts +8 -0
- package/types/ui/registry/units/common/types/functions/isValidLogoUrl.d.ts +5 -0
- package/types/ui/registry/units/common/types/functions/openDialogOrganizationInvite.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/openDialogOrganizationInviteUsers.d.ts +2 -0
- package/types/ui/registry/units/common/types/functions/renderDialogRelatedEntitiesAlertHint.d.ts +6 -0
- package/types/ui/registry/units/common/types/functions/resolveUsersByIds.d.ts +3 -0
- package/types/ui/registry/units/common/types/functions/setEntryKey.d.ts +7 -0
- package/types/ui/registry/units/common/types/functions/useSubjectsListId.d.ts +4 -0
- package/types/ui/registry/units/connections/components-map.d.ts +7 -0
- package/types/ui/registry/units/connections/functions-map.d.ts +19 -0
- package/types/ui/registry/units/connections/index.d.ts +66 -0
- package/types/ui/registry/units/connections/register.d.ts +1 -0
- package/types/ui/registry/units/connections/types/CreateEditorChartButtonProps.d.ts +5 -0
- package/types/ui/registry/units/connections/types/PreparedRowItem.d.ts +4 -0
- package/types/ui/registry/units/connections/types/beforeConnectorFormUnmount.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getConnectionItemRender.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getFakeEntry.d.ts +3 -0
- package/types/ui/registry/units/connections/types/getIsShowCreateConnectionButton.d.ts +2 -0
- package/types/ui/registry/units/connections/types/getMockedForm.d.ts +4 -0
- package/types/ui/registry/units/connections/types/getNewConnectionDestination.d.ts +4 -0
- package/types/ui/registry/units/connections/types/getRenderConnectionSettingsPopup.d.ts +2 -0
- package/types/ui/registry/units/dash/components-map.d.ts +13 -0
- package/types/ui/registry/units/dash/functions-map.d.ts +17 -0
- package/types/ui/registry/units/dash/index.d.ts +77 -0
- package/types/ui/registry/units/dash/register.d.ts +1 -0
- package/types/ui/registry/units/dash/types/BeforeCloseDialogItem.d.ts +3 -0
- package/types/ui/registry/units/dash/types/BeforeOpenDialogItem.d.ts +4 -0
- package/types/ui/registry/units/dash/types/DashActionPanelAdditionalButtons.d.ts +5 -0
- package/types/ui/registry/units/dash/types/DialogDashOtherSettingsPrepend.d.ts +6 -0
- package/types/ui/registry/units/dash/types/GetExtendedItemData.d.ts +4 -0
- package/types/ui/registry/units/datasets/functions-map.d.ts +6 -0
- package/types/ui/registry/units/datasets/index.d.ts +19 -0
- package/types/ui/registry/units/datasets/register.d.ts +1 -0
- package/types/ui/registry/units/datasets/types/functions/getRenderDatasetSettingsPopup.d.ts +2 -0
- package/types/ui/registry/units/datasets/types/functions/renderRLSDialog.d.ts +3 -0
- package/types/ui/registry/units/docs/functions-map.d.ts +3 -0
- package/types/ui/registry/units/docs/index.d.ts +23 -0
- package/types/ui/registry/units/docs/register.d.ts +1 -0
- package/types/ui/registry/units/editor/components-map.d.ts +5 -0
- package/types/ui/registry/units/editor/constants/components.d.ts +1 -0
- package/types/ui/registry/units/editor/constants/functions.d.ts +1 -0
- package/types/ui/registry/units/editor/functions-map.d.ts +6 -0
- package/types/ui/registry/units/editor/index.d.ts +35 -0
- package/types/ui/registry/units/editor/types/components/ActionPanelButton.d.ts +9 -0
- package/types/ui/registry/units/editor/types/functions/fetchEditorDocumentation.d.ts +4 -0
- package/types/ui/registry/units/editor/types/functions/getEditorTemplates.d.ts +10 -0
- package/types/ui/registry/units/fieldEditor/components-map.d.ts +21 -0
- package/types/ui/registry/units/fieldEditor/index.d.ts +24 -0
- package/types/ui/registry/units/main/components-map.d.ts +4 -0
- package/types/ui/registry/units/main/index.d.ts +23 -0
- package/types/ui/registry/units/main/register.d.ts +1 -0
- package/types/ui/registry/units/preview/components-map.d.ts +4 -0
- package/types/ui/registry/units/preview/index.d.ts +23 -0
- package/types/ui/registry/units/preview/register.d.ts +1 -0
- package/types/ui/registry/units/public/components-map.d.ts +5 -0
- package/types/ui/registry/units/public/index.d.ts +24 -0
- package/types/ui/registry/units/public/register.d.ts +1 -0
- package/types/ui/registry/units/public/types/components/Header.d.ts +4 -0
- package/types/ui/registry/units/ql/components-map.d.ts +5 -0
- package/types/ui/registry/units/ql/functions-map.d.ts +5 -0
- package/types/ui/registry/units/ql/index.d.ts +36 -0
- package/types/ui/registry/units/ql/register.d.ts +1 -0
- package/types/ui/registry/units/wizard/components-map.d.ts +5 -0
- package/types/ui/registry/units/wizard/index.d.ts +24 -0
- package/types/ui/registry/units/wizard/register.d.ts +1 -0
- package/types/ui/registry/units/wizard/types/components/WizardActionPanelExtension.d.ts +3 -0
- package/types/ui/registry/units/workbooks/components-map.d.ts +6 -0
- package/types/ui/registry/units/workbooks/functions-map.d.ts +30 -0
- package/types/ui/registry/units/workbooks/index.d.ts +98 -0
- package/types/ui/registry/units/workbooks/register.d.ts +1 -0
- package/types/ui/registry/units/workbooks/types/components/workbookTableRowExtendedContent.d.ts +7 -0
- package/types/ui/registry/units/workbooks/types/functions/checkWbCreateEntryButtonVisibility.d.ts +3 -0
- package/types/ui/registry/utils/components-registry.d.ts +11 -0
- package/types/ui/registry/utils/register-app-plugins.d.ts +5 -0
- package/types/ui/store/actions/asideHeader/index.d.ts +46 -0
- package/types/ui/store/actions/asideHeader/navigation.d.ts +15 -0
- package/types/ui/store/actions/chartWidget.d.ts +38 -0
- package/types/ui/store/actions/collectionsStructure/common.d.ts +531 -0
- package/types/ui/store/actions/collectionsStructure/export.d.ts +108 -0
- package/types/ui/store/actions/collectionsStructure/index.d.ts +10 -0
- package/types/ui/store/actions/collectionsStructure/showCollectionEntityErrorToast.d.ts +2 -0
- package/types/ui/store/actions/collectionsStructure/templates.d.ts +23 -0
- package/types/ui/store/actions/colorPaletteEditor.d.ts +23 -0
- package/types/ui/store/actions/controlDialog/controlDialog.d.ts +123 -0
- package/types/ui/store/actions/controlDialog/helpers.d.ts +12 -0
- package/types/ui/store/actions/copyEntriesToWorkbook.d.ts +51 -0
- package/types/ui/store/actions/dialog.d.ts +75 -0
- package/types/ui/store/actions/editHistory.d.ts +66 -0
- package/types/ui/store/actions/entryContent.d.ts +74 -0
- package/types/ui/store/actions/iamAccessDialog.d.ts +143 -0
- package/types/ui/store/actions/landing.d.ts +8 -0
- package/types/ui/store/actions/localStorageFallback.d.ts +11 -0
- package/types/ui/store/actions/migrationToWorkbook.d.ts +65 -0
- package/types/ui/store/actions/openDialogTypes.d.ts +65 -0
- package/types/ui/store/actions/toaster.d.ts +16 -0
- package/types/ui/store/actions/user.d.ts +30 -0
- package/types/ui/store/actions/usersByIds.d.ts +2 -0
- package/types/ui/store/configure.d.ts +4 -0
- package/types/ui/store/constants/collectionsStructure.d.ts +80 -0
- package/types/ui/store/constants/controlDialog.d.ts +50 -0
- package/types/ui/store/constants/copyEntriesToWorkbook.d.ts +10 -0
- package/types/ui/store/constants/editHistory.d.ts +5 -0
- package/types/ui/store/constants/iamAccessDialog.d.ts +17 -0
- package/types/ui/store/constants/migrationToWorkbook.d.ts +13 -0
- package/types/ui/store/index.d.ts +7 -0
- package/types/ui/store/reducer-registry.d.ts +19 -0
- package/types/ui/store/reducers/asideHeader.d.ts +7 -0
- package/types/ui/store/reducers/collectionsStructure.d.ts +128 -0
- package/types/ui/store/reducers/colorPaletteEditor.d.ts +8 -0
- package/types/ui/store/reducers/controlDialog/controlDialog.d.ts +58 -0
- package/types/ui/store/reducers/controlDialog/helpers.d.ts +18 -0
- package/types/ui/store/reducers/copyEntriesToWorkbook.d.ts +36 -0
- package/types/ui/store/reducers/dialog.d.ts +9 -0
- package/types/ui/store/reducers/editHistory.d.ts +19 -0
- package/types/ui/store/reducers/entryContent.d.ts +14 -0
- package/types/ui/store/reducers/iamAccessDialog.d.ts +33 -0
- package/types/ui/store/reducers/index.d.ts +280 -0
- package/types/ui/store/reducers/landing.d.ts +10 -0
- package/types/ui/store/reducers/localStorageFallback.d.ts +3 -0
- package/types/ui/store/reducers/migrationToWorkbook.d.ts +25 -0
- package/types/ui/store/reducers/user.d.ts +4 -0
- package/types/ui/store/selectors/asideHeader.d.ts +11 -0
- package/types/ui/store/selectors/collectionsStructure.d.ts +564 -0
- package/types/ui/store/selectors/colorPaletteEditor.d.ts +14 -0
- package/types/ui/store/selectors/controlDialog.d.ts +49 -0
- package/types/ui/store/selectors/copyEntriesToWorkbook.d.ts +81 -0
- package/types/ui/store/selectors/editHistory.d.ts +7 -0
- package/types/ui/store/selectors/entryContent.d.ts +27 -0
- package/types/ui/store/selectors/iamAccessDialog.d.ts +142 -0
- package/types/ui/store/selectors/landing.d.ts +2 -0
- package/types/ui/store/selectors/localStorageFallback.d.ts +2 -0
- package/types/ui/store/selectors/migrationToWorkbook.d.ts +113 -0
- package/types/ui/store/selectors/user.d.ts +47 -0
- package/types/ui/store/toolkit/chartkit/api.d.ts +8 -0
- package/types/ui/store/toolkit/chartkit/types.d.ts +4 -0
- package/types/ui/store/toolkit/index.d.ts +1 -0
- package/types/ui/store/typings/asideHeader.d.ts +23 -0
- package/types/ui/store/typings/controlDialog.d.ts +129 -0
- package/types/ui/store/typings/entryContent.d.ts +19 -0
- package/types/ui/store/typings/iamAccessDialog.d.ts +7 -0
- package/types/ui/store/typings/user.d.ts +12 -0
- package/types/ui/store/utils/asideHeader.d.ts +3 -0
- package/types/ui/store/utils/collectionStructure.d.ts +14 -0
- package/types/ui/store/utils/controlDialog.d.ts +44 -0
- package/types/ui/store/utils/jdp.d.ts +5 -0
- package/types/ui/store/utils/user.d.ts +3 -0
- package/types/ui/typings/common.d.ts +38 -0
- package/types/ui/typings/components.d.ts +7 -0
- package/types/ui/typings/error.d.ts +25 -0
- package/types/ui/typings/index.d.ts +3 -0
- package/types/ui/units/auth/components/AuthPage/AuthPage.d.ts +7 -0
- package/types/ui/units/auth/components/AuthPage/useAuthPageInit.d.ts +1 -0
- package/types/ui/units/auth/components/ChangePasswordDialog/ChangePasswordDialog.d.ts +9 -0
- package/types/ui/units/auth/components/ChangeUserRoleDialog/ChangeUserRoleDialog.d.ts +10 -0
- package/types/ui/units/auth/components/DeleteUserDialog/DeleteUserDialog.d.ts +8 -0
- package/types/ui/units/auth/components/EditUserProfileDialog/EditUserProfileDialog.d.ts +11 -0
- package/types/ui/units/auth/components/LoginById/LoginById.d.ts +2 -0
- package/types/ui/units/auth/components/LoginById/utils.d.ts +2 -0
- package/types/ui/units/auth/components/Logout/Logout.d.ts +1 -0
- package/types/ui/units/auth/components/Reload/Reload.d.ts +1 -0
- package/types/ui/units/auth/components/Signin/Signin.d.ts +2 -0
- package/types/ui/units/auth/components/Signin/components/Login.d.ts +5 -0
- package/types/ui/units/auth/components/Signin/components/Password.d.ts +5 -0
- package/types/ui/units/auth/components/Signup/Signup.d.ts +1 -0
- package/types/ui/units/auth/components/Signup/components/Back.d.ts +1 -0
- package/types/ui/units/auth/components/UserProfile/UserProfile.d.ts +14 -0
- package/types/ui/units/auth/components/UserRoleLabel/UserRoleLabel.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/CustomRow.d.ts +7 -0
- package/types/ui/units/auth/components/formControls/Email.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/FirstName.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/GeneratePasswordButton.d.ts +3 -0
- package/types/ui/units/auth/components/formControls/LastName.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Login.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Password.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/RepeatPassword.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/Roles.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/RowButton.d.ts +2 -0
- package/types/ui/units/auth/components/formControls/types.d.ts +8 -0
- package/types/ui/units/auth/components/formControls/utils.d.ts +1 -0
- package/types/ui/units/auth/constants/errors.d.ts +3 -0
- package/types/ui/units/auth/constants/routes.d.ts +7 -0
- package/types/ui/units/auth/containers/UserProfile/UserProfile.d.ts +4 -0
- package/types/ui/units/auth/hooks/useClearReloadedQuery.d.ts +1 -0
- package/types/ui/units/auth/hooks/useUserById.d.ts +10 -0
- package/types/ui/units/auth/store/actions/common.d.ts +15 -0
- package/types/ui/units/auth/store/actions/index.d.ts +6 -0
- package/types/ui/units/auth/store/actions/logout.d.ts +9 -0
- package/types/ui/units/auth/store/actions/signin.d.ts +20 -0
- package/types/ui/units/auth/store/actions/userInfoForm.d.ts +32 -0
- package/types/ui/units/auth/store/actions/userProfile.d.ts +95 -0
- package/types/ui/units/auth/store/actions/usersByIds.d.ts +21 -0
- package/types/ui/units/auth/store/constants/common.d.ts +2 -0
- package/types/ui/units/auth/store/constants/signin.d.ts +1 -0
- package/types/ui/units/auth/store/constants/userInfoForm.d.ts +4 -0
- package/types/ui/units/auth/store/constants/userProfile.d.ts +17 -0
- package/types/ui/units/auth/store/constants/usersByIds.d.ts +2 -0
- package/types/ui/units/auth/store/reducers/common.d.ts +6 -0
- package/types/ui/units/auth/store/reducers/index.d.ts +41 -0
- package/types/ui/units/auth/store/reducers/signin.d.ts +6 -0
- package/types/ui/units/auth/store/reducers/userInfoForm.d.ts +8 -0
- package/types/ui/units/auth/store/reducers/userProfile.d.ts +28 -0
- package/types/ui/units/auth/store/reducers/usersByIds.d.ts +3 -0
- package/types/ui/units/auth/store/selectors/common.d.ts +3 -0
- package/types/ui/units/auth/store/selectors/signin.d.ts +5 -0
- package/types/ui/units/auth/store/selectors/userInfoForm.d.ts +16 -0
- package/types/ui/units/auth/store/selectors/userProfile.d.ts +9 -0
- package/types/ui/units/auth/store/selectors/usersByIds.d.ts +14 -0
- package/types/ui/units/auth/store/typings/userInfoForm.d.ts +11 -0
- package/types/ui/units/auth/store/typings/usersByIds.d.ts +39 -0
- package/types/ui/units/auth/utils/fields.d.ts +1 -0
- package/types/ui/units/auth/utils/getUsersRoles.d.ts +1 -0
- package/types/ui/units/auth/utils/userProfile.d.ts +4 -0
- package/types/ui/units/auth/utils/validation.d.ts +39 -0
- package/types/ui/units/collections/components/CollectionActions/CollectionActions.d.ts +11 -0
- package/types/ui/units/collections/components/CollectionActions/components/SharedEntryNotice/SharedEntryNotice.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionActions/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionActions/utils.d.ts +23 -0
- package/types/ui/units/collections/components/CollectionBatchPanel/CollectionBatchPanel.d.ts +9 -0
- package/types/ui/units/collections/components/CollectionContent/CollectionContent.d.ts +31 -0
- package/types/ui/units/collections/components/CollectionContent/hooks/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContent/hooks/useActions.d.ts +8 -0
- package/types/ui/units/collections/components/CollectionContent/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContent/utils.d.ts +8 -0
- package/types/ui/units/collections/components/CollectionContentGrid/CollectionContentGrid.d.ts +12 -0
- package/types/ui/units/collections/components/CollectionContentGrid/CollectionItemIcon.d.ts +6 -0
- package/types/ui/units/collections/components/CollectionContentGrid/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionContentTable/CollectionContentTable.d.ts +14 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionCheckboxCell.d.ts +10 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionLinkRow.d.ts +10 -0
- package/types/ui/units/collections/components/CollectionContentTable/TableComponents/CollectionTitleCell.d.ts +6 -0
- package/types/ui/units/collections/components/CollectionContentTable/helpers.d.ts +7 -0
- package/types/ui/units/collections/components/CollectionContentTable/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionPage/CollectionPage.d.ts +2 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/index.d.ts +5 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useCreateWorkbookDialogHandlers.d.ts +2 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useData.d.ts +14 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useFilters.d.ts +11 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useLayout.d.ts +22 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useOpenCreateWorkbookDialog.d.ts +7 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useSelection.d.ts +28 -0
- package/types/ui/units/collections/components/CollectionPage/hooks/useViewMode.d.ts +12 -0
- package/types/ui/units/collections/components/CollectionPage/index.d.ts +1 -0
- package/types/ui/units/collections/components/CollectionPage/utils.d.ts +9 -0
- package/types/ui/units/collections/components/constants.d.ts +111 -0
- package/types/ui/units/collections/components/helpers.d.ts +6 -0
- package/types/ui/units/collections/components/types.d.ts +7 -0
- package/types/ui/units/collections/hooks/useRefreshPageAfterImport.d.ts +9 -0
- package/types/ui/units/collections/store/actions/index.d.ts +125 -0
- package/types/ui/units/collections/store/constants/index.d.ts +16 -0
- package/types/ui/units/collections/store/reducers/index.d.ts +21 -0
- package/types/ui/units/collections/store/selectors/index.d.ts +82 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/CollectionBreadcrumbs.d.ts +14 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/index.d.ts +2 -0
- package/types/ui/units/collections-navigation/components/CollectionBreadcrumbs/utils.d.ts +27 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/CollectionsNavigationApp.d.ts +1 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationApp/index.d.ts +1 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/CollectionsNavigationLayout.d.ts +9 -0
- package/types/ui/units/collections-navigation/components/CollectionsNavigationLayout/index.d.ts +1 -0
- package/types/ui/units/collections-navigation/constants/index.d.ts +2 -0
- package/types/ui/units/collections-navigation/contexts/LayoutContext.d.ts +31 -0
- package/types/ui/units/collections-navigation/store/actions/index.d.ts +91 -0
- package/types/ui/units/collections-navigation/store/constants/index.d.ts +5 -0
- package/types/ui/units/collections-navigation/store/reducers/index.d.ts +10 -0
- package/types/ui/units/collections-navigation/store/selectors/index.d.ts +80 -0
- package/types/ui/units/collections-navigation/utils/index.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/ConnectorForm.d.ts +7 -0
- package/types/ui/units/connections/components/ConnectorForm/ErrorActions/ErrorActions.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/CheckParamsButton/CheckParamsButton.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/FormActions.d.ts +35 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/SubmitButton/SubmitButton.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/selectors.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/FormActions/utils.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/FormItem.d.ts +5 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/FormRow.d.ts +56 -0
- package/types/ui/units/connections/components/ConnectorForm/FormRow/PreparedRowItem.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Checkbox/Checkbox.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Datepicker/Datepicker.d.ts +518 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Description/Description.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/components/FileInput/FileInput.d.ts +602 -0
- package/types/ui/units/connections/components/ConnectorForm/components/FileInput/utils.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Input/Input.d.ts +549 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/KeyValue.d.ts +2 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/hooks.d.ts +24 -0
- package/types/ui/units/connections/components/ConnectorForm/components/KeyValue/types.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Label/Label.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/components/MarkdownItem/MarkdownItem.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/PlainText/PlainText.d.ts +6 -0
- package/types/ui/units/connections/components/ConnectorForm/components/RadioButton/RadioButton.d.ts +487 -0
- package/types/ui/units/connections/components/ConnectorForm/components/RadioGroup/RadioGroup.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/components/Select/Select.d.ts +550 -0
- package/types/ui/units/connections/components/ConnectorForm/components/index.d.ts +13 -0
- package/types/ui/units/connections/components/ConnectorForm/components/withControlWrap/withControlWrap.d.ts +64 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/CacheTtlRow/CacheTtlRow.d.ts +29 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/CollapseRow/CollapseRow.d.ts +25 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/RawSQLLevelRow/RawSQLLevelRow.d.ts +4 -0
- package/types/ui/units/connections/components/ConnectorForm/preparedRows/index.d.ts +3 -0
- package/types/ui/units/connections/components/ConnectorForm/utils/index.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorsList/ConnectorsList.d.ts +9 -0
- package/types/ui/units/connections/components/ConnectorsList/ListItem.d.ts +43 -0
- package/types/ui/units/connections/components/ConnectorsList/utils/index.d.ts +8 -0
- package/types/ui/units/connections/components/ConnectorsList/utils/listItemRender.d.ts +2 -0
- package/types/ui/units/connections/components/ErrorView/ErrorView.d.ts +21 -0
- package/types/ui/units/connections/components/FormTitle/FormTitle.d.ts +11 -0
- package/types/ui/units/connections/components/Page/ConnPanelActions.d.ts +9 -0
- package/types/ui/units/connections/components/Page/Page.d.ts +2 -0
- package/types/ui/units/connections/components/Page/components/ConnSettings.d.ts +4 -0
- package/types/ui/units/connections/components/Page/components/CreateDatasetButton.d.ts +33 -0
- package/types/ui/units/connections/components/Page/components/CreateQlChartButton.d.ts +24 -0
- package/types/ui/units/connections/components/Page/components/DescriptionButton.d.ts +3 -0
- package/types/ui/units/connections/components/Page/components/S3BasedConnButton.d.ts +28 -0
- package/types/ui/units/connections/components/Page/components/UnloadConfirmation.d.ts +1 -0
- package/types/ui/units/connections/components/Page/components/index.d.ts +5 -0
- package/types/ui/units/connections/components/Page/constants.d.ts +2 -0
- package/types/ui/units/connections/components/Page/filterContextMenuItems.d.ts +9 -0
- package/types/ui/units/connections/components/Page/useAdditionalContextMenuItems.d.ts +11 -0
- package/types/ui/units/connections/components/Page/useApiErrors.d.ts +12 -0
- package/types/ui/units/connections/components/Page/utils.d.ts +11 -0
- package/types/ui/units/connections/components/Router/Router.d.ts +9 -0
- package/types/ui/units/connections/components/WrappedLoader/WrappedLoader.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ChOverYT.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ChoicePage.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/ConnectorCard.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/Notification.d.ts +5 -0
- package/types/ui/units/connections/components/custom-forms/ChOverYT/constants.d.ts +5 -0
- package/types/ui/units/connections/components/custom-forms/File/File.d.ts +32 -0
- package/types/ui/units/connections/components/custom-forms/File/components/AddFileButton.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/File/components/FilesList.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/FileItem.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/ListItem.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ListItem/SourceItem.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/File/components/ReplaceSourceButton.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/ColumnFilter.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/FileSettings.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/TypeSelect.d.ts +8 -0
- package/types/ui/units/connections/components/custom-forms/File/components/Workspace/Workspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/File/components/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/File/context.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/File/types.d.ts +20 -0
- package/types/ui/units/connections/components/custom-forms/File/useHandlers.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/File/utils.d.ts +25 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/GSheetsV2.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AddSection.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/GAuthButton.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/AdditionalTitleContent/index.d.ts +13 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceInfoView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/GSheetSourceView.d.ts +12 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/UploadedGSheetView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/GSheetListItemView/index.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/SheetsList.d.ts +16 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/EmptyWorkspace.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceInfoWorkspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetSourceWorkspace.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/GSheetWorkspace.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/Workspace.d.ts +12 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/Workspace/utils.d.ts +9 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/components/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/ActionBarContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/SheetsListContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/WorkspaceContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGSheetDialogs.d.ts +26 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/useGoogleAuth.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/containers/utils.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/GSheetsV2/types.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/Yadocs.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/AdditionalTitleContent.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/DialogAddDocument/DialogAddDocument.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/DocsList.d.ts +14 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/Workspace.d.ts +16 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/UploadedYadocView.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceInfoView.d.ts +10 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/YadocSourceView.d.ts +13 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/YadocListItemView/index.d.ts +11 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/components/index.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/ActionBarContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/DocsListContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/WorkspaceContainer.d.ts +1 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/index.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/containers/useYadocsDialogs.d.ts +26 -0
- package/types/ui/units/connections/components/custom-forms/Yadocs/types.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ButtonLogout/ButtonLogout.d.ts +7 -0
- package/types/ui/units/connections/components/custom-forms/components/ColumnFilter/ColumnFilter.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/ColumnsHeaderSwitcher/ColumnsHeaderSwitcher.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/DialogWithInput.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/index.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/DialogWithInput/types.d.ts +22 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionDeleteView.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionErrorView.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ActionMoreView.d.ts +3 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItem.d.ts +2 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/ListItemActions.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/components/ListItem/types.d.ts +25 -0
- package/types/ui/units/connections/components/custom-forms/components/index.d.ts +6 -0
- package/types/ui/units/connections/components/custom-forms/hooks/useFileSourceTableWidgetData.d.ts +18 -0
- package/types/ui/units/connections/components/custom-forms/index.d.ts +4 -0
- package/types/ui/units/connections/components/custom-forms/utils/render.d.ts +12 -0
- package/types/ui/units/connections/components/dialogs/Confirm/Confirm.d.ts +2 -0
- package/types/ui/units/connections/components/dialogs/Confirm/index.d.ts +6 -0
- package/types/ui/units/connections/components/dialogs/Confirm/types.d.ts +10 -0
- package/types/ui/units/connections/components/dialogs/CreateConnection/CreateConnection.d.ts +9 -0
- package/types/ui/units/connections/components/dialogs/CreateConnectionInWbOrCollection/CreateConnectionInWbOrCollection.d.ts +11 -0
- package/types/ui/units/connections/components/dialogs/S3Source/DialogS3Source.d.ts +2 -0
- package/types/ui/units/connections/components/dialogs/S3Source/ListHeader.d.ts +10 -0
- package/types/ui/units/connections/components/dialogs/S3Source/ListItem.d.ts +9 -0
- package/types/ui/units/connections/components/dialogs/S3Source/index.d.ts +6 -0
- package/types/ui/units/connections/components/dialogs/S3Source/types.d.ts +12 -0
- package/types/ui/units/connections/components/dialogs/S3Source/utils.d.ts +13 -0
- package/types/ui/units/connections/components/dialogs/index.d.ts +4 -0
- package/types/ui/units/connections/components/hooks/index.d.ts +1 -0
- package/types/ui/units/connections/components/hooks/useCreationHandler/index.d.ts +10 -0
- package/types/ui/units/connections/components/index.d.ts +9 -0
- package/types/ui/units/connections/constants/form.d.ts +43 -0
- package/types/ui/units/connections/constants/index.d.ts +11 -0
- package/types/ui/units/connections/constants/validation.d.ts +6 -0
- package/types/ui/units/connections/index.d.ts +108 -0
- package/types/ui/units/connections/store/actions/api.d.ts +103 -0
- package/types/ui/units/connections/store/actions/base.d.ts +74 -0
- package/types/ui/units/connections/store/actions/file.d.ts +13 -0
- package/types/ui/units/connections/store/actions/gsheet/index.d.ts +14 -0
- package/types/ui/units/connections/store/actions/gsheet/misc-actions.d.ts +29 -0
- package/types/ui/units/connections/store/actions/gsheet/utils.d.ts +33 -0
- package/types/ui/units/connections/store/actions/index.d.ts +34 -0
- package/types/ui/units/connections/store/actions/s3-based.d.ts +9 -0
- package/types/ui/units/connections/store/actions/yadoc/index.d.ts +14 -0
- package/types/ui/units/connections/store/actions/yadoc/misc-actions.d.ts +29 -0
- package/types/ui/units/connections/store/actions/yadoc/utils.d.ts +29 -0
- package/types/ui/units/connections/store/constants.d.ts +2 -0
- package/types/ui/units/connections/store/index.d.ts +4 -0
- package/types/ui/units/connections/store/reducers/index.d.ts +3 -0
- package/types/ui/units/connections/store/selectors/connection-data.d.ts +7 -0
- package/types/ui/units/connections/store/selectors/form.d.ts +10 -0
- package/types/ui/units/connections/store/selectors/gsheet.d.ts +8 -0
- package/types/ui/units/connections/store/selectors/index.d.ts +26 -0
- package/types/ui/units/connections/store/selectors/initial-form.d.ts +3 -0
- package/types/ui/units/connections/store/selectors/inner-form.d.ts +4 -0
- package/types/ui/units/connections/store/selectors/yadocs.d.ts +7 -0
- package/types/ui/units/connections/store/typings/file.d.ts +34 -0
- package/types/ui/units/connections/store/typings/gsheet.d.ts +74 -0
- package/types/ui/units/connections/store/typings/index.d.ts +293 -0
- package/types/ui/units/connections/store/typings/s3-based.d.ts +15 -0
- package/types/ui/units/connections/store/typings/yadocs.d.ts +75 -0
- package/types/ui/units/connections/store/utils/connectors.d.ts +12 -0
- package/types/ui/units/connections/store/utils/entry.d.ts +2 -0
- package/types/ui/units/connections/store/utils/file.d.ts +6 -0
- package/types/ui/units/connections/store/utils/forms.d.ts +26 -0
- package/types/ui/units/connections/store/utils/index.d.ts +5 -0
- package/types/ui/units/connections/store/utils/validation.d.ts +11 -0
- package/types/ui/units/connections/typings/common.d.ts +1 -0
- package/types/ui/units/connections/typings/form.d.ts +7 -0
- package/types/ui/units/connections/typings/index.d.ts +2 -0
- package/types/ui/units/connections/utils/common.d.ts +4 -0
- package/types/ui/units/connections/utils/connectors.d.ts +10 -0
- package/types/ui/units/connections/utils/entry.d.ts +4 -0
- package/types/ui/units/connections/utils/gsheet.d.ts +9 -0
- package/types/ui/units/connections/utils/i18n.d.ts +2 -0
- package/types/ui/units/connections/utils/index.d.ts +7 -0
- package/types/ui/units/connections/utils/validation.d.ts +4 -0
- package/types/ui/units/connections/utils/yadocs.d.ts +9 -0
- package/types/ui/units/dash/components/DashActionPanel/DashActionPanel.d.ts +118 -0
- package/types/ui/units/dash/components/DashActionPanel/DashActionPanelMobile.d.ts +10 -0
- package/types/ui/units/dash/components/DashActionPanel/Description/Description.d.ts +8 -0
- package/types/ui/units/dash/components/DashActionPanel/EditControls/EditControls.d.ts +25 -0
- package/types/ui/units/dash/components/DashActionPanel/SaveDropDown/SaveDropDown.d.ts +8 -0
- package/types/ui/units/dash/components/DashActionPanel/ViewControls/ViewControls.d.ts +14 -0
- package/types/ui/units/dash/components/DashActionPanel/helpers.d.ts +9 -0
- package/types/ui/units/dash/components/EmptyState/EmptyState.d.ts +12 -0
- package/types/ui/units/dash/components/GlobalSelectorIcon/GlobalSelectorIcon.d.ts +9 -0
- package/types/ui/units/dash/components/Loader/Loader.d.ts +8 -0
- package/types/ui/units/dash/components/NavigationInput/InputLink/InputLink.d.ts +29 -0
- package/types/ui/units/dash/components/NavigationInput/NavigationInput.d.ts +41 -0
- package/types/ui/units/dash/components/ParamsSettings/ParamsRow.d.ts +15 -0
- package/types/ui/units/dash/components/ParamsSettings/ParamsSettings.d.ts +2 -0
- package/types/ui/units/dash/components/ParamsSettings/helpers.d.ts +8 -0
- package/types/ui/units/dash/components/ParamsSettings/types.d.ts +15 -0
- package/types/ui/units/dash/components/ShareButton/ShareButton.d.ts +15 -0
- package/types/ui/units/dash/containers/App/App.d.ts +2 -0
- package/types/ui/units/dash/containers/Body/Body.d.ts +25 -0
- package/types/ui/units/dash/containers/Body/LazyBody.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/Content/Content.d.ts +49 -0
- package/types/ui/units/dash/containers/Body/components/Content/hooks/useCopiedData.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/DashkitWrapper.d.ts +37 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useConfig.d.ts +2 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashKitContext.d.ts +14 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDashkitRef.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useDataProviderContext.d.ts +3 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useHashStates.d.ts +11 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/getGearGlobalIcon.d.ts +9 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/helpers.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/useOverlay/useOverlay.d.ts +23 -0
- package/types/ui/units/dash/containers/Body/components/DashkitWrapper/hooks/usePreparedCopyItemOptions.d.ts +5 -0
- package/types/ui/units/dash/containers/Body/context.d.ts +20 -0
- package/types/ui/units/dash/containers/Dash/Dash.d.ts +146 -0
- package/types/ui/units/dash/containers/DashError/DashError.d.ts +5 -0
- package/types/ui/units/dash/containers/DashHotkes/DashHotkeys.d.ts +10 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/DialogEditQuery.d.ts +5 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryEditor/QueryEditor.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/QueryError/QueryError.d.ts +6 -0
- package/types/ui/units/dash/containers/Dialogs/DialogEditQuery/helpers/validate-query.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Dialogs.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/Settings.d.ts +2 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/AutoRefresh.d.ts +13 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Display.d.ts +14 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/LoadPriority.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/MaxConnection.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/OtherSettings.d.ts +20 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Params.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Row.d.ts +6 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/components/Title.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/Settings/utils.d.ts +1 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/EditedTabItem.d.ts +8 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/PopupWidgetsOrder.d.ts +15 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/PopupWidgetsOrder/helpers.d.ts +91 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/TabItem.d.ts +75 -0
- package/types/ui/units/dash/containers/Dialogs/Tabs/Tabs.d.ts +51 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorInputsGroup/ColorInputsGroup.d.ts +15 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorItem/ColorItem.d.ts +10 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPalette/ColorPalette.d.ts +13 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPicker/ColorPicker.d.ts +12 -0
- package/types/ui/units/dash/containers/Dialogs/components/ColorPickerInputWithPreset/ColorPickerInputWithPreset.d.ts +7 -0
- package/types/ui/units/dash/containers/Dialogs/components/PaletteBackground/PaletteBackground.d.ts +16 -0
- package/types/ui/units/dash/containers/Dialogs/components/PaletteText/PaletteText.d.ts +14 -0
- package/types/ui/units/dash/containers/Dialogs/constants.d.ts +23 -0
- package/types/ui/units/dash/containers/Dialogs/utils.d.ts +2 -0
- package/types/ui/units/dash/containers/FixedHeader/FixedHeader.d.ts +27 -0
- package/types/ui/units/dash/containers/FixedHeader/FixedHeaderMobile.d.ts +7 -0
- package/types/ui/units/dash/containers/Header/Header.d.ts +53 -0
- package/types/ui/units/dash/containers/MobileFloatMenu/MobileFloatMenu.d.ts +15 -0
- package/types/ui/units/dash/containers/TableOfContent/TableOfContent.d.ts +6 -0
- package/types/ui/units/dash/containers/TableOfContent/helpers.d.ts +5 -0
- package/types/ui/units/dash/containers/Tabs/Tabs.d.ts +32 -0
- package/types/ui/units/dash/hooks/useIframeFeatures.d.ts +7 -0
- package/types/ui/units/dash/modules/constants.d.ts +70 -0
- package/types/ui/units/dash/modules/helpers.d.ts +199 -0
- package/types/ui/units/dash/modules/markdownProvider.d.ts +11 -0
- package/types/ui/units/dash/modules/postMessage.d.ts +16 -0
- package/types/ui/units/dash/modules/pushStats.d.ts +4 -0
- package/types/ui/units/dash/store/actions/base/actions.d.ts +28 -0
- package/types/ui/units/dash/store/actions/base/helpers.d.ts +7 -0
- package/types/ui/units/dash/store/actions/dash.d.ts +2 -0
- package/types/ui/units/dash/store/actions/dashTyped.d.ts +337 -0
- package/types/ui/units/dash/store/actions/dialogs/actions.d.ts +35 -0
- package/types/ui/units/dash/store/actions/dialogs/dialog-edit-query.d.ts +2 -0
- package/types/ui/units/dash/store/actions/helpers.d.ts +60 -0
- package/types/ui/units/dash/store/actions/index.d.ts +10 -0
- package/types/ui/units/dash/store/actions/relations/actions.d.ts +12 -0
- package/types/ui/units/dash/store/constants/dashActionTypes.d.ts +5 -0
- package/types/ui/units/dash/store/constants/index.d.ts +2 -0
- package/types/ui/units/dash/store/reducers/dash.d.ts +61 -0
- package/types/ui/units/dash/store/reducers/dashHelpers.d.ts +48 -0
- package/types/ui/units/dash/store/reducers/dashTypedReducer.d.ts +48 -0
- package/types/ui/units/dash/store/selectors/dash.d.ts +0 -0
- package/types/ui/units/dash/store/selectors/dashTypedSelectors.d.ts +232 -0
- package/types/ui/units/dash/store/typings/dash.d.ts +43 -0
- package/types/ui/units/dash/store/utils.d.ts +28 -0
- package/types/ui/units/dash/typings/context.d.ts +16 -0
- package/types/ui/units/dash/typings/dash.d.ts +20 -0
- package/types/ui/units/dash/typings/entry.d.ts +3 -0
- package/types/ui/units/dash/utils/context.d.ts +3 -0
- package/types/ui/units/dash/utils/customEvents.d.ts +1 -0
- package/types/ui/units/dash/utils/dashkitProps.d.ts +3 -0
- package/types/ui/units/dash/utils/getTabId.d.ts +2 -0
- package/types/ui/units/dash/utils/scrollUtils.d.ts +1 -0
- package/types/ui/units/dash/utils/selectors.d.ts +35 -0
- package/types/ui/units/dash/utils/url.d.ts +6 -0
- package/types/ui/units/datasets/components/Avatar/Avatar.d.ts +29 -0
- package/types/ui/units/datasets/components/ColorsDialog/ColorsDialog.d.ts +15 -0
- package/types/ui/units/datasets/components/ContainerLoader/ContainerLoader.d.ts +23 -0
- package/types/ui/units/datasets/components/DatasetPanel/DatasetPanel.d.ts +51 -0
- package/types/ui/units/datasets/components/DatasetPanel/helpers.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetRouter/DatasetRouter.d.ts +406 -0
- package/types/ui/units/datasets/components/DatasetRouter/UnloadConfirmation.d.ts +1 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/DatasetTabFieldList.d.ts +15 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/FieldRow/FieldRow.d.ts +14 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/TitleColumn/TitleColumn.d.ts +7 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/TypeColumn/TypeColumn.d.ts +7 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValidationColumn/ValidationColumn.d.ts +4 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/components/ValueColumn/ValueColumn.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/constants.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/helpers.d.ts +4 -0
- package/types/ui/units/datasets/components/DatasetTabFieldList/types.d.ts +76 -0
- package/types/ui/units/datasets/components/DatasetTabSection/DatasetTabSection.d.ts +22 -0
- package/types/ui/units/datasets/components/DatasetTable/DatasetTable.d.ts +81 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Aggregation.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Cast.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Description.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/FieldSettings.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Hidden.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Id.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/IndexColumn.d.ts +12 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/More.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Rls.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Source.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/Title.d.ts +11 -0
- package/types/ui/units/datasets/components/DatasetTable/columns/index.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/components/AggregationSelect/AggregationSelect.d.ts +44 -0
- package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/BatchActionPanel.d.ts +8 -0
- package/types/ui/units/datasets/components/DatasetTable/components/BatchActionPanel/components/DialogChangeDatasetFields/DialogChangeDatasetFields.d.ts +21 -0
- package/types/ui/units/datasets/components/DatasetTable/components/DisplaySettings.d.ts +2 -0
- package/types/ui/units/datasets/components/DatasetTable/components/FieldActionsPopup.d.ts +14 -0
- package/types/ui/units/datasets/components/DatasetTable/components/ObservedDataTable.d.ts +9 -0
- package/types/ui/units/datasets/components/DatasetTable/components/TableTextInput.d.ts +10 -0
- package/types/ui/units/datasets/components/DatasetTable/components/TypeSelect/TypeSelect.d.ts +30 -0
- package/types/ui/units/datasets/components/DatasetTable/components/index.d.ts +5 -0
- package/types/ui/units/datasets/components/DatasetTable/constants.d.ts +21 -0
- package/types/ui/units/datasets/components/DatasetTable/types.d.ts +23 -0
- package/types/ui/units/datasets/components/DatasetTable/utils.d.ts +44 -0
- package/types/ui/units/datasets/components/DescriptionButton/DescriptionButton.d.ts +3 -0
- package/types/ui/units/datasets/components/DialogCreateDataset/DialogCreateDataset.d.ts +20 -0
- package/types/ui/units/datasets/components/DragAndDrop/DragAndDrop.d.ts +6 -0
- package/types/ui/units/datasets/components/ErrorView/ErrorView.d.ts +12 -0
- package/types/ui/units/datasets/components/FieldSettingsDialog/FieldSettingsDialog.d.ts +13 -0
- package/types/ui/units/datasets/components/FilterSection/FilterSection.d.ts +18 -0
- package/types/ui/units/datasets/components/FilterSection/helpers.d.ts +10 -0
- package/types/ui/units/datasets/components/FilterSection/types.d.ts +3 -0
- package/types/ui/units/datasets/components/FilterSection/useFilterSection.d.ts +24 -0
- package/types/ui/units/datasets/components/ParametersSection/ParametersSection.d.ts +10 -0
- package/types/ui/units/datasets/components/ParametersSection/components/CopyToClipboard/CopyToClipboardMenuItem.d.ts +2 -0
- package/types/ui/units/datasets/components/ParametersSection/components/HeaderWithTooltip/HeaderWithTooltip.d.ts +1 -0
- package/types/ui/units/datasets/components/ParametersSection/helpers.d.ts +5 -0
- package/types/ui/units/datasets/components/ParametersSection/useParametersSection.d.ts +12 -0
- package/types/ui/units/datasets/components/PreviewHeader/PreviewHeader.d.ts +24 -0
- package/types/ui/units/datasets/components/PreviewHeader/constants.d.ts +1 -0
- package/types/ui/units/datasets/components/PreviewHeader/utils.d.ts +1 -0
- package/types/ui/units/datasets/components/PreviewTable/PreviewTable.d.ts +35 -0
- package/types/ui/units/datasets/components/RLSDialog/RLSDialog.d.ts +51 -0
- package/types/ui/units/datasets/components/RelationDialog/RelationDialog.d.ts +69 -0
- package/types/ui/units/datasets/components/RelationsMap/RelationsMap.d.ts +5 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/SelectSourcePrototypes.d.ts +63 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/SourcesTable.d.ts +21 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/constants.d.ts +3 -0
- package/types/ui/units/datasets/components/SelectSourcePrototypes/utils.d.ts +2 -0
- package/types/ui/units/datasets/components/Source/Source.d.ts +27 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/SourceEditorDialog.d.ts +32 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/EditorFormItem.d.ts +12 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/Form.d.ts +14 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/InputFormItem.d.ts +13 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/ParamSelector.d.ts +17 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SelectFormItem.d.ts +10 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceError.d.ts +9 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceHelpTooltip.d.ts +7 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/SourceSwitcher.d.ts +10 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/components/index.d.ts +5 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/types.d.ts +8 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/helpers.d.ts +19 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/index.d.ts +2 -0
- package/types/ui/units/datasets/components/SourceEditorDialog/utils/validation.d.ts +7 -0
- package/types/ui/units/datasets/components/UserName/UserName.d.ts +9 -0
- package/types/ui/units/datasets/components/Veil/Veil.d.ts +10 -0
- package/types/ui/units/datasets/components/dialogs/DatasetFieldInspector/DatasetFieldInspector.d.ts +10 -0
- package/types/ui/units/datasets/components/dialogs/index.d.ts +1 -0
- package/types/ui/units/datasets/components/hoc/AvatarDnD.d.ts +12 -0
- package/types/ui/units/datasets/constants/datasets.d.ts +22 -0
- package/types/ui/units/datasets/constants/index.d.ts +138 -0
- package/types/ui/units/datasets/containers/Dataset/ActionPanelRightItems.d.ts +9 -0
- package/types/ui/units/datasets/containers/Dataset/Dataset.d.ts +475 -0
- package/types/ui/units/datasets/containers/Dataset/constants.d.ts +1 -0
- package/types/ui/units/datasets/containers/Dataset/getAdditionalContextMenuItems.d.ts +18 -0
- package/types/ui/units/datasets/containers/Dataset/useHistoryActions.d.ts +1 -0
- package/types/ui/units/datasets/containers/DatasetEditor/DatasetEditor.d.ts +101 -0
- package/types/ui/units/datasets/containers/DatasetEditor/utils.d.ts +9 -0
- package/types/ui/units/datasets/containers/DatasetError/DatasetError.d.ts +41 -0
- package/types/ui/units/datasets/containers/DatasetFilters/DatasetFilters.d.ts +6 -0
- package/types/ui/units/datasets/containers/DatasetPage/DatasetPage.d.ts +27 -0
- package/types/ui/units/datasets/containers/DatasetPage/createDatasetPageContext.d.ts +7 -0
- package/types/ui/units/datasets/containers/DatasetParameters/DatasetParameters.d.ts +5 -0
- package/types/ui/units/datasets/containers/DatasetPreview/DatasetPreview.d.ts +3 -0
- package/types/ui/units/datasets/containers/DatasetSources/DatasetSources.d.ts +546 -0
- package/types/ui/units/datasets/containers/DatasetTabViewer/DatasetTabViewer.d.ts +15 -0
- package/types/ui/units/datasets/helpers/dataset-error-helpers.d.ts +8 -0
- package/types/ui/units/datasets/helpers/datasets.d.ts +5 -0
- package/types/ui/units/datasets/helpers/utils.d.ts +52 -0
- package/types/ui/units/datasets/helpers/validation.d.ts +10 -0
- package/types/ui/units/datasets/store/actions/creators/datasetTyped.d.ts +215 -0
- package/types/ui/units/datasets/store/actions/creators/dialogs.d.ts +11 -0
- package/types/ui/units/datasets/store/actions/creators/index.d.ts +2 -0
- package/types/ui/units/datasets/store/actions/creators/utils.d.ts +9 -0
- package/types/ui/units/datasets/store/actions/types/dataset.d.ts +83 -0
- package/types/ui/units/datasets/store/constants.d.ts +11 -0
- package/types/ui/units/datasets/store/edit-history-middleware.d.ts +2 -0
- package/types/ui/units/datasets/store/reducers/dataset.d.ts +1544 -0
- package/types/ui/units/datasets/store/reducers/index.d.ts +1544 -0
- package/types/ui/units/datasets/store/reducers/utils/index.d.ts +8 -0
- package/types/ui/units/datasets/store/reducers/utils/mocks.d.ts +2 -0
- package/types/ui/units/datasets/store/selectors/dataset.d.ts +240 -0
- package/types/ui/units/datasets/store/selectors/datasetTyped.d.ts +3 -0
- package/types/ui/units/datasets/store/selectors/index.d.ts +2 -0
- package/types/ui/units/datasets/store/types/dataset.d.ts +681 -0
- package/types/ui/units/datasets/store/types/index.d.ts +1 -0
- package/types/ui/units/datasets/typings/dataset.d.ts +20 -0
- package/types/ui/units/datasets/typings/redux.d.ts +20 -0
- package/types/ui/units/preview/components/App/App.d.ts +24 -0
- package/types/ui/units/preview/components/IndexPage/IndexPage.d.ts +2 -0
- package/types/ui/units/preview/components/Preview/Preview.d.ts +14 -0
- package/types/ui/units/preview/hooks/useChartAutoupdate.d.ts +4 -0
- package/types/ui/units/preview/modules/constants/constants.d.ts +2 -0
- package/types/ui/units/preview/modules/helpers.d.ts +1 -0
- package/types/ui/units/ql/components/DND/DNDContainer.d.ts +33 -0
- package/types/ui/units/ql/components/DND/DNDItem.d.ts +2 -0
- package/types/ui/units/ql/components/DND/DNDLayer.d.ts +61 -0
- package/types/ui/units/ql/components/Dialogs/Settings/Settings.d.ts +67 -0
- package/types/ui/units/ql/components/Grid/Grid.d.ts +26 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPane.d.ts +11 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneView.d.ts +36 -0
- package/types/ui/units/ql/components/Grid/GridPane/GridPaneView/GridPaneViewContent.d.ts +16 -0
- package/types/ui/units/ql/configs/chart-types.d.ts +10 -0
- package/types/ui/units/ql/constants/index.d.ts +47 -0
- package/types/ui/units/ql/containers/App/App.d.ts +302 -0
- package/types/ui/units/ql/containers/PaneMain/PaneMain.d.ts +13 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/ScreenEditor.d.ts +9 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/DefaultValue.d.ts +25 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/OverridenValue.d.ts +7 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/TabParams.d.ts +6 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabParams/utils.d.ts +8 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenPromQL/ScreenPromQL.d.ts +13 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/ScreenSQL/ScreenSQL.d.ts +9 -0
- package/types/ui/units/ql/containers/PaneMain/ScreenEditor/TabQuery/TabQuery.d.ts +11 -0
- package/types/ui/units/ql/containers/PanePreview/PanePreview.d.ts +12 -0
- package/types/ui/units/ql/containers/PaneTablePreview/PaneTablePreview.d.ts +12 -0
- package/types/ui/units/ql/containers/PaneVisualization/PaneVisualization.d.ts +7 -0
- package/types/ui/units/ql/containers/QL/QL.d.ts +12 -0
- package/types/ui/units/ql/containers/QL/QLActionPanel/QLActionPanel.d.ts +15 -0
- package/types/ui/units/ql/containers/QL/QLActionPanel/useQLActionPanel.d.ts +6 -0
- package/types/ui/units/ql/containers/QL/ViewSetup/ViewSetup.d.ts +3 -0
- package/types/ui/units/ql/modules/helpers.d.ts +4 -0
- package/types/ui/units/ql/store/actions/dialog.d.ts +13 -0
- package/types/ui/units/ql/store/actions/ql.d.ts +284 -0
- package/types/ui/units/ql/store/reducers/index.d.ts +219 -0
- package/types/ui/units/ql/store/reducers/ql.d.ts +873 -0
- package/types/ui/units/ql/store/typings/index.d.ts +1 -0
- package/types/ui/units/ql/store/typings/ql.d.ts +289 -0
- package/types/ui/units/ql/store/utils/grid.d.ts +81 -0
- package/types/ui/units/ql/store/utils/monitoring.d.ts +572 -0
- package/types/ui/units/ql/utils/chart-settings.d.ts +3 -0
- package/types/ui/units/ql/utils/connectionts.d.ts +2 -0
- package/types/ui/units/ql/utils/query.d.ts +3 -0
- package/types/ui/units/ql/utils/visualization/getAvailableQlVisualizations.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/getDefaultQlVisualization.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/getQlVisualization.d.ts +2 -0
- package/types/ui/units/ql/utils/visualization/index.d.ts +3 -0
- package/types/ui/units/service-settings/components/AppearanceSettings/AppearanceSettings.d.ts +7 -0
- package/types/ui/units/service-settings/components/CreateUserForm/CreateUserForm.d.ts +1 -0
- package/types/ui/units/service-settings/components/SectionGroup/SectionGroup.d.ts +7 -0
- package/types/ui/units/service-settings/components/UsersList/LabelsList/LabelsList.d.ts +9 -0
- package/types/ui/units/service-settings/components/UsersList/UsersFilters/UsersFilters.d.ts +5 -0
- package/types/ui/units/service-settings/components/UsersList/UsersList.d.ts +2 -0
- package/types/ui/units/service-settings/components/UsersList/constants.d.ts +7 -0
- package/types/ui/units/service-settings/components/UsersList/utils.d.ts +3 -0
- package/types/ui/units/service-settings/containers/AccessErrorPage/AccessErrorPage.d.ts +2 -0
- package/types/ui/units/service-settings/containers/App/App.d.ts +7 -0
- package/types/ui/units/service-settings/containers/CreateProfilePage/CreateProfilePage.d.ts +2 -0
- package/types/ui/units/service-settings/containers/MainPage/MainPage.d.ts +18 -0
- package/types/ui/units/service-settings/containers/UserProfilePage/UserProfilePage.d.ts +2 -0
- package/types/ui/units/service-settings/store/actions/serviceSettings.d.ts +64 -0
- package/types/ui/units/service-settings/store/constants/serviceSettings.d.ts +10 -0
- package/types/ui/units/service-settings/store/reducers/serviceSettings.d.ts +34 -0
- package/types/ui/units/service-settings/store/selectors/serviceSettings.d.ts +10 -0
- package/types/ui/units/service-settings/store/typings/serviceSettings.d.ts +17 -0
- package/types/ui/units/wizard/actions/dataset.d.ts +106 -0
- package/types/ui/units/wizard/actions/dialog.d.ts +70 -0
- package/types/ui/units/wizard/actions/dialogColor.d.ts +58 -0
- package/types/ui/units/wizard/actions/dndItems.d.ts +68 -0
- package/types/ui/units/wizard/actions/hierarchyEditor.d.ts +14 -0
- package/types/ui/units/wizard/actions/index.d.ts +714 -0
- package/types/ui/units/wizard/actions/placeholder.d.ts +31 -0
- package/types/ui/units/wizard/actions/preview.d.ts +88 -0
- package/types/ui/units/wizard/actions/settings.d.ts +36 -0
- package/types/ui/units/wizard/actions/tooltip.d.ts +7 -0
- package/types/ui/units/wizard/actions/utils/getDatasetUpdates.d.ts +25 -0
- package/types/ui/units/wizard/actions/utils/index.d.ts +3 -0
- package/types/ui/units/wizard/actions/utils/mutateAndValidateItem.d.ts +6 -0
- package/types/ui/units/wizard/actions/utils/placeholders.d.ts +2 -0
- package/types/ui/units/wizard/actions/visualization.d.ts +199 -0
- package/types/ui/units/wizard/actions/widget.d.ts +60 -0
- package/types/ui/units/wizard/components/AddField/AddField.d.ts +22 -0
- package/types/ui/units/wizard/components/DND/DNDContainer.d.ts +33 -0
- package/types/ui/units/wizard/components/DND/DNDItem.d.ts +32 -0
- package/types/ui/units/wizard/components/DND/DragAndDrop.d.ts +6 -0
- package/types/ui/units/wizard/components/DatasetSelect/DatasetSelect.d.ts +31 -0
- package/types/ui/units/wizard/components/DatasetSelect/DatasetSelectItem.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/ColorSettingsContainer/ColorSettingsContainer.d.ts +55 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColor.d.ts +249 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorGradient/DialogColorGradient.d.ts +38 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColor/DialogColorPalette/DialogColorPalette.d.ts +35 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/DialogColumnSettings.d.ts +28 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSetting/ColumnWidthSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/ColumnWidthSettingsSection/ColumnWidthSettingsSection.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/FieldInfo/FieldInfo.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/components/Subheader/Subheader.d.ts +6 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/hooks/useDialogColumnSettingsState.d.ts +28 -0
- package/types/ui/units/wizard/components/Dialogs/DialogColumnSettings/utils/index.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/DialogField.d.ts +44 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/BackgroundSettings.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/helpers.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgrounColorFieldSelect.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundColorModeRadioButtons.d.ts +20 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundNullModeSettings.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettings.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsButtonColorDialog.d.ts +24 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BackgroundSettings/hooks/useBackgroundSettingsSwitch.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/BarsSettings.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/ColorControls/ColorsControl.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/GradientColorControl/GradientColorControl.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/MinMaxInputs/MinMaxInputs.d.ts +19 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/components/PaletteColorControl/PaletteColorControl.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/helpers.d.ts +4 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/BarsSettings/useBarsSettings/useBarsSettings.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/ButtonColorDialog/ButtonColorDialog.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldInput/DialogFieldInput.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldMainSection/DialogFieldMainSection.d.ts +46 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldRow/DialogFieldRow.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSelect/DialogFieldSelect.d.ts +13 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/DialogFieldSettingTitle/DialogFieldSettingTitle.d.ts +6 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/components/SubTotalsSettings/SubTotalsSettings.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/backgroundSettings.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/barsSettings.d.ts +2 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/misc.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/DialogField/utils/subTotals.d.ts +4 -0
- package/types/ui/units/wizard/components/Dialogs/DialogFieldInspector/DialogFieldInspector.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/DialogGeolayer/DialogGeolayer.d.ts +63 -0
- package/types/ui/units/wizard/components/Dialogs/DialogLabelSettings/DialogLabelSettings.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/DialogLink.d.ts +67 -0
- package/types/ui/units/wizard/components/Dialogs/DialogMetricSettings/DialogMetricSettings.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogMultidataset.d.ts +16 -0
- package/types/ui/units/wizard/components/Dialogs/DialogNoRights.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/DialogPlaceholder.d.ts +19 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/components/DialogPlaceholderRow/DialogPlaceholderRow.d.ts +5 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/constants/radio-buttons.d.ts +15 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPlaceholder/utils.d.ts +2 -0
- package/types/ui/units/wizard/components/Dialogs/DialogPointsSize.d.ts +14 -0
- package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapes.d.ts +27 -0
- package/types/ui/units/wizard/components/Dialogs/DialogShapes/DialogShapesPalette/DialogShapesPalette.d.ts +21 -0
- package/types/ui/units/wizard/components/Dialogs/DialogTooltipSettings/DialogTooltipSettings.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/CenterSetting/CenterSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/IndicatorTitleSetting/IndicatorTitleSetting.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/LimitInput/LimitInput.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingFeed/SettingFeed.d.ts +7 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/NavigatorSubSettings/NavigatorSubSettings.d.ts +18 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingNavigator/SettingNavigator.d.ts +8 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingPagination/SettingPagination.d.ts +17 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingSwitcher/SettingSwitcher.d.ts +22 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/SettingTitleMode/SettingTitleMode.d.ts +9 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/Settings.d.ts +24 -0
- package/types/ui/units/wizard/components/Dialogs/Settings/ZoomSetting/ZoomSetting.d.ts +11 -0
- package/types/ui/units/wizard/components/Dialogs/components/DialogRadioButtons/DialogRadioButtons.d.ts +12 -0
- package/types/ui/units/wizard/components/Dialogs/components/DialogRow/DialogRow.d.ts +10 -0
- package/types/ui/units/wizard/components/Dialogs/components/TitleWithTooltip/TitleWithTooltip.d.ts +7 -0
- package/types/ui/units/wizard/components/GeolayersSelect/GeolayersSelect.d.ts +37 -0
- package/types/ui/units/wizard/components/GradientPalettePreview/GradientPalettePreview.d.ts +6 -0
- package/types/ui/units/wizard/components/HierarchyEditor/HierarchyEditor.d.ts +25 -0
- package/types/ui/units/wizard/components/MinifiedPalette/MinifiedPalette.d.ts +17 -0
- package/types/ui/units/wizard/components/Palette/Palette.d.ts +18 -0
- package/types/ui/units/wizard/components/PlaceholderActionIcon/PlaceholderActionIcon.d.ts +17 -0
- package/types/ui/units/wizard/components/SearchInput/SearchInput.d.ts +10 -0
- package/types/ui/units/wizard/components/ValuesList/ValuesList.d.ts +62 -0
- package/types/ui/units/wizard/components/VisualizationItemTitleWithAggregation/VisualizationItemTitleWithAggregation.d.ts +7 -0
- package/types/ui/units/wizard/constants/aggregations.d.ts +12 -0
- package/types/ui/units/wizard/constants/dialogColor.d.ts +30 -0
- package/types/ui/units/wizard/constants/formats.d.ts +11 -0
- package/types/ui/units/wizard/constants/grouping.d.ts +3 -0
- package/types/ui/units/wizard/constants/index.d.ts +9 -0
- package/types/ui/units/wizard/constants/paletteTypes.d.ts +5 -0
- package/types/ui/units/wizard/constants/placeholders.d.ts +2 -0
- package/types/ui/units/wizard/containers/App.d.ts +109 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/DatasetItem/DatasetItem.d.ts +80 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/FieldsContainer.d.ts +9 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/ParametersContainer/ParametersContainer.d.ts +5 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/FieldsContainer/components/SectionContainer/SectionContainer.d.ts +10 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/HierarchyEditor/HierarchyEditor.d.ts +261 -0
- package/types/ui/units/wizard/containers/Wizard/SectionDataset/SectionDataset.d.ts +336 -0
- package/types/ui/units/wizard/containers/Wizard/SectionPreview/SectionPreview.d.ts +57 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/AddField/AddField.d.ts +28 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/AvailablePlaceholder/AvailablePlaceholder.d.ts +32 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ColorsPlaceholder/ColorsPlaceholder.d.ts +47 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardFiltersPlaceholder/DashboardFiltersPlaceholder.d.ts +56 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/DashboardParametersPlaceholder/DashboardParametersPlaceholder.d.ts +51 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/FiltersPlaceholder/FiltersPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LabelsPlaceholder/LabelsPlaceholder.d.ts +50 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/LayerFiltersPlaceholder/LayerFiltersPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/Placeholder/Placeholder.d.ts +478 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/PlaceholdersContainer.d.ts +58 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SegmentsPlaceholder/SegmentsPlaceholder.d.ts +34 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/ShapesPlaceholder/ShapesPlaceholder.d.ts +40 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/SortPlaceholder/SortPlaceholder.d.ts +408 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/TooltipsPlaceholder/TooltipsPlaceholder.d.ts +38 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/VisualizationPlaceholder.d.ts +462 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/VisualizationPlaceholder/constants.d.ts +2 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/PlaceholdersContainer/utils.d.ts +186 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/SectionVisualization.d.ts +381 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationItem/VisualizationItem.d.ts +82 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/CombinedChartLayerTypeSwitcher.d.ts +4 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationLayersControl/VisualizationLayersControl.d.ts +31 -0
- package/types/ui/units/wizard/containers/Wizard/SectionVisualization/VisualizationSelector/VisualizationSelector.d.ts +45 -0
- package/types/ui/units/wizard/containers/Wizard/Wizard.d.ts +8 -0
- package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/WizardActionPanel.d.ts +20 -0
- package/types/ui/units/wizard/containers/Wizard/WizardActionPanel/useWizardActionPanel.d.ts +11 -0
- package/types/ui/units/wizard/reducers/dataset.d.ts +19 -0
- package/types/ui/units/wizard/reducers/dialogColor.d.ts +6 -0
- package/types/ui/units/wizard/reducers/hierarchyEditor.d.ts +8 -0
- package/types/ui/units/wizard/reducers/index.d.ts +31 -0
- package/types/ui/units/wizard/reducers/preview.d.ts +38 -0
- package/types/ui/units/wizard/reducers/revisions/reducers.d.ts +8 -0
- package/types/ui/units/wizard/reducers/settings.d.ts +10 -0
- package/types/ui/units/wizard/reducers/utils/checkTableColor.d.ts +2 -0
- package/types/ui/units/wizard/reducers/utils/clearUnusedVisualizationItems.d.ts +21 -0
- package/types/ui/units/wizard/reducers/utils/getConfigData.d.ts +3 -0
- package/types/ui/units/wizard/reducers/utils/getPlaceholdersWithMergedSettings.d.ts +14 -0
- package/types/ui/units/wizard/reducers/utils/index.d.ts +2 -0
- package/types/ui/units/wizard/reducers/utils/updateColorHierarchies.d.ts +189 -0
- package/types/ui/units/wizard/reducers/visualization.d.ts +26 -0
- package/types/ui/units/wizard/reducers/widget.d.ts +12 -0
- package/types/ui/units/wizard/selectors/dataset.d.ts +41 -0
- package/types/ui/units/wizard/selectors/dialogColor.d.ts +10 -0
- package/types/ui/units/wizard/selectors/gradient.d.ts +3 -0
- package/types/ui/units/wizard/selectors/index.d.ts +11 -0
- package/types/ui/units/wizard/selectors/preview.d.ts +40 -0
- package/types/ui/units/wizard/selectors/settings.d.ts +15 -0
- package/types/ui/units/wizard/selectors/visualization.d.ts +705 -0
- package/types/ui/units/wizard/selectors/widget.d.ts +9 -0
- package/types/ui/units/wizard/typings/index.d.ts +1 -0
- package/types/ui/units/wizard/typings/wizard.d.ts +33 -0
- package/types/ui/units/wizard/utils/colors.d.ts +2 -0
- package/types/ui/units/wizard/utils/filters.d.ts +7 -0
- package/types/ui/units/wizard/utils/helpers.d.ts +224 -0
- package/types/ui/units/wizard/utils/mappers/mapChartsToClientConfig.d.ts +4 -0
- package/types/ui/units/wizard/utils/mappers/mapClientToChartsConfig.d.ts +4 -0
- package/types/ui/units/wizard/utils/palette.d.ts +5 -0
- package/types/ui/units/wizard/utils/placeholder.d.ts +21 -0
- package/types/ui/units/wizard/utils/shapes.d.ts +2 -0
- package/types/ui/units/wizard/utils/table.d.ts +2 -0
- package/types/ui/units/wizard/utils/visualization.d.ts +232 -0
- package/types/ui/units/wizard/utils/wizard.d.ts +150 -0
- package/types/ui/units/workbooks/components/CreateEntry/CreateEntry.d.ts +13 -0
- package/types/ui/units/workbooks/components/CreateEntry/utils.d.ts +13 -0
- package/types/ui/units/workbooks/components/CreateEntryDialog/CreateEntryDialog.d.ts +2 -0
- package/types/ui/units/workbooks/components/CreateEntryDialog/utils.d.ts +3 -0
- package/types/ui/units/workbooks/components/DeleteEntryDialog/DeleteEntryDialog.d.ts +11 -0
- package/types/ui/units/workbooks/components/DuplicateEntryDialog/DuplicateEntryDialog.d.ts +13 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbook.d.ts +11 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/EmptyWorkbookContainer.d.ts +5 -0
- package/types/ui/units/workbooks/components/EmptyWorkbook/utils.d.ts +5 -0
- package/types/ui/units/workbooks/components/EntryActions/EntryActions.d.ts +15 -0
- package/types/ui/units/workbooks/components/EntryActions/utils.d.ts +2 -0
- package/types/ui/units/workbooks/components/RenameEntryDialog/RenameEntryDialog.d.ts +11 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/ChunkGroup/ChunkGroup.d.ts +7 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/MainTabContent/MainTabContent.d.ts +20 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/Row/Row.d.ts +20 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTable.d.ts +27 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/WorkbookEntriesTableTabs.d.ts +29 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/constants.d.ts +8 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/types.d.ts +13 -0
- package/types/ui/units/workbooks/components/Table/WorkbookEntriesTable/utils.d.ts +3 -0
- package/types/ui/units/workbooks/components/WorkbookActions/WorkbookActions.d.ts +8 -0
- package/types/ui/units/workbooks/components/WorkbookActions/utils.d.ts +2 -0
- package/types/ui/units/workbooks/components/WorkbookFilters/WorkbookFilters.d.ts +8 -0
- package/types/ui/units/workbooks/components/WorkbookMainTabContent/WorkbookMainTabContent.d.ts +10 -0
- package/types/ui/units/workbooks/components/WorkbookMainTabContent/useChunkedEntries.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookPage/WorkbookPage.d.ts +1 -0
- package/types/ui/units/workbooks/components/WorkbookPage/hooks/useLayout.d.ts +6 -0
- package/types/ui/units/workbooks/components/WorkbookTabContent/WorkbookTabContent.d.ts +12 -0
- package/types/ui/units/workbooks/components/WorkbookTabContent/useChunkedEntries.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/WorkbookTabs.d.ts +6 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/constants.d.ts +1 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/types.d.ts +7 -0
- package/types/ui/units/workbooks/components/WorkbookTabs/utils.d.ts +3 -0
- package/types/ui/units/workbooks/constants/index.d.ts +10 -0
- package/types/ui/units/workbooks/store/actions/index.d.ts +246 -0
- package/types/ui/units/workbooks/store/constants/index.d.ts +39 -0
- package/types/ui/units/workbooks/store/reducers/index.d.ts +230 -0
- package/types/ui/units/workbooks/store/reducers/workbook-page.d.ts +278 -0
- package/types/ui/units/workbooks/store/selectors/index.d.ts +242 -0
- package/types/ui/units/workbooks/types/index.d.ts +25 -0
- package/types/ui/units/workbooks/utils/entry.d.ts +2 -0
- package/types/ui/utils/absurd.d.ts +26 -0
- package/types/ui/utils/collectionFiltersStorage.d.ts +13 -0
- package/types/ui/utils/colors.d.ts +6 -0
- package/types/ui/utils/connections/icons.d.ts +4 -0
- package/types/ui/utils/connections/index.d.ts +1 -0
- package/types/ui/utils/copyItems.d.ts +47 -0
- package/types/ui/utils/copyText.d.ts +6 -0
- package/types/ui/utils/custom-export-menu-item.d.ts +8 -0
- package/types/ui/utils/date.d.ts +3 -0
- package/types/ui/utils/docs/helpers.d.ts +1 -0
- package/types/ui/utils/docs/index.d.ts +4 -0
- package/types/ui/utils/embedded.d.ts +5 -0
- package/types/ui/utils/errorContentTypes.d.ts +6 -0
- package/types/ui/utils/errors/errorByCode.d.ts +17 -0
- package/types/ui/utils/errors/manual.d.ts +1 -0
- package/types/ui/utils/errors/parse.d.ts +13 -0
- package/types/ui/utils/getActionPanelItems.d.ts +23 -0
- package/types/ui/utils/getAllEntryScopes.d.ts +2 -0
- package/types/ui/utils/getBasicActionPanelItems.d.ts +10 -0
- package/types/ui/utils/getCurrentUserRights.d.ts +3 -0
- package/types/ui/utils/getOverridedTheme.d.ts +2 -0
- package/types/ui/utils/getRestrictedParamNames.d.ts +1 -0
- package/types/ui/utils/getRevisionsPanelEntryScopesTexts.d.ts +22 -0
- package/types/ui/utils/getScopeTypeIcon.d.ts +1 -0
- package/types/ui/utils/getTopLevelEntryScopes.d.ts +2 -0
- package/types/ui/utils/getTypeSelectOptions.d.ts +3 -0
- package/types/ui/utils/gridStorage.d.ts +18 -0
- package/types/ui/utils/helpers.d.ts +17 -0
- package/types/ui/utils/icons.d.ts +2 -0
- package/types/ui/utils/index.d.ts +18 -0
- package/types/ui/utils/isEnabledFeature.d.ts +1 -0
- package/types/ui/utils/markdown/get-render-markdown-fn.d.ts +1 -0
- package/types/ui/utils/markdown/get-render-yfm-fn.d.ts +2 -0
- package/types/ui/utils/markdown/index.d.ts +2 -0
- package/types/ui/utils/markup.d.ts +2 -0
- package/types/ui/utils/migrateItemDataOnPaste.d.ts +17 -0
- package/types/ui/utils/mobile.d.ts +15 -0
- package/types/ui/utils/os.d.ts +14 -0
- package/types/ui/utils/palettes.d.ts +2 -0
- package/types/ui/utils/readOnly.d.ts +1 -0
- package/types/ui/utils/revisions.d.ts +13 -0
- package/types/ui/utils/scrollableContainerContext.d.ts +10 -0
- package/types/ui/utils/sdkRequests.d.ts +8 -0
- package/types/ui/utils/setEntryKey.d.ts +2 -0
- package/types/ui/utils/shared-entries/get-is-shared-entry.d.ts +2 -0
- package/types/ui/utils/shared-entries/index.d.ts +1 -0
- package/types/ui/utils/stringUtils.d.ts +2 -0
- package/types/ui/utils/urlUtils.d.ts +4 -0
- package/types/ui/utils/utils.d.ts +62 -0
- package/types/ui/utils/validation.d.ts +8 -0
- package/types/ui/utils/visualizations/line.d.ts +22 -0
- package/types/ui/utils/visualizations/placeholders/colors.d.ts +16 -0
- package/types/ui/utils/visualizations/placeholders/common-measures.d.ts +11 -0
- package/types/ui/utils/waitOperation.d.ts +24 -0
- package/types/ui/utils/widgetColors.d.ts +9 -0
- package/types/ui/utils/workbooks.d.ts +1 -0
|
@@ -0,0 +1,3262 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import { n as ErrorCode, l as I18n, V as CollectionItemEntities, W as DialogCollectionStructureQa, X as WorkbookDialogQA, F as Feature } from "./AccessRights.js";
|
|
4
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
+
import { D as DialogManager } from "./DialogManager.js";
|
|
6
|
+
import { Dialog, TextInput, useThemeType, Card, Icon, Loader, Button, TextArea, useFileInput, Flex, Text, HelpMark, Label, Disclosure, spacing, Link } from "@gravity-ui/uikit";
|
|
7
|
+
import { toaster } from "@gravity-ui/uikit/toaster-singleton";
|
|
8
|
+
import block from "bem-cn-lite";
|
|
9
|
+
import { D as DIALOG_DEFAULT } from "./DialogDefault.js";
|
|
10
|
+
import { g as getSdk, l as logger, d as showToast, e as isSdkError, f as openDialogErrorWithTabs, h as formDocsEndpointDL, j as useMountedState, o as openDialog, c as closeDialog, i as isEnabledFeature } from "./ActionPanel.js";
|
|
11
|
+
import { Paperclip, CircleExclamation, File, Clock, Key, Thunderbolt } from "@gravity-ui/icons";
|
|
12
|
+
import { I as InterpolatedText } from "./InterpolatedText.js";
|
|
13
|
+
import { P as ProgressBar } from "./ProgressBar.js";
|
|
14
|
+
import { V as ViewError } from "./ViewError.js";
|
|
15
|
+
import { createSelector } from "reselect";
|
|
16
|
+
import { a as DialogConfirm, b as DialogConfirmApplyStatus } from "./DialogConfirm.js";
|
|
17
|
+
import { useHistory } from "react-router-dom";
|
|
18
|
+
import axios from "axios";
|
|
19
|
+
import { C as CollectionFilters } from "./CollectionFilters.js";
|
|
20
|
+
import { Waypoint } from "react-waypoint";
|
|
21
|
+
import { P as PlaceholderIllustration } from "./PlaceholderIllustration.js";
|
|
22
|
+
import { C as CollectionsStructureBreadcrumbs } from "./Breadcrumbs.js";
|
|
23
|
+
import { S as SmartLoader } from "./SmartLoader.js";
|
|
24
|
+
import { I as IconById } from "./IconById.js";
|
|
25
|
+
import { E as EntryIcon } from "./EntryIcon.js";
|
|
26
|
+
import { W as WorkbookIcon } from "./WorkbookIcon.js";
|
|
27
|
+
import { E as EntryRow } from "./EntryRow.js";
|
|
28
|
+
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
29
|
+
function waitOperation({
|
|
30
|
+
operation: initialOperation,
|
|
31
|
+
loader,
|
|
32
|
+
timeout = 60 * 60 * 1e3,
|
|
33
|
+
interval = 1e3
|
|
34
|
+
}) {
|
|
35
|
+
const cancelSource = axios.CancelToken.source();
|
|
36
|
+
const cancelToken = cancelSource.token;
|
|
37
|
+
const concurrentId = getSdk().sdk.getConcurrentId();
|
|
38
|
+
let cancelOperation;
|
|
39
|
+
let timeouted = false;
|
|
40
|
+
let cancelled = false;
|
|
41
|
+
function createCancelOperation(reject) {
|
|
42
|
+
return function() {
|
|
43
|
+
cancelled = true;
|
|
44
|
+
reject("cancel");
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const timeoutPromise = sleep(timeout).then(() => {
|
|
48
|
+
logger.logError("waitOperation: timeout has occurred");
|
|
49
|
+
timeouted = true;
|
|
50
|
+
return Promise.reject("timeout");
|
|
51
|
+
});
|
|
52
|
+
const cancellationPromise = new Promise((_resolve, reject) => {
|
|
53
|
+
cancelOperation = createCancelOperation(reject);
|
|
54
|
+
});
|
|
55
|
+
const operationPromise = (async () => {
|
|
56
|
+
let operation = initialOperation;
|
|
57
|
+
try {
|
|
58
|
+
while (!operation.done) {
|
|
59
|
+
if (timeouted || cancelled) {
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
operation = await loader({ operation, cancelToken, concurrentId });
|
|
63
|
+
if (!operation.done) {
|
|
64
|
+
await sleep(interval);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
} catch (error) {
|
|
68
|
+
if (axios.isCancel(error)) {
|
|
69
|
+
return Promise.reject("cancel");
|
|
70
|
+
} else {
|
|
71
|
+
logger.logError("waitOperation: loader failed");
|
|
72
|
+
return Promise.reject(error);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
if (operation && operation.error) {
|
|
76
|
+
logger.logError("waitOperation: operation.error");
|
|
77
|
+
return Promise.reject(operation.error);
|
|
78
|
+
} else if (operation) {
|
|
79
|
+
return Promise.resolve(operation?.response);
|
|
80
|
+
} else {
|
|
81
|
+
logger.logError("waitOperation: operation not defined");
|
|
82
|
+
return Promise.reject();
|
|
83
|
+
}
|
|
84
|
+
})();
|
|
85
|
+
return {
|
|
86
|
+
promise: Promise.race([timeoutPromise, cancellationPromise, operationPromise]),
|
|
87
|
+
cancel: function() {
|
|
88
|
+
cancelOperation();
|
|
89
|
+
cancelSource.cancel();
|
|
90
|
+
getSdk().cancelRequest(concurrentId);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const RESET_STATE = /* @__PURE__ */ Symbol("collectionsStructure/RESET_STATE");
|
|
95
|
+
const GET_ROOT_COLLECTION_PERMISSIONS_LOADING = /* @__PURE__ */ Symbol(
|
|
96
|
+
"collectionsStructure/GET_ROOT_COLLECTION_PERMISSIONS_LOADING"
|
|
97
|
+
);
|
|
98
|
+
const GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS = /* @__PURE__ */ Symbol(
|
|
99
|
+
"collectionsStructure/GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS"
|
|
100
|
+
);
|
|
101
|
+
const GET_ROOT_COLLECTION_PERMISSIONS_FAILED = /* @__PURE__ */ Symbol(
|
|
102
|
+
"collectionsStructure/GET_ROOT_COLLECTION_PERMISSIONS_FAILED"
|
|
103
|
+
);
|
|
104
|
+
const RESET_COLLECTION_BREADCRUMBS = /* @__PURE__ */ Symbol(
|
|
105
|
+
"collectionsStructure/RESET_COLLECTION_BREADCRUMBS"
|
|
106
|
+
);
|
|
107
|
+
const GET_COLLECTION_BREADCRUMBS_LOADING = /* @__PURE__ */ Symbol(
|
|
108
|
+
"collectionsStructure/GET_COLLECTION_BREADCRUMBS_LOADING"
|
|
109
|
+
);
|
|
110
|
+
const GET_COLLECTION_BREADCRUMBS_SUCCESS = /* @__PURE__ */ Symbol(
|
|
111
|
+
"collectionsStructure/GET_COLLECTION_BREADCRUMBS_SUCCESS"
|
|
112
|
+
);
|
|
113
|
+
const GET_COLLECTION_BREADCRUMBS_FAILED = /* @__PURE__ */ Symbol(
|
|
114
|
+
"collectionsStructure/GET_COLLECTION_BREADCRUMBS_FAILED"
|
|
115
|
+
);
|
|
116
|
+
const GET_COLLECTION_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/GET_COLLECTION_LOADING");
|
|
117
|
+
const GET_COLLECTION_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/GET_COLLECTION_SUCCESS");
|
|
118
|
+
const GET_COLLECTION_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/GET_COLLECTION_FAILED");
|
|
119
|
+
const RESET_STRUCTURE_ITEMS = /* @__PURE__ */ Symbol("collectionsStructure/RESET_STRUCTURE_ITEMS");
|
|
120
|
+
const GET_STRUCTURE_ITEMS_LOADING = /* @__PURE__ */ Symbol(
|
|
121
|
+
"collectionsStructure/GET_STRUCTURE_ITEMS_LOADING"
|
|
122
|
+
);
|
|
123
|
+
const GET_STRUCTURE_ITEMS_SUCCESS = /* @__PURE__ */ Symbol(
|
|
124
|
+
"collectionsStructure/GET_STRUCTURE_ITEMS_SUCCESS"
|
|
125
|
+
);
|
|
126
|
+
const GET_STRUCTURE_ITEMS_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/GET_STRUCTURE_ITEMS_FAILED");
|
|
127
|
+
const COPY_TEMPLATE_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/COPY_TEMPLATE_LOADING");
|
|
128
|
+
const COPY_TEMPLATE_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/COPY_TEMPLATE_SUCCESS");
|
|
129
|
+
const COPY_TEMPLATE_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/COPY_TEMPLATE_FAILED");
|
|
130
|
+
const CREATE_COLLECTION_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_COLLECTION_LOADING");
|
|
131
|
+
const CREATE_COLLECTION_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_COLLECTION_SUCCESS");
|
|
132
|
+
const CREATE_COLLECTION_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_COLLECTION_FAILED");
|
|
133
|
+
const CREATE_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_WORKBOOK_LOADING");
|
|
134
|
+
const CREATE_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_WORKBOOK_SUCCESS");
|
|
135
|
+
const CREATE_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/CREATE_WORKBOOK_FAILED");
|
|
136
|
+
const DELETE_COLLECTIONS_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTIONS_LOADING");
|
|
137
|
+
const DELETE_COLLECTIONS_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTIONS_SUCCESS");
|
|
138
|
+
const DELETE_COLLECTIONS_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTIONS_FAILED");
|
|
139
|
+
const DELETE_WORKBOOKS_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOKS_LOADING");
|
|
140
|
+
const DELETE_WORKBOOKS_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOKS_SUCCESS");
|
|
141
|
+
const DELETE_WORKBOOKS_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOKS_FAILED");
|
|
142
|
+
const MOVE_COLLECTIONS_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTIONS_LOADING");
|
|
143
|
+
const MOVE_COLLECTIONS_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTIONS_SUCCESS");
|
|
144
|
+
const MOVE_COLLECTIONS_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTIONS_FAILED");
|
|
145
|
+
const MOVE_COLLECTION_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTION_LOADING");
|
|
146
|
+
const MOVE_COLLECTION_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTION_SUCCESS");
|
|
147
|
+
const MOVE_COLLECTION_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_COLLECTION_FAILED");
|
|
148
|
+
const MOVE_WORKBOOKS_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOKS_LOADING");
|
|
149
|
+
const MOVE_WORKBOOKS_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOKS_SUCCESS");
|
|
150
|
+
const MOVE_WORKBOOKS_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOKS_FAILED");
|
|
151
|
+
const MOVE_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOK_LOADING");
|
|
152
|
+
const MOVE_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOK_SUCCESS");
|
|
153
|
+
const MOVE_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_WORKBOOK_FAILED");
|
|
154
|
+
const MOVE_SHARED_ENTRY_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_SHARED_ENTRY_LOADING");
|
|
155
|
+
const MOVE_SHARED_ENTRY_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_SHARED_ENTRY_SUCCESS");
|
|
156
|
+
const MOVE_SHARED_ENTRY_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/MOVE_SHARED_ENTRY_FAILED");
|
|
157
|
+
const COPY_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/COPY_WORKBOOK_LOADING");
|
|
158
|
+
const COPY_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/COPY_WORKBOOK_SUCCESS");
|
|
159
|
+
const COPY_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/COPY_WORKBOOK_FAILED");
|
|
160
|
+
const UPDATE_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_WORKBOOK_LOADING");
|
|
161
|
+
const UPDATE_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_WORKBOOK_SUCCESS");
|
|
162
|
+
const UPDATE_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_WORKBOOK_FAILED");
|
|
163
|
+
const UPDATE_COLLECTION_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_COLLECTION_LOADING");
|
|
164
|
+
const UPDATE_COLLECTION_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_COLLECTION_SUCCESS");
|
|
165
|
+
const UPDATE_COLLECTION_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/UPDATE_COLLECTION_FAILED");
|
|
166
|
+
const DELETE_COLLECTION_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTION_LOADING");
|
|
167
|
+
const DELETE_COLLECTION_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTION_SUCCESS");
|
|
168
|
+
const DELETE_COLLECTION_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_COLLECTION_FAILED");
|
|
169
|
+
const DELETE_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOK_LOADING");
|
|
170
|
+
const DELETE_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOK_SUCCESS");
|
|
171
|
+
const DELETE_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collectionsStructure/DELETE_WORKBOOK_FAILED");
|
|
172
|
+
const EXPORT_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collections/EXPORT_WORKBOOK_LOADING");
|
|
173
|
+
const EXPORT_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collections/EXPORT_WORKBOOK_SUCCESS");
|
|
174
|
+
const EXPORT_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collections/EXPORT_WORKBOOK_FAILED");
|
|
175
|
+
const RESET_EXPORT_WORKBOOK = /* @__PURE__ */ Symbol("collections/RESET_EXPORT_WORKBOOK");
|
|
176
|
+
const IMPORT_WORKBOOK_LOADING = /* @__PURE__ */ Symbol("collections/IMPORT_WORKBOOK_LOADING");
|
|
177
|
+
const IMPORT_WORKBOOK_SUCCESS = /* @__PURE__ */ Symbol("collections/IMPORT_WORKBOOK_SUCCESS");
|
|
178
|
+
const IMPORT_WORKBOOK_FAILED = /* @__PURE__ */ Symbol("collections/IMPORT_WORKBOOK_FAILED");
|
|
179
|
+
const RESET_IMPORT_WORKBOOK = /* @__PURE__ */ Symbol("collections/RESET_IMPORT_WORKBOOK");
|
|
180
|
+
const GET_IMPORT_PROGRESS_LOADING = /* @__PURE__ */ Symbol("collections/GET_IMPORT_PROGRESS_LOADING");
|
|
181
|
+
const GET_IMPORT_PROGRESS_SUCCESS = /* @__PURE__ */ Symbol("collections/GET_IMPORT_PROGRESS_SUCCESS");
|
|
182
|
+
const GET_IMPORT_PROGRESS_FAILED = /* @__PURE__ */ Symbol("collections/GET_IMPORT_PROGRESS_FAILED");
|
|
183
|
+
const RESET_IMPORT_PROGRESS = /* @__PURE__ */ Symbol("collections/RESET_IMPORT_PROGRESS");
|
|
184
|
+
const GET_EXPORT_PROGRESS_LOADING = /* @__PURE__ */ Symbol("collections/GET_EXPORT_PROGRESS_LOADING");
|
|
185
|
+
const GET_EXPORT_PROGRESS_SUCCESS = /* @__PURE__ */ Symbol("collections/GET_EXPORT_PROGRESS_SUCCESS");
|
|
186
|
+
const GET_EXPORT_PROGRESS_FAILED = /* @__PURE__ */ Symbol("collections/GET_EXPORT_PROGRESS_FAILED");
|
|
187
|
+
const RESET_EXPORT_PROGRESS = /* @__PURE__ */ Symbol("collections/RESET_EXPORT_PROGRESS");
|
|
188
|
+
const GET_EXPORT_RESULT_LOADING = /* @__PURE__ */ Symbol("collections/GET_EXPORT_RESULT_LOADING");
|
|
189
|
+
const GET_EXPORT_RESULT_SUCCESS = /* @__PURE__ */ Symbol("collections/GET_EXPORT_RESULT_SUCCESS");
|
|
190
|
+
const GET_EXPORT_RESULT_FAILED = /* @__PURE__ */ Symbol("collections/GET_EXPORT_RESULT_FAILED");
|
|
191
|
+
const RESET_EXPORT_RESULT = /* @__PURE__ */ Symbol("collections/RESET_EXPORT_RESULT");
|
|
192
|
+
const i18n$m = I18n.keyset("component.collections-structure");
|
|
193
|
+
const showCollectionEntityErrorToast = (error) => (dispatch) => {
|
|
194
|
+
let title = error.message;
|
|
195
|
+
if ("code" in error) {
|
|
196
|
+
switch (error.code) {
|
|
197
|
+
case ErrorCode.CollectionAlreadyExists:
|
|
198
|
+
title = i18n$m("toast_collection-already-exists-error");
|
|
199
|
+
break;
|
|
200
|
+
case ErrorCode.WorkbookAlreadyExists:
|
|
201
|
+
case ErrorCode.MetaManagerWorkbookAlreadyExists:
|
|
202
|
+
title = i18n$m("label_workbook-already-exists-error");
|
|
203
|
+
break;
|
|
204
|
+
default:
|
|
205
|
+
title = error.message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return dispatch(
|
|
209
|
+
showToast({
|
|
210
|
+
title,
|
|
211
|
+
error
|
|
212
|
+
})
|
|
213
|
+
);
|
|
214
|
+
};
|
|
215
|
+
const resetState = () => (dispatch) => {
|
|
216
|
+
dispatch({
|
|
217
|
+
type: RESET_STATE
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
const getRootCollectionPermissions = () => {
|
|
221
|
+
return (dispatch) => {
|
|
222
|
+
dispatch({
|
|
223
|
+
type: GET_ROOT_COLLECTION_PERMISSIONS_LOADING
|
|
224
|
+
});
|
|
225
|
+
return getSdk().sdk.us.getRootCollectionPermissions().then((data) => {
|
|
226
|
+
dispatch({
|
|
227
|
+
type: GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS,
|
|
228
|
+
data
|
|
229
|
+
});
|
|
230
|
+
return data;
|
|
231
|
+
}).catch((error) => {
|
|
232
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
233
|
+
if (!isCanceled) {
|
|
234
|
+
logger.logError(
|
|
235
|
+
"collectionsStructure/getRootCollectionPermissions failed",
|
|
236
|
+
error
|
|
237
|
+
);
|
|
238
|
+
dispatch(
|
|
239
|
+
showToast({
|
|
240
|
+
title: error.message,
|
|
241
|
+
error
|
|
242
|
+
})
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
return null;
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
const resetCollectionBreadcrumbs = () => {
|
|
250
|
+
return (dispatch) => {
|
|
251
|
+
dispatch({
|
|
252
|
+
type: RESET_COLLECTION_BREADCRUMBS
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
const getCollectionBreadcrumbs = ({ collectionId }) => {
|
|
257
|
+
return (dispatch) => {
|
|
258
|
+
dispatch({
|
|
259
|
+
type: GET_COLLECTION_BREADCRUMBS_LOADING
|
|
260
|
+
});
|
|
261
|
+
return getSdk().sdk.us.getCollectionBreadcrumbs({
|
|
262
|
+
collectionId
|
|
263
|
+
}).then((data) => {
|
|
264
|
+
dispatch({
|
|
265
|
+
type: GET_COLLECTION_BREADCRUMBS_SUCCESS,
|
|
266
|
+
data
|
|
267
|
+
});
|
|
268
|
+
return data;
|
|
269
|
+
}).catch((error) => {
|
|
270
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
271
|
+
dispatch({
|
|
272
|
+
type: GET_COLLECTION_BREADCRUMBS_FAILED,
|
|
273
|
+
error: isCanceled ? null : error
|
|
274
|
+
});
|
|
275
|
+
return null;
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
const getCollection = ({ collectionId }) => {
|
|
280
|
+
return (dispatch) => {
|
|
281
|
+
dispatch({
|
|
282
|
+
type: GET_COLLECTION_LOADING
|
|
283
|
+
});
|
|
284
|
+
return getSdk().sdk.us.getCollection({
|
|
285
|
+
collectionId,
|
|
286
|
+
includePermissionsInfo: true
|
|
287
|
+
}).then((data) => {
|
|
288
|
+
dispatch({
|
|
289
|
+
type: GET_COLLECTION_SUCCESS,
|
|
290
|
+
data
|
|
291
|
+
});
|
|
292
|
+
return data;
|
|
293
|
+
}).catch((error) => {
|
|
294
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
295
|
+
if (!isCanceled) {
|
|
296
|
+
logger.logError("collectionsStructure/getCollection failed", error);
|
|
297
|
+
dispatch(
|
|
298
|
+
showToast({
|
|
299
|
+
title: error.message,
|
|
300
|
+
error
|
|
301
|
+
})
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
dispatch({
|
|
305
|
+
type: GET_COLLECTION_FAILED,
|
|
306
|
+
error: isCanceled ? null : error
|
|
307
|
+
});
|
|
308
|
+
return null;
|
|
309
|
+
});
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
const resetStructureItems = () => {
|
|
313
|
+
return (dispatch) => {
|
|
314
|
+
dispatch({
|
|
315
|
+
type: RESET_STRUCTURE_ITEMS
|
|
316
|
+
});
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
const getStructureItems = ({
|
|
320
|
+
collectionId,
|
|
321
|
+
includePermissionsInfo,
|
|
322
|
+
page,
|
|
323
|
+
filterString,
|
|
324
|
+
orderField,
|
|
325
|
+
orderDirection,
|
|
326
|
+
onlyMy,
|
|
327
|
+
mode,
|
|
328
|
+
pageSize
|
|
329
|
+
}) => {
|
|
330
|
+
return (dispatch) => {
|
|
331
|
+
dispatch({
|
|
332
|
+
type: GET_STRUCTURE_ITEMS_LOADING
|
|
333
|
+
});
|
|
334
|
+
return getSdk().sdk.us.getStructureItems({
|
|
335
|
+
collectionId,
|
|
336
|
+
includePermissionsInfo,
|
|
337
|
+
page,
|
|
338
|
+
filterString,
|
|
339
|
+
orderField,
|
|
340
|
+
orderDirection,
|
|
341
|
+
onlyMy,
|
|
342
|
+
mode,
|
|
343
|
+
pageSize
|
|
344
|
+
}).then((data) => {
|
|
345
|
+
dispatch({
|
|
346
|
+
type: GET_STRUCTURE_ITEMS_SUCCESS,
|
|
347
|
+
data
|
|
348
|
+
});
|
|
349
|
+
return data;
|
|
350
|
+
}).catch((error) => {
|
|
351
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
352
|
+
if (!isCanceled) {
|
|
353
|
+
logger.logError("collectionsStructure/getStructureItems failed", error);
|
|
354
|
+
dispatch(
|
|
355
|
+
showToast({
|
|
356
|
+
title: error.message,
|
|
357
|
+
error
|
|
358
|
+
})
|
|
359
|
+
);
|
|
360
|
+
}
|
|
361
|
+
dispatch({
|
|
362
|
+
type: GET_STRUCTURE_ITEMS_FAILED,
|
|
363
|
+
error: isCanceled ? null : error
|
|
364
|
+
});
|
|
365
|
+
return null;
|
|
366
|
+
});
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
const createCollection = ({
|
|
370
|
+
title,
|
|
371
|
+
description,
|
|
372
|
+
parentId
|
|
373
|
+
}, shouldThrow = false) => {
|
|
374
|
+
return (dispatch) => {
|
|
375
|
+
dispatch({
|
|
376
|
+
type: CREATE_COLLECTION_LOADING
|
|
377
|
+
});
|
|
378
|
+
return getSdk().sdk.us.createCollection({
|
|
379
|
+
title,
|
|
380
|
+
description,
|
|
381
|
+
parentId
|
|
382
|
+
}).then(async (result) => {
|
|
383
|
+
const { operation } = result;
|
|
384
|
+
if (operation && operation.id) {
|
|
385
|
+
await waitOperation({
|
|
386
|
+
operation,
|
|
387
|
+
loader: ({ concurrentId }) => getSdk().sdk.us.getOperation(
|
|
388
|
+
{ operationId: operation.id },
|
|
389
|
+
{ concurrentId }
|
|
390
|
+
)
|
|
391
|
+
}).promise;
|
|
392
|
+
}
|
|
393
|
+
return result;
|
|
394
|
+
}).then((data) => {
|
|
395
|
+
dispatch({
|
|
396
|
+
type: CREATE_COLLECTION_SUCCESS,
|
|
397
|
+
data
|
|
398
|
+
});
|
|
399
|
+
return data;
|
|
400
|
+
}).catch((error) => {
|
|
401
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
402
|
+
if (!isCanceled) {
|
|
403
|
+
logger.logError("collectionsStructure/createCollection failed", error);
|
|
404
|
+
dispatch(showCollectionEntityErrorToast(error));
|
|
405
|
+
}
|
|
406
|
+
dispatch({
|
|
407
|
+
type: CREATE_COLLECTION_FAILED,
|
|
408
|
+
error: isCanceled ? null : error
|
|
409
|
+
});
|
|
410
|
+
if (shouldThrow) {
|
|
411
|
+
throw error;
|
|
412
|
+
}
|
|
413
|
+
return null;
|
|
414
|
+
});
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
const createWorkbook = ({
|
|
418
|
+
title,
|
|
419
|
+
description,
|
|
420
|
+
collectionId
|
|
421
|
+
}, shouldThrow = false) => {
|
|
422
|
+
return (dispatch) => {
|
|
423
|
+
dispatch({
|
|
424
|
+
type: CREATE_WORKBOOK_LOADING
|
|
425
|
+
});
|
|
426
|
+
return getSdk().sdk.us.createWorkbook({
|
|
427
|
+
title,
|
|
428
|
+
description,
|
|
429
|
+
collectionId
|
|
430
|
+
}).then(async (result) => {
|
|
431
|
+
const { operation } = result;
|
|
432
|
+
if (operation && operation.id) {
|
|
433
|
+
await waitOperation({
|
|
434
|
+
operation,
|
|
435
|
+
loader: ({ concurrentId }) => getSdk().sdk.us.getOperation(
|
|
436
|
+
{ operationId: operation.id },
|
|
437
|
+
{ concurrentId }
|
|
438
|
+
)
|
|
439
|
+
}).promise;
|
|
440
|
+
}
|
|
441
|
+
return result;
|
|
442
|
+
}).then((data) => {
|
|
443
|
+
dispatch({
|
|
444
|
+
type: CREATE_WORKBOOK_SUCCESS,
|
|
445
|
+
data
|
|
446
|
+
});
|
|
447
|
+
return data;
|
|
448
|
+
}).catch((error) => {
|
|
449
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
450
|
+
if (!isCanceled) {
|
|
451
|
+
logger.logError("collectionsStructure/createWorkbook failed", error);
|
|
452
|
+
dispatch(showCollectionEntityErrorToast(error));
|
|
453
|
+
}
|
|
454
|
+
dispatch({
|
|
455
|
+
type: CREATE_WORKBOOK_FAILED,
|
|
456
|
+
error: isCanceled ? null : error
|
|
457
|
+
});
|
|
458
|
+
if (shouldThrow) {
|
|
459
|
+
throw error;
|
|
460
|
+
}
|
|
461
|
+
return null;
|
|
462
|
+
});
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
const moveWorkbook = ({
|
|
466
|
+
workbookId,
|
|
467
|
+
collectionId,
|
|
468
|
+
title
|
|
469
|
+
}) => {
|
|
470
|
+
return (dispatch) => {
|
|
471
|
+
dispatch({
|
|
472
|
+
type: MOVE_WORKBOOK_LOADING
|
|
473
|
+
});
|
|
474
|
+
return getSdk().sdk.us.moveWorkbook({
|
|
475
|
+
workbookId,
|
|
476
|
+
collectionId,
|
|
477
|
+
title
|
|
478
|
+
}).then((data) => {
|
|
479
|
+
dispatch({
|
|
480
|
+
type: MOVE_WORKBOOK_SUCCESS,
|
|
481
|
+
data
|
|
482
|
+
});
|
|
483
|
+
return data;
|
|
484
|
+
}).catch((error) => {
|
|
485
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
486
|
+
if (!isCanceled) {
|
|
487
|
+
logger.logError("collectionsStructure/moveWorkbook failed", error);
|
|
488
|
+
dispatch(
|
|
489
|
+
showToast({
|
|
490
|
+
title: error.message,
|
|
491
|
+
error
|
|
492
|
+
})
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
dispatch({
|
|
496
|
+
type: MOVE_WORKBOOK_FAILED,
|
|
497
|
+
error: isCanceled ? null : error
|
|
498
|
+
});
|
|
499
|
+
return null;
|
|
500
|
+
});
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
const copyWorkbook = ({
|
|
504
|
+
workbookId,
|
|
505
|
+
collectionId,
|
|
506
|
+
title
|
|
507
|
+
}) => {
|
|
508
|
+
return (dispatch) => {
|
|
509
|
+
dispatch({
|
|
510
|
+
type: COPY_WORKBOOK_LOADING
|
|
511
|
+
});
|
|
512
|
+
return getSdk().sdk.us.copyWorkbook({
|
|
513
|
+
workbookId,
|
|
514
|
+
collectionId,
|
|
515
|
+
title
|
|
516
|
+
}).then(async (result) => {
|
|
517
|
+
const { operation } = result;
|
|
518
|
+
if (operation && operation.id) {
|
|
519
|
+
await waitOperation({
|
|
520
|
+
operation,
|
|
521
|
+
loader: ({ concurrentId }) => getSdk().sdk.us.getOperation(
|
|
522
|
+
{ operationId: operation.id },
|
|
523
|
+
{ concurrentId }
|
|
524
|
+
)
|
|
525
|
+
}).promise;
|
|
526
|
+
}
|
|
527
|
+
return result;
|
|
528
|
+
}).then((data) => {
|
|
529
|
+
dispatch({
|
|
530
|
+
type: COPY_WORKBOOK_SUCCESS,
|
|
531
|
+
data
|
|
532
|
+
});
|
|
533
|
+
return data;
|
|
534
|
+
}).catch((error) => {
|
|
535
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
536
|
+
if (!isCanceled) {
|
|
537
|
+
logger.logError("collectionsStructure/copyWorkbook failed", error);
|
|
538
|
+
dispatch(
|
|
539
|
+
showToast({
|
|
540
|
+
title: error.message,
|
|
541
|
+
error
|
|
542
|
+
})
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
dispatch({
|
|
546
|
+
type: COPY_WORKBOOK_FAILED,
|
|
547
|
+
error: isCanceled ? null : error
|
|
548
|
+
});
|
|
549
|
+
return null;
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
const updateWorkbook = ({
|
|
554
|
+
workbookId,
|
|
555
|
+
title,
|
|
556
|
+
description
|
|
557
|
+
}, shouldThrow = false) => {
|
|
558
|
+
return (dispatch) => {
|
|
559
|
+
dispatch({
|
|
560
|
+
type: UPDATE_WORKBOOK_LOADING
|
|
561
|
+
});
|
|
562
|
+
return getSdk().sdk.us.updateWorkbook({
|
|
563
|
+
workbookId,
|
|
564
|
+
title,
|
|
565
|
+
description
|
|
566
|
+
}).then((data) => {
|
|
567
|
+
dispatch({
|
|
568
|
+
type: UPDATE_WORKBOOK_SUCCESS,
|
|
569
|
+
data
|
|
570
|
+
});
|
|
571
|
+
return data;
|
|
572
|
+
}).catch((error) => {
|
|
573
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
574
|
+
if (!isCanceled) {
|
|
575
|
+
logger.logError("collectionsStructure/updateWorkbook failed", error);
|
|
576
|
+
dispatch(showCollectionEntityErrorToast(error));
|
|
577
|
+
}
|
|
578
|
+
dispatch({
|
|
579
|
+
type: UPDATE_WORKBOOK_FAILED,
|
|
580
|
+
error: isCanceled ? null : error
|
|
581
|
+
});
|
|
582
|
+
if (shouldThrow) {
|
|
583
|
+
throw error;
|
|
584
|
+
}
|
|
585
|
+
return null;
|
|
586
|
+
});
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
const deleteWorkbook = ({ workbookId }) => {
|
|
590
|
+
return (dispatch) => {
|
|
591
|
+
dispatch({
|
|
592
|
+
type: DELETE_WORKBOOK_LOADING
|
|
593
|
+
});
|
|
594
|
+
return getSdk().sdk.us.deleteWorkbook({
|
|
595
|
+
workbookId
|
|
596
|
+
}).then((data) => {
|
|
597
|
+
dispatch({
|
|
598
|
+
type: DELETE_WORKBOOK_SUCCESS,
|
|
599
|
+
data
|
|
600
|
+
});
|
|
601
|
+
return data;
|
|
602
|
+
}).catch((error) => {
|
|
603
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
604
|
+
if (!isCanceled) {
|
|
605
|
+
logger.logError("collectionsStructure/deleteWorkbook failed", error);
|
|
606
|
+
dispatch(
|
|
607
|
+
showToast({
|
|
608
|
+
title: error.message,
|
|
609
|
+
error
|
|
610
|
+
})
|
|
611
|
+
);
|
|
612
|
+
}
|
|
613
|
+
dispatch({
|
|
614
|
+
type: DELETE_WORKBOOK_FAILED,
|
|
615
|
+
error: isCanceled ? null : error
|
|
616
|
+
});
|
|
617
|
+
return null;
|
|
618
|
+
});
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
const getStatusFromOperation = ({
|
|
622
|
+
progessOperation,
|
|
623
|
+
initialOperation
|
|
624
|
+
}) => {
|
|
625
|
+
if (progessOperation.data?.status === "error" && progessOperation.data?.notifications?.some((item) => item.level === "critical")) {
|
|
626
|
+
return "notification-error";
|
|
627
|
+
}
|
|
628
|
+
if (progessOperation.error) {
|
|
629
|
+
return "fatal-error";
|
|
630
|
+
}
|
|
631
|
+
if (progessOperation.data?.status === "pending") {
|
|
632
|
+
return "pending";
|
|
633
|
+
}
|
|
634
|
+
if (initialOperation?.isLoading || progessOperation.isLoading) {
|
|
635
|
+
return "loading";
|
|
636
|
+
}
|
|
637
|
+
if (progessOperation.data?.status === "success") {
|
|
638
|
+
return "success";
|
|
639
|
+
}
|
|
640
|
+
return null;
|
|
641
|
+
};
|
|
642
|
+
const convertFileToJSON = (file) => {
|
|
643
|
+
return new Promise((resolve, reject) => {
|
|
644
|
+
const reader = new FileReader();
|
|
645
|
+
reader.onload = () => {
|
|
646
|
+
try {
|
|
647
|
+
const json = JSON.parse(reader.result);
|
|
648
|
+
resolve(json);
|
|
649
|
+
} catch (error) {
|
|
650
|
+
reject(error);
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
reader.readAsText(file);
|
|
654
|
+
});
|
|
655
|
+
};
|
|
656
|
+
const i18n$l = I18n.keyset("component.collections-structure");
|
|
657
|
+
const exportWorkbook = ({ workbookId }) => {
|
|
658
|
+
return (dispatch) => {
|
|
659
|
+
dispatch({
|
|
660
|
+
type: EXPORT_WORKBOOK_LOADING
|
|
661
|
+
});
|
|
662
|
+
return getSdk().sdk.metaManager.startWorkbookExport({ workbookId }).then((data) => {
|
|
663
|
+
dispatch({
|
|
664
|
+
type: EXPORT_WORKBOOK_SUCCESS,
|
|
665
|
+
data
|
|
666
|
+
});
|
|
667
|
+
return data;
|
|
668
|
+
}).catch((error) => {
|
|
669
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
670
|
+
if (!isCanceled) {
|
|
671
|
+
logger.logError("collectionsStructure/exportWorkbook failed", error);
|
|
672
|
+
dispatch(
|
|
673
|
+
showToast({
|
|
674
|
+
title: error.message,
|
|
675
|
+
error
|
|
676
|
+
})
|
|
677
|
+
);
|
|
678
|
+
}
|
|
679
|
+
dispatch({
|
|
680
|
+
type: EXPORT_WORKBOOK_FAILED,
|
|
681
|
+
error: isCanceled ? null : error
|
|
682
|
+
});
|
|
683
|
+
return null;
|
|
684
|
+
});
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
const resetExportWorkbook = () => {
|
|
688
|
+
return (dispatch) => {
|
|
689
|
+
dispatch({
|
|
690
|
+
type: RESET_EXPORT_WORKBOOK
|
|
691
|
+
});
|
|
692
|
+
dispatch({
|
|
693
|
+
type: RESET_EXPORT_PROGRESS
|
|
694
|
+
});
|
|
695
|
+
dispatch({
|
|
696
|
+
type: RESET_EXPORT_RESULT
|
|
697
|
+
});
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
const getEntriesMap = async (data) => {
|
|
701
|
+
const ids = [];
|
|
702
|
+
data.notifications?.forEach((notification) => {
|
|
703
|
+
if (notification.entryId) {
|
|
704
|
+
ids.push(notification.entryId);
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
try {
|
|
708
|
+
if (ids.length === 0) {
|
|
709
|
+
return null;
|
|
710
|
+
}
|
|
711
|
+
const notificationEntries = await getSdk().sdk.mix.getBatchEntriesByIds({ ids });
|
|
712
|
+
const entriesMap = notificationEntries.entries.reduce(
|
|
713
|
+
(acc, entry) => {
|
|
714
|
+
acc[entry.entryId] = entry;
|
|
715
|
+
return acc;
|
|
716
|
+
},
|
|
717
|
+
{}
|
|
718
|
+
);
|
|
719
|
+
return entriesMap;
|
|
720
|
+
} catch (error) {
|
|
721
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
722
|
+
if (!isCanceled) {
|
|
723
|
+
logger.logError("collectionsStructure/getEntriesMap failed", error);
|
|
724
|
+
}
|
|
725
|
+
return null;
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
const getExportProgress = ({ exportId }) => {
|
|
729
|
+
return (dispatch) => {
|
|
730
|
+
dispatch({
|
|
731
|
+
type: GET_EXPORT_PROGRESS_LOADING
|
|
732
|
+
});
|
|
733
|
+
return getSdk().sdk.metaManager.getWorkbookExportStatus({ exportId }).then(async (data) => {
|
|
734
|
+
const notificationEntries = await getEntriesMap(data);
|
|
735
|
+
dispatch({
|
|
736
|
+
type: GET_EXPORT_PROGRESS_SUCCESS,
|
|
737
|
+
data,
|
|
738
|
+
notificationEntries
|
|
739
|
+
});
|
|
740
|
+
return data;
|
|
741
|
+
}).catch((error) => {
|
|
742
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
743
|
+
if (!isCanceled) {
|
|
744
|
+
logger.logError("collectionsStructure/getExportProgress failed", error);
|
|
745
|
+
}
|
|
746
|
+
dispatch({
|
|
747
|
+
type: GET_EXPORT_PROGRESS_FAILED,
|
|
748
|
+
error: isCanceled ? null : error
|
|
749
|
+
});
|
|
750
|
+
});
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
const cancelExportProcess = (exportId) => {
|
|
754
|
+
return (dispatch) => {
|
|
755
|
+
return getSdk().sdk.metaManager.cancelWorkbookExport({ exportId }).then(() => {
|
|
756
|
+
dispatch(resetExportWorkbook());
|
|
757
|
+
}).catch((error) => {
|
|
758
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
759
|
+
if (!isCanceled) {
|
|
760
|
+
logger.logError("collectionsStructure/cancelExportProcess failed", error);
|
|
761
|
+
}
|
|
762
|
+
});
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
const importWorkbook = ({
|
|
766
|
+
title,
|
|
767
|
+
description,
|
|
768
|
+
collectionId,
|
|
769
|
+
importFile,
|
|
770
|
+
publicGalleryUrl
|
|
771
|
+
}, shouldThrow = false) => {
|
|
772
|
+
return async (dispatch) => {
|
|
773
|
+
let data;
|
|
774
|
+
if (importFile) {
|
|
775
|
+
try {
|
|
776
|
+
data = await convertFileToJSON(importFile);
|
|
777
|
+
} catch (err) {
|
|
778
|
+
dispatch(
|
|
779
|
+
showToast({
|
|
780
|
+
title: i18n$l("toast_get-json-error"),
|
|
781
|
+
error: err
|
|
782
|
+
})
|
|
783
|
+
);
|
|
784
|
+
if (shouldThrow) {
|
|
785
|
+
throw err;
|
|
786
|
+
}
|
|
787
|
+
return Promise.resolve();
|
|
788
|
+
}
|
|
789
|
+
} else {
|
|
790
|
+
try {
|
|
791
|
+
const request = await fetch(publicGalleryUrl);
|
|
792
|
+
data = await request.json();
|
|
793
|
+
} catch (err) {
|
|
794
|
+
dispatch(
|
|
795
|
+
showToast({
|
|
796
|
+
title: i18n$l("toast_get-json-error"),
|
|
797
|
+
error: err
|
|
798
|
+
})
|
|
799
|
+
);
|
|
800
|
+
if (shouldThrow) {
|
|
801
|
+
throw err;
|
|
802
|
+
}
|
|
803
|
+
return Promise.resolve();
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
dispatch({
|
|
807
|
+
type: IMPORT_WORKBOOK_LOADING
|
|
808
|
+
});
|
|
809
|
+
return getSdk().sdk.metaManager.startWorkbookImport({
|
|
810
|
+
title: title.trim(),
|
|
811
|
+
description: description?.trim(),
|
|
812
|
+
collectionId,
|
|
813
|
+
data
|
|
814
|
+
}).then((resultData) => {
|
|
815
|
+
dispatch({
|
|
816
|
+
type: IMPORT_WORKBOOK_SUCCESS,
|
|
817
|
+
data: resultData
|
|
818
|
+
});
|
|
819
|
+
return resultData;
|
|
820
|
+
}).catch((error) => {
|
|
821
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
822
|
+
if (!isCanceled) {
|
|
823
|
+
logger.logError("collectionsStructure/importWorkbook failed", error);
|
|
824
|
+
dispatch(showCollectionEntityErrorToast(error));
|
|
825
|
+
}
|
|
826
|
+
dispatch({
|
|
827
|
+
type: IMPORT_WORKBOOK_FAILED,
|
|
828
|
+
error: isCanceled ? null : error
|
|
829
|
+
});
|
|
830
|
+
if (shouldThrow) {
|
|
831
|
+
throw error;
|
|
832
|
+
}
|
|
833
|
+
return null;
|
|
834
|
+
});
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
const resetImportWorkbook = () => {
|
|
838
|
+
return (dispatch) => {
|
|
839
|
+
dispatch({
|
|
840
|
+
type: RESET_IMPORT_WORKBOOK
|
|
841
|
+
});
|
|
842
|
+
dispatch({
|
|
843
|
+
type: RESET_IMPORT_PROGRESS
|
|
844
|
+
});
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
const getExportResult = ({ exportId }) => {
|
|
848
|
+
return (dispatch) => {
|
|
849
|
+
dispatch({
|
|
850
|
+
type: GET_EXPORT_RESULT_LOADING
|
|
851
|
+
});
|
|
852
|
+
return getSdk().sdk.metaManager.getWorkbookExportResult({
|
|
853
|
+
exportId
|
|
854
|
+
}).then((data) => {
|
|
855
|
+
dispatch({
|
|
856
|
+
type: GET_EXPORT_RESULT_SUCCESS,
|
|
857
|
+
data
|
|
858
|
+
});
|
|
859
|
+
return data;
|
|
860
|
+
}).catch((error) => {
|
|
861
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
862
|
+
if (!isCanceled) {
|
|
863
|
+
logger.logError("collectionsStructure/getExportResult failed", error);
|
|
864
|
+
dispatch(
|
|
865
|
+
showToast({
|
|
866
|
+
title: error.message,
|
|
867
|
+
error
|
|
868
|
+
})
|
|
869
|
+
);
|
|
870
|
+
}
|
|
871
|
+
dispatch({
|
|
872
|
+
type: GET_EXPORT_RESULT_FAILED,
|
|
873
|
+
error: isCanceled ? null : error
|
|
874
|
+
});
|
|
875
|
+
return null;
|
|
876
|
+
});
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
const getImportProgress = ({ importId }) => {
|
|
880
|
+
return (dispatch) => {
|
|
881
|
+
dispatch({
|
|
882
|
+
type: GET_IMPORT_PROGRESS_LOADING
|
|
883
|
+
});
|
|
884
|
+
return getSdk().sdk.metaManager.getWorkbookImportStatus({ importId }).then(async (data) => {
|
|
885
|
+
const notificationEntries = await getEntriesMap(data);
|
|
886
|
+
dispatch({
|
|
887
|
+
type: GET_IMPORT_PROGRESS_SUCCESS,
|
|
888
|
+
data,
|
|
889
|
+
notificationEntries
|
|
890
|
+
});
|
|
891
|
+
return data;
|
|
892
|
+
}).catch((error) => {
|
|
893
|
+
const isCanceled = getSdk().sdk.isCancel(error);
|
|
894
|
+
if (!isCanceled) {
|
|
895
|
+
logger.logError("collectionsStructure/getImportProgress failed", error);
|
|
896
|
+
}
|
|
897
|
+
const finalError = isSdkError(error) && error.status === 404 ? { ...error, message: i18n$l("toast_outdated-workbook-info") } : error;
|
|
898
|
+
dispatch({
|
|
899
|
+
type: GET_IMPORT_PROGRESS_FAILED,
|
|
900
|
+
error: isCanceled ? null : finalError
|
|
901
|
+
});
|
|
902
|
+
});
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
const selectGetRootCollectionPermissions = (state) => state.collectionsStructure.getRootCollectionPermissions;
|
|
906
|
+
const selectGetCollectionBreadcrumbs = (state) => state.collectionsStructure.getCollectionBreadcrumbs;
|
|
907
|
+
const selectGetCollection = (state) => state.collectionsStructure.getCollection;
|
|
908
|
+
const selectGetStructureItems = (state) => state.collectionsStructure.getStructureItems;
|
|
909
|
+
const selectStructureItems = (state) => state.collectionsStructure.items ?? [];
|
|
910
|
+
const selectFilteredStructureItems = (state) => state.collectionsStructure.items?.filter(
|
|
911
|
+
(item) => item.entity !== CollectionItemEntities.ENTRY
|
|
912
|
+
) ?? [];
|
|
913
|
+
const selectCopyTemplate = (state) => state.collectionsStructure.copyTemplate;
|
|
914
|
+
const selectCreateCollection = (state) => state.collectionsStructure.createCollection;
|
|
915
|
+
const selectCreateWorkbook = (state) => state.collectionsStructure.createWorkbook;
|
|
916
|
+
const selectMoveCollection = (state) => state.collectionsStructure.moveCollection;
|
|
917
|
+
const selectMoveWorkbook = (state) => state.collectionsStructure.moveWorkbook;
|
|
918
|
+
const selectMoveSharedEntry = (state) => state.collectionsStructure.moveSharedEntry;
|
|
919
|
+
const selectCopyWorkbook = (state) => state.collectionsStructure.copyWorkbook;
|
|
920
|
+
const selectUpdateWorkbook = (state) => state.collectionsStructure.updateWorkbook;
|
|
921
|
+
const selectUpdateCollection = (state) => state.collectionsStructure.updateCollection;
|
|
922
|
+
const selectDeleteCollection = (state) => state.collectionsStructure.deleteCollection;
|
|
923
|
+
const selectDeleteWorkbook = (state) => state.collectionsStructure.deleteWorkbook;
|
|
924
|
+
const selectDeleteCollections = (state) => state.collectionsStructure.deleteCollections;
|
|
925
|
+
const selectDeleteWorkbooks = (state) => state.collectionsStructure.deleteWorkbooks;
|
|
926
|
+
const selectGetExportProgress = (state) => state.collectionsStructure.getExportProgress;
|
|
927
|
+
const selectExportWorkbook = (state) => state.collectionsStructure.exportWorkbook;
|
|
928
|
+
const selectGetExportResult = (state) => state.collectionsStructure.getExportResult;
|
|
929
|
+
const selectGetExportProgressData = createSelector(
|
|
930
|
+
[selectGetExportProgress],
|
|
931
|
+
(getExportProgress2) => getExportProgress2.data
|
|
932
|
+
);
|
|
933
|
+
const selectGetExportProgressEntriesMap = createSelector(
|
|
934
|
+
[selectGetExportProgress],
|
|
935
|
+
(data) => data.notificationEntries
|
|
936
|
+
);
|
|
937
|
+
const selectGetExportResultLoading = createSelector(
|
|
938
|
+
[selectGetExportResult],
|
|
939
|
+
(getExportResult2) => getExportResult2.isLoading
|
|
940
|
+
);
|
|
941
|
+
const selectExportError = createSelector(
|
|
942
|
+
[selectExportWorkbook, selectGetExportProgress],
|
|
943
|
+
(exportWorkbook2, getExportProgress2) => exportWorkbook2.error || getExportProgress2.error
|
|
944
|
+
);
|
|
945
|
+
const selectExportWorkbookStatus = createSelector(
|
|
946
|
+
[selectExportWorkbook, selectGetExportProgress],
|
|
947
|
+
(exportWorkbook2, getExportProgress2) => getStatusFromOperation({
|
|
948
|
+
initialOperation: exportWorkbook2,
|
|
949
|
+
progessOperation: getExportProgress2
|
|
950
|
+
})
|
|
951
|
+
);
|
|
952
|
+
const selectImportWorkbook = (state) => state.collectionsStructure.importWorkbook;
|
|
953
|
+
const selectGetImportProgress = (state) => state.collectionsStructure.getImportProgress;
|
|
954
|
+
const selectImportWorkbookData = createSelector(
|
|
955
|
+
[selectImportWorkbook],
|
|
956
|
+
(importWorkbook2) => importWorkbook2.data
|
|
957
|
+
);
|
|
958
|
+
const selectGetImportProgressEntriesMap = createSelector(
|
|
959
|
+
[selectGetImportProgress],
|
|
960
|
+
(data) => data.notificationEntries
|
|
961
|
+
);
|
|
962
|
+
const selectGetImportProgressData = createSelector(
|
|
963
|
+
[selectGetImportProgress],
|
|
964
|
+
(getImportProgress2) => getImportProgress2.data
|
|
965
|
+
);
|
|
966
|
+
const selectImportError = createSelector(
|
|
967
|
+
[selectImportWorkbook, selectGetImportProgress],
|
|
968
|
+
(importWorkbook2, getImportProgress2) => importWorkbook2.error || getImportProgress2.error
|
|
969
|
+
);
|
|
970
|
+
const selectImportWorkbookStatus = createSelector(
|
|
971
|
+
[selectGetImportProgress],
|
|
972
|
+
(getImportProgress2) => getStatusFromOperation({
|
|
973
|
+
progessOperation: getImportProgress2
|
|
974
|
+
})
|
|
975
|
+
);
|
|
976
|
+
const selectExportData = createSelector(
|
|
977
|
+
[selectExportWorkbook],
|
|
978
|
+
(exportWorkbook2) => exportWorkbook2.data
|
|
979
|
+
);
|
|
980
|
+
createSelector(
|
|
981
|
+
[selectGetExportResult],
|
|
982
|
+
(getExportResult2) => getExportResult2.data
|
|
983
|
+
);
|
|
984
|
+
createSelector(
|
|
985
|
+
[selectGetExportResult],
|
|
986
|
+
(getExportResult2) => getExportResult2.isLoading
|
|
987
|
+
);
|
|
988
|
+
const selectRootPermissionsData = createSelector(
|
|
989
|
+
[selectGetRootCollectionPermissions],
|
|
990
|
+
(permissions) => permissions.data
|
|
991
|
+
);
|
|
992
|
+
const selectCollectionIsLoading = createSelector(
|
|
993
|
+
[selectGetCollection],
|
|
994
|
+
(getCollection2) => getCollection2.isLoading
|
|
995
|
+
);
|
|
996
|
+
const selectCollectionData = createSelector(
|
|
997
|
+
[selectGetCollection],
|
|
998
|
+
(getCollection2) => getCollection2.data
|
|
999
|
+
);
|
|
1000
|
+
const selectBreadcrumbsIsLoading = createSelector(
|
|
1001
|
+
[selectGetCollectionBreadcrumbs],
|
|
1002
|
+
(getCollectionBreadcrumbs2) => getCollectionBreadcrumbs2.isLoading
|
|
1003
|
+
);
|
|
1004
|
+
const selectBreadcrumbs = createSelector(
|
|
1005
|
+
[selectGetCollectionBreadcrumbs],
|
|
1006
|
+
(getCollectionBreadcrumbs2) => getCollectionBreadcrumbs2.data ?? []
|
|
1007
|
+
);
|
|
1008
|
+
const selectStructureItemsIsLoading = createSelector(
|
|
1009
|
+
[selectGetStructureItems],
|
|
1010
|
+
(getStructureItems2) => getStructureItems2.isLoading
|
|
1011
|
+
);
|
|
1012
|
+
const selectStructureItemsError = createSelector(
|
|
1013
|
+
[selectGetStructureItems],
|
|
1014
|
+
(getStructureItems2) => getStructureItems2.error
|
|
1015
|
+
);
|
|
1016
|
+
const selectNextPageToken = createSelector(
|
|
1017
|
+
[selectGetStructureItems],
|
|
1018
|
+
(content) => content.data?.nextPageToken || null
|
|
1019
|
+
);
|
|
1020
|
+
createSelector(
|
|
1021
|
+
[selectCopyTemplate],
|
|
1022
|
+
(copyTemplate) => copyTemplate.isLoading
|
|
1023
|
+
);
|
|
1024
|
+
const selectCreateCollectionIsLoading = createSelector(
|
|
1025
|
+
[selectCreateCollection],
|
|
1026
|
+
(createCollection2) => createCollection2.isLoading
|
|
1027
|
+
);
|
|
1028
|
+
const selectCreateWorkbookIsLoading = createSelector(
|
|
1029
|
+
[selectCreateWorkbook],
|
|
1030
|
+
(createWorkbook2) => createWorkbook2.isLoading
|
|
1031
|
+
);
|
|
1032
|
+
const selectMoveIsLoading = createSelector(
|
|
1033
|
+
[selectMoveCollection, selectMoveWorkbook, selectMoveSharedEntry],
|
|
1034
|
+
(moveCollection, moveWorkbook2, moveSharedEntry) => moveCollection.isLoading || moveWorkbook2.isLoading || moveSharedEntry.isLoading
|
|
1035
|
+
);
|
|
1036
|
+
const selectCopyWorkbookIsLoading = createSelector(
|
|
1037
|
+
[selectCopyWorkbook],
|
|
1038
|
+
(copyWorkbook2) => copyWorkbook2.isLoading
|
|
1039
|
+
);
|
|
1040
|
+
createSelector(
|
|
1041
|
+
selectUpdateCollection,
|
|
1042
|
+
(result) => result.isLoading
|
|
1043
|
+
);
|
|
1044
|
+
const selectUpdateWorkbookIsLoading = createSelector(
|
|
1045
|
+
selectUpdateWorkbook,
|
|
1046
|
+
(result) => result.isLoading
|
|
1047
|
+
);
|
|
1048
|
+
createSelector(
|
|
1049
|
+
[selectDeleteCollections, selectDeleteWorkbooks],
|
|
1050
|
+
(deleteCollections, deleteWorkbooks) => deleteCollections.isLoading || deleteWorkbooks.isLoading
|
|
1051
|
+
);
|
|
1052
|
+
createSelector(
|
|
1053
|
+
selectDeleteCollection,
|
|
1054
|
+
(result) => result.isLoading
|
|
1055
|
+
);
|
|
1056
|
+
const selectDeleteWorkbookIsLoading = createSelector(
|
|
1057
|
+
selectDeleteWorkbook,
|
|
1058
|
+
(result) => result.isLoading
|
|
1059
|
+
);
|
|
1060
|
+
const PAGE_SIZE$1 = 50;
|
|
1061
|
+
const DEFAULT_FILTERS = {
|
|
1062
|
+
filterString: void 0,
|
|
1063
|
+
orderField: "createdAt",
|
|
1064
|
+
orderDirection: "desc",
|
|
1065
|
+
mode: "all",
|
|
1066
|
+
onlyMy: false
|
|
1067
|
+
};
|
|
1068
|
+
const useCollectionStructureDialogState = ({
|
|
1069
|
+
includePermissionsInfo,
|
|
1070
|
+
initialCollectionId,
|
|
1071
|
+
open
|
|
1072
|
+
}) => {
|
|
1073
|
+
const dispatch = useDispatch();
|
|
1074
|
+
const [filters, setFilters] = React__default.useState(DEFAULT_FILTERS);
|
|
1075
|
+
const [targetCollectionId, setTargetCollectionId] = React__default.useState(initialCollectionId);
|
|
1076
|
+
const [targetWorkbookId, setTargetWorkbookId] = React__default.useState(null);
|
|
1077
|
+
const getStructureItemsRecursively = React__default.useCallback(
|
|
1078
|
+
(args) => {
|
|
1079
|
+
let curPage = args.page;
|
|
1080
|
+
return dispatch(getStructureItems({ ...args, includePermissionsInfo })).then((result) => {
|
|
1081
|
+
if (result?.items.length === 0 && result.nextPageToken !== null) {
|
|
1082
|
+
curPage = result.nextPageToken;
|
|
1083
|
+
return getStructureItemsRecursively({
|
|
1084
|
+
...args,
|
|
1085
|
+
includePermissionsInfo,
|
|
1086
|
+
page: curPage
|
|
1087
|
+
});
|
|
1088
|
+
} else {
|
|
1089
|
+
return result;
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
},
|
|
1093
|
+
[dispatch, includePermissionsInfo]
|
|
1094
|
+
);
|
|
1095
|
+
const handleChangeCollection = React__default.useCallback((newValue) => {
|
|
1096
|
+
setTargetCollectionId(newValue);
|
|
1097
|
+
setTargetWorkbookId(null);
|
|
1098
|
+
setFilters((prevFilters) => ({ ...prevFilters, filterString: void 0 }));
|
|
1099
|
+
}, []);
|
|
1100
|
+
const handleChangeWorkbook = React__default.useCallback((newValue) => {
|
|
1101
|
+
setTargetWorkbookId(newValue);
|
|
1102
|
+
}, []);
|
|
1103
|
+
const fetchData = React__default.useCallback(() => {
|
|
1104
|
+
const promises = [];
|
|
1105
|
+
dispatch(resetStructureItems());
|
|
1106
|
+
promises.push(
|
|
1107
|
+
getStructureItemsRecursively({
|
|
1108
|
+
collectionId: targetCollectionId,
|
|
1109
|
+
pageSize: PAGE_SIZE$1,
|
|
1110
|
+
...filters
|
|
1111
|
+
})
|
|
1112
|
+
);
|
|
1113
|
+
if (targetCollectionId) {
|
|
1114
|
+
promises.push(dispatch(getCollection({ collectionId: targetCollectionId })));
|
|
1115
|
+
promises.push(dispatch(getCollectionBreadcrumbs({ collectionId: targetCollectionId })));
|
|
1116
|
+
} else {
|
|
1117
|
+
dispatch(resetCollectionBreadcrumbs());
|
|
1118
|
+
}
|
|
1119
|
+
return promises;
|
|
1120
|
+
}, [dispatch, filters, getStructureItemsRecursively, targetCollectionId]);
|
|
1121
|
+
React__default.useEffect(() => {
|
|
1122
|
+
setTargetCollectionId(initialCollectionId);
|
|
1123
|
+
}, [initialCollectionId]);
|
|
1124
|
+
React__default.useEffect(() => {
|
|
1125
|
+
const promises = [];
|
|
1126
|
+
if (open) {
|
|
1127
|
+
dispatch(resetState());
|
|
1128
|
+
promises.push(dispatch(getRootCollectionPermissions()));
|
|
1129
|
+
}
|
|
1130
|
+
return () => {
|
|
1131
|
+
promises.forEach((promise) => {
|
|
1132
|
+
promise.cancel();
|
|
1133
|
+
});
|
|
1134
|
+
};
|
|
1135
|
+
}, [dispatch, open]);
|
|
1136
|
+
React__default.useEffect(() => {
|
|
1137
|
+
const promises = [];
|
|
1138
|
+
if (open) {
|
|
1139
|
+
promises.push(...fetchData());
|
|
1140
|
+
}
|
|
1141
|
+
return () => {
|
|
1142
|
+
promises.forEach((promise) => {
|
|
1143
|
+
promise.cancel();
|
|
1144
|
+
});
|
|
1145
|
+
};
|
|
1146
|
+
}, [fetchData, open]);
|
|
1147
|
+
return {
|
|
1148
|
+
getStructureItemsRecursively,
|
|
1149
|
+
filters,
|
|
1150
|
+
setFilters,
|
|
1151
|
+
targetCollectionId,
|
|
1152
|
+
handleChangeCollection,
|
|
1153
|
+
targetWorkbookId,
|
|
1154
|
+
handleChangeWorkbook
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
const i18n$k = I18n.keyset("component.collections-structure");
|
|
1158
|
+
const b$9 = block("dl-collections-structure-create-entity-dialog");
|
|
1159
|
+
const CreateEntityDialog = React__default.memo(
|
|
1160
|
+
({ open, title, isLoading, defaultTitleValue, onApply, onClose }) => {
|
|
1161
|
+
const [titleValue, setTitleValue] = React__default.useState(defaultTitleValue ?? "");
|
|
1162
|
+
const handleApply = React__default.useCallback(() => {
|
|
1163
|
+
onApply(titleValue).then(() => {
|
|
1164
|
+
onClose();
|
|
1165
|
+
});
|
|
1166
|
+
}, [onApply, onClose, titleValue]);
|
|
1167
|
+
React__default.useEffect(() => {
|
|
1168
|
+
if (open) {
|
|
1169
|
+
setTitleValue(defaultTitleValue ?? "");
|
|
1170
|
+
}
|
|
1171
|
+
}, [open, defaultTitleValue]);
|
|
1172
|
+
return /* @__PURE__ */ jsxs(
|
|
1173
|
+
Dialog,
|
|
1174
|
+
{
|
|
1175
|
+
className: b$9(),
|
|
1176
|
+
size: "s",
|
|
1177
|
+
open,
|
|
1178
|
+
onClose,
|
|
1179
|
+
onEnterKeyDown: handleApply,
|
|
1180
|
+
children: [
|
|
1181
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption: title }),
|
|
1182
|
+
/* @__PURE__ */ jsx(Dialog.Body, { children: /* @__PURE__ */ jsxs("div", { className: b$9("field"), children: [
|
|
1183
|
+
/* @__PURE__ */ jsx("div", { className: b$9("title"), children: i18n$k("label_title") }),
|
|
1184
|
+
/* @__PURE__ */ jsx(TextInput, { value: titleValue, onUpdate: setTitleValue, autoFocus: true })
|
|
1185
|
+
] }) }),
|
|
1186
|
+
/* @__PURE__ */ jsx(
|
|
1187
|
+
Dialog.Footer,
|
|
1188
|
+
{
|
|
1189
|
+
onClickButtonCancel: onClose,
|
|
1190
|
+
onClickButtonApply: handleApply,
|
|
1191
|
+
textButtonApply: i18n$k("action_create"),
|
|
1192
|
+
propsButtonApply: {
|
|
1193
|
+
disabled: !titleValue
|
|
1194
|
+
},
|
|
1195
|
+
textButtonCancel: i18n$k("action_cancel"),
|
|
1196
|
+
loading: isLoading
|
|
1197
|
+
}
|
|
1198
|
+
)
|
|
1199
|
+
]
|
|
1200
|
+
}
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
);
|
|
1204
|
+
CreateEntityDialog.displayName = "CreateEntityDialog";
|
|
1205
|
+
const i18n$j = I18n.keyset("component.collections-structure");
|
|
1206
|
+
const NewTitleDialog = React__default.memo(
|
|
1207
|
+
({ open, isLoading, defaultTitle, textButtonApply, onApply, onClose }) => {
|
|
1208
|
+
const [titleValue, setTitleValue] = React__default.useState(defaultTitle);
|
|
1209
|
+
const handleApply = React__default.useCallback(() => {
|
|
1210
|
+
if (titleValue) {
|
|
1211
|
+
onApply(titleValue);
|
|
1212
|
+
onClose();
|
|
1213
|
+
}
|
|
1214
|
+
}, [onApply, onClose, titleValue]);
|
|
1215
|
+
React__default.useEffect(() => {
|
|
1216
|
+
if (open) {
|
|
1217
|
+
setTitleValue(defaultTitle);
|
|
1218
|
+
}
|
|
1219
|
+
}, [open, defaultTitle]);
|
|
1220
|
+
return /* @__PURE__ */ jsxs(Dialog, { size: "s", open, onClose, onEnterKeyDown: handleApply, children: [
|
|
1221
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption: i18n$j("label_title") }),
|
|
1222
|
+
/* @__PURE__ */ jsx(Dialog.Body, { children: /* @__PURE__ */ jsx(TextInput, { value: titleValue, onUpdate: setTitleValue, autoFocus: true }) }),
|
|
1223
|
+
/* @__PURE__ */ jsx(
|
|
1224
|
+
Dialog.Footer,
|
|
1225
|
+
{
|
|
1226
|
+
onClickButtonCancel: onClose,
|
|
1227
|
+
onClickButtonApply: handleApply,
|
|
1228
|
+
textButtonApply,
|
|
1229
|
+
propsButtonApply: {
|
|
1230
|
+
disabled: !titleValue
|
|
1231
|
+
},
|
|
1232
|
+
textButtonCancel: i18n$j("action_cancel"),
|
|
1233
|
+
loading: isLoading
|
|
1234
|
+
}
|
|
1235
|
+
)
|
|
1236
|
+
] });
|
|
1237
|
+
}
|
|
1238
|
+
);
|
|
1239
|
+
NewTitleDialog.displayName = "NewTitleDialog";
|
|
1240
|
+
const b$8 = block("dl-collections-structure-collection-select-item");
|
|
1241
|
+
const ItemIcon = ({ item }) => {
|
|
1242
|
+
const theme = useThemeType();
|
|
1243
|
+
switch (item.entity) {
|
|
1244
|
+
case CollectionItemEntities.WORKBOOK:
|
|
1245
|
+
return /* @__PURE__ */ jsx(WorkbookIcon, { title: item.title, size: "s" });
|
|
1246
|
+
case CollectionItemEntities.COLLECTION:
|
|
1247
|
+
return /* @__PURE__ */ jsx(
|
|
1248
|
+
IconById,
|
|
1249
|
+
{
|
|
1250
|
+
id: theme === "dark" ? "collectionColoredDark" : "collectionColored",
|
|
1251
|
+
size: 20
|
|
1252
|
+
}
|
|
1253
|
+
);
|
|
1254
|
+
case CollectionItemEntities.ENTRY:
|
|
1255
|
+
return /* @__PURE__ */ jsx(
|
|
1256
|
+
EntryIcon,
|
|
1257
|
+
{
|
|
1258
|
+
entry: item,
|
|
1259
|
+
entityIconProps: {
|
|
1260
|
+
classNameColorBox: "custom-color-box"
|
|
1261
|
+
},
|
|
1262
|
+
className: b$8("entry-icon")
|
|
1263
|
+
}
|
|
1264
|
+
);
|
|
1265
|
+
default:
|
|
1266
|
+
return null;
|
|
1267
|
+
}
|
|
1268
|
+
};
|
|
1269
|
+
const Item = React__default.memo(({ item, active, canSelectWorkbook, inactive, onSelect }) => {
|
|
1270
|
+
const isWorkbook = item.entity === CollectionItemEntities.WORKBOOK;
|
|
1271
|
+
return /* @__PURE__ */ jsxs(
|
|
1272
|
+
"div",
|
|
1273
|
+
{
|
|
1274
|
+
className: b$8({
|
|
1275
|
+
inactive: inactive || Boolean(isWorkbook && !canSelectWorkbook),
|
|
1276
|
+
active: Boolean(isWorkbook && canSelectWorkbook && active)
|
|
1277
|
+
}),
|
|
1278
|
+
onClick: () => {
|
|
1279
|
+
onSelect(item);
|
|
1280
|
+
},
|
|
1281
|
+
"data-qa": DialogCollectionStructureQa.ListItem,
|
|
1282
|
+
children: [
|
|
1283
|
+
/* @__PURE__ */ jsx("div", { className: b$8("icon"), children: /* @__PURE__ */ jsx(ItemIcon, { item }) }),
|
|
1284
|
+
/* @__PURE__ */ jsx("div", { className: b$8("title"), children: item.title })
|
|
1285
|
+
]
|
|
1286
|
+
}
|
|
1287
|
+
);
|
|
1288
|
+
});
|
|
1289
|
+
Item.displayName = "Item";
|
|
1290
|
+
const iconInfo = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%20.828C3.521.828.703%203.672.703%207.125A6.296%206.296%200%200%200%207%2013.422c3.453%200%206.297-2.819%206.297-6.297C13.297%203.672%2010.453.828%207%20.828Zm0%2011.375a5.06%205.06%200%200%201-5.078-5.078A5.077%205.077%200%200%201%207%202.047c2.793%200%205.078%202.285%205.078%205.078A5.077%205.077%200%200%201%207%2012.203Zm0-8.582c-.61%200-1.066.483-1.066%201.067%200%20.609.457%201.066%201.066%201.066.584%200%201.066-.457%201.066-1.066%200-.584-.482-1.067-1.066-1.067Zm1.422%206.45v-.61a.328.328%200%200%200-.305-.305h-.305V6.617a.328.328%200%200%200-.304-.304H5.883a.309.309%200%200%200-.305.304v.61c0%20.177.127.304.305.304h.304v1.625h-.304a.309.309%200%200%200-.305.305v.61c0%20.177.127.304.305.304h2.234a.309.309%200%200%200%20.305-.305Z'%20fill='currentColor'/%3e%3c/svg%3e";
|
|
1291
|
+
const i18n$i = I18n.keyset("component.collections-structure");
|
|
1292
|
+
const b$7 = block("dl-collections-structure-structure-item-select");
|
|
1293
|
+
const StructureItemSelect = React__default.memo(
|
|
1294
|
+
({
|
|
1295
|
+
collectionId,
|
|
1296
|
+
workbookId,
|
|
1297
|
+
contentIsLoading,
|
|
1298
|
+
contentError,
|
|
1299
|
+
breadcrumbs,
|
|
1300
|
+
items,
|
|
1301
|
+
nextPageToken,
|
|
1302
|
+
pageSize,
|
|
1303
|
+
isSelectionAllowed,
|
|
1304
|
+
operationDeniedMessage,
|
|
1305
|
+
canSelectWorkbook,
|
|
1306
|
+
disabled,
|
|
1307
|
+
getStructureItemsRecursively,
|
|
1308
|
+
onChangeCollection,
|
|
1309
|
+
getIsInactiveItem,
|
|
1310
|
+
onChangeWorkbook = () => {
|
|
1311
|
+
},
|
|
1312
|
+
onSelectEntry = () => {
|
|
1313
|
+
}
|
|
1314
|
+
}) => {
|
|
1315
|
+
const [waypointDisabled, setWaypointDisabled] = React__default.useState(false);
|
|
1316
|
+
React__default.useEffect(() => {
|
|
1317
|
+
if (contentError) {
|
|
1318
|
+
setWaypointDisabled(true);
|
|
1319
|
+
}
|
|
1320
|
+
}, [contentError]);
|
|
1321
|
+
const onWaypointEnter = React__default.useCallback(() => {
|
|
1322
|
+
if (nextPageToken) {
|
|
1323
|
+
getStructureItemsRecursively({
|
|
1324
|
+
collectionId,
|
|
1325
|
+
page: nextPageToken,
|
|
1326
|
+
pageSize
|
|
1327
|
+
}).then((res) => {
|
|
1328
|
+
if (res?.nextPageToken && res?.nextPageToken === nextPageToken) {
|
|
1329
|
+
setWaypointDisabled(true);
|
|
1330
|
+
}
|
|
1331
|
+
return res;
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
}, [collectionId, getStructureItemsRecursively, nextPageToken, pageSize]);
|
|
1335
|
+
return /* @__PURE__ */ jsx(
|
|
1336
|
+
"div",
|
|
1337
|
+
{
|
|
1338
|
+
className: b$7({
|
|
1339
|
+
disabled,
|
|
1340
|
+
"denied-and-empty": !isSelectionAllowed && !items.length
|
|
1341
|
+
}),
|
|
1342
|
+
children: contentIsLoading && items.length === 0 ? /* @__PURE__ */ jsx("div", { className: b$7("main-loader"), children: /* @__PURE__ */ jsx(SmartLoader, { size: "m", showAfter: 0 }) }) : /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1343
|
+
/* @__PURE__ */ jsx("div", { className: b$7("breadcrumbs"), children: /* @__PURE__ */ jsx(
|
|
1344
|
+
CollectionsStructureBreadcrumbs,
|
|
1345
|
+
{
|
|
1346
|
+
items: breadcrumbs,
|
|
1347
|
+
onChange: onChangeCollection
|
|
1348
|
+
}
|
|
1349
|
+
) }),
|
|
1350
|
+
!isSelectionAllowed && /* @__PURE__ */ jsx("div", { className: b$7("denied-message-wrapper"), children: /* @__PURE__ */ jsx(Card, { theme: "info", type: "container", view: "filled", children: /* @__PURE__ */ jsxs("div", { className: b$7("denied-message"), children: [
|
|
1351
|
+
/* @__PURE__ */ jsx("div", { className: b$7("denied-message-icon"), children: /* @__PURE__ */ jsx(Icon, { data: iconInfo, size: 15 }) }),
|
|
1352
|
+
/* @__PURE__ */ jsx("div", { className: b$7("denied-message-text"), children: operationDeniedMessage })
|
|
1353
|
+
] }) }) }),
|
|
1354
|
+
items.length > 0 ? /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1355
|
+
/* @__PURE__ */ jsx("div", { className: b$7("items"), children: items.map((item) => {
|
|
1356
|
+
const isInactive = getIsInactiveItem?.(item) ?? false;
|
|
1357
|
+
return /* @__PURE__ */ jsx(
|
|
1358
|
+
Item,
|
|
1359
|
+
{
|
|
1360
|
+
inactive: isInactive,
|
|
1361
|
+
item,
|
|
1362
|
+
active: "workbookId" in item && canSelectWorkbook && item.workbookId === workbookId,
|
|
1363
|
+
canSelectWorkbook,
|
|
1364
|
+
onSelect: (selectedItem) => {
|
|
1365
|
+
switch (selectedItem.entity) {
|
|
1366
|
+
case CollectionItemEntities.WORKBOOK:
|
|
1367
|
+
if (canSelectWorkbook) {
|
|
1368
|
+
onChangeWorkbook(
|
|
1369
|
+
selectedItem.workbookId
|
|
1370
|
+
);
|
|
1371
|
+
}
|
|
1372
|
+
break;
|
|
1373
|
+
case CollectionItemEntities.COLLECTION:
|
|
1374
|
+
onChangeCollection(
|
|
1375
|
+
selectedItem.collectionId
|
|
1376
|
+
);
|
|
1377
|
+
break;
|
|
1378
|
+
case CollectionItemEntities.ENTRY:
|
|
1379
|
+
if (!isInactive) {
|
|
1380
|
+
onSelectEntry(selectedItem);
|
|
1381
|
+
}
|
|
1382
|
+
break;
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"workbookId" in item ? item.workbookId : item.collectionId
|
|
1387
|
+
);
|
|
1388
|
+
}) }),
|
|
1389
|
+
contentIsLoading && /* @__PURE__ */ jsx("div", { className: b$7("page-loader"), children: /* @__PURE__ */ jsx(Loader, { size: "m" }) }),
|
|
1390
|
+
!contentIsLoading && !waypointDisabled && /* @__PURE__ */ jsx(Waypoint, { onEnter: onWaypointEnter })
|
|
1391
|
+
] }) : /* @__PURE__ */ jsx(
|
|
1392
|
+
PlaceholderIllustration,
|
|
1393
|
+
{
|
|
1394
|
+
title: i18n$i("label_empty-collection"),
|
|
1395
|
+
name: "emptyDirectory",
|
|
1396
|
+
direction: "column"
|
|
1397
|
+
}
|
|
1398
|
+
)
|
|
1399
|
+
] })
|
|
1400
|
+
}
|
|
1401
|
+
);
|
|
1402
|
+
}
|
|
1403
|
+
);
|
|
1404
|
+
StructureItemSelect.displayName = "StructureItemSelect";
|
|
1405
|
+
const i18n$h = I18n.keyset("component.collections-structure");
|
|
1406
|
+
const b$6 = block("dl-collection-structure-dialog");
|
|
1407
|
+
const PAGE_SIZE = 50;
|
|
1408
|
+
var ResourceType = /* @__PURE__ */ ((ResourceType2) => {
|
|
1409
|
+
ResourceType2["Collection"] = "collection";
|
|
1410
|
+
ResourceType2["Workbook"] = "workbook";
|
|
1411
|
+
return ResourceType2;
|
|
1412
|
+
})(ResourceType || {});
|
|
1413
|
+
const CollectionStructureDialog = React__default.memo(
|
|
1414
|
+
({
|
|
1415
|
+
open,
|
|
1416
|
+
type,
|
|
1417
|
+
initialCollectionId,
|
|
1418
|
+
defaultTitle = "",
|
|
1419
|
+
defaultNewWorkbookTitle = "",
|
|
1420
|
+
operationDeniedMessage,
|
|
1421
|
+
canSelectInitialCollectionId = true,
|
|
1422
|
+
caption,
|
|
1423
|
+
textButtonApply,
|
|
1424
|
+
applyIsLoading = false,
|
|
1425
|
+
closeDialogAfterSuccessfulApply = true,
|
|
1426
|
+
workbookSelectionMode,
|
|
1427
|
+
massMoveMode,
|
|
1428
|
+
onApply,
|
|
1429
|
+
onClose,
|
|
1430
|
+
additionalButtons,
|
|
1431
|
+
useCustomDialog
|
|
1432
|
+
}) => {
|
|
1433
|
+
const {
|
|
1434
|
+
targetCollectionId,
|
|
1435
|
+
filters,
|
|
1436
|
+
setFilters,
|
|
1437
|
+
getStructureItemsRecursively,
|
|
1438
|
+
handleChangeCollection,
|
|
1439
|
+
targetWorkbookId,
|
|
1440
|
+
handleChangeWorkbook
|
|
1441
|
+
} = useCollectionStructureDialogState({
|
|
1442
|
+
open,
|
|
1443
|
+
initialCollectionId,
|
|
1444
|
+
includePermissionsInfo: workbookSelectionMode
|
|
1445
|
+
});
|
|
1446
|
+
const dispatch = useDispatch();
|
|
1447
|
+
const rootPermissionsData = useSelector(selectRootPermissionsData);
|
|
1448
|
+
const collectionIsLoading = useSelector(selectCollectionIsLoading);
|
|
1449
|
+
const collectionData = useSelector(selectCollectionData);
|
|
1450
|
+
const breadcrumbsIsLoading = useSelector(selectBreadcrumbsIsLoading);
|
|
1451
|
+
const breadcrumbs = useSelector(selectBreadcrumbs);
|
|
1452
|
+
const structureItems = useSelector(selectFilteredStructureItems);
|
|
1453
|
+
const structureItemsIsLoading = useSelector(selectStructureItemsIsLoading);
|
|
1454
|
+
const structureItemsError = useSelector(selectStructureItemsError);
|
|
1455
|
+
const nextPageToken = useSelector(selectNextPageToken);
|
|
1456
|
+
const createCollectionIsLoading = useSelector(selectCreateCollectionIsLoading);
|
|
1457
|
+
const createWorkbookIsLoading = useSelector(selectCreateWorkbookIsLoading);
|
|
1458
|
+
const [createCollectionDialogIsOpen, setCreateCollectionDialogIsOpen] = React__default.useState(false);
|
|
1459
|
+
const [createWorkbookDialogIsOpen, setCreateWorkbookDialogIsOpen] = React__default.useState(false);
|
|
1460
|
+
const [structureChanged, setStructureChanged] = React__default.useState(false);
|
|
1461
|
+
const [newTitleDialogIsOpen, setNewTitleDialogIsOpen] = React__default.useState(false);
|
|
1462
|
+
const handleClose = React__default.useCallback(() => {
|
|
1463
|
+
onClose(structureChanged);
|
|
1464
|
+
}, [structureChanged, onClose]);
|
|
1465
|
+
const canCreateCollection = React__default.useMemo(() => {
|
|
1466
|
+
if (targetCollectionId) {
|
|
1467
|
+
return collectionData?.permissions.createCollection || false;
|
|
1468
|
+
}
|
|
1469
|
+
return rootPermissionsData?.createCollectionInRoot || false;
|
|
1470
|
+
}, [targetCollectionId, rootPermissionsData, collectionData]);
|
|
1471
|
+
const canCreateWorkbook = React__default.useMemo(() => {
|
|
1472
|
+
if (targetCollectionId) {
|
|
1473
|
+
return collectionData?.permissions.createWorkbook || false;
|
|
1474
|
+
}
|
|
1475
|
+
return rootPermissionsData?.createWorkbookInRoot || false;
|
|
1476
|
+
}, [targetCollectionId, rootPermissionsData, collectionData]);
|
|
1477
|
+
const isSelectionAllowed = React__default.useMemo(() => {
|
|
1478
|
+
if (workbookSelectionMode) {
|
|
1479
|
+
return true;
|
|
1480
|
+
}
|
|
1481
|
+
let result = true;
|
|
1482
|
+
if (targetCollectionId && collectionData) {
|
|
1483
|
+
result = (type === "collection" ? collectionData?.permissions.createCollection : collectionData?.permissions.createWorkbook) ?? false;
|
|
1484
|
+
} else if (rootPermissionsData) {
|
|
1485
|
+
result = (type === "collection" ? rootPermissionsData?.createCollectionInRoot : rootPermissionsData?.createWorkbookInRoot) ?? false;
|
|
1486
|
+
}
|
|
1487
|
+
return result;
|
|
1488
|
+
}, [collectionData, rootPermissionsData, targetCollectionId, type, workbookSelectionMode]);
|
|
1489
|
+
let applyButtonDisabled = collectionIsLoading || !isSelectionAllowed;
|
|
1490
|
+
if (!applyButtonDisabled) {
|
|
1491
|
+
if (workbookSelectionMode) {
|
|
1492
|
+
if (targetWorkbookId) {
|
|
1493
|
+
const targetWorkbook = structureItems.find(
|
|
1494
|
+
(item) => "workbookId" in item && item.workbookId === targetWorkbookId
|
|
1495
|
+
);
|
|
1496
|
+
if (targetWorkbook) {
|
|
1497
|
+
applyButtonDisabled = targetWorkbook?.permissions.update !== true;
|
|
1498
|
+
} else {
|
|
1499
|
+
applyButtonDisabled = true;
|
|
1500
|
+
}
|
|
1501
|
+
} else {
|
|
1502
|
+
applyButtonDisabled = true;
|
|
1503
|
+
}
|
|
1504
|
+
} else if (!canSelectInitialCollectionId) {
|
|
1505
|
+
applyButtonDisabled = targetCollectionId === initialCollectionId;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
const handleClickApplyButton = React__default.useCallback(() => {
|
|
1509
|
+
if (!applyButtonDisabled) {
|
|
1510
|
+
if (workbookSelectionMode) {
|
|
1511
|
+
onApply({ targetCollectionId: null, targetWorkbookId }).then(() => {
|
|
1512
|
+
if (closeDialogAfterSuccessfulApply) {
|
|
1513
|
+
handleClose();
|
|
1514
|
+
}
|
|
1515
|
+
});
|
|
1516
|
+
} else if (massMoveMode) {
|
|
1517
|
+
onApply({ targetCollectionId, targetWorkbookId: null }).then(() => {
|
|
1518
|
+
if (closeDialogAfterSuccessfulApply) {
|
|
1519
|
+
handleClose();
|
|
1520
|
+
}
|
|
1521
|
+
});
|
|
1522
|
+
} else if (useCustomDialog) {
|
|
1523
|
+
onApply({ targetCollectionId, targetWorkbookId });
|
|
1524
|
+
} else {
|
|
1525
|
+
setNewTitleDialogIsOpen(true);
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
}, [
|
|
1529
|
+
applyButtonDisabled,
|
|
1530
|
+
workbookSelectionMode,
|
|
1531
|
+
massMoveMode,
|
|
1532
|
+
useCustomDialog,
|
|
1533
|
+
onApply,
|
|
1534
|
+
targetWorkbookId,
|
|
1535
|
+
closeDialogAfterSuccessfulApply,
|
|
1536
|
+
handleClose,
|
|
1537
|
+
targetCollectionId
|
|
1538
|
+
]);
|
|
1539
|
+
const handleApply = React__default.useCallback(
|
|
1540
|
+
(targetTitle) => {
|
|
1541
|
+
onApply({ targetCollectionId, targetWorkbookId, targetTitle }).then(() => {
|
|
1542
|
+
if (closeDialogAfterSuccessfulApply) {
|
|
1543
|
+
handleClose();
|
|
1544
|
+
}
|
|
1545
|
+
});
|
|
1546
|
+
},
|
|
1547
|
+
[
|
|
1548
|
+
onApply,
|
|
1549
|
+
handleClose,
|
|
1550
|
+
targetCollectionId,
|
|
1551
|
+
targetWorkbookId,
|
|
1552
|
+
closeDialogAfterSuccessfulApply
|
|
1553
|
+
]
|
|
1554
|
+
);
|
|
1555
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1556
|
+
/* @__PURE__ */ jsxs(
|
|
1557
|
+
Dialog,
|
|
1558
|
+
{
|
|
1559
|
+
className: b$6(),
|
|
1560
|
+
size: "m",
|
|
1561
|
+
open,
|
|
1562
|
+
onClose: handleClose,
|
|
1563
|
+
onEnterKeyDown: handleClickApplyButton,
|
|
1564
|
+
disableHeightTransition: true,
|
|
1565
|
+
children: [
|
|
1566
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption }),
|
|
1567
|
+
/* @__PURE__ */ jsxs(Dialog.Body, { children: [
|
|
1568
|
+
/* @__PURE__ */ jsx(
|
|
1569
|
+
CollectionFilters,
|
|
1570
|
+
{
|
|
1571
|
+
className: b$6("filters"),
|
|
1572
|
+
filters,
|
|
1573
|
+
onChange: setFilters,
|
|
1574
|
+
compactMode: true
|
|
1575
|
+
}
|
|
1576
|
+
),
|
|
1577
|
+
/* @__PURE__ */ jsx(
|
|
1578
|
+
StructureItemSelect,
|
|
1579
|
+
{
|
|
1580
|
+
collectionId: targetCollectionId,
|
|
1581
|
+
workbookId: targetWorkbookId,
|
|
1582
|
+
contentIsLoading: structureItemsIsLoading || breadcrumbsIsLoading,
|
|
1583
|
+
contentError: structureItemsError,
|
|
1584
|
+
breadcrumbs,
|
|
1585
|
+
items: structureItems,
|
|
1586
|
+
nextPageToken,
|
|
1587
|
+
pageSize: PAGE_SIZE,
|
|
1588
|
+
isSelectionAllowed,
|
|
1589
|
+
canSelectWorkbook: workbookSelectionMode,
|
|
1590
|
+
operationDeniedMessage,
|
|
1591
|
+
getStructureItemsRecursively,
|
|
1592
|
+
onChangeCollection: handleChangeCollection,
|
|
1593
|
+
onChangeWorkbook: handleChangeWorkbook,
|
|
1594
|
+
disabled: applyIsLoading
|
|
1595
|
+
}
|
|
1596
|
+
)
|
|
1597
|
+
] }),
|
|
1598
|
+
/* @__PURE__ */ jsx(
|
|
1599
|
+
Dialog.Footer,
|
|
1600
|
+
{
|
|
1601
|
+
onClickButtonCancel: handleClose,
|
|
1602
|
+
onClickButtonApply: handleClickApplyButton,
|
|
1603
|
+
textButtonApply,
|
|
1604
|
+
propsButtonApply: {
|
|
1605
|
+
disabled: applyButtonDisabled,
|
|
1606
|
+
qa: DialogCollectionStructureQa.ApplyButton
|
|
1607
|
+
},
|
|
1608
|
+
textButtonCancel: i18n$h("action_cancel"),
|
|
1609
|
+
loading: applyIsLoading,
|
|
1610
|
+
children: /* @__PURE__ */ jsxs("div", { className: b$6("footer-buttons"), children: [
|
|
1611
|
+
canCreateCollection && !workbookSelectionMode && /* @__PURE__ */ jsx(
|
|
1612
|
+
Button,
|
|
1613
|
+
{
|
|
1614
|
+
size: "l",
|
|
1615
|
+
view: "outlined",
|
|
1616
|
+
onClick: () => {
|
|
1617
|
+
setCreateCollectionDialogIsOpen(true);
|
|
1618
|
+
},
|
|
1619
|
+
children: i18n$h("action_create-collection")
|
|
1620
|
+
}
|
|
1621
|
+
),
|
|
1622
|
+
canCreateWorkbook && workbookSelectionMode && /* @__PURE__ */ jsx(
|
|
1623
|
+
Button,
|
|
1624
|
+
{
|
|
1625
|
+
size: "l",
|
|
1626
|
+
view: "outlined",
|
|
1627
|
+
onClick: () => {
|
|
1628
|
+
setCreateWorkbookDialogIsOpen(true);
|
|
1629
|
+
},
|
|
1630
|
+
children: i18n$h("action_create-workbook")
|
|
1631
|
+
}
|
|
1632
|
+
),
|
|
1633
|
+
additionalButtons
|
|
1634
|
+
] })
|
|
1635
|
+
}
|
|
1636
|
+
)
|
|
1637
|
+
]
|
|
1638
|
+
}
|
|
1639
|
+
),
|
|
1640
|
+
/* @__PURE__ */ jsx(
|
|
1641
|
+
NewTitleDialog,
|
|
1642
|
+
{
|
|
1643
|
+
open: newTitleDialogIsOpen,
|
|
1644
|
+
isLoading: applyIsLoading,
|
|
1645
|
+
defaultTitle,
|
|
1646
|
+
textButtonApply,
|
|
1647
|
+
onApply: (targetTitle) => {
|
|
1648
|
+
handleApply(targetTitle);
|
|
1649
|
+
},
|
|
1650
|
+
onClose: () => {
|
|
1651
|
+
setNewTitleDialogIsOpen(false);
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
),
|
|
1655
|
+
/* @__PURE__ */ jsx(
|
|
1656
|
+
CreateEntityDialog,
|
|
1657
|
+
{
|
|
1658
|
+
open: createCollectionDialogIsOpen,
|
|
1659
|
+
title: i18n$h("action_create-collection"),
|
|
1660
|
+
isLoading: createCollectionIsLoading,
|
|
1661
|
+
onApply: async (title) => {
|
|
1662
|
+
await dispatch(createCollection({ title, parentId: targetCollectionId }));
|
|
1663
|
+
setStructureChanged(true);
|
|
1664
|
+
dispatch(resetStructureItems());
|
|
1665
|
+
getStructureItemsRecursively({
|
|
1666
|
+
collectionId: targetCollectionId,
|
|
1667
|
+
pageSize: PAGE_SIZE,
|
|
1668
|
+
...filters
|
|
1669
|
+
});
|
|
1670
|
+
},
|
|
1671
|
+
onClose: () => {
|
|
1672
|
+
setCreateCollectionDialogIsOpen(false);
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
),
|
|
1676
|
+
/* @__PURE__ */ jsx(
|
|
1677
|
+
CreateEntityDialog,
|
|
1678
|
+
{
|
|
1679
|
+
open: createWorkbookDialogIsOpen,
|
|
1680
|
+
title: i18n$h("action_create-workbook"),
|
|
1681
|
+
isLoading: createWorkbookIsLoading,
|
|
1682
|
+
defaultTitleValue: defaultNewWorkbookTitle,
|
|
1683
|
+
onApply: async (title) => {
|
|
1684
|
+
await dispatch(createWorkbook({ title, collectionId: targetCollectionId }));
|
|
1685
|
+
setStructureChanged(true);
|
|
1686
|
+
dispatch(resetStructureItems());
|
|
1687
|
+
getStructureItemsRecursively({
|
|
1688
|
+
collectionId: targetCollectionId,
|
|
1689
|
+
pageSize: PAGE_SIZE,
|
|
1690
|
+
...filters
|
|
1691
|
+
});
|
|
1692
|
+
},
|
|
1693
|
+
onClose: () => {
|
|
1694
|
+
setCreateWorkbookDialogIsOpen(false);
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
)
|
|
1698
|
+
] });
|
|
1699
|
+
}
|
|
1700
|
+
);
|
|
1701
|
+
CollectionStructureDialog.displayName = "CollectionStructureDialog";
|
|
1702
|
+
const i18n$g = I18n.keyset("component.collections-structure");
|
|
1703
|
+
const DIALOG_MOVE_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_MOVE_WORKBOOK");
|
|
1704
|
+
const MoveWorkbookDialog = ({
|
|
1705
|
+
open,
|
|
1706
|
+
workbookId,
|
|
1707
|
+
workbookTitle,
|
|
1708
|
+
initialCollectionId = null,
|
|
1709
|
+
onApply,
|
|
1710
|
+
onClose
|
|
1711
|
+
}) => {
|
|
1712
|
+
const dispatch = useDispatch();
|
|
1713
|
+
const moveIsLoading = useSelector(selectMoveIsLoading);
|
|
1714
|
+
const handleMoveWorkbook = React__default.useCallback(
|
|
1715
|
+
async ({
|
|
1716
|
+
targetCollectionId,
|
|
1717
|
+
targetTitle
|
|
1718
|
+
}) => {
|
|
1719
|
+
await dispatch(
|
|
1720
|
+
moveWorkbook({
|
|
1721
|
+
workbookId,
|
|
1722
|
+
collectionId: targetCollectionId,
|
|
1723
|
+
title: targetTitle ?? workbookTitle
|
|
1724
|
+
})
|
|
1725
|
+
);
|
|
1726
|
+
onApply();
|
|
1727
|
+
},
|
|
1728
|
+
[workbookId, workbookTitle, onApply, dispatch]
|
|
1729
|
+
);
|
|
1730
|
+
return /* @__PURE__ */ jsx(
|
|
1731
|
+
CollectionStructureDialog,
|
|
1732
|
+
{
|
|
1733
|
+
open,
|
|
1734
|
+
type: ResourceType.Workbook,
|
|
1735
|
+
initialCollectionId,
|
|
1736
|
+
defaultTitle: workbookTitle,
|
|
1737
|
+
canSelectInitialCollectionId: false,
|
|
1738
|
+
caption: i18n$g("label_move"),
|
|
1739
|
+
textButtonApply: i18n$g("action_move"),
|
|
1740
|
+
operationDeniedMessage: i18n$g("label_move-denied-title"),
|
|
1741
|
+
applyIsLoading: moveIsLoading,
|
|
1742
|
+
workbookSelectionMode: false,
|
|
1743
|
+
onApply: handleMoveWorkbook,
|
|
1744
|
+
onClose
|
|
1745
|
+
}
|
|
1746
|
+
);
|
|
1747
|
+
};
|
|
1748
|
+
DialogManager.registerDialog(DIALOG_MOVE_WORKBOOK, MoveWorkbookDialog);
|
|
1749
|
+
const i18n$f = I18n.keyset("component.collections-structure");
|
|
1750
|
+
const DeleteDialog = React__default.memo(
|
|
1751
|
+
({ title, description, textButtonApply, open, isLoading, onApply, onClose }) => {
|
|
1752
|
+
const handleApply = React__default.useCallback(() => {
|
|
1753
|
+
onApply().then(() => {
|
|
1754
|
+
onClose();
|
|
1755
|
+
});
|
|
1756
|
+
}, [onApply, onClose]);
|
|
1757
|
+
return /* @__PURE__ */ jsx(
|
|
1758
|
+
DialogConfirm,
|
|
1759
|
+
{
|
|
1760
|
+
visible: open,
|
|
1761
|
+
onCancel: onClose,
|
|
1762
|
+
confirmOnEnterPress: true,
|
|
1763
|
+
onApply: handleApply,
|
|
1764
|
+
confirmHeaderText: title,
|
|
1765
|
+
applyBtnLoadingStatus: isLoading ? DialogConfirmApplyStatus.Loading : void 0,
|
|
1766
|
+
confirmButtonText: textButtonApply,
|
|
1767
|
+
confirmButtonView: "outlined-danger",
|
|
1768
|
+
cancelButtonView: "flat",
|
|
1769
|
+
cancelButtonText: i18n$f("action_cancel"),
|
|
1770
|
+
message: description,
|
|
1771
|
+
showIcon: false,
|
|
1772
|
+
isWarningConfirm: true
|
|
1773
|
+
}
|
|
1774
|
+
);
|
|
1775
|
+
}
|
|
1776
|
+
);
|
|
1777
|
+
DeleteDialog.displayName = "DeleteDialog";
|
|
1778
|
+
const i18n$e = I18n.keyset("component.collections-structure");
|
|
1779
|
+
const DIALOG_COPY_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_COPY_WORKBOOK");
|
|
1780
|
+
const CopyWorkbookDialog = ({
|
|
1781
|
+
open,
|
|
1782
|
+
workbookId,
|
|
1783
|
+
workbookTitle,
|
|
1784
|
+
initialCollectionId = null,
|
|
1785
|
+
onApply,
|
|
1786
|
+
onClose
|
|
1787
|
+
}) => {
|
|
1788
|
+
const dispatch = useDispatch();
|
|
1789
|
+
const copyIsLoading = useSelector(selectCopyWorkbookIsLoading);
|
|
1790
|
+
const handleCopyWorkbook = React__default.useCallback(
|
|
1791
|
+
async ({
|
|
1792
|
+
targetCollectionId,
|
|
1793
|
+
targetTitle
|
|
1794
|
+
}) => {
|
|
1795
|
+
const result = await dispatch(
|
|
1796
|
+
copyWorkbook({
|
|
1797
|
+
workbookId,
|
|
1798
|
+
collectionId: targetCollectionId,
|
|
1799
|
+
title: targetTitle ?? workbookTitle
|
|
1800
|
+
})
|
|
1801
|
+
);
|
|
1802
|
+
onApply(result?.workbookId);
|
|
1803
|
+
},
|
|
1804
|
+
[workbookId, workbookTitle, onApply, dispatch]
|
|
1805
|
+
);
|
|
1806
|
+
return /* @__PURE__ */ jsx(
|
|
1807
|
+
CollectionStructureDialog,
|
|
1808
|
+
{
|
|
1809
|
+
open,
|
|
1810
|
+
type: ResourceType.Workbook,
|
|
1811
|
+
initialCollectionId,
|
|
1812
|
+
defaultTitle: workbookTitle,
|
|
1813
|
+
caption: i18n$e("label_copy"),
|
|
1814
|
+
textButtonApply: i18n$e("action_copy"),
|
|
1815
|
+
operationDeniedMessage: i18n$e("label_copy-denied-title"),
|
|
1816
|
+
applyIsLoading: copyIsLoading,
|
|
1817
|
+
workbookSelectionMode: false,
|
|
1818
|
+
onApply: handleCopyWorkbook,
|
|
1819
|
+
onClose
|
|
1820
|
+
}
|
|
1821
|
+
);
|
|
1822
|
+
};
|
|
1823
|
+
DialogManager.registerDialog(DIALOG_COPY_WORKBOOK, CopyWorkbookDialog);
|
|
1824
|
+
const i18n$d = I18n.keyset("component.collections-structure");
|
|
1825
|
+
const b$5 = block("dl-workbook-dialog");
|
|
1826
|
+
const WorkbookDialog = React__default.memo(
|
|
1827
|
+
({
|
|
1828
|
+
values,
|
|
1829
|
+
errors,
|
|
1830
|
+
title,
|
|
1831
|
+
textButtonApply,
|
|
1832
|
+
open,
|
|
1833
|
+
isLoading,
|
|
1834
|
+
isHiddenDescription = false,
|
|
1835
|
+
titleAutoFocus = false,
|
|
1836
|
+
onChange,
|
|
1837
|
+
onApply,
|
|
1838
|
+
onClose,
|
|
1839
|
+
customActions,
|
|
1840
|
+
customBody,
|
|
1841
|
+
getDialogFooterPropsOverride,
|
|
1842
|
+
qa
|
|
1843
|
+
}) => {
|
|
1844
|
+
const handleChange = React__default.useCallback(
|
|
1845
|
+
(params) => {
|
|
1846
|
+
const { target } = params;
|
|
1847
|
+
onChange({
|
|
1848
|
+
...values,
|
|
1849
|
+
[target.name]: target.value
|
|
1850
|
+
});
|
|
1851
|
+
},
|
|
1852
|
+
[onChange, values]
|
|
1853
|
+
);
|
|
1854
|
+
const handleApply = React__default.useCallback(() => {
|
|
1855
|
+
onApply(values, onClose);
|
|
1856
|
+
}, [onApply, values, onClose]);
|
|
1857
|
+
const dialogFooterProps = React__default.useMemo(() => {
|
|
1858
|
+
const defaultDialogFooterProps = {
|
|
1859
|
+
onClickButtonCancel: onClose,
|
|
1860
|
+
onClickButtonApply: handleApply,
|
|
1861
|
+
textButtonApply,
|
|
1862
|
+
propsButtonApply: {
|
|
1863
|
+
disabled: !values.title,
|
|
1864
|
+
qa: WorkbookDialogQA.APPLY_BUTTON
|
|
1865
|
+
},
|
|
1866
|
+
textButtonCancel: i18n$d("action_cancel"),
|
|
1867
|
+
loading: isLoading,
|
|
1868
|
+
qaApplyButton: WorkbookDialogQA.APPLY_BUTTON
|
|
1869
|
+
};
|
|
1870
|
+
return getDialogFooterPropsOverride ? getDialogFooterPropsOverride(defaultDialogFooterProps) : defaultDialogFooterProps;
|
|
1871
|
+
}, [
|
|
1872
|
+
getDialogFooterPropsOverride,
|
|
1873
|
+
handleApply,
|
|
1874
|
+
isLoading,
|
|
1875
|
+
onClose,
|
|
1876
|
+
textButtonApply,
|
|
1877
|
+
values.title
|
|
1878
|
+
]);
|
|
1879
|
+
const renderBody = () => {
|
|
1880
|
+
if (customBody) {
|
|
1881
|
+
return customBody;
|
|
1882
|
+
}
|
|
1883
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
1884
|
+
/* @__PURE__ */ jsxs("div", { className: b$5("field"), children: [
|
|
1885
|
+
/* @__PURE__ */ jsx("div", { className: b$5("title"), children: i18n$d("label_title") }),
|
|
1886
|
+
/* @__PURE__ */ jsx(
|
|
1887
|
+
TextInput,
|
|
1888
|
+
{
|
|
1889
|
+
name: "title",
|
|
1890
|
+
error: errors?.title,
|
|
1891
|
+
value: values.title,
|
|
1892
|
+
onChange: handleChange,
|
|
1893
|
+
autoFocus: titleAutoFocus,
|
|
1894
|
+
qa: WorkbookDialogQA.TITLE_INPUT
|
|
1895
|
+
}
|
|
1896
|
+
)
|
|
1897
|
+
] }),
|
|
1898
|
+
!isHiddenDescription && /* @__PURE__ */ jsxs("div", { className: b$5("field"), children: [
|
|
1899
|
+
/* @__PURE__ */ jsx("div", { className: b$5("title"), children: i18n$d("label_description") }),
|
|
1900
|
+
/* @__PURE__ */ jsx(
|
|
1901
|
+
TextArea,
|
|
1902
|
+
{
|
|
1903
|
+
name: "description",
|
|
1904
|
+
error: errors?.description,
|
|
1905
|
+
value: values.description,
|
|
1906
|
+
onChange: handleChange,
|
|
1907
|
+
minRows: 2
|
|
1908
|
+
}
|
|
1909
|
+
)
|
|
1910
|
+
] }),
|
|
1911
|
+
customActions
|
|
1912
|
+
] });
|
|
1913
|
+
};
|
|
1914
|
+
return /* @__PURE__ */ jsxs(
|
|
1915
|
+
Dialog,
|
|
1916
|
+
{
|
|
1917
|
+
className: b$5(),
|
|
1918
|
+
size: "s",
|
|
1919
|
+
open,
|
|
1920
|
+
onClose,
|
|
1921
|
+
onEnterKeyDown: handleApply,
|
|
1922
|
+
qa,
|
|
1923
|
+
children: [
|
|
1924
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption: title }),
|
|
1925
|
+
/* @__PURE__ */ jsx(Dialog.Body, { children: renderBody() }),
|
|
1926
|
+
/* @__PURE__ */ jsx(Dialog.Footer, { ...dialogFooterProps, loading: isLoading })
|
|
1927
|
+
]
|
|
1928
|
+
}
|
|
1929
|
+
);
|
|
1930
|
+
}
|
|
1931
|
+
);
|
|
1932
|
+
WorkbookDialog.displayName = "WorkbookDialog";
|
|
1933
|
+
const useCollectionEntityDialogState = (initialValues) => {
|
|
1934
|
+
const [values, setValues] = React__default.useState(initialValues);
|
|
1935
|
+
const [errors, setErrors] = React__default.useState({});
|
|
1936
|
+
const handleChange = React__default.useCallback((nextValues) => {
|
|
1937
|
+
setValues((prevValues) => ({ ...prevValues, ...nextValues }));
|
|
1938
|
+
setErrors((prevErrors) => {
|
|
1939
|
+
if (Object.keys(prevErrors).length < 1) {
|
|
1940
|
+
return prevErrors;
|
|
1941
|
+
}
|
|
1942
|
+
const nextDialogErrors = { ...prevErrors };
|
|
1943
|
+
for (const fieldName in nextValues) {
|
|
1944
|
+
if (fieldName in nextDialogErrors) {
|
|
1945
|
+
delete nextDialogErrors[fieldName];
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
return nextDialogErrors;
|
|
1949
|
+
});
|
|
1950
|
+
}, []);
|
|
1951
|
+
const handleError = React__default.useCallback((nextErrors) => {
|
|
1952
|
+
setErrors((prevErrors) => ({
|
|
1953
|
+
...prevErrors,
|
|
1954
|
+
...nextErrors
|
|
1955
|
+
}));
|
|
1956
|
+
}, []);
|
|
1957
|
+
return { values, errors, handleChange, handleError };
|
|
1958
|
+
};
|
|
1959
|
+
const i18n$c = I18n.keyset("component.collections-structure");
|
|
1960
|
+
const DIALOG_EDIT_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_EDIT_WORKBOOK");
|
|
1961
|
+
const EditWorkbookDialog = (props) => {
|
|
1962
|
+
const dispatch = useDispatch();
|
|
1963
|
+
const { title, description, open, onClose } = props;
|
|
1964
|
+
const {
|
|
1965
|
+
values: dialogValues,
|
|
1966
|
+
errors: dialogErrors,
|
|
1967
|
+
handleChange: handleDialogChange,
|
|
1968
|
+
handleError: handleDialogError
|
|
1969
|
+
} = useCollectionEntityDialogState({
|
|
1970
|
+
title,
|
|
1971
|
+
description
|
|
1972
|
+
});
|
|
1973
|
+
const isLoading = useSelector(selectUpdateWorkbookIsLoading);
|
|
1974
|
+
const handleApply = React__default.useCallback(
|
|
1975
|
+
async ({ title: dialogTitle, description: dialogDescription }, dialogOnClose) => {
|
|
1976
|
+
const { workbookId, onApply } = props;
|
|
1977
|
+
try {
|
|
1978
|
+
const result = await dispatch(
|
|
1979
|
+
updateWorkbook(
|
|
1980
|
+
{
|
|
1981
|
+
workbookId,
|
|
1982
|
+
title: dialogTitle,
|
|
1983
|
+
description: dialogDescription ?? ""
|
|
1984
|
+
},
|
|
1985
|
+
true
|
|
1986
|
+
)
|
|
1987
|
+
);
|
|
1988
|
+
if (onApply) {
|
|
1989
|
+
onApply(result);
|
|
1990
|
+
}
|
|
1991
|
+
dialogOnClose();
|
|
1992
|
+
} catch (error) {
|
|
1993
|
+
if (error.code === ErrorCode.WorkbookAlreadyExists) {
|
|
1994
|
+
handleDialogError({ title: i18n$c("label_workbook-already-exists-error") });
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
},
|
|
1998
|
+
[dispatch, handleDialogError, props]
|
|
1999
|
+
);
|
|
2000
|
+
return /* @__PURE__ */ jsx(
|
|
2001
|
+
WorkbookDialog,
|
|
2002
|
+
{
|
|
2003
|
+
values: dialogValues,
|
|
2004
|
+
errors: dialogErrors,
|
|
2005
|
+
title: i18n$c("action_edit-workbook"),
|
|
2006
|
+
textButtonApply: i18n$c("action_save"),
|
|
2007
|
+
open,
|
|
2008
|
+
isLoading,
|
|
2009
|
+
titleAutoFocus: true,
|
|
2010
|
+
onChange: handleDialogChange,
|
|
2011
|
+
onApply: handleApply,
|
|
2012
|
+
onClose
|
|
2013
|
+
}
|
|
2014
|
+
);
|
|
2015
|
+
};
|
|
2016
|
+
DialogManager.registerDialog(DIALOG_EDIT_WORKBOOK, EditWorkbookDialog);
|
|
2017
|
+
const i18n$b = I18n.keyset("component.workbook-export.notifications");
|
|
2018
|
+
const NOTIFICATIONS_BY_CODE = {
|
|
2019
|
+
"NOTIF.WB_EXPORT.DS.RLS": i18n$b("label_export-rls"),
|
|
2020
|
+
"NOTIF.WB_IMPORT.DS.RLS": i18n$b("label_import-rls"),
|
|
2021
|
+
"NOTIF.WB_EXPORT.CONN.CHECK_CREDENTIALS": i18n$b("label_export-check-connection-credentials"),
|
|
2022
|
+
"NOTIF.WB_IMPORT.CONN.CHECK_CREDENTIALS": i18n$b("label_import-check-connections-credentials"),
|
|
2023
|
+
"NOTIF.WB_IMPORT.CONN.CHECK_DELEGATION": i18n$b("label_import-check-delegation"),
|
|
2024
|
+
"ERR.UI_API.TRANSFER_INVALID_VERSION": i18n$b("label_invalid-version"),
|
|
2025
|
+
"ERR.UI_API.TRANSFER_MISSING_LINKED_ENTRY": i18n$b("label_missing-linked-entry"),
|
|
2026
|
+
"ERR.UI_API.TRANSFER_INVALID_ENTRY_DATA": i18n$b("label_invalid-entry-data"),
|
|
2027
|
+
"ERR.UI_API.TRANSFER_INVALID_ENTRY_SCOPE": i18n$b("label_invalid-entry-scope"),
|
|
2028
|
+
UNEXPECTED_WORKFLOW_ERROR: i18n$b("label_unexpected-workflow-error"),
|
|
2029
|
+
SCOPE_NOT_AVAILABLE_FOR_INSTALLATION: i18n$b("label_scope-not-available-for-installation"),
|
|
2030
|
+
"ERR.DS_API.BAD_CONN_TYPE": i18n$b("label_bad-connection-type"),
|
|
2031
|
+
"ERR.DS_API.UNSUPPORTED": i18n$b("label_unsupported-objects"),
|
|
2032
|
+
"ERR.DS_API.WB_EXPORT.DS": i18n$b("label_error-export-dataset"),
|
|
2033
|
+
"ERR.DS_API.WB_EXPORT.CONN": i18n$b("label_error-export-connection"),
|
|
2034
|
+
"ERR.DS_API.WB_IMPORT.DS": i18n$b("label_error-import-dataset"),
|
|
2035
|
+
"ERR.DS_API.WB_IMPORT.CONN": i18n$b("label_error-import-connection")
|
|
2036
|
+
};
|
|
2037
|
+
const transformNotifications = (notifications = []) => {
|
|
2038
|
+
const notificationMap = /* @__PURE__ */ new Map();
|
|
2039
|
+
const details = [];
|
|
2040
|
+
let hasCritical = false;
|
|
2041
|
+
notifications.forEach((notification) => {
|
|
2042
|
+
const key = notification.code;
|
|
2043
|
+
if (notification.details) {
|
|
2044
|
+
details.push(JSON.stringify(notification.details));
|
|
2045
|
+
}
|
|
2046
|
+
if (!notificationMap.has(key)) {
|
|
2047
|
+
notificationMap.set(key, {
|
|
2048
|
+
code: notification.code,
|
|
2049
|
+
message: notification.message,
|
|
2050
|
+
level: notification.level,
|
|
2051
|
+
entries: []
|
|
2052
|
+
});
|
|
2053
|
+
}
|
|
2054
|
+
if (notification.level === "critical") {
|
|
2055
|
+
hasCritical = true;
|
|
2056
|
+
}
|
|
2057
|
+
if (notification.scope && notification.entryId) {
|
|
2058
|
+
notificationMap.get(key)?.entries.push({
|
|
2059
|
+
entryId: notification.entryId,
|
|
2060
|
+
scope: notification.scope || "connection"
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
const preparedNotifications = Array.from(notificationMap.values());
|
|
2065
|
+
const preparedDetails = details.length > 0 ? details.join("\n") : null;
|
|
2066
|
+
if (hasCritical) {
|
|
2067
|
+
return {
|
|
2068
|
+
notifications: preparedNotifications.filter(
|
|
2069
|
+
(notification) => notification.level === "critical"
|
|
2070
|
+
),
|
|
2071
|
+
details: preparedDetails
|
|
2072
|
+
};
|
|
2073
|
+
}
|
|
2074
|
+
return { notifications: preparedNotifications, details: preparedDetails };
|
|
2075
|
+
};
|
|
2076
|
+
const getNotificationTitle = (code, message) => {
|
|
2077
|
+
if (!code) {
|
|
2078
|
+
return message;
|
|
2079
|
+
}
|
|
2080
|
+
return NOTIFICATIONS_BY_CODE[code] || message || i18n$b("label_invalid-error");
|
|
2081
|
+
};
|
|
2082
|
+
const i18n$a = I18n.keyset("component.workbook-export.notifications");
|
|
2083
|
+
const useNotificationsAndDetails = ({
|
|
2084
|
+
notifications,
|
|
2085
|
+
exportId,
|
|
2086
|
+
importId
|
|
2087
|
+
}) => {
|
|
2088
|
+
const dispatch = useDispatch();
|
|
2089
|
+
const [notificationDetails, setNotificationDetails] = React__default.useState(null);
|
|
2090
|
+
const preparedNotifications = React__default.useMemo(() => {
|
|
2091
|
+
if (!notifications) {
|
|
2092
|
+
setNotificationDetails(null);
|
|
2093
|
+
return [];
|
|
2094
|
+
}
|
|
2095
|
+
const { notifications: transformedNotifications, details } = transformNotifications(notifications);
|
|
2096
|
+
setNotificationDetails(details);
|
|
2097
|
+
return transformedNotifications;
|
|
2098
|
+
}, [notifications]);
|
|
2099
|
+
const handleShowDetails = React__default.useCallback(() => {
|
|
2100
|
+
if (notificationDetails) {
|
|
2101
|
+
dispatch(
|
|
2102
|
+
openDialogErrorWithTabs({
|
|
2103
|
+
title: i18n$a("title_error-details"),
|
|
2104
|
+
details: notificationDetails,
|
|
2105
|
+
exportId,
|
|
2106
|
+
importId
|
|
2107
|
+
})
|
|
2108
|
+
);
|
|
2109
|
+
}
|
|
2110
|
+
}, [notificationDetails, dispatch, exportId, importId]);
|
|
2111
|
+
return {
|
|
2112
|
+
notificationDetails,
|
|
2113
|
+
preparedNotifications,
|
|
2114
|
+
handleShowDetails
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
2117
|
+
const b$4 = block("workbook-dialog-import-file-field");
|
|
2118
|
+
const i18n$9 = I18n.keyset("component.collections-structure");
|
|
2119
|
+
const FileLabel = ({ filename, handler }) => {
|
|
2120
|
+
return /* @__PURE__ */ jsx(
|
|
2121
|
+
Label,
|
|
2122
|
+
{
|
|
2123
|
+
size: "m",
|
|
2124
|
+
theme: "clear",
|
|
2125
|
+
onCloseClick: handler,
|
|
2126
|
+
type: "close",
|
|
2127
|
+
className: b$4("file-label"),
|
|
2128
|
+
title: filename,
|
|
2129
|
+
children: /* @__PURE__ */ jsx(Text, { color: "complementary", variant: "body-1", children: filename })
|
|
2130
|
+
}
|
|
2131
|
+
);
|
|
2132
|
+
};
|
|
2133
|
+
const ImportFileField = ({
|
|
2134
|
+
onUpload,
|
|
2135
|
+
onRemove,
|
|
2136
|
+
files,
|
|
2137
|
+
error,
|
|
2138
|
+
publicGalleryFile
|
|
2139
|
+
}) => {
|
|
2140
|
+
const handleFileUploading = (file) => {
|
|
2141
|
+
onUpload(file[0]);
|
|
2142
|
+
};
|
|
2143
|
+
const handleRemoveFile = (index) => {
|
|
2144
|
+
onRemove(index);
|
|
2145
|
+
};
|
|
2146
|
+
const { triggerProps, controlProps } = useFileInput({ onUpdate: handleFileUploading });
|
|
2147
|
+
const docsUrl = formDocsEndpointDL("/workbooks-collections/export-and-import");
|
|
2148
|
+
return /* @__PURE__ */ jsxs(Flex, { spacing: { mt: 3 }, className: b$4(), gap: 2, direction: "column", alignItems: "flex-start", children: [
|
|
2149
|
+
/* @__PURE__ */ jsxs(Flex, { gap: 1, children: [
|
|
2150
|
+
/* @__PURE__ */ jsx(Text, { variant: "body-1", children: i18n$9("label_import-from-file") }),
|
|
2151
|
+
/* @__PURE__ */ jsx(HelpMark, { children: /* @__PURE__ */ jsx(
|
|
2152
|
+
InterpolatedText,
|
|
2153
|
+
{
|
|
2154
|
+
href: docsUrl,
|
|
2155
|
+
disableLink: !docsUrl,
|
|
2156
|
+
text: i18n$9("label_help-import-hint")
|
|
2157
|
+
}
|
|
2158
|
+
) })
|
|
2159
|
+
] }),
|
|
2160
|
+
/* @__PURE__ */ jsx("input", { ...controlProps, accept: ".json" }),
|
|
2161
|
+
/* @__PURE__ */ jsxs(Flex, { gap: 2, width: "100%", children: [
|
|
2162
|
+
/* @__PURE__ */ jsxs(Button, { ...triggerProps, children: [
|
|
2163
|
+
/* @__PURE__ */ jsx(Icon, { data: Paperclip }),
|
|
2164
|
+
" ",
|
|
2165
|
+
i18n$9("button_choose-file")
|
|
2166
|
+
] }),
|
|
2167
|
+
files.map((file, index) => /* @__PURE__ */ jsx(
|
|
2168
|
+
FileLabel,
|
|
2169
|
+
{
|
|
2170
|
+
filename: file.name,
|
|
2171
|
+
handler: () => handleRemoveFile(index)
|
|
2172
|
+
},
|
|
2173
|
+
file.name
|
|
2174
|
+
)),
|
|
2175
|
+
publicGalleryFile && /* @__PURE__ */ jsx(
|
|
2176
|
+
FileLabel,
|
|
2177
|
+
{
|
|
2178
|
+
filename: publicGalleryFile,
|
|
2179
|
+
handler: () => handleRemoveFile("publicGallery")
|
|
2180
|
+
}
|
|
2181
|
+
)
|
|
2182
|
+
] }),
|
|
2183
|
+
error && /* @__PURE__ */ jsx(Text, { variant: "body-1", color: "danger", children: error })
|
|
2184
|
+
] });
|
|
2185
|
+
};
|
|
2186
|
+
const b$3 = block("entries-notification-cut");
|
|
2187
|
+
const getEntry = (entriesMap, entry) => {
|
|
2188
|
+
if (!entry.entryId || !entriesMap) {
|
|
2189
|
+
return {
|
|
2190
|
+
entryId: entry.entryId,
|
|
2191
|
+
scope: entry.scope,
|
|
2192
|
+
name: entry.entryId
|
|
2193
|
+
};
|
|
2194
|
+
}
|
|
2195
|
+
return entriesMap[entry.entryId];
|
|
2196
|
+
};
|
|
2197
|
+
const LEVEL_TO_THEME_MAP = {
|
|
2198
|
+
critical: "danger",
|
|
2199
|
+
warning: "warning",
|
|
2200
|
+
info: "info",
|
|
2201
|
+
success: "success"
|
|
2202
|
+
};
|
|
2203
|
+
const NotificationSummary = ({
|
|
2204
|
+
title,
|
|
2205
|
+
count
|
|
2206
|
+
}) => {
|
|
2207
|
+
return /* @__PURE__ */ jsxs(
|
|
2208
|
+
Flex,
|
|
2209
|
+
{
|
|
2210
|
+
justifyContent: "space-between",
|
|
2211
|
+
alignItems: "center",
|
|
2212
|
+
gap: 7,
|
|
2213
|
+
grow: 1,
|
|
2214
|
+
className: b$3("summary"),
|
|
2215
|
+
children: [
|
|
2216
|
+
/* @__PURE__ */ jsx(Text, { className: b$3("title"), variant: "subheader-1", children: title }),
|
|
2217
|
+
/* @__PURE__ */ jsx(Text, { variant: "subheader-1", color: "secondary", className: spacing({ mr: 3 }), children: count })
|
|
2218
|
+
]
|
|
2219
|
+
}
|
|
2220
|
+
);
|
|
2221
|
+
};
|
|
2222
|
+
const EntriesNotificationCut = ({
|
|
2223
|
+
level,
|
|
2224
|
+
title,
|
|
2225
|
+
code,
|
|
2226
|
+
entries,
|
|
2227
|
+
link,
|
|
2228
|
+
entriesMap
|
|
2229
|
+
}) => {
|
|
2230
|
+
const defaultExpanded = level === "critical";
|
|
2231
|
+
const theme = LEVEL_TO_THEME_MAP[level] || "info";
|
|
2232
|
+
const notificationTitle = getNotificationTitle(code, title);
|
|
2233
|
+
return /* @__PURE__ */ jsxs(Flex, { gap: 3, className: b$3("cut"), children: [
|
|
2234
|
+
/* @__PURE__ */ jsx(Label, { theme, size: "s", icon: /* @__PURE__ */ jsx(Icon, { data: CircleExclamation, size: 14 }) }),
|
|
2235
|
+
entries?.length ? /* @__PURE__ */ jsxs(
|
|
2236
|
+
Disclosure,
|
|
2237
|
+
{
|
|
2238
|
+
defaultExpanded,
|
|
2239
|
+
arrowPosition: "end",
|
|
2240
|
+
summary: /* @__PURE__ */ jsx(NotificationSummary, { title: notificationTitle, count: entries.length }),
|
|
2241
|
+
className: b$3("disclosure"),
|
|
2242
|
+
children: [
|
|
2243
|
+
/* @__PURE__ */ jsx("div", { className: spacing({ mt: 3 }), children: entries.map((entry) => {
|
|
2244
|
+
const resolvedEntry = getEntry(entriesMap, entry);
|
|
2245
|
+
const overrideIconType = !("type" in resolvedEntry) && entry.scope === "connection" ? entry.scope : void 0;
|
|
2246
|
+
return /* @__PURE__ */ jsx(
|
|
2247
|
+
EntryRow,
|
|
2248
|
+
{
|
|
2249
|
+
entry: resolvedEntry,
|
|
2250
|
+
overrideIconType
|
|
2251
|
+
},
|
|
2252
|
+
entry.entryId
|
|
2253
|
+
);
|
|
2254
|
+
}) }),
|
|
2255
|
+
link && /* @__PURE__ */ jsx(Link, { href: link.url, className: spacing({ mt: 3 }), children: link.text })
|
|
2256
|
+
]
|
|
2257
|
+
}
|
|
2258
|
+
) : /* @__PURE__ */ jsx(Flex, { alignItems: "center", className: b$3("summary"), children: /* @__PURE__ */ jsx(Text, { variant: "subheader-2", children: notificationTitle }) })
|
|
2259
|
+
] });
|
|
2260
|
+
};
|
|
2261
|
+
const b$2 = block("import-workbook-file-view");
|
|
2262
|
+
const i18n$8 = I18n.keyset("component.workbook-import-view.view");
|
|
2263
|
+
const notificationsI18n$2 = I18n.keyset("component.workbook-export.notifications");
|
|
2264
|
+
const ImportWorkbookView = ({ status, importId, onRetry }) => {
|
|
2265
|
+
const importProgressData = useSelector(selectGetImportProgressData);
|
|
2266
|
+
const notificationEntriesMap = useSelector(selectGetImportProgressEntriesMap);
|
|
2267
|
+
const error = useSelector(selectImportError);
|
|
2268
|
+
const progress = importProgressData?.progress;
|
|
2269
|
+
const notifications = importProgressData?.notifications;
|
|
2270
|
+
switch (status) {
|
|
2271
|
+
case "pending":
|
|
2272
|
+
return /* @__PURE__ */ jsx(ProgressBar, { size: "s", className: b$2("progress"), value: progress ?? 0 });
|
|
2273
|
+
case "loading":
|
|
2274
|
+
return /* @__PURE__ */ jsx(Flex, { alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ jsx(Loader, { size: "m" }) });
|
|
2275
|
+
case "success":
|
|
2276
|
+
case "notification-error":
|
|
2277
|
+
if (status === "success" && !notifications) {
|
|
2278
|
+
return /* @__PURE__ */ jsx(EntriesNotificationCut, { title: i18n$8("label_success-import"), level: "success" });
|
|
2279
|
+
}
|
|
2280
|
+
{
|
|
2281
|
+
const docsUrl = formDocsEndpointDL(
|
|
2282
|
+
"/workbooks-collections/export-import-notifications"
|
|
2283
|
+
);
|
|
2284
|
+
const preparedNotifications = notifications ? transformNotifications(notifications).notifications : [];
|
|
2285
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
2286
|
+
/* @__PURE__ */ jsx(Flex, { direction: "column", gap: 4, children: preparedNotifications.map(({ code, level, entries }) => /* @__PURE__ */ jsx(
|
|
2287
|
+
EntriesNotificationCut,
|
|
2288
|
+
{
|
|
2289
|
+
code,
|
|
2290
|
+
level,
|
|
2291
|
+
entries,
|
|
2292
|
+
entriesMap: notificationEntriesMap
|
|
2293
|
+
},
|
|
2294
|
+
code
|
|
2295
|
+
)) }),
|
|
2296
|
+
docsUrl && /* @__PURE__ */ jsx(Link, { target: "_blank", href: docsUrl, className: spacing({ mt: 4 }), children: notificationsI18n$2("label_info-documentation-notifications") })
|
|
2297
|
+
] });
|
|
2298
|
+
}
|
|
2299
|
+
case "fatal-error":
|
|
2300
|
+
default:
|
|
2301
|
+
return /* @__PURE__ */ jsx(
|
|
2302
|
+
ViewError,
|
|
2303
|
+
{
|
|
2304
|
+
showDebugInfo: false,
|
|
2305
|
+
containerClassName: b$2("error-content"),
|
|
2306
|
+
error,
|
|
2307
|
+
size: "s",
|
|
2308
|
+
importId,
|
|
2309
|
+
retry: onRetry
|
|
2310
|
+
}
|
|
2311
|
+
);
|
|
2312
|
+
}
|
|
2313
|
+
};
|
|
2314
|
+
const i18n$7 = I18n.keyset("component.workbook-import-view.view");
|
|
2315
|
+
const getApplyButtonText$1 = (status, defaultText) => {
|
|
2316
|
+
switch (status) {
|
|
2317
|
+
case "loading":
|
|
2318
|
+
case "pending":
|
|
2319
|
+
return defaultText;
|
|
2320
|
+
case "success":
|
|
2321
|
+
return i18n$7("button_go-to-workbook");
|
|
2322
|
+
case "fatal-error":
|
|
2323
|
+
case "notification-error":
|
|
2324
|
+
default:
|
|
2325
|
+
return void 0;
|
|
2326
|
+
}
|
|
2327
|
+
};
|
|
2328
|
+
const getCaption$1 = (status) => {
|
|
2329
|
+
switch (status) {
|
|
2330
|
+
case "loading":
|
|
2331
|
+
case "pending":
|
|
2332
|
+
return i18n$7("title_creating-workbook");
|
|
2333
|
+
case "fatal-error":
|
|
2334
|
+
case "notification-error":
|
|
2335
|
+
return i18n$7("title_error-creating");
|
|
2336
|
+
case "success":
|
|
2337
|
+
return i18n$7("title_workbook-created");
|
|
2338
|
+
default:
|
|
2339
|
+
return i18n$7("title_creating-workbook");
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
const getCancelButtonText = (status, defaultText) => {
|
|
2343
|
+
return status === "loading" || status === "pending" ? defaultText : i18n$7("button_close");
|
|
2344
|
+
};
|
|
2345
|
+
const i18n$6 = I18n.keyset("component.collections-structure");
|
|
2346
|
+
const notificationsI18n$1 = I18n.keyset("component.workbook-export.notifications");
|
|
2347
|
+
const GET_IMPORT_PROGRESS_INTERVAL = 1e3;
|
|
2348
|
+
const DIALOG_CREATE_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_CREATE_WORKBOOK");
|
|
2349
|
+
const b$1 = block("create-workbook-dialog");
|
|
2350
|
+
const CreateWorkbookDialog = ({
|
|
2351
|
+
collectionId,
|
|
2352
|
+
open,
|
|
2353
|
+
dialogTitle,
|
|
2354
|
+
defaultWorkbookTitle,
|
|
2355
|
+
onClose,
|
|
2356
|
+
onCreateWorkbook,
|
|
2357
|
+
onApply,
|
|
2358
|
+
defaultView = "default",
|
|
2359
|
+
importId,
|
|
2360
|
+
showImport,
|
|
2361
|
+
publicGallery,
|
|
2362
|
+
onImportAttempt
|
|
2363
|
+
}) => {
|
|
2364
|
+
const dispatch = useDispatch();
|
|
2365
|
+
const [publicGalleryState, setPublicGalleryState] = React__default.useState(
|
|
2366
|
+
publicGallery || null
|
|
2367
|
+
);
|
|
2368
|
+
const {
|
|
2369
|
+
values: dialogValues,
|
|
2370
|
+
errors: dialogErrors,
|
|
2371
|
+
handleChange: handleDialogChange,
|
|
2372
|
+
handleError: handleDialogError
|
|
2373
|
+
} = useCollectionEntityDialogState({
|
|
2374
|
+
title: publicGalleryState?.title || defaultWorkbookTitle || "",
|
|
2375
|
+
description: publicGalleryState?.description || ""
|
|
2376
|
+
});
|
|
2377
|
+
const isCreatingLoading = useSelector(selectCreateWorkbookIsLoading);
|
|
2378
|
+
const importStatus = useSelector(selectImportWorkbookStatus);
|
|
2379
|
+
const importData = useSelector(selectImportWorkbookData);
|
|
2380
|
+
const importProgressData = useSelector(selectGetImportProgressData);
|
|
2381
|
+
const notifications = importProgressData?.notifications;
|
|
2382
|
+
const currentImportId = importData?.importId || importProgressData?.importId;
|
|
2383
|
+
const [isExternalLoading, setIsExternalLoading] = React__default.useState(false);
|
|
2384
|
+
const isImportLoading = importStatus === "loading" || importStatus === "pending";
|
|
2385
|
+
const isLoading = isCreatingLoading || isImportLoading || isExternalLoading;
|
|
2386
|
+
const [view, setView] = React__default.useState(defaultView);
|
|
2387
|
+
const [importFiles, setImportFiles] = React__default.useState([]);
|
|
2388
|
+
const [importValidationError, setImportValidationError] = React__default.useState(null);
|
|
2389
|
+
const importProgressTimeout = React__default.useRef(null);
|
|
2390
|
+
const isMounted = useMountedState();
|
|
2391
|
+
const { notificationDetails, handleShowDetails } = useNotificationsAndDetails({
|
|
2392
|
+
notifications,
|
|
2393
|
+
importId: importData?.importId
|
|
2394
|
+
});
|
|
2395
|
+
React__default.useEffect(() => {
|
|
2396
|
+
if (open) {
|
|
2397
|
+
dispatch(resetImportWorkbook());
|
|
2398
|
+
setView(defaultView);
|
|
2399
|
+
setImportFiles([]);
|
|
2400
|
+
setImportValidationError(null);
|
|
2401
|
+
}
|
|
2402
|
+
}, [defaultView, dispatch, open]);
|
|
2403
|
+
React__default.useEffect(() => {
|
|
2404
|
+
if (importFiles[0] && importFiles[0].name.toLowerCase().endsWith(".json")) {
|
|
2405
|
+
handleDialogChange({
|
|
2406
|
+
title: importFiles[0].name.replace(/\.json$/i, "")
|
|
2407
|
+
});
|
|
2408
|
+
}
|
|
2409
|
+
}, [defaultWorkbookTitle, handleDialogChange, importFiles]);
|
|
2410
|
+
const pollImportStatus = React__default.useCallback(
|
|
2411
|
+
async (currentImportId2) => {
|
|
2412
|
+
if (importProgressTimeout.current) {
|
|
2413
|
+
clearTimeout(importProgressTimeout.current);
|
|
2414
|
+
}
|
|
2415
|
+
if (!isMounted()) {
|
|
2416
|
+
return;
|
|
2417
|
+
}
|
|
2418
|
+
const startTime = Date.now();
|
|
2419
|
+
const result = await dispatch(getImportProgress({ importId: currentImportId2 }));
|
|
2420
|
+
const elapsedTime = Date.now() - startTime;
|
|
2421
|
+
if (result && result.status === "pending") {
|
|
2422
|
+
const nextPollDelay = Math.max(0, GET_IMPORT_PROGRESS_INTERVAL - elapsedTime);
|
|
2423
|
+
importProgressTimeout.current = setTimeout(
|
|
2424
|
+
() => pollImportStatus(currentImportId2),
|
|
2425
|
+
nextPollDelay
|
|
2426
|
+
);
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
[dispatch, isMounted]
|
|
2430
|
+
);
|
|
2431
|
+
React__default.useEffect(() => {
|
|
2432
|
+
if (importId) {
|
|
2433
|
+
pollImportStatus(importId);
|
|
2434
|
+
}
|
|
2435
|
+
}, [pollImportStatus, importId]);
|
|
2436
|
+
const handleFileUploding = (file) => {
|
|
2437
|
+
setImportFiles([file]);
|
|
2438
|
+
setImportValidationError(null);
|
|
2439
|
+
setPublicGalleryState(null);
|
|
2440
|
+
};
|
|
2441
|
+
const handleRemoveFile = (index) => {
|
|
2442
|
+
if (index === "publicGallery") {
|
|
2443
|
+
setPublicGalleryState(null);
|
|
2444
|
+
handleDialogChange({ title: "" });
|
|
2445
|
+
} else {
|
|
2446
|
+
setImportFiles((prev) => prev.filter((_, i) => i !== index));
|
|
2447
|
+
setImportValidationError(null);
|
|
2448
|
+
}
|
|
2449
|
+
};
|
|
2450
|
+
const handleClose = React__default.useCallback(() => {
|
|
2451
|
+
if (importStatus === "loading" || importStatus === "pending") {
|
|
2452
|
+
dispatch(
|
|
2453
|
+
openDialog({
|
|
2454
|
+
id: DIALOG_DEFAULT,
|
|
2455
|
+
props: {
|
|
2456
|
+
open: true,
|
|
2457
|
+
onApply: () => {
|
|
2458
|
+
dispatch(closeDialog());
|
|
2459
|
+
onClose(true);
|
|
2460
|
+
},
|
|
2461
|
+
onCancel: () => dispatch(closeDialog()),
|
|
2462
|
+
message: i18n$6("label_import-exit-description"),
|
|
2463
|
+
textButtonApply: i18n$6("action_exit"),
|
|
2464
|
+
textButtonCancel: i18n$6("action_stay"),
|
|
2465
|
+
caption: i18n$6("title_import-exit"),
|
|
2466
|
+
className: b$1("import-cancel-dialog")
|
|
2467
|
+
}
|
|
2468
|
+
})
|
|
2469
|
+
);
|
|
2470
|
+
return;
|
|
2471
|
+
}
|
|
2472
|
+
onClose(importStatus === "success");
|
|
2473
|
+
}, [dispatch, importStatus, onClose]);
|
|
2474
|
+
const handleCreateCallback = React__default.useCallback(
|
|
2475
|
+
async (workbookId) => {
|
|
2476
|
+
const onCreateCallback = onApply || onCreateWorkbook;
|
|
2477
|
+
if (onCreateCallback) {
|
|
2478
|
+
const promise = onCreateCallback({ workbookId });
|
|
2479
|
+
if (promise) {
|
|
2480
|
+
setIsExternalLoading(true);
|
|
2481
|
+
await promise;
|
|
2482
|
+
setIsExternalLoading(false);
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
[onApply, onCreateWorkbook]
|
|
2487
|
+
);
|
|
2488
|
+
const startImport = React__default.useCallback(
|
|
2489
|
+
async (workbookData) => {
|
|
2490
|
+
try {
|
|
2491
|
+
setIsExternalLoading(true);
|
|
2492
|
+
const importResult = await dispatch(
|
|
2493
|
+
importWorkbook(
|
|
2494
|
+
publicGalleryState ? { ...workbookData, publicGalleryUrl: publicGalleryState.data } : { ...workbookData, importFile: importFiles[0] },
|
|
2495
|
+
true
|
|
2496
|
+
)
|
|
2497
|
+
);
|
|
2498
|
+
setIsExternalLoading(false);
|
|
2499
|
+
if (importResult && importResult.importId) {
|
|
2500
|
+
setView("import");
|
|
2501
|
+
pollImportStatus(importResult.importId);
|
|
2502
|
+
onImportAttempt?.(Boolean(publicGalleryState));
|
|
2503
|
+
}
|
|
2504
|
+
} catch (error) {
|
|
2505
|
+
if (error.code === ErrorCode.MetaManagerWorkbookAlreadyExists) {
|
|
2506
|
+
handleDialogError({ title: i18n$6("label_workbook-already-exists-error") });
|
|
2507
|
+
setIsExternalLoading(false);
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
[
|
|
2512
|
+
dispatch,
|
|
2513
|
+
handleDialogError,
|
|
2514
|
+
importFiles,
|
|
2515
|
+
pollImportStatus,
|
|
2516
|
+
publicGalleryState,
|
|
2517
|
+
onImportAttempt
|
|
2518
|
+
]
|
|
2519
|
+
);
|
|
2520
|
+
const handleApply = React__default.useCallback(
|
|
2521
|
+
async ({ title: title2, description }, dialogOnClose) => {
|
|
2522
|
+
if (isEnabledFeature(Feature.EnableExportWorkbookFile) && importStatus === "success") {
|
|
2523
|
+
dialogOnClose();
|
|
2524
|
+
handleCreateCallback(importProgressData?.workbookId);
|
|
2525
|
+
return;
|
|
2526
|
+
}
|
|
2527
|
+
if (isEnabledFeature(Feature.EnableExportWorkbookFile) && importFiles.length > 0 && !importFiles[0].name.toLowerCase().endsWith(".json")) {
|
|
2528
|
+
setImportValidationError(i18n$6("label_error-file-type"));
|
|
2529
|
+
return;
|
|
2530
|
+
}
|
|
2531
|
+
const workbookData = {
|
|
2532
|
+
title: title2,
|
|
2533
|
+
description: description ?? "",
|
|
2534
|
+
collectionId
|
|
2535
|
+
};
|
|
2536
|
+
if (isEnabledFeature(Feature.EnableExportWorkbookFile) && (importFiles.length > 0 || publicGalleryState)) {
|
|
2537
|
+
startImport(workbookData);
|
|
2538
|
+
return;
|
|
2539
|
+
}
|
|
2540
|
+
try {
|
|
2541
|
+
const result = await dispatch(
|
|
2542
|
+
createWorkbook(workbookData, true)
|
|
2543
|
+
);
|
|
2544
|
+
handleCreateCallback(result?.workbookId);
|
|
2545
|
+
dialogOnClose();
|
|
2546
|
+
} catch (error) {
|
|
2547
|
+
if (error.code === ErrorCode.WorkbookAlreadyExists) {
|
|
2548
|
+
handleDialogError({ title: i18n$6("label_workbook-already-exists-error") });
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
[
|
|
2553
|
+
collectionId,
|
|
2554
|
+
dispatch,
|
|
2555
|
+
handleCreateCallback,
|
|
2556
|
+
importFiles,
|
|
2557
|
+
importProgressData?.workbookId,
|
|
2558
|
+
importStatus,
|
|
2559
|
+
handleDialogError,
|
|
2560
|
+
publicGalleryState,
|
|
2561
|
+
startImport
|
|
2562
|
+
]
|
|
2563
|
+
);
|
|
2564
|
+
const getDialogFooterPropsOverride = React__default.useCallback(
|
|
2565
|
+
({
|
|
2566
|
+
propsButtonApply,
|
|
2567
|
+
onClickButtonApply,
|
|
2568
|
+
textButtonCancel,
|
|
2569
|
+
textButtonApply,
|
|
2570
|
+
qaApplyButton
|
|
2571
|
+
}) => {
|
|
2572
|
+
return {
|
|
2573
|
+
onClickButtonCancel: handleClose,
|
|
2574
|
+
onClickButtonApply,
|
|
2575
|
+
textButtonApply: importStatus ? getApplyButtonText$1(importStatus, textButtonApply) : textButtonApply,
|
|
2576
|
+
propsButtonApply: {
|
|
2577
|
+
disabled: currentImportId ? false : propsButtonApply?.disabled,
|
|
2578
|
+
loading: isLoading,
|
|
2579
|
+
qa: qaApplyButton
|
|
2580
|
+
},
|
|
2581
|
+
propsButtonCancel: {
|
|
2582
|
+
view: importStatus?.endsWith("error") ? "normal" : "flat",
|
|
2583
|
+
disabled: isLoading && !isImportLoading
|
|
2584
|
+
},
|
|
2585
|
+
textButtonCancel: importStatus ? getCancelButtonText(importStatus, textButtonCancel) : textButtonCancel,
|
|
2586
|
+
children: importStatus && notificationDetails ? /* @__PURE__ */ jsx(Button, { size: "l", view: "outlined", onClick: handleShowDetails, children: notificationsI18n$1("button_show-details") }) : void 0
|
|
2587
|
+
};
|
|
2588
|
+
},
|
|
2589
|
+
[
|
|
2590
|
+
currentImportId,
|
|
2591
|
+
handleClose,
|
|
2592
|
+
handleShowDetails,
|
|
2593
|
+
importStatus,
|
|
2594
|
+
isImportLoading,
|
|
2595
|
+
isLoading,
|
|
2596
|
+
notificationDetails
|
|
2597
|
+
]
|
|
2598
|
+
);
|
|
2599
|
+
const handleRetry = React__default.useCallback(() => {
|
|
2600
|
+
if (importStatus === "fatal-error" && currentImportId) {
|
|
2601
|
+
pollImportStatus(currentImportId);
|
|
2602
|
+
return;
|
|
2603
|
+
}
|
|
2604
|
+
}, [currentImportId, importStatus, pollImportStatus]);
|
|
2605
|
+
const renderImportSection = () => {
|
|
2606
|
+
if (!isEnabledFeature(Feature.EnableExportWorkbookFile) || !showImport) {
|
|
2607
|
+
return null;
|
|
2608
|
+
}
|
|
2609
|
+
let publicGalleryFile;
|
|
2610
|
+
try {
|
|
2611
|
+
publicGalleryFile = publicGalleryState?.data?.split("/").pop() || void 0;
|
|
2612
|
+
} catch (error) {
|
|
2613
|
+
toaster.add({
|
|
2614
|
+
theme: "danger",
|
|
2615
|
+
name: "toastAfterParsingGalleryData",
|
|
2616
|
+
title: i18n$6("toast_get-gallery-file-error")
|
|
2617
|
+
});
|
|
2618
|
+
}
|
|
2619
|
+
return /* @__PURE__ */ jsx(
|
|
2620
|
+
ImportFileField,
|
|
2621
|
+
{
|
|
2622
|
+
onUpload: handleFileUploding,
|
|
2623
|
+
onRemove: handleRemoveFile,
|
|
2624
|
+
files: importFiles,
|
|
2625
|
+
error: importValidationError,
|
|
2626
|
+
publicGalleryFile
|
|
2627
|
+
}
|
|
2628
|
+
);
|
|
2629
|
+
};
|
|
2630
|
+
const renderDialogView = () => {
|
|
2631
|
+
if (view === "import") {
|
|
2632
|
+
const canProgressBeRetried = importStatus === "fatal-error" && currentImportId;
|
|
2633
|
+
const handleRetryFn = canProgressBeRetried ? handleRetry : void 0;
|
|
2634
|
+
return /* @__PURE__ */ jsx(Flex, { direction: "column", children: /* @__PURE__ */ jsx(
|
|
2635
|
+
ImportWorkbookView,
|
|
2636
|
+
{
|
|
2637
|
+
onRetry: handleRetryFn,
|
|
2638
|
+
status: importStatus,
|
|
2639
|
+
importId: currentImportId
|
|
2640
|
+
}
|
|
2641
|
+
) });
|
|
2642
|
+
}
|
|
2643
|
+
return null;
|
|
2644
|
+
};
|
|
2645
|
+
const defaultTitle = dialogTitle ?? i18n$6("action_create-workbook");
|
|
2646
|
+
const title = importStatus ? getCaption$1(importStatus) : defaultTitle;
|
|
2647
|
+
return /* @__PURE__ */ jsx(
|
|
2648
|
+
WorkbookDialog,
|
|
2649
|
+
{
|
|
2650
|
+
values: dialogValues,
|
|
2651
|
+
errors: dialogErrors,
|
|
2652
|
+
title,
|
|
2653
|
+
textButtonApply: i18n$6("action_create"),
|
|
2654
|
+
open,
|
|
2655
|
+
isLoading,
|
|
2656
|
+
onChange: handleDialogChange,
|
|
2657
|
+
onApply: handleApply,
|
|
2658
|
+
onClose: handleClose,
|
|
2659
|
+
titleAutoFocus: true,
|
|
2660
|
+
customActions: renderImportSection(),
|
|
2661
|
+
customBody: renderDialogView(),
|
|
2662
|
+
getDialogFooterPropsOverride,
|
|
2663
|
+
qa: importStatus === "success" ? WorkbookDialogQA.ROOT_IMPORT_SUCCESS : void 0
|
|
2664
|
+
}
|
|
2665
|
+
);
|
|
2666
|
+
};
|
|
2667
|
+
DialogManager.registerDialog(DIALOG_CREATE_WORKBOOK, CreateWorkbookDialog);
|
|
2668
|
+
const selectGetEntry = (state) => state.migrationToWorkbook.getEntry;
|
|
2669
|
+
const selectMigrateEntriesToWorkbook = (state) => state.migrationToWorkbook.migrateEntriesToWorkbook;
|
|
2670
|
+
const selectIsLoadingMigrateEntriesToWorkbook = createSelector(
|
|
2671
|
+
[selectMigrateEntriesToWorkbook],
|
|
2672
|
+
(migrate) => migrate.isLoading
|
|
2673
|
+
);
|
|
2674
|
+
const selectGetRelationsGraph = (state) => state.migrationToWorkbook.getRelationsGraph;
|
|
2675
|
+
const selectGetRelations = (state) => state.migrationToWorkbook.getRelations;
|
|
2676
|
+
const selectIsLoadingTargetEntry = createSelector(
|
|
2677
|
+
[selectGetEntry],
|
|
2678
|
+
(getEntry2) => getEntry2.isLoading
|
|
2679
|
+
);
|
|
2680
|
+
const selectTargetEntry = createSelector([selectGetEntry], (getEntry2) => getEntry2.data);
|
|
2681
|
+
const selectTargetEntryError = createSelector(
|
|
2682
|
+
[selectGetEntry],
|
|
2683
|
+
(getEntry2) => getEntry2.error
|
|
2684
|
+
);
|
|
2685
|
+
const selectIsLoadingRelationsGraph = createSelector(
|
|
2686
|
+
[selectGetRelationsGraph],
|
|
2687
|
+
(getRelationsGraph) => getRelationsGraph.isLoading
|
|
2688
|
+
);
|
|
2689
|
+
const selectRelationsGraph = createSelector(
|
|
2690
|
+
[selectGetRelationsGraph],
|
|
2691
|
+
(getRelationsGraph) => getRelationsGraph.data
|
|
2692
|
+
);
|
|
2693
|
+
const selectRelationsGraphError = createSelector(
|
|
2694
|
+
[selectGetRelationsGraph],
|
|
2695
|
+
(getRelationsGraph) => getRelationsGraph.error
|
|
2696
|
+
);
|
|
2697
|
+
const selectIsLoadingRelations = createSelector(
|
|
2698
|
+
[selectGetRelations],
|
|
2699
|
+
(getRelations) => getRelations.isLoading
|
|
2700
|
+
);
|
|
2701
|
+
const selectRelations = createSelector(
|
|
2702
|
+
[selectGetRelations],
|
|
2703
|
+
(getRelations) => getRelations.data
|
|
2704
|
+
);
|
|
2705
|
+
const selectRelationsError = createSelector(
|
|
2706
|
+
[selectGetRelations],
|
|
2707
|
+
(getRelations) => getRelations.error
|
|
2708
|
+
);
|
|
2709
|
+
const i18n$5 = I18n.keyset("component.collections-structure");
|
|
2710
|
+
const DIALOG_MIGRATE_ENTRY_TO_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_MIGRATE_ENTRY_TO_WORKBOOK");
|
|
2711
|
+
const MigrateEntryToWorkbookDialog = ({ open, onApply, onClose }) => {
|
|
2712
|
+
const handleMigrateEntry = React__default.useCallback(
|
|
2713
|
+
async ({
|
|
2714
|
+
targetWorkbookId
|
|
2715
|
+
}) => {
|
|
2716
|
+
if (targetWorkbookId) {
|
|
2717
|
+
await onApply(targetWorkbookId);
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
[onApply]
|
|
2721
|
+
);
|
|
2722
|
+
const isLoadingMigrateEntry = useSelector(selectIsLoadingMigrateEntriesToWorkbook);
|
|
2723
|
+
return /* @__PURE__ */ jsx(
|
|
2724
|
+
CollectionStructureDialog,
|
|
2725
|
+
{
|
|
2726
|
+
open,
|
|
2727
|
+
type: ResourceType.Workbook,
|
|
2728
|
+
initialCollectionId: null,
|
|
2729
|
+
canSelectInitialCollectionId: false,
|
|
2730
|
+
caption: i18n$5("label_move"),
|
|
2731
|
+
textButtonApply: i18n$5("action_move"),
|
|
2732
|
+
operationDeniedMessage: i18n$5("label_move-denied-title"),
|
|
2733
|
+
applyIsLoading: isLoadingMigrateEntry,
|
|
2734
|
+
workbookSelectionMode: true,
|
|
2735
|
+
onApply: handleMigrateEntry,
|
|
2736
|
+
onClose
|
|
2737
|
+
}
|
|
2738
|
+
);
|
|
2739
|
+
};
|
|
2740
|
+
DialogManager.registerDialog(DIALOG_MIGRATE_ENTRY_TO_WORKBOOK, MigrateEntryToWorkbookDialog);
|
|
2741
|
+
const i18n$4 = I18n.keyset("component.collections-structure");
|
|
2742
|
+
const DIALOG_COPY_ENTRIES = /* @__PURE__ */ Symbol("DIALOG_COPY_ENTRIES");
|
|
2743
|
+
const CopyEntriesDialog = ({
|
|
2744
|
+
open,
|
|
2745
|
+
initialCollectionId = null,
|
|
2746
|
+
onApply,
|
|
2747
|
+
onClose
|
|
2748
|
+
}) => {
|
|
2749
|
+
const copyIsLoading = useSelector(selectCopyWorkbookIsLoading);
|
|
2750
|
+
const handleEntryCopy = React__default.useCallback(
|
|
2751
|
+
async ({ targetWorkbookId }) => {
|
|
2752
|
+
if (targetWorkbookId) {
|
|
2753
|
+
await onApply(targetWorkbookId);
|
|
2754
|
+
}
|
|
2755
|
+
},
|
|
2756
|
+
[onApply]
|
|
2757
|
+
);
|
|
2758
|
+
return /* @__PURE__ */ jsx(
|
|
2759
|
+
CollectionStructureDialog,
|
|
2760
|
+
{
|
|
2761
|
+
open,
|
|
2762
|
+
type: ResourceType.Workbook,
|
|
2763
|
+
initialCollectionId,
|
|
2764
|
+
caption: i18n$4("label_copy"),
|
|
2765
|
+
textButtonApply: i18n$4("action_copy"),
|
|
2766
|
+
operationDeniedMessage: i18n$4("label_copy-denied-title"),
|
|
2767
|
+
applyIsLoading: copyIsLoading,
|
|
2768
|
+
workbookSelectionMode: true,
|
|
2769
|
+
onApply: handleEntryCopy,
|
|
2770
|
+
onClose
|
|
2771
|
+
}
|
|
2772
|
+
);
|
|
2773
|
+
};
|
|
2774
|
+
DialogManager.registerDialog(DIALOG_COPY_ENTRIES, CopyEntriesDialog);
|
|
2775
|
+
const i18n$3 = I18n.keyset("component.collections-structure");
|
|
2776
|
+
const DIALOG_DELETE_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_DELETE_WORKBOOK");
|
|
2777
|
+
const DeleteWorkbookDialog = ({
|
|
2778
|
+
open,
|
|
2779
|
+
workbookId,
|
|
2780
|
+
workbookTitle,
|
|
2781
|
+
onClose,
|
|
2782
|
+
onSuccessApply
|
|
2783
|
+
}) => {
|
|
2784
|
+
const dispatch = useDispatch();
|
|
2785
|
+
const isLoading = useSelector(selectDeleteWorkbookIsLoading);
|
|
2786
|
+
const onApply = React__default.useCallback(async () => {
|
|
2787
|
+
const result = await dispatch(
|
|
2788
|
+
deleteWorkbook({
|
|
2789
|
+
workbookId
|
|
2790
|
+
})
|
|
2791
|
+
);
|
|
2792
|
+
if (onSuccessApply) {
|
|
2793
|
+
onSuccessApply(workbookId);
|
|
2794
|
+
}
|
|
2795
|
+
return result;
|
|
2796
|
+
}, [dispatch, onSuccessApply, workbookId]);
|
|
2797
|
+
return /* @__PURE__ */ jsx(
|
|
2798
|
+
DeleteDialog,
|
|
2799
|
+
{
|
|
2800
|
+
title: i18n$3("label_delete-workbook"),
|
|
2801
|
+
description: i18n$3("section_delete-workbook", {
|
|
2802
|
+
name: workbookTitle
|
|
2803
|
+
}),
|
|
2804
|
+
textButtonApply: i18n$3("action_delete"),
|
|
2805
|
+
open,
|
|
2806
|
+
isLoading,
|
|
2807
|
+
onApply,
|
|
2808
|
+
onClose
|
|
2809
|
+
}
|
|
2810
|
+
);
|
|
2811
|
+
};
|
|
2812
|
+
DialogManager.registerDialog(DIALOG_DELETE_WORKBOOK, DeleteWorkbookDialog);
|
|
2813
|
+
const i18n$2 = I18n.keyset("component.collections-structure");
|
|
2814
|
+
const DIALOG_CREATE_ENTRY_IN_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_CREATE_ENTRY_IN_WORKBOOK");
|
|
2815
|
+
const CreateEntryInWorkbookDialog = ({
|
|
2816
|
+
entryType,
|
|
2817
|
+
closeDialogAfterSuccessfulApply,
|
|
2818
|
+
disableHistoryPush = false,
|
|
2819
|
+
initialCollectionId = null,
|
|
2820
|
+
onClose,
|
|
2821
|
+
onApply
|
|
2822
|
+
}) => {
|
|
2823
|
+
const history = useHistory();
|
|
2824
|
+
const handleCreateEntry = React__default.useCallback(
|
|
2825
|
+
({ targetWorkbookId }) => {
|
|
2826
|
+
if (targetWorkbookId) {
|
|
2827
|
+
if (!disableHistoryPush) {
|
|
2828
|
+
switch (entryType) {
|
|
2829
|
+
case "connection":
|
|
2830
|
+
history.push(`/workbooks/${targetWorkbookId}/connections/new`);
|
|
2831
|
+
break;
|
|
2832
|
+
case "dataset":
|
|
2833
|
+
history.push(`/workbooks/${targetWorkbookId}/datasets/new`);
|
|
2834
|
+
break;
|
|
2835
|
+
case "wizard":
|
|
2836
|
+
history.push(`/workbooks/${targetWorkbookId}/wizard`);
|
|
2837
|
+
break;
|
|
2838
|
+
case "ql":
|
|
2839
|
+
history.push(`/workbooks/${targetWorkbookId}/ql`);
|
|
2840
|
+
break;
|
|
2841
|
+
case "dashboard": {
|
|
2842
|
+
history.push(`/workbooks/${targetWorkbookId}/dashboards`);
|
|
2843
|
+
break;
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
if (onApply) {
|
|
2848
|
+
onApply(targetWorkbookId);
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
return Promise.resolve();
|
|
2852
|
+
},
|
|
2853
|
+
[entryType, history, disableHistoryPush, onApply]
|
|
2854
|
+
);
|
|
2855
|
+
return /* @__PURE__ */ jsx(
|
|
2856
|
+
CollectionStructureDialog,
|
|
2857
|
+
{
|
|
2858
|
+
open: true,
|
|
2859
|
+
type: ResourceType.Workbook,
|
|
2860
|
+
initialCollectionId,
|
|
2861
|
+
caption: `${i18n$2("label_create-entry-in-workbook")} ${i18n$2(`label_${entryType}`)}`,
|
|
2862
|
+
operationDeniedMessage: i18n$2("label_create-denied-title"),
|
|
2863
|
+
textButtonApply: i18n$2("action_create"),
|
|
2864
|
+
workbookSelectionMode: true,
|
|
2865
|
+
closeDialogAfterSuccessfulApply,
|
|
2866
|
+
onApply: handleCreateEntry,
|
|
2867
|
+
onClose
|
|
2868
|
+
}
|
|
2869
|
+
);
|
|
2870
|
+
};
|
|
2871
|
+
DialogManager.registerDialog(DIALOG_CREATE_ENTRY_IN_WORKBOOK, CreateEntryInWorkbookDialog);
|
|
2872
|
+
const i18n$1 = I18n.keyset("component.workbook-export-dialog.view");
|
|
2873
|
+
const InfoRow = ({ icon, text }) => {
|
|
2874
|
+
return /* @__PURE__ */ jsxs(Flex, { gap: 3, alignItems: "center", children: [
|
|
2875
|
+
/* @__PURE__ */ jsx(Label, { icon: /* @__PURE__ */ jsx(Icon, { data: icon }), size: "m", theme: "info" }),
|
|
2876
|
+
/* @__PURE__ */ jsx(Text, { variant: "body-1", children: text })
|
|
2877
|
+
] });
|
|
2878
|
+
};
|
|
2879
|
+
const ExportInfo = () => {
|
|
2880
|
+
const docsUrl = formDocsEndpointDL("/workbooks-collections/export-and-import");
|
|
2881
|
+
return /* @__PURE__ */ jsxs(Flex, { gap: 3, direction: "column", children: [
|
|
2882
|
+
/* @__PURE__ */ jsx(InfoRow, { text: i18n$1("label_info-file"), icon: File }),
|
|
2883
|
+
/* @__PURE__ */ jsx(InfoRow, { text: i18n$1("label_info-time"), icon: Clock }),
|
|
2884
|
+
/* @__PURE__ */ jsx(InfoRow, { text: i18n$1("label_info-secrets"), icon: Key }),
|
|
2885
|
+
/* @__PURE__ */ jsx(
|
|
2886
|
+
InfoRow,
|
|
2887
|
+
{
|
|
2888
|
+
text: /* @__PURE__ */ jsx(
|
|
2889
|
+
InterpolatedText,
|
|
2890
|
+
{
|
|
2891
|
+
disableLink: !docsUrl,
|
|
2892
|
+
href: `${docsUrl}#restrictions`,
|
|
2893
|
+
text: i18n$1("label_info-versions")
|
|
2894
|
+
}
|
|
2895
|
+
),
|
|
2896
|
+
icon: Thunderbolt
|
|
2897
|
+
}
|
|
2898
|
+
),
|
|
2899
|
+
docsUrl && /* @__PURE__ */ jsx(Link, { href: docsUrl, target: "_blank", className: spacing({ mt: 1 }), children: i18n$1("label_info-documentation") })
|
|
2900
|
+
] });
|
|
2901
|
+
};
|
|
2902
|
+
const downloadObjectAsJSON = ({
|
|
2903
|
+
obj,
|
|
2904
|
+
name,
|
|
2905
|
+
dialogRef
|
|
2906
|
+
}) => {
|
|
2907
|
+
const jsonString = JSON.stringify(obj);
|
|
2908
|
+
const blob = new Blob([jsonString], { type: "application/json" });
|
|
2909
|
+
const url = URL.createObjectURL(blob);
|
|
2910
|
+
const a = document.createElement("a");
|
|
2911
|
+
a.href = url;
|
|
2912
|
+
a.download = `${name}.json`;
|
|
2913
|
+
dialogRef.current?.appendChild(a);
|
|
2914
|
+
a.click();
|
|
2915
|
+
dialogRef.current?.removeChild(a);
|
|
2916
|
+
URL.revokeObjectURL(url);
|
|
2917
|
+
};
|
|
2918
|
+
const b = block("export-workbook-file-dialog");
|
|
2919
|
+
const i18n = I18n.keyset("component.workbook-export-dialog.view");
|
|
2920
|
+
const notificationsI18n = I18n.keyset("component.workbook-export.notifications");
|
|
2921
|
+
const GET_EXPORT_PROGRESS_INTERVAL = 1e3;
|
|
2922
|
+
const DIALOG_EXPORT_WORKBOOK = /* @__PURE__ */ Symbol("DIALOG_EXPORT_WORKBOOK");
|
|
2923
|
+
const getApplyButtonText = (view, status) => {
|
|
2924
|
+
if (view === "info" || status === "loading" || status === "pending") {
|
|
2925
|
+
return i18n("button_begin-export");
|
|
2926
|
+
}
|
|
2927
|
+
switch (status) {
|
|
2928
|
+
case "success":
|
|
2929
|
+
return i18n("button_download");
|
|
2930
|
+
case "fatal-error":
|
|
2931
|
+
case "notification-error":
|
|
2932
|
+
default:
|
|
2933
|
+
return void 0;
|
|
2934
|
+
}
|
|
2935
|
+
};
|
|
2936
|
+
const getCaption = (view, status) => {
|
|
2937
|
+
if (view === "info" || status === "loading" || status === "pending") {
|
|
2938
|
+
return i18n("title_export");
|
|
2939
|
+
}
|
|
2940
|
+
switch (status) {
|
|
2941
|
+
case "fatal-error":
|
|
2942
|
+
case "notification-error":
|
|
2943
|
+
return i18n("title_fatal-error");
|
|
2944
|
+
case "success":
|
|
2945
|
+
return i18n("title_export-success");
|
|
2946
|
+
default:
|
|
2947
|
+
return i18n("title_export");
|
|
2948
|
+
}
|
|
2949
|
+
};
|
|
2950
|
+
const ExportWorkbookDialog = ({
|
|
2951
|
+
workbookId,
|
|
2952
|
+
workbookTitle,
|
|
2953
|
+
open,
|
|
2954
|
+
onClose
|
|
2955
|
+
}) => {
|
|
2956
|
+
const dispatch = useDispatch();
|
|
2957
|
+
const [view, setView] = React__default.useState("info");
|
|
2958
|
+
const status = useSelector(selectExportWorkbookStatus);
|
|
2959
|
+
const dialogRef = React__default.useRef(null);
|
|
2960
|
+
const error = useSelector(selectExportError);
|
|
2961
|
+
const isResultLoading = useSelector(selectGetExportResultLoading);
|
|
2962
|
+
const exportData = useSelector(selectExportData);
|
|
2963
|
+
const progressData = useSelector(selectGetExportProgressData);
|
|
2964
|
+
const notificationEntriesMap = useSelector(selectGetExportProgressEntriesMap);
|
|
2965
|
+
const progress = progressData?.progress;
|
|
2966
|
+
const notifications = progressData?.notifications;
|
|
2967
|
+
const exportProgressTimeout = React__default.useRef(null);
|
|
2968
|
+
const isMounted = useMountedState();
|
|
2969
|
+
const { notificationDetails, preparedNotifications, handleShowDetails } = useNotificationsAndDetails({
|
|
2970
|
+
notifications,
|
|
2971
|
+
exportId: exportData?.exportId
|
|
2972
|
+
});
|
|
2973
|
+
const isExportLoading = status === "loading" || status === "pending";
|
|
2974
|
+
const isButtonLoading = isExportLoading || isResultLoading;
|
|
2975
|
+
React__default.useEffect(() => {
|
|
2976
|
+
if (open) {
|
|
2977
|
+
dispatch(resetExportWorkbook());
|
|
2978
|
+
}
|
|
2979
|
+
}, [dispatch, open]);
|
|
2980
|
+
const pollExportStatus = React__default.useCallback(
|
|
2981
|
+
async (currentExportId) => {
|
|
2982
|
+
if (exportProgressTimeout.current) {
|
|
2983
|
+
clearTimeout(exportProgressTimeout.current);
|
|
2984
|
+
}
|
|
2985
|
+
if (!isMounted()) {
|
|
2986
|
+
return;
|
|
2987
|
+
}
|
|
2988
|
+
const startTime = Date.now();
|
|
2989
|
+
const result = await dispatch(getExportProgress({ exportId: currentExportId }));
|
|
2990
|
+
const elapsedTime = Date.now() - startTime;
|
|
2991
|
+
if (result && result.status === "pending") {
|
|
2992
|
+
const nextPollDelay = Math.max(0, GET_EXPORT_PROGRESS_INTERVAL - elapsedTime);
|
|
2993
|
+
exportProgressTimeout.current = setTimeout(
|
|
2994
|
+
() => pollExportStatus(currentExportId),
|
|
2995
|
+
nextPollDelay
|
|
2996
|
+
);
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
2999
|
+
[dispatch, isMounted]
|
|
3000
|
+
);
|
|
3001
|
+
const handleCancel = React__default.useCallback(() => {
|
|
3002
|
+
if (isExportLoading && exportData?.exportId) {
|
|
3003
|
+
dispatch(
|
|
3004
|
+
openDialog({
|
|
3005
|
+
id: DIALOG_DEFAULT,
|
|
3006
|
+
props: {
|
|
3007
|
+
open: true,
|
|
3008
|
+
onApply: () => {
|
|
3009
|
+
dispatch(cancelExportProcess(exportData.exportId));
|
|
3010
|
+
dispatch(closeDialog());
|
|
3011
|
+
onClose();
|
|
3012
|
+
},
|
|
3013
|
+
onCancel: () => {
|
|
3014
|
+
dispatch(closeDialog());
|
|
3015
|
+
},
|
|
3016
|
+
message: i18n("label_cancel-export-description"),
|
|
3017
|
+
textButtonApply: i18n("button_cancel-export"),
|
|
3018
|
+
textButtonCancel: i18n("button_back-to-export"),
|
|
3019
|
+
propsButtonApply: { view: "outlined-danger" },
|
|
3020
|
+
caption: i18n("title_cancel-export"),
|
|
3021
|
+
className: b("import-cancel-dialog")
|
|
3022
|
+
}
|
|
3023
|
+
})
|
|
3024
|
+
);
|
|
3025
|
+
return;
|
|
3026
|
+
}
|
|
3027
|
+
if (status === "success" && exportData?.exportId) {
|
|
3028
|
+
dispatch(
|
|
3029
|
+
openDialog({
|
|
3030
|
+
id: DIALOG_DEFAULT,
|
|
3031
|
+
props: {
|
|
3032
|
+
open: true,
|
|
3033
|
+
onApply: () => {
|
|
3034
|
+
dispatch(closeDialog());
|
|
3035
|
+
onClose();
|
|
3036
|
+
},
|
|
3037
|
+
onCancel: () => {
|
|
3038
|
+
dispatch(closeDialog());
|
|
3039
|
+
},
|
|
3040
|
+
message: i18n("label_close-export-description"),
|
|
3041
|
+
textButtonApply: i18n("button_close-export"),
|
|
3042
|
+
textButtonCancel: i18n("button_back-to-export"),
|
|
3043
|
+
propsButtonApply: { view: "outlined-danger" },
|
|
3044
|
+
caption: i18n("title_close-export"),
|
|
3045
|
+
className: b("import-cancel-dialog")
|
|
3046
|
+
}
|
|
3047
|
+
})
|
|
3048
|
+
);
|
|
3049
|
+
return;
|
|
3050
|
+
}
|
|
3051
|
+
onClose();
|
|
3052
|
+
}, [dispatch, exportData?.exportId, isExportLoading, onClose, status]);
|
|
3053
|
+
const startExport = React__default.useCallback(async () => {
|
|
3054
|
+
const exportResult = await dispatch(exportWorkbook({ workbookId }));
|
|
3055
|
+
if (exportResult && exportResult.exportId) {
|
|
3056
|
+
setView("export");
|
|
3057
|
+
pollExportStatus(exportResult.exportId);
|
|
3058
|
+
}
|
|
3059
|
+
}, [dispatch, pollExportStatus, workbookId]);
|
|
3060
|
+
const getExportFile = React__default.useCallback(async () => {
|
|
3061
|
+
if (exportData?.exportId) {
|
|
3062
|
+
const result = await dispatch(getExportResult({ exportId: exportData?.exportId }));
|
|
3063
|
+
if (result && result.status === "success") {
|
|
3064
|
+
downloadObjectAsJSON({ obj: result.data, name: workbookTitle, dialogRef });
|
|
3065
|
+
onClose();
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
}, [dispatch, exportData?.exportId, onClose, workbookTitle]);
|
|
3069
|
+
const handleApply = React__default.useCallback(async () => {
|
|
3070
|
+
if (view === "info") {
|
|
3071
|
+
startExport();
|
|
3072
|
+
return;
|
|
3073
|
+
}
|
|
3074
|
+
if (status === "success") {
|
|
3075
|
+
getExportFile();
|
|
3076
|
+
}
|
|
3077
|
+
}, [getExportFile, startExport, status, view]);
|
|
3078
|
+
const handleRetry = React__default.useCallback(() => {
|
|
3079
|
+
if (exportData?.exportId) {
|
|
3080
|
+
pollExportStatus(exportData.exportId);
|
|
3081
|
+
}
|
|
3082
|
+
}, [exportData?.exportId, pollExportStatus]);
|
|
3083
|
+
const cancelButtonText = view === "info" || isExportLoading ? i18n("button_cancel") : i18n("button_close");
|
|
3084
|
+
const docsUrl = formDocsEndpointDL("/workbooks-collections/export-import-notifications");
|
|
3085
|
+
const renderBody = () => {
|
|
3086
|
+
if (view === "info") {
|
|
3087
|
+
return /* @__PURE__ */ jsx(ExportInfo, {});
|
|
3088
|
+
}
|
|
3089
|
+
switch (status) {
|
|
3090
|
+
case "pending":
|
|
3091
|
+
return /* @__PURE__ */ jsx(ProgressBar, { size: "s", className: b("progress"), value: progress ?? 0 });
|
|
3092
|
+
case "loading":
|
|
3093
|
+
return /* @__PURE__ */ jsx(Flex, { alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ jsx(Loader, { size: "m" }) });
|
|
3094
|
+
case "success":
|
|
3095
|
+
case "notification-error":
|
|
3096
|
+
if (!preparedNotifications.length && status === "success") {
|
|
3097
|
+
return /* @__PURE__ */ jsx(
|
|
3098
|
+
EntriesNotificationCut,
|
|
3099
|
+
{
|
|
3100
|
+
title: i18n("label_success-export"),
|
|
3101
|
+
level: "success"
|
|
3102
|
+
}
|
|
3103
|
+
);
|
|
3104
|
+
}
|
|
3105
|
+
return /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
3106
|
+
/* @__PURE__ */ jsx(Flex, { direction: "column", gap: 4, className: b("notifications"), children: preparedNotifications.map(({ code, message, level, entries }) => /* @__PURE__ */ jsx(
|
|
3107
|
+
EntriesNotificationCut,
|
|
3108
|
+
{
|
|
3109
|
+
title: message,
|
|
3110
|
+
level,
|
|
3111
|
+
entries,
|
|
3112
|
+
code,
|
|
3113
|
+
entriesMap: notificationEntriesMap
|
|
3114
|
+
},
|
|
3115
|
+
code
|
|
3116
|
+
)) }),
|
|
3117
|
+
docsUrl && /* @__PURE__ */ jsx(Link, { target: "_blank", href: docsUrl, className: spacing({ mt: 4 }), children: notificationsI18n("label_info-documentation-notifications") })
|
|
3118
|
+
] });
|
|
3119
|
+
case "fatal-error":
|
|
3120
|
+
default: {
|
|
3121
|
+
const handleRetryFn = exportData?.exportId ? handleRetry : void 0;
|
|
3122
|
+
return /* @__PURE__ */ jsx(
|
|
3123
|
+
ViewError,
|
|
3124
|
+
{
|
|
3125
|
+
showDebugInfo: false,
|
|
3126
|
+
containerClassName: b("error-content"),
|
|
3127
|
+
error,
|
|
3128
|
+
size: "s",
|
|
3129
|
+
exportId: exportData?.exportId,
|
|
3130
|
+
retry: handleRetryFn
|
|
3131
|
+
}
|
|
3132
|
+
);
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
};
|
|
3136
|
+
return /* @__PURE__ */ jsxs(Dialog, { className: b(), open, onClose: handleCancel, children: [
|
|
3137
|
+
/* @__PURE__ */ jsx(Dialog.Header, { caption: getCaption(view, status) }),
|
|
3138
|
+
/* @__PURE__ */ jsx(Dialog.Body, { children: /* @__PURE__ */ jsx(Flex, { direction: "column", ref: dialogRef, children: renderBody() }) }),
|
|
3139
|
+
/* @__PURE__ */ jsx(
|
|
3140
|
+
Dialog.Footer,
|
|
3141
|
+
{
|
|
3142
|
+
textButtonApply: getApplyButtonText(view, status),
|
|
3143
|
+
textButtonCancel: cancelButtonText,
|
|
3144
|
+
onClickButtonApply: handleApply,
|
|
3145
|
+
onClickButtonCancel: handleCancel,
|
|
3146
|
+
propsButtonApply: { loading: isButtonLoading },
|
|
3147
|
+
propsButtonCancel: { disabled: isResultLoading },
|
|
3148
|
+
children: notificationDetails && /* @__PURE__ */ jsx(Button, { size: "l", view: "outlined", onClick: handleShowDetails, children: notificationsI18n("button_show-details") })
|
|
3149
|
+
}
|
|
3150
|
+
)
|
|
3151
|
+
] });
|
|
3152
|
+
};
|
|
3153
|
+
DialogManager.registerDialog(DIALOG_EXPORT_WORKBOOK, ExportWorkbookDialog);
|
|
3154
|
+
export {
|
|
3155
|
+
DELETE_COLLECTIONS_SUCCESS as $,
|
|
3156
|
+
RESET_EXPORT_PROGRESS as A,
|
|
3157
|
+
GET_EXPORT_PROGRESS_FAILED as B,
|
|
3158
|
+
GET_EXPORT_PROGRESS_SUCCESS as C,
|
|
3159
|
+
DIALOG_COPY_ENTRIES as D,
|
|
3160
|
+
GET_EXPORT_PROGRESS_LOADING as E,
|
|
3161
|
+
RESET_IMPORT_PROGRESS as F,
|
|
3162
|
+
GET_EXPORT_RESULT_FAILED as G,
|
|
3163
|
+
GET_IMPORT_PROGRESS_FAILED as H,
|
|
3164
|
+
GET_IMPORT_PROGRESS_SUCCESS as I,
|
|
3165
|
+
GET_IMPORT_PROGRESS_LOADING as J,
|
|
3166
|
+
RESET_IMPORT_WORKBOOK as K,
|
|
3167
|
+
IMPORT_WORKBOOK_FAILED as L,
|
|
3168
|
+
IMPORT_WORKBOOK_SUCCESS as M,
|
|
3169
|
+
IMPORT_WORKBOOK_LOADING as N,
|
|
3170
|
+
RESET_EXPORT_WORKBOOK as O,
|
|
3171
|
+
EXPORT_WORKBOOK_FAILED as P,
|
|
3172
|
+
EXPORT_WORKBOOK_SUCCESS as Q,
|
|
3173
|
+
RESET_EXPORT_RESULT as R,
|
|
3174
|
+
StructureItemSelect as S,
|
|
3175
|
+
EXPORT_WORKBOOK_LOADING as T,
|
|
3176
|
+
DELETE_WORKBOOKS_FAILED as U,
|
|
3177
|
+
DELETE_WORKBOOKS_SUCCESS as V,
|
|
3178
|
+
DELETE_WORKBOOKS_LOADING as W,
|
|
3179
|
+
DELETE_WORKBOOK_FAILED as X,
|
|
3180
|
+
DELETE_WORKBOOK_SUCCESS as Y,
|
|
3181
|
+
DELETE_WORKBOOK_LOADING as Z,
|
|
3182
|
+
DELETE_COLLECTIONS_FAILED as _,
|
|
3183
|
+
selectBreadcrumbs as a,
|
|
3184
|
+
DELETE_COLLECTIONS_LOADING as a0,
|
|
3185
|
+
DELETE_COLLECTION_FAILED as a1,
|
|
3186
|
+
DELETE_COLLECTION_SUCCESS as a2,
|
|
3187
|
+
DELETE_COLLECTION_LOADING as a3,
|
|
3188
|
+
UPDATE_COLLECTION_FAILED as a4,
|
|
3189
|
+
UPDATE_COLLECTION_SUCCESS as a5,
|
|
3190
|
+
UPDATE_COLLECTION_LOADING as a6,
|
|
3191
|
+
UPDATE_WORKBOOK_FAILED as a7,
|
|
3192
|
+
UPDATE_WORKBOOK_SUCCESS as a8,
|
|
3193
|
+
UPDATE_WORKBOOK_LOADING as a9,
|
|
3194
|
+
COPY_TEMPLATE_LOADING as aA,
|
|
3195
|
+
GET_STRUCTURE_ITEMS_FAILED as aB,
|
|
3196
|
+
GET_STRUCTURE_ITEMS_SUCCESS as aC,
|
|
3197
|
+
GET_STRUCTURE_ITEMS_LOADING as aD,
|
|
3198
|
+
RESET_STRUCTURE_ITEMS as aE,
|
|
3199
|
+
GET_COLLECTION_FAILED as aF,
|
|
3200
|
+
GET_COLLECTION_SUCCESS as aG,
|
|
3201
|
+
GET_COLLECTION_LOADING as aH,
|
|
3202
|
+
GET_COLLECTION_BREADCRUMBS_FAILED as aI,
|
|
3203
|
+
GET_COLLECTION_BREADCRUMBS_SUCCESS as aJ,
|
|
3204
|
+
GET_COLLECTION_BREADCRUMBS_LOADING as aK,
|
|
3205
|
+
RESET_COLLECTION_BREADCRUMBS as aL,
|
|
3206
|
+
GET_ROOT_COLLECTION_PERMISSIONS_FAILED as aM,
|
|
3207
|
+
GET_ROOT_COLLECTION_PERMISSIONS_SUCCESS as aN,
|
|
3208
|
+
GET_ROOT_COLLECTION_PERMISSIONS_LOADING as aO,
|
|
3209
|
+
RESET_STATE as aP,
|
|
3210
|
+
DIALOG_CREATE_WORKBOOK as aQ,
|
|
3211
|
+
COPY_WORKBOOK_FAILED as aa,
|
|
3212
|
+
COPY_WORKBOOK_SUCCESS as ab,
|
|
3213
|
+
COPY_WORKBOOK_LOADING as ac,
|
|
3214
|
+
MOVE_SHARED_ENTRY_FAILED as ad,
|
|
3215
|
+
MOVE_SHARED_ENTRY_SUCCESS as ae,
|
|
3216
|
+
MOVE_SHARED_ENTRY_LOADING as af,
|
|
3217
|
+
MOVE_WORKBOOKS_FAILED as ag,
|
|
3218
|
+
MOVE_WORKBOOKS_SUCCESS as ah,
|
|
3219
|
+
MOVE_WORKBOOKS_LOADING as ai,
|
|
3220
|
+
MOVE_WORKBOOK_FAILED as aj,
|
|
3221
|
+
MOVE_WORKBOOK_SUCCESS as ak,
|
|
3222
|
+
MOVE_WORKBOOK_LOADING as al,
|
|
3223
|
+
MOVE_COLLECTIONS_FAILED as am,
|
|
3224
|
+
MOVE_COLLECTIONS_SUCCESS as an,
|
|
3225
|
+
MOVE_COLLECTIONS_LOADING as ao,
|
|
3226
|
+
MOVE_COLLECTION_FAILED as ap,
|
|
3227
|
+
MOVE_COLLECTION_SUCCESS as aq,
|
|
3228
|
+
MOVE_COLLECTION_LOADING as ar,
|
|
3229
|
+
CREATE_WORKBOOK_FAILED as as,
|
|
3230
|
+
CREATE_WORKBOOK_SUCCESS as at,
|
|
3231
|
+
CREATE_WORKBOOK_LOADING as au,
|
|
3232
|
+
CREATE_COLLECTION_FAILED as av,
|
|
3233
|
+
CREATE_COLLECTION_SUCCESS as aw,
|
|
3234
|
+
CREATE_COLLECTION_LOADING as ax,
|
|
3235
|
+
COPY_TEMPLATE_FAILED as ay,
|
|
3236
|
+
COPY_TEMPLATE_SUCCESS as az,
|
|
3237
|
+
selectStructureItems as b,
|
|
3238
|
+
selectStructureItemsIsLoading as c,
|
|
3239
|
+
selectStructureItemsError as d,
|
|
3240
|
+
selectNextPageToken as e,
|
|
3241
|
+
selectIsLoadingTargetEntry as f,
|
|
3242
|
+
selectIsLoadingRelationsGraph as g,
|
|
3243
|
+
selectIsLoadingRelations as h,
|
|
3244
|
+
iconInfo as i,
|
|
3245
|
+
selectTargetEntry as j,
|
|
3246
|
+
selectRelationsGraph as k,
|
|
3247
|
+
selectRelations as l,
|
|
3248
|
+
selectTargetEntryError as m,
|
|
3249
|
+
selectRelationsGraphError as n,
|
|
3250
|
+
selectRelationsError as o,
|
|
3251
|
+
DIALOG_MIGRATE_ENTRY_TO_WORKBOOK as p,
|
|
3252
|
+
DIALOG_MOVE_WORKBOOK as q,
|
|
3253
|
+
DIALOG_COPY_WORKBOOK as r,
|
|
3254
|
+
selectBreadcrumbsIsLoading as s,
|
|
3255
|
+
DIALOG_EXPORT_WORKBOOK as t,
|
|
3256
|
+
useCollectionStructureDialogState as u,
|
|
3257
|
+
DIALOG_DELETE_WORKBOOK as v,
|
|
3258
|
+
DIALOG_EDIT_WORKBOOK as w,
|
|
3259
|
+
DIALOG_CREATE_ENTRY_IN_WORKBOOK as x,
|
|
3260
|
+
GET_EXPORT_RESULT_SUCCESS as y,
|
|
3261
|
+
GET_EXPORT_RESULT_LOADING as z
|
|
3262
|
+
};
|