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,25 +1,25 @@
|
|
|
1
|
-
interface IGridSettingsBase<T> {
|
|
2
|
-
options?: T;
|
|
3
|
-
exportFileName?: string;
|
|
4
|
-
headerDescription?: string;
|
|
5
|
-
inPanelGrid?: boolean;
|
|
6
|
-
isFullScreen?: boolean | undefined;
|
|
7
|
-
setDefaultColumnWidth?: boolean;
|
|
8
|
-
showSummaryInColumn?: string;
|
|
9
|
-
summaryColumn?: string;
|
|
10
|
-
disableSummaryColumnDetection?: boolean;
|
|
11
|
-
title?: string;
|
|
12
|
-
toolbarAccentButtonName?: string;
|
|
13
|
-
toolbarItems?: any[];
|
|
14
|
-
buttonsSize?: 'sm' | 'md';
|
|
15
|
-
asyncSummaryLoad?: boolean | string;
|
|
16
|
-
}
|
|
17
|
-
export interface IDataGridSettings extends IGridSettingsBase<DevExpress.ui.dxDataGridOptions> {
|
|
18
|
-
}
|
|
19
|
-
export interface ITreeListSettings extends IGridSettingsBase<DevExpress.ui.dxTreeListOptions> {
|
|
20
|
-
}
|
|
21
|
-
export declare function getGridDefaultOptions(settings: IDataGridSettings): DevExpress.ui.dxDataGrid.Properties<any, any>;
|
|
22
|
-
export declare function getTreeListDefaultOptions(settings: ITreeListSettings): DevExpress.ui.dxTreeListOptions<any, any>;
|
|
23
|
-
export declare function getHandlers<T extends DevExpress.ui.dxDataGridOptions | DevExpress.ui.dxTreeListOptions>(widget: 'dxDataGrid' | 'dxTreeList', settings: IDataGridSettings | ITreeListSettings): T;
|
|
24
|
-
export declare function updateToolbarOptions<T extends DevExpress.ui.dxDataGridOptions | DevExpress.ui.dxTreeListOptions>(options: T): T;
|
|
25
|
-
export {};
|
|
1
|
+
interface IGridSettingsBase<T> {
|
|
2
|
+
options?: T;
|
|
3
|
+
exportFileName?: string;
|
|
4
|
+
headerDescription?: string;
|
|
5
|
+
inPanelGrid?: boolean;
|
|
6
|
+
isFullScreen?: boolean | undefined;
|
|
7
|
+
setDefaultColumnWidth?: boolean;
|
|
8
|
+
showSummaryInColumn?: string;
|
|
9
|
+
summaryColumn?: string;
|
|
10
|
+
disableSummaryColumnDetection?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
toolbarAccentButtonName?: string;
|
|
13
|
+
toolbarItems?: any[];
|
|
14
|
+
buttonsSize?: 'sm' | 'md';
|
|
15
|
+
asyncSummaryLoad?: boolean | string;
|
|
16
|
+
}
|
|
17
|
+
export interface IDataGridSettings extends IGridSettingsBase<DevExpress.ui.dxDataGridOptions> {
|
|
18
|
+
}
|
|
19
|
+
export interface ITreeListSettings extends IGridSettingsBase<DevExpress.ui.dxTreeListOptions> {
|
|
20
|
+
}
|
|
21
|
+
export declare function getGridDefaultOptions(settings: IDataGridSettings): DevExpress.ui.dxDataGrid.Properties<any, any>;
|
|
22
|
+
export declare function getTreeListDefaultOptions(settings: ITreeListSettings): DevExpress.ui.dxTreeListOptions<any, any>;
|
|
23
|
+
export declare function getHandlers<T extends DevExpress.ui.dxDataGridOptions | DevExpress.ui.dxTreeListOptions>(widget: 'dxDataGrid' | 'dxTreeList', settings: IDataGridSettings | ITreeListSettings): T;
|
|
24
|
+
export declare function updateToolbarOptions<T extends DevExpress.ui.dxDataGridOptions | DevExpress.ui.dxTreeListOptions>(options: T): T;
|
|
25
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IGridAdditionalOptions } from './CreateFullScreenGrid';
|
|
2
|
-
export default function (id: string, dataGridOptions: DevExpress.ui.dxDataGridOptions, additionalOptions?: IGridAdditionalOptions, headerText?: string, headerDescription?: string): DevExpress.ui.dxDataGrid;
|
|
1
|
+
import { IGridAdditionalOptions } from './CreateFullScreenGrid';
|
|
2
|
+
export default function (id: string, dataGridOptions: DevExpress.ui.dxDataGridOptions, additionalOptions?: IGridAdditionalOptions, headerText?: string, headerDescription?: string): DevExpress.ui.dxDataGrid;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITreeListSettings } from './DefaultGridBase';
|
|
2
|
-
export default function (id: string | JQuery, settings?: ITreeListSettings): DevExpress.ui.dxTreeList;
|
|
1
|
+
import { ITreeListSettings } from './DefaultGridBase';
|
|
2
|
+
export default function (id: string | JQuery, settings?: ITreeListSettings): DevExpress.ui.dxTreeList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function configureSummaryLoader(grid: DevExpress.ui.dxDataGrid, asyncSummaryLoad: boolean | string, initialLoadUrl?: string): void;
|
|
1
|
+
export declare function configureSummaryLoader(grid: DevExpress.ui.dxDataGrid, asyncSummaryLoad: boolean | string, initialLoadUrl?: string): void;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export declare enum GridDataColumnDataType {
|
|
2
|
-
Default = "default",
|
|
3
|
-
String = "string",
|
|
4
|
-
Number = "number",
|
|
5
|
-
Date = "date",
|
|
6
|
-
Boolean = "boolean",
|
|
7
|
-
Object = "object",
|
|
8
|
-
Datetime = "datetime"
|
|
9
|
-
}
|
|
10
|
-
export interface IGridColumnState {
|
|
11
|
-
dataField: string;
|
|
12
|
-
dataType: GridDataColumnDataType;
|
|
13
|
-
width?: string | number;
|
|
14
|
-
groupIndex?: number;
|
|
15
|
-
sortIndex?: number;
|
|
16
|
-
sortOrder?: number;
|
|
17
|
-
visible?: boolean;
|
|
18
|
-
visibleIndex?: number;
|
|
19
|
-
}
|
|
20
|
-
export interface IGridAdditionalColumnState {
|
|
21
|
-
caption?: string;
|
|
22
|
-
tooltip?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface IGridExtendedColumnState extends IGridColumnState, IGridAdditionalColumnState {
|
|
25
|
-
}
|
|
26
|
-
export interface IGridState {
|
|
27
|
-
columns: IGridExtendedColumnState[];
|
|
28
|
-
}
|
|
1
|
+
export declare enum GridDataColumnDataType {
|
|
2
|
+
Default = "default",
|
|
3
|
+
String = "string",
|
|
4
|
+
Number = "number",
|
|
5
|
+
Date = "date",
|
|
6
|
+
Boolean = "boolean",
|
|
7
|
+
Object = "object",
|
|
8
|
+
Datetime = "datetime"
|
|
9
|
+
}
|
|
10
|
+
export interface IGridColumnState {
|
|
11
|
+
dataField: string;
|
|
12
|
+
dataType: GridDataColumnDataType;
|
|
13
|
+
width?: string | number;
|
|
14
|
+
groupIndex?: number;
|
|
15
|
+
sortIndex?: number;
|
|
16
|
+
sortOrder?: number;
|
|
17
|
+
visible?: boolean;
|
|
18
|
+
visibleIndex?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface IGridAdditionalColumnState {
|
|
21
|
+
caption?: string;
|
|
22
|
+
tooltip?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IGridExtendedColumnState extends IGridColumnState, IGridAdditionalColumnState {
|
|
25
|
+
}
|
|
26
|
+
export interface IGridState {
|
|
27
|
+
columns: IGridExtendedColumnState[];
|
|
28
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getBase64: (file: File) => Promise<string | null>;
|
|
1
|
+
export declare const getBase64: (file: File) => Promise<string | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function show(imageBase64: string | null, onAvatarUpdated: (photoBase64: string) => void): void;
|
|
1
|
+
export declare function show(imageBase64: string | null, onAvatarUpdated: (photoBase64: string) => void): void;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
-
import { IImageTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
-
export interface IImageGallerySettings {
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number | string;
|
|
6
|
-
}
|
|
7
|
-
export default class ImageGallery extends EventEmitter {
|
|
8
|
-
private readonly settings;
|
|
9
|
-
private $content;
|
|
10
|
-
private dialog;
|
|
11
|
-
private items;
|
|
12
|
-
private gallery;
|
|
13
|
-
constructor(settings?: IImageGallerySettings);
|
|
14
|
-
private initMarkup;
|
|
15
|
-
private initGallery;
|
|
16
|
-
open(images?: Array<IImageTypeItem>): void;
|
|
17
|
-
close(): void;
|
|
18
|
-
set images(items: Array<IImageTypeItem>);
|
|
19
|
-
get images(): Array<IImageTypeItem>;
|
|
20
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
+
import { IImageTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
+
export interface IImageGallerySettings {
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
}
|
|
7
|
+
export default class ImageGallery extends EventEmitter {
|
|
8
|
+
private readonly settings;
|
|
9
|
+
private $content;
|
|
10
|
+
private dialog;
|
|
11
|
+
private items;
|
|
12
|
+
private gallery;
|
|
13
|
+
constructor(settings?: IImageGallerySettings);
|
|
14
|
+
private initMarkup;
|
|
15
|
+
private initGallery;
|
|
16
|
+
open(images?: Array<IImageTypeItem>): void;
|
|
17
|
+
close(): void;
|
|
18
|
+
set images(items: Array<IImageTypeItem>);
|
|
19
|
+
get images(): Array<IImageTypeItem>;
|
|
20
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
-
import { IImageTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
-
export interface IImageManagerSettings {
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number | string;
|
|
6
|
-
}
|
|
7
|
-
export interface IMetaData {
|
|
8
|
-
name: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IImageManagerData {
|
|
12
|
-
images: Array<IImageTypeItem>;
|
|
13
|
-
metaData: Array<IMetaData>;
|
|
14
|
-
}
|
|
15
|
-
export default class ImageManager extends EventEmitter {
|
|
16
|
-
private readonly ON_UPLOADED;
|
|
17
|
-
private readonly ON_DELETED;
|
|
18
|
-
private readonly ON_REORDERED;
|
|
19
|
-
private readonly settings;
|
|
20
|
-
private $content;
|
|
21
|
-
private dialog;
|
|
22
|
-
private imageItems;
|
|
23
|
-
private list;
|
|
24
|
-
private uploader;
|
|
25
|
-
private gallery;
|
|
26
|
-
private metaDataItems;
|
|
27
|
-
constructor(settings?: IImageManagerSettings);
|
|
28
|
-
private initMarkup;
|
|
29
|
-
private initUploader;
|
|
30
|
-
private initList;
|
|
31
|
-
private initGallery;
|
|
32
|
-
open(data?: IImageManagerData, readonly?: boolean): void;
|
|
33
|
-
close(): void;
|
|
34
|
-
set metaData(items: Array<IMetaData>);
|
|
35
|
-
set images(items: Array<IImageTypeItem>);
|
|
36
|
-
get images(): Array<IImageTypeItem>;
|
|
37
|
-
set selectedIndex(number: number);
|
|
38
|
-
get selectedIndex(): number;
|
|
39
|
-
onUploaded(cb: (images: Array<File>) => void): void;
|
|
40
|
-
onDeleted(cb: (id: string) => void): void;
|
|
41
|
-
onReordered(cb: () => void): void;
|
|
42
|
-
}
|
|
1
|
+
import { EventEmitter } from '../../Utils/EventEmitter';
|
|
2
|
+
import { IImageTypeItem } from '../../Reports/Pages/CDM/ControlConfigurator';
|
|
3
|
+
export interface IImageManagerSettings {
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
}
|
|
7
|
+
export interface IMetaData {
|
|
8
|
+
name: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IImageManagerData {
|
|
12
|
+
images: Array<IImageTypeItem>;
|
|
13
|
+
metaData: Array<IMetaData>;
|
|
14
|
+
}
|
|
15
|
+
export default class ImageManager extends EventEmitter {
|
|
16
|
+
private readonly ON_UPLOADED;
|
|
17
|
+
private readonly ON_DELETED;
|
|
18
|
+
private readonly ON_REORDERED;
|
|
19
|
+
private readonly settings;
|
|
20
|
+
private $content;
|
|
21
|
+
private dialog;
|
|
22
|
+
private imageItems;
|
|
23
|
+
private list;
|
|
24
|
+
private uploader;
|
|
25
|
+
private gallery;
|
|
26
|
+
private metaDataItems;
|
|
27
|
+
constructor(settings?: IImageManagerSettings);
|
|
28
|
+
private initMarkup;
|
|
29
|
+
private initUploader;
|
|
30
|
+
private initList;
|
|
31
|
+
private initGallery;
|
|
32
|
+
open(data?: IImageManagerData, readonly?: boolean): void;
|
|
33
|
+
close(): void;
|
|
34
|
+
set metaData(items: Array<IMetaData>);
|
|
35
|
+
set images(items: Array<IImageTypeItem>);
|
|
36
|
+
get images(): Array<IImageTypeItem>;
|
|
37
|
+
set selectedIndex(number: number);
|
|
38
|
+
get selectedIndex(): number;
|
|
39
|
+
onUploaded(cb: (images: Array<File>) => void): void;
|
|
40
|
+
onDeleted(cb: (id: string) => void): void;
|
|
41
|
+
onReordered(cb: () => void): void;
|
|
42
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ILogoSettings } from '../Data';
|
|
2
|
-
import { IBackgroundPhotoViewerSettings } from '../Data/IBackgroundPhotoViewerSettings';
|
|
3
|
-
export declare function createLanding($container: JQuery, logoSettings: ILogoSettings | string, showSignInButton: boolean, photoGallerySettings?: IBackgroundPhotoViewerSettings): void;
|
|
1
|
+
import { ILogoSettings } from '../Data';
|
|
2
|
+
import { IBackgroundPhotoViewerSettings } from '../Data/IBackgroundPhotoViewerSettings';
|
|
3
|
+
export declare function createLanding($container: JQuery, logoSettings: ILogoSettings | string, showSignInButton: boolean, photoGallerySettings?: IBackgroundPhotoViewerSettings): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function notify(msg: string, succeed?: boolean): void;
|
|
1
|
+
export default function notify(msg: string, succeed?: boolean): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function (widget: DevExpress.ui.Widget<any>): void;
|
|
1
|
+
export default function (widget: DevExpress.ui.Widget<any>): void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface IPopupButtonOptions {
|
|
2
|
-
text: string;
|
|
3
|
-
icon?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onClick: (closePopup: any) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function createButtons(okOptions: DevExpress.ui.dxButtonOptions, cancelOptions?: DevExpress.ui.dxButtonOptions): JQuery<HTMLElement>;
|
|
8
|
-
export declare function createItem(label: string, $value: JQuery): JQuery<HTMLElement>;
|
|
9
|
-
export interface IPopupOptions {
|
|
10
|
-
useKeyPressBehavior: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function createDialog(options: DevExpress.ui.dxPopup.Properties, $popupContent: JQuery, okBtnOptions?: IPopupButtonOptions, cancelBtnOptions?: IPopupButtonOptions, additionalOptions?: IPopupOptions): {
|
|
13
|
-
okBtn: DevExpress.ui.dxButton;
|
|
14
|
-
close: () => void;
|
|
15
|
-
};
|
|
1
|
+
export interface IPopupButtonOptions {
|
|
2
|
+
text: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onClick: (closePopup: any) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function createButtons(okOptions: DevExpress.ui.dxButtonOptions, cancelOptions?: DevExpress.ui.dxButtonOptions): JQuery<HTMLElement>;
|
|
8
|
+
export declare function createItem(label: string, $value: JQuery): JQuery<HTMLElement>;
|
|
9
|
+
export interface IPopupOptions {
|
|
10
|
+
useKeyPressBehavior: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function createDialog(options: DevExpress.ui.dxPopup.Properties, $popupContent: JQuery, okBtnOptions?: IPopupButtonOptions, cancelBtnOptions?: IPopupButtonOptions, additionalOptions?: IPopupOptions): {
|
|
13
|
+
okBtn: DevExpress.ui.dxButton;
|
|
14
|
+
close: () => void;
|
|
15
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,116 +1,115 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
export default IszoleaUI;
|
|
1
|
+
export { ILicence, MenuItemType, LicenceStatus } from './Business';
|
|
2
|
+
export { IApiResponse, IDxDataSourceOptions, IErrorInfo, ILogoSettings, RequestState } from './Data';
|
|
3
|
+
export { Header, NavigationMenu, UserMenu, MenuSwitcher, HeaderThemes, IHeaderOptions, IAppMenuModel, IMenuSettings, INavigationMenuItemModel, IUserMenuItem, IUserMenuItemModel, } from './Header';
|
|
4
|
+
export { IHierarchical, IReportBase, IAppMenuItemBaseModel, gridColumnTypes } from './Reports/Business';
|
|
5
|
+
export { IGridExtendedColumnState, GridDataColumnDataType, IGridState, IGridColumnState, IGridAdditionalColumnState } from './Widgets/IGridState';
|
|
6
|
+
export { IGridData, IV2GridColumnState } from './Reports/Pages/Grid/IGridData';
|
|
7
|
+
export { IColumnMetaData } from './Reports/ColumnMetaData';
|
|
8
|
+
export { CdmImportFileMode } from './Reports/Business';
|
|
9
|
+
import { show as backgroundImageViewer } from './Widgets/BackgroundImageViewer';
|
|
10
|
+
import { LicenceStatus, MenuItemType } from './Business';
|
|
11
|
+
import { GridDataColumnDataType } from './Widgets/IGridState';
|
|
12
|
+
import Footer, { FooterIndicatorStatus } from './Footer/Index';
|
|
13
|
+
import { Header, NavigationMenu, UserMenu, MenuSwitcher } from './Header';
|
|
14
|
+
export { Footer, };
|
|
15
|
+
import notify from './Widgets/Notify';
|
|
16
|
+
import fullScreen from './Widgets/FullScreen';
|
|
17
|
+
import defaultToolbar from './Widgets/DefaultToolbar';
|
|
18
|
+
import defaultGridObsolete from './Widgets/Grid/DefaultGridObsolete';
|
|
19
|
+
import defaultTreeList from './Widgets/Grid/DefaultTreeList';
|
|
20
|
+
import ImageManager from './Widgets/ImageManager/Index';
|
|
21
|
+
import DocumentManager from './Widgets/DocumentManager/Index';
|
|
22
|
+
import ImageGallery from './Widgets/ImageGallery/Index';
|
|
23
|
+
import defaultGrid from './Widgets/Grid/DefaultGrid';
|
|
24
|
+
import * as imageCropDialog from './Widgets/ImageCropDialog';
|
|
25
|
+
import { AccountSettingsPage } from './Pages/AccountSettings';
|
|
26
|
+
import * as styling from './Styling/Index';
|
|
27
|
+
import * as popup from './Widgets/Popup';
|
|
28
|
+
import * as confirm from './Widgets/Confirm';
|
|
29
|
+
import * as landing from './Widgets/Landing';
|
|
30
|
+
import * as helpers from './Helpers/Index';
|
|
31
|
+
import * as utils from './Utils/Index';
|
|
32
|
+
import * as accessDenied from './Widgets/AccessDeniedToReport';
|
|
33
|
+
import * as CDM from './Reports/Pages/CDM/Index';
|
|
34
|
+
import { SessionNotifier } from './Components/SessionNotifier';
|
|
35
|
+
import { FileImporter } from './Components/FileImporter/Index';
|
|
36
|
+
import { FileUploader } from './Components/FileUploader/Index';
|
|
37
|
+
import { CdmImportFileMode } from './Reports/Business';
|
|
38
|
+
import GridReportPage from './Reports/Pages/Grid/Index';
|
|
39
|
+
import SlideshowReportPage from './Reports/Pages/Slideshow/Index';
|
|
40
|
+
import DashboardReportPage from './Reports/Pages/Dashboard/Index';
|
|
41
|
+
import DXReportPage from './Reports/Pages/Report/Index';
|
|
42
|
+
import DiagramReportPage from './Reports/Pages/Diagram/Index';
|
|
43
|
+
import GanttChartReportPage from './Reports/Pages/GanntChart/Index';
|
|
44
|
+
import SchedulerReportPage from './Reports/Pages/Scheduler/Index';
|
|
45
|
+
declare const IszoleaUI: {
|
|
46
|
+
config: import("./Config/Index").IConfig;
|
|
47
|
+
Header: typeof Header;
|
|
48
|
+
Footer: typeof Footer;
|
|
49
|
+
NavigationMenu: typeof NavigationMenu;
|
|
50
|
+
UserMenu: typeof UserMenu;
|
|
51
|
+
MenuSwitcher: typeof MenuSwitcher;
|
|
52
|
+
data: {
|
|
53
|
+
sendRequest: typeof import("./Data/Request").sendRequest;
|
|
54
|
+
handleError: typeof import("./Data/Request").handleError;
|
|
55
|
+
handleSuccess: typeof import("./Data/Request").handleSuccess;
|
|
56
|
+
handleUpload: typeof import("./Data/Request").handleUpload;
|
|
57
|
+
createDxDataSource: typeof import("./Data/DxDataSource").createDxDataSource;
|
|
58
|
+
isErrorInfo: (responseData: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
} | import("./Data").IErrorInfo | import("./Data").IErrorInfo[] | undefined | null) => responseData is import("./Data").IErrorInfo | import("./Data").IErrorInfo[];
|
|
61
|
+
loadWithMultipleProtection: typeof import("./Data/LoadWithMultipleProtection");
|
|
62
|
+
grpc: {
|
|
63
|
+
sendRequest: typeof import("./Data/Request").sendGrpcRequest;
|
|
64
|
+
createDxDataSource: typeof import("./Data/DxDataSource").createGrpcDxDataSource;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
widgets: {
|
|
68
|
+
notify: typeof notify;
|
|
69
|
+
fullScreen: typeof fullScreen;
|
|
70
|
+
popup: typeof popup;
|
|
71
|
+
confirm: typeof confirm;
|
|
72
|
+
landing: typeof landing;
|
|
73
|
+
accessDenied: typeof accessDenied;
|
|
74
|
+
defaultGridObsolete: typeof defaultGridObsolete;
|
|
75
|
+
defaultTreeList: typeof defaultTreeList;
|
|
76
|
+
defaultGrid: typeof defaultGrid;
|
|
77
|
+
defaultToolbar: typeof defaultToolbar;
|
|
78
|
+
backgroundImageViewer: typeof backgroundImageViewer;
|
|
79
|
+
imageCropDialog: typeof imageCropDialog;
|
|
80
|
+
ImageManager: typeof ImageManager;
|
|
81
|
+
DocumentManager: typeof DocumentManager;
|
|
82
|
+
ImageGallery: typeof ImageGallery;
|
|
83
|
+
};
|
|
84
|
+
pages: {
|
|
85
|
+
AccountSettingsPage: typeof AccountSettingsPage;
|
|
86
|
+
};
|
|
87
|
+
components: {
|
|
88
|
+
CDM: typeof CDM;
|
|
89
|
+
SessionNotifier: typeof SessionNotifier;
|
|
90
|
+
FileImporter: typeof FileImporter;
|
|
91
|
+
FileUploader: typeof FileUploader;
|
|
92
|
+
};
|
|
93
|
+
styling: typeof styling;
|
|
94
|
+
helpers: typeof helpers;
|
|
95
|
+
utils: typeof utils;
|
|
96
|
+
reports: {
|
|
97
|
+
CDMReportPage: typeof CDM.default;
|
|
98
|
+
DiagramReportPage: typeof DiagramReportPage;
|
|
99
|
+
GridReportPage: typeof GridReportPage;
|
|
100
|
+
DashboardReportPage: typeof DashboardReportPage;
|
|
101
|
+
DXReportPage: typeof DXReportPage;
|
|
102
|
+
SlideshowReportPage: typeof SlideshowReportPage;
|
|
103
|
+
GanttChartReportPage: typeof GanttChartReportPage;
|
|
104
|
+
SchedulerReportPage: typeof SchedulerReportPage;
|
|
105
|
+
gridColumnTypes: string[];
|
|
106
|
+
};
|
|
107
|
+
business: {
|
|
108
|
+
LicenceStatus: typeof LicenceStatus;
|
|
109
|
+
MenuItemType: typeof MenuItemType;
|
|
110
|
+
CdmImportFileMode: typeof CdmImportFileMode;
|
|
111
|
+
FooterIndicatorStatus: typeof FooterIndicatorStatus;
|
|
112
|
+
GridDataColumnDataType: typeof GridDataColumnDataType;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export default IszoleaUI;
|