@docsvision/management-console 6.2.0 → 6.2.1

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