dbeaver/pro#5417 feat: table statistics (#3383)

This commit is contained in:
Alexey
2025-04-16 22:50:16 +08:00
committed by GitHub
parent 63f31d0a08
commit 9dc0863e3a
98 changed files with 1393 additions and 93 deletions
@@ -0,0 +1 @@
# @dbeaver/js-helpers
@@ -0,0 +1,33 @@
{
"name": "@dbeaver/js-helpers",
"type": "module",
"sideEffects": [],
"exports": {
".": "./lib/index.js",
"./*": "./lib/*.js"
},
"scripts": {
"clear": "rimraf lib"
},
"files": [
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md",
"lib",
"!lib/**/*.d.ts.map",
"!lib/**/*.test.js",
"!lib/**/*.test.d.ts",
"!lib/**/*.test.d.ts.map",
"!lib/**/*.test.js.map",
"!lib/tests",
"!.tsbuildinfo"
],
"packageManager": "yarn@4.6.0",
"devDependencies": {
"@dbeaver/tsconfig": "workspace:^",
"rimraf": "^6",
"typescript": "^5",
"vitest": "^3"
}
}
@@ -0,0 +1,2 @@
export * from './isDefined.js';
export * from './isNotNullDefined.js';
@@ -0,0 +1,16 @@
{
"extends": "@dbeaver/tsconfig/tsconfig.json",
"compilerOptions": {
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"rootDirs": [
"src"
],
"outDir": "lib",
"incremental": true,
"composite": true
},
"include": [
"src"
]
}
+1
View File
@@ -7,6 +7,7 @@
],
"devDependencies": {
"@dbeaver/prettier-config": "workspace:^",
"@wroud/ts-template": "^0",
"prettier": "^3.5.1",
"typescript": "^5.7.3"
}
File diff suppressed because it is too large Load Diff
@@ -31,6 +31,7 @@
"@cloudbeaver/core-sdk": "workspace:*",
"@cloudbeaver/core-storage": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"tslib": "^2"
},
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -13,7 +13,8 @@ import { Executor, type IExecutor } from '@cloudbeaver/core-executor';
import { EAdminPermission, PermissionsService, ServerConfigResource, SessionPermissionsResource } from '@cloudbeaver/core-root';
import { type RouterState, ScreenService } from '@cloudbeaver/core-routing';
import { StorageService } from '@cloudbeaver/core-storage';
import { type DefaultValueGetter, GlobalConstants, isNotNullDefined, MetadataMap, schema } from '@cloudbeaver/core-utils';
import { type DefaultValueGetter, GlobalConstants, MetadataMap, schema } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { AdministrationItemService } from '../AdministrationItem/AdministrationItemService.js';
import type { IAdministrationItemRoute } from '../AdministrationItem/IAdministrationItemRoute.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-cli"
},
@@ -32,6 +32,7 @@
"@cloudbeaver/core-settings": "workspace:*",
"@cloudbeaver/core-storage": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"tslib": "^2"
},
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@ import {
} from '@cloudbeaver/core-resource';
import { ServerConfigResource } from '@cloudbeaver/core-root';
import { type AuthProviderConfigurationInfoFragment, type AuthProviderInfoFragment, GraphQLService } from '@cloudbeaver/core-sdk';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { AUTH_PROVIDER_LOCAL_ID } from './AUTH_PROVIDER_LOCAL_ID.js';
import { AuthConfigurationsResource } from './AuthConfigurationsResource.js';
@@ -11,6 +11,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-cli"
},
+1
View File
@@ -31,6 +31,7 @@
"@cloudbeaver/core-sdk": "workspace:*",
"@cloudbeaver/core-theming": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"@dbeaver/ui-kit": "workspace:^",
"go-split": "^3",
"minisearch": "^7",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,7 @@
import { observer } from 'mobx-react-lite';
import { type HTMLAttributes, useState } from 'react';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { ActionIconButton } from '../ActionIconButton.js';
import { Container } from '../Containers/Container.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,7 @@
import { observer } from 'mobx-react-lite';
import React, { forwardRef, useCallback, useLayoutEffect, useRef, useState } from 'react';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { filterLayoutFakeProps, getLayoutProps } from '../../Containers/filterLayoutFakeProps.js';
import type { ILayoutSizeProps } from '../../Containers/ILayoutSizeProps.js';
@@ -1,11 +1,12 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { isNotNullDefined, isObject } from '@cloudbeaver/core-utils';
import { isObject } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
export function isControlPresented(name: string | number | symbol | undefined, state: any, defaultValue?: any): boolean {
if (!isObject(state) || !isNotNullDefined(state) || !isNotNullDefined(name)) {
@@ -1,11 +1,12 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { isNotNullDefined, isObject } from '@cloudbeaver/core-utils';
import { isObject } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { useCombinedHandler } from '../useCombinedHandler.js';
import type { IFormStateControl } from './IFormStateControl.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,8 @@
import { action, computed, observable } from 'mobx';
import { type RefObject, useEffect, useLayoutEffect, useMemo, useRef } from 'react';
import { debounce, isNotNullDefined } from '@cloudbeaver/core-utils';
import { debounce } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { IMenuState } from '../Menu/MenuStateContext.js';
import type { IContextMenuPositionCoords } from '../Menu/useContextMenuPosition.js';
@@ -1,13 +1,13 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { observer } from 'mobx-react-lite';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { useAutoLoad } from '../Loader/useAutoLoad.js';
import type { PlaceholderContainer, PlaceholderElement } from './PlaceholderContainer.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,7 @@
import { observer } from 'mobx-react-lite';
import { useCallback, useLayoutEffect, useRef, useState } from 'react';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { ShadowInput } from '../FormControls/ShadowInput.js';
import { Icon } from '../Icon.js';
+2 -2
View File
@@ -1,13 +1,13 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { action, computed, observable } from 'mobx';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { useFuzzySearch } from './useFuzzySearch.js';
import { useObservableRef } from './useObservableRef.js';
@@ -10,6 +10,9 @@
{
"path": "../../../common-react/@dbeaver/ui-kit"
},
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -35,6 +35,7 @@
"@cloudbeaver/core-sdk": "workspace:*",
"@cloudbeaver/core-settings": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"react": "^19",
"tslib": "^2"
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -10,7 +10,8 @@ import { toJS } from 'mobx';
import { injectable } from '@cloudbeaver/core-di';
import { CachedMapResource, isResourceAlias, type ResourceKey, resourceKeyList, ResourceKeyList, ResourceKeyUtils } from '@cloudbeaver/core-resource';
import { GraphQLService, type SecretInfo } from '@cloudbeaver/core-sdk';
import { isDefined, schemaValidationError } from '@cloudbeaver/core-utils';
import { schemaValidationError } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { CONNECTION_INFO_PARAM_SCHEMA, type IConnectionInfoParams } from './CONNECTION_INFO_PARAM_SCHEMA.js';
import {
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -33,6 +33,7 @@
"@cloudbeaver/core-settings": "workspace:*",
"@cloudbeaver/core-ui": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"tslib": "^2"
},
@@ -30,7 +30,8 @@ import {
} from '@cloudbeaver/core-resource';
import { SessionDataResource } from '@cloudbeaver/core-root';
import { DetailsError, type NavNodeChildrenQuery as fake, GraphQLService } from '@cloudbeaver/core-sdk';
import { flat, getPathName, getPathParent, isDefined, isUndefined, MetadataMap } from '@cloudbeaver/core-utils';
import { flat, getPathName, getPathParent, isUndefined, MetadataMap } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { NavTreeSettingsService } from '../NavTreeSettingsService.js';
import type { NavNode } from './EntityTypes.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -25,6 +25,7 @@
"@cloudbeaver/core-executor": "workspace:*",
"@cloudbeaver/core-localization": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"tslib": "^2"
},
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,7 @@
import { computed, makeObservable, observable } from 'mobx';
import { type ISyncExecutor, SyncExecutor } from '@cloudbeaver/core-executor';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { ISettingsResolverSource } from './ISettingsResolverSource.js';
import type { ISettingChangeData, ISettingsSource } from './ISettingsSource.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -8,7 +8,7 @@
import { action, makeObservable, observable } from 'mobx';
import { type ISyncExecutor, SyncExecutor } from '@cloudbeaver/core-executor';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { ISettingChangeData, ISettingsSource } from './ISettingsSource.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-cli"
},
+1
View File
@@ -29,6 +29,7 @@
"@cloudbeaver/core-routing": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@cloudbeaver/core-view": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -11,7 +11,8 @@ import { DataContext, dataContextAddDIProvider, type DataContextGetter, type IDa
import type { IServiceProvider } from '@cloudbeaver/core-di';
import type { ENotificationType } from '@cloudbeaver/core-events';
import { Executor, ExecutorInterrupter, type IExecutionContext, type IExecutionContextProvider, type IExecutor } from '@cloudbeaver/core-executor';
import { isArraysEqual, isNotNullDefined, MetadataMap, uuid } from '@cloudbeaver/core-utils';
import { isArraysEqual, MetadataMap, uuid } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { DATA_CONTEXT_LOADABLE_STATE, loadableStateContext } from '@cloudbeaver/core-view';
import { DATA_CONTEXT_FORM_STATE } from './DATA_CONTEXT_FORM_STATE.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -13,7 +13,8 @@ import { useTabState } from 'reakit';
import { useAutoLoad, useExecutor, useObjectRef, useObservableRef } from '@cloudbeaver/core-blocks';
import { useDataContext } from '@cloudbeaver/core-data-context';
import { Executor, ExecutorInterrupter } from '@cloudbeaver/core-executor';
import { isDefined, isNotNullDefined, MetadataMap, type MetadataValueGetter, schema } from '@cloudbeaver/core-utils';
import { MetadataMap, type MetadataValueGetter, schema } from '@cloudbeaver/core-utils';
import { isDefined, isNotNullDefined } from '@dbeaver/js-helpers';
import type { ITabData, ITabInfo, ITabsContainer } from './TabsContainer/ITabsContainer.js';
import { type ITabsContext, type TabDirection, TabsContext } from './TabsContext.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@ import { useContext } from 'react';
import { useObjectRef } from '@cloudbeaver/core-blocks';
import { useService } from '@cloudbeaver/core-di';
import { NotificationService } from '@cloudbeaver/core-events';
import { isDefined, isNotNullDefined } from '@cloudbeaver/core-utils';
import { isDefined, isNotNullDefined } from '@dbeaver/js-helpers';
import { TabsContext } from './TabsContext.js';
import { TabsValidationContext } from './TabsValidationContext.js';
+3
View File
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
-2
View File
@@ -24,7 +24,6 @@ export * from './cacheValue.js';
export * from './combineITerableIterators.js';
export * from './copyToClipboard.js';
export * from './declensionOfNumber.js';
export * from './isNotNullDefined.js';
export * from './flat.js';
export * from './getMIME.js';
export * from './getOS.js';
@@ -66,7 +65,6 @@ export * from './downloadFromURL.js';
export * from './getTextFileReadingProcess.js';
export * from './getTextBetween.js';
export * from './timestampToDate.js';
export * from './isDefined.js';
export * from './createPath.js';
export * from './debounce.js';
export * from './schema.js';
+1
View File
@@ -25,6 +25,7 @@
"@cloudbeaver/core-extensions": "workspace:*",
"@cloudbeaver/core-localization": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,13 +1,13 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import type { IDataContextProvider } from '@cloudbeaver/core-data-context';
import { injectable } from '@cloudbeaver/core-di';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { DATA_CONTEXT_MENU } from '../Menu/DATA_CONTEXT_MENU.js';
import { ActionItem } from './ActionItem.js';
@@ -1,13 +1,14 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import type { IDataContextProvider } from '@cloudbeaver/core-data-context';
import { injectable } from '@cloudbeaver/core-di';
import { flat, type ILoadableState, isNotNullDefined } from '@cloudbeaver/core-utils';
import { flat, type ILoadableState } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { ActionService } from '../Action/ActionService.js';
import { isAction } from '../Action/createAction.js';
+3
View File
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -38,6 +38,7 @@
"@cloudbeaver/core-view": "workspace:*",
"@cloudbeaver/plugin-settings-menu": "workspace:*",
"@cloudbeaver/plugin-top-app-bar": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@ import { Combobox, ConfirmationDialog, Group, GroupTitle, type ITag, s, Tag, Tag
import { DBDriverResource } from '@cloudbeaver/core-connections';
import { CachedMapAllKey, resourceKeyList } from '@cloudbeaver/core-resource';
import type { ServerConfigInput } from '@cloudbeaver/core-sdk';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import style from './ServerConfigurationDriversForm.module.css';
import { useService } from '@cloudbeaver/core-di';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-administration"
},
@@ -38,6 +38,7 @@
"@cloudbeaver/core-view": "workspace:*",
"@cloudbeaver/plugin-administration": "workspace:*",
"@cloudbeaver/plugin-authentication": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"@dbeaver/ui-kit": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@ import {
import { FormContext, Group, GroupTitle, type PlaceholderComponent, Switch, useExecutor, useResource, useTranslate } from '@cloudbeaver/core-blocks';
import { useService } from '@cloudbeaver/core-di';
import { CachedMapAllKey } from '@cloudbeaver/core-resource';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { IConfigurationPlaceholderProps } from '@cloudbeaver/plugin-administration';
import { ServerConfigurationAdminForm } from './ServerConfigurationAdminForm.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ import { useService } from '@cloudbeaver/core-di';
import { isGlobalProject, ProjectInfoResource } from '@cloudbeaver/core-projects';
import { CachedMapAllKey, resourceKeyList } from '@cloudbeaver/core-resource';
import { type TabContainerPanelComponent, useTab, useTabState } from '@cloudbeaver/core-ui';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { UserFormProps } from '../AdministrationUserFormService.js';
import type { UserFormConnectionAccessPart } from './UserFormConnectionAccessPart.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,8 @@ import type { AdminUser, AuthRolesResource, UserMetaParameter, UsersMetaParamete
import type { IExecutionContextProvider } from '@cloudbeaver/core-executor';
import type { ServerConfigResource } from '@cloudbeaver/core-root';
import { FormMode, FormPart, formValidationContext, type IFormState } from '@cloudbeaver/core-ui';
import { isArraysEqual, isDefined, isObjectsEqual, isValuesEqual } from '@cloudbeaver/core-utils';
import { isArraysEqual, isObjectsEqual, isValuesEqual } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { IUserFormState } from '../AdministrationUserFormService.js';
import type { IUserFormInfoState } from './IUserFormInfoState.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@ import { compareTeams, TeamsResource } from '@cloudbeaver/core-authentication';
import { FieldCheckbox, Group, GroupTitle, useResource, useTranslate } from '@cloudbeaver/core-blocks';
import { CachedMapAllKey } from '@cloudbeaver/core-resource';
import { ServerConfigResource } from '@cloudbeaver/core-root';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { UserFormProps } from '../AdministrationUserFormService.js';
import type { UserFormInfoPart } from './UserFormInfoPart.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -13,7 +13,8 @@ import { useService } from '@cloudbeaver/core-di';
import { CommonDialogService, DialogueStateResult } from '@cloudbeaver/core-dialogs';
import { NotificationService } from '@cloudbeaver/core-events';
import { resourceKeyList } from '@cloudbeaver/core-resource';
import { type ILoadableState, isArraysEqual, isDefined } from '@cloudbeaver/core-utils';
import { type ILoadableState, isArraysEqual } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { IUserFilters } from './Filters/useUsersTableFilters.js';
@@ -10,6 +10,9 @@
{
"path": "../../../common-react/@dbeaver/ui-kit"
},
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-administration"
},
@@ -36,6 +36,7 @@
"@cloudbeaver/core-ui": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@cloudbeaver/plugin-connections": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@ import { type ConnectionInfoOrigin, ConnectionInfoOriginResource, DBDriverResour
import { useService } from '@cloudbeaver/core-di';
import { isGlobalProject, isSharedProject, ProjectsService } from '@cloudbeaver/core-projects';
import { CachedMapAllKey } from '@cloudbeaver/core-resource';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { Connection } from './Connection.js';
import { type IConnectionsTableState } from './useConnectionsTable.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -23,7 +23,8 @@ import { NotificationService } from '@cloudbeaver/core-events';
import { LocalizationService } from '@cloudbeaver/core-localization';
import { isGlobalProject, isSharedProject, ProjectInfoResource, projectInfoSortByName, ProjectsService } from '@cloudbeaver/core-projects';
import { CachedMapAllKey, resourceKeyList } from '@cloudbeaver/core-resource';
import { isArraysEqual, isDefined, isObjectsEqual } from '@cloudbeaver/core-utils';
import { isArraysEqual, isObjectsEqual } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
export interface IConnectionsTableState {
readonly connections: Connection[];
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-administration"
},
@@ -42,6 +42,7 @@
"@cloudbeaver/plugin-projects": "workspace:*",
"@cloudbeaver/plugin-top-app-bar": "workspace:*",
"@dbeaver/jdbc-uri-parser": "workspace:^",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@ import { Combobox, usePermission, useResource } from '@cloudbeaver/core-blocks';
import { DatabaseAuthModelsResource } from '@cloudbeaver/core-connections';
import { CachedResourceListEmptyKey, resourceKeyList } from '@cloudbeaver/core-resource';
import { EAdminPermission } from '@cloudbeaver/core-root';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
interface Props {
authModelCredentialsState: { authModelId?: string };
@@ -22,7 +22,8 @@ import {
} from '@cloudbeaver/core-connections';
import type { ProjectInfoResource } from '@cloudbeaver/core-projects';
import { action, computed, makeObservable, observable, reaction, toJS } from 'mobx';
import { getUniqueName, isNotNullDefined } from '@cloudbeaver/core-utils';
import { getUniqueName } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { getDefaultConfigurationType } from './getDefaultConfigurationType.js';
import { getConnectionName } from './getConnectionName.js';
import type { LocalizationService } from '@cloudbeaver/core-localization';
@@ -10,7 +10,7 @@ import { FormPart, formSubmitContext, type IFormState } from '@cloudbeaver/core-
import type { IExecutionContextProvider } from '@cloudbeaver/core-executor';
import type { IConnectionFormState } from '../IConnectionFormState.js';
import { type NetworkHandlerConfigInput } from '@cloudbeaver/core-sdk';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { getSSLDriverHandler } from './getSSLDriverHandler.js';
import { ConnectionInfoNetworkHandlersResource, type DBDriverResource, type NetworkHandlerResource } from '@cloudbeaver/core-connections';
import { CachedMapAllKey } from '@cloudbeaver/core-resource';
@@ -10,6 +10,9 @@
{
"path": "../../../common-typescript/@dbeaver/jdbc-uri-parser"
},
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -35,6 +35,7 @@
"@cloudbeaver/core-view": "workspace:*",
"@cloudbeaver/plugin-data-grid": "workspace:*",
"@cloudbeaver/plugin-data-viewer": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"@dbeaver/ui-kit": "workspace:^",
"@popperjs/core": "^2",
"mobx": "^6",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,8 @@ import { importLazyComponent } from '@cloudbeaver/core-blocks';
import { injectable } from '@cloudbeaver/core-di';
import { CommonDialogService, DialogueStateResult } from '@cloudbeaver/core-dialogs';
import { ClipboardService } from '@cloudbeaver/core-ui';
import { isNotNullDefined, replaceMiddle } from '@cloudbeaver/core-utils';
import { replaceMiddle } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { ACTION_DELETE, ActionService, MenuBaseItem, MenuService } from '@cloudbeaver/core-view';
import {
DATA_CONTEXT_DV_DDM,
@@ -10,6 +10,9 @@
{
"path": "../../../common-react/@dbeaver/ui-kit"
},
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -41,6 +41,7 @@
"@cloudbeaver/plugin-codemirror6": "workspace:*",
"@cloudbeaver/plugin-navigation-tabs": "workspace:*",
"@cloudbeaver/plugin-object-viewer": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,8 @@ import { makeObservable, observable } from 'mobx';
import { QuotasService, ServerResourceQuotasResource } from '@cloudbeaver/core-root';
import { GraphQLService, ResultDataFormat } from '@cloudbeaver/core-sdk';
import { bytesToSize, download, downloadFromURL, GlobalConstants, isNotNullDefined } from '@cloudbeaver/core-utils';
import { bytesToSize, download, downloadFromURL, GlobalConstants } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { DatabaseDataAction } from '../../DatabaseDataAction.js';
import type { IDatabaseDataSource } from '../../IDatabaseDataSource.js';
@@ -9,7 +9,7 @@ import { observer } from 'mobx-react-lite';
import { Radio, TextPlaceholder, useTranslate } from '@cloudbeaver/core-blocks';
import type { TabContainerPanelComponent } from '@cloudbeaver/core-ui';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { ResultSetEditAction } from '../../DatabaseDataModel/Actions/ResultSet/ResultSetEditAction.js';
import { ResultSetFormatAction } from '../../DatabaseDataModel/Actions/ResultSet/ResultSetFormatAction.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -10,7 +10,8 @@ import { observer } from 'mobx-react-lite';
import { Button, Container, useTranslate } from '@cloudbeaver/core-blocks';
import { useService } from '@cloudbeaver/core-di';
import { NotificationService } from '@cloudbeaver/core-events';
import { bytesToSize, isNotNullDefined } from '@cloudbeaver/core-utils';
import { bytesToSize } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { IResultSetElementKey } from '../../DatabaseDataModel/Actions/ResultSet/IResultSetDataKey.js';
import { isResultSetBlobValue } from '../../DatabaseDataModel/Actions/ResultSet/isResultSetBlobValue.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,8 @@ import { observable } from 'mobx';
import { useObservableRef, useSuspense } from '@cloudbeaver/core-blocks';
import type { ResultDataFormat } from '@cloudbeaver/core-sdk';
import { blobToBase64, isNotNullDefined, removeMetadataFromDataURL } from '@cloudbeaver/core-utils';
import { blobToBase64, removeMetadataFromDataURL } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { IResultSetElementKey } from '../../DatabaseDataModel/Actions/ResultSet/IResultSetDataKey.js';
import { isResultSetBlobValue } from '../../DatabaseDataModel/Actions/ResultSet/isResultSetBlobValue.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -38,6 +38,7 @@
"@cloudbeaver/plugin-datasource-context-switch": "workspace:*",
"@cloudbeaver/plugin-sql-editor-new": "workspace:*",
"@cloudbeaver/plugin-top-app-bar": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import { NotificationService } from '@cloudbeaver/core-events';
import { ExecutorInterrupter, type IExecutionContextProvider } from '@cloudbeaver/core-executor';
import { LocalizationService } from '@cloudbeaver/core-localization';
import { OptionsPanelService } from '@cloudbeaver/core-ui';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { ActionService, MenuCustomItem, MenuService } from '@cloudbeaver/core-view';
import { ConnectionSchemaManagerService } from '@cloudbeaver/plugin-datasource-context-switch';
import { MENU_APP_ACTIONS } from '@cloudbeaver/plugin-top-app-bar';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -38,6 +38,7 @@
"@cloudbeaver/plugin-navigation-tree": "workspace:*",
"@cloudbeaver/plugin-projects": "workspace:*",
"@cloudbeaver/plugin-resource-manager": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,8 @@ import type { NavNode, NavNodeInfoResource, NavTreeResource, ProjectsNavNodeServ
import type { ProjectsService } from '@cloudbeaver/core-projects';
import { resourceKeyList } from '@cloudbeaver/core-resource';
import { isRMProjectNode, RESOURCES_NODE_PATH } from '@cloudbeaver/core-resource-manager';
import { createPath, isDefined } from '@cloudbeaver/core-utils';
import { createPath } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import type { IElementsTreeFilter } from '@cloudbeaver/plugin-navigation-tree';
import type { ResourceManagerService } from '@cloudbeaver/plugin-resource-manager';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,7 @@ import type { NavNode, NavNodeInfoResource, ProjectsNavNodeService } from '@clou
import { isResourceOfType, ProjectInfoResource } from '@cloudbeaver/core-projects';
import { resourceKeyList } from '@cloudbeaver/core-resource';
import { isRMResourceNode } from '@cloudbeaver/core-resource-manager';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { IElementsTreeFilter } from '@cloudbeaver/plugin-navigation-tree';
export function navigationTreeResourceTypeFilter(
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -36,6 +36,7 @@
"@cloudbeaver/core-ui": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@cloudbeaver/core-view": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -9,7 +9,7 @@ import { injectable } from '@cloudbeaver/core-di';
import { type NavNode, NavNodeInfoResource, ProjectsNavNodeService } from '@cloudbeaver/core-navigation-tree';
import { type ProjectInfo, ProjectsService } from '@cloudbeaver/core-projects';
import { resourceKeyList } from '@cloudbeaver/core-resource';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import type { IElementsTree } from './useElementsTree.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
@@ -37,6 +37,7 @@
"@cloudbeaver/plugin-data-grid": "workspace:*",
"@cloudbeaver/plugin-navigation-tabs": "workspace:*",
"@cloudbeaver/plugin-navigation-tree": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@ import { useEffect } from 'react';
import { TextPlaceholder, useOffsetPagination, useResource, useTranslate } from '@cloudbeaver/core-blocks';
import { useService } from '@cloudbeaver/core-di';
import { type DBObject, DBObjectParentKey, DBObjectResource, NavNodeInfoResource, NavTreeResource } from '@cloudbeaver/core-navigation-tree';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { type NavNodeTransformViewComponent, NavNodeViewService } from '@cloudbeaver/plugin-navigation-tree';
import { TableLoader } from '../../ObjectPropertyTable/Table/TableLoader.js';
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@ import { useEffect } from 'react';
import { s, TextPlaceholder, useOffsetPagination, useResource, useTranslate } from '@cloudbeaver/core-blocks';
import { useService } from '@cloudbeaver/core-di';
import { type DBObject, DBObjectParentKey, DBObjectResource, NavTreeResource } from '@cloudbeaver/core-navigation-tree';
import { isDefined } from '@cloudbeaver/core-utils';
import { isDefined } from '@dbeaver/js-helpers';
import { NavNodeViewService } from '@cloudbeaver/plugin-navigation-tree';
import styles from './ObjectPropertyTable.module.css';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -26,6 +26,7 @@
"@cloudbeaver/core-settings": "workspace:*",
"@cloudbeaver/core-utils": "workspace:*",
"@cloudbeaver/plugin-navigation-tree": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -16,7 +16,8 @@ import {
SettingsProviderService,
SettingsResolverService,
} from '@cloudbeaver/core-settings';
import { isNotNullDefined, schemaValidationError } from '@cloudbeaver/core-utils';
import { schemaValidationError } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
interface Props {
source: ISettingsSource;
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -42,6 +42,7 @@
"@cloudbeaver/plugin-resource-manager-scripts": "workspace:*",
"@cloudbeaver/plugin-sql-editor": "workspace:*",
"@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"tslib": "^2"
},
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -18,7 +18,8 @@ import type { ProjectInfoResource, ProjectsService } from '@cloudbeaver/core-pro
import { isResourceAlias, type ResourceKey, ResourceKeyUtils } from '@cloudbeaver/core-resource';
import { getRmResourceKey, ResourceManagerResource } from '@cloudbeaver/core-resource-manager';
import type { NetworkStateService } from '@cloudbeaver/core-root';
import { debounce, getPathName, isArraysEqual, isNotNullDefined, isObjectsEqual, isValuesEqual } from '@cloudbeaver/core-utils';
import { debounce, getPathName, isArraysEqual, isObjectsEqual, isValuesEqual } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { SCRIPTS_TYPE_ID } from '@cloudbeaver/plugin-resource-manager-scripts';
import { BaseSqlDataSource, ESqlDataSourceFeatures, SqlEditorService } from '@cloudbeaver/plugin-sql-editor';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-blocks"
},
@@ -34,6 +34,7 @@
"@cloudbeaver/core-view": "workspace:*",
"@cloudbeaver/plugin-authentication": "workspace:*",
"@cloudbeaver/plugin-top-app-bar": "workspace:*",
"@dbeaver/js-helpers": "workspace:^",
"mobx": "^6",
"mobx-react-lite": "^4",
"react": "^19",
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@ import { importLazyComponent } from '@cloudbeaver/core-blocks';
import { injectable } from '@cloudbeaver/core-di';
import { ExecutionContext, Executor, type IExecutor, type ISyncExecutor, SyncExecutor } from '@cloudbeaver/core-executor';
import { OptionsPanelService } from '@cloudbeaver/core-ui';
import { isNotNullDefined } from '@cloudbeaver/core-utils';
import { isNotNullDefined } from '@dbeaver/js-helpers';
import { userProfileContext } from './userProfileContext.js';
import { UserProfileTabsService } from './UserProfileTabsService.js';
@@ -7,6 +7,9 @@
"composite": true
},
"references": [
{
"path": "../../../common-typescript/@dbeaver/js-helpers"
},
{
"path": "../core-authentication"
},
+33
View File
@@ -1520,6 +1520,7 @@ __metadata:
"@cloudbeaver/core-storage": "workspace:*"
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
mobx: "npm:^6"
tslib: "npm:^2"
typescript: "npm:^5"
@@ -1574,6 +1575,7 @@ __metadata:
"@cloudbeaver/core-storage": "workspace:*"
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
mobx: "npm:^6"
msw: "npm:^2"
tslib: "npm:^2"
@@ -1600,6 +1602,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tests-runner": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@dbeaver/ui-kit": "workspace:^"
"@testing-library/jest-dom": "npm:^6"
"@testing-library/react": "npm:^16"
@@ -1794,6 +1797,7 @@ __metadata:
"@cloudbeaver/core-settings": "workspace:*"
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
react: "npm:^19"
@@ -1939,6 +1943,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tests-runner": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
mobx: "npm:^6"
tslib: "npm:^2"
typescript: "npm:^5"
@@ -2186,6 +2191,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tests-runner": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
mobx: "npm:^6"
tslib: "npm:^2"
typescript: "npm:^5"
@@ -2269,6 +2275,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/core-view": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -2361,6 +2368,7 @@ __metadata:
"@cloudbeaver/core-localization": "workspace:*"
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -2423,6 +2431,7 @@ __metadata:
"@cloudbeaver/plugin-settings-menu": "workspace:*"
"@cloudbeaver/plugin-top-app-bar": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -2496,6 +2505,7 @@ __metadata:
"@cloudbeaver/plugin-administration": "workspace:*"
"@cloudbeaver/plugin-authentication": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@dbeaver/ui-kit": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
@@ -2712,6 +2722,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/plugin-connections": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -2752,6 +2763,7 @@ __metadata:
"@cloudbeaver/plugin-top-app-bar": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/jdbc-uri-parser": "workspace:^"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -2882,6 +2894,7 @@ __metadata:
"@cloudbeaver/plugin-data-grid": "workspace:*"
"@cloudbeaver/plugin-data-viewer": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@dbeaver/ui-kit": "workspace:^"
"@popperjs/core": "npm:^2"
"@types/react": "npm:^19"
@@ -2979,6 +2992,7 @@ __metadata:
"@cloudbeaver/plugin-navigation-tabs": "workspace:*"
"@cloudbeaver/plugin-object-viewer": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3049,6 +3063,7 @@ __metadata:
"@cloudbeaver/plugin-sql-editor-new": "workspace:*"
"@cloudbeaver/plugin-top-app-bar": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3341,6 +3356,7 @@ __metadata:
"@cloudbeaver/plugin-projects": "workspace:*"
"@cloudbeaver/plugin-resource-manager": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3374,6 +3390,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/core-view": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3427,6 +3444,7 @@ __metadata:
"@cloudbeaver/plugin-navigation-tabs": "workspace:*"
"@cloudbeaver/plugin-navigation-tree": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3713,6 +3731,7 @@ __metadata:
"@cloudbeaver/core-utils": "workspace:*"
"@cloudbeaver/plugin-navigation-tree": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -3753,6 +3772,7 @@ __metadata:
"@cloudbeaver/plugin-sql-editor": "workspace:*"
"@cloudbeaver/plugin-sql-editor-navigation-tab": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
mobx: "npm:^6"
tslib: "npm:^2"
typescript: "npm:^5"
@@ -4116,6 +4136,7 @@ __metadata:
"@cloudbeaver/plugin-authentication": "workspace:*"
"@cloudbeaver/plugin-top-app-bar": "workspace:*"
"@cloudbeaver/tsconfig": "workspace:*"
"@dbeaver/js-helpers": "workspace:^"
"@types/react": "npm:^19"
mobx: "npm:^6"
mobx-react-lite: "npm:^4"
@@ -4525,6 +4546,17 @@ __metadata:
languageName: unknown
linkType: soft
"@dbeaver/js-helpers@workspace:../common-typescript/@dbeaver/js-helpers, @dbeaver/js-helpers@workspace:^":
version: 0.0.0-use.local
resolution: "@dbeaver/js-helpers@workspace:../common-typescript/@dbeaver/js-helpers"
dependencies:
"@dbeaver/tsconfig": "workspace:^"
rimraf: "npm:^6"
typescript: "npm:^5"
vitest: "npm:^3"
languageName: unknown
linkType: soft
"@dbeaver/prettier-config@workspace:*, @dbeaver/prettier-config@workspace:../common-typescript/@dbeaver/prettier-config, @dbeaver/prettier-config@workspace:^":
version: 0.0.0-use.local
resolution: "@dbeaver/prettier-config@workspace:../common-typescript/@dbeaver/prettier-config"
@@ -9764,6 +9796,7 @@ __metadata:
resolution: "common-typescript@workspace:../common-typescript"
dependencies:
"@dbeaver/prettier-config": "workspace:^"
"@wroud/ts-template": "npm:^0"
prettier: "npm:^3.5.1"
typescript: "npm:^5.7.3"
languageName: unknown