@docsvision/management-console 6.2.0-beta.1 → 6.2.0-beta.10
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/index.css +1 -1
- package/index.d.ts +162 -217
- package/index.js +36547 -39092
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { ButtonProps } from '@mui/material';
|
|
|
8
8
|
import { CircularProgressProps } from '@mui/material';
|
|
9
9
|
import { ColumnType } from 'docsvision.web/components/table/interfaces';
|
|
10
10
|
import { Control } from 'react-hook-form';
|
|
11
|
+
import { ControllerRenderProps } from 'react-hook-form';
|
|
11
12
|
import { DependencyList } from 'react';
|
|
12
13
|
import { Domain } from 'effector';
|
|
13
14
|
import { Event as Event_2 } from 'effector';
|
|
@@ -99,22 +100,6 @@ declare type $DashboardConfigurationService_2 = { dashboardConfigurationService:
|
|
|
99
100
|
|
|
100
101
|
declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
|
|
101
102
|
|
|
102
|
-
declare type $DatabaseMasterController = { databaseMasterController: IDatabaseMasterController };
|
|
103
|
-
|
|
104
|
-
declare const $DatabaseMasterController = serviceName((s: $DatabaseMasterController) => s.databaseMasterController);
|
|
105
|
-
|
|
106
|
-
declare type $DatabasesConfigurationController = { databasesConfigurationController: IDatabasesConfigurationController };
|
|
107
|
-
|
|
108
|
-
declare const $DatabasesConfigurationController = serviceName((s: $DatabasesConfigurationController) => s.databasesConfigurationController);
|
|
109
|
-
|
|
110
|
-
declare type $DatabasesController = { databasesController: IDatabasesController };
|
|
111
|
-
|
|
112
|
-
declare const $DatabasesController = serviceName((s: $DatabasesController) => s.databasesController);
|
|
113
|
-
|
|
114
|
-
declare type $DatabaseWizard = { databaseWizardService: IDatabaseWizardService; };
|
|
115
|
-
|
|
116
|
-
declare const $DatabaseWizard = serviceName((s: $DatabaseWizard) => s.databaseWizardService);
|
|
117
|
-
|
|
118
103
|
export declare type $DomEntryPointService = {
|
|
119
104
|
domEntryPointService: IDomEntryPointService;
|
|
120
105
|
};
|
|
@@ -243,6 +228,16 @@ declare type $ResourcesManagement_2 = { resourcesManagement: IResourcesManagemen
|
|
|
243
228
|
|
|
244
229
|
declare const $ResourcesManagement_2 = serviceName((s: $ResourcesManagement_2) => s.resourcesManagement);
|
|
245
230
|
|
|
231
|
+
export declare type $RootElement = {
|
|
232
|
+
rootElement: IRootElementService;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
export declare const $RootElement: string | ((model?: $RootElement) => IRootElementService);
|
|
236
|
+
|
|
237
|
+
declare type $RootElement_2 = { rootElement: IRootElementService_2 };
|
|
238
|
+
|
|
239
|
+
declare const $RootElement_2 = serviceName((s: $RootElement_2) => s.rootElement);
|
|
240
|
+
|
|
246
241
|
export declare type $RouteContentRender = {
|
|
247
242
|
routeContentRender: IRouteContentRenderService;
|
|
248
243
|
};
|
|
@@ -263,6 +258,10 @@ declare type $ServersController_2 = {
|
|
|
263
258
|
|
|
264
259
|
declare const $ServersController_2: string | ((model?: $ServersController_2) => IServersController_2);
|
|
265
260
|
|
|
261
|
+
declare type $SessionsController = { sessionsController: ISessionsController };
|
|
262
|
+
|
|
263
|
+
declare const $SessionsController = serviceName((s: $SessionsController) => s.sessionsController);
|
|
264
|
+
|
|
266
265
|
export declare type $SettingsNavigation = {
|
|
267
266
|
settingsNavigation: ISettingsNavigationService;
|
|
268
267
|
};
|
|
@@ -340,13 +339,11 @@ export declare class Application extends ServiceContainer implements IApplicatio
|
|
|
340
339
|
serverController: IServersController_2;
|
|
341
340
|
settingsNavigation: ISettingsNavigationService;
|
|
342
341
|
formControl: IFormControl;
|
|
343
|
-
databaseWizardService: IDatabaseWizardService;
|
|
344
|
-
databaseMasterController: IDatabaseMasterController;
|
|
345
|
-
databasesConfigurationController: IDatabasesConfigurationController;
|
|
346
|
-
databasesController: IDatabasesController;
|
|
347
342
|
realtimeCommunication: IRealtimeCommunicationService_2;
|
|
343
|
+
sessionsController: ISessionsController;
|
|
348
344
|
configurationLocksController: IConfigurationLocksController;
|
|
349
345
|
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
346
|
+
rootElement: IRootElementService_2;
|
|
350
347
|
constructor(reactRootElementId: string);
|
|
351
348
|
static instance: IApplication;
|
|
352
349
|
initialize(): Promise<void>;
|
|
@@ -374,8 +371,9 @@ declare enum BreadcrumbsLabel {
|
|
|
374
371
|
PageOutgoingMessagesQueue,
|
|
375
372
|
WidgetSearchForCardMessages,
|
|
376
373
|
PageSearchForCardMessages,
|
|
377
|
-
PageErrorAndBlockLog
|
|
378
|
-
|
|
374
|
+
PageErrorAndBlockLog,
|
|
375
|
+
WidgetOpenSessions,
|
|
376
|
+
PageOpenSessions
|
|
379
377
|
}
|
|
380
378
|
|
|
381
379
|
declare enum BreadcrumbsLabel_2 {
|
|
@@ -385,7 +383,9 @@ declare enum BreadcrumbsLabel_2 {
|
|
|
385
383
|
PageOutgoingMessagesQueue = 3,
|
|
386
384
|
WidgetSearchForCardMessages = 4,
|
|
387
385
|
PageSearchForCardMessages = 5,
|
|
388
|
-
PageErrorAndBlockLog = 6
|
|
386
|
+
PageErrorAndBlockLog = 6,
|
|
387
|
+
WidgetOpenSessions = 7,
|
|
388
|
+
PageOpenSessions = 8
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.Element;
|
|
@@ -406,18 +406,6 @@ export declare const commonMuiProps: {
|
|
|
406
406
|
|
|
407
407
|
export declare function ComponentIcon(props: IComponentIconProps): JSX.Element;
|
|
408
408
|
|
|
409
|
-
declare enum ConnectionStatus {
|
|
410
|
-
Unknown = -1,
|
|
411
|
-
Succesfull = 0,
|
|
412
|
-
DatabaseNotExist = 1,
|
|
413
|
-
ServerNotExist = 2,
|
|
414
|
-
LoginFailed = 3,
|
|
415
|
-
AuthNotSupported = 4,
|
|
416
|
-
|
|
417
|
-
AliasAlreadyExists = 100,
|
|
418
|
-
DatabaseAlreadyExists = 101
|
|
419
|
-
}
|
|
420
|
-
|
|
421
409
|
export declare const convertBase64ToString: (base64: string) => string;
|
|
422
410
|
|
|
423
411
|
export declare const convertDataToBase64: (data: object) => string;
|
|
@@ -481,28 +469,12 @@ export declare class DashboardConfigurationService implements IDashboardConfigur
|
|
|
481
469
|
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
482
470
|
}
|
|
483
471
|
|
|
472
|
+
export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
|
|
473
|
+
|
|
484
474
|
export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
|
|
485
475
|
|
|
486
476
|
export declare type DatabaseSettingsCardSize = "sm" | "md";
|
|
487
477
|
|
|
488
|
-
declare enum DatabaseState {
|
|
489
|
-
Attached,
|
|
490
|
-
Updating,
|
|
491
|
-
Creating,
|
|
492
|
-
Attaching
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
declare enum DatabaseType {
|
|
496
|
-
Postgre,
|
|
497
|
-
SQL
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
declare enum DatabaseWizardMode {
|
|
501
|
-
Create,
|
|
502
|
-
Add,
|
|
503
|
-
Update
|
|
504
|
-
}
|
|
505
|
-
|
|
506
478
|
export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRangeProps>;
|
|
507
479
|
|
|
508
480
|
export declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
|
|
@@ -533,6 +505,10 @@ export declare function DropdownBody(props: IDropdownBodyProps): JSX.Element;
|
|
|
533
505
|
|
|
534
506
|
export declare const DropdownOption: React_2.ForwardRefExoticComponent<Pick<IDropdownOptionProps, "slot" | "style" | "title" | "onClick" | "color" | "children" | "className" | "id" | "classes" | "onChange" | "sx" | "translate" | "disabled" | "disableGutters" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "value" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "component" | "dense" | "displayName" | "divider"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
535
507
|
|
|
508
|
+
export declare function DropdownWithEllipsis(props: IDropdownWithEllipsisProps): JSX.Element;
|
|
509
|
+
|
|
510
|
+
export declare function EditorCollectionEditor(props: IEditorCollectionEditorProps): JSX.Element;
|
|
511
|
+
|
|
536
512
|
export declare function EditorContainer(props: IEditorContainer): JSX.Element;
|
|
537
513
|
|
|
538
514
|
export declare function EditorDescription({ text }: {
|
|
@@ -572,6 +548,11 @@ declare type EffectCallbackAsync = () => (Promise<void> | (() => Promise<void |
|
|
|
572
548
|
|
|
573
549
|
export declare const EMAIL_CONNECTION_SETTINGS_LAYOUT = "ea883b59-bb95-446e-879b-97874ac4d82b";
|
|
574
550
|
|
|
551
|
+
export declare enum EngineType {
|
|
552
|
+
MsSQL = 0,
|
|
553
|
+
PgSQL = 1
|
|
554
|
+
}
|
|
555
|
+
|
|
575
556
|
export declare const ERROR_ROW_CLASS_NAME = "page-table__row-error";
|
|
576
557
|
|
|
577
558
|
export declare function ErrorBlock({ text, close }: IErrorBlockProps): JSX.Element;
|
|
@@ -655,7 +636,7 @@ export declare const getThisMonthBeginAndEndDays: () => {
|
|
|
655
636
|
endMonthDate: string;
|
|
656
637
|
};
|
|
657
638
|
|
|
658
|
-
export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2;
|
|
639
|
+
export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2 | 3;
|
|
659
640
|
|
|
660
641
|
export declare function GroupPanel(props: IGroupPanelProps): JSX.Element;
|
|
661
642
|
|
|
@@ -730,7 +711,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
|
|
|
730
711
|
declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
|
|
731
712
|
}
|
|
732
713
|
|
|
733
|
-
export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $
|
|
714
|
+
export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $Resources_2, $RouteContentRender_2, $FilterPluginsLoading, $ToolbarVisibility, $MessageWindow, $RepeatProcessButton, $PanelsExpansionService, $Layout, $NavigationMenu_2, $ServersController_2, $SettingsNavigation, $FormControl, $ExtendedConfigurationController_2, $RealtimeCommunication_2, $ConfigurationLocksController, $SessionsController, $RootElement_2 {
|
|
734
715
|
}
|
|
735
716
|
|
|
736
717
|
declare interface IApplicationServices_2 extends
|
|
@@ -761,11 +742,9 @@ $SettingsNavigation_2,
|
|
|
761
742
|
$FormControl_2,
|
|
762
743
|
$ExtendedConfigurationController,
|
|
763
744
|
$RealtimeCommunication,
|
|
764
|
-
$
|
|
765
|
-
$
|
|
766
|
-
$
|
|
767
|
-
$DatabaseMasterController,
|
|
768
|
-
$ConfigurationLocksController {
|
|
745
|
+
$ConfigurationLocksController,
|
|
746
|
+
$SessionsController,
|
|
747
|
+
$RootElement_2 {
|
|
769
748
|
|
|
770
749
|
}
|
|
771
750
|
|
|
@@ -979,12 +958,6 @@ declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
|
|
|
979
958
|
operation: IChangeOperationType_2;
|
|
980
959
|
}
|
|
981
960
|
|
|
982
|
-
declare interface IConnectionStatusInfo {
|
|
983
|
-
status: ConnectionStatus;
|
|
984
|
-
message: string;
|
|
985
|
-
uniqueServerName?: string;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
961
|
export declare interface IContainerProps extends HtmlProps.button {
|
|
989
962
|
title?: string;
|
|
990
963
|
content?: JSX.Element | string;
|
|
@@ -1142,76 +1115,22 @@ declare interface IDashboardPosition_2 {
|
|
|
1142
1115
|
order: number;
|
|
1143
1116
|
}
|
|
1144
1117
|
|
|
1145
|
-
declare interface
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
declare interface IDatabaseInfo {
|
|
1156
|
-
databaseAlias: string;
|
|
1157
|
-
connectionStatus: IConnectionStatusInfo;
|
|
1158
|
-
baseVersion: unknown;
|
|
1159
|
-
updateDate: string;
|
|
1160
|
-
fullTextSearchEnabled: boolean;
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
declare interface IDatabaseMasterController extends Service {
|
|
1164
|
-
setState(serverId: string, state: IDatabaseMasterModel): Promise<void>;
|
|
1165
|
-
getState(serverId: string, databaseAlias: string): Promise<IDatabaseMasterModel>;
|
|
1166
|
-
deleteState(serverId: string, databaseAlias: string): Promise<void>;
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
declare interface IDatabaseMasterModel {
|
|
1170
|
-
serverParameters?: IServerParameters;
|
|
1171
|
-
databaseParameters?: IDatabaseParameters;
|
|
1172
|
-
scriptGenerationParameters?: IScriptGenerationParameters;
|
|
1173
|
-
libraries?: string[];
|
|
1174
|
-
timeout?: number;
|
|
1175
|
-
localeId?: number;
|
|
1176
|
-
dbFilePath?: string;
|
|
1177
|
-
currentPageName: string;
|
|
1178
|
-
state?: IDatabaseMasterState;
|
|
1179
|
-
lastProcessError?: string;
|
|
1180
|
-
masterType: DatabaseWizardMode;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
declare enum IDatabaseMasterState {
|
|
1184
|
-
Preparing = 0,
|
|
1185
|
-
InProcess = 1,
|
|
1186
|
-
ProcessFinished = 2
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
declare interface IDatabaseParameters {
|
|
1190
|
-
alias: string;
|
|
1191
|
-
databaseName: string;
|
|
1192
|
-
additionalOptions?: Record<string, string>;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
declare interface IDatabasesConfigurationController extends Service {
|
|
1196
|
-
getDefault(serviceId: string): Promise<string>;
|
|
1197
|
-
setDefault(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1198
|
-
add(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1199
|
-
delete(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1200
|
-
all(serviceId: string): Promise<IDatabase[]>;
|
|
1118
|
+
export declare interface IDatabaseModel {
|
|
1119
|
+
baseName: string;
|
|
1120
|
+
sqlServerName: string;
|
|
1121
|
+
serverType: EngineType;
|
|
1122
|
+
usesFileService: boolean;
|
|
1123
|
+
hash: string;
|
|
1124
|
+
serverNames: string[];
|
|
1125
|
+
error?: string;
|
|
1201
1126
|
}
|
|
1202
1127
|
|
|
1203
|
-
declare interface
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
checkSqlServerConnection(serviceId: string, serverParameters: IServerParameters): Promise<IConnectionStatusInfo>;
|
|
1210
|
-
checkSqlDatabaseConnection(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters): Promise<IConnectionStatusInfo>;
|
|
1211
|
-
checkSqlDatabaseConnectionFull(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters)
|
|
1212
|
-
: Promise<IConnectionStatusInfo>;
|
|
1213
|
-
info(serviceId: string): Promise<IDatabaseInfo[]>;
|
|
1214
|
-
libraries(serviceId: string, databaseAlias: string): Promise<IScriptGenerationModel>
|
|
1128
|
+
export declare interface IDatabaseSelectionModalProps {
|
|
1129
|
+
open: boolean;
|
|
1130
|
+
databases: IDatabaseModel[];
|
|
1131
|
+
onCancel: () => void;
|
|
1132
|
+
onApply: (selected: IDatabaseModel[]) => void;
|
|
1133
|
+
resources: IResourcesMap_2;
|
|
1215
1134
|
}
|
|
1216
1135
|
|
|
1217
1136
|
export declare interface IDatabaseSettingsCardProps {
|
|
@@ -1220,12 +1139,7 @@ export declare interface IDatabaseSettingsCardProps {
|
|
|
1220
1139
|
isDefault: boolean;
|
|
1221
1140
|
children?: React_2.ReactNode;
|
|
1222
1141
|
size?: DatabaseSettingsCardSize;
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
declare interface IDatabaseWizardService extends Service {
|
|
1226
|
-
openCreateMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1227
|
-
openUpdateMode(serviceId: string, databaseAlias: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1228
|
-
openConnectMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1142
|
+
error?: string;
|
|
1229
1143
|
}
|
|
1230
1144
|
|
|
1231
1145
|
export declare interface IDateRangeComponent {
|
|
@@ -1295,6 +1209,25 @@ export declare interface IDropdownOptionProps extends Omit<MenuItemProps, "butto
|
|
|
1295
1209
|
displayName: string;
|
|
1296
1210
|
}
|
|
1297
1211
|
|
|
1212
|
+
export declare interface IDropdownWithEllipsisProps {
|
|
1213
|
+
options: IPageElementOption_2[];
|
|
1214
|
+
value: string;
|
|
1215
|
+
label: string;
|
|
1216
|
+
handleChange: (value: string) => void;
|
|
1217
|
+
field: ControllerRenderProps<FieldValues, string>;
|
|
1218
|
+
dataTestId?: string;
|
|
1219
|
+
className?: string;
|
|
1220
|
+
noOptionsText?: string;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export declare interface IEditorCollectionEditorProps extends IPageModelElement {
|
|
1224
|
+
children: React_2.ReactNode | React_2.ReactNode[];
|
|
1225
|
+
isChanged?: boolean;
|
|
1226
|
+
resetValue?: () => void;
|
|
1227
|
+
className?: string;
|
|
1228
|
+
isEditable?: boolean;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1298
1231
|
export declare interface IEditorContainer extends IPageModelElement {
|
|
1299
1232
|
children: React_2.ReactNode;
|
|
1300
1233
|
isChanged?: boolean;
|
|
@@ -1559,19 +1492,6 @@ declare interface ILayoutService_2 extends Service {
|
|
|
1559
1492
|
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement_2[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel_2>;
|
|
1560
1493
|
}
|
|
1561
1494
|
|
|
1562
|
-
declare interface ILibrary {
|
|
1563
|
-
id: string,
|
|
1564
|
-
alias: string,
|
|
1565
|
-
name: string,
|
|
1566
|
-
cardLibVersion: number,
|
|
1567
|
-
dbVersion: number,
|
|
1568
|
-
dbSysVersion: number;
|
|
1569
|
-
haveUserMetadata: boolean;
|
|
1570
|
-
haveUnknownLinks?: boolean;
|
|
1571
|
-
canUpdate?: boolean;
|
|
1572
|
-
libraryDependencies: TLibraryDependency[];
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
1495
|
declare interface ILineWithError {
|
|
1576
1496
|
error: string;
|
|
1577
1497
|
}
|
|
@@ -1589,6 +1509,7 @@ declare interface IListPanelProps {
|
|
|
1589
1509
|
disabled?: boolean;
|
|
1590
1510
|
validate?: (value: string) => Promise<boolean>;
|
|
1591
1511
|
errorMessage?: string;
|
|
1512
|
+
services: IApplicationServices;
|
|
1592
1513
|
}
|
|
1593
1514
|
|
|
1594
1515
|
export declare interface ILocalizationService {
|
|
@@ -1783,7 +1704,7 @@ export declare function InformationIcon(props: IInformationIconProps): JSX.Eleme
|
|
|
1783
1704
|
|
|
1784
1705
|
declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant"> {
|
|
1785
1706
|
name: string;
|
|
1786
|
-
value?: number;
|
|
1707
|
+
value?: number | string;
|
|
1787
1708
|
minValue?: number;
|
|
1788
1709
|
maxValue?: number;
|
|
1789
1710
|
fullWidth?: boolean;
|
|
@@ -1792,6 +1713,11 @@ declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "va
|
|
|
1792
1713
|
errorMessage?: string;
|
|
1793
1714
|
}
|
|
1794
1715
|
|
|
1716
|
+
declare interface IOpenSessionsCount {
|
|
1717
|
+
onlineCount: number,
|
|
1718
|
+
offlineCount: number,
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1795
1721
|
export declare interface IPageElementOption {
|
|
1796
1722
|
displayName: string;
|
|
1797
1723
|
value: string | number;
|
|
@@ -1883,6 +1809,14 @@ declare interface IPageSaveModelElement_2 {
|
|
|
1883
1809
|
value: unknown;
|
|
1884
1810
|
}
|
|
1885
1811
|
|
|
1812
|
+
declare interface IPageSessionResult {
|
|
1813
|
+
queryId: string,
|
|
1814
|
+
result: ISessionInfo[],
|
|
1815
|
+
currentPage: number,
|
|
1816
|
+
hasMore: boolean,
|
|
1817
|
+
totalItemsCount: number
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1886
1820
|
export declare interface IPageTabLabelProps extends HtmlProps.div {
|
|
1887
1821
|
text: string;
|
|
1888
1822
|
selected: boolean;
|
|
@@ -1909,6 +1843,12 @@ export declare interface IPageTitleProps extends HtmlProps.div {
|
|
|
1909
1843
|
text: string;
|
|
1910
1844
|
}
|
|
1911
1845
|
|
|
1846
|
+
declare interface IPagingParameters {
|
|
1847
|
+
page: number,
|
|
1848
|
+
pageSize?: number,
|
|
1849
|
+
UsePagination?: boolean
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1912
1852
|
/**
|
|
1913
1853
|
* Сервис для раскрытия или закрытия всех панелей.
|
|
1914
1854
|
*/
|
|
@@ -1935,11 +1875,6 @@ export declare interface IPopupNotificationProps extends Noty_2.Options {
|
|
|
1935
1875
|
buttonsProps?: IButtonsProps[];
|
|
1936
1876
|
}
|
|
1937
1877
|
|
|
1938
|
-
declare interface IProcessStatus {
|
|
1939
|
-
state: ProcessState;
|
|
1940
|
-
errorMessage?: string
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
1878
|
declare interface IRealtimeCommunicationService {
|
|
1944
1879
|
on: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
1945
1880
|
off: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
@@ -1976,6 +1911,14 @@ declare interface IResourcesMap_2 {
|
|
|
1976
1911
|
[id: string]: string;
|
|
1977
1912
|
}
|
|
1978
1913
|
|
|
1914
|
+
export declare interface IRootElementService {
|
|
1915
|
+
readonly rootElementId: string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
declare interface IRootElementService_2 {
|
|
1919
|
+
readonly rootElementId: string;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1979
1922
|
export declare interface IRouteContentRenderService {
|
|
1980
1923
|
register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
|
|
1981
1924
|
$contentComponent: Store<JSX.Element>;
|
|
@@ -2018,23 +1961,6 @@ declare interface ISavePageResultModel_2 {
|
|
|
2018
1961
|
timestamp?: number;
|
|
2019
1962
|
}
|
|
2020
1963
|
|
|
2021
|
-
declare interface IScriptGenerationModel {
|
|
2022
|
-
scriptGeneratorVersion: number,
|
|
2023
|
-
libraries: ILibrary[]
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
declare interface IScriptGenerationParameters {
|
|
2027
|
-
searchDataBaseType: TableLocationType,
|
|
2028
|
-
changedObjectDataBaseType: TableLocationTypeExtended,
|
|
2029
|
-
iconDataBaseType: TableLocationType,
|
|
2030
|
-
keysetDataBaseType: TableLocationType,
|
|
2031
|
-
fileCursorDataBaseType: TableLocationType,
|
|
2032
|
-
cursorDataBaseType: TableLocationType,
|
|
2033
|
-
useOuterMetadata: boolean,
|
|
2034
|
-
useOuterLog: boolean,
|
|
2035
|
-
useOuterArchive: boolean,
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
1964
|
export declare interface ISectionContentWrapperProps extends IPageModelElement {
|
|
2039
1965
|
className?: string;
|
|
2040
1966
|
refElement?: React_2.RefObject<HTMLDivElement>;
|
|
@@ -2067,17 +1993,6 @@ export declare interface IServerExtensionResourcesDescriptor {
|
|
|
2067
1993
|
url: string;
|
|
2068
1994
|
}
|
|
2069
1995
|
|
|
2070
|
-
declare interface IServerParameters {
|
|
2071
|
-
serverName: string;
|
|
2072
|
-
serverType: ServerType;
|
|
2073
|
-
user: string;
|
|
2074
|
-
password: string;
|
|
2075
|
-
passwordChanged?: boolean;
|
|
2076
|
-
port?: number;
|
|
2077
|
-
integratedSecurity: boolean;
|
|
2078
|
-
trustServerCertificate?: boolean;
|
|
2079
|
-
}
|
|
2080
|
-
|
|
2081
1996
|
declare interface IServersController extends Service {
|
|
2082
1997
|
getServers(): Promise<IServerDescription[]>;
|
|
2083
1998
|
getServerInfo(id: string): Promise<IServerDetails>;
|
|
@@ -2102,6 +2017,49 @@ declare interface IServiceDescription_2 {
|
|
|
2102
2017
|
configurationLayoutId: string;
|
|
2103
2018
|
}
|
|
2104
2019
|
|
|
2020
|
+
declare interface ISessionCloseInfo {
|
|
2021
|
+
sessionId: string,
|
|
2022
|
+
message: string
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
declare interface ISessionInfo {
|
|
2026
|
+
id: string,
|
|
2027
|
+
userName: string,
|
|
2028
|
+
computerName: string,
|
|
2029
|
+
loginTime: string,
|
|
2030
|
+
inactivityTime: string,
|
|
2031
|
+
offline: boolean
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
declare interface ISessionsController extends Service {
|
|
2035
|
+
getSessionsCount(connectionId: string): Promise<IOpenSessionsCount>
|
|
2036
|
+
getSessions(connectionId, request: ISessionsGetRequest): Promise<ISessionsGetResponse>
|
|
2037
|
+
closeSessions(connectionId: string, sessionIds: string[]): Promise<ISessionCloseInfo[]>
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
declare interface ISessionsGetRequest {
|
|
2041
|
+
query: ISessionsQuery,
|
|
2042
|
+
pagingParameters: IPagingParameters
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
declare interface ISessionsGetResponse {
|
|
2046
|
+
licenseInfo: IUsedLicenseInfoModel,
|
|
2047
|
+
availableFilterTypes: SessionFilterTypes,
|
|
2048
|
+
pagedResult: IPageSessionResult
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
declare interface ISessionSortCondition {
|
|
2052
|
+
columnName: string,
|
|
2053
|
+
ascending: boolean,
|
|
2054
|
+
order: number
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
declare interface ISessionsQuery {
|
|
2058
|
+
queryId?: string,
|
|
2059
|
+
filterTypes: SessionFilterTypes,
|
|
2060
|
+
sortConditions: ISessionSortCondition[],
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2105
2063
|
export declare interface ISettingsNavigationService {
|
|
2106
2064
|
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2107
2065
|
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
@@ -2297,6 +2255,11 @@ export declare interface IUrlModel {
|
|
|
2297
2255
|
database?: string;
|
|
2298
2256
|
}
|
|
2299
2257
|
|
|
2258
|
+
declare interface IUsedLicenseInfoModel {
|
|
2259
|
+
totalCount: number,
|
|
2260
|
+
usedCount: number
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2300
2263
|
export declare interface IUserInfo {
|
|
2301
2264
|
/**
|
|
2302
2265
|
* User account name
|
|
@@ -2558,13 +2521,6 @@ declare enum PeriodType {
|
|
|
2558
2521
|
DateRange
|
|
2559
2522
|
}
|
|
2560
2523
|
|
|
2561
|
-
declare enum ProcessState {
|
|
2562
|
-
Running = 0,
|
|
2563
|
-
Finished = 1,
|
|
2564
|
-
Error = 2,
|
|
2565
|
-
Canceled = 3
|
|
2566
|
-
}
|
|
2567
|
-
|
|
2568
2524
|
export declare function registerEditors(): void;
|
|
2569
2525
|
|
|
2570
2526
|
export declare function removeCssVariables(theme: Theme): void;
|
|
@@ -2575,6 +2531,11 @@ export declare class ResourcesManagement implements IResourcesManagement {
|
|
|
2575
2531
|
addResources(resourcesMap: any): void;
|
|
2576
2532
|
}
|
|
2577
2533
|
|
|
2534
|
+
export declare class RootElementService implements IRootElementService_2 {
|
|
2535
|
+
readonly rootElementId: string;
|
|
2536
|
+
constructor(rootElementId: string);
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2578
2539
|
export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
|
|
2579
2540
|
private readonly application?;
|
|
2580
2541
|
domain: Domain;
|
|
@@ -2608,13 +2569,15 @@ declare enum SavePageStatus_2 {
|
|
|
2608
2569
|
|
|
2609
2570
|
export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
|
|
2610
2571
|
|
|
2611
|
-
declare enum ServerType {
|
|
2612
|
-
PostgreSQL,
|
|
2613
|
-
"MS SQL SERVER",
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
2572
|
export declare const ServicesContext: React_2.Context<IApplicationServices>;
|
|
2617
2573
|
|
|
2574
|
+
declare enum SessionFilterTypes {
|
|
2575
|
+
None = 0,
|
|
2576
|
+
Online = 1,
|
|
2577
|
+
Offline = 2,
|
|
2578
|
+
All = 3
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2618
2581
|
export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
|
|
2619
2582
|
|
|
2620
2583
|
export declare class SettingsNavigationService implements ISettingsNavigationService {
|
|
@@ -2642,22 +2605,6 @@ export declare function showNotification(text: string): void;
|
|
|
2642
2605
|
|
|
2643
2606
|
declare type Story = StoryObj<INavigationMenuProps>;
|
|
2644
2607
|
|
|
2645
|
-
declare enum TableLocationType {
|
|
2646
|
-
UseDefaultOrCurrent,
|
|
2647
|
-
UseOwnDatabase,
|
|
2648
|
-
UseOuterDatabase,
|
|
2649
|
-
UseTemporaryDatabase,
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
declare enum TableLocationTypeExtended {
|
|
2653
|
-
UseDefaultOrCurrent,
|
|
2654
|
-
UseOwnDatabase,
|
|
2655
|
-
UseOuterDatabase,
|
|
2656
|
-
UseTemporaryDatabase,
|
|
2657
|
-
InMemoryTableOwnDatabase,
|
|
2658
|
-
InMemoryTableOwnDatabaseNotPersistData,
|
|
2659
|
-
}
|
|
2660
|
-
|
|
2661
2608
|
export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
|
|
2662
2609
|
|
|
2663
2610
|
export declare class TenantsService implements ITenantsService {
|
|
@@ -2674,8 +2621,6 @@ export declare function TextMessage(props: ITextMessage): JSX.Element;
|
|
|
2674
2621
|
|
|
2675
2622
|
export declare const theme: Theme;
|
|
2676
2623
|
|
|
2677
|
-
declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
|
|
2678
|
-
|
|
2679
2624
|
export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
|
|
2680
2625
|
|
|
2681
2626
|
export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|