iszolea-ui 1.2.84 → 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 +28 -28
- 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 -96
- 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 -19926
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IHierarchical } from './IHierarchical';
|
|
2
|
-
export interface IReportBase extends IHierarchical {
|
|
3
|
-
Type: number;
|
|
4
|
-
Name: string;
|
|
5
|
-
Description: string;
|
|
6
|
-
Id: number;
|
|
7
|
-
}
|
|
1
|
+
import { IHierarchical } from './IHierarchical';
|
|
2
|
+
export interface IReportBase extends IHierarchical {
|
|
3
|
+
Type: number;
|
|
4
|
+
Name: string;
|
|
5
|
+
Description: string;
|
|
6
|
+
Id: number;
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum CdmImportFileMode {
|
|
2
|
-
None = 0,
|
|
3
|
-
AddNewRows = 1,
|
|
4
|
-
ReplaceAllRows = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum CdmImportFileMode {
|
|
2
|
+
None = 0,
|
|
3
|
+
AddNewRows = 1,
|
|
4
|
+
ReplaceAllRows = 2
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './IHierarchical';
|
|
2
|
-
export * from './IReportBase';
|
|
3
|
-
export * from './IAppMenuItemBaseModel';
|
|
4
|
-
import gridColumnTypes from './GridColumnTypes';
|
|
5
|
-
export { CdmImportFileMode } from './cdmImportFileMode';
|
|
6
|
-
export { gridColumnTypes, };
|
|
1
|
+
export * from './IHierarchical';
|
|
2
|
+
export * from './IReportBase';
|
|
3
|
+
export * from './IAppMenuItemBaseModel';
|
|
4
|
+
import gridColumnTypes from './GridColumnTypes';
|
|
5
|
+
export { CdmImportFileMode } from './cdmImportFileMode';
|
|
6
|
+
export { gridColumnTypes, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IColumnMetaData {
|
|
2
|
-
Name: string;
|
|
3
|
-
Type: string;
|
|
4
|
-
}
|
|
1
|
+
export interface IColumnMetaData {
|
|
2
|
+
Name: string;
|
|
3
|
+
Type: string;
|
|
4
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface IRefreshEntry {
|
|
2
|
-
timeout: number;
|
|
3
|
-
text: string;
|
|
4
|
-
refreshTemplate: string;
|
|
5
|
-
isDefault?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export default class RefreshButton {
|
|
8
|
-
private readonly dropDownButton;
|
|
9
|
-
private readonly contextMenu;
|
|
10
|
-
private readonly refreshComponent;
|
|
11
|
-
private menuIsOpened;
|
|
12
|
-
private selectedEntry;
|
|
13
|
-
constructor($target: JQuery, callback: () => void, refreshEntries?: IRefreshEntry[] | null);
|
|
14
|
-
refresh(): void;
|
|
15
|
-
private elapsedCallback;
|
|
16
|
-
}
|
|
1
|
+
export interface IRefreshEntry {
|
|
2
|
+
timeout: number;
|
|
3
|
+
text: string;
|
|
4
|
+
refreshTemplate: string;
|
|
5
|
+
isDefault?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export default class RefreshButton {
|
|
8
|
+
private readonly dropDownButton;
|
|
9
|
+
private readonly contextMenu;
|
|
10
|
+
private readonly refreshComponent;
|
|
11
|
+
private menuIsOpened;
|
|
12
|
+
private selectedEntry;
|
|
13
|
+
constructor($target: JQuery, callback: () => void, refreshEntries?: IRefreshEntry[] | null);
|
|
14
|
+
refresh(): void;
|
|
15
|
+
private elapsedCallback;
|
|
16
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface IRefreshOptions {
|
|
2
|
-
callback: () => void;
|
|
3
|
-
elapsedCallback: (time: number) => void;
|
|
4
|
-
}
|
|
5
|
-
export default class RefreshTimer {
|
|
6
|
-
private readonly callback;
|
|
7
|
-
private readonly elapsedCallback;
|
|
8
|
-
private activeTimerId;
|
|
9
|
-
private currentInterval;
|
|
10
|
-
private lastStateChecked;
|
|
11
|
-
constructor(options: IRefreshOptions);
|
|
12
|
-
start(interval: number): void;
|
|
13
|
-
triggerChange(): void;
|
|
14
|
-
dispose(): void;
|
|
15
|
-
private tickTimerFunction;
|
|
16
|
-
}
|
|
1
|
+
export interface IRefreshOptions {
|
|
2
|
+
callback: () => void;
|
|
3
|
+
elapsedCallback: (time: number) => void;
|
|
4
|
+
}
|
|
5
|
+
export default class RefreshTimer {
|
|
6
|
+
private readonly callback;
|
|
7
|
+
private readonly elapsedCallback;
|
|
8
|
+
private activeTimerId;
|
|
9
|
+
private currentInterval;
|
|
10
|
+
private lastStateChecked;
|
|
11
|
+
constructor(options: IRefreshOptions);
|
|
12
|
+
start(interval: number): void;
|
|
13
|
+
triggerChange(): void;
|
|
14
|
+
dispose(): void;
|
|
15
|
+
private tickTimerFunction;
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function initPopover(link: string, details: string): DevExpress.ui.dxPopover;
|
|
1
|
+
export declare function initPopover(link: string, details: string): DevExpress.ui.dxPopover;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const createGridDataLayer: (gridReportControllerUrl: string) => IGridDataLayer;
|
|
1
|
+
import GridMode from '../Pages/Grid/Mode';
|
|
2
|
+
import { IReportParams } from '../IReportParams';
|
|
3
|
+
import { IGridState } from '../../Widgets/IGridState';
|
|
4
|
+
import { IColumnMetaData } from '../ColumnMetaData';
|
|
5
|
+
export interface IGridDataLayer {
|
|
6
|
+
getColumnsByReportId(reportId: number): JQueryDeferred<IColumnMetaData[]>;
|
|
7
|
+
getGridDataSource(reportParams: IReportParams, gridMode: GridMode, showAllDataInEdit: boolean): DevExpress.data.CustomStore<any, any>;
|
|
8
|
+
resetSettings(reportId: number): JQueryDeferred<IGridState>;
|
|
9
|
+
updateGridViewSettings(reportId: number, state: IGridState): JQueryDeferred<any>;
|
|
10
|
+
getGridViewSettings(reportId: number): JQueryDeferred<IGridState>;
|
|
11
|
+
}
|
|
12
|
+
export declare const createGridDataLayer: (gridReportControllerUrl: string) => IGridDataLayer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IReportComponent {
|
|
2
|
-
init(): void;
|
|
3
|
-
dispose(): void;
|
|
4
|
-
refresh(): void;
|
|
5
|
-
}
|
|
1
|
+
export interface IReportComponent {
|
|
2
|
+
init(): void;
|
|
3
|
+
dispose(): void;
|
|
4
|
+
refresh(): void;
|
|
5
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { IFileImporterTableInfo } from '../Components/FileImporter/Index';
|
|
2
|
-
import { CdmImportFileMode } from './Business';
|
|
3
|
-
export interface IReportParams {
|
|
4
|
-
ReportId: number;
|
|
5
|
-
AppName: string;
|
|
6
|
-
Details: string;
|
|
7
|
-
Name: string;
|
|
8
|
-
Token?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IGridReportParams extends IReportParams {
|
|
11
|
-
TotalSummaryColumn: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ICdmReportParams extends IReportParams {
|
|
14
|
-
ImportFileMode: CdmImportFileMode;
|
|
15
|
-
FileImporterTableInfo: IFileImporterTableInfo;
|
|
16
|
-
AllowImporting: boolean;
|
|
17
|
-
DisableGlobalSearch: boolean;
|
|
18
|
-
EnableInlineEditing: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare enum Mode {
|
|
21
|
-
Viewer = "Viewer",
|
|
22
|
-
Designer = "Designer"
|
|
23
|
-
}
|
|
24
|
-
export interface IDashboardPermissions {
|
|
25
|
-
AllowEditing: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface IDashboardUrls {
|
|
28
|
-
EndPoint: string;
|
|
29
|
-
PreviewUrl: string;
|
|
30
|
-
}
|
|
1
|
+
import { IFileImporterTableInfo } from '../Components/FileImporter/Index';
|
|
2
|
+
import { CdmImportFileMode } from './Business';
|
|
3
|
+
export interface IReportParams {
|
|
4
|
+
ReportId: number;
|
|
5
|
+
AppName: string;
|
|
6
|
+
Details: string;
|
|
7
|
+
Name: string;
|
|
8
|
+
Token?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IGridReportParams extends IReportParams {
|
|
11
|
+
TotalSummaryColumn: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ICdmReportParams extends IReportParams {
|
|
14
|
+
ImportFileMode: CdmImportFileMode;
|
|
15
|
+
FileImporterTableInfo: IFileImporterTableInfo;
|
|
16
|
+
AllowImporting: boolean;
|
|
17
|
+
DisableGlobalSearch: boolean;
|
|
18
|
+
EnableInlineEditing: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare enum Mode {
|
|
21
|
+
Viewer = "Viewer",
|
|
22
|
+
Designer = "Designer"
|
|
23
|
+
}
|
|
24
|
+
export interface IDashboardPermissions {
|
|
25
|
+
AllowEditing: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface IDashboardUrls {
|
|
28
|
+
EndPoint: string;
|
|
29
|
+
PreviewUrl: string;
|
|
30
|
+
}
|
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
import { IReferencedValueEditorData } from './Editors/ReferencedValueColumnEditor';
|
|
2
|
-
export declare const enum DisplayType {
|
|
3
|
-
Icons = 1,
|
|
4
|
-
PredefinedValues = 2,
|
|
5
|
-
RabbitAction = 3,
|
|
6
|
-
Link = 4,
|
|
7
|
-
Money = 5,
|
|
8
|
-
PDF = 6,
|
|
9
|
-
Image = 7,
|
|
10
|
-
ReferencedValue = 8,
|
|
11
|
-
String = 10001,
|
|
12
|
-
Number = 10002,
|
|
13
|
-
Decimal = 10003,
|
|
14
|
-
Boolean = 10004,
|
|
15
|
-
Datetime = 10005,
|
|
16
|
-
Date = 10006
|
|
17
|
-
}
|
|
18
|
-
export declare const enum SystemFields {
|
|
19
|
-
CreatedAt = 1,
|
|
20
|
-
CreatedBy = 2,
|
|
21
|
-
LastUpdateAt = 3,
|
|
22
|
-
LastUpdateBy = 4
|
|
23
|
-
}
|
|
24
|
-
export interface IIconsColumnEditorItem {
|
|
25
|
-
value: string;
|
|
26
|
-
title: string;
|
|
27
|
-
image: string;
|
|
28
|
-
}
|
|
29
|
-
export interface IPredefinedValuesItem {
|
|
30
|
-
key: number;
|
|
31
|
-
value: string;
|
|
32
|
-
}
|
|
33
|
-
export interface IPredefinedValuesEditorData {
|
|
34
|
-
multiselect: boolean;
|
|
35
|
-
items: Array<IPredefinedValuesItem>;
|
|
36
|
-
}
|
|
37
|
-
export interface IRabbitActionEditorData {
|
|
38
|
-
actionType: string;
|
|
39
|
-
fields: string[];
|
|
40
|
-
}
|
|
41
|
-
export interface ILinkEditorData {
|
|
42
|
-
useStaticLink: boolean;
|
|
43
|
-
url: string;
|
|
44
|
-
text: string;
|
|
45
|
-
openNewTab: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface IDocumentEditorData {
|
|
48
|
-
multiple: boolean;
|
|
49
|
-
}
|
|
50
|
-
export interface IImageEditorData {
|
|
51
|
-
multiple: boolean;
|
|
52
|
-
metaDataFields: Array<string>;
|
|
53
|
-
}
|
|
54
|
-
export interface IMoneyEditorData {
|
|
55
|
-
}
|
|
56
|
-
export
|
|
57
|
-
export interface IDisplayIconsTypeSettings {
|
|
58
|
-
type: DisplayType.Icons;
|
|
59
|
-
data: IIconsColumnEditorItem[];
|
|
60
|
-
}
|
|
61
|
-
export interface IDisplayIPredefinedValuesTypeSettings {
|
|
62
|
-
type: DisplayType.PredefinedValues;
|
|
63
|
-
data: IPredefinedValuesEditorData;
|
|
64
|
-
}
|
|
65
|
-
export interface IDisplayIReferencedValueTypeSettings {
|
|
66
|
-
type: DisplayType.ReferencedValue;
|
|
67
|
-
data: IReferencedValueEditorData;
|
|
68
|
-
}
|
|
69
|
-
export interface IDisplayIRabbitActionTypeSettings {
|
|
70
|
-
type: DisplayType.RabbitAction;
|
|
71
|
-
data: IRabbitActionEditorData;
|
|
72
|
-
}
|
|
73
|
-
export interface IDisplayILinkTypeSettings {
|
|
74
|
-
type: DisplayType.Link;
|
|
75
|
-
data: ILinkEditorData;
|
|
76
|
-
}
|
|
77
|
-
export interface IDisplayIMoneyTypeSettings {
|
|
78
|
-
type: DisplayType.Money;
|
|
79
|
-
data: IMoneyEditorData;
|
|
80
|
-
}
|
|
81
|
-
export interface IDisplayIDocumentTypeSettings {
|
|
82
|
-
type: DisplayType.PDF;
|
|
83
|
-
data: IDocumentEditorData;
|
|
84
|
-
}
|
|
85
|
-
export interface IDisplayIImageTypeSettings {
|
|
86
|
-
type: DisplayType.Image;
|
|
87
|
-
data: IImageEditorData;
|
|
88
|
-
}
|
|
89
|
-
export interface IControlConfiguratorOptions {
|
|
90
|
-
$container: JQuery;
|
|
91
|
-
isStandalonePage: boolean;
|
|
92
|
-
pageTitle: string;
|
|
93
|
-
availableRolesUrl: string;
|
|
94
|
-
groupFieldsUrl: string;
|
|
95
|
-
loadDataUrl: string;
|
|
96
|
-
batchUpdateDataUrl: string;
|
|
97
|
-
updateRowPermissionsUrl: string;
|
|
98
|
-
getRowPermissionsUrl: string;
|
|
99
|
-
updateDataUrl: string;
|
|
100
|
-
addDataUrl: string;
|
|
101
|
-
deleteDataUrl: string;
|
|
102
|
-
updateGlobalSearchUrl: string;
|
|
103
|
-
updateInlineEditingUrl: string;
|
|
104
|
-
isDataReadonly?: boolean;
|
|
105
|
-
disableGlobalSearch?: boolean;
|
|
106
|
-
enableInlineEditing?: boolean;
|
|
107
|
-
getReportSourceDetailsUrl: string;
|
|
108
|
-
getContextTablesUrl: string;
|
|
109
|
-
getTableFieldsUrl: string;
|
|
110
|
-
}
|
|
111
|
-
export declare const enum DocumentType {
|
|
112
|
-
Image = 1,
|
|
113
|
-
PDF = 2
|
|
114
|
-
}
|
|
115
|
-
export interface IPDFTypeItem {
|
|
116
|
-
Id: string;
|
|
117
|
-
Name: string;
|
|
118
|
-
Url: string;
|
|
119
|
-
}
|
|
120
|
-
export interface IImageTypeItem extends IPDFTypeItem {
|
|
121
|
-
PreviewUrl: string;
|
|
122
|
-
}
|
|
123
|
-
export declare class ControlConfigurator {
|
|
124
|
-
readonly $container: JQuery;
|
|
125
|
-
private readonly isStandalonePage;
|
|
126
|
-
private readonly isDataReadonly;
|
|
127
|
-
private readonly pageTitle;
|
|
128
|
-
private readonly groupFieldsUrl;
|
|
129
|
-
private readonly loadDataUrl;
|
|
130
|
-
private readonly addDataUrl;
|
|
131
|
-
private readonly deleteDataUrl;
|
|
132
|
-
private readonly updateDataUrl;
|
|
133
|
-
private readonly batchUpdateDataUrl;
|
|
134
|
-
private readonly updateGlobalSearchUrl;
|
|
135
|
-
private readonly updateInlineEditingUrl;
|
|
136
|
-
private disableGlobalSearch;
|
|
137
|
-
private enableInlineEditing;
|
|
138
|
-
private readonly onGlobalSearchSettingsChanged;
|
|
139
|
-
private readonly onEnableInlineEditingChanged;
|
|
140
|
-
private readonly baseTypeTitle;
|
|
141
|
-
private readonly customTypeTitle;
|
|
142
|
-
private readonly displayTypes;
|
|
143
|
-
private readonly editors;
|
|
144
|
-
private readonly editorsInitData;
|
|
145
|
-
private fields;
|
|
146
|
-
private readonly getReportSourceDetailsUrl;
|
|
147
|
-
private reportSourceDetails;
|
|
148
|
-
private readonly getContextTablesUrl;
|
|
149
|
-
private readonly getTableFieldsUrl;
|
|
150
|
-
private systemFieldPredefinedData;
|
|
151
|
-
constructor(options: IControlConfiguratorOptions, onGlobalSearchSettingsChanged: (allowed: boolean) => void, onEnableInlineEditingChanged: (enable: boolean) => void);
|
|
152
|
-
private getSqlEntityTypeName;
|
|
153
|
-
render(): void;
|
|
154
|
-
private getAvailableFields;
|
|
155
|
-
private getReportSourceDetails;
|
|
156
|
-
private getDisplayTypeEditor;
|
|
157
|
-
private metaDataColumnTemplate;
|
|
158
|
-
private createMainGrid;
|
|
159
|
-
private prepareMainGridColumns;
|
|
160
|
-
private createMainGridDataSource;
|
|
161
|
-
}
|
|
1
|
+
import { IReferencedValueEditorData } from './Editors/ReferencedValueColumnEditor';
|
|
2
|
+
export declare const enum DisplayType {
|
|
3
|
+
Icons = 1,
|
|
4
|
+
PredefinedValues = 2,
|
|
5
|
+
RabbitAction = 3,
|
|
6
|
+
Link = 4,
|
|
7
|
+
Money = 5,
|
|
8
|
+
PDF = 6,
|
|
9
|
+
Image = 7,
|
|
10
|
+
ReferencedValue = 8,
|
|
11
|
+
String = 10001,
|
|
12
|
+
Number = 10002,
|
|
13
|
+
Decimal = 10003,
|
|
14
|
+
Boolean = 10004,
|
|
15
|
+
Datetime = 10005,
|
|
16
|
+
Date = 10006
|
|
17
|
+
}
|
|
18
|
+
export declare const enum SystemFields {
|
|
19
|
+
CreatedAt = 1,
|
|
20
|
+
CreatedBy = 2,
|
|
21
|
+
LastUpdateAt = 3,
|
|
22
|
+
LastUpdateBy = 4
|
|
23
|
+
}
|
|
24
|
+
export interface IIconsColumnEditorItem {
|
|
25
|
+
value: string;
|
|
26
|
+
title: string;
|
|
27
|
+
image: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IPredefinedValuesItem {
|
|
30
|
+
key: number;
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IPredefinedValuesEditorData {
|
|
34
|
+
multiselect: boolean;
|
|
35
|
+
items: Array<IPredefinedValuesItem>;
|
|
36
|
+
}
|
|
37
|
+
export interface IRabbitActionEditorData {
|
|
38
|
+
actionType: string;
|
|
39
|
+
fields: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface ILinkEditorData {
|
|
42
|
+
useStaticLink: boolean;
|
|
43
|
+
url: string;
|
|
44
|
+
text: string;
|
|
45
|
+
openNewTab: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface IDocumentEditorData {
|
|
48
|
+
multiple: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface IImageEditorData {
|
|
51
|
+
multiple: boolean;
|
|
52
|
+
metaDataFields: Array<string>;
|
|
53
|
+
}
|
|
54
|
+
export interface IMoneyEditorData {
|
|
55
|
+
}
|
|
56
|
+
export type IDisplayTypeSettings = IDisplayIconsTypeSettings | IDisplayIPredefinedValuesTypeSettings | IDisplayIReferencedValueTypeSettings | IDisplayIRabbitActionTypeSettings | IDisplayILinkTypeSettings | IDisplayIMoneyTypeSettings | IDisplayIDocumentTypeSettings | IDisplayIImageTypeSettings;
|
|
57
|
+
export interface IDisplayIconsTypeSettings {
|
|
58
|
+
type: DisplayType.Icons;
|
|
59
|
+
data: IIconsColumnEditorItem[];
|
|
60
|
+
}
|
|
61
|
+
export interface IDisplayIPredefinedValuesTypeSettings {
|
|
62
|
+
type: DisplayType.PredefinedValues;
|
|
63
|
+
data: IPredefinedValuesEditorData;
|
|
64
|
+
}
|
|
65
|
+
export interface IDisplayIReferencedValueTypeSettings {
|
|
66
|
+
type: DisplayType.ReferencedValue;
|
|
67
|
+
data: IReferencedValueEditorData;
|
|
68
|
+
}
|
|
69
|
+
export interface IDisplayIRabbitActionTypeSettings {
|
|
70
|
+
type: DisplayType.RabbitAction;
|
|
71
|
+
data: IRabbitActionEditorData;
|
|
72
|
+
}
|
|
73
|
+
export interface IDisplayILinkTypeSettings {
|
|
74
|
+
type: DisplayType.Link;
|
|
75
|
+
data: ILinkEditorData;
|
|
76
|
+
}
|
|
77
|
+
export interface IDisplayIMoneyTypeSettings {
|
|
78
|
+
type: DisplayType.Money;
|
|
79
|
+
data: IMoneyEditorData;
|
|
80
|
+
}
|
|
81
|
+
export interface IDisplayIDocumentTypeSettings {
|
|
82
|
+
type: DisplayType.PDF;
|
|
83
|
+
data: IDocumentEditorData;
|
|
84
|
+
}
|
|
85
|
+
export interface IDisplayIImageTypeSettings {
|
|
86
|
+
type: DisplayType.Image;
|
|
87
|
+
data: IImageEditorData;
|
|
88
|
+
}
|
|
89
|
+
export interface IControlConfiguratorOptions {
|
|
90
|
+
$container: JQuery;
|
|
91
|
+
isStandalonePage: boolean;
|
|
92
|
+
pageTitle: string;
|
|
93
|
+
availableRolesUrl: string;
|
|
94
|
+
groupFieldsUrl: string;
|
|
95
|
+
loadDataUrl: string;
|
|
96
|
+
batchUpdateDataUrl: string;
|
|
97
|
+
updateRowPermissionsUrl: string;
|
|
98
|
+
getRowPermissionsUrl: string;
|
|
99
|
+
updateDataUrl: string;
|
|
100
|
+
addDataUrl: string;
|
|
101
|
+
deleteDataUrl: string;
|
|
102
|
+
updateGlobalSearchUrl: string;
|
|
103
|
+
updateInlineEditingUrl: string;
|
|
104
|
+
isDataReadonly?: boolean;
|
|
105
|
+
disableGlobalSearch?: boolean;
|
|
106
|
+
enableInlineEditing?: boolean;
|
|
107
|
+
getReportSourceDetailsUrl: string;
|
|
108
|
+
getContextTablesUrl: string;
|
|
109
|
+
getTableFieldsUrl: string;
|
|
110
|
+
}
|
|
111
|
+
export declare const enum DocumentType {
|
|
112
|
+
Image = 1,
|
|
113
|
+
PDF = 2
|
|
114
|
+
}
|
|
115
|
+
export interface IPDFTypeItem {
|
|
116
|
+
Id: string;
|
|
117
|
+
Name: string;
|
|
118
|
+
Url: string;
|
|
119
|
+
}
|
|
120
|
+
export interface IImageTypeItem extends IPDFTypeItem {
|
|
121
|
+
PreviewUrl: string;
|
|
122
|
+
}
|
|
123
|
+
export declare class ControlConfigurator {
|
|
124
|
+
readonly $container: JQuery;
|
|
125
|
+
private readonly isStandalonePage;
|
|
126
|
+
private readonly isDataReadonly;
|
|
127
|
+
private readonly pageTitle;
|
|
128
|
+
private readonly groupFieldsUrl;
|
|
129
|
+
private readonly loadDataUrl;
|
|
130
|
+
private readonly addDataUrl;
|
|
131
|
+
private readonly deleteDataUrl;
|
|
132
|
+
private readonly updateDataUrl;
|
|
133
|
+
private readonly batchUpdateDataUrl;
|
|
134
|
+
private readonly updateGlobalSearchUrl;
|
|
135
|
+
private readonly updateInlineEditingUrl;
|
|
136
|
+
private disableGlobalSearch;
|
|
137
|
+
private enableInlineEditing;
|
|
138
|
+
private readonly onGlobalSearchSettingsChanged;
|
|
139
|
+
private readonly onEnableInlineEditingChanged;
|
|
140
|
+
private readonly baseTypeTitle;
|
|
141
|
+
private readonly customTypeTitle;
|
|
142
|
+
private readonly displayTypes;
|
|
143
|
+
private readonly editors;
|
|
144
|
+
private readonly editorsInitData;
|
|
145
|
+
private fields;
|
|
146
|
+
private readonly getReportSourceDetailsUrl;
|
|
147
|
+
private reportSourceDetails;
|
|
148
|
+
private readonly getContextTablesUrl;
|
|
149
|
+
private readonly getTableFieldsUrl;
|
|
150
|
+
private systemFieldPredefinedData;
|
|
151
|
+
constructor(options: IControlConfiguratorOptions, onGlobalSearchSettingsChanged: (allowed: boolean) => void, onEnableInlineEditingChanged: (enable: boolean) => void);
|
|
152
|
+
private getSqlEntityTypeName;
|
|
153
|
+
render(): void;
|
|
154
|
+
private getAvailableFields;
|
|
155
|
+
private getReportSourceDetails;
|
|
156
|
+
private getDisplayTypeEditor;
|
|
157
|
+
private metaDataColumnTemplate;
|
|
158
|
+
private createMainGrid;
|
|
159
|
+
private prepareMainGridColumns;
|
|
160
|
+
private createMainGridDataSource;
|
|
161
|
+
}
|