iszolea-ui 1.2.85 → 1.2.86-pbi-26875.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +37 -15
- package/dist/js/index.development.js +0 -19930
|
@@ -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
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export interface IControlDisplayFilter {
|
|
2
|
-
readonly id: number;
|
|
3
|
-
readonly name: string;
|
|
4
|
-
readonly isDefault: boolean;
|
|
5
|
-
readonly isGlobal: boolean;
|
|
6
|
-
readonly filterState: any
|
|
7
|
-
}
|
|
8
|
-
export interface IGridFiltersManagerOptions {
|
|
9
|
-
loadDataUrl: string;
|
|
10
|
-
updateDataUrl: string;
|
|
11
|
-
insertDataUrl: string;
|
|
12
|
-
deleteDataUrl: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export declare class GridFiltersManager {
|
|
16
|
-
private readonly loadDataUrl;
|
|
17
|
-
private readonly insertDataUrl;
|
|
18
|
-
private readonly updateDataUrl;
|
|
19
|
-
private readonly deleteDataUrl;
|
|
20
|
-
private _currentFilterId;
|
|
21
|
-
private filters;
|
|
22
|
-
private readonly getFilterByIdInternal;
|
|
23
|
-
private getFilterById;
|
|
24
|
-
constructor(options: IGridFiltersManagerOptions);
|
|
25
|
-
get currentFilter(): IControlDisplayFilter;
|
|
26
|
-
get currentFilterId(): number | undefined;
|
|
27
|
-
set currentFilterId(id: number | undefined);
|
|
28
|
-
getFilters(): Promise<IControlDisplayFilter[]>;
|
|
29
|
-
updateCurrentFilter(filterUpdates: ControlDisplayFilterUpdates): Promise<boolean>;
|
|
30
|
-
createNewFilter(filterName: string, filterState: any, isDefault: boolean, isGlobal: boolean): Promise<IControlDisplayFilter>;
|
|
31
|
-
updateFilter(filterId: number, updates: ControlDisplayFilterUpdates): Promise<boolean>;
|
|
32
|
-
deleteFilter(filterId: number): Promise<boolean>;
|
|
33
|
-
private loadFilters;
|
|
34
|
-
private mapFilterModelToDto;
|
|
35
|
-
private mapFilterDtoToModel;
|
|
36
|
-
private resetCachedResultOfGetFilterByIdFunction;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
1
|
+
export interface IControlDisplayFilter {
|
|
2
|
+
readonly id: number;
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly isDefault: boolean;
|
|
5
|
+
readonly isGlobal: boolean;
|
|
6
|
+
readonly filterState: any;
|
|
7
|
+
}
|
|
8
|
+
export interface IGridFiltersManagerOptions {
|
|
9
|
+
loadDataUrl: string;
|
|
10
|
+
updateDataUrl: string;
|
|
11
|
+
insertDataUrl: string;
|
|
12
|
+
deleteDataUrl: string;
|
|
13
|
+
}
|
|
14
|
+
type ControlDisplayFilterUpdates = Partial<Pick<IControlDisplayFilter, 'name' | 'filterState' | 'isGlobal'>>;
|
|
15
|
+
export declare class GridFiltersManager {
|
|
16
|
+
private readonly loadDataUrl;
|
|
17
|
+
private readonly insertDataUrl;
|
|
18
|
+
private readonly updateDataUrl;
|
|
19
|
+
private readonly deleteDataUrl;
|
|
20
|
+
private _currentFilterId;
|
|
21
|
+
private filters;
|
|
22
|
+
private readonly getFilterByIdInternal;
|
|
23
|
+
private getFilterById;
|
|
24
|
+
constructor(options: IGridFiltersManagerOptions);
|
|
25
|
+
get currentFilter(): IControlDisplayFilter;
|
|
26
|
+
get currentFilterId(): number | undefined;
|
|
27
|
+
set currentFilterId(id: number | undefined);
|
|
28
|
+
getFilters(): Promise<IControlDisplayFilter[]>;
|
|
29
|
+
updateCurrentFilter(filterUpdates: ControlDisplayFilterUpdates): Promise<boolean>;
|
|
30
|
+
createNewFilter(filterName: string, filterState: any, isDefault: boolean, isGlobal: boolean): Promise<IControlDisplayFilter>;
|
|
31
|
+
updateFilter(filterId: number, updates: ControlDisplayFilterUpdates): Promise<boolean>;
|
|
32
|
+
deleteFilter(filterId: number): Promise<boolean>;
|
|
33
|
+
private loadFilters;
|
|
34
|
+
private mapFilterModelToDto;
|
|
35
|
+
private mapFilterDtoToModel;
|
|
36
|
+
private resetCachedResultOfGetFilterByIdFunction;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { GridFiltersManager, IGridFiltersManagerOptions } from './GridFiltersManager';
|
|
2
|
-
import { ControlDisplayUserSettingsManager } from './ControlDisplayUserSettingsManager';
|
|
3
|
-
export interface IGridFiltersToolbarComponentOptions {
|
|
4
|
-
readonly owner: DevExpress.ui.dxDataGrid;
|
|
5
|
-
readonly gridFiltersManager: GridFiltersManager;
|
|
6
|
-
readonly apsControlDisplayUserSettingsManager: ControlDisplayUserSettingsManager;
|
|
7
|
-
readonly autoIntegration: boolean;
|
|
8
|
-
readonly onFilterApplied?: (filterId: number | undefined) => void;
|
|
9
|
-
readonly onFilterDeleted?: (filterId: number | undefined) => void;
|
|
10
|
-
readonly canCreateGlobalFilters: boolean;
|
|
11
|
-
readonly visible: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface IGridFiltersToolbarComponentDefaultOptions {
|
|
14
|
-
readonly gridFiltersManager: GridFiltersManager;
|
|
15
|
-
readonly gridFiltersManagerOptions: IGridFiltersManagerOptions;
|
|
16
|
-
readonly autoIntegration: boolean;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
-readonly [P in keyof T]: T[P];
|
|
20
|
-
};
|
|
21
|
-
export
|
|
22
|
-
export declare class GridFiltersToolbarComponent {
|
|
23
|
-
readonly options: IGridFiltersToolbarComponentOptions;
|
|
24
|
-
private _filtersToolbarItem;
|
|
25
|
-
private filtersDropdownBox;
|
|
26
|
-
private filtersDataGrid;
|
|
27
|
-
private currentFilterTitle;
|
|
28
|
-
private newFilterButton;
|
|
29
|
-
private _filterPopup;
|
|
30
|
-
private filterNameTextBox;
|
|
31
|
-
private filterBuilder;
|
|
32
|
-
private readonly filterExpressionCalculator;
|
|
33
|
-
private filterIsGlobalCheckbox;
|
|
34
|
-
private isInFilterApplying;
|
|
35
|
-
constructor(options: GridFiltersToolbarComponentOptions);
|
|
36
|
-
tryApplyFilter(filterId: number | undefined): Promise<boolean>;
|
|
37
|
-
applyFilter(filterId: number | undefined, deferredLoading?: boolean): Promise<void>;
|
|
38
|
-
private integrateToGrid;
|
|
39
|
-
private readonly onGridToolbarPreparing;
|
|
40
|
-
private get filtersToolbarItem();
|
|
41
|
-
private get filterPopup();
|
|
42
|
-
private get hasChanges();
|
|
43
|
-
private createFiltersToolbarItem;
|
|
44
|
-
private createFiltersDataGrid;
|
|
45
|
-
private createCurrentFilterTitle;
|
|
46
|
-
private createNewFilterButton;
|
|
47
|
-
private createFilterPopup;
|
|
48
|
-
private createFilterNameTextBox;
|
|
49
|
-
private createFilterIsGlobalCheckbox;
|
|
50
|
-
private getFlatColumnsList;
|
|
51
|
-
private createFilterBuilder;
|
|
52
|
-
private createFilterPopupContent;
|
|
53
|
-
private createFilterPopupToolbarItems;
|
|
54
|
-
private createSaveFilterPopupToolbarItem;
|
|
55
|
-
private createUpdateFilterPopupToolbarItem;
|
|
56
|
-
private createSaveFilterAsNewPopupToolbarItem;
|
|
57
|
-
private createResetFilterPopupToolbarItem;
|
|
58
|
-
private createDeleteFilterPopupToolbarItem;
|
|
59
|
-
private openNewFilterPopup;
|
|
60
|
-
private openEditFilterPopup;
|
|
61
|
-
private updateFilterPopupContent;
|
|
62
|
-
private createNewFilter;
|
|
63
|
-
private updateFilter;
|
|
64
|
-
private deleteFilter;
|
|
65
|
-
private resetChanges;
|
|
66
|
-
private loadFilterDropdownBoxData;
|
|
67
|
-
private confirmChangesLoss;
|
|
68
|
-
}
|
|
69
|
-
export {};
|
|
1
|
+
import { GridFiltersManager, IGridFiltersManagerOptions } from './GridFiltersManager';
|
|
2
|
+
import { ControlDisplayUserSettingsManager } from './ControlDisplayUserSettingsManager';
|
|
3
|
+
export interface IGridFiltersToolbarComponentOptions {
|
|
4
|
+
readonly owner: DevExpress.ui.dxDataGrid;
|
|
5
|
+
readonly gridFiltersManager: GridFiltersManager;
|
|
6
|
+
readonly apsControlDisplayUserSettingsManager: ControlDisplayUserSettingsManager;
|
|
7
|
+
readonly autoIntegration: boolean;
|
|
8
|
+
readonly onFilterApplied?: (filterId: number | undefined) => void;
|
|
9
|
+
readonly onFilterDeleted?: (filterId: number | undefined) => void;
|
|
10
|
+
readonly canCreateGlobalFilters: boolean;
|
|
11
|
+
readonly visible: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface IGridFiltersToolbarComponentDefaultOptions {
|
|
14
|
+
readonly gridFiltersManager: GridFiltersManager;
|
|
15
|
+
readonly gridFiltersManagerOptions: IGridFiltersManagerOptions;
|
|
16
|
+
readonly autoIntegration: boolean;
|
|
17
|
+
}
|
|
18
|
+
type Mutable<T> = {
|
|
19
|
+
-readonly [P in keyof T]: T[P];
|
|
20
|
+
};
|
|
21
|
+
export type GridFiltersToolbarComponentOptions = Mutable<Omit<IGridFiltersToolbarComponentOptions, keyof IGridFiltersToolbarComponentDefaultOptions>> & Mutable<Partial<IGridFiltersToolbarComponentDefaultOptions>>;
|
|
22
|
+
export declare class GridFiltersToolbarComponent {
|
|
23
|
+
readonly options: IGridFiltersToolbarComponentOptions;
|
|
24
|
+
private _filtersToolbarItem;
|
|
25
|
+
private filtersDropdownBox;
|
|
26
|
+
private filtersDataGrid;
|
|
27
|
+
private currentFilterTitle;
|
|
28
|
+
private newFilterButton;
|
|
29
|
+
private _filterPopup;
|
|
30
|
+
private filterNameTextBox;
|
|
31
|
+
private filterBuilder;
|
|
32
|
+
private readonly filterExpressionCalculator;
|
|
33
|
+
private filterIsGlobalCheckbox;
|
|
34
|
+
private isInFilterApplying;
|
|
35
|
+
constructor(options: GridFiltersToolbarComponentOptions);
|
|
36
|
+
tryApplyFilter(filterId: number | undefined): Promise<boolean>;
|
|
37
|
+
applyFilter(filterId: number | undefined, deferredLoading?: boolean): Promise<void>;
|
|
38
|
+
private integrateToGrid;
|
|
39
|
+
private readonly onGridToolbarPreparing;
|
|
40
|
+
private get filtersToolbarItem();
|
|
41
|
+
private get filterPopup();
|
|
42
|
+
private get hasChanges();
|
|
43
|
+
private createFiltersToolbarItem;
|
|
44
|
+
private createFiltersDataGrid;
|
|
45
|
+
private createCurrentFilterTitle;
|
|
46
|
+
private createNewFilterButton;
|
|
47
|
+
private createFilterPopup;
|
|
48
|
+
private createFilterNameTextBox;
|
|
49
|
+
private createFilterIsGlobalCheckbox;
|
|
50
|
+
private getFlatColumnsList;
|
|
51
|
+
private createFilterBuilder;
|
|
52
|
+
private createFilterPopupContent;
|
|
53
|
+
private createFilterPopupToolbarItems;
|
|
54
|
+
private createSaveFilterPopupToolbarItem;
|
|
55
|
+
private createUpdateFilterPopupToolbarItem;
|
|
56
|
+
private createSaveFilterAsNewPopupToolbarItem;
|
|
57
|
+
private createResetFilterPopupToolbarItem;
|
|
58
|
+
private createDeleteFilterPopupToolbarItem;
|
|
59
|
+
private openNewFilterPopup;
|
|
60
|
+
private openEditFilterPopup;
|
|
61
|
+
private updateFilterPopupContent;
|
|
62
|
+
private createNewFilter;
|
|
63
|
+
private updateFilter;
|
|
64
|
+
private deleteFilter;
|
|
65
|
+
private resetChanges;
|
|
66
|
+
private loadFilterDropdownBoxData;
|
|
67
|
+
private confirmChangesLoss;
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ImagePreviewSize } from './ControlDisplay';
|
|
2
|
-
export interface IGridState {
|
|
3
|
-
readonly allowedPageSizes: readonly number[];
|
|
4
|
-
readonly columns: ReadonlyArray<Pick<DevExpress.ui.dxDataGrid.Column, 'dataField' | 'dataType' | 'filterType' | 'filterValue' | 'filterValues' | 'fixed' | 'fixedPosition' | 'groupIndex' | 'name' | 'selectedFilterOperation' | 'sortOrder' | 'visible' | 'visibleIndex' | 'width'>>;
|
|
5
|
-
readonly filterPanel: DevExpress.ui.dxDataGridOptions['filterPanel']['filterEnabled'];
|
|
6
|
-
readonly filterValue: DevExpress.ui.dxDataGridOptions['filterValue'];
|
|
7
|
-
readonly pageIndex: number;
|
|
8
|
-
readonly pageNumber: number;
|
|
9
|
-
readonly searchText: DevExpress.ui.dxDataGridOptions['searchPanel']['text'];
|
|
10
|
-
imagePreviewSizeMap: {
|
|
11
|
-
[key: string]: ImagePreviewSize;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
1
|
+
import { ImagePreviewSize } from './ControlDisplay';
|
|
2
|
+
export interface IGridState {
|
|
3
|
+
readonly allowedPageSizes: readonly number[];
|
|
4
|
+
readonly columns: ReadonlyArray<Pick<DevExpress.ui.dxDataGrid.Column, 'dataField' | 'dataType' | 'filterType' | 'filterValue' | 'filterValues' | 'fixed' | 'fixedPosition' | 'groupIndex' | 'name' | 'selectedFilterOperation' | 'sortOrder' | 'visible' | 'visibleIndex' | 'width'>>;
|
|
5
|
+
readonly filterPanel: DevExpress.ui.dxDataGridOptions['filterPanel']['filterEnabled'];
|
|
6
|
+
readonly filterValue: DevExpress.ui.dxDataGridOptions['filterValue'];
|
|
7
|
+
readonly pageIndex: number;
|
|
8
|
+
readonly pageNumber: number;
|
|
9
|
+
readonly searchText: DevExpress.ui.dxDataGridOptions['searchPanel']['text'];
|
|
10
|
+
imagePreviewSizeMap: {
|
|
11
|
+
[key: string]: ImagePreviewSize;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IGridState } from './GridState';
|
|
2
|
-
import { ImagePreviewSize } from './ControlDisplay';
|
|
3
|
-
export interface IOneTimeGridStateManagerOptions {
|
|
4
|
-
readonly owner: DevExpress.ui.dxDataGrid;
|
|
5
|
-
readonly initialState: IGridState | null;
|
|
6
|
-
}
|
|
7
|
-
export declare class OneTimeGridStateManager {
|
|
8
|
-
currentSavedGridState: IGridState;
|
|
9
|
-
private readonly options;
|
|
10
|
-
private imagePreviewSizeMap;
|
|
11
|
-
constructor(options: IOneTimeGridStateManagerOptions);
|
|
12
|
-
private prepareUnsavedGridState;
|
|
13
|
-
get hasChanges(): boolean;
|
|
14
|
-
get currentUnsavedGridState(): IGridState;
|
|
15
|
-
apply(gridState: IGridState | null, resetFilter?: boolean): Promise<void>;
|
|
16
|
-
save(): void;
|
|
17
|
-
reset(): void;
|
|
18
|
-
setFieldPreviewSize(field: string, size: ImagePreviewSize): void;
|
|
19
|
-
getFieldPreviewSize(field: string): ImagePreviewSize;
|
|
20
|
-
}
|
|
1
|
+
import { IGridState } from './GridState';
|
|
2
|
+
import { ImagePreviewSize } from './ControlDisplay';
|
|
3
|
+
export interface IOneTimeGridStateManagerOptions {
|
|
4
|
+
readonly owner: DevExpress.ui.dxDataGrid;
|
|
5
|
+
readonly initialState: IGridState | null;
|
|
6
|
+
}
|
|
7
|
+
export declare class OneTimeGridStateManager {
|
|
8
|
+
currentSavedGridState: IGridState;
|
|
9
|
+
private readonly options;
|
|
10
|
+
private imagePreviewSizeMap;
|
|
11
|
+
constructor(options: IOneTimeGridStateManagerOptions);
|
|
12
|
+
private prepareUnsavedGridState;
|
|
13
|
+
get hasChanges(): boolean;
|
|
14
|
+
get currentUnsavedGridState(): IGridState;
|
|
15
|
+
apply(gridState: IGridState | null, resetFilter?: boolean): Promise<void>;
|
|
16
|
+
save(): void;
|
|
17
|
+
reset(): void;
|
|
18
|
+
setFieldPreviewSize(field: string, size: ImagePreviewSize): void;
|
|
19
|
+
getFieldPreviewSize(field: string): ImagePreviewSize;
|
|
20
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function getSummaryColumn(columns: Array<{
|
|
2
|
-
visibleIndex: number;
|
|
3
|
-
visible: boolean;
|
|
4
|
-
dataField: string;
|
|
5
|
-
}> | ReadonlyArray<Pick<DevExpress.ui.dxDataGridColumn, 'visibleIndex' | 'visible' | 'dataField'>>): string;
|
|
1
|
+
export declare function getSummaryColumn(columns: Array<{
|
|
2
|
+
visibleIndex: number;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
dataField: string;
|
|
5
|
+
}> | ReadonlyArray<Pick<DevExpress.ui.dxDataGridColumn, 'visibleIndex' | 'visible' | 'dataField'>>): string;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { IGridState } from './GridState';
|
|
2
|
-
export interface IControlDisplayView {
|
|
3
|
-
readonly id: number;
|
|
4
|
-
readonly name: string;
|
|
5
|
-
readonly gridState: IGridState | null;
|
|
6
|
-
isGlobal: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface IGridViewsManagerOptions {
|
|
9
|
-
loadDataUrl: string;
|
|
10
|
-
insertDataUrl: string;
|
|
11
|
-
updateDataUrl: string;
|
|
12
|
-
deleteDataUrl: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export declare class GridViewsManager {
|
|
16
|
-
static readonly defaultControlDisplayView: IControlDisplayView;
|
|
17
|
-
private static readonly defaultViews;
|
|
18
|
-
private _currentViewId;
|
|
19
|
-
private views;
|
|
20
|
-
private readonly loadDataUrl;
|
|
21
|
-
private readonly insertDataUrl;
|
|
22
|
-
private readonly updateDataUrl;
|
|
23
|
-
private readonly deleteDataUrl;
|
|
24
|
-
private readonly getViewByIdInternal;
|
|
25
|
-
private getViewById;
|
|
26
|
-
constructor(options: IGridViewsManagerOptions);
|
|
27
|
-
get currentView(): IControlDisplayView;
|
|
28
|
-
get currentViewId(): number;
|
|
29
|
-
set currentViewId(id: number);
|
|
30
|
-
getViews(): Promise<IControlDisplayView[]>;
|
|
31
|
-
updateCurrentView(viewUpdates: ControlDisplayViewUpdates): Promise<boolean>;
|
|
32
|
-
createNewView(viewName: string, gridState: IGridState, isGlobal: any): Promise<IControlDisplayView>;
|
|
33
|
-
updateView(viewId: number, updates: ControlDisplayViewUpdates): Promise<boolean>;
|
|
34
|
-
deleteView(viewId: number): Promise<boolean>;
|
|
35
|
-
private loadViews;
|
|
36
|
-
private mapViewModelToDto;
|
|
37
|
-
private mapViewDtoToModel;
|
|
38
|
-
private resetCachedResultOfGetViewByIdFunction;
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
1
|
+
import { IGridState } from './GridState';
|
|
2
|
+
export interface IControlDisplayView {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly gridState: IGridState | null;
|
|
6
|
+
isGlobal: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IGridViewsManagerOptions {
|
|
9
|
+
loadDataUrl: string;
|
|
10
|
+
insertDataUrl: string;
|
|
11
|
+
updateDataUrl: string;
|
|
12
|
+
deleteDataUrl: string;
|
|
13
|
+
}
|
|
14
|
+
type ControlDisplayViewUpdates = Partial<Pick<IControlDisplayView, 'name' | 'gridState' | 'isGlobal'>>;
|
|
15
|
+
export declare class GridViewsManager {
|
|
16
|
+
static readonly defaultControlDisplayView: IControlDisplayView;
|
|
17
|
+
private static readonly defaultViews;
|
|
18
|
+
private _currentViewId;
|
|
19
|
+
private views;
|
|
20
|
+
private readonly loadDataUrl;
|
|
21
|
+
private readonly insertDataUrl;
|
|
22
|
+
private readonly updateDataUrl;
|
|
23
|
+
private readonly deleteDataUrl;
|
|
24
|
+
private readonly getViewByIdInternal;
|
|
25
|
+
private getViewById;
|
|
26
|
+
constructor(options: IGridViewsManagerOptions);
|
|
27
|
+
get currentView(): IControlDisplayView;
|
|
28
|
+
get currentViewId(): number;
|
|
29
|
+
set currentViewId(id: number);
|
|
30
|
+
getViews(): Promise<IControlDisplayView[]>;
|
|
31
|
+
updateCurrentView(viewUpdates: ControlDisplayViewUpdates): Promise<boolean>;
|
|
32
|
+
createNewView(viewName: string, gridState: IGridState, isGlobal: any): Promise<IControlDisplayView>;
|
|
33
|
+
updateView(viewId: number, updates: ControlDisplayViewUpdates): Promise<boolean>;
|
|
34
|
+
deleteView(viewId: number): Promise<boolean>;
|
|
35
|
+
private loadViews;
|
|
36
|
+
private mapViewModelToDto;
|
|
37
|
+
private mapViewDtoToModel;
|
|
38
|
+
private resetCachedResultOfGetViewByIdFunction;
|
|
39
|
+
}
|
|
40
|
+
export {};
|