@docsvision/management-console 6.2.0-beta.21 → 6.2.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +1 -1
- package/index.d.ts +143 -127
- package/index.js +74817 -96546
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
|
|
3
3
|
import { $ContextMenuOptions } from 'docsvision.web/components/table/plugins/context-menu/$ContextMenuOptions';
|
|
4
|
+
import { $Resources as $Resources_2 } from 'docsvision.web/core/localization/$Resources';
|
|
4
5
|
import { $Router } from 'docsvision.web/core/routing';
|
|
5
6
|
import { $RoutingService } from 'docsvision.web/core/routing';
|
|
6
7
|
import { BodyContainerProvider } from 'docsvision.web/components/modals/body-container-provider';
|
|
@@ -37,6 +38,7 @@ import { OutlinedTextFieldProps } from '@mui/material';
|
|
|
37
38
|
import { Params } from 'docsvision.web/core/routing';
|
|
38
39
|
import { PopoverOrigin } from '@mui/material';
|
|
39
40
|
import { default as React_2 } from 'react';
|
|
41
|
+
import * as React_3 from 'react';
|
|
40
42
|
import { RefObject } from 'react';
|
|
41
43
|
import { RequestOptions } from 'docsvision.web/core/system-services/networking/RequestService';
|
|
42
44
|
import { Route } from 'navigo';
|
|
@@ -51,6 +53,7 @@ import { SvgIconProps } from '@mui/material';
|
|
|
51
53
|
import { SystemServices } from 'docsvision.web/core/system-services/SystemServices';
|
|
52
54
|
import { TableCell } from '@mui/material';
|
|
53
55
|
import { TableCompositions } from 'docsvision.web/components/table/interfaces';
|
|
56
|
+
import type { TextFieldProps } from '@mui/material/TextField';
|
|
54
57
|
import { Theme } from '@mui/material';
|
|
55
58
|
import { TooltipProps } from '@mui/material';
|
|
56
59
|
import { TypographyProps } from '@mui/material';
|
|
@@ -82,10 +85,6 @@ declare type $ApplicationSettings_2 = { applicationSettings: IApplicationSetting
|
|
|
82
85
|
|
|
83
86
|
declare const $ApplicationSettings_2 = serviceName((s: $ApplicationSettings_2) => s.applicationSettings);
|
|
84
87
|
|
|
85
|
-
declare type $ArchivationController = { archivationController: IArchivationController };
|
|
86
|
-
|
|
87
|
-
declare const $ArchivationController = serviceName((s: $ArchivationController) => s.archivationController);
|
|
88
|
-
|
|
89
88
|
declare type $CardUrl = { cardUrl: ICardUrl; };
|
|
90
89
|
|
|
91
90
|
declare const $CardUrl = serviceName((s: $CardUrl) => s.cardUrl);
|
|
@@ -104,10 +103,6 @@ declare type $DashboardConfigurationService_2 = { dashboardConfigurationService:
|
|
|
104
103
|
|
|
105
104
|
declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
|
|
106
105
|
|
|
107
|
-
declare type $DatabaseMaintenanceController = { databaseMaintenanceController: IDatabaseMaintenanceController };
|
|
108
|
-
|
|
109
|
-
declare const $DatabaseMaintenanceController = serviceName((s: $DatabaseMaintenanceController) => s.databaseMaintenanceController);
|
|
110
|
-
|
|
111
106
|
export declare type $DomEntryPointService = {
|
|
112
107
|
domEntryPointService: IDomEntryPointService;
|
|
113
108
|
};
|
|
@@ -144,16 +139,6 @@ declare type $ExtensionsService_2 = { extensionsService: IExtensionsService_2 };
|
|
|
144
139
|
|
|
145
140
|
declare const $ExtensionsService_2 = serviceName((s: $ExtensionsService_2) => s.extensionsService);
|
|
146
141
|
|
|
147
|
-
declare type $ExternalStoragesController = { externalStoragesController: IExternalStoragesController };
|
|
148
|
-
|
|
149
|
-
declare const $ExternalStoragesController = serviceName((s: $ExternalStoragesController) => s.externalStoragesController);
|
|
150
|
-
|
|
151
|
-
declare type $ExternalStoragesController_2 = {
|
|
152
|
-
externalStoragesController: IExternalStoragesController_2;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
declare const $ExternalStoragesController_2: string | ((model?: $ExternalStoragesController_2) => IExternalStoragesController_2);
|
|
156
|
-
|
|
157
142
|
declare type $FilterPluginsLoading = { filterPluginsLoading: IFilterPluginsLoadingService };
|
|
158
143
|
|
|
159
144
|
declare const $FilterPluginsLoading = serviceName<$FilterPluginsLoading, IFilterPluginsLoadingService>(x => x.filterPluginsLoading);
|
|
@@ -236,9 +221,9 @@ export declare type $Resources = {
|
|
|
236
221
|
|
|
237
222
|
export declare const $Resources: string | ((model?: $Resources) => IResourcesMap);
|
|
238
223
|
|
|
239
|
-
declare type $
|
|
224
|
+
declare type $Resources_3 = { resources: IResourcesMap_2};
|
|
240
225
|
|
|
241
|
-
declare const $
|
|
226
|
+
declare const $Resources_3 = serviceName((s: $Resources_3) => s.resources);
|
|
242
227
|
|
|
243
228
|
export declare type $ResourcesManagement = {
|
|
244
229
|
resourcesManagement: IResourcesManagement;
|
|
@@ -335,6 +320,13 @@ export declare function addCssVariables(theme: Theme): void;
|
|
|
335
320
|
|
|
336
321
|
export declare function AlertBanner({ text }: IAlertBanner): JSX.Element;
|
|
337
322
|
|
|
323
|
+
export declare function AlertTile(props: IAlertTile): JSX.Element;
|
|
324
|
+
|
|
325
|
+
export declare enum AlertType {
|
|
326
|
+
Warning = 0,
|
|
327
|
+
Error = 1
|
|
328
|
+
}
|
|
329
|
+
|
|
338
330
|
export declare function appendStyle(fileName: string): void;
|
|
339
331
|
|
|
340
332
|
export declare class Application extends ServiceContainer implements IApplication {
|
|
@@ -369,11 +361,8 @@ export declare class Application extends ServiceContainer implements IApplicatio
|
|
|
369
361
|
sessionsController: ISessionsController;
|
|
370
362
|
configurationLocksController: IConfigurationLocksController;
|
|
371
363
|
extendedConfigurationController: IExtendedConfigurationController_2;
|
|
372
|
-
databaseMaintenanceController: DatabaseMaintenanceController;
|
|
373
364
|
rootElement: IRootElementService_2;
|
|
374
|
-
externalStoragesController: IExternalStoragesController_2;
|
|
375
365
|
settingsController: ISettingsController;
|
|
376
|
-
archivationController: IArchivationController;
|
|
377
366
|
constructor(reactRootElementId: string);
|
|
378
367
|
static instance: IApplication;
|
|
379
368
|
initialize(): Promise<void>;
|
|
@@ -427,7 +416,7 @@ export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.E
|
|
|
427
416
|
|
|
428
417
|
export declare function CellPreloader(): JSX.Element;
|
|
429
418
|
|
|
430
|
-
export declare function CellTextContent({ content, multiline }: ICellTextContentProps): JSX.Element;
|
|
419
|
+
export declare function CellTextContent({ content, multiline, ...rest }: ICellTextContentProps): JSX.Element;
|
|
431
420
|
|
|
432
421
|
export declare function CellWithFixedWidth(props: ICellWithFixedWidthProps): JSX.Element;
|
|
433
422
|
|
|
@@ -441,12 +430,16 @@ export declare const commonMuiProps: {
|
|
|
441
430
|
|
|
442
431
|
export declare function ComponentIcon(props: IComponentIconProps): JSX.Element;
|
|
443
432
|
|
|
433
|
+
export declare const Confirmation: Story;
|
|
434
|
+
|
|
444
435
|
export declare const convertBase64ToString: (base64: string) => string;
|
|
445
436
|
|
|
446
437
|
export declare const convertDataToBase64: (data: object) => string;
|
|
447
438
|
|
|
448
439
|
export declare const copyTextToClipboard: (text: string, host?: HTMLElement) => void;
|
|
449
440
|
|
|
441
|
+
export declare const Custom: Story;
|
|
442
|
+
|
|
450
443
|
/**
|
|
451
444
|
* Replaced original FormProvider from react-hook-form because of error:
|
|
452
445
|
* "Type instantiation is excessively deep and possibly infinite".
|
|
@@ -504,23 +497,6 @@ export declare class DashboardConfigurationService implements IDashboardConfigur
|
|
|
504
497
|
removeDashboardConfiguration(dashboardId: string): Promise<void>;
|
|
505
498
|
}
|
|
506
499
|
|
|
507
|
-
declare class DatabaseMaintenanceController implements IDatabaseMaintenanceController {
|
|
508
|
-
name = "DatabaseMaintenance";
|
|
509
|
-
meta = null;
|
|
510
|
-
baseUrl = "api/databaseMaintenance";
|
|
511
|
-
|
|
512
|
-
constructor(private readonly requestService: IRequestService) {
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
clearRecycleBin(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
|
|
516
|
-
return this.requestService.post(`${this.baseUrl}/clearRecycleBin`, {serviceId, pageId, elementId, databaseAlias});
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
recreateTasks(serviceId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void> {
|
|
520
|
-
return this.requestService.post(`${this.baseUrl}/recreateTasks`, {serviceId, pageId, elementId, databaseAlias});
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
500
|
export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
|
|
525
501
|
|
|
526
502
|
export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
|
|
@@ -531,8 +507,6 @@ export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRa
|
|
|
531
507
|
|
|
532
508
|
export declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
|
|
533
509
|
|
|
534
|
-
export declare const Default: Story;
|
|
535
|
-
|
|
536
510
|
export declare const DEFAULT_PAGE_SIZE = 50;
|
|
537
511
|
|
|
538
512
|
export declare function DeleteIcon({ onClick }: {
|
|
@@ -559,6 +533,8 @@ export declare const DropdownOption: React_2.ForwardRefExoticComponent<Pick<IDro
|
|
|
559
533
|
|
|
560
534
|
export declare function DropdownWithEllipsis(props: IDropdownWithEllipsisProps): JSX.Element;
|
|
561
535
|
|
|
536
|
+
export declare function DropdownWithTooltip(props: IDropdownWithTooltipProps): JSX.Element;
|
|
537
|
+
|
|
562
538
|
export declare function EditorCollectionEditor(props: IEditorCollectionEditorProps): JSX.Element;
|
|
563
539
|
|
|
564
540
|
export declare function EditorContainer(props: IEditorContainer): JSX.Element;
|
|
@@ -584,6 +560,11 @@ export declare class EditorFactory implements IEditorFactory {
|
|
|
584
560
|
|
|
585
561
|
export declare const editorFactory: EditorFactory;
|
|
586
562
|
|
|
563
|
+
export declare function EditorHeader({ label, description }: {
|
|
564
|
+
label: string;
|
|
565
|
+
description: string;
|
|
566
|
+
}): JSX.Element;
|
|
567
|
+
|
|
587
568
|
export declare function EditorInnerWrapper(props: IEditorInnerWrapper): JSX.Element;
|
|
588
569
|
|
|
589
570
|
export declare function EditorName({ text }: {
|
|
@@ -605,6 +586,9 @@ export declare enum EngineType {
|
|
|
605
586
|
PgSQL = 1
|
|
606
587
|
}
|
|
607
588
|
|
|
589
|
+
declare const Error_2: Story;
|
|
590
|
+
export { Error_2 as Error }
|
|
591
|
+
|
|
608
592
|
export declare const ERROR_ROW_CLASS_NAME = "page-table__row-error";
|
|
609
593
|
|
|
610
594
|
export declare function ErrorBlock({ text, close }: IErrorBlockProps): JSX.Element;
|
|
@@ -758,13 +742,19 @@ declare interface IAlertBanner {
|
|
|
758
742
|
text: string;
|
|
759
743
|
}
|
|
760
744
|
|
|
745
|
+
export declare interface IAlertTile {
|
|
746
|
+
text: string;
|
|
747
|
+
type: AlertType;
|
|
748
|
+
services: $Resources_2;
|
|
749
|
+
}
|
|
750
|
+
|
|
761
751
|
export declare interface IApplication extends ServiceContainer, IApplicationServices_2 {
|
|
762
752
|
}
|
|
763
753
|
|
|
764
754
|
declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
|
|
765
755
|
}
|
|
766
756
|
|
|
767
|
-
export declare interface IApplicationServices extends SystemServices, $ExtensionsService_2, $DomEntryPointService, $ApplicationSettings_2, $WidgetsService_2, $Router, $RoutingService, $TenantsService_2, $DashboardConfigurationService_2, $LocalizationService_2, $AboutSettings_2, $LocalStorage_2, $ResourcesManagement_2, $
|
|
757
|
+
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 {
|
|
768
758
|
}
|
|
769
759
|
|
|
770
760
|
declare interface IApplicationServices_2 extends
|
|
@@ -781,7 +771,7 @@ $LocalizationService_2,
|
|
|
781
771
|
$AboutSettings_2,
|
|
782
772
|
$LocalStorage_2,
|
|
783
773
|
$ResourcesManagement_2,
|
|
784
|
-
$
|
|
774
|
+
$Resources_3,
|
|
785
775
|
$RouteContentRender_2,
|
|
786
776
|
$FilterPluginsLoading,
|
|
787
777
|
$ToolbarVisibility,
|
|
@@ -798,10 +788,7 @@ $RealtimeCommunication,
|
|
|
798
788
|
$ConfigurationLocksController,
|
|
799
789
|
$SessionsController,
|
|
800
790
|
$RootElement_2,
|
|
801
|
-
$SettingsController
|
|
802
|
-
$ExternalStoragesController,
|
|
803
|
-
$ArchivationController,
|
|
804
|
-
$DatabaseMaintenanceController
|
|
791
|
+
$SettingsController
|
|
805
792
|
{
|
|
806
793
|
}
|
|
807
794
|
|
|
@@ -881,18 +868,6 @@ declare interface IApplicationSettings_2 {
|
|
|
881
868
|
view: IViewSettings;
|
|
882
869
|
}
|
|
883
870
|
|
|
884
|
-
declare interface IArchivationController extends Service {
|
|
885
|
-
performArchivation(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
declare interface IAssemblyValidationResponse extends IValidationResponse {
|
|
889
|
-
className?: string;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
declare interface IAssemblyValidationResponse_2 extends IValidationResponse_2 {
|
|
893
|
-
className?: string;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
871
|
export declare interface IAvailableLocalesSettings {
|
|
897
872
|
/**
|
|
898
873
|
* Language display name
|
|
@@ -965,7 +940,7 @@ declare interface ICardUrl extends Service {
|
|
|
965
940
|
getLinkToWindowsClient(dvConnectionId: string, cardID: string): Promise<string>;
|
|
966
941
|
}
|
|
967
942
|
|
|
968
|
-
declare interface ICellTextContentProps {
|
|
943
|
+
declare interface ICellTextContentProps extends TypographyProps {
|
|
969
944
|
content: string;
|
|
970
945
|
multiline?: boolean;
|
|
971
946
|
}
|
|
@@ -1001,7 +976,7 @@ export declare interface IComponentIconProps {
|
|
|
1001
976
|
}
|
|
1002
977
|
|
|
1003
978
|
export declare interface ICompositionTable extends IComposition<string, any, TableCompositions.Row<string>> {
|
|
1004
|
-
props?: IComposition<string, string, $
|
|
979
|
+
props?: IComposition<string, string, $Resources_3 & $CardUrl & $MessageWindow & $ContextMenuOptions>;
|
|
1005
980
|
}
|
|
1006
981
|
|
|
1007
982
|
declare interface IConfigurationLocksController extends Service {
|
|
@@ -1030,7 +1005,7 @@ declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
|
|
|
1030
1005
|
export declare interface IContainerProps extends HtmlProps.button {
|
|
1031
1006
|
title?: string;
|
|
1032
1007
|
content?: JSX.Element | string;
|
|
1033
|
-
services?: $
|
|
1008
|
+
services?: $Resources_3;
|
|
1034
1009
|
}
|
|
1035
1010
|
|
|
1036
1011
|
export declare interface IContextMenuParameters {
|
|
@@ -1197,11 +1172,6 @@ declare interface IDashboardPosition_2 {
|
|
|
1197
1172
|
order: number;
|
|
1198
1173
|
}
|
|
1199
1174
|
|
|
1200
|
-
declare interface IDatabaseMaintenanceController extends Service {
|
|
1201
|
-
clearRecycleBin(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
1202
|
-
recreateTasks(serverId: string, pageId: string, elementId: string, databaseAlias: string): Promise<void>;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
1175
|
export declare interface IDatabaseModel {
|
|
1206
1176
|
baseName: string;
|
|
1207
1177
|
sqlServerName: string;
|
|
@@ -1235,7 +1205,7 @@ export declare interface IDateRangeComponent {
|
|
|
1235
1205
|
customClass?: string;
|
|
1236
1206
|
forwardRef?: RefObject<HTMLElement>;
|
|
1237
1207
|
dateFormatData?: IDateFormatPluginData;
|
|
1238
|
-
services?: $
|
|
1208
|
+
services?: $Resources_3;
|
|
1239
1209
|
columnName?: string;
|
|
1240
1210
|
type?: ColumnType;
|
|
1241
1211
|
focused?: boolean;
|
|
@@ -1251,7 +1221,7 @@ declare interface IDateRangeComponent_2 {
|
|
|
1251
1221
|
customClass?: string;
|
|
1252
1222
|
forwardRef?: RefObject<HTMLElement>;
|
|
1253
1223
|
dateFormatData?: IDateFormatPluginData;
|
|
1254
|
-
services?: $
|
|
1224
|
+
services?: $Resources_3;
|
|
1255
1225
|
columnName?: string;
|
|
1256
1226
|
type?: ColumnType;
|
|
1257
1227
|
focused?: boolean;
|
|
@@ -1309,6 +1279,24 @@ export declare interface IDropdownWithEllipsisProps {
|
|
|
1309
1279
|
showLabelWhenSelected?: boolean;
|
|
1310
1280
|
}
|
|
1311
1281
|
|
|
1282
|
+
export declare interface IDropdownWithTooltipOption {
|
|
1283
|
+
value: number;
|
|
1284
|
+
displayName: string;
|
|
1285
|
+
tooltip?: string;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export declare interface IDropdownWithTooltipProps {
|
|
1289
|
+
value: number;
|
|
1290
|
+
options: IDropdownWithTooltipOption[];
|
|
1291
|
+
onChange: (value: number) => void;
|
|
1292
|
+
onBlur: TextFieldProps["onBlur"];
|
|
1293
|
+
inputRef: TextFieldProps["inputRef"];
|
|
1294
|
+
name: string;
|
|
1295
|
+
className?: string;
|
|
1296
|
+
dataTestId?: string;
|
|
1297
|
+
menuWidth?: number;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1312
1300
|
export declare interface IEditorCollectionEditorProps extends IPageModelElement {
|
|
1313
1301
|
children: React_2.ReactNode | React_2.ReactNode[];
|
|
1314
1302
|
isChanged?: boolean;
|
|
@@ -1489,26 +1477,6 @@ declare interface IExtensionsService_2 {
|
|
|
1489
1477
|
getOnApplicationRunHandlers(): ((application: IApplication_2) => void)[];
|
|
1490
1478
|
}
|
|
1491
1479
|
|
|
1492
|
-
declare interface IExternalStoragesController extends Service {
|
|
1493
|
-
getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel[]>;
|
|
1494
|
-
getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel[]>;
|
|
1495
|
-
validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse>;
|
|
1496
|
-
validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse>;
|
|
1497
|
-
validateFile(serviceId: string, file: string): Promise<IValidationResponse>;
|
|
1498
|
-
validatePath(serviceId: string, path: string): Promise<IValidationResponse>;
|
|
1499
|
-
validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse>;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
declare interface IExternalStoragesController_2 extends Service {
|
|
1503
|
-
getExternalStorageTypes(serviceId: string, databaseAlias: string): Promise<IStorageTypeModel_2[]>;
|
|
1504
|
-
getCustomStorageSettings(serviceId: string, databaseAlias: string, assemblyName: string): Promise<IStorageTypeModel_2[]>;
|
|
1505
|
-
validateConnectionString(serviceId: string, connectionString: string): Promise<IValidationResponse_2>;
|
|
1506
|
-
validateAssembly(serviceId: string, assembly: string): Promise<IAssemblyValidationResponse_2>;
|
|
1507
|
-
validateFile(serviceId: string, file: string): Promise<IValidationResponse_2>;
|
|
1508
|
-
validatePath(serviceId: string, path: string): Promise<IValidationResponse_2>;
|
|
1509
|
-
validateAssemblySettings(serviceId: string, typeName: string, settings: string): Promise<IValidationResponse_2>;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
1480
|
export declare interface IFilteringClearButtonProps {
|
|
1513
1481
|
onChange(value: (string | Moment)[]): void;
|
|
1514
1482
|
visible: boolean;
|
|
@@ -1618,7 +1586,7 @@ export declare interface IListitemProps {
|
|
|
1618
1586
|
changeItem: (value: string) => void;
|
|
1619
1587
|
}
|
|
1620
1588
|
|
|
1621
|
-
declare interface IListPanelProps {
|
|
1589
|
+
export declare interface IListPanelProps {
|
|
1622
1590
|
items: string[];
|
|
1623
1591
|
setItems: (items: string[]) => void;
|
|
1624
1592
|
className?: string;
|
|
@@ -1804,6 +1772,38 @@ declare interface IMessageWindowOptions {
|
|
|
1804
1772
|
customButtonCancelText?: React_2.ReactNode;
|
|
1805
1773
|
}
|
|
1806
1774
|
|
|
1775
|
+
export declare interface IMessageWindowProps {
|
|
1776
|
+
open: boolean;
|
|
1777
|
+
icon: React_2.ReactNode;
|
|
1778
|
+
content: React_2.ReactNode;
|
|
1779
|
+
buttons: React_2.ReactNode;
|
|
1780
|
+
onClose: () => void;
|
|
1781
|
+
handleBackdropClick?: () => void;
|
|
1782
|
+
disableEscapeKeyDown?: boolean;
|
|
1783
|
+
className?: string;
|
|
1784
|
+
title: React_2.ReactNode;
|
|
1785
|
+
color: string;
|
|
1786
|
+
contentMaxHeight?: string | number;
|
|
1787
|
+
boxDefaultWidth?: boolean;
|
|
1788
|
+
boxMaxWidth?: string | number;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
declare interface IMessageWindowProps_2 {
|
|
1792
|
+
open: boolean
|
|
1793
|
+
icon: React_2.ReactNode;
|
|
1794
|
+
content: React_2.ReactNode;
|
|
1795
|
+
buttons: React_2.ReactNode;
|
|
1796
|
+
onClose: () => void;
|
|
1797
|
+
handleBackdropClick?: () => void;
|
|
1798
|
+
disableEscapeKeyDown?: boolean;
|
|
1799
|
+
className?: string;
|
|
1800
|
+
title: React_2.ReactNode;
|
|
1801
|
+
color: string;
|
|
1802
|
+
contentMaxHeight?: string | number;
|
|
1803
|
+
boxDefaultWidth?: boolean;
|
|
1804
|
+
boxMaxWidth?:string | number;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
1807
|
declare interface IMessageWindowService {
|
|
1808
1808
|
showError(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
1809
1809
|
showInfo(content: React.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
@@ -1850,11 +1850,13 @@ declare enum IncomingMessageState {
|
|
|
1850
1850
|
Paused = 4
|
|
1851
1851
|
}
|
|
1852
1852
|
|
|
1853
|
+
export declare const Info: Story;
|
|
1854
|
+
|
|
1853
1855
|
export declare function InfoBanner({ text, typographyProps }: IInfoBanner): JSX.Element;
|
|
1854
1856
|
|
|
1855
1857
|
export declare function InformationIcon(props: IInformationIconProps): JSX.Element;
|
|
1856
1858
|
|
|
1857
|
-
declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant" | "value" | "onChange" | "type" | "defaultValue"> {
|
|
1859
|
+
export declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant" | "value" | "onChange" | "type" | "defaultValue"> {
|
|
1858
1860
|
minValue?: string | number;
|
|
1859
1861
|
maxValue?: string | number;
|
|
1860
1862
|
value?: string;
|
|
@@ -1980,7 +1982,7 @@ export declare interface IPageTableProps extends HtmlProps.div {
|
|
|
1980
1982
|
data: ITableData;
|
|
1981
1983
|
onRowClick?: (row: IRow) => void;
|
|
1982
1984
|
addRowClassName?: (row: IRow) => string;
|
|
1983
|
-
services?: $
|
|
1985
|
+
services?: $Resources_3 & $ApplicationSettings_2 & $MessageWindow;
|
|
1984
1986
|
loadData?: (data?: ITableData, options?: ITableDataLoadRequest) => Promise<void>;
|
|
1985
1987
|
disabledFeatures?: string[];
|
|
1986
1988
|
extraPlugins?: ITablePlugins[];
|
|
@@ -2283,22 +2285,6 @@ export declare interface IStaticExtensionResourcesDescriptor {
|
|
|
2283
2285
|
fileName?: string;
|
|
2284
2286
|
}
|
|
2285
2287
|
|
|
2286
|
-
declare interface IStorageTypeModel {
|
|
2287
|
-
id: string;
|
|
2288
|
-
displayName: string;
|
|
2289
|
-
assemblyName: string;
|
|
2290
|
-
supportedPartions: number;
|
|
2291
|
-
isIntegratedStorage: boolean;
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
declare interface IStorageTypeModel_2 {
|
|
2295
|
-
id: string;
|
|
2296
|
-
displayName: string;
|
|
2297
|
-
assemblyName: string;
|
|
2298
|
-
supportedPartions: number;
|
|
2299
|
-
isIntegratedStorage: boolean;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
2288
|
export declare interface ISystemSettings {
|
|
2303
2289
|
logLevel: LogLevel;
|
|
2304
2290
|
}
|
|
@@ -2444,6 +2430,29 @@ declare interface IToolbarVisibilityService {
|
|
|
2444
2430
|
changeVisibility: Event_2<boolean>;
|
|
2445
2431
|
}
|
|
2446
2432
|
|
|
2433
|
+
export declare interface ITreeItemProps {
|
|
2434
|
+
nodeId: string;
|
|
2435
|
+
notAvailable?: boolean;
|
|
2436
|
+
label: string;
|
|
2437
|
+
children?: React_2.ReactNode;
|
|
2438
|
+
classCss?: string;
|
|
2439
|
+
wrapperClassCss?: string;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
export declare interface ITreeViewContext {
|
|
2443
|
+
isSelected: (id: string) => boolean;
|
|
2444
|
+
isExpanded: (id: string) => boolean;
|
|
2445
|
+
selectNode: (value: string) => void;
|
|
2446
|
+
toggleExpansion: (value: string) => void;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
export declare interface ITreeViewProps {
|
|
2450
|
+
children?: React_2.ReactNode;
|
|
2451
|
+
expandedNodes?: string[];
|
|
2452
|
+
selectedNode?: string;
|
|
2453
|
+
onNodeSelect?: (value: string) => void;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2447
2456
|
export declare interface IUrlModel {
|
|
2448
2457
|
typeId: string;
|
|
2449
2458
|
connectionId?: string;
|
|
@@ -2487,20 +2496,15 @@ declare interface IUserInfo_2 {
|
|
|
2487
2496
|
displayName: string,
|
|
2488
2497
|
}
|
|
2489
2498
|
|
|
2490
|
-
declare interface IValidationResponse {
|
|
2491
|
-
result: boolean;
|
|
2492
|
-
error?: string;
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
|
-
declare interface IValidationResponse_2 {
|
|
2496
|
-
result: boolean;
|
|
2497
|
-
error?: string;
|
|
2498
|
-
}
|
|
2499
|
-
|
|
2500
2499
|
declare interface IViewSettings{
|
|
2501
2500
|
pageSize: number;
|
|
2502
2501
|
}
|
|
2503
2502
|
|
|
2503
|
+
export declare interface IWarningBanner {
|
|
2504
|
+
text: string;
|
|
2505
|
+
services: $Resources_2;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2504
2508
|
export declare interface IWidget {
|
|
2505
2509
|
id: string;
|
|
2506
2510
|
typeId: string;
|
|
@@ -2531,7 +2535,7 @@ export declare interface IWidgetConnectionSelectorProps extends HtmlProps.div {
|
|
|
2531
2535
|
selectedValue: string;
|
|
2532
2536
|
options: IKeyValue[];
|
|
2533
2537
|
onChange: (newValue: any) => void;
|
|
2534
|
-
services: $
|
|
2538
|
+
services: $Resources_3;
|
|
2535
2539
|
isLoading?: boolean;
|
|
2536
2540
|
}
|
|
2537
2541
|
|
|
@@ -2573,7 +2577,7 @@ export declare interface IWidgetPeriodSelectorProps extends HtmlProps.div {
|
|
|
2573
2577
|
selectedValue: string;
|
|
2574
2578
|
options: IPeriodValue[];
|
|
2575
2579
|
onChange: (newValue: any) => void;
|
|
2576
|
-
services: $
|
|
2580
|
+
services: $Resources_3 & $LocalStorage_2;
|
|
2577
2581
|
isLoading?: boolean;
|
|
2578
2582
|
onDatesChange?: (dates: any) => void;
|
|
2579
2583
|
datesValue?: string[];
|
|
@@ -2690,11 +2694,13 @@ export declare class LocalStorage implements ILocalStorage_2 {
|
|
|
2690
2694
|
transformId(id: string): string;
|
|
2691
2695
|
}
|
|
2692
2696
|
|
|
2697
|
+
export declare function MessageWindow(props: IMessageWindowProps): JSX.Element;
|
|
2698
|
+
|
|
2693
2699
|
export declare class MessageWindowService implements IMessageWindowService {
|
|
2694
2700
|
private static mMessageBoxContainerProvider;
|
|
2695
2701
|
static lastError?: HTMLElement;
|
|
2696
|
-
services: $
|
|
2697
|
-
constructor(services: $
|
|
2702
|
+
services: $Resources_3;
|
|
2703
|
+
constructor(services: $Resources_3);
|
|
2698
2704
|
showError(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
2699
2705
|
showInfo(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
2700
2706
|
showWarning(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
|
|
@@ -2754,6 +2760,8 @@ export declare function registerEditors(): void;
|
|
|
2754
2760
|
|
|
2755
2761
|
export declare function removeCssVariables(theme: Theme): void;
|
|
2756
2762
|
|
|
2763
|
+
export declare function renderButtons(withConfirmation?: boolean): JSX.Element[];
|
|
2764
|
+
|
|
2757
2765
|
export declare class ResourcesManagement implements IResourcesManagement {
|
|
2758
2766
|
resources: IResourcesMap_2;
|
|
2759
2767
|
setResources(resourcesMap: IResourcesMap_2): void;
|
|
@@ -2837,7 +2845,7 @@ export declare const showNote: (options: IPopupNotificationProps) => Noty_2;
|
|
|
2837
2845
|
|
|
2838
2846
|
export declare function showNotification(text: string): void;
|
|
2839
2847
|
|
|
2840
|
-
declare type Story = StoryObj<
|
|
2848
|
+
declare type Story = StoryObj<IMessageWindowProps_2>;
|
|
2841
2849
|
|
|
2842
2850
|
export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
|
|
2843
2851
|
|
|
@@ -2857,6 +2865,12 @@ export declare const theme: Theme;
|
|
|
2857
2865
|
|
|
2858
2866
|
export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
|
|
2859
2867
|
|
|
2868
|
+
export declare function TreeItem(props: ITreeItemProps): JSX.Element;
|
|
2869
|
+
|
|
2870
|
+
export declare function TreeView(props: ITreeViewProps): JSX.Element;
|
|
2871
|
+
|
|
2872
|
+
export declare const TreeViewContext: React_3.Context<ITreeViewContext>;
|
|
2873
|
+
|
|
2860
2874
|
export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;
|
|
2861
2875
|
|
|
2862
2876
|
export declare const useDefaultRoute: (application: IApplication_2) => void;
|
|
@@ -2870,6 +2884,10 @@ export declare function useLocalServiceContainer<MetaT>(context: typeof Services
|
|
|
2870
2884
|
|
|
2871
2885
|
export declare const useOutsideClick: (ref: React.MutableRefObject<HTMLElement>, callback: () => void) => void;
|
|
2872
2886
|
|
|
2887
|
+
export declare const Warning: Story;
|
|
2888
|
+
|
|
2889
|
+
export declare function WarningBanner(props: IWarningBanner): JSX.Element;
|
|
2890
|
+
|
|
2873
2891
|
export declare class Widget implements IWidget_2 {
|
|
2874
2892
|
readonly id: string;
|
|
2875
2893
|
readonly typeId: string;
|
|
@@ -2970,8 +2988,6 @@ export declare class WidgetsService implements IWidgetsService {
|
|
|
2970
2988
|
getAllDescriptions(): IWidgetDescription_2[];
|
|
2971
2989
|
}
|
|
2972
2990
|
|
|
2973
|
-
export declare const WithSelectedItem: Story;
|
|
2974
|
-
|
|
2975
2991
|
export declare const WORKER_SETTINGS_LAYOUT = "906f3990-98e5-4c2e-9e5f-5998fdb26daa";
|
|
2976
2992
|
|
|
2977
2993
|
export { }
|