@docsvision/management-console 1.0.0 → 6.2.0-beta.2
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 -3907
- package/index.d.ts +2748 -513
- package/index.js +125388 -89582
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/index.css.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,588 +1,2823 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import { $
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
import { $ContextMenuOptions } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
4
|
+
import { $MessageWindow } from 'docsvision.web/components/modals/message-box';
|
|
5
|
+
import { $Router } from 'docsvision.web/core/routing';
|
|
6
|
+
import { $RoutingService } from 'docsvision.web/core/routing';
|
|
7
|
+
import { ButtonProps } from '@mui/material';
|
|
8
|
+
import { CircularProgressProps } from '@mui/material';
|
|
9
|
+
import { ColumnType } from 'docsvision.web/components/table/interfaces';
|
|
10
|
+
import { Control } from 'react-hook-form';
|
|
11
|
+
import { DependencyList } from 'react';
|
|
12
|
+
import { Domain } from 'effector';
|
|
13
|
+
import { Event as Event_2 } from 'effector';
|
|
14
|
+
import { FieldValues } from 'react-hook-form';
|
|
15
|
+
import { FormState } from 'react-hook-form';
|
|
16
|
+
import { HtmlProps } from 'docsvision.web/core/component/HtmlProps';
|
|
17
|
+
import { HtmlProps as HtmlProps_2 } from 'docsvision.web/core/component';
|
|
18
|
+
import { IComposition } from 'docsvision.web/core/composition';
|
|
19
|
+
import { IconButtonProps } from '@mui/material';
|
|
20
|
+
import { ICustomContextMenuOption } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
21
|
+
import { IDateFormatPluginData } from 'docsvision.web/components/table/plugins/filter';
|
|
22
|
+
import { ILogService } from 'docsvision.web/core/system-services/logging/LogService';
|
|
23
|
+
import { IMessageWindowService } from 'docsvision.web/components/modals/message-box';
|
|
24
|
+
import { IRequestService } from 'docsvision.web/core/system-services/networking/RequestService';
|
|
25
|
+
import { IRouter } from 'docsvision.web/core/routing';
|
|
26
|
+
import { IRoutingService } from 'docsvision.web/core/routing';
|
|
27
|
+
import { IRow } from 'docsvision.web/components/table/interfaces';
|
|
28
|
+
import { ITableData } from 'docsvision.web/components/table/interfaces';
|
|
29
|
+
import { ITableDataLoadRequest } from 'docsvision.web/components/table/interfaces';
|
|
30
|
+
import { ITablePlugins } from 'docsvision.web/components/table/interfaces';
|
|
31
|
+
import { LogLevel } from 'docsvision.web/core/system-services/logging/LogService';
|
|
32
|
+
import { MenuItemProps } from '@mui/material';
|
|
33
|
+
import { Moment } from 'moment';
|
|
34
|
+
import { MouseEventHandler } from 'react';
|
|
35
|
+
import { default as Noty_2 } from 'noty';
|
|
36
|
+
import { OutlinedTextFieldProps } from '@mui/material';
|
|
37
|
+
import { Params } from 'docsvision.web/core/routing';
|
|
38
|
+
import { PopoverOrigin } from '@mui/material';
|
|
39
|
+
import { default as React_2 } from 'react';
|
|
40
|
+
import { RefObject } from 'react';
|
|
41
|
+
import { RequestOptions } from 'docsvision.web/core/system-services/networking/RequestService';
|
|
42
|
+
import { Route } from 'navigo';
|
|
43
|
+
import { RouteContext } from 'docsvision.web/core/routing';
|
|
44
|
+
import { RouteHooks } from 'navigo';
|
|
45
|
+
import { SelectProps } from '@mui/material';
|
|
46
|
+
import { Service } from 'docsvision.web/core/services';
|
|
47
|
+
import { ServiceContainer } from 'docsvision.web/core/services';
|
|
48
|
+
import { Store } from 'effector';
|
|
49
|
+
import { StoryObj } from '@storybook/react';
|
|
50
|
+
import { SvgIconProps } from '@mui/material';
|
|
51
|
+
import { SystemServices } from 'docsvision.web/core/system-services/SystemServices';
|
|
52
|
+
import { TableCell } from '@mui/material';
|
|
53
|
+
import { TableCompositions } from 'docsvision.web/components/table/interfaces';
|
|
54
|
+
import { Theme } from '@mui/material';
|
|
55
|
+
import { TooltipProps } from '@mui/material';
|
|
56
|
+
import { UseFormGetFieldState } from 'react-hook-form';
|
|
57
|
+
import { UseFormGetValues } from 'react-hook-form';
|
|
58
|
+
import { UseFormHandleSubmit } from 'react-hook-form';
|
|
59
|
+
import { UseFormReset } from 'react-hook-form';
|
|
60
|
+
import { UseFormResetField } from 'react-hook-form';
|
|
61
|
+
import { UseFormSetFocus } from 'react-hook-form';
|
|
62
|
+
import { UseFormSetValue } from 'react-hook-form';
|
|
63
|
+
|
|
64
|
+
export declare type $AboutSettings = {
|
|
65
|
+
aboutSettings: IAboutSettings;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export declare const $AboutSettings: string | ((model?: $AboutSettings) => IAboutSettings);
|
|
69
|
+
|
|
70
|
+
declare type $AboutSettings_2 = { aboutSettings: IAboutSettings_2 };
|
|
71
|
+
|
|
72
|
+
declare const $AboutSettings_2 = serviceName((s: $AboutSettings_2) => s.aboutSettings);
|
|
73
|
+
|
|
74
|
+
export declare type $ApplicationSettings = {
|
|
75
|
+
applicationSettings: IApplicationSettings;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export declare const $ApplicationSettings: string | ((model?: $ApplicationSettings) => IApplicationSettings);
|
|
79
|
+
|
|
80
|
+
declare type $ApplicationSettings_2 = { applicationSettings: IApplicationSettings_2 };
|
|
81
|
+
|
|
82
|
+
declare const $ApplicationSettings_2 = serviceName((s: $ApplicationSettings_2) => s.applicationSettings);
|
|
83
|
+
|
|
84
|
+
declare type $CardUrl = { cardUrl: ICardUrl; };
|
|
85
|
+
|
|
86
|
+
declare const $CardUrl = serviceName((s: $CardUrl) => s.cardUrl);
|
|
87
|
+
|
|
88
|
+
declare type $ConfigurationLocksController = { configurationLocksController: IConfigurationLocksController };
|
|
89
|
+
|
|
90
|
+
declare const $ConfigurationLocksController = serviceName((s: $ConfigurationLocksController) => s.configurationLocksController);
|
|
91
|
+
|
|
92
|
+
export declare type $DashboardConfigurationService = {
|
|
93
|
+
dashboardConfigurationService: IDashboardConfigurationService;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export declare const $DashboardConfigurationService: string | ((model?: $DashboardConfigurationService) => IDashboardConfigurationService);
|
|
97
|
+
|
|
98
|
+
declare type $DashboardConfigurationService_2 = { dashboardConfigurationService: IDashboardConfigurationService_2 };
|
|
99
|
+
|
|
100
|
+
declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
|
|
101
|
+
|
|
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
|
+
export declare type $DomEntryPointService = {
|
|
119
|
+
domEntryPointService: IDomEntryPointService;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export declare const $DomEntryPointService: string | ((model?: $DomEntryPointService) => IDomEntryPointService);
|
|
123
|
+
|
|
124
|
+
declare type $DomEntryPointService_2 = { domEntryPointService: IDomEntryPointService_2 };
|
|
125
|
+
|
|
126
|
+
declare const $DomEntryPointService_2 = serviceName((s: $DomEntryPointService_2) => s.domEntryPointService);
|
|
127
|
+
|
|
128
|
+
export declare type $EditorFactory = {
|
|
129
|
+
editorFactory: IEditorFactory;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
export declare const $EditorFactory: string | ((model?: $EditorFactory) => IEditorFactory);
|
|
133
|
+
|
|
134
|
+
declare type $ExtendedConfigurationController = { extendedConfigurationController: IExtendedConfigurationController };
|
|
135
|
+
|
|
136
|
+
declare const $ExtendedConfigurationController = serviceName((s: $ExtendedConfigurationController) => s.extendedConfigurationController);
|
|
137
|
+
|
|
138
|
+
declare type $ExtendedConfigurationController_2 = {
|
|
139
|
+
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare const $ExtendedConfigurationController_2: string | ((model?: $ExtendedConfigurationController_2) => IExtendedConfigurationController_2);
|
|
143
|
+
|
|
144
|
+
export declare type $ExtensionsService = {
|
|
145
|
+
extensionsService: IExtensionsService;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export declare const $ExtensionsService: string | ((model?: $ExtensionsService) => IExtensionsService);
|
|
149
|
+
|
|
150
|
+
declare type $ExtensionsService_2 = { extensionsService: IExtensionsService_2 };
|
|
151
|
+
|
|
152
|
+
declare const $ExtensionsService_2 = serviceName((s: $ExtensionsService_2) => s.extensionsService);
|
|
153
|
+
|
|
154
|
+
declare type $FilterPluginsLoading = { filterPluginsLoading: IFilterPluginsLoadingService };
|
|
155
|
+
|
|
156
|
+
declare const $FilterPluginsLoading = serviceName<$FilterPluginsLoading, IFilterPluginsLoadingService>(x => x.filterPluginsLoading);
|
|
157
|
+
|
|
158
|
+
export declare type $FormControl = {
|
|
159
|
+
formControl: IFormControl;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
export declare const $FormControl: string | ((model?: $FormControl) => IFormControl);
|
|
163
|
+
|
|
164
|
+
declare type $FormControl_2 = { formControl: IFormControl_2 };
|
|
165
|
+
|
|
166
|
+
declare const $FormControl_2 = serviceName((s: $FormControl_2) => s.formControl);
|
|
167
|
+
|
|
168
|
+
export declare type $Layout = {
|
|
169
|
+
layoutService: ILayoutService;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export declare const $Layout: string | ((model?: $Layout) => ILayoutService);
|
|
173
|
+
|
|
174
|
+
declare type $Layout_2 = { layoutService: ILayoutService_2; };
|
|
175
|
+
|
|
176
|
+
declare const $Layout_2 = serviceName((s: $Layout_2) => s.layoutService);
|
|
177
|
+
|
|
178
|
+
export declare type $LocalizationService = {
|
|
179
|
+
localizationService: ILocalizationService;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export declare const $LocalizationService: string | ((model?: $LocalizationService) => ILocalizationService);
|
|
183
|
+
|
|
184
|
+
declare type $LocalizationService_2 = { localizationService: ILocalizationService_2 };
|
|
185
|
+
|
|
186
|
+
declare const $LocalizationService_2 = serviceName((s: $LocalizationService_2) => s.localizationService);
|
|
187
|
+
|
|
188
|
+
export declare type $LocalStorage = {
|
|
189
|
+
localStorage: ILocalStorage;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export declare const $LocalStorage: string | ((model?: $LocalStorage) => ILocalStorage);
|
|
193
|
+
|
|
194
|
+
declare type $LocalStorage_2 = { localStorage: ILocalStorage_2; };
|
|
195
|
+
|
|
196
|
+
declare const $LocalStorage_2 = serviceName((s: $LocalStorage_2) => s.localStorage);
|
|
197
|
+
|
|
198
|
+
declare type $NavigationMenu = { navigationMenu: INavigationMenuService };
|
|
199
|
+
|
|
200
|
+
declare const $NavigationMenu = serviceName<$NavigationMenu, INavigationMenuService>(x => x.navigationMenu);
|
|
201
|
+
|
|
202
|
+
declare type $NavigationMenu_2 = {
|
|
203
|
+
navigationMenu: INavigationMenuService_2;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
declare const $NavigationMenu_2: string | ((model?: $NavigationMenu_2) => INavigationMenuService_2);
|
|
207
|
+
|
|
208
|
+
declare type $PanelsExpansionService = { panelsExpansionService: IPanelsExpansionService };
|
|
209
|
+
|
|
210
|
+
declare const $PanelsExpansionService = serviceName((s: $PanelsExpansionService) => s.panelsExpansionService);
|
|
211
|
+
|
|
212
|
+
declare type $RealtimeCommunication = { realtimeCommunication: IRealtimeCommunicationService };
|
|
213
|
+
|
|
214
|
+
declare const $RealtimeCommunication = serviceName((s: $RealtimeCommunication) => s.realtimeCommunication);
|
|
215
|
+
|
|
216
|
+
declare type $RealtimeCommunication_2 = {
|
|
217
|
+
realtimeCommunication: IRealtimeCommunicationService_2;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
declare const $RealtimeCommunication_2: string | ((model?: $RealtimeCommunication_2) => IRealtimeCommunicationService_2);
|
|
221
|
+
|
|
222
|
+
declare type $RepeatProcessButton = { repeatProcessButton: IRepeatProcessButtonService };
|
|
223
|
+
|
|
224
|
+
declare const $RepeatProcessButton = serviceName<$RepeatProcessButton, IRepeatProcessButtonService>(x => x.repeatProcessButton);
|
|
225
|
+
|
|
226
|
+
export declare type $Resources = {
|
|
227
|
+
resources: IResourcesMap;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export declare const $Resources: string | ((model?: $Resources) => IResourcesMap);
|
|
231
|
+
|
|
232
|
+
declare type $Resources_2 = { resources: IResourcesMap_2};
|
|
233
|
+
|
|
234
|
+
declare const $Resources_2 = serviceName((s: $Resources_2) => s.resources);
|
|
235
|
+
|
|
236
|
+
export declare type $ResourcesManagement = {
|
|
237
|
+
resourcesManagement: IResourcesManagement;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
export declare const $ResourcesManagement: string | ((model?: $ResourcesManagement) => IResourcesManagement);
|
|
241
|
+
|
|
242
|
+
declare type $ResourcesManagement_2 = { resourcesManagement: IResourcesManagement_2; };
|
|
243
|
+
|
|
244
|
+
declare const $ResourcesManagement_2 = serviceName((s: $ResourcesManagement_2) => s.resourcesManagement);
|
|
245
|
+
|
|
246
|
+
export declare type $RouteContentRender = {
|
|
247
|
+
routeContentRender: IRouteContentRenderService;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export declare const $RouteContentRender: string | ((model?: $RouteContentRender) => IRouteContentRenderService);
|
|
251
|
+
|
|
252
|
+
declare type $RouteContentRender_2 = { routeContentRender: IRouteContentRenderService_2 };
|
|
253
|
+
|
|
254
|
+
declare const $RouteContentRender_2 = serviceName((s: $RouteContentRender_2) => s.routeContentRender);
|
|
255
|
+
|
|
256
|
+
declare type $ServersController = { serverController: IServersController };
|
|
257
|
+
|
|
258
|
+
declare const $ServersController = serviceName((s: $ServersController) => s.serverController);
|
|
259
|
+
|
|
260
|
+
declare type $ServersController_2 = {
|
|
261
|
+
serverController: IServersController_2;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
declare const $ServersController_2: string | ((model?: $ServersController_2) => IServersController_2);
|
|
265
|
+
|
|
266
|
+
export declare type $SettingsNavigation = {
|
|
267
|
+
settingsNavigation: ISettingsNavigationService;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
export declare const $SettingsNavigation: string | ((model?: $SettingsNavigation) => ISettingsNavigationService);
|
|
271
|
+
|
|
272
|
+
declare type $SettingsNavigation_2 = { settingsNavigation: ISettingsNavigationService_2 };
|
|
273
|
+
|
|
274
|
+
declare const $SettingsNavigation_2 = serviceName((s: $SettingsNavigation_2) => s.settingsNavigation);
|
|
275
|
+
|
|
276
|
+
export declare type $TenantsService = {
|
|
277
|
+
tenantsService: ITenantsService;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
export declare const $TenantsService: string | ((model?: $TenantsService) => ITenantsService);
|
|
281
|
+
|
|
282
|
+
declare type $TenantsService_2 = { tenantsService: ITenantsService_2 };
|
|
283
|
+
|
|
284
|
+
declare const $TenantsService_2 = serviceName((s: $TenantsService_2) => s.tenantsService);
|
|
285
|
+
|
|
286
|
+
declare type $ToolbarVisibility = { toolbarVisibility: IToolbarVisibilityService };
|
|
287
|
+
|
|
288
|
+
declare const $ToolbarVisibility = serviceName((x: $ToolbarVisibility) => x.toolbarVisibility);
|
|
289
|
+
|
|
290
|
+
export declare type $WidgetsService = {
|
|
291
|
+
widgetsService: IWidgetsService;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
export declare const $WidgetsService: string | ((model?: $WidgetsService) => IWidgetsService);
|
|
295
|
+
|
|
296
|
+
declare type $WidgetsService_2= { widgetsService: IWidgetsService_2 };
|
|
297
|
+
|
|
298
|
+
declare const $WidgetsService_2 = serviceName((s: $WidgetsService_2) => s.widgetsService);
|
|
299
|
+
|
|
300
|
+
export declare function Accordion(props: IAccordionProps): JSX.Element;
|
|
301
|
+
|
|
302
|
+
export declare enum ActionType {
|
|
303
|
+
add = 0,
|
|
304
|
+
delete = 1
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export declare function actionWithThemeCssVariables(theme: Theme, action: ActionType): void;
|
|
308
|
+
|
|
309
|
+
export declare function addCssVariables(theme: Theme): void;
|
|
310
|
+
|
|
311
|
+
export declare function AlertBanner({ text }: IAlertBanner): JSX.Element;
|
|
312
|
+
|
|
313
|
+
export declare function appendStyle(fileName: string): void;
|
|
314
|
+
|
|
315
|
+
export declare class Application extends ServiceContainer implements IApplication {
|
|
316
|
+
protected readonly reactRootElementId: string;
|
|
317
|
+
logService: ILogService;
|
|
318
|
+
domEntryPointService: IDomEntryPointService_2;
|
|
319
|
+
extensionsService: IExtensionsService_2;
|
|
320
|
+
requestService: IRequestService;
|
|
321
|
+
tenantsService: ITenantsService_2;
|
|
322
|
+
applicationSettings: IApplicationSettings_2;
|
|
323
|
+
localizationService: ILocalizationService_2;
|
|
324
|
+
aboutSettings: IAboutSettings_2;
|
|
325
|
+
widgetsService: IWidgetsService_2;
|
|
326
|
+
router: IRouter;
|
|
327
|
+
routingService: IRoutingService;
|
|
328
|
+
dashboardConfigurationService: IDashboardConfigurationService_2;
|
|
329
|
+
localStorage: ILocalStorage_2;
|
|
330
|
+
resourcesManagement: IResourcesManagement_2;
|
|
331
|
+
resources: IResourcesMap_2;
|
|
332
|
+
routeContentRender: IRouteContentRenderService_2;
|
|
333
|
+
filterPluginsLoading: IFilterPluginsLoadingService;
|
|
334
|
+
toolbarVisibility: IToolbarVisibilityService;
|
|
335
|
+
messageWindow: IMessageWindowService;
|
|
336
|
+
repeatProcessButton: IRepeatProcessButtonService;
|
|
337
|
+
panelsExpansionService: IPanelsExpansionService;
|
|
338
|
+
layoutService: ILayoutService;
|
|
339
|
+
navigationMenu: INavigationMenuService_2;
|
|
340
|
+
serverController: IServersController_2;
|
|
341
|
+
settingsNavigation: ISettingsNavigationService;
|
|
342
|
+
formControl: IFormControl;
|
|
343
|
+
databaseWizardService: IDatabaseWizardService;
|
|
344
|
+
databaseMasterController: IDatabaseMasterController;
|
|
345
|
+
databasesConfigurationController: IDatabasesConfigurationController;
|
|
346
|
+
databasesController: IDatabasesController;
|
|
347
|
+
realtimeCommunication: IRealtimeCommunicationService_2;
|
|
348
|
+
configurationLocksController: IConfigurationLocksController;
|
|
349
|
+
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
350
|
+
constructor(reactRootElementId: string);
|
|
351
|
+
static instance: IApplication;
|
|
352
|
+
initialize(): Promise<void>;
|
|
353
|
+
initializeLoginPage(): Promise<void>;
|
|
354
|
+
run(): void;
|
|
355
|
+
protected registerSystemServices(): Promise<void>;
|
|
356
|
+
protected registerRouter(): void;
|
|
357
|
+
protected registerRoutes(): void;
|
|
358
|
+
protected registerLocalization(): Promise<void>;
|
|
359
|
+
protected loadExtensions(): Promise<void>;
|
|
360
|
+
protected registerServices(): void;
|
|
361
|
+
protected registerWidgets(): Promise<void>;
|
|
362
|
+
protected registerEditors(): Promise<void>;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export declare function ArrowIconButton({ onClick, disabled }: {
|
|
366
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
367
|
+
disabled?: boolean;
|
|
368
|
+
}): JSX.Element;
|
|
369
|
+
|
|
370
|
+
declare enum BreadcrumbsLabel {
|
|
371
|
+
WidgetIncomingMessagesQueue,
|
|
372
|
+
WidgetOutgoingMessagesQueue,
|
|
373
|
+
PageIncomingMessagesQueue,
|
|
374
|
+
PageOutgoingMessagesQueue,
|
|
375
|
+
WidgetSearchForCardMessages,
|
|
376
|
+
PageSearchForCardMessages,
|
|
377
|
+
PageErrorAndBlockLog
|
|
378
|
+
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare enum BreadcrumbsLabel_2 {
|
|
382
|
+
WidgetIncomingMessagesQueue = 0,
|
|
383
|
+
WidgetOutgoingMessagesQueue = 1,
|
|
384
|
+
PageIncomingMessagesQueue = 2,
|
|
385
|
+
PageOutgoingMessagesQueue = 3,
|
|
386
|
+
WidgetSearchForCardMessages = 4,
|
|
387
|
+
PageSearchForCardMessages = 5,
|
|
388
|
+
PageErrorAndBlockLog = 6
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.Element;
|
|
392
|
+
|
|
393
|
+
export declare function CellPreloader(): JSX.Element;
|
|
394
|
+
|
|
395
|
+
export declare function CellTextContent({ content, multiline }: ICellTextContentProps): JSX.Element;
|
|
396
|
+
|
|
397
|
+
export declare function CellWithFixedWidth(props: ICellWithFixedWidthProps): JSX.Element;
|
|
398
|
+
|
|
399
|
+
export declare function CellWithTwoLineClamping(props: ICellWithTwoLineClampingProps): JSX.Element;
|
|
400
|
+
|
|
401
|
+
export declare function ClearButton(props: IFilteringClearButtonProps): JSX.Element;
|
|
402
|
+
|
|
403
|
+
export declare const commonMuiProps: {
|
|
404
|
+
select: Partial<SelectProps<unknown>>;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
export declare function ComponentIcon(props: IComponentIconProps): JSX.Element;
|
|
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
|
+
export declare const convertBase64ToString: (base64: string) => string;
|
|
422
|
+
|
|
423
|
+
export declare const convertDataToBase64: (data: object) => string;
|
|
424
|
+
|
|
425
|
+
export declare const copyTextToClipboard: (text: string, host?: HTMLElement) => void;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Replaced original FormProvider from react-hook-form because of error:
|
|
429
|
+
* "Type instantiation is excessively deep and possibly infinite".
|
|
430
|
+
* After fixing it is necessary to replace with FormProvider.
|
|
431
|
+
**/
|
|
432
|
+
export declare function CustomFormProvider<TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>): JSX.Element;
|
|
433
|
+
|
|
434
|
+
export declare type CustomUseFormReturn<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined> = {
|
|
435
|
+
watch: any;
|
|
436
|
+
setError: any;
|
|
437
|
+
clearErrors: any;
|
|
438
|
+
trigger: any;
|
|
439
|
+
unregister: any;
|
|
440
|
+
register: any;
|
|
441
|
+
getValues: UseFormGetValues<TFieldValues>;
|
|
442
|
+
getFieldState: UseFormGetFieldState<TFieldValues>;
|
|
443
|
+
setValue: UseFormSetValue<TFieldValues>;
|
|
444
|
+
formState: FormState<TFieldValues>;
|
|
445
|
+
resetField: UseFormResetField<TFieldValues>;
|
|
446
|
+
reset: UseFormReset<TFieldValues>;
|
|
447
|
+
handleSubmit: UseFormHandleSubmit<TFieldValues, TTransformedValues>;
|
|
448
|
+
control: Control<TFieldValues, TContext>;
|
|
449
|
+
setFocus: UseFormSetFocus<TFieldValues>;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
declare type CustomUseFormReturn_2<
|
|
453
|
+
TFieldValues extends FieldValues = FieldValues,
|
|
454
|
+
TContext = any,
|
|
455
|
+
TTransformedValues extends FieldValues | undefined = undefined,
|
|
456
|
+
> = {
|
|
457
|
+
watch: any;
|
|
458
|
+
setError: any;
|
|
459
|
+
clearErrors: any;
|
|
460
|
+
trigger: any;
|
|
461
|
+
unregister: any;
|
|
462
|
+
register: any;
|
|
463
|
+
|
|
464
|
+
getValues: UseFormGetValues<TFieldValues>;
|
|
465
|
+
getFieldState: UseFormGetFieldState<TFieldValues>;
|
|
466
|
+
setValue: UseFormSetValue<TFieldValues>;
|
|
467
|
+
formState: FormState<TFieldValues>;
|
|
468
|
+
resetField: UseFormResetField<TFieldValues>;
|
|
469
|
+
reset: UseFormReset<TFieldValues>;
|
|
470
|
+
handleSubmit: UseFormHandleSubmit<TFieldValues, TTransformedValues>;
|
|
471
|
+
control: Control<TFieldValues, TContext>;
|
|
472
|
+
setFocus: UseFormSetFocus<TFieldValues>;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
export declare class DashboardConfigurationService implements IDashboardConfigurationService {
|
|
476
|
+
private readonly requestService;
|
|
477
|
+
constructor(requestService: IRequestService);
|
|
478
|
+
getDashboardConfiguration(dashboardId: string): Promise<IDashboardConfiguration>;
|
|
479
|
+
addDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration): Promise<void>;
|
|
480
|
+
updateDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration): Promise<void>;
|
|
481
|
+
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
|
|
485
|
+
|
|
486
|
+
export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
|
|
487
|
+
|
|
488
|
+
export declare type DatabaseSettingsCardSize = "sm" | "md";
|
|
489
|
+
|
|
490
|
+
declare enum DatabaseState {
|
|
491
|
+
Attached,
|
|
492
|
+
Updating,
|
|
493
|
+
Creating,
|
|
494
|
+
Attaching
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
declare enum DatabaseType {
|
|
498
|
+
Postgre,
|
|
499
|
+
SQL
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
declare enum DatabaseWizardMode {
|
|
503
|
+
Create,
|
|
504
|
+
Add,
|
|
505
|
+
Update
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRangeProps>;
|
|
509
|
+
|
|
510
|
+
export declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
|
|
511
|
+
|
|
512
|
+
export declare const Default: Story;
|
|
513
|
+
|
|
514
|
+
export declare const DEFAULT_PAGE_SIZE = 50;
|
|
515
|
+
|
|
516
|
+
export declare function DeleteIcon({ onClick }: {
|
|
517
|
+
onClick?: () => void;
|
|
518
|
+
}): JSX.Element;
|
|
519
|
+
|
|
520
|
+
export declare function DeleteIconButton({ onClick, disabled }: {
|
|
521
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
522
|
+
disabled?: boolean;
|
|
523
|
+
}): JSX.Element;
|
|
524
|
+
|
|
525
|
+
export declare const DOCSVISION_CONNECTION_SETTINGS_LAYOUT = "8770b559-bcd5-48c4-b42e-e0b1c44afe7b";
|
|
526
|
+
|
|
527
|
+
export declare class DomEntryPointService implements IDomEntryPointService {
|
|
528
|
+
private readonly application;
|
|
529
|
+
constructor(application: IApplication);
|
|
530
|
+
render(rootElementId: string): void;
|
|
531
|
+
renderLoginPage(rootElementId: string): void;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export declare function DropdownBody(props: IDropdownBodyProps): JSX.Element;
|
|
535
|
+
|
|
536
|
+
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
|
+
|
|
538
|
+
export declare function EditorContainer(props: IEditorContainer): JSX.Element;
|
|
539
|
+
|
|
540
|
+
export declare function EditorDescription({ text }: {
|
|
541
|
+
text: string;
|
|
542
|
+
}): JSX.Element;
|
|
543
|
+
|
|
544
|
+
/** Хранит ссылки на классы редакторов с доступом по имени типа. */
|
|
545
|
+
export declare class EditorFactory implements IEditorFactory {
|
|
546
|
+
/** Словарь редакторов. */
|
|
547
|
+
protected editorMap: IEditorMap;
|
|
548
|
+
/**
|
|
549
|
+
* Регистрирует редактор в словаре.
|
|
550
|
+
* @param name Имя типа редактора.
|
|
551
|
+
* @param componentType Функция, возвращающая редактор.
|
|
552
|
+
* @param replaceExisting Следует ли разрешить перерегистрацию редакторов (по умолчанию false).
|
|
553
|
+
*/
|
|
554
|
+
register(name: string, componentType: React.ComponentType<IPageModelElement>, replaceExisting?: boolean): void;
|
|
555
|
+
/** Возвращает зарегистрированный ранее контрол по имени типа. */
|
|
556
|
+
get(name: string): React.ComponentType<IPageModelElement>;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export declare const editorFactory: EditorFactory;
|
|
560
|
+
|
|
561
|
+
export declare function EditorInnerWrapper(props: IEditorInnerWrapper): JSX.Element;
|
|
562
|
+
|
|
563
|
+
export declare function EditorName({ text }: {
|
|
564
|
+
text: string;
|
|
565
|
+
}): JSX.Element;
|
|
566
|
+
|
|
567
|
+
export declare function EditorWrapper({ children, isChanged, isEditable }: {
|
|
568
|
+
children: React_2.ReactNode;
|
|
569
|
+
isChanged?: boolean;
|
|
570
|
+
isEditable?: boolean;
|
|
571
|
+
}): JSX.Element;
|
|
572
|
+
|
|
573
|
+
declare type EffectCallbackAsync = () => (Promise<void> | (() => Promise<void | undefined>));
|
|
574
|
+
|
|
575
|
+
export declare const EMAIL_CONNECTION_SETTINGS_LAYOUT = "ea883b59-bb95-446e-879b-97874ac4d82b";
|
|
576
|
+
|
|
577
|
+
export declare enum EngineType {
|
|
578
|
+
MsSQL = 0,
|
|
579
|
+
PgSQL = 1
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export declare const ERROR_ROW_CLASS_NAME = "page-table__row-error";
|
|
583
|
+
|
|
584
|
+
export declare function ErrorBlock({ text, close }: IErrorBlockProps): JSX.Element;
|
|
585
|
+
|
|
586
|
+
export declare const errorHandler: (response: Response, parameters: RequestOptions) => Promise<never>;
|
|
587
|
+
|
|
588
|
+
export declare function ErrorIcon(): JSX.Element;
|
|
589
|
+
|
|
590
|
+
export declare function ErrorMessage(props: IErrorMessageProps): JSX.Element;
|
|
591
|
+
|
|
592
|
+
export declare function ExpandButton(props: IExpandButtonProps): JSX.Element;
|
|
593
|
+
|
|
594
|
+
export declare function ExpandMoreIcon(props: IExpandMoreIconProps): JSX.Element;
|
|
595
|
+
|
|
596
|
+
export declare class ExtensionsService implements IExtensionsService {
|
|
597
|
+
private readonly logService;
|
|
598
|
+
private readonly widgetService;
|
|
599
|
+
private readonly applicationSettings;
|
|
600
|
+
private readonly extensions;
|
|
601
|
+
constructor(logService: ILogService, widgetService: IWidgetsService_2, applicationSettings: IApplicationSettings_2);
|
|
602
|
+
loadExtensions(application: IApplication_2): Promise<void>;
|
|
603
|
+
registerServices(application: IApplication_2): void;
|
|
604
|
+
registerWidgets(application: IApplication_2): void;
|
|
605
|
+
registerEditors(): void;
|
|
606
|
+
getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
|
|
607
|
+
private getExtensionsLoadingInfo;
|
|
608
|
+
private loadJSModule;
|
|
609
|
+
private loadStyles;
|
|
610
|
+
private loadExtensionResources;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/** Делает заглавной первую букву строки */
|
|
614
|
+
export declare function firstLetterToUppercase(str?: string): string;
|
|
615
|
+
|
|
616
|
+
export declare const formatDateToString: (date: Date, formatMask?: string) => string;
|
|
617
|
+
|
|
618
|
+
/** Форматирует строку, заменяя вхождения {0}, {1}, {2}... на значения переданных параметров. */
|
|
619
|
+
export declare function formatString(str: string, ...args: any[]): string;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Возвращает строку с аргументами, выделенными жирным шрифтом.
|
|
623
|
+
*/
|
|
624
|
+
export declare function formatStringWithBoldArguments(str: string, ...args: string[]): JSX.Element;
|
|
625
|
+
|
|
626
|
+
export declare class FormControlService implements IFormControl {
|
|
627
|
+
isDirty: boolean;
|
|
628
|
+
submitted: Event_2<unknown>;
|
|
629
|
+
canceled: Event_2<void>;
|
|
630
|
+
onSubmit: ({ confirm }: {
|
|
631
|
+
confirm: boolean;
|
|
632
|
+
}) => void;
|
|
633
|
+
onCancel: () => void;
|
|
634
|
+
constructor(onSubmit?: ({ confirm }: {
|
|
635
|
+
confirm: boolean;
|
|
636
|
+
}) => void, onCancel?: () => void);
|
|
637
|
+
setIsDirty(value: boolean): void;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export declare type FormProviderProps<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined> = {
|
|
641
|
+
children: React_2.ReactNode | React_2.ReactNode[];
|
|
642
|
+
} & CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|
|
643
|
+
|
|
644
|
+
export declare const generateCardRoutePath: (model: IRoutePathModel) => string;
|
|
645
|
+
|
|
646
|
+
export declare function generateErrorText(error: string, serverName?: string, serverTime?: string | Date): string;
|
|
647
|
+
|
|
648
|
+
export declare const generateRoutePath: (model: IRoutePathModel) => string;
|
|
649
|
+
|
|
650
|
+
export declare const generateUrl: (model: IUrlModel) => string;
|
|
651
|
+
|
|
652
|
+
export declare const getCalendarPeriod: (periodKey: string, datesInSelector: string[]) => any[];
|
|
653
|
+
|
|
654
|
+
export declare const getContextMenuOptions: (parameters?: IContextMenuParameters, context?: ICompositionTable) => ICustomContextMenuOption[];
|
|
655
|
+
|
|
656
|
+
export declare const getDashboardPosition: (settings: IWidgetSettings_2) => IDashboardPosition_2;
|
|
657
|
+
|
|
658
|
+
export declare const getPeriod: (periodKey: string, datesInSelector: string[]) => any[];
|
|
659
|
+
|
|
660
|
+
export declare const getThisMonthBeginAndEndDays: () => {
|
|
661
|
+
beginMonthDate: string;
|
|
662
|
+
endMonthDate: string;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2;
|
|
666
|
+
|
|
667
|
+
export declare function GroupPanel(props: IGroupPanelProps): JSX.Element;
|
|
668
|
+
|
|
669
|
+
export declare const handleOnEscape: (e: React.KeyboardEvent, onCancel: () => void) => void;
|
|
670
|
+
|
|
671
|
+
export declare function HandPointRightIcon(props: SvgIconProps): JSX.Element;
|
|
672
|
+
|
|
673
|
+
export declare function HelpIconButton(props: IHelpIconButtonProps): JSX.Element;
|
|
674
|
+
|
|
675
|
+
export declare const hideNote: (note: Noty_2) => void;
|
|
676
|
+
|
|
677
|
+
export declare type HooksHandler = (application: IApplication_2) => RouteHooks;
|
|
678
|
+
|
|
679
|
+
declare type HooksHandler_2 = (application: IApplication_2) => RouteHooks;
|
|
680
|
+
|
|
681
|
+
export declare interface IAboutSettings {
|
|
682
|
+
/**
|
|
683
|
+
* Gets application name
|
|
684
|
+
*/
|
|
685
|
+
applicationName: string;
|
|
686
|
+
/**
|
|
687
|
+
* Gets application build version
|
|
688
|
+
*/
|
|
689
|
+
buildVersion: string;
|
|
690
|
+
/**
|
|
691
|
+
* Gets server list of server extensions
|
|
692
|
+
*/
|
|
693
|
+
extensions: IExtensionInfo[];
|
|
694
|
+
/**
|
|
695
|
+
* Gets list of used third-party components
|
|
696
|
+
*/
|
|
697
|
+
thirdPartyComponents: IThirdPartyComponentInfo[];
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
declare interface IAboutSettings_2 {
|
|
701
|
+
/**
|
|
702
|
+
* Gets application name
|
|
703
|
+
*/
|
|
704
|
+
applicationName: string
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Gets application build version
|
|
708
|
+
*/
|
|
709
|
+
buildVersion: string
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Gets server list of server extensions
|
|
713
|
+
*/
|
|
714
|
+
extensions: IExtensionInfo_2[]
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Gets list of used third-party components
|
|
718
|
+
*/
|
|
719
|
+
thirdPartyComponents: IThirdPartyComponentInfo_2[]
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
export declare interface IAccordionProps {
|
|
53
723
|
summary?: () => JSX.Element;
|
|
54
724
|
details?: () => JSX.Element;
|
|
55
725
|
ariaControls: string;
|
|
56
726
|
id: string;
|
|
57
727
|
dataTestId?: string;
|
|
58
728
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
729
|
+
|
|
730
|
+
declare interface IAlertBanner {
|
|
731
|
+
text: string;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export declare interface IApplication extends ServiceContainer, IApplicationServices_2 {
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
|
|
738
|
+
}
|
|
739
|
+
|
|
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, $DatabaseWizard, $DatabasesController, $DatabasesConfigurationController, $DatabaseMasterController, $ConfigurationLocksController {
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare interface IApplicationServices_2 extends
|
|
744
|
+
SystemServices,
|
|
745
|
+
$ExtensionsService_2,
|
|
746
|
+
$DomEntryPointService_2,
|
|
747
|
+
$ApplicationSettings_2,
|
|
748
|
+
$WidgetsService_2,
|
|
749
|
+
$Router,
|
|
750
|
+
$RoutingService,
|
|
751
|
+
$TenantsService_2,
|
|
752
|
+
$DashboardConfigurationService_2,
|
|
753
|
+
$LocalizationService_2,
|
|
754
|
+
$AboutSettings_2,
|
|
755
|
+
$LocalStorage_2,
|
|
756
|
+
$ResourcesManagement_2,
|
|
757
|
+
$Resources_2,
|
|
758
|
+
$RouteContentRender_2,
|
|
759
|
+
$FilterPluginsLoading,
|
|
760
|
+
$ToolbarVisibility,
|
|
761
|
+
$MessageWindow,
|
|
762
|
+
$RepeatProcessButton,
|
|
763
|
+
$PanelsExpansionService,
|
|
764
|
+
$Layout_2,
|
|
765
|
+
$NavigationMenu,
|
|
766
|
+
$ServersController,
|
|
767
|
+
$SettingsNavigation_2,
|
|
768
|
+
$FormControl_2,
|
|
769
|
+
$ExtendedConfigurationController,
|
|
770
|
+
$RealtimeCommunication,
|
|
771
|
+
$DatabaseWizard,
|
|
772
|
+
$DatabasesController,
|
|
773
|
+
$DatabasesConfigurationController,
|
|
774
|
+
$DatabaseMasterController,
|
|
775
|
+
$ConfigurationLocksController {
|
|
776
|
+
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
export declare interface IApplicationSettings {
|
|
780
|
+
/**
|
|
781
|
+
* Gets or sets available locales settings
|
|
782
|
+
*/
|
|
783
|
+
availableLocales: IAvailableLocalesSettings_2[];
|
|
784
|
+
/**
|
|
785
|
+
* Gets or sets culture settings
|
|
786
|
+
*/
|
|
787
|
+
culture: ICultureSettings_2;
|
|
788
|
+
/**
|
|
789
|
+
* Gets or sets environment settings
|
|
790
|
+
*/
|
|
791
|
+
environment: IEnvironmentSettings_2;
|
|
792
|
+
/**
|
|
793
|
+
* Gets or sets extensions loading info settings
|
|
794
|
+
*/
|
|
795
|
+
extensionsLoadingInfo: IExtensionLoadingInfo_2[];
|
|
796
|
+
/**
|
|
797
|
+
* Gets or sets system settings
|
|
798
|
+
*/
|
|
799
|
+
system: ISystemSettings_2;
|
|
800
|
+
/**
|
|
801
|
+
* Gets user info
|
|
802
|
+
*/
|
|
803
|
+
user: IUserInfo_2;
|
|
804
|
+
/**
|
|
805
|
+
* Gets settings service info
|
|
806
|
+
*/
|
|
807
|
+
settingsService: ISettingsService;
|
|
808
|
+
/**
|
|
809
|
+
* Gets grid settings
|
|
810
|
+
*/
|
|
811
|
+
view: IViewSettings;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
declare interface IApplicationSettings_2 {
|
|
815
|
+
/**
|
|
816
|
+
* Gets or sets available locales settings
|
|
817
|
+
*/
|
|
818
|
+
availableLocales: IAvailableLocalesSettings_2[];
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Gets or sets culture settings
|
|
822
|
+
*/
|
|
823
|
+
culture: ICultureSettings_2;
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Gets or sets environment settings
|
|
827
|
+
*/
|
|
828
|
+
environment: IEnvironmentSettings_2;
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Gets or sets extensions loading info settings
|
|
832
|
+
*/
|
|
833
|
+
extensionsLoadingInfo: IExtensionLoadingInfo_2[];
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Gets or sets system settings
|
|
837
|
+
*/
|
|
838
|
+
system: ISystemSettings_2;
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Gets user info
|
|
842
|
+
*/
|
|
843
|
+
user: IUserInfo_2;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Gets settings service info
|
|
847
|
+
*/
|
|
848
|
+
settingsService: ISettingsService_2;
|
|
849
|
+
/**
|
|
850
|
+
* Gets grid settings
|
|
851
|
+
*/
|
|
852
|
+
view: IViewSettings;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export declare interface IAvailableLocalesSettings {
|
|
856
|
+
/**
|
|
857
|
+
* Language display name
|
|
858
|
+
*/
|
|
859
|
+
displayName: string;
|
|
860
|
+
/**
|
|
861
|
+
* Icon title (with filename extension)
|
|
862
|
+
*/
|
|
863
|
+
iconFileName: string;
|
|
864
|
+
/**
|
|
865
|
+
* LCID decimal
|
|
866
|
+
*/
|
|
867
|
+
lcid: number;
|
|
868
|
+
/**
|
|
869
|
+
* Language code
|
|
870
|
+
*/
|
|
871
|
+
name: string;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
declare interface IAvailableLocalesSettings_2 {
|
|
875
|
+
/**
|
|
876
|
+
* Language display name
|
|
877
|
+
*/
|
|
878
|
+
displayName: string;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Icon title (with filename extension)
|
|
882
|
+
*/
|
|
883
|
+
iconFileName: string;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* LCID decimal
|
|
887
|
+
*/
|
|
888
|
+
lcid: number;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Language code
|
|
892
|
+
*/
|
|
893
|
+
name: string;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
declare interface IBreadcrumbsItems {
|
|
897
|
+
label: BreadcrumbsLabel | string;
|
|
898
|
+
path?: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
declare interface IBreadcrumbsItems_2 {
|
|
902
|
+
label: BreadcrumbsLabel_2 | string;
|
|
903
|
+
path?: string;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
declare interface IButtonsProps {
|
|
907
|
+
text: string;
|
|
908
|
+
onClick: () => void;
|
|
909
|
+
className?: string;
|
|
910
|
+
dataTestId?: string;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
declare interface IButtonWithLoadingProps extends ButtonProps {
|
|
914
|
+
isPending: boolean;
|
|
915
|
+
color?: ButtonProps["color"];
|
|
916
|
+
circularProgressSize?: CircularProgressProps["size"];
|
|
917
|
+
circularProgressColor?: CircularProgressProps["color"];
|
|
918
|
+
showTextOnPending?: boolean;
|
|
919
|
+
textArrangement?: "start" | "end";
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
declare interface ICardUrl extends Service {
|
|
923
|
+
getLinkToWebClient(dvConnectionId: string, cardID: string): Promise<string>;
|
|
924
|
+
getLinkToWindowsClient(dvConnectionId: string, cardID: string): Promise<string>;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
declare interface ICellTextContentProps {
|
|
928
|
+
content: string;
|
|
929
|
+
multiline?: boolean;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
export declare interface ICellWithFixedWidthProps {
|
|
933
|
+
content: string | string[];
|
|
934
|
+
maxWidth: string | number;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export declare interface ICellWithTwoLineClampingProps {
|
|
938
|
+
content: string;
|
|
939
|
+
className?: string;
|
|
940
|
+
align?: "left" | "right" | "center";
|
|
941
|
+
component?: typeof TableCell;
|
|
942
|
+
maxWidth: string | number;
|
|
943
|
+
onClick: () => void;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
declare enum IChangeOperationType {
|
|
947
|
+
Save = 0,
|
|
948
|
+
Remove = 1
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
declare enum IChangeOperationType_2 {
|
|
952
|
+
Save = 0,
|
|
953
|
+
Remove = 1
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export declare interface IComponentIconProps {
|
|
957
|
+
className?: string;
|
|
958
|
+
color?: string;
|
|
959
|
+
onClick?: () => void;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export declare interface ICompositionTable extends IComposition<string, any, TableCompositions.Row<string>> {
|
|
963
|
+
props?: IComposition<string, string, $Resources_2 & $CardUrl & $MessageWindow & $ContextMenuOptions>;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
declare interface IConfigurationLocksController extends Service {
|
|
967
|
+
getConfigurationLocks(): Promise<ILongOperation[]>;
|
|
968
|
+
unlockOperation(longOperationId: string): Promise<void>;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
declare interface IConfigurationValue {
|
|
972
|
+
path: string;
|
|
973
|
+
value: string;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
declare interface IConfigurationValue_2 {
|
|
977
|
+
path: string;
|
|
978
|
+
value: string;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
declare interface IConfigurationValueChange extends IConfigurationValue{
|
|
982
|
+
operation: IChangeOperationType;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
|
|
986
|
+
operation: IChangeOperationType_2;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
declare interface IConnectionStatusInfo {
|
|
990
|
+
status: ConnectionStatus;
|
|
991
|
+
message: string;
|
|
992
|
+
uniqueServerName?: string;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export declare interface IContainerProps extends HtmlProps.button {
|
|
996
|
+
title?: string;
|
|
997
|
+
content?: JSX.Element | string;
|
|
998
|
+
services?: $Resources_2;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
export declare interface IContextMenuParameters {
|
|
1002
|
+
dvConnectionId?: string;
|
|
1003
|
+
currentCardId?: string;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
export declare interface ICultureSettings {
|
|
1007
|
+
/**
|
|
1008
|
+
* First day of week
|
|
1009
|
+
*/
|
|
1010
|
+
firstDayOfWeek: number;
|
|
1011
|
+
/**
|
|
1012
|
+
* Date time pattern: "dddd, MMMM DD, YYYY hh:mm:ss a"
|
|
1013
|
+
*/
|
|
1014
|
+
fullDateTimePattern: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Date time pattern: "dddd, MMMM DD, YYYY"
|
|
1017
|
+
*/
|
|
1018
|
+
longDatePattern: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Time pattern:"hh:mm:ss a"
|
|
1021
|
+
*/
|
|
1022
|
+
longTimePattern: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Culture name (e.g. "en-US")
|
|
1025
|
+
*/
|
|
1026
|
+
name: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Number decimal separator (e.g. ".")
|
|
1029
|
+
*/
|
|
1030
|
+
numberDecimalSeparator: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* Number group separator (e.g. ",")
|
|
1033
|
+
*/
|
|
1034
|
+
numberGroupSeparator: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Percent decimal digits
|
|
1037
|
+
*/
|
|
1038
|
+
percentDecimalDigits: number;
|
|
1039
|
+
/**
|
|
1040
|
+
* Date pattern: "MM/DD/YYYY"
|
|
1041
|
+
*/
|
|
1042
|
+
shortDatePattern: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Time pattern: "hh:mm a"
|
|
1045
|
+
*/
|
|
1046
|
+
shortTimePattern: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* ISO language name (e.g. "en")
|
|
1049
|
+
*/
|
|
1050
|
+
twoLetterISOLanguageName: string;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
declare interface ICultureSettings_2 {
|
|
1054
|
+
/**
|
|
1055
|
+
* First day of week
|
|
1056
|
+
*/
|
|
1057
|
+
firstDayOfWeek: number,
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Date time pattern: "dddd, MMMM DD, YYYY hh:mm:ss a"
|
|
1061
|
+
*/
|
|
1062
|
+
fullDateTimePattern: string,
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Date time pattern: "dddd, MMMM DD, YYYY"
|
|
1066
|
+
*/
|
|
1067
|
+
longDatePattern: string,
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* Time pattern:"hh:mm:ss a"
|
|
1071
|
+
*/
|
|
1072
|
+
longTimePattern: string,
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Culture name (e.g. "en-US")
|
|
1076
|
+
*/
|
|
1077
|
+
name: string,
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Number decimal separator (e.g. ".")
|
|
1081
|
+
*/
|
|
1082
|
+
numberDecimalSeparator: string,
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Number group separator (e.g. ",")
|
|
1086
|
+
*/
|
|
1087
|
+
numberGroupSeparator: string,
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Percent decimal digits
|
|
1091
|
+
*/
|
|
1092
|
+
percentDecimalDigits: number,
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Date pattern: "MM/DD/YYYY"
|
|
1096
|
+
*/
|
|
1097
|
+
shortDatePattern: string,
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Time pattern: "hh:mm a"
|
|
1101
|
+
*/
|
|
1102
|
+
shortTimePattern: string,
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* ISO language name (e.g. "en")
|
|
1106
|
+
*/
|
|
1107
|
+
twoLetterISOLanguageName: string,
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
export declare interface IDashboard {
|
|
1111
|
+
id: string;
|
|
1112
|
+
title: string;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
declare interface IDashboard_2 {
|
|
1116
|
+
id: string;
|
|
1117
|
+
title: string;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
export declare interface IDashboardConfiguration {
|
|
1121
|
+
dashboard: IDashboard;
|
|
1122
|
+
widgets: IWidgetServerModel_2[];
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
declare interface IDashboardConfiguration_2 {
|
|
1126
|
+
dashboard: IDashboard_2;
|
|
1127
|
+
widgets: IWidgetServerModel_2[];
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export declare interface IDashboardConfigurationService {
|
|
1131
|
+
getDashboardConfiguration(dashboardId: string): Promise<IDashboardConfiguration>;
|
|
1132
|
+
addDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration): Promise<void>;
|
|
1133
|
+
updateDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration): Promise<void>;
|
|
1134
|
+
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
declare interface IDashboardConfigurationService_2 {
|
|
1138
|
+
getDashboardConfiguration(dashboardId: string): Promise<IDashboardConfiguration_2>;
|
|
1139
|
+
addDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration_2): Promise<void>;
|
|
1140
|
+
updateDashboardConfiguration(dashboardConfiguration: IDashboardConfiguration_2): Promise<void>;
|
|
1141
|
+
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export declare interface IDashboardPosition {
|
|
1145
|
+
order: number;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
declare interface IDashboardPosition_2 {
|
|
1149
|
+
order: number;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
declare interface IDatabase {
|
|
1153
|
+
alias: string;
|
|
1154
|
+
databaseName: string;
|
|
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
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
export declare interface IDatabaseModel {
|
|
1197
|
+
baseName: string;
|
|
1198
|
+
sqlServerName: string;
|
|
1199
|
+
serverType: EngineType;
|
|
1200
|
+
usesFileService: boolean;
|
|
1201
|
+
hash: string;
|
|
1202
|
+
serverNames: string[];
|
|
1203
|
+
error?: string;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
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
|
+
export declare interface IDatabaseSelectionModalProps {
|
|
1235
|
+
open: boolean;
|
|
1236
|
+
databases: IDatabaseModel[];
|
|
1237
|
+
onCancel: () => void;
|
|
1238
|
+
onApply: (selected: IDatabaseModel[]) => void;
|
|
1239
|
+
resources: IResourcesMap_2;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export declare interface IDatabaseSettingsCardProps {
|
|
1243
|
+
title: string;
|
|
1244
|
+
label: string;
|
|
1245
|
+
isDefault: boolean;
|
|
1246
|
+
children?: React_2.ReactNode;
|
|
1247
|
+
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>);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
export declare interface IDateRangeComponent {
|
|
1257
|
+
value?: string[];
|
|
1258
|
+
onChange?(value: (string | Moment)[]): void;
|
|
1259
|
+
customClass?: string;
|
|
1260
|
+
forwardRef?: RefObject<HTMLElement>;
|
|
1261
|
+
dateFormatData?: IDateFormatPluginData;
|
|
1262
|
+
services?: $Resources_2;
|
|
1263
|
+
columnName?: string;
|
|
1264
|
+
type?: ColumnType;
|
|
1265
|
+
focused?: boolean;
|
|
1266
|
+
onChangeFocus?(e: React_2.FocusEvent, flag: boolean): void;
|
|
1267
|
+
isValueValid?: boolean;
|
|
1268
|
+
locale?: string;
|
|
1269
|
+
visible?: boolean;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
declare interface IDateRangeComponent_2 {
|
|
1273
|
+
value?: string[];
|
|
1274
|
+
onChange?(value: (string | Moment)[]): void;
|
|
1275
|
+
customClass?: string;
|
|
1276
|
+
forwardRef?: RefObject<HTMLElement>;
|
|
1277
|
+
dateFormatData?: IDateFormatPluginData;
|
|
1278
|
+
services?: $Resources_2;
|
|
1279
|
+
columnName?: string;
|
|
1280
|
+
type?: ColumnType;
|
|
1281
|
+
focused?: boolean;
|
|
1282
|
+
onChangeFocus?(e: React_2.FocusEvent, flag: boolean): void;
|
|
1283
|
+
isValueValid?: boolean;
|
|
1284
|
+
locale?: string;
|
|
1285
|
+
visible?: boolean;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export declare interface IDateRangePickerProps extends IDateRangeComponent_2 {
|
|
1289
|
+
onAccept?: (dates: Moment[]) => void;
|
|
1290
|
+
collapsedCalendar?: () => void;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export declare interface IDateRangeProps extends IDateRangeComponent_2 {
|
|
1294
|
+
onAccept?: (dates: Moment[]) => void;
|
|
1295
|
+
dataTestIdPostfix?: string;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
declare class IDistinctValue{
|
|
1299
|
+
displayName?: string;
|
|
1300
|
+
value?: string;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export declare interface IDomEntryPointService {
|
|
1304
|
+
render(rootElementId: string): any;
|
|
1305
|
+
renderLoginPage(rootElementId: string): any;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
declare interface IDomEntryPointService_2 {
|
|
1309
|
+
render(rootElementId: string);
|
|
1310
|
+
renderLoginPage(rootElementId: string);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export declare interface IDropdownBodyProps {
|
|
1314
|
+
value?: SelectProps["value"];
|
|
1315
|
+
options?: IPageElementOption_2[];
|
|
1316
|
+
label: string;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
export declare interface IDropdownOptionProps extends Omit<MenuItemProps, "button"> {
|
|
1320
|
+
displayName: string;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export declare interface IEditorContainer extends IPageModelElement {
|
|
1324
|
+
children: React_2.ReactNode;
|
|
1325
|
+
isChanged?: boolean;
|
|
1326
|
+
resetValue?: () => void;
|
|
1327
|
+
className?: string;
|
|
1328
|
+
isEditable?: boolean;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
export declare interface IEditorDescription {
|
|
1332
|
+
/** Название редактора. */
|
|
1333
|
+
name: string;
|
|
1334
|
+
/** Компонент редактора */
|
|
1335
|
+
component: React_2.ComponentType<IPageModelElement>;
|
|
1336
|
+
/**
|
|
1337
|
+
* Определяет поведение, в случае если редактор с указанным типом уже зарегистрирован.
|
|
1338
|
+
*
|
|
1339
|
+
* При значении `true` существующий контрол будет заменен.
|
|
1340
|
+
* При значении `false` замена не произойдет, и в консоли браузера будет отображена ошибка.
|
|
1341
|
+
*
|
|
1342
|
+
* По умолчанию значение `false`.
|
|
1343
|
+
*/
|
|
1344
|
+
replaceExisting?: boolean;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
export declare interface IEditorFactory {
|
|
1348
|
+
register(name: string, componentType: React.ComponentType, replaceExisting: boolean): void;
|
|
1349
|
+
get(name: string): React.ComponentType;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
export declare interface IEditorInnerWrapper {
|
|
1353
|
+
children?: React_2.ReactNode;
|
|
1354
|
+
label?: string;
|
|
1355
|
+
description?: string;
|
|
1356
|
+
className?: string;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
export declare interface IEditorMap {
|
|
1360
|
+
[name: string]: IEditorType;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
export declare interface IEditorType {
|
|
1364
|
+
componentType: React_2.ComponentType<IPageModelElement>;
|
|
1365
|
+
editorName: string;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
export declare interface IEnvironmentSettings {
|
|
1369
|
+
/**
|
|
1370
|
+
* Name of the application.
|
|
1371
|
+
*/
|
|
1372
|
+
applicationName: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Gets or sets application path
|
|
1375
|
+
*/
|
|
1376
|
+
applicationPath: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* Unique value associated with application start time.
|
|
1379
|
+
*/
|
|
1380
|
+
applicationTimestamp: string;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
declare interface IEnvironmentSettings_2 {
|
|
1384
|
+
/**
|
|
1385
|
+
* Name of the application.
|
|
1386
|
+
*/
|
|
1387
|
+
applicationName: string;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* Gets or sets application path
|
|
1391
|
+
*/
|
|
1392
|
+
applicationPath: string;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Unique value associated with application start time.
|
|
1396
|
+
*/
|
|
1397
|
+
applicationTimestamp: string;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
export declare interface IErrorBlockProps {
|
|
1401
|
+
text: string;
|
|
1402
|
+
close: MouseEventHandler<HTMLDivElement>;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
export declare interface IErrorMessageProps {
|
|
1406
|
+
message: string;
|
|
1407
|
+
className?: string;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
export declare interface IExpandButtonProps extends HtmlProps_2.button {
|
|
1411
|
+
expanded?: boolean;
|
|
1412
|
+
dataTestId?: string;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
export declare interface IExpandMoreIconProps {
|
|
1416
|
+
onClick?: () => void;
|
|
1417
|
+
color?: string;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
declare interface IExtendedConfigurationController extends Service {
|
|
1421
|
+
getConfiguration(serviceId: string): Promise<IConfigurationValue[]>;
|
|
1422
|
+
saveConfiguration(serviceId: string, changes: IConfigurationValueChange[]): Promise<void>;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
declare interface IExtendedConfigurationController_2 extends Service {
|
|
1426
|
+
getConfiguration(serviceId: string): Promise<IConfigurationValue_2[]>;
|
|
1427
|
+
saveConfiguration(serviceId: string, changes: IConfigurationValueChange_2[]): Promise<void>;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
export declare interface IExtension {
|
|
1431
|
+
name: string;
|
|
1432
|
+
version: string;
|
|
1433
|
+
services?: (application: IApplication_2) => Service<any>[];
|
|
1434
|
+
widgets?: (application: IApplication_2) => IWidgetDescription_2[];
|
|
1435
|
+
editors?: () => IEditorDescription[];
|
|
1436
|
+
onApplicationRun?: (application: IApplication_2) => void;
|
|
1437
|
+
resources?: IExtensionResourcesDescriptor;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
export declare interface IExtensionInfo {
|
|
1441
|
+
/**
|
|
1442
|
+
* Gets extension name
|
|
1443
|
+
*/
|
|
1444
|
+
extensionName: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* Gets extension version
|
|
1447
|
+
*/
|
|
1448
|
+
version: string;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
declare interface IExtensionInfo_2 {
|
|
1452
|
+
/**
|
|
1453
|
+
* Gets extension name
|
|
1454
|
+
*/
|
|
1455
|
+
extensionName: string
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Gets extension version
|
|
1459
|
+
*/
|
|
1460
|
+
version: string
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
export declare interface IExtensionLoadingInfo {
|
|
1464
|
+
enabled: boolean;
|
|
1465
|
+
folderName: string;
|
|
1466
|
+
order: number;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
declare interface IExtensionLoadingInfo_2 {
|
|
1470
|
+
enabled: boolean;
|
|
1471
|
+
folderName: string;
|
|
1472
|
+
order: number;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export declare type IExtensionResourcesDescriptor = IServerExtensionResourcesDescriptor | IStaticExtensionResourcesDescriptor;
|
|
1476
|
+
|
|
1477
|
+
export declare interface IExtensionsService {
|
|
1478
|
+
loadExtensions(application: IApplication_2): any;
|
|
1479
|
+
registerServices(application: IApplication_2): any;
|
|
1480
|
+
registerWidgets(application: IApplication_2): any;
|
|
1481
|
+
registerEditors(application: IApplication_2): any;
|
|
1482
|
+
getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
declare interface IExtensionsService_2 {
|
|
1486
|
+
loadExtensions(application: IApplication_2);
|
|
1487
|
+
registerServices(application: IApplication_2);
|
|
1488
|
+
registerWidgets(application: IApplication_2);
|
|
1489
|
+
registerEditors(application: IApplication_2);
|
|
1490
|
+
getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
export declare interface IFilteringClearButtonProps {
|
|
1494
|
+
onChange(value: (string | Moment)[]): void;
|
|
1495
|
+
visible: boolean;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
declare interface IFilterPluginsLoadingService {
|
|
1499
|
+
$stateButtons: Store<IDistinctValue[]>;
|
|
1500
|
+
$services: Store<IDistinctValue[]>;
|
|
1501
|
+
onStateClick: Event_2<IDistinctValue>;
|
|
1502
|
+
serviceChange: Event_2<IDistinctValue>;
|
|
1503
|
+
$selectedState: Store<IDistinctValue>;
|
|
1504
|
+
$selectedService: Store<IDistinctValue>;
|
|
1505
|
+
updateStateButtons: Event_2<IDistinctValue[]>;
|
|
1506
|
+
updateServices: Event_2<IDistinctValue[]>;
|
|
1507
|
+
onLockButtonClick: Event_2<void>;
|
|
1508
|
+
$lockButtonState: Store<boolean>;
|
|
1509
|
+
$stateButtonsLoading: Store<boolean>;
|
|
1510
|
+
changeStateButtonsLoading: Event_2<boolean>;
|
|
1511
|
+
$serviceLoading: Store<boolean>;
|
|
1512
|
+
changeServiceLoading: Event_2<boolean>;
|
|
1513
|
+
$lockButtonLoading: Store<boolean>;
|
|
1514
|
+
changeLockButtonLoading: Event_2<boolean>;
|
|
1515
|
+
initialization: Event_2<void>;
|
|
1516
|
+
$cursorId: Store<string>;
|
|
1517
|
+
updateCursorId: Event_2<string>;
|
|
1518
|
+
$savedFilters: Store<IFilterValues>;
|
|
1519
|
+
save: Event_2<IFilterValues>;
|
|
1520
|
+
$disabled: Store<boolean>;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
declare interface IFilterValues {
|
|
1524
|
+
state?: IncomingMessageState,
|
|
1525
|
+
hasWaitingLocks?: boolean,
|
|
1526
|
+
typeId?: string
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
export declare interface IFormControl {
|
|
1530
|
+
isDirty: boolean;
|
|
1531
|
+
submitted: Event_2<unknown>;
|
|
1532
|
+
canceled: Event_2<void>;
|
|
1533
|
+
setIsDirty: (value: boolean) => void;
|
|
1534
|
+
onSubmit: ({ confirm }: {
|
|
1535
|
+
confirm: boolean;
|
|
1536
|
+
}) => void;
|
|
1537
|
+
onCancel: () => void;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
declare interface IFormControl_2 {
|
|
1541
|
+
isDirty: boolean;
|
|
1542
|
+
submitted: Event_2<unknown>;
|
|
1543
|
+
canceled: Event_2<void>;
|
|
1544
|
+
|
|
1545
|
+
setIsDirty: (value: boolean) => void;
|
|
1546
|
+
onSubmit: ({ confirm }: { confirm: boolean }) => void;
|
|
1547
|
+
onCancel: () => void;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
export declare interface IGroupPanelProps {
|
|
1551
|
+
groups: Record<string, string[]>;
|
|
1552
|
+
selectedGroup: string;
|
|
1553
|
+
selectGroup: (group: string) => void;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
declare interface IHelpIconButtonProps {
|
|
1557
|
+
helpText: string;
|
|
1558
|
+
iconButtonSize?: IconButtonProps["size"];
|
|
1559
|
+
iconClassName?: string;
|
|
1560
|
+
iconColor?: SvgIconProps["color"];
|
|
1561
|
+
popoverClassName?: string;
|
|
1562
|
+
popoverOrigin?: PopoverOrigin;
|
|
1563
|
+
transformOrigin?: PopoverOrigin;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export declare interface IInformationIconProps {
|
|
1567
|
+
className?: string;
|
|
1568
|
+
color?: string;
|
|
1569
|
+
onClick?: () => void;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
export declare interface IKeyValue {
|
|
1573
|
+
key: string;
|
|
1574
|
+
value: string;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
export declare interface ILayoutService extends Service {
|
|
1578
|
+
getLayout(layoutId: string, serviceId?: string, itemId?: string): Promise<IPageModel>;
|
|
1579
|
+
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel>;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
declare interface ILayoutService_2 extends Service {
|
|
1583
|
+
getLayout(layoutId: string, serviceId?: string, itemId?: string): Promise<IPageModel_2>;
|
|
1584
|
+
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement_2[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel_2>;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
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
|
+
declare interface ILineWithError {
|
|
1601
|
+
error: string;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
export declare interface IListitemProps {
|
|
1605
|
+
value: string;
|
|
1606
|
+
deleteItem: () => void;
|
|
1607
|
+
changeItem: (value: string) => void;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
declare interface IListPanelProps {
|
|
1611
|
+
items: string[];
|
|
1612
|
+
setItems: (items: string[]) => void;
|
|
1613
|
+
className?: string;
|
|
1614
|
+
disabled?: boolean;
|
|
1615
|
+
validate?: (value: string) => Promise<boolean>;
|
|
1616
|
+
errorMessage?: string;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
export declare interface ILocalizationService {
|
|
1620
|
+
/**
|
|
1621
|
+
* Gets localization
|
|
1622
|
+
*/
|
|
1623
|
+
getLocales(): Promise<IAvailableLocalesSettings_2[]>;
|
|
1624
|
+
/**
|
|
1625
|
+
* Updates localization
|
|
1626
|
+
*/
|
|
1627
|
+
setUserLocale(locale: string, options?: RequestInit): Promise<void>;
|
|
1628
|
+
/**
|
|
1629
|
+
* Gets resources
|
|
1630
|
+
*/
|
|
1631
|
+
getResources(): Promise<IResourcesMap_2>;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
declare interface ILocalizationService_2 {
|
|
1635
|
+
/**
|
|
1636
|
+
* Gets localization
|
|
1637
|
+
*/
|
|
1638
|
+
getLocales(): Promise<IAvailableLocalesSettings_2[]>;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Updates localization
|
|
1642
|
+
*/
|
|
1643
|
+
setUserLocale(locale: string, options?: RequestInit): Promise<void>;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Gets resources
|
|
1647
|
+
*/
|
|
1648
|
+
getResources(): Promise<IResourcesMap_2>;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
export declare interface ILocalizationsMap {
|
|
1652
|
+
[id: string]: IResourcesMap;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
export declare interface ILocalStorage {
|
|
1656
|
+
/** Поддерживает ли браузер localStorage. */
|
|
1657
|
+
supportsLocalStorage(): boolean;
|
|
1658
|
+
/**
|
|
1659
|
+
* Сериализует из записывает значение в localStorage.
|
|
1660
|
+
*
|
|
1661
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1662
|
+
* Для чтения значения используйте {@link getData}.
|
|
1663
|
+
*/
|
|
1664
|
+
setData<T>(id: string, obj: T): boolean;
|
|
1665
|
+
/**
|
|
1666
|
+
* Получает данные из localStorage и десериализует их.
|
|
1667
|
+
*
|
|
1668
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1669
|
+
* Для записи значения используйте {@link getData}.
|
|
1670
|
+
*/
|
|
1671
|
+
getData<T>(id: string): T | null;
|
|
1672
|
+
/**
|
|
1673
|
+
* Записывает значение в localStorage.
|
|
1674
|
+
*
|
|
1675
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1676
|
+
* Для чтения значения используйте {@link getItem}.
|
|
1677
|
+
*/
|
|
1678
|
+
setItem(id: string, data: string): boolean;
|
|
1679
|
+
/**
|
|
1680
|
+
* Возвращает значение из localStorage.
|
|
1681
|
+
*
|
|
1682
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1683
|
+
* Для записи значения используйте {@link setItem}.
|
|
1684
|
+
*/
|
|
1685
|
+
getItem(id: string): string | null;
|
|
1686
|
+
/**
|
|
1687
|
+
* Удаляет значение из localStorage.
|
|
1688
|
+
*
|
|
1689
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1690
|
+
* Для записи значения используйте {@link setItem}.
|
|
1691
|
+
*/
|
|
1692
|
+
removeItem(id: string): void;
|
|
1693
|
+
/**
|
|
1694
|
+
* Преобразует ключ, добавляя к нему имя базы и идентификатор пользователя.
|
|
1695
|
+
*
|
|
1696
|
+
* Используется остальными методами сервиса. Необходим для исключения
|
|
1697
|
+
* конфликтов при одновременной работе с разными базами и разными пользователями.
|
|
1698
|
+
*/
|
|
1699
|
+
transformId(id: string): string;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
declare interface ILocalStorage_2 {
|
|
1703
|
+
|
|
1704
|
+
/** Поддерживает ли браузер localStorage. */
|
|
1705
|
+
supportsLocalStorage(): boolean;
|
|
1706
|
+
/**
|
|
1707
|
+
* Сериализует из записывает значение в localStorage.
|
|
1708
|
+
*
|
|
1709
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1710
|
+
* Для чтения значения используйте {@link getData}.
|
|
1711
|
+
*/
|
|
1712
|
+
setData<T>(id: string, obj: T): boolean;
|
|
1713
|
+
/**
|
|
1714
|
+
* Получает данные из localStorage и десериализует их.
|
|
1715
|
+
*
|
|
1716
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1717
|
+
* Для записи значения используйте {@link getData}.
|
|
1718
|
+
*/
|
|
1719
|
+
getData<T>(id: string): T | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* Записывает значение в localStorage.
|
|
1722
|
+
*
|
|
1723
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1724
|
+
* Для чтения значения используйте {@link getItem}.
|
|
1725
|
+
*/
|
|
1726
|
+
setItem(id: string, data: string): boolean;
|
|
1727
|
+
/**
|
|
1728
|
+
* Возвращает значение из localStorage.
|
|
1729
|
+
*
|
|
1730
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1731
|
+
* Для записи значения используйте {@link setItem}.
|
|
1732
|
+
*/
|
|
1733
|
+
getItem(id: string): string | null;
|
|
1734
|
+
/**
|
|
1735
|
+
* Удаляет значение из localStorage.
|
|
1736
|
+
*
|
|
1737
|
+
* Внимание, к ключу добавляется имя базы и идентификатор пользователя!
|
|
1738
|
+
* Для записи значения используйте {@link setItem}.
|
|
1739
|
+
*/
|
|
1740
|
+
removeItem(id: string): void;
|
|
1741
|
+
/**
|
|
1742
|
+
* Преобразует ключ, добавляя к нему имя базы и идентификатор пользователя.
|
|
1743
|
+
*
|
|
1744
|
+
* Используется остальными методами сервиса. Необходим для исключения
|
|
1745
|
+
* конфликтов при одновременной работе с разными базами и разными пользователями.
|
|
1746
|
+
*/
|
|
1747
|
+
transformId(id: string): string;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
declare interface ILongOperation {
|
|
1751
|
+
operationId: string;
|
|
1752
|
+
serverName: string;
|
|
1753
|
+
componentName: string;
|
|
1754
|
+
startDate: string;
|
|
1755
|
+
author: string;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
declare interface IMenuItem {
|
|
1759
|
+
id: string;
|
|
1760
|
+
name: string;
|
|
1761
|
+
refElement?: React.RefObject<HTMLDivElement>;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
declare interface IMenuItem_2 {
|
|
1765
|
+
id: string;
|
|
1766
|
+
name: string;
|
|
1767
|
+
refElement?: React.RefObject<HTMLDivElement>;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
export declare interface IMetaInformation {
|
|
1771
|
+
readOnly: boolean;
|
|
1772
|
+
acceptMessage: string;
|
|
1773
|
+
readonlyReasonMsg?: string;
|
|
1774
|
+
timestamp?: number;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
declare interface IMetaInformation_2 {
|
|
1778
|
+
readOnly: boolean;
|
|
1779
|
+
acceptMessage: string;
|
|
1780
|
+
readonlyReasonMsg?: string;
|
|
1781
|
+
timestamp?: number;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
export declare interface INavigationMenuProps {
|
|
1785
|
+
menuItems: IMenuItem_2[];
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
declare interface INavigationMenuService {
|
|
1789
|
+
$menuItems: Store<IMenuItem[]>;
|
|
1790
|
+
addMenuItem: Event_2<IMenuItem>;
|
|
1791
|
+
clearMenuItems: Event_2<void>;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
declare interface INavigationMenuService_2 {
|
|
1795
|
+
$menuItems: Store<IMenuItem_2[]>;
|
|
1796
|
+
addMenuItem: Event_2<IMenuItem_2>;
|
|
1797
|
+
clearMenuItems: Event_2<void>;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
declare enum IncomingMessageState {
|
|
1801
|
+
Unhandled = 0,
|
|
1802
|
+
Handled = 1,
|
|
1803
|
+
Error = 2,
|
|
1804
|
+
Paused = 4
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
export declare function InformationIcon(props: IInformationIconProps): JSX.Element;
|
|
1808
|
+
|
|
1809
|
+
declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant"> {
|
|
1810
|
+
name: string;
|
|
1811
|
+
value?: number;
|
|
1812
|
+
minValue?: number;
|
|
1813
|
+
maxValue?: number;
|
|
1814
|
+
fullWidth?: boolean;
|
|
1815
|
+
width?: number;
|
|
1816
|
+
textAlign?: "left" | "center" | "right";
|
|
1817
|
+
errorMessage?: string;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
export declare interface IPageElementOption {
|
|
1821
|
+
displayName: string;
|
|
1822
|
+
value: string | number;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
declare interface IPageElementOption_2 {
|
|
1826
|
+
displayName: string;
|
|
1827
|
+
value: string | number;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
export declare interface IPageFilterButtonProps {
|
|
1831
|
+
onClick?: (event: React_2.MouseEvent<HTMLButtonElement>) => void;
|
|
1832
|
+
text?: string;
|
|
1833
|
+
selected?: boolean;
|
|
1834
|
+
loading?: boolean;
|
|
1835
|
+
disabled?: boolean;
|
|
1836
|
+
dataTestIdPostfix?: string;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
export declare interface IPageLayoutModelElement {
|
|
1840
|
+
id: string;
|
|
1841
|
+
label: string;
|
|
1842
|
+
description?: string;
|
|
1843
|
+
valueLabel?: string;
|
|
1844
|
+
editorType?: string;
|
|
1845
|
+
required?: boolean;
|
|
1846
|
+
hidden?: boolean;
|
|
1847
|
+
options?: IPageElementOption[];
|
|
1848
|
+
value?: unknown;
|
|
1849
|
+
error?: string | null;
|
|
1850
|
+
elements?: IPageModelElement[];
|
|
1851
|
+
extendedLayoutId?: string;
|
|
1852
|
+
readonly?: boolean;
|
|
1853
|
+
parameters?: Record<string, string>;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
declare interface IPageLayoutModelElement_2 {
|
|
1857
|
+
id: string;
|
|
1858
|
+
label: string;
|
|
1859
|
+
description?: string;
|
|
1860
|
+
valueLabel?: string;
|
|
1861
|
+
editorType?: string;
|
|
1862
|
+
required?: boolean;
|
|
1863
|
+
hidden?: boolean;
|
|
1864
|
+
options?: IPageElementOption_2[];
|
|
1865
|
+
value?: unknown;
|
|
1866
|
+
error?: string | null;
|
|
1867
|
+
elements?: IPageModelElement_2[];
|
|
1868
|
+
extendedLayoutId?: string;
|
|
1869
|
+
readonly?: boolean;
|
|
1870
|
+
parameters?: Record<string, string>;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
export declare interface IPageModel {
|
|
1874
|
+
elements: IPageLayoutModelElement[];
|
|
1875
|
+
meta: IMetaInformation;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
declare interface IPageModel_2 {
|
|
1879
|
+
elements: IPageLayoutModelElement_2[];
|
|
1880
|
+
meta: IMetaInformation_2;
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
export declare interface IPageModelElement extends IPageLayoutModelElement {
|
|
1884
|
+
services?: IApplicationServices;
|
|
1885
|
+
formMethods?: CustomUseFormReturn;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
declare interface IPageModelElement_2 extends IPageLayoutModelElement_2 {
|
|
1889
|
+
services?: IApplicationServices_2;
|
|
1890
|
+
formMethods?: CustomUseFormReturn_2;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
export declare interface IPageSaveModel {
|
|
1894
|
+
layoutId: string;
|
|
1895
|
+
serviceId?: string;
|
|
1896
|
+
data: IPageSaveModelElement[];
|
|
1897
|
+
itemId?: string;
|
|
1898
|
+
timestamp?: number;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
export declare interface IPageSaveModelElement {
|
|
1902
|
+
id: string;
|
|
1903
|
+
value: unknown;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
declare interface IPageSaveModelElement_2 {
|
|
1907
|
+
id: string;
|
|
1908
|
+
value: unknown;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
export declare interface IPageTabLabelProps extends HtmlProps.div {
|
|
1912
|
+
text: string;
|
|
1913
|
+
selected: boolean;
|
|
1914
|
+
onTabLabelClick?: (activeTab: any) => void;
|
|
1915
|
+
children?: React_2.ReactNode;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
export declare interface IPageTableProps extends HtmlProps.div {
|
|
1919
|
+
data: ITableData;
|
|
1920
|
+
onRowClick?: (row: IRow) => void;
|
|
1921
|
+
addRowClassName?: (row: IRow) => string;
|
|
1922
|
+
services?: $Resources_2 & $ApplicationSettings_2 & $MessageWindow;
|
|
1923
|
+
loadData?: (data?: ITableData, options?: ITableDataLoadRequest) => Promise<void>;
|
|
1924
|
+
disabledFeatures?: string[];
|
|
1925
|
+
extraPlugins?: ITablePlugins[];
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
export declare interface IPageTabProps extends HtmlProps.div {
|
|
1929
|
+
children?: React_2.ReactNode;
|
|
1930
|
+
className?: string;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
export declare interface IPageTitleProps extends HtmlProps.div {
|
|
1934
|
+
text: string;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Сервис для раскрытия или закрытия всех панелей.
|
|
1939
|
+
*/
|
|
1940
|
+
declare interface IPanelsExpansionService {
|
|
1941
|
+
|
|
1942
|
+
$panelsState: Store<PanelsState>;
|
|
1943
|
+
|
|
1944
|
+
/** Раскрывает все панели. */
|
|
1945
|
+
expandAllPanels(): void;
|
|
1946
|
+
|
|
1947
|
+
/** Закрывает все панели. */
|
|
1948
|
+
collapseAllPanels(): void;
|
|
1949
|
+
|
|
1950
|
+
/** Устанавливает смешанное состояние панелей. */
|
|
1951
|
+
toggleMixedState(): void;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
declare interface IPeriodValue {
|
|
1955
|
+
key: PeriodType;
|
|
1956
|
+
value: string;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
export declare interface IPopupNotificationProps extends Noty_2.Options {
|
|
1960
|
+
buttonsProps?: IButtonsProps[];
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
declare interface IProcessStatus {
|
|
1964
|
+
state: ProcessState;
|
|
1965
|
+
errorMessage?: string
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
declare interface IRealtimeCommunicationService {
|
|
1969
|
+
on: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
1970
|
+
off: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
1971
|
+
invoke: (methodName: string, ...args: unknown[]) => Promise<unknown>;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
declare interface IRealtimeCommunicationService_2 {
|
|
1975
|
+
on: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
1976
|
+
off: (methodName: string, callback: (...args: unknown[]) => void) => void;
|
|
1977
|
+
invoke: (methodName: string, ...args: unknown[]) => Promise<unknown>;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
declare interface IRepeatProcessButtonService {
|
|
1981
|
+
$repeatProcess: Store<boolean>;
|
|
1982
|
+
changeRepeatProcess: Event_2<boolean>;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
export declare interface IResourcesManagement {
|
|
1986
|
+
resources: IResourcesMap_2;
|
|
1987
|
+
addResources: (resourcesMap: IResourcesMap_2) => void;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
declare interface IResourcesManagement_2 {
|
|
1991
|
+
resources: IResourcesMap_2;
|
|
1992
|
+
addResources: (resourcesMap: IResourcesMap_2) => void;
|
|
1993
|
+
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
export declare interface IResourcesMap {
|
|
1997
|
+
[id: string]: string;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
declare interface IResourcesMap_2 {
|
|
2001
|
+
[id: string]: string;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
export declare interface IRouteContentRenderService {
|
|
2005
|
+
register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
|
|
2006
|
+
$contentComponent: Store<JSX.Element>;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
declare interface IRouteContentRenderService_2 {
|
|
2010
|
+
register(path: string, routeHandler: RouteHandler_2, hooks?: HooksHandler_2);
|
|
2011
|
+
$contentComponent: Store<JSX.Element>;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
export declare interface IRoutePathModel {
|
|
2015
|
+
basePath?: string;
|
|
2016
|
+
dashboardId?: string;
|
|
2017
|
+
widgetId?: string;
|
|
2018
|
+
cardId?: string;
|
|
2019
|
+
url?: string;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
export declare interface ISavePageErrorModel {
|
|
2023
|
+
id: string;
|
|
2024
|
+
errorMessage: string;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
declare interface ISavePageErrorModel_2 {
|
|
2028
|
+
id: string;
|
|
2029
|
+
errorMessage: string;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
export declare interface ISavePageResultModel {
|
|
2033
|
+
status: SavePageStatus;
|
|
2034
|
+
longOperations: string[];
|
|
2035
|
+
errors: ISavePageErrorModel[];
|
|
2036
|
+
timestamp?: number;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
declare interface ISavePageResultModel_2 {
|
|
2040
|
+
status: SavePageStatus_2;
|
|
2041
|
+
longOperations: string[];
|
|
2042
|
+
errors: ISavePageErrorModel_2[];
|
|
2043
|
+
timestamp?: number;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
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
|
+
export declare interface ISectionContentWrapperProps extends IPageModelElement {
|
|
2064
|
+
className?: string;
|
|
2065
|
+
refElement?: React_2.RefObject<HTMLDivElement>;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
declare interface IServerDescription {
|
|
2069
|
+
id: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
declare interface IServerDescription_2 {
|
|
2074
|
+
id: string;
|
|
2075
|
+
name: string;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
declare interface IServerDetails extends IServerDescription {
|
|
2079
|
+
alias: string;
|
|
2080
|
+
operatingSystem: string;
|
|
2081
|
+
services: IServiceDescription[];
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
declare interface IServerDetails_2 extends IServerDescription_2 {
|
|
2085
|
+
alias: string;
|
|
2086
|
+
operatingSystem: string;
|
|
2087
|
+
services: IServiceDescription_2[];
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
export declare interface IServerExtensionResourcesDescriptor {
|
|
2091
|
+
mode: "server";
|
|
2092
|
+
url: string;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
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
|
+
declare interface IServersController extends Service {
|
|
2107
|
+
getServers(): Promise<IServerDescription[]>;
|
|
2108
|
+
getServerInfo(id: string): Promise<IServerDetails>;
|
|
2109
|
+
deleteService(id: string): Promise<void>;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
declare interface IServersController_2 extends Service {
|
|
2113
|
+
getServers(): Promise<IServerDescription_2[]>;
|
|
2114
|
+
getServerInfo(id: string): Promise<IServerDetails_2>;
|
|
2115
|
+
deleteService(id: string): Promise<void>;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
declare interface IServiceDescription {
|
|
2119
|
+
serviceId: string;
|
|
2120
|
+
serviceName: string;
|
|
2121
|
+
configurationLayoutId: string;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
declare interface IServiceDescription_2 {
|
|
2125
|
+
serviceId: string;
|
|
2126
|
+
serviceName: string;
|
|
2127
|
+
configurationLayoutId: string;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
export declare interface ISettingsNavigationService {
|
|
2131
|
+
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2132
|
+
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
2133
|
+
goToConfigurationPage: () => void;
|
|
2134
|
+
getBreadcrumbsItems: () => IBreadcrumbsItems_2[];
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
declare interface ISettingsNavigationService_2 {
|
|
2138
|
+
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
2139
|
+
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
2140
|
+
goToConfigurationPage: () => void;
|
|
2141
|
+
getBreadcrumbsItems: () => IBreadcrumbsItems[];
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
export declare interface ISettingsPageButtonPanelProps extends HtmlProps_2.div {
|
|
2145
|
+
buttons: ISettingsPagePanelButton[];
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
export declare interface ISettingsPagePanelButton extends ButtonProps {
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export declare interface ISettingsService {
|
|
2152
|
+
connectAddress: string;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
declare interface ISettingsService_2 {
|
|
2156
|
+
connectAddress: string;
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
export declare interface IStaticExtensionResourcesDescriptor {
|
|
2160
|
+
mode: "static";
|
|
2161
|
+
folder?: string;
|
|
2162
|
+
fileName?: string;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
export declare interface ISystemSettings {
|
|
2166
|
+
logLevel: LogLevel;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
declare interface ISystemSettings_2 {
|
|
2170
|
+
logLevel: LogLevel;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
export declare interface ITableScrollContainerComponentProps extends HtmlProps_2.div {
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
export declare interface ITenant {
|
|
2177
|
+
id: string;
|
|
2178
|
+
displayName: string;
|
|
2179
|
+
connectAddress: string;
|
|
2180
|
+
database: string;
|
|
2181
|
+
login: string;
|
|
2182
|
+
password: string;
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
declare interface ITenant_2 {
|
|
2186
|
+
id: string;
|
|
2187
|
+
displayName: string;
|
|
2188
|
+
connectAddress: string;
|
|
2189
|
+
database: string;
|
|
2190
|
+
login: string;
|
|
2191
|
+
password: string;
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
export declare interface ITenantModel {
|
|
2195
|
+
id: string;
|
|
2196
|
+
displayName: string;
|
|
2197
|
+
connectAddress: string;
|
|
2198
|
+
database: string;
|
|
2199
|
+
login: string;
|
|
2200
|
+
passwordNotEmpty: boolean;
|
|
2201
|
+
defaultConnection: boolean;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
declare interface ITenantModel_2 {
|
|
2205
|
+
id: string;
|
|
2206
|
+
displayName: string;
|
|
2207
|
+
connectAddress: string;
|
|
2208
|
+
database: string;
|
|
2209
|
+
login: string;
|
|
2210
|
+
passwordNotEmpty: boolean;
|
|
2211
|
+
defaultConnection: boolean;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
export declare interface ITenantsService {
|
|
2215
|
+
getTenant(tenantId: string): Promise<ITenantModel>;
|
|
2216
|
+
getTenants(): Promise<ITenantModel[]>;
|
|
2217
|
+
addTenant(tenant: ITenant): Promise<void>;
|
|
2218
|
+
removeTenant(tenantId: string): Promise<void>;
|
|
2219
|
+
findTenant(connectAddress: string, database: string): Promise<ITenantModel>;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
declare interface ITenantsService_2 {
|
|
2223
|
+
getTenant(tenantId: string): Promise<ITenantModel_2>;
|
|
2224
|
+
getTenants(): Promise<ITenantModel_2[]>;
|
|
2225
|
+
addTenant(tenant: ITenant_2): Promise<void>;
|
|
2226
|
+
removeTenant(tenantId: string): Promise<void>;
|
|
2227
|
+
findTenant(connectAddress: string, database: string): Promise<ITenantModel_2>;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
declare interface ITextMessage {
|
|
2231
|
+
content: string | string[];
|
|
2232
|
+
header?: string;
|
|
2233
|
+
footer?: string;
|
|
2234
|
+
wrapperClassName?: string;
|
|
2235
|
+
contentClassName?: string;
|
|
2236
|
+
headerClassName?: string;
|
|
2237
|
+
footerClassName?: string;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
export declare interface IThirdPartyComponentInfo {
|
|
2241
|
+
/**
|
|
2242
|
+
* Gets third-party component name
|
|
2243
|
+
*/
|
|
2244
|
+
name: string;
|
|
2245
|
+
/**
|
|
2246
|
+
* Gets third-party component version
|
|
2247
|
+
*/
|
|
2248
|
+
version: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* Gets third-party component developers site
|
|
2251
|
+
*/
|
|
2252
|
+
site: string;
|
|
2253
|
+
/**
|
|
2254
|
+
* Gets third-party component license
|
|
2255
|
+
*/
|
|
2256
|
+
license: IThirdPartyComponentLicenseInfo;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
declare interface IThirdPartyComponentInfo_2 {
|
|
2260
|
+
/**
|
|
2261
|
+
* Gets third-party component name
|
|
2262
|
+
*/
|
|
2263
|
+
name: string
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* Gets third-party component version
|
|
2267
|
+
*/
|
|
2268
|
+
version: string
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* Gets third-party component developers site
|
|
2272
|
+
*/
|
|
2273
|
+
site: string
|
|
2274
|
+
|
|
2275
|
+
/**
|
|
2276
|
+
* Gets third-party component license
|
|
2277
|
+
*/
|
|
2278
|
+
license: IThirdPartyComponentLicenseInfo_2
|
|
65
2279
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
2280
|
+
|
|
2281
|
+
export declare interface IThirdPartyComponentLicenseInfo {
|
|
2282
|
+
/**
|
|
2283
|
+
* Gets third-party component license type
|
|
2284
|
+
*/
|
|
2285
|
+
type: string;
|
|
2286
|
+
/**
|
|
2287
|
+
* Gets third-party component license url
|
|
2288
|
+
*/
|
|
2289
|
+
url: string;
|
|
70
2290
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
2291
|
+
|
|
2292
|
+
declare interface IThirdPartyComponentLicenseInfo_2 {
|
|
2293
|
+
/**
|
|
2294
|
+
* Gets third-party component license type
|
|
2295
|
+
*/
|
|
2296
|
+
type: string
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Gets third-party component license url
|
|
2300
|
+
*/
|
|
2301
|
+
|
|
2302
|
+
url: string
|
|
74
2303
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
text?: string;
|
|
80
|
-
selected?: boolean;
|
|
81
|
-
loading?: boolean;
|
|
82
|
-
disabled?: boolean;
|
|
83
|
-
dataTestIdPostfix?: string;
|
|
2304
|
+
|
|
2305
|
+
declare interface IToolbarVisibilityService {
|
|
2306
|
+
$visibility: Store<boolean>;
|
|
2307
|
+
changeVisibility: Event_2<boolean>;
|
|
84
2308
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
2309
|
+
|
|
2310
|
+
export declare interface IUrlModel {
|
|
2311
|
+
typeId: string;
|
|
2312
|
+
connectionId?: string;
|
|
2313
|
+
connectionName?: string;
|
|
2314
|
+
periodId?: string;
|
|
2315
|
+
beginDate?: string;
|
|
2316
|
+
endDate?: string;
|
|
2317
|
+
messageCardId?: string;
|
|
2318
|
+
messageId?: string;
|
|
2319
|
+
cardId?: string;
|
|
2320
|
+
breadcrumbsItems?: string;
|
|
2321
|
+
source?: string;
|
|
2322
|
+
database?: string;
|
|
92
2323
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
disabledFeatures?: string[];
|
|
104
|
-
extraPlugins?: ITablePlugins[];
|
|
2324
|
+
|
|
2325
|
+
export declare interface IUserInfo {
|
|
2326
|
+
/**
|
|
2327
|
+
* User account name
|
|
2328
|
+
*/
|
|
2329
|
+
accountName: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* User display name
|
|
2332
|
+
*/
|
|
2333
|
+
displayName: string;
|
|
105
2334
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
2335
|
+
|
|
2336
|
+
declare interface IUserInfo_2 {
|
|
2337
|
+
/**
|
|
2338
|
+
* User account name
|
|
2339
|
+
*/
|
|
2340
|
+
accountName: string,
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* User display name
|
|
2344
|
+
*/
|
|
2345
|
+
displayName: string,
|
|
111
2346
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
text: string;
|
|
2347
|
+
|
|
2348
|
+
declare interface IViewSettings{
|
|
2349
|
+
pageSize: number;
|
|
116
2350
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
2351
|
+
|
|
2352
|
+
export declare interface IWidget {
|
|
2353
|
+
id: string;
|
|
2354
|
+
typeId: string;
|
|
2355
|
+
version: string;
|
|
2356
|
+
description?: IWidgetDescription_2;
|
|
2357
|
+
settings?: IWidgetSettings_2;
|
|
2358
|
+
render?(dashboardId?: string): JSX.Element;
|
|
2359
|
+
renderPage?(pageProps?: any): JSX.Element;
|
|
2360
|
+
application: IApplication_2;
|
|
120
2361
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
2362
|
+
|
|
2363
|
+
declare interface IWidget_2 {
|
|
2364
|
+
id: string;
|
|
2365
|
+
typeId: string;
|
|
2366
|
+
version: string;
|
|
2367
|
+
|
|
2368
|
+
description?: IWidgetDescription_2;
|
|
2369
|
+
settings?: IWidgetSettings_2;
|
|
2370
|
+
|
|
2371
|
+
render?(dashboardId?: string): JSX.Element;
|
|
2372
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2373
|
+
renderPage?(pageProps?: any): JSX.Element;
|
|
2374
|
+
|
|
2375
|
+
application: IApplication_2;
|
|
126
2376
|
}
|
|
127
|
-
|
|
2377
|
+
|
|
2378
|
+
export declare interface IWidgetConnectionSelectorProps extends HtmlProps.div {
|
|
128
2379
|
selectedValue: string;
|
|
129
2380
|
options: IKeyValue[];
|
|
130
2381
|
onChange: (newValue: any) => void;
|
|
131
|
-
services: $
|
|
2382
|
+
services: $Resources_2;
|
|
132
2383
|
isLoading?: boolean;
|
|
133
2384
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
2385
|
+
|
|
2386
|
+
export declare interface IWidgetContainerProps extends HtmlProps.div {
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
export declare interface IWidgetDescription {
|
|
2390
|
+
flags: WidgetFlags_2;
|
|
2391
|
+
typeId: string;
|
|
2392
|
+
version: string;
|
|
2393
|
+
renderWidget(widget: IWidget_2, dashboardId?: string): any;
|
|
2394
|
+
renderWidgetPage?(widget: IWidget_2, pageProps?: any): any;
|
|
2395
|
+
name?: string;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
declare interface IWidgetDescription_2 {
|
|
2399
|
+
flags: WidgetFlags_2;
|
|
2400
|
+
typeId: string;
|
|
2401
|
+
version: string;
|
|
2402
|
+
renderWidget(widget: IWidget_2, dashboardId?: string);
|
|
2403
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2404
|
+
renderWidgetPage?(widget: IWidget_2, pageProps?: any);
|
|
2405
|
+
name?: string;
|
|
137
2406
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
interface IWidgetHeaderProps extends HtmlProps.div {
|
|
2407
|
+
|
|
2408
|
+
export declare interface IWidgetHeaderProps extends HtmlProps.div {
|
|
141
2409
|
openWidget?: () => void;
|
|
142
2410
|
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
interface IWidgetHorizontalLineProps extends HtmlProps.hr {
|
|
2411
|
+
|
|
2412
|
+
export declare interface IWidgetHorizontalLineProps extends HtmlProps.hr {
|
|
146
2413
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
interface IWidgetNameProps extends HtmlProps.div {
|
|
2414
|
+
|
|
2415
|
+
export declare interface IWidgetNameProps extends HtmlProps.div {
|
|
150
2416
|
title?: string;
|
|
151
2417
|
dataTestId?: string;
|
|
152
2418
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
interface IWidgetPeriodSelectorProps extends HtmlProps.div {
|
|
2419
|
+
|
|
2420
|
+
export declare interface IWidgetPeriodSelectorProps extends HtmlProps.div {
|
|
156
2421
|
selectedValue: string;
|
|
157
2422
|
options: IPeriodValue[];
|
|
158
2423
|
onChange: (newValue: any) => void;
|
|
159
|
-
services: $
|
|
2424
|
+
services: $Resources_2 & $LocalStorage_2;
|
|
160
2425
|
isLoading?: boolean;
|
|
161
2426
|
onDatesChange?: (dates: any) => void;
|
|
162
2427
|
datesValue?: string[];
|
|
163
2428
|
onAccept?: (dates: Moment[]) => void;
|
|
164
2429
|
dataTestIdPostfix?: string;
|
|
165
2430
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
interface IWidgetRefreshButtonProps extends HtmlProps.div {
|
|
2431
|
+
|
|
2432
|
+
export declare interface IWidgetRefreshButtonProps extends HtmlProps.div {
|
|
169
2433
|
onClick: (e: any) => void;
|
|
170
2434
|
className?: string;
|
|
171
2435
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
interface IWidgetRefreshDateProps extends HtmlProps.div {
|
|
2436
|
+
|
|
2437
|
+
export declare interface IWidgetRefreshDateProps extends HtmlProps.div {
|
|
175
2438
|
date: Date;
|
|
176
|
-
application:
|
|
2439
|
+
application: IApplication_2;
|
|
177
2440
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
forwardRef?: RefObject<HTMLElement>;
|
|
185
|
-
dateFormatData?: IDateFormatPluginData;
|
|
186
|
-
services?: $Resources;
|
|
187
|
-
columnName?: string;
|
|
188
|
-
type?: ColumnType;
|
|
189
|
-
focused?: boolean;
|
|
190
|
-
onChangeFocus?(e: React__default.FocusEvent, flag: boolean): void;
|
|
191
|
-
isValueValid?: boolean;
|
|
192
|
-
locale?: string;
|
|
193
|
-
visible?: boolean;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
interface IFilteringClearButtonProps {
|
|
197
|
-
onChange(value: (string | Moment)[]): void;
|
|
198
|
-
visible: boolean;
|
|
199
|
-
}
|
|
200
|
-
declare function ClearButton(props: IFilteringClearButtonProps): JSX.Element;
|
|
201
|
-
|
|
202
|
-
interface IDateRangeProps extends IDateRangeComponent$1 {
|
|
203
|
-
onAccept?: (dates: Moment[]) => void;
|
|
204
|
-
dataTestIdPostfix?: string;
|
|
205
|
-
}
|
|
206
|
-
declare const DateRangeCalendarIcon: React__default.NamedExoticComponent<IDateRangeProps>;
|
|
207
|
-
|
|
208
|
-
interface IDateRangePickerProps extends IDateRangeComponent$1 {
|
|
209
|
-
onAccept?: (dates: Moment[]) => void;
|
|
210
|
-
collapsedCalendar?: () => void;
|
|
211
|
-
}
|
|
212
|
-
declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
|
|
213
|
-
|
|
214
|
-
declare function DeleteIcon({ onClick }: {
|
|
215
|
-
onClick?: () => void;
|
|
216
|
-
}): JSX.Element;
|
|
217
|
-
|
|
218
|
-
interface IErrorBlockProps {
|
|
219
|
-
text: string;
|
|
220
|
-
close: MouseEventHandler<HTMLDivElement>;
|
|
221
|
-
}
|
|
222
|
-
declare function ErrorBlock({ text, close }: IErrorBlockProps): JSX.Element;
|
|
223
|
-
|
|
224
|
-
declare function ErrorIcon(): JSX.Element;
|
|
225
|
-
|
|
226
|
-
declare function ErrorMessage({ message }: {
|
|
227
|
-
message: string;
|
|
228
|
-
}): JSX.Element;
|
|
229
|
-
|
|
230
|
-
interface IExpandButtonProps extends HtmlProps$1.button {
|
|
231
|
-
expanded?: boolean;
|
|
232
|
-
dataTestId?: string;
|
|
233
|
-
}
|
|
234
|
-
declare function ExpandButton(props: IExpandButtonProps): JSX.Element;
|
|
235
|
-
|
|
236
|
-
interface IExpandMoreIconProps {
|
|
237
|
-
onClick?: () => void;
|
|
238
|
-
color?: string;
|
|
239
|
-
}
|
|
240
|
-
declare function ExpandMoreIcon(props: IExpandMoreIconProps): JSX.Element;
|
|
241
|
-
|
|
242
|
-
declare function HandPointRightIcon(props: SvgIconProps): JSX.Element;
|
|
243
|
-
|
|
244
|
-
interface IInformationIconProps {
|
|
245
|
-
className?: string;
|
|
246
|
-
color?: string;
|
|
247
|
-
onClick?: () => void;
|
|
248
|
-
}
|
|
249
|
-
declare function InformationIcon(props: IInformationIconProps): JSX.Element;
|
|
250
|
-
|
|
251
|
-
interface ILineWithError {
|
|
252
|
-
error: string;
|
|
253
|
-
}
|
|
254
|
-
declare function LineWithError({ error }: ILineWithError): JSX.Element;
|
|
255
|
-
|
|
256
|
-
declare function ListItemMarker(): JSX.Element;
|
|
257
|
-
|
|
258
|
-
interface IContainerProps extends HtmlProps.button {
|
|
259
|
-
title?: string;
|
|
260
|
-
content?: JSX.Element | string;
|
|
261
|
-
services?: $Resources;
|
|
2441
|
+
|
|
2442
|
+
export declare interface IWidgetServerModel {
|
|
2443
|
+
id: string;
|
|
2444
|
+
typeId: string;
|
|
2445
|
+
version: string;
|
|
2446
|
+
settings: IWidgetSettingServerModel[];
|
|
262
2447
|
}
|
|
263
|
-
|
|
264
|
-
declare
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
onClick?: (e: React__default.MouseEvent) => void;
|
|
270
|
-
disabled?: boolean;
|
|
271
|
-
}): JSX.Element;
|
|
272
|
-
|
|
273
|
-
declare function DeleteIconButton({ onClick }: {
|
|
274
|
-
onClick?: (e: React__default.MouseEvent) => void;
|
|
275
|
-
}): JSX.Element;
|
|
276
|
-
|
|
277
|
-
declare function CellPreloader(): JSX.Element;
|
|
278
|
-
|
|
279
|
-
interface ICellWithFixedWidthProps {
|
|
280
|
-
content: string;
|
|
281
|
-
maxWidth: string | number;
|
|
2448
|
+
|
|
2449
|
+
declare interface IWidgetServerModel_2 {
|
|
2450
|
+
id: string;
|
|
2451
|
+
typeId: string;
|
|
2452
|
+
version: string;
|
|
2453
|
+
settings: IWidgetSettingServerModel_2[];
|
|
282
2454
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
className?: string;
|
|
288
|
-
align?: "left" | "right" | "center";
|
|
289
|
-
component?: typeof TableCell;
|
|
290
|
-
maxWidth: string | number;
|
|
291
|
-
onClick: () => void;
|
|
2455
|
+
|
|
2456
|
+
export declare interface IWidgetSettings {
|
|
2457
|
+
data: IWidgetSettingsMap_2;
|
|
2458
|
+
previewMode: boolean;
|
|
292
2459
|
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement[], itemId?: string): Promise<void>;
|
|
2460
|
+
|
|
2461
|
+
declare interface IWidgetSettings_2 {
|
|
2462
|
+
data: IWidgetSettingsMap_2;
|
|
2463
|
+
previewMode: boolean;
|
|
298
2464
|
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
};
|
|
302
|
-
declare const $Layout: string | ((model?: $Layout) => ILayoutService);
|
|
303
|
-
|
|
304
|
-
interface IMenuItem {
|
|
305
|
-
id: string;
|
|
2465
|
+
|
|
2466
|
+
export declare interface IWidgetSettingServerModel {
|
|
306
2467
|
name: string;
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
interface INavigationMenuService {
|
|
311
|
-
$menuItems: Store<IMenuItem[]>;
|
|
312
|
-
addMenuItem: Event<IMenuItem>;
|
|
313
|
-
clearMenuItems: Event<void>;
|
|
2468
|
+
value: string;
|
|
314
2469
|
}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
};
|
|
318
|
-
declare const $NavigationMenu: string | ((model?: $NavigationMenu) => INavigationMenuService);
|
|
319
|
-
|
|
320
|
-
interface IServerDescription {
|
|
321
|
-
id: string;
|
|
2470
|
+
|
|
2471
|
+
declare interface IWidgetSettingServerModel_2 {
|
|
322
2472
|
name: string;
|
|
2473
|
+
value: string;
|
|
323
2474
|
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
services: IServiceDescription[];
|
|
328
|
-
}
|
|
329
|
-
interface IServiceDescription {
|
|
330
|
-
serviceId: string;
|
|
331
|
-
serviceName: string;
|
|
332
|
-
configurationLayoutId: string;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
interface IServersController extends Service {
|
|
336
|
-
getServers(): Promise<IServerDescription[]>;
|
|
337
|
-
getServerInfo(id: string): Promise<IServerDetails>;
|
|
2475
|
+
|
|
2476
|
+
export declare interface IWidgetSettingsMap {
|
|
2477
|
+
[id: string]: string;
|
|
338
2478
|
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
declare const $ServersController: string | ((model?: $ServersController) => IServersController);
|
|
343
|
-
|
|
344
|
-
interface IBreadcrumbsItems {
|
|
345
|
-
label: BreadcrumbsLabel | string;
|
|
346
|
-
path?: string;
|
|
2479
|
+
|
|
2480
|
+
declare interface IWidgetSettingsMap_2 {
|
|
2481
|
+
[id: string]: string;
|
|
347
2482
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
PageSearchForCardMessages = 5,
|
|
355
|
-
PageErrorAndBlockLog = 6
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
interface ISettingsNavigationService {
|
|
359
|
-
goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
|
|
360
|
-
goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
|
|
361
|
-
goToConfigurationPage: () => void;
|
|
362
|
-
getBreadcrumbsItems: () => IBreadcrumbsItems[];
|
|
2483
|
+
|
|
2484
|
+
export declare interface IWidgetsService {
|
|
2485
|
+
registerDescription(widgetDescription: IWidgetDescription_2): any;
|
|
2486
|
+
getWidget(widgetServerModel: IWidgetServerModel_2): IWidget_2;
|
|
2487
|
+
getDescription(typeId: string): IWidgetDescription_2;
|
|
2488
|
+
getAllDescriptions(): IWidgetDescription_2[];
|
|
363
2489
|
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
isDirty: boolean;
|
|
371
|
-
submitted: Event<unknown>;
|
|
372
|
-
canceled: Event<void>;
|
|
373
|
-
setIsDirty: (value: boolean) => void;
|
|
374
|
-
onSubmit: ({ confirm }: {
|
|
375
|
-
confirm: boolean;
|
|
376
|
-
}) => void;
|
|
377
|
-
onCancel: () => void;
|
|
2490
|
+
|
|
2491
|
+
declare interface IWidgetsService_2 {
|
|
2492
|
+
registerDescription(widgetDescription: IWidgetDescription_2);
|
|
2493
|
+
getWidget(widgetServerModel: IWidgetServerModel_2): IWidget_2;
|
|
2494
|
+
getDescription(typeId: string): IWidgetDescription_2;
|
|
2495
|
+
getAllDescriptions(): IWidgetDescription_2[];
|
|
378
2496
|
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
declare
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
2497
|
+
|
|
2498
|
+
export declare const KEYCODE_ESCAPE = 27;
|
|
2499
|
+
|
|
2500
|
+
export declare class LayoutService implements ILayoutService {
|
|
2501
|
+
private readonly requestService;
|
|
2502
|
+
name: string;
|
|
2503
|
+
meta: any;
|
|
2504
|
+
constructor(requestService: IRequestService);
|
|
2505
|
+
getLayout(layoutId: string, serviceId?: string, itemId?: string): Promise<IPageModel>;
|
|
2506
|
+
saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel>;
|
|
387
2507
|
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
2508
|
+
|
|
2509
|
+
export declare function LightTooltip(props: TooltipProps): JSX.Element;
|
|
2510
|
+
|
|
2511
|
+
export declare function LineWithError({ error }: ILineWithError): JSX.Element;
|
|
2512
|
+
|
|
2513
|
+
export declare function ListItem(props: IListitemProps): JSX.Element;
|
|
2514
|
+
|
|
2515
|
+
export declare function ListItemMarker(): JSX.Element;
|
|
2516
|
+
|
|
2517
|
+
export declare function ListPanel(props: IListPanelProps): JSX.Element;
|
|
2518
|
+
|
|
2519
|
+
export declare class LocalizationService implements ILocalizationService {
|
|
2520
|
+
private readonly requestService;
|
|
2521
|
+
constructor(requestService: IRequestService);
|
|
2522
|
+
getLocales(): Promise<IAvailableLocalesSettings_2[]>;
|
|
2523
|
+
setUserLocale(locale: string): any;
|
|
2524
|
+
getResources(): Promise<IResourcesMap_2>;
|
|
391
2525
|
}
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
2526
|
+
|
|
2527
|
+
/** Сервис для работы с localStorage. */
|
|
2528
|
+
export declare class LocalStorage implements ILocalStorage_2 {
|
|
2529
|
+
private readonly applicationSettings;
|
|
2530
|
+
private supportsLocalStorageCache;
|
|
2531
|
+
constructor(applicationSettings: IApplicationSettings_2);
|
|
2532
|
+
supportsLocalStorage(): boolean;
|
|
2533
|
+
setData<T>(id: string, obj: T): boolean;
|
|
2534
|
+
getData<T>(id: string): T | null;
|
|
2535
|
+
setItem(id: string, data: string): boolean;
|
|
2536
|
+
getItem(id: string): string | null;
|
|
2537
|
+
removeItem(id: string): void;
|
|
2538
|
+
transformId(id: string): string;
|
|
399
2539
|
}
|
|
400
|
-
|
|
401
|
-
|
|
2540
|
+
|
|
2541
|
+
export declare function NavigationMenu(props: INavigationMenuProps): JSX.Element;
|
|
2542
|
+
|
|
2543
|
+
export declare function newGuid(): string;
|
|
2544
|
+
|
|
2545
|
+
export declare function NoOptionMenuItem({ text }: {
|
|
2546
|
+
text: string;
|
|
2547
|
+
}): JSX.Element;
|
|
2548
|
+
|
|
2549
|
+
export declare function NumberComponent(props: INumberComponentProps): JSX.Element;
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* Ключ для обозначения сервисов, которые должны быть переинициализированы в контексте конкретной страницы.
|
|
2553
|
+
*
|
|
2554
|
+
* Для применения необходимо передать данное значение третьим параметром в метод {@link ServiceContainer.registerService}
|
|
2555
|
+
*/
|
|
2556
|
+
export declare const PAGE_SERVICE: {
|
|
2557
|
+
isPageService: boolean;
|
|
402
2558
|
};
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
2559
|
+
|
|
2560
|
+
export declare function PageFilterButton(props: IPageFilterButtonProps): JSX.Element;
|
|
2561
|
+
|
|
2562
|
+
export declare function PageTabLabel(props: IPageTabLabelProps): JSX.Element;
|
|
2563
|
+
|
|
2564
|
+
export declare function PageTable(props: IPageTableProps): JSX.Element;
|
|
2565
|
+
|
|
2566
|
+
export declare function PageTabPanel(props: IPageTabProps): JSX.Element;
|
|
2567
|
+
|
|
2568
|
+
export declare function PageTitle(props: IPageTitleProps): JSX.Element;
|
|
2569
|
+
|
|
2570
|
+
declare enum PanelsState {
|
|
2571
|
+
Mixed,
|
|
2572
|
+
Expanded,
|
|
2573
|
+
Collapsed
|
|
408
2574
|
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
declare
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
watch: any;
|
|
419
|
-
setError: any;
|
|
420
|
-
clearErrors: any;
|
|
421
|
-
trigger: any;
|
|
422
|
-
unregister: any;
|
|
423
|
-
register: any;
|
|
424
|
-
getValues: UseFormGetValues<TFieldValues>;
|
|
425
|
-
getFieldState: UseFormGetFieldState<TFieldValues>;
|
|
426
|
-
setValue: UseFormSetValue<TFieldValues>;
|
|
427
|
-
formState: FormState<TFieldValues>;
|
|
428
|
-
resetField: UseFormResetField<TFieldValues>;
|
|
429
|
-
reset: UseFormReset<TFieldValues>;
|
|
430
|
-
handleSubmit: UseFormHandleSubmit<TFieldValues, TTransformedValues>;
|
|
431
|
-
control: Control<TFieldValues, TContext>;
|
|
432
|
-
setFocus: UseFormSetFocus<TFieldValues>;
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
interface IPageModelElement extends IPageLayoutModelElement {
|
|
436
|
-
services?: IApplicationServices;
|
|
437
|
-
formMethods?: CustomUseFormReturn;
|
|
2575
|
+
|
|
2576
|
+
export declare function parseQueryString(query: string): {};
|
|
2577
|
+
|
|
2578
|
+
declare enum PeriodType {
|
|
2579
|
+
Today,
|
|
2580
|
+
Yesterday,
|
|
2581
|
+
ThisWeek,
|
|
2582
|
+
ThisMonth,
|
|
2583
|
+
DateRange
|
|
438
2584
|
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
required?: boolean;
|
|
446
|
-
hidden?: boolean;
|
|
447
|
-
options?: IPageElementOptions[];
|
|
448
|
-
value?: unknown;
|
|
449
|
-
error?: string | null;
|
|
450
|
-
elements?: IPageModelElement[];
|
|
451
|
-
extendedLayoutId?: string;
|
|
452
|
-
binding: IPageElementBinding;
|
|
453
|
-
parameters?: Record<string, string>;
|
|
2585
|
+
|
|
2586
|
+
declare enum ProcessState {
|
|
2587
|
+
Running = 0,
|
|
2588
|
+
Finished = 1,
|
|
2589
|
+
Error = 2,
|
|
2590
|
+
Canceled = 3
|
|
454
2591
|
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
2592
|
+
|
|
2593
|
+
export declare function registerEditors(): void;
|
|
2594
|
+
|
|
2595
|
+
export declare function removeCssVariables(theme: Theme): void;
|
|
2596
|
+
|
|
2597
|
+
export declare class ResourcesManagement implements IResourcesManagement {
|
|
2598
|
+
resources: IResourcesMap_2;
|
|
2599
|
+
setResources(resourcesMap: IResourcesMap_2): void;
|
|
2600
|
+
addResources(resourcesMap: any): void;
|
|
458
2601
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
2602
|
+
|
|
2603
|
+
export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
|
|
2604
|
+
private readonly application?;
|
|
2605
|
+
domain: Domain;
|
|
2606
|
+
$contentComponent: Store<JSX.Element>;
|
|
2607
|
+
setContentComponent: Event_2<JSX.Element>;
|
|
2608
|
+
constructor(application?: IApplication_2);
|
|
2609
|
+
register(path: string, routeHandler: RouteHandler_2, hooksHandler?: HooksHandler_2): void;
|
|
462
2610
|
}
|
|
463
|
-
|
|
464
|
-
|
|
2611
|
+
|
|
2612
|
+
export declare type RouteHandler = (application: IApplication_2, params: Params, query: string) => Promise<JSX.Element>;
|
|
2613
|
+
|
|
2614
|
+
declare type RouteHandler_2 = (application: IApplication_2, params: Params, query: string) => Promise<JSX.Element>;
|
|
2615
|
+
|
|
2616
|
+
export declare type RouteResolveContext = RouteContext & {
|
|
2617
|
+
params: {
|
|
2618
|
+
[key: string]: any;
|
|
2619
|
+
} | null;
|
|
2620
|
+
} & {
|
|
2621
|
+
route?: Route;
|
|
2622
|
+
};
|
|
2623
|
+
|
|
2624
|
+
export declare enum SavePageStatus {
|
|
2625
|
+
Success = 0,
|
|
2626
|
+
Error = 1
|
|
465
2627
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
2628
|
+
|
|
2629
|
+
declare enum SavePageStatus_2 {
|
|
2630
|
+
Success,
|
|
2631
|
+
Error
|
|
469
2632
|
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
2633
|
+
|
|
2634
|
+
export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
|
|
2635
|
+
|
|
2636
|
+
declare enum ServerType {
|
|
2637
|
+
PostgreSQL,
|
|
2638
|
+
"MS SQL SERVER",
|
|
475
2639
|
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
2640
|
+
|
|
2641
|
+
export declare const ServicesContext: React_2.Context<IApplicationServices>;
|
|
2642
|
+
|
|
2643
|
+
export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
|
|
2644
|
+
|
|
2645
|
+
export declare class SettingsNavigationService implements ISettingsNavigationService {
|
|
2646
|
+
private readonly application;
|
|
2647
|
+
constructor(application: IApplication);
|
|
2648
|
+
convertPathToUrl(str: string, ...args: any[]): string;
|
|
2649
|
+
getServerPageUrl(serverId: string): string;
|
|
2650
|
+
getSettingsPageUrl(serverId: string, serviceId: string, layoutId: string, serviceName: string): string;
|
|
2651
|
+
getItemSettingsPageUrl(serverId: string, serviceId: string, layoutId: string, itemId: string, serviceName: string, label: string, extendedLayoutId: string): string;
|
|
2652
|
+
getConfigurationPageUrl(serverId: string, serviceId: string, layoutId: string, serviceName: string): string;
|
|
2653
|
+
goToSettingsPage(layoutId: string, serviceName: string, serviceId: string): void;
|
|
2654
|
+
goToItemSettingsPage(extendedLayoutId: string, id: string, label: string): void;
|
|
2655
|
+
goToConfigurationPage: () => void;
|
|
2656
|
+
getBreadcrumbsItems(): IBreadcrumbsItems_2[];
|
|
487
2657
|
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
declare
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
declare
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
selectedGroup: string;
|
|
506
|
-
selectGroup: (group: string) => void;
|
|
2658
|
+
|
|
2659
|
+
export declare function SettingsPageButtonPanel(props: ISettingsPageButtonPanelProps): JSX.Element;
|
|
2660
|
+
|
|
2661
|
+
/** Функциональный контейнер кнопки открытия модального окна с заданным текстом */
|
|
2662
|
+
export declare function ShowInformationButton(props: IContainerProps): JSX.Element;
|
|
2663
|
+
|
|
2664
|
+
export declare const showNote: (options: IPopupNotificationProps) => Noty_2;
|
|
2665
|
+
|
|
2666
|
+
export declare function showNotification(text: string): void;
|
|
2667
|
+
|
|
2668
|
+
declare type Story = StoryObj<INavigationMenuProps>;
|
|
2669
|
+
|
|
2670
|
+
declare enum TableLocationType {
|
|
2671
|
+
UseDefaultOrCurrent,
|
|
2672
|
+
UseOwnDatabase,
|
|
2673
|
+
UseOuterDatabase,
|
|
2674
|
+
UseTemporaryDatabase,
|
|
507
2675
|
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
2676
|
+
|
|
2677
|
+
declare enum TableLocationTypeExtended {
|
|
2678
|
+
UseDefaultOrCurrent,
|
|
2679
|
+
UseOwnDatabase,
|
|
2680
|
+
UseOuterDatabase,
|
|
2681
|
+
UseTemporaryDatabase,
|
|
2682
|
+
InMemoryTableOwnDatabase,
|
|
2683
|
+
InMemoryTableOwnDatabaseNotPersistData,
|
|
514
2684
|
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
2685
|
+
|
|
2686
|
+
export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
|
|
2687
|
+
|
|
2688
|
+
export declare class TenantsService implements ITenantsService {
|
|
2689
|
+
private readonly requestService;
|
|
2690
|
+
constructor(requestService: IRequestService);
|
|
2691
|
+
getTenant(tenantId: string): Promise<ITenantModel>;
|
|
2692
|
+
getTenants(): Promise<ITenantModel[]>;
|
|
2693
|
+
addTenant(tenant: ITenant): any;
|
|
2694
|
+
removeTenant(tenantId: string): any;
|
|
2695
|
+
findTenant(connectAddress: string, database: string): Promise<ITenantModel>;
|
|
523
2696
|
}
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
2697
|
+
|
|
2698
|
+
export declare function TextMessage(props: ITextMessage): JSX.Element;
|
|
2699
|
+
|
|
2700
|
+
export declare const theme: Theme;
|
|
2701
|
+
|
|
2702
|
+
declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
|
|
2703
|
+
|
|
2704
|
+
export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
|
|
2705
|
+
|
|
2706
|
+
export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|
|
2707
|
+
|
|
2708
|
+
export declare const useDefaultRoute: (application: IApplication_2) => void;
|
|
2709
|
+
|
|
2710
|
+
export declare const useEffectAsync: (effect: (EffectCallbackAsync), deps?: DependencyList) => void;
|
|
2711
|
+
|
|
2712
|
+
export declare const useHideOnScroll: () => boolean;
|
|
2713
|
+
|
|
2714
|
+
/** Создает локальный сервис-контейнер через клонирование родительского сервис-контейнера. */
|
|
2715
|
+
export declare function useLocalServiceContainer<MetaT>(context: typeof ServicesContext, meta?: (metaKey: MetaT) => boolean): IApplicationServices;
|
|
2716
|
+
|
|
2717
|
+
export declare const useOutsideClick: (ref: React.MutableRefObject<HTMLElement>, callback: () => void) => void;
|
|
2718
|
+
|
|
2719
|
+
export declare class Widget implements IWidget_2 {
|
|
2720
|
+
readonly id: string;
|
|
2721
|
+
readonly typeId: string;
|
|
2722
|
+
readonly version: string;
|
|
2723
|
+
readonly description: IWidgetDescription_2;
|
|
2724
|
+
readonly settings: IWidgetSettings_2;
|
|
2725
|
+
readonly application: IApplication_2;
|
|
2726
|
+
constructor(id: string, typeId: string, version: string, description: IWidgetDescription_2, settings: IWidgetSettings_2, application: IApplication_2);
|
|
2727
|
+
render(dashboardId?: string): JSX.Element;
|
|
2728
|
+
renderPage(pageProps?: any): JSX.Element;
|
|
528
2729
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
2730
|
+
|
|
2731
|
+
declare class Widget_2 implements IWidget_2 {
|
|
2732
|
+
constructor(
|
|
2733
|
+
public readonly id: string,
|
|
2734
|
+
public readonly typeId: string,
|
|
2735
|
+
public readonly version: string,
|
|
2736
|
+
public readonly description: IWidgetDescription_2,
|
|
2737
|
+
public readonly settings: IWidgetSettings_2,
|
|
2738
|
+
public readonly application: IApplication_2
|
|
2739
|
+
) {
|
|
2740
|
+
this.description = description;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
public render(dashboardId?: string): JSX.Element {
|
|
2744
|
+
return this.description.renderWidget(this, dashboardId);
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2748
|
+
public renderPage(pageProps?: any): JSX.Element {
|
|
2749
|
+
return this.description.renderWidgetPage(this, pageProps);
|
|
2750
|
+
}
|
|
538
2751
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* Ключ для обозначения сервисов, которые должны быть переинициализированы в контексте конкретной страницы виджета.
|
|
2755
|
+
*
|
|
2756
|
+
* Для применения необходимо передать данное значение третьим параметром в метод {@link ServiceContainer.registerService}
|
|
2757
|
+
*/
|
|
2758
|
+
export declare const WIDGET_PAGE_SERVICE: {
|
|
2759
|
+
isWidgetPageService: boolean;
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* Ключ для обозначения сервисов, которые должны быть переинициализированы в контексте конкретного виджета.
|
|
2764
|
+
*
|
|
2765
|
+
* Для применения необходимо передать данное значение третьим параметром в метод {@link ServiceContainer.registerService}
|
|
2766
|
+
*/
|
|
2767
|
+
export declare const WIDGET_SERVICE: {
|
|
2768
|
+
isWidgetService: boolean;
|
|
2769
|
+
};
|
|
2770
|
+
|
|
2771
|
+
export declare function WidgetConnectionSelector(props: IWidgetConnectionSelectorProps): JSX.Element;
|
|
2772
|
+
|
|
2773
|
+
export declare function WidgetContainer(props: IWidgetContainerProps): JSX.Element;
|
|
2774
|
+
|
|
2775
|
+
export declare enum WidgetFlags {
|
|
2776
|
+
None = 0,
|
|
2777
|
+
SingleInstance = 1,
|
|
2778
|
+
Configurable = 4,
|
|
2779
|
+
ShouldConfigure = 8,
|
|
2780
|
+
Resizable = 16
|
|
542
2781
|
}
|
|
543
|
-
|
|
544
|
-
|
|
2782
|
+
|
|
2783
|
+
declare enum WidgetFlags_2 {
|
|
2784
|
+
/* None */
|
|
2785
|
+
None = 0,
|
|
2786
|
+
/* Only one widget instance could be added to the dashboard */
|
|
2787
|
+
SingleInstance = 1 << 0,
|
|
2788
|
+
/* Widget could be configured via widget configuration button */
|
|
2789
|
+
Configurable = 1 << 2,
|
|
2790
|
+
/* Widget must be configured on adding to the dashboard else it will be removed */
|
|
2791
|
+
ShouldConfigure = 1 << 3,
|
|
2792
|
+
/* Widget could be resized by the user action */
|
|
2793
|
+
Resizable = 1 << 4,
|
|
545
2794
|
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
widgets?: (application: IApplication) => IWidgetDescription[];
|
|
569
|
-
editors?: () => IEditorDescription[];
|
|
570
|
-
onApplicationRun?: (application: IApplication) => void;
|
|
571
|
-
resources?: (application: IApplication) => Promise<IResourcesMap>;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
declare const commonMuiProps: {
|
|
575
|
-
select: Partial<SelectProps>;
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
declare enum ActionType {
|
|
579
|
-
add = 0,
|
|
580
|
-
delete = 1
|
|
2795
|
+
|
|
2796
|
+
export declare function WidgetHeader(props: IWidgetHeaderProps): JSX.Element;
|
|
2797
|
+
|
|
2798
|
+
export declare function WidgetHorizontalLine(props: IWidgetHorizontalLineProps): JSX.Element;
|
|
2799
|
+
|
|
2800
|
+
export declare function WidgetName(props: IWidgetNameProps): JSX.Element;
|
|
2801
|
+
|
|
2802
|
+
export declare function WidgetPeriodSelector(props: IWidgetPeriodSelectorProps): JSX.Element;
|
|
2803
|
+
|
|
2804
|
+
export declare function WidgetRefreshButton(props: IWidgetRefreshButtonProps): JSX.Element;
|
|
2805
|
+
|
|
2806
|
+
export declare function WidgetRefreshDate(props: IWidgetRefreshDateProps): JSX.Element;
|
|
2807
|
+
|
|
2808
|
+
export declare class WidgetsService implements IWidgetsService {
|
|
2809
|
+
private readonly application;
|
|
2810
|
+
private readonly logService;
|
|
2811
|
+
private readonly widgets;
|
|
2812
|
+
constructor(application: IApplication_2, logService: ILogService);
|
|
2813
|
+
registerDescription(widgetDescription: IWidgetDescription_2): void;
|
|
2814
|
+
getWidget(widgetServerModel: IWidgetServerModel_2): Widget_2;
|
|
2815
|
+
getDescription(typeId: string): IWidgetDescription_2;
|
|
2816
|
+
getAllDescriptions(): IWidgetDescription_2[];
|
|
581
2817
|
}
|
|
582
|
-
|
|
583
|
-
declare
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
export { Accordion, ActionType, ArrowIconButton, CellPreloader, CellWithFixedWidth, CellWithTwoLineClamping, ClearButton, ComponentIcon, DEFAULT_PAGE_SIZE, DateRangeCalendarIcon, DateRangeContainer, Default, DeleteIcon, DeleteIconButton, ERROR_ROW_CLASS_NAME, EditorContainer, EditorDescription, EditorName, EditorWrapper, ErrorBlock, ErrorIcon, ErrorMessage, ExpandButton, ExpandMoreIcon, GroupPanel, HandPointRightIcon, IAccordionProps, ICellWithFixedWidthProps, ICellWithTwoLineClampingProps, IComponentIconProps, ICompositionTable, IContainerProps, IContextMenuParameters, IDateRangeComponent, IDateRangePickerProps, IDateRangeProps, IEditorContainer, IErrorBlockProps, IExpandButtonProps, IExpandMoreIconProps, IExtension, IFilteringClearButtonProps, IGroupPanelProps, IInformationIconProps, IKeyValue, IListPanelProps, IListitemProps, IMetaInformation, INavigationMenuProps, IPageElementBinding, IPageElementOptions, IPageFilterButtonProps, IPageLayoutModelElement, IPageModel, IPageModelElement, IPageSaveModel, IPageSaveModelElement, IPageTabLabelProps, IPageTabProps, IPageTableProps, IPageTitleProps, ISectionContentWrapperProps, ISettingsPageButtonPanelProps, ISettingsPagePanelButton, ITableScrollContainerComponentProps, IWidgetConnectionSelectorProps, IWidgetContainerProps, IWidgetHeaderProps, IWidgetHorizontalLineProps, IWidgetNameProps, IWidgetPeriodSelectorProps, IWidgetRefreshButtonProps, IWidgetRefreshDateProps, InformationIcon, LightTooltip, LineWithError, ListItem, ListItemMarker, ListPanel, NavigationMenu, PageFilterButton, PageTabLabel, PageTabPanel, PageTable, PageTitle, SectionContentWrapper, SettingsPageButtonPanel, ShowInformationButton, TableScrollContainerComponent, WidgetConnectionSelector, WidgetContainer, WidgetHeader, WidgetHorizontalLine, WidgetName, WidgetPeriodSelector, WidgetRefreshButton, WidgetRefreshDate, WithSelectedItem, actionWithThemeCssVariables, addCssVariables, commonMuiProps, copyTextToClipboard, getContextMenuOptions, removeCssVariables, showNotification, theme, useHideOnScroll, useOutsideClick };
|
|
2818
|
+
|
|
2819
|
+
export declare const WithSelectedItem: Story;
|
|
2820
|
+
|
|
2821
|
+
export declare const WORKER_SETTINGS_LAYOUT = "906f3990-98e5-4c2e-9e5f-5998fdb26daa";
|
|
2822
|
+
|
|
2823
|
+
export { }
|