iszolea-ui 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +1 -5548
- package/dist/css/index.legacy.css +1 -1056
- package/dist/css/theme.classic.css +1 -4770
- package/dist/css/theme.dark.css +1 -4770
- package/dist/fonts/iconfont16.woff2 +0 -0
- package/dist/fonts/iconfont24.woff2 +0 -0
- package/dist/fonts/iconfont32.woff2 +0 -0
- package/dist/js/index.development.js +12304 -17377
- package/dist/js/index.js +14 -1
- package/dist/types/Business/Licence.d.ts +14 -14
- package/dist/types/Business/MenuItemType.d.ts +8 -8
- 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 +59 -59
- 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 +14 -14
- package/dist/types/Data/DxDataSource.d.ts +7 -7
- package/dist/types/Data/ExceptionType.d.ts +5 -5
- 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 -18
- package/dist/types/Data/RequestState.d.ts +4 -4
- package/dist/types/Data/index.d.ts +19 -19
- 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 +16 -16
- package/dist/types/Header/INavigationMenuItemModel.d.ts +21 -21
- package/dist/types/Header/IUserMenuItem.d.ts +12 -12
- package/dist/types/Header/Logo.d.ts +14 -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 +57 -57
- 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 +5 -5
- package/dist/types/Helpers/Theme.d.ts +13 -13
- package/dist/types/Helpers/Toolbar.d.ts +6 -6
- package/dist/types/Helpers/WindowResizeListener.d.ts +56 -56
- 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/ReportDetailsPopover.d.ts +1 -1
- package/dist/types/Reports/Data/Index.d.ts +13 -13
- package/dist/types/Reports/IReportParams.d.ts +28 -28
- package/dist/types/Reports/Pages/CDM/CDMReportPage.d.ts +35 -35
- package/dist/types/Reports/Pages/CDM/ControlConfigurator.d.ts +51 -51
- package/dist/types/Reports/Pages/CDM/ControlDisplay.d.ts +55 -55
- package/dist/types/Reports/Pages/CDM/ControlDisplayUserSettingsManager.d.ts +48 -48
- package/dist/types/Reports/Pages/CDM/DisplayManager.d.ts +16 -16
- 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 +9 -9
- package/dist/types/Reports/Pages/CDM/GridStateManager.d.ts +16 -16
- 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 +6 -6
- package/dist/types/Reports/Pages/CDM/MultipleEditingDataGridPlugin.d.ts +17 -17
- 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 +3 -3
- package/dist/types/Reports/Pages/Diagram/DiagramPage.d.ts +28 -28
- package/dist/types/Reports/Pages/Diagram/Index.d.ts +3 -3
- 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 +3 -3
- package/dist/types/Reports/Pages/Grid/Mode.d.ts +5 -5
- package/dist/types/Reports/Pages/Report/Index.d.ts +3 -3
- 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/Index.d.ts +3 -3
- package/dist/types/Utils/Memoize.d.ts +1 -1
- package/dist/types/Widgets/AccessDeniedToReport.d.ts +1 -1
- package/dist/types/Widgets/AutoResize.d.ts +1 -1
- package/dist/types/Widgets/Confirm.d.ts +2 -2
- package/dist/types/Widgets/DefaultToolbar.d.ts +6 -6
- 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 +23 -23
- package/dist/types/Widgets/Grid/DefaultGridObsolete.d.ts +2 -2
- package/dist/types/Widgets/Grid/DefaultTreeList.d.ts +2 -2
- package/dist/types/Widgets/IGridState.d.ts +28 -28
- package/dist/types/Widgets/Landing.d.ts +2 -2
- 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 +97 -97
- package/package.json +41 -32
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { ICdmReportParams } from '../../IReportParams';
|
|
2
|
-
export interface ICDMReportPageOptions {
|
|
3
|
-
$container: JQuery;
|
|
4
|
-
reportParams: ICdmReportParams;
|
|
5
|
-
userName: string;
|
|
6
|
-
allowEditing: boolean;
|
|
7
|
-
cdmReportControllerUrl: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class CDMReportPage {
|
|
10
|
-
private readonly SWITCH_TO_DESIGNER_TEXT;
|
|
11
|
-
private readonly SWITCH_TO_VIEWER_TEXT;
|
|
12
|
-
private readonly STORAGE_MODE_KEY;
|
|
13
|
-
private readonly $rootElement;
|
|
14
|
-
private readonly reportParams;
|
|
15
|
-
private readonly controlConfiguratorOptions;
|
|
16
|
-
private readonly displayManagerOptions;
|
|
17
|
-
private readonly controlDisplayOptions;
|
|
18
|
-
private readonly allowEditing;
|
|
19
|
-
private multiView;
|
|
20
|
-
private tabPanel;
|
|
21
|
-
private popover;
|
|
22
|
-
private mode;
|
|
23
|
-
constructor(options: ICDMReportPageOptions);
|
|
24
|
-
render(): void;
|
|
25
|
-
dispose(): void;
|
|
26
|
-
private renderContent;
|
|
27
|
-
private getControlConfiguratorOptions;
|
|
28
|
-
private getDisplayManagerOptions;
|
|
29
|
-
private getControlDisplayOptions;
|
|
30
|
-
private initSwitchModeButton;
|
|
31
|
-
private renderDisplay;
|
|
32
|
-
private renderTabPanel;
|
|
33
|
-
private createTabPanel;
|
|
34
|
-
private getSessionKey;
|
|
35
|
-
}
|
|
1
|
+
import { ICdmReportParams } from '../../IReportParams';
|
|
2
|
+
export interface ICDMReportPageOptions {
|
|
3
|
+
$container: JQuery;
|
|
4
|
+
reportParams: ICdmReportParams;
|
|
5
|
+
userName: string;
|
|
6
|
+
allowEditing: boolean;
|
|
7
|
+
cdmReportControllerUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class CDMReportPage {
|
|
10
|
+
private readonly SWITCH_TO_DESIGNER_TEXT;
|
|
11
|
+
private readonly SWITCH_TO_VIEWER_TEXT;
|
|
12
|
+
private readonly STORAGE_MODE_KEY;
|
|
13
|
+
private readonly $rootElement;
|
|
14
|
+
private readonly reportParams;
|
|
15
|
+
private readonly controlConfiguratorOptions;
|
|
16
|
+
private readonly displayManagerOptions;
|
|
17
|
+
private readonly controlDisplayOptions;
|
|
18
|
+
private readonly allowEditing;
|
|
19
|
+
private multiView;
|
|
20
|
+
private tabPanel;
|
|
21
|
+
private popover;
|
|
22
|
+
private mode;
|
|
23
|
+
constructor(options: ICDMReportPageOptions);
|
|
24
|
+
render(): void;
|
|
25
|
+
dispose(): void;
|
|
26
|
+
private renderContent;
|
|
27
|
+
private getControlConfiguratorOptions;
|
|
28
|
+
private getDisplayManagerOptions;
|
|
29
|
+
private getControlDisplayOptions;
|
|
30
|
+
private initSwitchModeButton;
|
|
31
|
+
private renderDisplay;
|
|
32
|
+
private renderTabPanel;
|
|
33
|
+
private createTabPanel;
|
|
34
|
+
private getSessionKey;
|
|
35
|
+
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
export declare const enum DisplayType {
|
|
2
|
-
Icons = 1,
|
|
3
|
-
PredefinedValues = 2
|
|
4
|
-
}
|
|
5
|
-
export interface IIconsColumnEditorItem {
|
|
6
|
-
value: string;
|
|
7
|
-
title: string;
|
|
8
|
-
image: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IPredefinedValuesEditorItem {
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type IDisplayTypeSettings = IDisplayIconsTypeSettings | IDisplayIPredefinedValuesTypeSettings;
|
|
14
|
-
export interface IDisplayIconsTypeSettings {
|
|
15
|
-
type: DisplayType.Icons;
|
|
16
|
-
data: IIconsColumnEditorItem[];
|
|
17
|
-
}
|
|
18
|
-
export interface IDisplayIPredefinedValuesTypeSettings {
|
|
19
|
-
type: DisplayType.PredefinedValues;
|
|
20
|
-
data: IPredefinedValuesEditorItem[];
|
|
21
|
-
}
|
|
22
|
-
export interface IControlConfiguratorOptions {
|
|
23
|
-
$container: JQuery;
|
|
24
|
-
isStandalonePage: boolean;
|
|
25
|
-
pageTitle: string;
|
|
26
|
-
availableRolesUrl: string;
|
|
27
|
-
groupFieldsUrl: string;
|
|
28
|
-
loadDataUrl: string;
|
|
29
|
-
updateDataUrl: string;
|
|
30
|
-
}
|
|
31
|
-
export declare class ControlConfigurator {
|
|
32
|
-
readonly $container: JQuery;
|
|
33
|
-
private readonly isStandalonePage;
|
|
34
|
-
private readonly pageTitle;
|
|
35
|
-
private readonly availableRolesUrl;
|
|
36
|
-
private readonly groupFieldsUrl;
|
|
37
|
-
private readonly loadDataUrl;
|
|
38
|
-
private readonly updateDataUrl;
|
|
39
|
-
private readonly displayTypes;
|
|
40
|
-
private readonly editors;
|
|
41
|
-
private roles;
|
|
42
|
-
constructor(options: IControlConfiguratorOptions);
|
|
43
|
-
render(): void;
|
|
44
|
-
private getAvailableRoles;
|
|
45
|
-
private getDisplayTypeEditor;
|
|
46
|
-
private createMainGrid;
|
|
47
|
-
private prepareMainGridColumns;
|
|
48
|
-
private createRolesColumns;
|
|
49
|
-
private createRolesPermissionColumn;
|
|
50
|
-
private createMainGridDataSource;
|
|
51
|
-
}
|
|
1
|
+
export declare const enum DisplayType {
|
|
2
|
+
Icons = 1,
|
|
3
|
+
PredefinedValues = 2
|
|
4
|
+
}
|
|
5
|
+
export interface IIconsColumnEditorItem {
|
|
6
|
+
value: string;
|
|
7
|
+
title: string;
|
|
8
|
+
image: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IPredefinedValuesEditorItem {
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type IDisplayTypeSettings = IDisplayIconsTypeSettings | IDisplayIPredefinedValuesTypeSettings;
|
|
14
|
+
export interface IDisplayIconsTypeSettings {
|
|
15
|
+
type: DisplayType.Icons;
|
|
16
|
+
data: IIconsColumnEditorItem[];
|
|
17
|
+
}
|
|
18
|
+
export interface IDisplayIPredefinedValuesTypeSettings {
|
|
19
|
+
type: DisplayType.PredefinedValues;
|
|
20
|
+
data: IPredefinedValuesEditorItem[];
|
|
21
|
+
}
|
|
22
|
+
export interface IControlConfiguratorOptions {
|
|
23
|
+
$container: JQuery;
|
|
24
|
+
isStandalonePage: boolean;
|
|
25
|
+
pageTitle: string;
|
|
26
|
+
availableRolesUrl: string;
|
|
27
|
+
groupFieldsUrl: string;
|
|
28
|
+
loadDataUrl: string;
|
|
29
|
+
updateDataUrl: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class ControlConfigurator {
|
|
32
|
+
readonly $container: JQuery;
|
|
33
|
+
private readonly isStandalonePage;
|
|
34
|
+
private readonly pageTitle;
|
|
35
|
+
private readonly availableRolesUrl;
|
|
36
|
+
private readonly groupFieldsUrl;
|
|
37
|
+
private readonly loadDataUrl;
|
|
38
|
+
private readonly updateDataUrl;
|
|
39
|
+
private readonly displayTypes;
|
|
40
|
+
private readonly editors;
|
|
41
|
+
private roles;
|
|
42
|
+
constructor(options: IControlConfiguratorOptions);
|
|
43
|
+
render(): void;
|
|
44
|
+
private getAvailableRoles;
|
|
45
|
+
private getDisplayTypeEditor;
|
|
46
|
+
private createMainGrid;
|
|
47
|
+
private prepareMainGridColumns;
|
|
48
|
+
private createRolesColumns;
|
|
49
|
+
private createRolesPermissionColumn;
|
|
50
|
+
private createMainGridDataSource;
|
|
51
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { IFileImporterOptions } from './GridDisplaysToolbarComponent';
|
|
2
|
-
import { IGridDisplaysManagerOptions } from './GridDisplaysManager';
|
|
3
|
-
import { IGridViewsManagerOptions } from './GridViewsManager';
|
|
4
|
-
import { IGridFiltersManagerOptions } from './GridFiltersManager';
|
|
5
|
-
import { IRemoteControlDisplayUserSettingsManagerLoadOptions } from './ControlDisplayUserSettingsManager';
|
|
6
|
-
export interface IControlDisplayOptions {
|
|
7
|
-
$container: JQuery;
|
|
8
|
-
isStandalonePage: boolean;
|
|
9
|
-
pageTitle: string;
|
|
10
|
-
exportFileName: string;
|
|
11
|
-
userName: string;
|
|
12
|
-
userConfigUrl: string;
|
|
13
|
-
controlLogsUrl: string;
|
|
14
|
-
loadDataUrl: string;
|
|
15
|
-
updateDataUrl: string;
|
|
16
|
-
gridFiltersManagerOptions: IGridFiltersManagerOptions;
|
|
17
|
-
gridViewsManagerOptions: IGridViewsManagerOptions;
|
|
18
|
-
gridDisplaysManagerOptions: IGridDisplaysManagerOptions;
|
|
19
|
-
remoteControlDisplayUserSettingsManagerLoadOptions: IRemoteControlDisplayUserSettingsManagerLoadOptions;
|
|
20
|
-
importFileOptions?: IFileImporterOptions;
|
|
21
|
-
}
|
|
22
|
-
export declare class ControlDisplay {
|
|
23
|
-
readonly $container: JQuery;
|
|
24
|
-
private readonly isStandalonePage;
|
|
25
|
-
private readonly pageTitle;
|
|
26
|
-
private readonly exportFileName;
|
|
27
|
-
private readonly userName;
|
|
28
|
-
private readonly userConfigUrl;
|
|
29
|
-
private readonly controlLogsUrl;
|
|
30
|
-
private readonly loadDataUrl;
|
|
31
|
-
private readonly updateDataUrl;
|
|
32
|
-
private readonly gridFiltersManagerOptions;
|
|
33
|
-
private readonly gridViewsManagerOptions;
|
|
34
|
-
private readonly gridDisplaysManagerOptions;
|
|
35
|
-
private readonly remoteControlDisplayUserSettingsManagerLoadOptions;
|
|
36
|
-
private readonly importFileOptions;
|
|
37
|
-
private mainGrid;
|
|
38
|
-
private gridViewsToolbarComponent;
|
|
39
|
-
private gridFiltersToolbarComponent;
|
|
40
|
-
private gridDisplaysToolbarComponent;
|
|
41
|
-
private multipleEditingDataGridPlugin;
|
|
42
|
-
constructor(options: IControlDisplayOptions);
|
|
43
|
-
render(): void;
|
|
44
|
-
private hasPermisson;
|
|
45
|
-
private buildTree;
|
|
46
|
-
private renderDisplayType;
|
|
47
|
-
private configureColumn;
|
|
48
|
-
private configureColumns;
|
|
49
|
-
private createMainGrid;
|
|
50
|
-
private createMainGridDataSource;
|
|
51
|
-
private readonly onViewApplied;
|
|
52
|
-
private prepareFilterPanel;
|
|
53
|
-
private initRowsCountSummary;
|
|
54
|
-
private clearFilterRowAfterViewSwitching;
|
|
55
|
-
}
|
|
1
|
+
import { IFileImporterOptions } from './GridDisplaysToolbarComponent';
|
|
2
|
+
import { IGridDisplaysManagerOptions } from './GridDisplaysManager';
|
|
3
|
+
import { IGridViewsManagerOptions } from './GridViewsManager';
|
|
4
|
+
import { IGridFiltersManagerOptions } from './GridFiltersManager';
|
|
5
|
+
import { IRemoteControlDisplayUserSettingsManagerLoadOptions } from './ControlDisplayUserSettingsManager';
|
|
6
|
+
export interface IControlDisplayOptions {
|
|
7
|
+
$container: JQuery;
|
|
8
|
+
isStandalonePage: boolean;
|
|
9
|
+
pageTitle: string;
|
|
10
|
+
exportFileName: string;
|
|
11
|
+
userName: string;
|
|
12
|
+
userConfigUrl: string;
|
|
13
|
+
controlLogsUrl: string;
|
|
14
|
+
loadDataUrl: string;
|
|
15
|
+
updateDataUrl: string;
|
|
16
|
+
gridFiltersManagerOptions: IGridFiltersManagerOptions;
|
|
17
|
+
gridViewsManagerOptions: IGridViewsManagerOptions;
|
|
18
|
+
gridDisplaysManagerOptions: IGridDisplaysManagerOptions;
|
|
19
|
+
remoteControlDisplayUserSettingsManagerLoadOptions: IRemoteControlDisplayUserSettingsManagerLoadOptions;
|
|
20
|
+
importFileOptions?: IFileImporterOptions;
|
|
21
|
+
}
|
|
22
|
+
export declare class ControlDisplay {
|
|
23
|
+
readonly $container: JQuery;
|
|
24
|
+
private readonly isStandalonePage;
|
|
25
|
+
private readonly pageTitle;
|
|
26
|
+
private readonly exportFileName;
|
|
27
|
+
private readonly userName;
|
|
28
|
+
private readonly userConfigUrl;
|
|
29
|
+
private readonly controlLogsUrl;
|
|
30
|
+
private readonly loadDataUrl;
|
|
31
|
+
private readonly updateDataUrl;
|
|
32
|
+
private readonly gridFiltersManagerOptions;
|
|
33
|
+
private readonly gridViewsManagerOptions;
|
|
34
|
+
private readonly gridDisplaysManagerOptions;
|
|
35
|
+
private readonly remoteControlDisplayUserSettingsManagerLoadOptions;
|
|
36
|
+
private readonly importFileOptions;
|
|
37
|
+
private mainGrid;
|
|
38
|
+
private gridViewsToolbarComponent;
|
|
39
|
+
private gridFiltersToolbarComponent;
|
|
40
|
+
private gridDisplaysToolbarComponent;
|
|
41
|
+
private multipleEditingDataGridPlugin;
|
|
42
|
+
constructor(options: IControlDisplayOptions);
|
|
43
|
+
render(): void;
|
|
44
|
+
private hasPermisson;
|
|
45
|
+
private buildTree;
|
|
46
|
+
private renderDisplayType;
|
|
47
|
+
private configureColumn;
|
|
48
|
+
private configureColumns;
|
|
49
|
+
private createMainGrid;
|
|
50
|
+
private createMainGridDataSource;
|
|
51
|
+
private readonly onViewApplied;
|
|
52
|
+
private prepareFilterPanel;
|
|
53
|
+
private initRowsCountSummary;
|
|
54
|
+
private clearFilterRowAfterViewSwitching;
|
|
55
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { Mutable } from '../../../Components/Core';
|
|
2
|
-
export interface IControlDisplayUserSettings {
|
|
3
|
-
readonly defaultFilterId: number | undefined;
|
|
4
|
-
readonly defaultViewId: number;
|
|
5
|
-
}
|
|
6
|
-
export interface IControlDisplayUserSettingsManagerOptions {
|
|
7
|
-
readonly userId: string;
|
|
8
|
-
readonly loadedUserSettings?: IControlDisplayUserSettings;
|
|
9
|
-
}
|
|
10
|
-
interface IControlDisplayUserSettingsManagerDefaultOptions {
|
|
11
|
-
}
|
|
12
|
-
export declare type APSControlDisplayUserSettingsManagerOptions = Mutable<Omit<IControlDisplayUserSettingsManagerOptions, keyof IControlDisplayUserSettingsManagerDefaultOptions>> & Mutable<Partial<IControlDisplayUserSettingsManagerDefaultOptions>>;
|
|
13
|
-
export declare abstract class ControlDisplayUserSettingsManager {
|
|
14
|
-
readonly options: IControlDisplayUserSettingsManagerOptions;
|
|
15
|
-
readonly defaultUserSettings: IControlDisplayUserSettings;
|
|
16
|
-
protected _latestLoadedUserSettings: IControlDisplayUserSettings | undefined;
|
|
17
|
-
private isLatestLoadedUserSettingsExpired;
|
|
18
|
-
private autoResettingCacheTimerId;
|
|
19
|
-
constructor(options: APSControlDisplayUserSettingsManagerOptions);
|
|
20
|
-
get latestLoadedUserSettings(): IControlDisplayUserSettings;
|
|
21
|
-
set latestLoadedUserSettings(value: IControlDisplayUserSettings);
|
|
22
|
-
getUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
23
|
-
updateUserSettings(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
24
|
-
protected abstract loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
25
|
-
protected abstract updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
26
|
-
protected startAutoCacheResettingTimer(): void;
|
|
27
|
-
protected stopAutoCacheResettingTimer(): void;
|
|
28
|
-
}
|
|
29
|
-
export declare class LocalControlDisplayUserSettingsManager extends ControlDisplayUserSettingsManager {
|
|
30
|
-
protected static readonly userSettingsStorageKey = "aps:control-display:user-settings";
|
|
31
|
-
protected loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
32
|
-
protected updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
33
|
-
}
|
|
34
|
-
export interface IRemoteControlDisplayUserSettingsManagerLoadOptions {
|
|
35
|
-
loadDataUrl: string;
|
|
36
|
-
updateDataUrl: string;
|
|
37
|
-
}
|
|
38
|
-
export declare type IRemoteControlDisplayUserSettingsManagerOptions = IControlDisplayUserSettingsManagerOptions & IRemoteControlDisplayUserSettingsManagerLoadOptions;
|
|
39
|
-
export declare class RemoteControlDisplayUserSettingsManager extends ControlDisplayUserSettingsManager {
|
|
40
|
-
private readonly loadDataUrl;
|
|
41
|
-
private readonly updateDataUrl;
|
|
42
|
-
constructor(options: IRemoteControlDisplayUserSettingsManagerOptions);
|
|
43
|
-
protected loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
44
|
-
protected updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
45
|
-
private mapControlDisplayUserSettingsModelToDto;
|
|
46
|
-
private mapControlDisplayUserSettingsDtoToModel;
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
1
|
+
import { Mutable } from '../../../Components/Core';
|
|
2
|
+
export interface IControlDisplayUserSettings {
|
|
3
|
+
readonly defaultFilterId: number | undefined;
|
|
4
|
+
readonly defaultViewId: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IControlDisplayUserSettingsManagerOptions {
|
|
7
|
+
readonly userId: string;
|
|
8
|
+
readonly loadedUserSettings?: IControlDisplayUserSettings;
|
|
9
|
+
}
|
|
10
|
+
interface IControlDisplayUserSettingsManagerDefaultOptions {
|
|
11
|
+
}
|
|
12
|
+
export declare type APSControlDisplayUserSettingsManagerOptions = Mutable<Omit<IControlDisplayUserSettingsManagerOptions, keyof IControlDisplayUserSettingsManagerDefaultOptions>> & Mutable<Partial<IControlDisplayUserSettingsManagerDefaultOptions>>;
|
|
13
|
+
export declare abstract class ControlDisplayUserSettingsManager {
|
|
14
|
+
readonly options: IControlDisplayUserSettingsManagerOptions;
|
|
15
|
+
readonly defaultUserSettings: IControlDisplayUserSettings;
|
|
16
|
+
protected _latestLoadedUserSettings: IControlDisplayUserSettings | undefined;
|
|
17
|
+
private isLatestLoadedUserSettingsExpired;
|
|
18
|
+
private autoResettingCacheTimerId;
|
|
19
|
+
constructor(options: APSControlDisplayUserSettingsManagerOptions);
|
|
20
|
+
get latestLoadedUserSettings(): IControlDisplayUserSettings;
|
|
21
|
+
set latestLoadedUserSettings(value: IControlDisplayUserSettings);
|
|
22
|
+
getUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
23
|
+
updateUserSettings(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
24
|
+
protected abstract loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
25
|
+
protected abstract updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
26
|
+
protected startAutoCacheResettingTimer(): void;
|
|
27
|
+
protected stopAutoCacheResettingTimer(): void;
|
|
28
|
+
}
|
|
29
|
+
export declare class LocalControlDisplayUserSettingsManager extends ControlDisplayUserSettingsManager {
|
|
30
|
+
protected static readonly userSettingsStorageKey = "aps:control-display:user-settings";
|
|
31
|
+
protected loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
32
|
+
protected updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
33
|
+
}
|
|
34
|
+
export interface IRemoteControlDisplayUserSettingsManagerLoadOptions {
|
|
35
|
+
loadDataUrl: string;
|
|
36
|
+
updateDataUrl: string;
|
|
37
|
+
}
|
|
38
|
+
export declare type IRemoteControlDisplayUserSettingsManagerOptions = IControlDisplayUserSettingsManagerOptions & IRemoteControlDisplayUserSettingsManagerLoadOptions;
|
|
39
|
+
export declare class RemoteControlDisplayUserSettingsManager extends ControlDisplayUserSettingsManager {
|
|
40
|
+
private readonly loadDataUrl;
|
|
41
|
+
private readonly updateDataUrl;
|
|
42
|
+
constructor(options: IRemoteControlDisplayUserSettingsManagerOptions);
|
|
43
|
+
protected loadUserSettings(): Promise<IControlDisplayUserSettings>;
|
|
44
|
+
protected updateUserSettingsInternal(updates: Partial<IControlDisplayUserSettings>): Promise<IControlDisplayUserSettings>;
|
|
45
|
+
private mapControlDisplayUserSettingsModelToDto;
|
|
46
|
+
private mapControlDisplayUserSettingsDtoToModel;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface IDisplayManagerOptions {
|
|
2
|
-
$container: JQuery;
|
|
3
|
-
isStandalonePage: boolean;
|
|
4
|
-
pageTitle: string;
|
|
5
|
-
loadDataUrl: string;
|
|
6
|
-
updateDataUrl: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class DisplayManager {
|
|
9
|
-
readonly $container: JQuery;
|
|
10
|
-
private readonly isStandalonePage;
|
|
11
|
-
private readonly pageTitle;
|
|
12
|
-
private readonly loadDataUrl;
|
|
13
|
-
private readonly updateDataUrl;
|
|
14
|
-
constructor(options: IDisplayManagerOptions);
|
|
15
|
-
render(): void;
|
|
16
|
-
}
|
|
1
|
+
export interface IDisplayManagerOptions {
|
|
2
|
+
$container: JQuery;
|
|
3
|
+
isStandalonePage: boolean;
|
|
4
|
+
pageTitle: string;
|
|
5
|
+
loadDataUrl: string;
|
|
6
|
+
updateDataUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class DisplayManager {
|
|
9
|
+
readonly $container: JQuery;
|
|
10
|
+
private readonly isStandalonePage;
|
|
11
|
+
private readonly pageTitle;
|
|
12
|
+
private readonly loadDataUrl;
|
|
13
|
+
private readonly updateDataUrl;
|
|
14
|
+
constructor(options: IDisplayManagerOptions);
|
|
15
|
+
render(): void;
|
|
16
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export interface IGridDisplaysManagerOptions {
|
|
2
|
-
loadDataUrl: string;
|
|
3
|
-
insertDataUrl: string;
|
|
4
|
-
updateDataUrl: string;
|
|
5
|
-
deleteDataUrl: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IControlDisplay {
|
|
8
|
-
readonly Id: number;
|
|
9
|
-
readonly Name: string;
|
|
10
|
-
readonly FilterId: number;
|
|
11
|
-
readonly ViewId: number;
|
|
12
|
-
}
|
|
13
|
-
export declare class GridDisplaysManager {
|
|
14
|
-
private displays;
|
|
15
|
-
private readonly eventHandlers;
|
|
16
|
-
private _currentDisplayId;
|
|
17
|
-
private readonly loadDataUrl;
|
|
18
|
-
private readonly insertDataUrl;
|
|
19
|
-
private readonly updateDataUrl;
|
|
20
|
-
private readonly deleteDataUrl;
|
|
21
|
-
constructor(options: IGridDisplaysManagerOptions);
|
|
22
|
-
loadDisplays(): Promise<IControlDisplay[]>;
|
|
23
|
-
getDisplays(): Promise<IControlDisplay[]>;
|
|
24
|
-
getDisplayById: (id: number) => IControlDisplay;
|
|
25
|
-
createNewDisplay(name: string, filterId: number, viewId: number): Promise<void>;
|
|
26
|
-
deleteDisplay(id: number): Promise<void>;
|
|
27
|
-
updateCurrentDisplay(name: string, filterId: number, viewId: number): Promise<void>;
|
|
28
|
-
updateDisplay(id: number, name: string, filterId: number, viewId: number): Promise<void>;
|
|
29
|
-
private onDisplayChangedPrivate;
|
|
30
|
-
private onDisplaisLoadedPrivate;
|
|
31
|
-
get currentDisplayId(): number;
|
|
32
|
-
set currentDisplayId(id: number);
|
|
33
|
-
get currentDisplay(): IControlDisplay;
|
|
34
|
-
set onDisplayChanged(handler: (display: IControlDisplay) => void);
|
|
35
|
-
set onDisplaisLoaded(handler: (displais: IControlDisplay[]) => void);
|
|
36
|
-
}
|
|
1
|
+
export interface IGridDisplaysManagerOptions {
|
|
2
|
+
loadDataUrl: string;
|
|
3
|
+
insertDataUrl: string;
|
|
4
|
+
updateDataUrl: string;
|
|
5
|
+
deleteDataUrl: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IControlDisplay {
|
|
8
|
+
readonly Id: number;
|
|
9
|
+
readonly Name: string;
|
|
10
|
+
readonly FilterId: number;
|
|
11
|
+
readonly ViewId: number;
|
|
12
|
+
}
|
|
13
|
+
export declare class GridDisplaysManager {
|
|
14
|
+
private displays;
|
|
15
|
+
private readonly eventHandlers;
|
|
16
|
+
private _currentDisplayId;
|
|
17
|
+
private readonly loadDataUrl;
|
|
18
|
+
private readonly insertDataUrl;
|
|
19
|
+
private readonly updateDataUrl;
|
|
20
|
+
private readonly deleteDataUrl;
|
|
21
|
+
constructor(options: IGridDisplaysManagerOptions);
|
|
22
|
+
loadDisplays(): Promise<IControlDisplay[]>;
|
|
23
|
+
getDisplays(): Promise<IControlDisplay[]>;
|
|
24
|
+
getDisplayById: (id: number) => IControlDisplay;
|
|
25
|
+
createNewDisplay(name: string, filterId: number, viewId: number): Promise<void>;
|
|
26
|
+
deleteDisplay(id: number): Promise<void>;
|
|
27
|
+
updateCurrentDisplay(name: string, filterId: number, viewId: number): Promise<void>;
|
|
28
|
+
updateDisplay(id: number, name: string, filterId: number, viewId: number): Promise<void>;
|
|
29
|
+
private onDisplayChangedPrivate;
|
|
30
|
+
private onDisplaisLoadedPrivate;
|
|
31
|
+
get currentDisplayId(): number;
|
|
32
|
+
set currentDisplayId(id: number);
|
|
33
|
+
get currentDisplay(): IControlDisplay;
|
|
34
|
+
set onDisplayChanged(handler: (display: IControlDisplay) => void);
|
|
35
|
+
set onDisplaisLoaded(handler: (displais: IControlDisplay[]) => void);
|
|
36
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { GridDisplaysManager } from './GridDisplaysManager';
|
|
2
|
-
import { GridViewsManager } from './GridViewsManager';
|
|
3
|
-
import { GridFiltersManager } from './GridFiltersManager';
|
|
4
|
-
import { CdmImportFileMode } from '../../Business';
|
|
5
|
-
import { IFileImporterTableInfo } from '../../../Components/FileImporter/Index';
|
|
6
|
-
export interface IFileImporterOptions {
|
|
7
|
-
mode: CdmImportFileMode;
|
|
8
|
-
createTableUrl: string;
|
|
9
|
-
addRowsUrl: string;
|
|
10
|
-
fileUploadUrl: string;
|
|
11
|
-
predefinedTable: IFileImporterTableInfo;
|
|
12
|
-
}
|
|
13
|
-
export interface IGridDisplaysToolbarComponent {
|
|
14
|
-
readonly owner: DevExpress.ui.dxDataGrid;
|
|
15
|
-
readonly editMode: boolean;
|
|
16
|
-
readonly gridDisplaysManager: GridDisplaysManager;
|
|
17
|
-
readonly gridViewsManager: GridViewsManager;
|
|
18
|
-
readonly gridFiltersManager: GridFiltersManager;
|
|
19
|
-
readonly importFileOptions?: IFileImporterOptions;
|
|
20
|
-
}
|
|
21
|
-
export declare class GridDisplaysToolbarComponent {
|
|
22
|
-
readonly options: IGridDisplaysToolbarComponent;
|
|
23
|
-
private readonly gridDisplaysManager;
|
|
24
|
-
private readonly gridViewsManager;
|
|
25
|
-
private readonly gridFiltersManager;
|
|
26
|
-
private readonly importFileOptions;
|
|
27
|
-
private displaysDropdownBox;
|
|
28
|
-
private currentDisplayTitle;
|
|
29
|
-
private saveButton;
|
|
30
|
-
private saveAsButton;
|
|
31
|
-
private dataGrid;
|
|
32
|
-
private fileImporter;
|
|
33
|
-
private _displaysToolbarItem;
|
|
34
|
-
private _importFileToolbarItem;
|
|
35
|
-
constructor(options: IGridDisplaysToolbarComponent);
|
|
36
|
-
private integrateToGrid;
|
|
37
|
-
private readonly onGridToolbarPreparing;
|
|
38
|
-
private createDataGrid;
|
|
39
|
-
private createDisplaysToolbarItem;
|
|
40
|
-
private createImportFileToolbarItem;
|
|
41
|
-
private getPredefinedImportFileMode;
|
|
42
|
-
private createCurrentDisplayTitle;
|
|
43
|
-
private createSaveViewButton;
|
|
44
|
-
private createSaveViewAsButton;
|
|
45
|
-
private createSaveAsDialog;
|
|
46
|
-
private confirmChangesLoss;
|
|
47
|
-
private get displaysToolbarItem();
|
|
48
|
-
private get importFileToolbarItem();
|
|
49
|
-
}
|
|
1
|
+
import { GridDisplaysManager } from './GridDisplaysManager';
|
|
2
|
+
import { GridViewsManager } from './GridViewsManager';
|
|
3
|
+
import { GridFiltersManager } from './GridFiltersManager';
|
|
4
|
+
import { CdmImportFileMode } from '../../Business';
|
|
5
|
+
import { IFileImporterTableInfo } from '../../../Components/FileImporter/Index';
|
|
6
|
+
export interface IFileImporterOptions {
|
|
7
|
+
mode: CdmImportFileMode;
|
|
8
|
+
createTableUrl: string;
|
|
9
|
+
addRowsUrl: string;
|
|
10
|
+
fileUploadUrl: string;
|
|
11
|
+
predefinedTable: IFileImporterTableInfo;
|
|
12
|
+
}
|
|
13
|
+
export interface IGridDisplaysToolbarComponent {
|
|
14
|
+
readonly owner: DevExpress.ui.dxDataGrid;
|
|
15
|
+
readonly editMode: boolean;
|
|
16
|
+
readonly gridDisplaysManager: GridDisplaysManager;
|
|
17
|
+
readonly gridViewsManager: GridViewsManager;
|
|
18
|
+
readonly gridFiltersManager: GridFiltersManager;
|
|
19
|
+
readonly importFileOptions?: IFileImporterOptions;
|
|
20
|
+
}
|
|
21
|
+
export declare class GridDisplaysToolbarComponent {
|
|
22
|
+
readonly options: IGridDisplaysToolbarComponent;
|
|
23
|
+
private readonly gridDisplaysManager;
|
|
24
|
+
private readonly gridViewsManager;
|
|
25
|
+
private readonly gridFiltersManager;
|
|
26
|
+
private readonly importFileOptions;
|
|
27
|
+
private displaysDropdownBox;
|
|
28
|
+
private currentDisplayTitle;
|
|
29
|
+
private saveButton;
|
|
30
|
+
private saveAsButton;
|
|
31
|
+
private dataGrid;
|
|
32
|
+
private fileImporter;
|
|
33
|
+
private _displaysToolbarItem;
|
|
34
|
+
private _importFileToolbarItem;
|
|
35
|
+
constructor(options: IGridDisplaysToolbarComponent);
|
|
36
|
+
private integrateToGrid;
|
|
37
|
+
private readonly onGridToolbarPreparing;
|
|
38
|
+
private createDataGrid;
|
|
39
|
+
private createDisplaysToolbarItem;
|
|
40
|
+
private createImportFileToolbarItem;
|
|
41
|
+
private getPredefinedImportFileMode;
|
|
42
|
+
private createCurrentDisplayTitle;
|
|
43
|
+
private createSaveViewButton;
|
|
44
|
+
private createSaveViewAsButton;
|
|
45
|
+
private createSaveAsDialog;
|
|
46
|
+
private confirmChangesLoss;
|
|
47
|
+
private get displaysToolbarItem();
|
|
48
|
+
private get importFileToolbarItem();
|
|
49
|
+
}
|