@docsvision/management-console 6.2.0-beta.2 → 6.2.0-beta.21
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 +378 -224
- package/index.js +94934 -89504
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
|
|
3
3
|
import { $ContextMenuOptions } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
4
|
-
import { $MessageWindow } from 'docsvision.web/components/modals/message-box';
|
|
5
4
|
import { $Router } from 'docsvision.web/core/routing';
|
|
6
5
|
import { $RoutingService } from 'docsvision.web/core/routing';
|
|
6
|
+
import { BodyContainerProvider } from 'docsvision.web/components/modals/body-container-provider';
|
|
7
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';
|
|
@@ -20,7 +21,6 @@ import { IconButtonProps } from '@mui/material';
|
|
|
20
21
|
import { ICustomContextMenuOption } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
21
22
|
import { IDateFormatPluginData } from 'docsvision.web/components/table/plugins/filter';
|
|
22
23
|
import { ILogService } from 'docsvision.web/core/system-services/logging/LogService';
|
|
23
|
-
import { IMessageWindowService } from 'docsvision.web/components/modals/message-box';
|
|
24
24
|
import { IRequestService } from 'docsvision.web/core/system-services/networking/RequestService';
|
|
25
25
|
import { IRouter } from 'docsvision.web/core/routing';
|
|
26
26
|
import { IRoutingService } from 'docsvision.web/core/routing';
|
|
@@ -53,6 +53,7 @@ import { TableCell } from '@mui/material';
|
|
|
53
53
|
import { TableCompositions } from 'docsvision.web/components/table/interfaces';
|
|
54
54
|
import { Theme } from '@mui/material';
|
|
55
55
|
import { TooltipProps } from '@mui/material';
|
|
56
|
+
import { TypographyProps } from '@mui/material';
|
|
56
57
|
import { UseFormGetFieldState } from 'react-hook-form';
|
|
57
58
|
import { UseFormGetValues } from 'react-hook-form';
|
|
58
59
|
import { UseFormHandleSubmit } from 'react-hook-form';
|
|
@@ -81,6 +82,10 @@ declare type $ApplicationSettings_2 = { applicationSettings: IApplicationSetting
|
|
|
81
82
|
|
|
82
83
|
declare const $ApplicationSettings_2 = serviceName((s: $ApplicationSettings_2) => s.applicationSettings);
|
|
83
84
|
|
|
85
|
+
declare type $ArchivationController = { archivationController: IArchivationController };
|
|
86
|
+
|
|
87
|
+
declare const $ArchivationController = serviceName((s: $ArchivationController) => s.archivationController);
|
|
88
|
+
|
|
84
89
|
declare type $CardUrl = { cardUrl: ICardUrl; };
|
|
85
90
|
|
|
86
91
|
declare const $CardUrl = serviceName((s: $CardUrl) => s.cardUrl);
|
|
@@ -99,21 +104,9 @@ declare type $DashboardConfigurationService_2 = { dashboardConfigurationService:
|
|
|
99
104
|
|
|
100
105
|
declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
|
|
101
106
|
|
|
102
|
-
declare type $
|
|
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);
|
|
107
|
+
declare type $DatabaseMaintenanceController = { databaseMaintenanceController: IDatabaseMaintenanceController };
|
|
113
108
|
|
|
114
|
-
declare
|
|
115
|
-
|
|
116
|
-
declare const $DatabaseWizard = serviceName((s: $DatabaseWizard) => s.databaseWizardService);
|
|
109
|
+
declare const $DatabaseMaintenanceController = serviceName((s: $DatabaseMaintenanceController) => s.databaseMaintenanceController);
|
|
117
110
|
|
|
118
111
|
export declare type $DomEntryPointService = {
|
|
119
112
|
domEntryPointService: IDomEntryPointService;
|
|
@@ -151,6 +144,16 @@ declare type $ExtensionsService_2 = { extensionsService: IExtensionsService_2 };
|
|
|
151
144
|
|
|
152
145
|
declare const $ExtensionsService_2 = serviceName((s: $ExtensionsService_2) => s.extensionsService);
|
|
153
146
|
|
|
147
|
+
declare type $ExternalStoragesController = { externalStoragesController: IExternalStoragesController };
|
|
148
|
+
|
|
149
|
+
declare const $ExternalStoragesController = serviceName((s: $ExternalStoragesController) => s.externalStoragesController);
|
|
150
|
+
|
|
151
|
+
declare type $ExternalStoragesController_2 = {
|
|
152
|
+
externalStoragesController: IExternalStoragesController_2;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
declare const $ExternalStoragesController_2: string | ((model?: $ExternalStoragesController_2) => IExternalStoragesController_2);
|
|
156
|
+
|
|
154
157
|
declare type $FilterPluginsLoading = { filterPluginsLoading: IFilterPluginsLoadingService };
|
|
155
158
|
|
|
156
159
|
declare const $FilterPluginsLoading = serviceName<$FilterPluginsLoading, IFilterPluginsLoadingService>(x => x.filterPluginsLoading);
|
|
@@ -195,6 +198,10 @@ declare type $LocalStorage_2 = { localStorage: ILocalStorage_2; };
|
|
|
195
198
|
|
|
196
199
|
declare const $LocalStorage_2 = serviceName((s: $LocalStorage_2) => s.localStorage);
|
|
197
200
|
|
|
201
|
+
declare type $MessageWindow = { messageWindow: IMessageWindowService; };
|
|
202
|
+
|
|
203
|
+
declare const $MessageWindow = serviceName((s: $MessageWindow) => s.messageWindow);
|
|
204
|
+
|
|
198
205
|
declare type $NavigationMenu = { navigationMenu: INavigationMenuService };
|
|
199
206
|
|
|
200
207
|
declare const $NavigationMenu = serviceName<$NavigationMenu, INavigationMenuService>(x => x.navigationMenu);
|
|
@@ -243,6 +250,16 @@ declare type $ResourcesManagement_2 = { resourcesManagement: IResourcesManagemen
|
|
|
243
250
|
|
|
244
251
|
declare const $ResourcesManagement_2 = serviceName((s: $ResourcesManagement_2) => s.resourcesManagement);
|
|
245
252
|
|
|
253
|
+
export declare type $RootElement = {
|
|
254
|
+
rootElement: IRootElementService;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export declare const $RootElement: string | ((model?: $RootElement) => IRootElementService);
|
|
258
|
+
|
|
259
|
+
declare type $RootElement_2 = { rootElement: IRootElementService_2 };
|
|
260
|
+
|
|
261
|
+
declare const $RootElement_2 = serviceName((s: $RootElement_2) => s.rootElement);
|
|
262
|
+
|
|
246
263
|
export declare type $RouteContentRender = {
|
|
247
264
|
routeContentRender: IRouteContentRenderService;
|
|
248
265
|
};
|
|
@@ -263,6 +280,14 @@ declare type $ServersController_2 = {
|
|
|
263
280
|
|
|
264
281
|
declare const $ServersController_2: string | ((model?: $ServersController_2) => IServersController_2);
|
|
265
282
|
|
|
283
|
+
declare type $SessionsController = { sessionsController: ISessionsController };
|
|
284
|
+
|
|
285
|
+
declare const $SessionsController = serviceName((s: $SessionsController) => s.sessionsController);
|
|
286
|
+
|
|
287
|
+
declare type $SettingsController = { settingsController: ISettingsController };
|
|
288
|
+
|
|
289
|
+
declare const $SettingsController = serviceName((s: $SettingsController) => s.settingsController);
|
|
290
|
+
|
|
266
291
|
export declare type $SettingsNavigation = {
|
|
267
292
|
settingsNavigation: ISettingsNavigationService;
|
|
268
293
|
};
|
|
@@ -340,13 +365,15 @@ export declare class Application extends ServiceContainer implements IApplicatio
|
|
|
340
365
|
serverController: IServersController_2;
|
|
341
366
|
settingsNavigation: ISettingsNavigationService;
|
|
342
367
|
formControl: IFormControl;
|
|
343
|
-
databaseWizardService: IDatabaseWizardService;
|
|
344
|
-
databaseMasterController: IDatabaseMasterController;
|
|
345
|
-
databasesConfigurationController: IDatabasesConfigurationController;
|
|
346
|
-
databasesController: IDatabasesController;
|
|
347
368
|
realtimeCommunication: IRealtimeCommunicationService_2;
|
|
369
|
+
sessionsController: ISessionsController;
|
|
348
370
|
configurationLocksController: IConfigurationLocksController;
|
|
349
371
|
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
372
|
+
databaseMaintenanceController: DatabaseMaintenanceController;
|
|
373
|
+
rootElement: IRootElementService_2;
|
|
374
|
+
externalStoragesController: IExternalStoragesController_2;
|
|
375
|
+
settingsController: ISettingsController;
|
|
376
|
+
archivationController: IArchivationController;
|
|
350
377
|
constructor(reactRootElementId: string);
|
|
351
378
|
static instance: IApplication;
|
|
352
379
|
initialize(): Promise<void>;
|
|
@@ -374,8 +401,9 @@ declare enum BreadcrumbsLabel {
|
|
|
374
401
|
PageOutgoingMessagesQueue,
|
|
375
402
|
WidgetSearchForCardMessages,
|
|
376
403
|
PageSearchForCardMessages,
|
|
377
|
-
PageErrorAndBlockLog
|
|
378
|
-
|
|
404
|
+
PageErrorAndBlockLog,
|
|
405
|
+
WidgetOpenSessions,
|
|
406
|
+
PageOpenSessions
|
|
379
407
|
}
|
|
380
408
|
|
|
381
409
|
declare enum BreadcrumbsLabel_2 {
|
|
@@ -385,7 +413,14 @@ declare enum BreadcrumbsLabel_2 {
|
|
|
385
413
|
PageOutgoingMessagesQueue = 3,
|
|
386
414
|
WidgetSearchForCardMessages = 4,
|
|
387
415
|
PageSearchForCardMessages = 5,
|
|
388
|
-
PageErrorAndBlockLog = 6
|
|
416
|
+
PageErrorAndBlockLog = 6,
|
|
417
|
+
WidgetOpenSessions = 7,
|
|
418
|
+
PageOpenSessions = 8
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
declare enum ButtonColorModes {
|
|
422
|
+
Primary = 0,
|
|
423
|
+
Secondary = 1
|
|
389
424
|
}
|
|
390
425
|
|
|
391
426
|
export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.Element;
|
|
@@ -406,18 +441,6 @@ export declare const commonMuiProps: {
|
|
|
406
441
|
|
|
407
442
|
export declare function ComponentIcon(props: IComponentIconProps): JSX.Element;
|
|
408
443
|
|
|
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
444
|
export declare const convertBase64ToString: (base64: string) => string;
|
|
422
445
|
|
|
423
446
|
export declare const convertDataToBase64: (data: object) => string;
|
|
@@ -481,29 +504,28 @@ export declare class DashboardConfigurationService implements IDashboardConfigur
|
|
|
481
504
|
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
482
505
|
}
|
|
483
506
|
|
|
484
|
-
|
|
507
|
+
declare class DatabaseMaintenanceController implements IDatabaseMaintenanceController {
|
|
508
|
+
name = "DatabaseMaintenance";
|
|
509
|
+
meta = null;
|
|
510
|
+
baseUrl = "api/databaseMaintenance";
|
|
485
511
|
|
|
486
|
-
|
|
512
|
+
constructor(private readonly requestService: IRequestService) {
|
|
513
|
+
}
|
|
487
514
|
|
|
488
|
-
|
|
515
|
+
clearRecycleBin(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
|
|
516
|
+
return this.requestService.post(`${this.baseUrl}/clearRecycleBin`, {serviceId, pageId, elementId, databaseAlias});
|
|
517
|
+
}
|
|
489
518
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
Creating,
|
|
494
|
-
Attaching
|
|
519
|
+
recreateTasks(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
|
|
520
|
+
return this.requestService.post(`${this.baseUrl}/recreateTasks`, {serviceId, pageId, elementId, databaseAlias});
|
|
521
|
+
}
|
|
495
522
|
}
|
|
496
523
|
|
|
497
|
-
declare
|
|
498
|
-
Postgre,
|
|
499
|
-
SQL
|
|
500
|
-
}
|
|
524
|
+
export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
|
|
501
525
|
|
|
502
|
-
declare
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
Update
|
|
506
|
-
}
|
|
526
|
+
export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
|
|
527
|
+
|
|
528
|
+
export declare type DatabaseSettingsCardSize = "sm" | "md";
|
|
507
529
|
|
|
508
530
|
export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRangeProps>;
|
|
509
531
|
|
|
@@ -535,6 +557,10 @@ export declare function DropdownBody(props: IDropdownBodyProps): JSX.Element;
|
|
|
535
557
|
|
|
536
558
|
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>>;
|
|
537
559
|
|
|
560
|
+
export declare function DropdownWithEllipsis(props: IDropdownWithEllipsisProps): JSX.Element;
|
|
561
|
+
|
|
562
|
+
export declare function EditorCollectionEditor(props: IEditorCollectionEditorProps): JSX.Element;
|
|
563
|
+
|
|
538
564
|
export declare function EditorContainer(props: IEditorContainer): JSX.Element;
|
|
539
565
|
|
|
540
566
|
export declare function EditorDescription({ text }: {
|
|
@@ -607,6 +633,7 @@ export declare class ExtensionsService implements IExtensionsService {
|
|
|
607
633
|
private getExtensionsLoadingInfo;
|
|
608
634
|
private loadJSModule;
|
|
609
635
|
private loadStyles;
|
|
636
|
+
private buildExtensionAssetUrl;
|
|
610
637
|
private loadExtensionResources;
|
|
611
638
|
}
|
|
612
639
|
|
|
@@ -662,7 +689,7 @@ export declare const getThisMonthBeginAndEndDays: () => {
|
|
|
662
689
|
endMonthDate: string;
|
|
663
690
|
};
|
|
664
691
|
|
|
665
|
-
export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2;
|
|
692
|
+
export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2 | 3;
|
|
666
693
|
|
|
667
694
|
export declare function GroupPanel(props: IGroupPanelProps): JSX.Element;
|
|
668
695
|
|
|
@@ -737,7 +764,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
|
|
|
737
764
|
declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
|
|
738
765
|
}
|
|
739
766
|
|
|
740
|
-
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, $
|
|
767
|
+
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, $SettingsController, $ExternalStoragesController_2, $ArchivationController, $DatabaseMaintenanceController {
|
|
741
768
|
}
|
|
742
769
|
|
|
743
770
|
declare interface IApplicationServices_2 extends
|
|
@@ -768,12 +795,14 @@ $SettingsNavigation_2,
|
|
|
768
795
|
$FormControl_2,
|
|
769
796
|
$ExtendedConfigurationController,
|
|
770
797
|
$RealtimeCommunication,
|
|
771
|
-
$
|
|
772
|
-
$
|
|
773
|
-
$
|
|
774
|
-
$
|
|
775
|
-
$
|
|
776
|
-
|
|
798
|
+
$ConfigurationLocksController,
|
|
799
|
+
$SessionsController,
|
|
800
|
+
$RootElement_2,
|
|
801
|
+
$SettingsController,
|
|
802
|
+
$ExternalStoragesController,
|
|
803
|
+
$ArchivationController,
|
|
804
|
+
$DatabaseMaintenanceController
|
|
805
|
+
{
|
|
777
806
|
}
|
|
778
807
|
|
|
779
808
|
export declare interface IApplicationSettings {
|
|
@@ -852,6 +881,18 @@ declare interface IApplicationSettings_2 {
|
|
|
852
881
|
view: IViewSettings;
|
|
853
882
|
}
|
|
854
883
|
|
|
884
|
+
declare interface IArchivationController extends Service {
|
|
885
|
+
performArchivation(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
declare interface IAssemblyValidationResponse extends IValidationResponse {
|
|
889
|
+
className?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
declare interface IAssemblyValidationResponse_2 extends IValidationResponse_2 {
|
|
893
|
+
className?: string;
|
|
894
|
+
}
|
|
895
|
+
|
|
855
896
|
export declare interface IAvailableLocalesSettings {
|
|
856
897
|
/**
|
|
857
898
|
* Language display name
|
|
@@ -986,12 +1027,6 @@ declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
|
|
|
986
1027
|
operation: IChangeOperationType_2;
|
|
987
1028
|
}
|
|
988
1029
|
|
|
989
|
-
declare interface IConnectionStatusInfo {
|
|
990
|
-
status: ConnectionStatus;
|
|
991
|
-
message: string;
|
|
992
|
-
uniqueServerName?: string;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
1030
|
export declare interface IContainerProps extends HtmlProps.button {
|
|
996
1031
|
title?: string;
|
|
997
1032
|
content?: JSX.Element | string;
|
|
@@ -1003,6 +1038,11 @@ export declare interface IContextMenuParameters {
|
|
|
1003
1038
|
currentCardId?: string;
|
|
1004
1039
|
}
|
|
1005
1040
|
|
|
1041
|
+
declare interface ICopySettingsRequest {
|
|
1042
|
+
sourceServiceId: string;
|
|
1043
|
+
targetServiceId: string;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1006
1046
|
export declare interface ICultureSettings {
|
|
1007
1047
|
/**
|
|
1008
1048
|
* First day of week
|
|
@@ -1107,6 +1147,14 @@ declare interface ICultureSettings_2 {
|
|
|
1107
1147
|
twoLetterISOLanguageName: string,
|
|
1108
1148
|
}
|
|
1109
1149
|
|
|
1150
|
+
declare interface ICustomMessageWindowOptions extends IMessageWindowOptions {
|
|
1151
|
+
color?: string;
|
|
1152
|
+
hideByBackdropClick?: boolean;
|
|
1153
|
+
boxDefaultWidth?: boolean;
|
|
1154
|
+
boxMaxWidth?: string | number;
|
|
1155
|
+
className?: string;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1110
1158
|
export declare interface IDashboard {
|
|
1111
1159
|
id: string;
|
|
1112
1160
|
title: string;
|
|
@@ -1149,48 +1197,9 @@ declare interface IDashboardPosition_2 {
|
|
|
1149
1197
|
order: number;
|
|
1150
1198
|
}
|
|
1151
1199
|
|
|
1152
|
-
declare interface
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
databaseType: DatabaseType;
|
|
1156
|
-
serverName: string;
|
|
1157
|
-
isDefault: boolean;
|
|
1158
|
-
databaseState: DatabaseState;
|
|
1159
|
-
deleted: boolean;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
declare interface IDatabaseInfo {
|
|
1163
|
-
databaseAlias: string;
|
|
1164
|
-
connectionStatus: IConnectionStatusInfo;
|
|
1165
|
-
baseVersion: unknown;
|
|
1166
|
-
updateDate: string;
|
|
1167
|
-
fullTextSearchEnabled: boolean;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
declare interface IDatabaseMasterController extends Service {
|
|
1171
|
-
setState(serverId: string, state: IDatabaseMasterModel): Promise<void>;
|
|
1172
|
-
getState(serverId: string, databaseAlias: string): Promise<IDatabaseMasterModel>;
|
|
1173
|
-
deleteState(serverId: string, databaseAlias: string): Promise<void>;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
declare interface IDatabaseMasterModel {
|
|
1177
|
-
serverParameters?: IServerParameters;
|
|
1178
|
-
databaseParameters?: IDatabaseParameters;
|
|
1179
|
-
scriptGenerationParameters?: IScriptGenerationParameters;
|
|
1180
|
-
libraries?: string[];
|
|
1181
|
-
timeout?: number;
|
|
1182
|
-
localeId?: number;
|
|
1183
|
-
dbFilePath?: string;
|
|
1184
|
-
currentPageName: string;
|
|
1185
|
-
state?: IDatabaseMasterState;
|
|
1186
|
-
lastProcessError?: string;
|
|
1187
|
-
masterType: DatabaseWizardMode;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
declare enum IDatabaseMasterState {
|
|
1191
|
-
Preparing = 0,
|
|
1192
|
-
InProcess = 1,
|
|
1193
|
-
ProcessFinished = 2
|
|
1200
|
+
declare interface IDatabaseMaintenanceController extends Service {
|
|
1201
|
+
clearRecycleBin(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
1202
|
+
recreateTasks(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
1194
1203
|
}
|
|
1195
1204
|
|
|
1196
1205
|
export declare interface IDatabaseModel {
|
|
@@ -1203,34 +1212,6 @@ export declare interface IDatabaseModel {
|
|
|
1203
1212
|
error?: string;
|
|
1204
1213
|
}
|
|
1205
1214
|
|
|
1206
|
-
declare interface IDatabaseParameters {
|
|
1207
|
-
alias: string;
|
|
1208
|
-
databaseName: string;
|
|
1209
|
-
additionalOptions?: Record<string, string>;
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
declare interface IDatabasesConfigurationController extends Service {
|
|
1213
|
-
getDefault(serviceId: string): Promise<string>;
|
|
1214
|
-
setDefault(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1215
|
-
add(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1216
|
-
delete(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1217
|
-
all(serviceId: string): Promise<IDatabase[]>;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
declare interface IDatabasesController extends Service {
|
|
1221
|
-
create(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1222
|
-
update(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1223
|
-
status(serviceId: string, databaseAlias: string): Promise<IProcessStatus>;
|
|
1224
|
-
stop(serviceId: string, databaseAlias: string): Promise<void>;
|
|
1225
|
-
databases(serviceId: string, serverParameters: IServerParameters): Promise<string[]>;
|
|
1226
|
-
checkSqlServerConnection(serviceId: string, serverParameters: IServerParameters): Promise<IConnectionStatusInfo>;
|
|
1227
|
-
checkSqlDatabaseConnection(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters): Promise<IConnectionStatusInfo>;
|
|
1228
|
-
checkSqlDatabaseConnectionFull(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters)
|
|
1229
|
-
: Promise<IConnectionStatusInfo>;
|
|
1230
|
-
info(serviceId: string): Promise<IDatabaseInfo[]>;
|
|
1231
|
-
libraries(serviceId: string, databaseAlias: string): Promise<IScriptGenerationModel>
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
1215
|
export declare interface IDatabaseSelectionModalProps {
|
|
1235
1216
|
open: boolean;
|
|
1236
1217
|
databases: IDatabaseModel[];
|
|
@@ -1245,12 +1226,7 @@ export declare interface IDatabaseSettingsCardProps {
|
|
|
1245
1226
|
isDefault: boolean;
|
|
1246
1227
|
children?: React_2.ReactNode;
|
|
1247
1228
|
size?: DatabaseSettingsCardSize;
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
declare interface IDatabaseWizardService extends Service {
|
|
1251
|
-
openCreateMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1252
|
-
openUpdateMode(serviceId: string, databaseAlias: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1253
|
-
openConnectMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
|
|
1229
|
+
error?: string;
|
|
1254
1230
|
}
|
|
1255
1231
|
|
|
1256
1232
|
export declare interface IDateRangeComponent {
|
|
@@ -1320,6 +1296,27 @@ export declare interface IDropdownOptionProps extends Omit<MenuItemProps, "butto
|
|
|
1320
1296
|
displayName: string;
|
|
1321
1297
|
}
|
|
1322
1298
|
|
|
1299
|
+
export declare interface IDropdownWithEllipsisProps {
|
|
1300
|
+
options: IPageElementOption_2[];
|
|
1301
|
+
value: string;
|
|
1302
|
+
label: string;
|
|
1303
|
+
handleChange: (value: string) => void;
|
|
1304
|
+
field: ControllerRenderProps<FieldValues, string>;
|
|
1305
|
+
dataTestId?: string;
|
|
1306
|
+
className?: string;
|
|
1307
|
+
noOptionsText?: string;
|
|
1308
|
+
disabled?: boolean;
|
|
1309
|
+
showLabelWhenSelected?: boolean;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
export declare interface IEditorCollectionEditorProps extends IPageModelElement {
|
|
1313
|
+
children: React_2.ReactNode | React_2.ReactNode[];
|
|
1314
|
+
isChanged?: boolean;
|
|
1315
|
+
resetValue?: () => void;
|
|
1316
|
+
className?: string;
|
|
1317
|
+
isEditable?: boolean;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1323
1320
|
export declare interface IEditorContainer extends IPageModelElement {
|
|
1324
1321
|
children: React_2.ReactNode;
|
|
1325
1322
|
isChanged?: boolean;
|
|
@@ -1463,12 +1460,14 @@ declare interface IExtensionInfo_2 {
|
|
|
1463
1460
|
export declare interface IExtensionLoadingInfo {
|
|
1464
1461
|
enabled: boolean;
|
|
1465
1462
|
folderName: string;
|
|
1463
|
+
cacheKey?: string;
|
|
1466
1464
|
order: number;
|
|
1467
1465
|
}
|
|
1468
1466
|
|
|
1469
1467
|
declare interface IExtensionLoadingInfo_2 {
|
|
1470
1468
|
enabled: boolean;
|
|
1471
1469
|
folderName: string;
|
|
1470
|
+
cacheKey?: string;
|
|
1472
1471
|
order: number;
|
|
1473
1472
|
}
|
|
1474
1473
|
|
|
@@ -1490,6 +1489,26 @@ declare interface IExtensionsService_2 {
|
|
|
1490
1489
|
getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
|
|
1491
1490
|
}
|
|
1492
1491
|
|
|
1492
|
+
declare interface IExternalStoragesController extends Service {
|
|
1493
|
+
getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel[]>;
|
|
1494
|
+
getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel[]>;
|
|
1495
|
+
validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse>;
|
|
1496
|
+
validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse>;
|
|
1497
|
+
validateFile(serviceId: string, file: string): Promise<IValidationResponse>;
|
|
1498
|
+
validatePath(serviceId: string, path: string): Promise<IValidationResponse>;
|
|
1499
|
+
validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse>;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
declare interface IExternalStoragesController_2 extends Service {
|
|
1503
|
+
getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel_2[]>;
|
|
1504
|
+
getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel_2[]>;
|
|
1505
|
+
validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse_2>;
|
|
1506
|
+
validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse_2>;
|
|
1507
|
+
validateFile(serviceId: string, file: string): Promise<IValidationResponse_2>;
|
|
1508
|
+
validatePath(serviceId: string, path: string): Promise<IValidationResponse_2>;
|
|
1509
|
+
validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse_2>;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1493
1512
|
export declare interface IFilteringClearButtonProps {
|
|
1494
1513
|
onChange(value: (string | Moment)[]): void;
|
|
1495
1514
|
visible: boolean;
|
|
@@ -1563,6 +1582,11 @@ declare interface IHelpIconButtonProps {
|
|
|
1563
1582
|
transformOrigin?: PopoverOrigin;
|
|
1564
1583
|
}
|
|
1565
1584
|
|
|
1585
|
+
declare interface IInfoBanner {
|
|
1586
|
+
text: string;
|
|
1587
|
+
typographyProps?: TypographyProps;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1566
1590
|
export declare interface IInformationIconProps {
|
|
1567
1591
|
className?: string;
|
|
1568
1592
|
color?: string;
|
|
@@ -1584,19 +1608,6 @@ declare interface ILayoutService_2 extends Service {
|
|
|
1584
1608
|
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement_2[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel_2>;
|
|
1585
1609
|
}
|
|
1586
1610
|
|
|
1587
|
-
declare interface ILibrary {
|
|
1588
|
-
id: string,
|
|
1589
|
-
alias: string,
|
|
1590
|
-
name: string,
|
|
1591
|
-
cardLibVersion: number,
|
|
1592
|
-
dbVersion: number,
|
|
1593
|
-
dbSysVersion: number;
|
|
1594
|
-
haveUserMetadata: boolean;
|
|
1595
|
-
haveUnknownLinks?: boolean;
|
|
1596
|
-
canUpdate?: boolean;
|
|
1597
|
-
libraryDependencies: TLibraryDependency[];
|
|
1598
|
-
}
|
|
1599
|
-
|
|
1600
1611
|
declare interface ILineWithError {
|
|
1601
1612
|
error: string;
|
|
1602
1613
|
}
|
|
@@ -1614,6 +1625,7 @@ declare interface IListPanelProps {
|
|
|
1614
1625
|
disabled?: boolean;
|
|
1615
1626
|
validate?: (value: string) => Promise<boolean>;
|
|
1616
1627
|
errorMessage?: string;
|
|
1628
|
+
services: IApplicationServices;
|
|
1617
1629
|
}
|
|
1618
1630
|
|
|
1619
1631
|
export declare interface ILocalizationService {
|
|
@@ -1767,6 +1779,40 @@ declare interface IMenuItem_2 {
|
|
|
1767
1779
|
refElement?: React.RefObject<HTMLDivElement>;
|
|
1768
1780
|
}
|
|
1769
1781
|
|
|
1782
|
+
declare interface IMessageConfirmationWindowOptions extends IMessageWindowOptions {
|
|
1783
|
+
color?: string;
|
|
1784
|
+
modalIcon?: React_2.ReactNode;
|
|
1785
|
+
hideByBackdropClick?: boolean;
|
|
1786
|
+
closeOnEscape?: boolean;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
declare interface IMessageWindowButton<T> {
|
|
1790
|
+
name?: React_2.ReactNode | string;
|
|
1791
|
+
value?: T;
|
|
1792
|
+
id?: string;
|
|
1793
|
+
isCancel?: boolean;
|
|
1794
|
+
onClick?: () => void;
|
|
1795
|
+
className?: string;
|
|
1796
|
+
colorMode?: ButtonColorModes;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
declare interface IMessageWindowOptions {
|
|
1800
|
+
customCaptionText?: React_2.ReactNode;
|
|
1801
|
+
contentMaxHeight?: string | number;
|
|
1802
|
+
customButtonOkText?: React_2.ReactNode;
|
|
1803
|
+
withConfirmation?: boolean;
|
|
1804
|
+
customButtonCancelText?: React_2.ReactNode;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
declare interface IMessageWindowService {
|
|
1808
|
+
showError(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1809
|
+
showInfo(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1810
|
+
showWarning(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1811
|
+
showConfirmation(content: React.ReactNode, options?: IMessageConfirmationWindowOptions): Promise<void>;
|
|
1812
|
+
showCustom<T>(content: React.ReactNode, buttons: IMessageWindowButton<T>[], options?: ICustomMessageWindowOptions): Promise<T | void>;
|
|
1813
|
+
getMessageBoxContainer(): BodyContainerProvider;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1770
1816
|
export declare interface IMetaInformation {
|
|
1771
1817
|
readOnly: boolean;
|
|
1772
1818
|
acceptMessage: string;
|
|
@@ -1804,17 +1850,22 @@ declare enum IncomingMessageState {
|
|
|
1804
1850
|
Paused = 4
|
|
1805
1851
|
}
|
|
1806
1852
|
|
|
1853
|
+
export declare function InfoBanner({ text, typographyProps }: IInfoBanner): JSX.Element;
|
|
1854
|
+
|
|
1807
1855
|
export declare function InformationIcon(props: IInformationIconProps): JSX.Element;
|
|
1808
1856
|
|
|
1809
|
-
declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant"> {
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1857
|
+
declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant" | "value" | "onChange" | "type" | "defaultValue"> {
|
|
1858
|
+
minValue?: string | number;
|
|
1859
|
+
maxValue?: string | number;
|
|
1860
|
+
value?: string;
|
|
1861
|
+
onChange: (value: string) => void;
|
|
1862
|
+
allowDecimals?: boolean;
|
|
1863
|
+
numberDecimalSeparator?: string;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
declare interface IOpenSessionsCount {
|
|
1867
|
+
onlineCount: number,
|
|
1868
|
+
offlineCount: number,
|
|
1818
1869
|
}
|
|
1819
1870
|
|
|
1820
1871
|
export declare interface IPageElementOption {
|
|
@@ -1850,6 +1901,7 @@ export declare interface IPageLayoutModelElement {
|
|
|
1850
1901
|
elements?: IPageModelElement[];
|
|
1851
1902
|
extendedLayoutId?: string;
|
|
1852
1903
|
readonly?: boolean;
|
|
1904
|
+
inProcess?: boolean;
|
|
1853
1905
|
parameters?: Record<string, string>;
|
|
1854
1906
|
}
|
|
1855
1907
|
|
|
@@ -1867,6 +1919,7 @@ declare interface IPageLayoutModelElement_2 {
|
|
|
1867
1919
|
elements?: IPageModelElement_2[];
|
|
1868
1920
|
extendedLayoutId?: string;
|
|
1869
1921
|
readonly?: boolean;
|
|
1922
|
+
inProcess?: boolean;
|
|
1870
1923
|
parameters?: Record<string, string>;
|
|
1871
1924
|
}
|
|
1872
1925
|
|
|
@@ -1908,6 +1961,14 @@ declare interface IPageSaveModelElement_2 {
|
|
|
1908
1961
|
value: unknown;
|
|
1909
1962
|
}
|
|
1910
1963
|
|
|
1964
|
+
declare interface IPageSessionResult {
|
|
1965
|
+
queryId: string,
|
|
1966
|
+
result: ISessionInfo[],
|
|
1967
|
+
currentPage: number,
|
|
1968
|
+
hasMore: boolean,
|
|
1969
|
+
totalItemsCount: number
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1911
1972
|
export declare interface IPageTabLabelProps extends HtmlProps.div {
|
|
1912
1973
|
text: string;
|
|
1913
1974
|
selected: boolean;
|
|
@@ -1934,6 +1995,12 @@ export declare interface IPageTitleProps extends HtmlProps.div {
|
|
|
1934
1995
|
text: string;
|
|
1935
1996
|
}
|
|
1936
1997
|
|
|
1998
|
+
declare interface IPagingParameters {
|
|
1999
|
+
page: number,
|
|
2000
|
+
pageSize?: number,
|
|
2001
|
+
UsePagination?: boolean
|
|
2002
|
+
}
|
|
2003
|
+
|
|
1937
2004
|
/**
|
|
1938
2005
|
* Сервис для раскрытия или закрытия всех панелей.
|
|
1939
2006
|
*/
|
|
@@ -1960,9 +2027,12 @@ export declare interface IPopupNotificationProps extends Noty_2.Options {
|
|
|
1960
2027
|
buttonsProps?: IButtonsProps[];
|
|
1961
2028
|
}
|
|
1962
2029
|
|
|
1963
|
-
declare interface
|
|
1964
|
-
|
|
1965
|
-
|
|
2030
|
+
export declare interface IProcessOverlayProps {
|
|
2031
|
+
children: React_2.ReactNode;
|
|
2032
|
+
inProcess?: boolean;
|
|
2033
|
+
message?: string;
|
|
2034
|
+
spinnerSize?: number;
|
|
2035
|
+
className?: string;
|
|
1966
2036
|
}
|
|
1967
2037
|
|
|
1968
2038
|
declare interface IRealtimeCommunicationService {
|
|
@@ -2001,6 +2071,14 @@ declare interface IResourcesMap_2 {
|
|
|
2001
2071
|
[id: string]: string;
|
|
2002
2072
|
}
|
|
2003
2073
|
|
|
2074
|
+
export declare interface IRootElementService {
|
|
2075
|
+
readonly rootElementId: string;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
declare interface IRootElementService_2 {
|
|
2079
|
+
readonly rootElementId: string;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2004
2082
|
export declare interface IRouteContentRenderService {
|
|
2005
2083
|
register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
|
|
2006
2084
|
$contentComponent: Store<JSX.Element>;
|
|
@@ -2043,23 +2121,6 @@ declare interface ISavePageResultModel_2 {
|
|
|
2043
2121
|
timestamp?: number;
|
|
2044
2122
|
}
|
|
2045
2123
|
|
|
2046
|
-
declare interface IScriptGenerationModel {
|
|
2047
|
-
scriptGeneratorVersion: number,
|
|
2048
|
-
libraries: ILibrary[]
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
declare interface IScriptGenerationParameters {
|
|
2052
|
-
searchDataBaseType: TableLocationType,
|
|
2053
|
-
changedObjectDataBaseType: TableLocationTypeExtended,
|
|
2054
|
-
iconDataBaseType: TableLocationType,
|
|
2055
|
-
keysetDataBaseType: TableLocationType,
|
|
2056
|
-
fileCursorDataBaseType: TableLocationType,
|
|
2057
|
-
cursorDataBaseType: TableLocationType,
|
|
2058
|
-
useOuterMetadata: boolean,
|
|
2059
|
-
useOuterLog: boolean,
|
|
2060
|
-
useOuterArchive: boolean,
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
2124
|
export declare interface ISectionContentWrapperProps extends IPageModelElement {
|
|
2064
2125
|
className?: string;
|
|
2065
2126
|
refElement?: React_2.RefObject<HTMLDivElement>;
|
|
@@ -2092,27 +2153,20 @@ export declare interface IServerExtensionResourcesDescriptor {
|
|
|
2092
2153
|
url: string;
|
|
2093
2154
|
}
|
|
2094
2155
|
|
|
2095
|
-
declare interface IServerParameters {
|
|
2096
|
-
serverName: string;
|
|
2097
|
-
serverType: ServerType;
|
|
2098
|
-
user: string;
|
|
2099
|
-
password: string;
|
|
2100
|
-
passwordChanged?: boolean;
|
|
2101
|
-
port?: number;
|
|
2102
|
-
integratedSecurity: boolean;
|
|
2103
|
-
trustServerCertificate?: boolean;
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
2156
|
declare interface IServersController extends Service {
|
|
2107
2157
|
getServers(): Promise<IServerDescription[]>;
|
|
2108
2158
|
getServerInfo(id: string): Promise<IServerDetails>;
|
|
2159
|
+
getServiceInfo(serviceId: string): Promise<IServiceDescription | null>;
|
|
2109
2160
|
deleteService(id: string): Promise<void>;
|
|
2161
|
+
getPeers(id: string): Promise<IServiceInfo[]>;
|
|
2110
2162
|
}
|
|
2111
2163
|
|
|
2112
2164
|
declare interface IServersController_2 extends Service {
|
|
2113
2165
|
getServers(): Promise<IServerDescription_2[]>;
|
|
2114
2166
|
getServerInfo(id: string): Promise<IServerDetails_2>;
|
|
2167
|
+
getServiceInfo(serviceId: string): Promise<IServiceDescription_2 | null>;
|
|
2115
2168
|
deleteService(id: string): Promise<void>;
|
|
2169
|
+
getPeers(id: string): Promise<IServiceInfo_2[]>;
|
|
2116
2170
|
}
|
|
2117
2171
|
|
|
2118
2172
|
declare interface IServiceDescription {
|
|
@@ -2127,11 +2181,77 @@ declare interface IServiceDescription_2 {
|
|
|
2127
2181
|
configurationLayoutId: string;
|
|
2128
2182
|
}
|
|
2129
2183
|
|
|
2184
|
+
declare interface IServiceInfo {
|
|
2185
|
+
id: string;
|
|
2186
|
+
serviceTypeCode: number;
|
|
2187
|
+
serverName: string;
|
|
2188
|
+
productVersion: string;
|
|
2189
|
+
codeVersion: string;
|
|
2190
|
+
lastUpdated?: string;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
declare interface IServiceInfo_2 {
|
|
2194
|
+
id: string;
|
|
2195
|
+
serviceTypeCode: number;
|
|
2196
|
+
serverName: string;
|
|
2197
|
+
productVersion: string;
|
|
2198
|
+
codeVersion: string;
|
|
2199
|
+
lastUpdated?: string;
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
declare interface ISessionCloseInfo {
|
|
2203
|
+
sessionId: string,
|
|
2204
|
+
message: string
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
declare interface ISessionInfo {
|
|
2208
|
+
id: string,
|
|
2209
|
+
userName: string,
|
|
2210
|
+
computerName: string,
|
|
2211
|
+
loginTime: string,
|
|
2212
|
+
inactivityTime: string,
|
|
2213
|
+
offline: boolean
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
declare interface ISessionsController extends Service {
|
|
2217
|
+
getSessionsCount(connectionId: string): Promise<IOpenSessionsCount>
|
|
2218
|
+
getSessions(connectionId, request: ISessionsGetRequest): Promise<ISessionsGetResponse>
|
|
2219
|
+
closeSessions(connectionId: string, sessionIds: string[]): Promise<ISessionCloseInfo[]>
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
declare interface ISessionsGetRequest {
|
|
2223
|
+
query: ISessionsQuery,
|
|
2224
|
+
pagingParameters: IPagingParameters
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
declare interface ISessionsGetResponse {
|
|
2228
|
+
licenseInfo: IUsedLicenseInfoModel,
|
|
2229
|
+
availableFilterTypes: SessionFilterTypes,
|
|
2230
|
+
pagedResult: IPageSessionResult
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
declare interface ISessionSortCondition {
|
|
2234
|
+
columnName: string,
|
|
2235
|
+
ascending: boolean,
|
|
2236
|
+
order: number
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
declare interface ISessionsQuery {
|
|
2240
|
+
queryId?: string,
|
|
2241
|
+
filterTypes: SessionFilterTypes,
|
|
2242
|
+
sortConditions: ISessionSortCondition[],
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
declare interface ISettingsController extends Service {
|
|
2246
|
+
copy(request: ICopySettingsRequest): Promise<void>;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2130
2249
|
export declare interface ISettingsNavigationService {
|
|
2131
2250
|
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2132
2251
|
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
2133
2252
|
goToConfigurationPage: () => void;
|
|
2134
2253
|
getBreadcrumbsItems: () => IBreadcrumbsItems_2[];
|
|
2254
|
+
ensureServiceName: (serviceId?: string) => Promise<void>;
|
|
2135
2255
|
}
|
|
2136
2256
|
|
|
2137
2257
|
declare interface ISettingsNavigationService_2 {
|
|
@@ -2139,6 +2259,7 @@ declare interface ISettingsNavigationService_2 {
|
|
|
2139
2259
|
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
2140
2260
|
goToConfigurationPage: () => void;
|
|
2141
2261
|
getBreadcrumbsItems: () => IBreadcrumbsItems[];
|
|
2262
|
+
ensureServiceName: (serviceId?: string) => Promise<void>;
|
|
2142
2263
|
}
|
|
2143
2264
|
|
|
2144
2265
|
export declare interface ISettingsPageButtonPanelProps extends HtmlProps_2.div {
|
|
@@ -2162,6 +2283,22 @@ export declare interface IStaticExtensionResourcesDescriptor {
|
|
|
2162
2283
|
fileName?: string;
|
|
2163
2284
|
}
|
|
2164
2285
|
|
|
2286
|
+
declare interface IStorageTypeModel {
|
|
2287
|
+
id: string;
|
|
2288
|
+
displayName: string;
|
|
2289
|
+
assemblyName: string;
|
|
2290
|
+
supportedPartions: number;
|
|
2291
|
+
isIntegratedStorage: boolean;
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
declare interface IStorageTypeModel_2 {
|
|
2295
|
+
id: string;
|
|
2296
|
+
displayName: string;
|
|
2297
|
+
assemblyName: string;
|
|
2298
|
+
supportedPartions: number;
|
|
2299
|
+
isIntegratedStorage: boolean;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2165
2302
|
export declare interface ISystemSettings {
|
|
2166
2303
|
logLevel: LogLevel;
|
|
2167
2304
|
}
|
|
@@ -2322,6 +2459,11 @@ export declare interface IUrlModel {
|
|
|
2322
2459
|
database?: string;
|
|
2323
2460
|
}
|
|
2324
2461
|
|
|
2462
|
+
declare interface IUsedLicenseInfoModel {
|
|
2463
|
+
totalCount: number,
|
|
2464
|
+
usedCount: number
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2325
2467
|
export declare interface IUserInfo {
|
|
2326
2468
|
/**
|
|
2327
2469
|
* User account name
|
|
@@ -2345,6 +2487,16 @@ declare interface IUserInfo_2 {
|
|
|
2345
2487
|
displayName: string,
|
|
2346
2488
|
}
|
|
2347
2489
|
|
|
2490
|
+
declare interface IValidationResponse {
|
|
2491
|
+
result: boolean;
|
|
2492
|
+
error?: string;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
declare interface IValidationResponse_2 {
|
|
2496
|
+
result: boolean;
|
|
2497
|
+
error?: string;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2348
2500
|
declare interface IViewSettings{
|
|
2349
2501
|
pageSize: number;
|
|
2350
2502
|
}
|
|
@@ -2538,6 +2690,19 @@ export declare class LocalStorage implements ILocalStorage_2 {
|
|
|
2538
2690
|
transformId(id: string): string;
|
|
2539
2691
|
}
|
|
2540
2692
|
|
|
2693
|
+
export declare class MessageWindowService implements IMessageWindowService {
|
|
2694
|
+
private static mMessageBoxContainerProvider;
|
|
2695
|
+
static lastError?: HTMLElement;
|
|
2696
|
+
services: $Resources_2;
|
|
2697
|
+
constructor(services: $Resources_2);
|
|
2698
|
+
showError(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
2699
|
+
showInfo(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
2700
|
+
showWarning(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
2701
|
+
showConfirmation(content: React_2.ReactNode, options?: IMessageConfirmationWindowOptions): Promise<void>;
|
|
2702
|
+
showCustom<T>(content: React_2.ReactNode, buttons: IMessageWindowButton<T>[], options?: ICustomMessageWindowOptions): Promise<T | void>;
|
|
2703
|
+
getMessageBoxContainer(): BodyContainerProvider;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2541
2706
|
export declare function NavigationMenu(props: INavigationMenuProps): JSX.Element;
|
|
2542
2707
|
|
|
2543
2708
|
export declare function newGuid(): string;
|
|
@@ -2583,12 +2748,7 @@ declare enum PeriodType {
|
|
|
2583
2748
|
DateRange
|
|
2584
2749
|
}
|
|
2585
2750
|
|
|
2586
|
-
declare
|
|
2587
|
-
Running = 0,
|
|
2588
|
-
Finished = 1,
|
|
2589
|
-
Error = 2,
|
|
2590
|
-
Canceled = 3
|
|
2591
|
-
}
|
|
2751
|
+
export declare function ProcessOverlay(props: IProcessOverlayProps): JSX.Element;
|
|
2592
2752
|
|
|
2593
2753
|
export declare function registerEditors(): void;
|
|
2594
2754
|
|
|
@@ -2600,6 +2760,11 @@ export declare class ResourcesManagement implements IResourcesManagement {
|
|
|
2600
2760
|
addResources(resourcesMap: any): void;
|
|
2601
2761
|
}
|
|
2602
2762
|
|
|
2763
|
+
export declare class RootElementService implements IRootElementService_2 {
|
|
2764
|
+
readonly rootElementId: string;
|
|
2765
|
+
constructor(rootElementId: string);
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2603
2768
|
export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
|
|
2604
2769
|
private readonly application?;
|
|
2605
2770
|
domain: Domain;
|
|
@@ -2633,18 +2798,25 @@ declare enum SavePageStatus_2 {
|
|
|
2633
2798
|
|
|
2634
2799
|
export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
|
|
2635
2800
|
|
|
2636
|
-
declare enum ServerType {
|
|
2637
|
-
PostgreSQL,
|
|
2638
|
-
"MS SQL SERVER",
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
2801
|
export declare const ServicesContext: React_2.Context<IApplicationServices>;
|
|
2642
2802
|
|
|
2803
|
+
declare enum SessionFilterTypes {
|
|
2804
|
+
None = 0,
|
|
2805
|
+
Online = 1,
|
|
2806
|
+
Offline = 2,
|
|
2807
|
+
All = 3
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2643
2810
|
export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
|
|
2644
2811
|
|
|
2645
2812
|
export declare class SettingsNavigationService implements ISettingsNavigationService {
|
|
2646
2813
|
private readonly application;
|
|
2814
|
+
private readonly serviceNamesCache;
|
|
2647
2815
|
constructor(application: IApplication);
|
|
2816
|
+
ensureServiceName(serviceId?: string): Promise<void>;
|
|
2817
|
+
private rememberServiceName;
|
|
2818
|
+
private getCachedServiceName;
|
|
2819
|
+
private resolveServiceName;
|
|
2648
2820
|
convertPathToUrl(str: string, ...args: any[]): string;
|
|
2649
2821
|
getServerPageUrl(serverId: string): string;
|
|
2650
2822
|
getSettingsPageUrl(serverId: string, serviceId: string, layoutId: string, serviceName: string): string;
|
|
@@ -2667,22 +2839,6 @@ export declare function showNotification(text: string): void;
|
|
|
2667
2839
|
|
|
2668
2840
|
declare type Story = StoryObj<INavigationMenuProps>;
|
|
2669
2841
|
|
|
2670
|
-
declare enum TableLocationType {
|
|
2671
|
-
UseDefaultOrCurrent,
|
|
2672
|
-
UseOwnDatabase,
|
|
2673
|
-
UseOuterDatabase,
|
|
2674
|
-
UseTemporaryDatabase,
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
|
-
declare enum TableLocationTypeExtended {
|
|
2678
|
-
UseDefaultOrCurrent,
|
|
2679
|
-
UseOwnDatabase,
|
|
2680
|
-
UseOuterDatabase,
|
|
2681
|
-
UseTemporaryDatabase,
|
|
2682
|
-
InMemoryTableOwnDatabase,
|
|
2683
|
-
InMemoryTableOwnDatabaseNotPersistData,
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
2842
|
export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
|
|
2687
2843
|
|
|
2688
2844
|
export declare class TenantsService implements ITenantsService {
|
|
@@ -2699,8 +2855,6 @@ export declare function TextMessage(props: ITextMessage): JSX.Element;
|
|
|
2699
2855
|
|
|
2700
2856
|
export declare const theme: Theme;
|
|
2701
2857
|
|
|
2702
|
-
declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
|
|
2703
|
-
|
|
2704
2858
|
export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
|
|
2705
2859
|
|
|
2706
2860
|
export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|