@docsvision/management-console 6.2.0-beta.1 → 6.2.0-beta.11
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 +171 -214
- package/index.js +36566 -39093
- 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;
|
|
@@ -1825,6 +1751,7 @@ export declare interface IPageLayoutModelElement {
|
|
|
1825
1751
|
elements?: IPageModelElement[];
|
|
1826
1752
|
extendedLayoutId?: string;
|
|
1827
1753
|
readonly?: boolean;
|
|
1754
|
+
inProcess?: boolean;
|
|
1828
1755
|
parameters?: Record<string, string>;
|
|
1829
1756
|
}
|
|
1830
1757
|
|
|
@@ -1842,6 +1769,7 @@ declare interface IPageLayoutModelElement_2 {
|
|
|
1842
1769
|
elements?: IPageModelElement_2[];
|
|
1843
1770
|
extendedLayoutId?: string;
|
|
1844
1771
|
readonly?: boolean;
|
|
1772
|
+
inProcess?: boolean;
|
|
1845
1773
|
parameters?: Record<string, string>;
|
|
1846
1774
|
}
|
|
1847
1775
|
|
|
@@ -1883,6 +1811,14 @@ declare interface IPageSaveModelElement_2 {
|
|
|
1883
1811
|
value: unknown;
|
|
1884
1812
|
}
|
|
1885
1813
|
|
|
1814
|
+
declare interface IPageSessionResult {
|
|
1815
|
+
queryId: string,
|
|
1816
|
+
result: ISessionInfo[],
|
|
1817
|
+
currentPage: number,
|
|
1818
|
+
hasMore: boolean,
|
|
1819
|
+
totalItemsCount: number
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1886
1822
|
export declare interface IPageTabLabelProps extends HtmlProps.div {
|
|
1887
1823
|
text: string;
|
|
1888
1824
|
selected: boolean;
|
|
@@ -1909,6 +1845,12 @@ export declare interface IPageTitleProps extends HtmlProps.div {
|
|
|
1909
1845
|
text: string;
|
|
1910
1846
|
}
|
|
1911
1847
|
|
|
1848
|
+
declare interface IPagingParameters {
|
|
1849
|
+
page: number,
|
|
1850
|
+
pageSize?: number,
|
|
1851
|
+
UsePagination?: boolean
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1912
1854
|
/**
|
|
1913
1855
|
* Сервис для раскрытия или закрытия всех панелей.
|
|
1914
1856
|
*/
|
|
@@ -1935,9 +1877,12 @@ export declare interface IPopupNotificationProps extends Noty_2.Options {
|
|
|
1935
1877
|
buttonsProps?: IButtonsProps[];
|
|
1936
1878
|
}
|
|
1937
1879
|
|
|
1938
|
-
declare interface
|
|
1939
|
-
|
|
1940
|
-
|
|
1880
|
+
export declare interface IProcessOverlayProps {
|
|
1881
|
+
children: React_2.ReactNode;
|
|
1882
|
+
inProcess?: boolean;
|
|
1883
|
+
message?: string;
|
|
1884
|
+
spinnerSize?: number;
|
|
1885
|
+
className?: string;
|
|
1941
1886
|
}
|
|
1942
1887
|
|
|
1943
1888
|
declare interface IRealtimeCommunicationService {
|
|
@@ -1976,6 +1921,14 @@ declare interface IResourcesMap_2 {
|
|
|
1976
1921
|
[id: string]: string;
|
|
1977
1922
|
}
|
|
1978
1923
|
|
|
1924
|
+
export declare interface IRootElementService {
|
|
1925
|
+
readonly rootElementId: string;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
declare interface IRootElementService_2 {
|
|
1929
|
+
readonly rootElementId: string;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1979
1932
|
export declare interface IRouteContentRenderService {
|
|
1980
1933
|
register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
|
|
1981
1934
|
$contentComponent: Store<JSX.Element>;
|
|
@@ -2018,23 +1971,6 @@ declare interface ISavePageResultModel_2 {
|
|
|
2018
1971
|
timestamp?: number;
|
|
2019
1972
|
}
|
|
2020
1973
|
|
|
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
1974
|
export declare interface ISectionContentWrapperProps extends IPageModelElement {
|
|
2039
1975
|
className?: string;
|
|
2040
1976
|
refElement?: React_2.RefObject<HTMLDivElement>;
|
|
@@ -2067,17 +2003,6 @@ export declare interface IServerExtensionResourcesDescriptor {
|
|
|
2067
2003
|
url: string;
|
|
2068
2004
|
}
|
|
2069
2005
|
|
|
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
2006
|
declare interface IServersController extends Service {
|
|
2082
2007
|
getServers(): Promise<IServerDescription[]>;
|
|
2083
2008
|
getServerInfo(id: string): Promise<IServerDetails>;
|
|
@@ -2102,6 +2027,49 @@ declare interface IServiceDescription_2 {
|
|
|
2102
2027
|
configurationLayoutId: string;
|
|
2103
2028
|
}
|
|
2104
2029
|
|
|
2030
|
+
declare interface ISessionCloseInfo {
|
|
2031
|
+
sessionId: string,
|
|
2032
|
+
message: string
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
declare interface ISessionInfo {
|
|
2036
|
+
id: string,
|
|
2037
|
+
userName: string,
|
|
2038
|
+
computerName: string,
|
|
2039
|
+
loginTime: string,
|
|
2040
|
+
inactivityTime: string,
|
|
2041
|
+
offline: boolean
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
declare interface ISessionsController extends Service {
|
|
2045
|
+
getSessionsCount(connectionId: string): Promise<IOpenSessionsCount>
|
|
2046
|
+
getSessions(connectionId, request: ISessionsGetRequest): Promise<ISessionsGetResponse>
|
|
2047
|
+
closeSessions(connectionId: string, sessionIds: string[]): Promise<ISessionCloseInfo[]>
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
declare interface ISessionsGetRequest {
|
|
2051
|
+
query: ISessionsQuery,
|
|
2052
|
+
pagingParameters: IPagingParameters
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
declare interface ISessionsGetResponse {
|
|
2056
|
+
licenseInfo: IUsedLicenseInfoModel,
|
|
2057
|
+
availableFilterTypes: SessionFilterTypes,
|
|
2058
|
+
pagedResult: IPageSessionResult
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
declare interface ISessionSortCondition {
|
|
2062
|
+
columnName: string,
|
|
2063
|
+
ascending: boolean,
|
|
2064
|
+
order: number
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
declare interface ISessionsQuery {
|
|
2068
|
+
queryId?: string,
|
|
2069
|
+
filterTypes: SessionFilterTypes,
|
|
2070
|
+
sortConditions: ISessionSortCondition[],
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2105
2073
|
export declare interface ISettingsNavigationService {
|
|
2106
2074
|
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2107
2075
|
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
@@ -2297,6 +2265,11 @@ export declare interface IUrlModel {
|
|
|
2297
2265
|
database?: string;
|
|
2298
2266
|
}
|
|
2299
2267
|
|
|
2268
|
+
declare interface IUsedLicenseInfoModel {
|
|
2269
|
+
totalCount: number,
|
|
2270
|
+
usedCount: number
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2300
2273
|
export declare interface IUserInfo {
|
|
2301
2274
|
/**
|
|
2302
2275
|
* User account name
|
|
@@ -2558,12 +2531,7 @@ declare enum PeriodType {
|
|
|
2558
2531
|
DateRange
|
|
2559
2532
|
}
|
|
2560
2533
|
|
|
2561
|
-
declare
|
|
2562
|
-
Running = 0,
|
|
2563
|
-
Finished = 1,
|
|
2564
|
-
Error = 2,
|
|
2565
|
-
Canceled = 3
|
|
2566
|
-
}
|
|
2534
|
+
export declare function ProcessOverlay(props: IProcessOverlayProps): JSX.Element;
|
|
2567
2535
|
|
|
2568
2536
|
export declare function registerEditors(): void;
|
|
2569
2537
|
|
|
@@ -2575,6 +2543,11 @@ export declare class ResourcesManagement implements IResourcesManagement {
|
|
|
2575
2543
|
addResources(resourcesMap: any): void;
|
|
2576
2544
|
}
|
|
2577
2545
|
|
|
2546
|
+
export declare class RootElementService implements IRootElementService_2 {
|
|
2547
|
+
readonly rootElementId: string;
|
|
2548
|
+
constructor(rootElementId: string);
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2578
2551
|
export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
|
|
2579
2552
|
private readonly application?;
|
|
2580
2553
|
domain: Domain;
|
|
@@ -2608,13 +2581,15 @@ declare enum SavePageStatus_2 {
|
|
|
2608
2581
|
|
|
2609
2582
|
export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
|
|
2610
2583
|
|
|
2611
|
-
declare enum ServerType {
|
|
2612
|
-
PostgreSQL,
|
|
2613
|
-
"MS SQL SERVER",
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
2584
|
export declare const ServicesContext: React_2.Context<IApplicationServices>;
|
|
2617
2585
|
|
|
2586
|
+
declare enum SessionFilterTypes {
|
|
2587
|
+
None = 0,
|
|
2588
|
+
Online = 1,
|
|
2589
|
+
Offline = 2,
|
|
2590
|
+
All = 3
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2618
2593
|
export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
|
|
2619
2594
|
|
|
2620
2595
|
export declare class SettingsNavigationService implements ISettingsNavigationService {
|
|
@@ -2642,22 +2617,6 @@ export declare function showNotification(text: string): void;
|
|
|
2642
2617
|
|
|
2643
2618
|
declare type Story = StoryObj<INavigationMenuProps>;
|
|
2644
2619
|
|
|
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
2620
|
export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
|
|
2662
2621
|
|
|
2663
2622
|
export declare class TenantsService implements ITenantsService {
|
|
@@ -2674,8 +2633,6 @@ export declare function TextMessage(props: ITextMessage): JSX.Element;
|
|
|
2674
2633
|
|
|
2675
2634
|
export declare const theme: Theme;
|
|
2676
2635
|
|
|
2677
|
-
declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
|
|
2678
|
-
|
|
2679
2636
|
export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
|
|
2680
2637
|
|
|
2681
2638
|
export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|