iszolea-ui 1.2.85 → 1.2.86-pbi-26875.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/index.js +27 -27
- package/dist/types/Business/Licence.d.ts +14 -14
- package/dist/types/Business/MenuItemType.d.ts +11 -11
- package/dist/types/Business/index.d.ts +4 -4
- package/dist/types/Components/Core.d.ts +20 -20
- package/dist/types/Components/FileImporter/IFileImporterTableMetadata.d.ts +11 -11
- package/dist/types/Components/FileImporter/Index.d.ts +62 -62
- package/dist/types/Components/FileUploader/Index.d.ts +26 -26
- package/dist/types/Components/Menu/BootstrapCollapsingMenu.d.ts +72 -72
- package/dist/types/Components/Menu/Menu.d.ts +33 -33
- package/dist/types/Components/Menu/index.d.ts +2 -2
- package/dist/types/Components/SessionNotifier.d.ts +39 -39
- package/dist/types/Config/Index.d.ts +4 -4
- package/dist/types/Constants/CacheKeys.d.ts +1 -1
- package/dist/types/Constants/Sizes.d.ts +1 -1
- package/dist/types/Constants/index.d.ts +3 -3
- package/dist/types/Data/ApiResponse.d.ts +18 -18
- package/dist/types/Data/DxDataSource.d.ts +10 -10
- package/dist/types/Data/ExceptionType.d.ts +5 -5
- package/dist/types/Data/IBackgroundPhotoViewerSettings.d.ts +7 -7
- package/dist/types/Data/ILogoSettings.d.ts +7 -7
- package/dist/types/Data/LoadWithMultipleProtection.d.ts +1 -1
- package/dist/types/Data/Request.d.ts +18 -19
- package/dist/types/Data/RequestState.d.ts +4 -4
- package/dist/types/Data/index.d.ts +23 -23
- package/dist/types/Footer/Index.d.ts +55 -55
- package/dist/types/Header/Header.d.ts +80 -80
- package/dist/types/Header/IAppMenuModel.d.ts +8 -8
- package/dist/types/Header/IMenuSettings.d.ts +18 -18
- package/dist/types/Header/INavigationMenuItemModel.d.ts +21 -21
- package/dist/types/Header/IUserMenuItem.d.ts +18 -18
- package/dist/types/Header/Logo.d.ts +13 -14
- package/dist/types/Header/MenuSwitcher.d.ts +32 -32
- package/dist/types/Header/NavigationMenu.d.ts +26 -26
- package/dist/types/Header/Search.d.ts +39 -39
- package/dist/types/Header/UserMenu.d.ts +62 -62
- package/dist/types/Header/index.d.ts +9 -9
- package/dist/types/Helpers/Grid.d.ts +6 -6
- package/dist/types/Helpers/Index.d.ts +6 -6
- package/dist/types/Helpers/Theme.d.ts +16 -16
- package/dist/types/Helpers/Toolbar.d.ts +6 -6
- package/dist/types/Helpers/WindowResizeListener.d.ts +56 -56
- package/dist/types/Pages/AccountSettings/index.d.ts +35 -35
- package/dist/types/Reports/Business/GridColumnTypes.d.ts +2 -2
- package/dist/types/Reports/Business/IAppMenuItemBaseModel.d.ts +10 -10
- package/dist/types/Reports/Business/IHierarchical.d.ts +4 -4
- package/dist/types/Reports/Business/IReportBase.d.ts +7 -7
- package/dist/types/Reports/Business/cdmImportFileMode.d.ts +5 -5
- package/dist/types/Reports/Business/index.d.ts +6 -6
- package/dist/types/Reports/ColumnMetaData.d.ts +4 -4
- package/dist/types/Reports/Components/RefreshTimer/Button.d.ts +16 -16
- package/dist/types/Reports/Components/RefreshTimer/Index.d.ts +16 -16
- package/dist/types/Reports/Components/ReportDetailsPopover.d.ts +1 -1
- package/dist/types/Reports/Data/Index.d.ts +12 -13
- package/dist/types/Reports/IReportComponent.d.ts +5 -5
- package/dist/types/Reports/IReportParams.d.ts +30 -30
- package/dist/types/Reports/Pages/CDM/ControlConfigurator.d.ts +161 -161
- package/dist/types/Reports/Pages/CDM/ControlDisplay.d.ts +98 -97
- package/dist/types/Reports/Pages/CDM/ControlDisplayUserSettingsManager.d.ts +48 -48
- package/dist/types/Reports/Pages/CDM/Display/EditingManager/BatchEditingManager.d.ts +5 -5
- package/dist/types/Reports/Pages/CDM/Display/EditingManager/EditingManagerBase.d.ts +10 -10
- package/dist/types/Reports/Pages/CDM/Display/EditingManager/InlineEditingManager.d.ts +16 -13
- package/dist/types/Reports/Pages/CDM/DisplayManager.d.ts +16 -16
- package/dist/types/Reports/Pages/CDM/EditValidationTracker.d.ts +7 -7
- package/dist/types/Reports/Pages/CDM/Editors/DocumentEditor.d.ts +10 -10
- package/dist/types/Reports/Pages/CDM/Editors/IconsColumnEditor.d.ts +10 -10
- package/dist/types/Reports/Pages/CDM/Editors/ImageEditor.d.ts +15 -15
- package/dist/types/Reports/Pages/CDM/Editors/LinkEditor.d.ts +10 -10
- package/dist/types/Reports/Pages/CDM/Editors/MoneyEditor.d.ts +8 -8
- package/dist/types/Reports/Pages/CDM/Editors/PredefinedValuesColumnEditor.d.ts +10 -10
- package/dist/types/Reports/Pages/CDM/Editors/RabbitActionColumnEditor.d.ts +15 -15
- package/dist/types/Reports/Pages/CDM/Editors/ReferencedValueColumnEditor.d.ts +36 -36
- package/dist/types/Reports/Pages/CDM/GridDisplaysManager.d.ts +36 -36
- package/dist/types/Reports/Pages/CDM/GridDisplaysToolbarComponent.d.ts +49 -49
- package/dist/types/Reports/Pages/CDM/GridFiltersManager.d.ts +38 -38
- package/dist/types/Reports/Pages/CDM/GridFiltersToolbarComponent.d.ts +69 -69
- package/dist/types/Reports/Pages/CDM/GridState.d.ts +13 -13
- package/dist/types/Reports/Pages/CDM/GridStateManager.d.ts +20 -20
- package/dist/types/Reports/Pages/CDM/GridSummaryHelper.d.ts +5 -5
- package/dist/types/Reports/Pages/CDM/GridViewsManager.d.ts +40 -40
- package/dist/types/Reports/Pages/CDM/GridViewsToolbarComponent.d.ts +56 -56
- package/dist/types/Reports/Pages/CDM/Index.d.ts +42 -42
- package/dist/types/Reports/Pages/CDM/MultipleEditingDataGridPlugin.d.ts +17 -17
- package/dist/types/Reports/Pages/CDM/PermissionsConfigurator.d.ts +31 -31
- package/dist/types/Reports/Pages/CDM/SendBatchRequest.d.ts +1 -2
- package/dist/types/Reports/Pages/Dashboard/Extensions/ChartAxisMaxValueExtension.d.ts +1 -1
- package/dist/types/Reports/Pages/Dashboard/Extensions/ChartConstantLinesExtension.d.ts +1 -1
- package/dist/types/Reports/Pages/Dashboard/Extensions/ChartLineOptionsExtension.d.ts +1 -1
- package/dist/types/Reports/Pages/Dashboard/Extensions/GaugeSubvaluesExtension.d.ts +1 -1
- package/dist/types/Reports/Pages/Dashboard/Index.d.ts +25 -25
- package/dist/types/Reports/Pages/Diagram/Index.d.ts +32 -32
- package/dist/types/Reports/Pages/GanntChart/Index.d.ts +36 -36
- package/dist/types/Reports/Pages/Grid/CreateDefaultGrid.d.ts +8 -8
- package/dist/types/Reports/Pages/Grid/GridIndicatorState.d.ts +6 -6
- package/dist/types/Reports/Pages/Grid/GridStateManager.d.ts +30 -30
- package/dist/types/Reports/Pages/Grid/IGridData.d.ts +14 -14
- package/dist/types/Reports/Pages/Grid/Index.d.ts +49 -49
- package/dist/types/Reports/Pages/Grid/Mode.d.ts +5 -5
- package/dist/types/Reports/Pages/Report/Index.d.ts +29 -29
- package/dist/types/Reports/Pages/Scheduler/Index.d.ts +37 -37
- package/dist/types/Reports/Pages/Slideshow/Index.d.ts +31 -31
- package/dist/types/Styling/Index.d.ts +5 -5
- package/dist/types/Utils/DevExpressEventArgs.d.ts +1 -1
- package/dist/types/Utils/EventEmitter.d.ts +9 -9
- package/dist/types/Utils/GeneralUserFriendlyErrorMessage.d.ts +2 -2
- package/dist/types/Utils/GenerateUUID.d.ts +1 -1
- package/dist/types/Utils/GridExport.d.ts +1 -1
- package/dist/types/Utils/Image.d.ts +1 -1
- package/dist/types/Utils/Index.d.ts +6 -6
- package/dist/types/Utils/Json.d.ts +1 -1
- package/dist/types/Utils/Memoize.d.ts +1 -1
- package/dist/types/Utils/PromiseQueue.d.ts +38 -35
- package/dist/types/Widgets/AccessDeniedToReport.d.ts +1 -1
- package/dist/types/Widgets/AutoResize.d.ts +1 -1
- package/dist/types/Widgets/BackgroundImageViewer.d.ts +1 -1
- package/dist/types/Widgets/Confirm.d.ts +1 -2
- package/dist/types/Widgets/DefaultToolbar.d.ts +6 -6
- package/dist/types/Widgets/DocumentManager/Index.d.ts +31 -31
- package/dist/types/Widgets/ErrorInfoPopup.d.ts +2 -2
- package/dist/types/Widgets/FullScreen.d.ts +1 -1
- package/dist/types/Widgets/Grid/CreateFullScreenGrid.d.ts +10 -10
- package/dist/types/Widgets/Grid/DefaultGrid.d.ts +2 -2
- package/dist/types/Widgets/Grid/DefaultGridBase.d.ts +25 -25
- package/dist/types/Widgets/Grid/DefaultGridObsolete.d.ts +2 -2
- package/dist/types/Widgets/Grid/DefaultTreeList.d.ts +2 -2
- package/dist/types/Widgets/Grid/SummaryLoader.d.ts +1 -1
- package/dist/types/Widgets/IGridState.d.ts +28 -28
- package/dist/types/Widgets/ImageCropDialog/Helpers.d.ts +1 -1
- package/dist/types/Widgets/ImageCropDialog/index.d.ts +1 -1
- package/dist/types/Widgets/ImageGallery/Index.d.ts +20 -20
- package/dist/types/Widgets/ImageManager/Index.d.ts +42 -42
- package/dist/types/Widgets/Landing.d.ts +3 -3
- package/dist/types/Widgets/Notify.d.ts +1 -1
- package/dist/types/Widgets/PanelHeight.d.ts +1 -1
- package/dist/types/Widgets/Popup.d.ts +15 -15
- package/dist/types/index.d.ts +115 -116
- package/package.json +40 -15
- package/dist/js/index.development.js +0 -19930
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { IGridReportParams } from '../../IReportParams';
|
|
2
|
-
import { IReportComponent } from '../../IReportComponent';
|
|
3
|
-
export interface IGridOptions {
|
|
4
|
-
gridPositionMarker: JQuery;
|
|
5
|
-
reportParams: IGridReportParams;
|
|
6
|
-
allowEditing: boolean;
|
|
7
|
-
addRefreshButton: boolean;
|
|
8
|
-
gridReportControllerUrl: string;
|
|
9
|
-
showHeader?: boolean;
|
|
10
|
-
asyncSummaryLoad?: boolean | string;
|
|
11
|
-
}
|
|
12
|
-
export default class Grid implements IReportComponent {
|
|
13
|
-
private readonly gridPositionMarker;
|
|
14
|
-
private reportParams;
|
|
15
|
-
private readonly allowEditing;
|
|
16
|
-
private readonly gridReportControllerUrl;
|
|
17
|
-
private readonly showHeader;
|
|
18
|
-
private readonly addRefreshButton;
|
|
19
|
-
private currentGridMode;
|
|
20
|
-
private showAllDataInEdit;
|
|
21
|
-
private loadingTimeout;
|
|
22
|
-
private grid;
|
|
23
|
-
private popover;
|
|
24
|
-
private gridStateManager;
|
|
25
|
-
private $gridStateIndicator;
|
|
26
|
-
private $gridErrorPlaceholder;
|
|
27
|
-
private $gridTargetElement;
|
|
28
|
-
private $resetSettingTargetElement;
|
|
29
|
-
private gridStateIndicatorTimeout;
|
|
30
|
-
private dataLayer;
|
|
31
|
-
private editWidthEditBoxes;
|
|
32
|
-
private gridRepaintQueued;
|
|
33
|
-
private columnNamesUpdated;
|
|
34
|
-
private refreshButton;
|
|
35
|
-
private readonly asyncSummaryLoad;
|
|
36
|
-
constructor(options: IGridOptions);
|
|
37
|
-
init(): void;
|
|
38
|
-
refresh(): void;
|
|
39
|
-
dispose(): void;
|
|
40
|
-
private initInternal;
|
|
41
|
-
private updateGridStateIndicator;
|
|
42
|
-
private updateColumnNaming;
|
|
43
|
-
private createDataSource;
|
|
44
|
-
private resetSettings;
|
|
45
|
-
private switchToMode;
|
|
46
|
-
private saveGridState;
|
|
47
|
-
private initGridHeaderCellEditPanel;
|
|
48
|
-
private initGridHeaderCell;
|
|
49
|
-
}
|
|
1
|
+
import { IGridReportParams } from '../../IReportParams';
|
|
2
|
+
import { IReportComponent } from '../../IReportComponent';
|
|
3
|
+
export interface IGridOptions {
|
|
4
|
+
gridPositionMarker: JQuery;
|
|
5
|
+
reportParams: IGridReportParams;
|
|
6
|
+
allowEditing: boolean;
|
|
7
|
+
addRefreshButton: boolean;
|
|
8
|
+
gridReportControllerUrl: string;
|
|
9
|
+
showHeader?: boolean;
|
|
10
|
+
asyncSummaryLoad?: boolean | string;
|
|
11
|
+
}
|
|
12
|
+
export default class Grid implements IReportComponent {
|
|
13
|
+
private readonly gridPositionMarker;
|
|
14
|
+
private reportParams;
|
|
15
|
+
private readonly allowEditing;
|
|
16
|
+
private readonly gridReportControllerUrl;
|
|
17
|
+
private readonly showHeader;
|
|
18
|
+
private readonly addRefreshButton;
|
|
19
|
+
private currentGridMode;
|
|
20
|
+
private showAllDataInEdit;
|
|
21
|
+
private loadingTimeout;
|
|
22
|
+
private grid;
|
|
23
|
+
private popover;
|
|
24
|
+
private gridStateManager;
|
|
25
|
+
private $gridStateIndicator;
|
|
26
|
+
private $gridErrorPlaceholder;
|
|
27
|
+
private $gridTargetElement;
|
|
28
|
+
private $resetSettingTargetElement;
|
|
29
|
+
private gridStateIndicatorTimeout;
|
|
30
|
+
private dataLayer;
|
|
31
|
+
private editWidthEditBoxes;
|
|
32
|
+
private gridRepaintQueued;
|
|
33
|
+
private columnNamesUpdated;
|
|
34
|
+
private refreshButton;
|
|
35
|
+
private readonly asyncSummaryLoad;
|
|
36
|
+
constructor(options: IGridOptions);
|
|
37
|
+
init(): void;
|
|
38
|
+
refresh(): void;
|
|
39
|
+
dispose(): void;
|
|
40
|
+
private initInternal;
|
|
41
|
+
private updateGridStateIndicator;
|
|
42
|
+
private updateColumnNaming;
|
|
43
|
+
private createDataSource;
|
|
44
|
+
private resetSettings;
|
|
45
|
+
private switchToMode;
|
|
46
|
+
private saveGridState;
|
|
47
|
+
private initGridHeaderCellEditPanel;
|
|
48
|
+
private initGridHeaderCell;
|
|
49
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare enum GridMode {
|
|
2
|
-
View = 1,
|
|
3
|
-
Edit = 2
|
|
4
|
-
}
|
|
5
|
-
export default GridMode;
|
|
1
|
+
declare enum GridMode {
|
|
2
|
+
View = 1,
|
|
3
|
+
Edit = 2
|
|
4
|
+
}
|
|
5
|
+
export default GridMode;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { IReportParams } from '../../IReportParams';
|
|
2
|
-
import { IReportComponent } from '../../IReportComponent';
|
|
3
|
-
export interface IReportOptions {
|
|
4
|
-
$reportContainer: JQuery;
|
|
5
|
-
reportParams: IReportParams;
|
|
6
|
-
allowEditing: boolean;
|
|
7
|
-
designerModelUrl: string;
|
|
8
|
-
}
|
|
9
|
-
export default class Report implements IReportComponent {
|
|
10
|
-
private readonly $reportContainer;
|
|
11
|
-
private readonly reportParams;
|
|
12
|
-
private readonly allowEditing;
|
|
13
|
-
private readonly designerModelUrl;
|
|
14
|
-
private readonly reportId;
|
|
15
|
-
private popover;
|
|
16
|
-
constructor(options: IReportOptions);
|
|
17
|
-
init(): void;
|
|
18
|
-
dispose(): void;
|
|
19
|
-
refresh(): void;
|
|
20
|
-
private initializePreview;
|
|
21
|
-
private switchMode;
|
|
22
|
-
private updateSwitchModeButton;
|
|
23
|
-
private createReportDesigner;
|
|
24
|
-
private PreviewCustomizeMenuActions;
|
|
25
|
-
private CustomizeMenuActions;
|
|
26
|
-
private ReportOpened;
|
|
27
|
-
private ReportTabClosed;
|
|
28
|
-
private getSessionKey;
|
|
29
|
-
}
|
|
1
|
+
import { IReportParams } from '../../IReportParams';
|
|
2
|
+
import { IReportComponent } from '../../IReportComponent';
|
|
3
|
+
export interface IReportOptions {
|
|
4
|
+
$reportContainer: JQuery;
|
|
5
|
+
reportParams: IReportParams;
|
|
6
|
+
allowEditing: boolean;
|
|
7
|
+
designerModelUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export default class Report implements IReportComponent {
|
|
10
|
+
private readonly $reportContainer;
|
|
11
|
+
private readonly reportParams;
|
|
12
|
+
private readonly allowEditing;
|
|
13
|
+
private readonly designerModelUrl;
|
|
14
|
+
private readonly reportId;
|
|
15
|
+
private popover;
|
|
16
|
+
constructor(options: IReportOptions);
|
|
17
|
+
init(): void;
|
|
18
|
+
dispose(): void;
|
|
19
|
+
refresh(): void;
|
|
20
|
+
private initializePreview;
|
|
21
|
+
private switchMode;
|
|
22
|
+
private updateSwitchModeButton;
|
|
23
|
+
private createReportDesigner;
|
|
24
|
+
private PreviewCustomizeMenuActions;
|
|
25
|
+
private CustomizeMenuActions;
|
|
26
|
+
private ReportOpened;
|
|
27
|
+
private ReportTabClosed;
|
|
28
|
+
private getSessionKey;
|
|
29
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { IReportComponent } from '../../IReportComponent';
|
|
2
|
-
import { IReportParams } from '../../IReportParams';
|
|
3
|
-
export interface ISchedulerOptions {
|
|
4
|
-
$container: JQuery;
|
|
5
|
-
allowEditing: boolean;
|
|
6
|
-
reportParams: IReportParams;
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
}
|
|
9
|
-
export default class Scheduler implements IReportComponent {
|
|
10
|
-
private readonly STORAGE_MODE_KEY;
|
|
11
|
-
private readonly SWITCH_TO_DESIGNER_TEXT;
|
|
12
|
-
private readonly SWITCH_TO_VIEWER_TEXT;
|
|
13
|
-
private readonly options;
|
|
14
|
-
private readonly loadPanel;
|
|
15
|
-
private readonly getTableFieldsUrl;
|
|
16
|
-
private readonly getDataUrl;
|
|
17
|
-
private readonly saveConfigurationUrl;
|
|
18
|
-
private readonly getConfigurationUrl;
|
|
19
|
-
private mode;
|
|
20
|
-
private scheduler;
|
|
21
|
-
private form;
|
|
22
|
-
constructor(options: ISchedulerOptions);
|
|
23
|
-
private getSessionKey;
|
|
24
|
-
private renderContent;
|
|
25
|
-
private initSwitchModeButton;
|
|
26
|
-
private initScheduler;
|
|
27
|
-
private initForm;
|
|
28
|
-
private renderViewer;
|
|
29
|
-
private renderDesigner;
|
|
30
|
-
private saveFormHandler;
|
|
31
|
-
private getConfiguration;
|
|
32
|
-
private getTableFields;
|
|
33
|
-
private getDate;
|
|
34
|
-
init(): void;
|
|
35
|
-
refresh(): void;
|
|
36
|
-
dispose(): void;
|
|
37
|
-
}
|
|
1
|
+
import { IReportComponent } from '../../IReportComponent';
|
|
2
|
+
import { IReportParams } from '../../IReportParams';
|
|
3
|
+
export interface ISchedulerOptions {
|
|
4
|
+
$container: JQuery;
|
|
5
|
+
allowEditing: boolean;
|
|
6
|
+
reportParams: IReportParams;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export default class Scheduler implements IReportComponent {
|
|
10
|
+
private readonly STORAGE_MODE_KEY;
|
|
11
|
+
private readonly SWITCH_TO_DESIGNER_TEXT;
|
|
12
|
+
private readonly SWITCH_TO_VIEWER_TEXT;
|
|
13
|
+
private readonly options;
|
|
14
|
+
private readonly loadPanel;
|
|
15
|
+
private readonly getTableFieldsUrl;
|
|
16
|
+
private readonly getDataUrl;
|
|
17
|
+
private readonly saveConfigurationUrl;
|
|
18
|
+
private readonly getConfigurationUrl;
|
|
19
|
+
private mode;
|
|
20
|
+
private scheduler;
|
|
21
|
+
private form;
|
|
22
|
+
constructor(options: ISchedulerOptions);
|
|
23
|
+
private getSessionKey;
|
|
24
|
+
private renderContent;
|
|
25
|
+
private initSwitchModeButton;
|
|
26
|
+
private initScheduler;
|
|
27
|
+
private initForm;
|
|
28
|
+
private renderViewer;
|
|
29
|
+
private renderDesigner;
|
|
30
|
+
private saveFormHandler;
|
|
31
|
+
private getConfiguration;
|
|
32
|
+
private getTableFields;
|
|
33
|
+
private getDate;
|
|
34
|
+
init(): void;
|
|
35
|
+
refresh(): void;
|
|
36
|
+
dispose(): void;
|
|
37
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { IReportComponent } from '../../IReportComponent';
|
|
2
|
-
import { MenuItemType } from '../../../Business';
|
|
3
|
-
import { IReportParams } from '../../IReportParams';
|
|
4
|
-
export interface INestedReport extends IReportParams {
|
|
5
|
-
Type: MenuItemType;
|
|
6
|
-
}
|
|
7
|
-
export interface ISlideshowReportParams extends IReportParams {
|
|
8
|
-
Reports: INestedReport[];
|
|
9
|
-
DelaySec: number;
|
|
10
|
-
RefreshSec: number;
|
|
11
|
-
}
|
|
12
|
-
export interface ISlideshowReportPageOptions {
|
|
13
|
-
$container: JQuery;
|
|
14
|
-
reportParams: ISlideshowReportParams;
|
|
15
|
-
defaultReportSettings: {
|
|
16
|
-
[key in MenuItemType]: any;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export default class SlideshowReportPage implements IReportComponent {
|
|
20
|
-
private readonly options;
|
|
21
|
-
private readonly $rootElement;
|
|
22
|
-
private readonly defaultReportSettings;
|
|
23
|
-
private reports;
|
|
24
|
-
private dxGallery;
|
|
25
|
-
private refreshTimer;
|
|
26
|
-
constructor(options: ISlideshowReportPageOptions);
|
|
27
|
-
init(): void;
|
|
28
|
-
dispose(): void;
|
|
29
|
-
refresh(): void;
|
|
30
|
-
private renderContent;
|
|
31
|
-
}
|
|
1
|
+
import { IReportComponent } from '../../IReportComponent';
|
|
2
|
+
import { MenuItemType } from '../../../Business';
|
|
3
|
+
import { IReportParams } from '../../IReportParams';
|
|
4
|
+
export interface INestedReport extends IReportParams {
|
|
5
|
+
Type: MenuItemType;
|
|
6
|
+
}
|
|
7
|
+
export interface ISlideshowReportParams extends IReportParams {
|
|
8
|
+
Reports: INestedReport[];
|
|
9
|
+
DelaySec: number;
|
|
10
|
+
RefreshSec: number;
|
|
11
|
+
}
|
|
12
|
+
export interface ISlideshowReportPageOptions {
|
|
13
|
+
$container: JQuery;
|
|
14
|
+
reportParams: ISlideshowReportParams;
|
|
15
|
+
defaultReportSettings: {
|
|
16
|
+
[key in MenuItemType]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export default class SlideshowReportPage implements IReportComponent {
|
|
20
|
+
private readonly options;
|
|
21
|
+
private readonly $rootElement;
|
|
22
|
+
private readonly defaultReportSettings;
|
|
23
|
+
private reports;
|
|
24
|
+
private dxGallery;
|
|
25
|
+
private refreshTimer;
|
|
26
|
+
constructor(options: ISlideshowReportPageOptions);
|
|
27
|
+
init(): void;
|
|
28
|
+
dispose(): void;
|
|
29
|
+
refresh(): void;
|
|
30
|
+
private renderContent;
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const CSS_CLASSES: {
|
|
2
|
-
dxDataGrid: string;
|
|
3
|
-
dxButton: string;
|
|
4
|
-
dxPopup: string;
|
|
5
|
-
};
|
|
1
|
+
export declare const CSS_CLASSES: {
|
|
2
|
+
dxDataGrid: string;
|
|
3
|
+
dxButton: string;
|
|
4
|
+
dxPopup: string;
|
|
5
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type DevExpressEventArgs<T extends DevExpress.ui.WidgetOptions<any>, E extends keyof T> = T[E] extends ((...args: infer P) => any) | undefined | null ? P[0] : never;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class EventEmitter {
|
|
2
|
-
private readonly eventListeners;
|
|
3
|
-
constructor();
|
|
4
|
-
on(evt: any, listener: any): any;
|
|
5
|
-
once(evt: any, listener: any): void;
|
|
6
|
-
protected emit(evt: any, e?: any): void;
|
|
7
|
-
protected off(evt: any, listener: any): void;
|
|
8
|
-
protected addHandler(event: string, originHandler: any, getArguments: any): void;
|
|
9
|
-
}
|
|
1
|
+
export declare class EventEmitter {
|
|
2
|
+
private readonly eventListeners;
|
|
3
|
+
constructor();
|
|
4
|
+
on(evt: any, listener: any): any;
|
|
5
|
+
once(evt: any, listener: any): void;
|
|
6
|
+
protected emit(evt: any, e?: any): void;
|
|
7
|
+
protected off(evt: any, listener: any): void;
|
|
8
|
+
protected addHandler(event: string, originHandler: any, getArguments: any): void;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ExceptionType } from '../Data/ExceptionType';
|
|
2
|
-
export declare const getGeneralUserFriendlyErrorMessage: (exceptionType: ExceptionType) => "" | "We attempted to execute the data query however it appears there is an error in the data source." | "Something wrong with iszolea configuration. Check ClientId/ClientSecret fields in the appsettings.json file.";
|
|
1
|
+
import { ExceptionType } from '../Data/ExceptionType';
|
|
2
|
+
export declare const getGeneralUserFriendlyErrorMessage: (exceptionType: ExceptionType) => "" | "We attempted to execute the data query however it appears there is an error in the data source." | "Something wrong with iszolea configuration. Check ClientId/ClientSecret fields in the appsettings.json file.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function generateUUID(): string;
|
|
1
|
+
export default function generateUUID(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function createGridExportFunction(reportName: string): (e: DevExpress.ui.dxDataGrid.ExportingEvent) => void;
|
|
1
|
+
export declare function createGridExportFunction(reportName: string): (e: DevExpress.ui.dxDataGrid.ExportingEvent) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const imageToBase64: (image: File) => Promise<string>;
|
|
1
|
+
export declare const imageToBase64: (image: File) => Promise<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DevExpressEventArgs } from './DevExpressEventArgs';
|
|
2
|
-
export { EventEmitter } from './EventEmitter';
|
|
3
|
-
export { getGeneralUserFriendlyErrorMessage } from './GeneralUserFriendlyErrorMessage';
|
|
4
|
-
export { createGridExportFunction } from './GridExport';
|
|
5
|
-
export { imageToBase64 } from './Image';
|
|
6
|
-
export { isJsonString } from './Json';
|
|
1
|
+
export { DevExpressEventArgs } from './DevExpressEventArgs';
|
|
2
|
+
export { EventEmitter } from './EventEmitter';
|
|
3
|
+
export { getGeneralUserFriendlyErrorMessage } from './GeneralUserFriendlyErrorMessage';
|
|
4
|
+
export { createGridExportFunction } from './GridExport';
|
|
5
|
+
export { imageToBase64 } from './Image';
|
|
6
|
+
export { isJsonString } from './Json';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isJsonString: (str: any) => boolean;
|
|
1
|
+
export declare const isJsonString: (str: any) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const memoize: <T extends (...args: any[]) => any>(func: T) => T;
|
|
1
|
+
export declare const memoize: <T extends (...args: any[]) => any>(func: T) => T;
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
import { EventEmitter } from './EventEmitter';
|
|
2
|
-
export interface IDataChange {
|
|
3
|
-
type: 'update' | 'insert' | 'remove';
|
|
4
|
-
key?:
|
|
5
|
-
data?: string;
|
|
6
|
-
isSeparatedRequest?: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
private readonly
|
|
31
|
-
private
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { EventEmitter } from './EventEmitter';
|
|
2
|
+
export interface IDataChange {
|
|
3
|
+
type: 'update' | 'insert' | 'remove';
|
|
4
|
+
key?: any;
|
|
5
|
+
data?: string;
|
|
6
|
+
isSeparatedRequest?: boolean;
|
|
7
|
+
gridKey?: any;
|
|
8
|
+
}
|
|
9
|
+
export declare enum RequestStatus {
|
|
10
|
+
PENDING = 0,
|
|
11
|
+
SENT = 1,
|
|
12
|
+
SUCCESS = 2,
|
|
13
|
+
ERROR = 3
|
|
14
|
+
}
|
|
15
|
+
export interface IRequestStatusUpdate {
|
|
16
|
+
dataChange: IDataChange[];
|
|
17
|
+
gridRowKey: any;
|
|
18
|
+
status: RequestStatus;
|
|
19
|
+
error?: string;
|
|
20
|
+
response?: any;
|
|
21
|
+
requestsInQueue?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface IBatchUpdateResult {
|
|
24
|
+
dataChange: IDataChange;
|
|
25
|
+
isSuccess: boolean;
|
|
26
|
+
error: string;
|
|
27
|
+
}
|
|
28
|
+
export declare class UpdateRequestQueue extends EventEmitter {
|
|
29
|
+
readonly REQUEST_STATUS_UPDATED_EVENT = "REQUEST_STATUS_UPDATED";
|
|
30
|
+
private readonly updateUrl;
|
|
31
|
+
private readonly pendingChanges;
|
|
32
|
+
private isRequestPending;
|
|
33
|
+
constructor(updateUrl: string);
|
|
34
|
+
push(change: IDataChange, separatedRequest?: boolean): void;
|
|
35
|
+
private sendRequest;
|
|
36
|
+
private attachGridKey;
|
|
37
|
+
private areKeysEqual;
|
|
38
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function createAccessDeniedToReport($container: JQuery, allowedReportRoles: string[], allowedConnectionRoles: string[]): void;
|
|
1
|
+
export declare function createAccessDeniedToReport($container: JQuery, allowedReportRoles: string[], allowedConnectionRoles: string[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function (onResize: () => void): void;
|
|
1
|
+
export default function (onResize: () => void): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function show($container: JQuery, imageUrls: string[], imgChangeIntervalSec?: number, transitionTimeSec?: number): void;
|
|
1
|
+
export declare function show($container: JQuery, imageUrls: string[], imgChangeIntervalSec?: number, transitionTimeSec?: number): void;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function createConfirm(text: string): JQueryDeferred<boolean>;
|
|
1
|
+
export declare function createConfirm(text: string): JQueryDeferred<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IToolbarSetting {
|
|
2
|
-
options?: DevExpress.ui.dxToolbarOptions;
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
}
|
|
6
|
-
export default function (selector: string, settings?: IToolbarSetting): DevExpress.ui.dxToolbar;
|
|
1
|
+
export interface IToolbarSetting {
|
|
2
|
+
options?: DevExpress.ui.dxToolbarOptions;
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
}
|
|
6
|
+
export default function (selector: string, settings?: IToolbarSetting): DevExpress.ui.dxToolbar;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
-
import { IPDFTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
-
export interface IDocumentManagerSettings {
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number | string;
|
|
6
|
-
}
|
|
7
|
-
export default class DocumentManager extends EventEmitter {
|
|
8
|
-
private readonly allowPreviewExt;
|
|
9
|
-
private readonly ON_UPLOADED;
|
|
10
|
-
private readonly ON_DELETED;
|
|
11
|
-
private readonly ON_OPEN;
|
|
12
|
-
private readonly ON_DOWNLOAD;
|
|
13
|
-
private readonly settings;
|
|
14
|
-
private $content;
|
|
15
|
-
private dialog;
|
|
16
|
-
private items;
|
|
17
|
-
private list;
|
|
18
|
-
private uploader;
|
|
19
|
-
constructor(settings?: IDocumentManagerSettings);
|
|
20
|
-
private initMarkup;
|
|
21
|
-
private initUploader;
|
|
22
|
-
private initList;
|
|
23
|
-
open(documents?: Array<IPDFTypeItem>, readonly?: boolean): void;
|
|
24
|
-
close(): void;
|
|
25
|
-
set documents(items: Array<IPDFTypeItem>);
|
|
26
|
-
get documents(): Array<IPDFTypeItem>;
|
|
27
|
-
onUploaded(cb: (documents: Array<File>) => void): void;
|
|
28
|
-
onDeleted(cb: (id: string) => void): void;
|
|
29
|
-
onOpen(cb: (id: string) => void): void;
|
|
30
|
-
onDownload(cb: (url: string) => void): void;
|
|
31
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
+
import { IPDFTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
+
export interface IDocumentManagerSettings {
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
}
|
|
7
|
+
export default class DocumentManager extends EventEmitter {
|
|
8
|
+
private readonly allowPreviewExt;
|
|
9
|
+
private readonly ON_UPLOADED;
|
|
10
|
+
private readonly ON_DELETED;
|
|
11
|
+
private readonly ON_OPEN;
|
|
12
|
+
private readonly ON_DOWNLOAD;
|
|
13
|
+
private readonly settings;
|
|
14
|
+
private $content;
|
|
15
|
+
private dialog;
|
|
16
|
+
private items;
|
|
17
|
+
private list;
|
|
18
|
+
private uploader;
|
|
19
|
+
constructor(settings?: IDocumentManagerSettings);
|
|
20
|
+
private initMarkup;
|
|
21
|
+
private initUploader;
|
|
22
|
+
private initList;
|
|
23
|
+
open(documents?: Array<IPDFTypeItem>, readonly?: boolean): void;
|
|
24
|
+
close(): void;
|
|
25
|
+
set documents(items: Array<IPDFTypeItem>);
|
|
26
|
+
get documents(): Array<IPDFTypeItem>;
|
|
27
|
+
onUploaded(cb: (documents: Array<File>) => void): void;
|
|
28
|
+
onDeleted(cb: (id: string) => void): void;
|
|
29
|
+
onOpen(cb: (id: string) => void): void;
|
|
30
|
+
onDownload(cb: (url: string) => void): void;
|
|
31
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IErrorInfo } from '../Data/ApiResponse';
|
|
2
|
-
export declare function createErrorInfoPopup(titleMessage: string, errorInfo: IErrorInfo | IErrorInfo[]): void;
|
|
1
|
+
import { IErrorInfo } from '../Data/ApiResponse';
|
|
2
|
+
export declare function createErrorInfoPopup(titleMessage: string, errorInfo: IErrorInfo | IErrorInfo[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function (widget: DevExpress.ui.Widget<any>, ignoreSiblings?: boolean, addOwnSize?: boolean): void;
|
|
1
|
+
export default function (widget: DevExpress.ui.Widget<any>, ignoreSiblings?: boolean, addOwnSize?: boolean): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface IGridAdditionalOptions {
|
|
2
|
-
exportFileName?: string;
|
|
3
|
-
summaryColumn?: string;
|
|
4
|
-
showSummaryInColumn?: string;
|
|
5
|
-
inPanelGrid?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function createFullScreenDataGrid(id: JQuery, options: DevExpress.ui.dxDataGridOptions, isInPanelGrid?: boolean): DevExpress.ui.dxDataGrid;
|
|
8
|
-
export declare function createDataGrid(el: JQuery, options: DevExpress.ui.dxDataGridOptions): DevExpress.ui.dxDataGrid;
|
|
9
|
-
export declare function createFullScreenTreeList(el: string | JQuery, options: DevExpress.ui.dxTreeList.Properties, isInPanel?: boolean): DevExpress.ui.dxTreeList;
|
|
10
|
-
export declare function createHeaderCellTemplate(text: any, title: any): JQuery<HTMLElement>;
|
|
1
|
+
export interface IGridAdditionalOptions {
|
|
2
|
+
exportFileName?: string;
|
|
3
|
+
summaryColumn?: string;
|
|
4
|
+
showSummaryInColumn?: string;
|
|
5
|
+
inPanelGrid?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function createFullScreenDataGrid(id: JQuery, options: DevExpress.ui.dxDataGridOptions, isInPanelGrid?: boolean): DevExpress.ui.dxDataGrid;
|
|
8
|
+
export declare function createDataGrid(el: JQuery, options: DevExpress.ui.dxDataGridOptions): DevExpress.ui.dxDataGrid;
|
|
9
|
+
export declare function createFullScreenTreeList(el: string | JQuery, options: DevExpress.ui.dxTreeList.Properties, isInPanel?: boolean): DevExpress.ui.dxTreeList;
|
|
10
|
+
export declare function createHeaderCellTemplate(text: any, title: any): JQuery<HTMLElement>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IDataGridSettings } from './DefaultGridBase';
|
|
2
|
-
export default function (el: JQuery, settings: IDataGridSettings, initialLoadUrl?: string): DevExpress.ui.dxDataGrid;
|
|
1
|
+
import { IDataGridSettings } from './DefaultGridBase';
|
|
2
|
+
export default function (el: JQuery, settings: IDataGridSettings, initialLoadUrl?: string): DevExpress.ui.dxDataGrid;
|