@acorex/components 19.11.0-next.4 → 19.11.0-next.6
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/common/lib/classes/datasource.class.d.ts +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs +12 -12
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs +10 -10
- package/fesm2022/acorex-components-button.mjs +13 -13
- package/fesm2022/acorex-components-calendar.mjs +13 -13
- package/fesm2022/acorex-components-check-box.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-palette.mjs +25 -25
- package/fesm2022/acorex-components-comment.mjs +28 -28
- package/fesm2022/acorex-components-common.mjs +91 -91
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +49 -49
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-table.mjs +38 -38
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
- package/fesm2022/acorex-components-decorators.mjs +25 -25
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
- package/fesm2022/acorex-components-dropdown.mjs +13 -13
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-grid-layout-builder.mjs +192 -112
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +343 -302
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-kbd.mjs +10 -10
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-list.mjs +7 -7
- package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
- package/fesm2022/acorex-components-loading.mjs +16 -16
- package/fesm2022/acorex-components-map.mjs +10 -10
- package/fesm2022/acorex-components-media-viewer.mjs +34 -34
- package/fesm2022/acorex-components-menu.mjs +20 -20
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-notification.mjs +49 -33
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +20 -49
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -10
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-popover.mjs +7 -7
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-scheduler.mjs +13 -13
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-side-menu.mjs +13 -13
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +13 -13
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs +51 -15
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tree-view.mjs +178 -163
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +22 -22
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +8 -23
- package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +27 -3
- package/grid-layout-builder/lib/types.d.ts +82 -25
- package/grid-layout-builder/lib/utility.d.ts +7 -0
- package/image-editor/index.d.ts +1 -1
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -13
- package/image-editor/lib/image-editor-cropper-window/image-editor-cropper-window.component.d.ts +47 -0
- package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -0
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +17 -24
- package/image-editor/lib/image-editor.module.d.ts +2 -2
- package/image-editor/lib/image-editor.service.d.ts +1 -0
- package/notification/lib/notification.class.d.ts +2 -0
- package/notification/lib/notification.component.d.ts +7 -6
- package/notification/lib/notification.config.d.ts +1 -0
- package/package.json +1 -1
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +0 -6
- package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
- package/toast/lib/toast.class.d.ts +2 -0
- package/toast/lib/toast.component.d.ts +7 -0
- package/toast/lib/toast.config.d.ts +1 -0
- package/tree-view/lib/tree-view-item.component.d.ts +8 -12
- package/tree-view/lib/tree-view.class.d.ts +4 -20
- package/tree-view/lib/tree-view.component.d.ts +25 -16
- package/image-editor/lib/image-editor-tools/image-editor-header/image-editor-header.component.d.ts +0 -12
@@ -1,9 +1,18 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
3
3
|
import { AXImageEditorContainerComponent } from '../image-editor-container/image-editor-container.component';
|
4
|
+
import { AXImageEditorCropperWindowComponent } from '../image-editor-cropper-window/image-editor-cropper-window.component';
|
4
5
|
import { AXImageEditorService } from '../image-editor.service';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDestroy {
|
8
|
+
/**
|
9
|
+
* its change grid display state.
|
10
|
+
*/
|
11
|
+
showGrid: import("@angular/core").InputSignal<boolean>;
|
12
|
+
/**
|
13
|
+
* its change grid display state.
|
14
|
+
*/
|
15
|
+
lockRatio: import("@angular/core").WritableSignal<boolean>;
|
7
16
|
/**
|
8
17
|
* its receive image src.
|
9
18
|
*/
|
@@ -11,35 +20,29 @@ export declare class AXImageEditorViewComponent extends MXBaseComponent implemen
|
|
11
20
|
/** @ignore */
|
12
21
|
protected canvasElem: import("@angular/core").Signal<ElementRef<HTMLCanvasElement>>;
|
13
22
|
/** @ignore */
|
23
|
+
protected cropperWindow: import("@angular/core").Signal<AXImageEditorCropperWindowComponent>;
|
24
|
+
/** @ignore */
|
14
25
|
protected ctx: import("@angular/core").WritableSignal<CanvasRenderingContext2D>;
|
15
26
|
/** @ignore */
|
16
27
|
protected service: AXImageEditorService;
|
17
28
|
/** @ignore */
|
18
|
-
protected cropImageData: import("@angular/core").WritableSignal<ImageData>;
|
19
|
-
/** @ignore */
|
20
29
|
protected isMouseDown: import("@angular/core").WritableSignal<boolean>;
|
21
30
|
/** @ignore */
|
22
|
-
protected cropStartX: import("@angular/core").WritableSignal<number>;
|
23
|
-
/** @ignore */
|
24
|
-
protected cropStartY: import("@angular/core").WritableSignal<number>;
|
25
|
-
/** @ignore */
|
26
|
-
protected cropEndX: import("@angular/core").WritableSignal<number>;
|
27
|
-
/** @ignore */
|
28
|
-
protected cropEndY: import("@angular/core").WritableSignal<number>;
|
29
|
-
/** @ignore */
|
30
31
|
protected isDrawRectangleCreated: import("@angular/core").WritableSignal<boolean>;
|
31
32
|
/** @ignore */
|
32
33
|
protected parent: AXImageEditorContainerComponent;
|
34
|
+
/** @ignore */
|
33
35
|
protected renderer: Renderer2;
|
34
36
|
/** @ignore */
|
35
37
|
protected imageAspect: import("@angular/core").Signal<number>;
|
38
|
+
/** @ignore */
|
36
39
|
protected imageEditorHistory: import("@angular/core").WritableSignal<HTMLImageElement[]>;
|
40
|
+
/** @ignore */
|
37
41
|
protected imageEditorHistoryPointer: import("@angular/core").WritableSignal<number>;
|
38
|
-
private ngZone;
|
39
42
|
/** @ignore */
|
40
|
-
resizeEventListener
|
43
|
+
private resizeEventListener;
|
41
44
|
/** @ignore */
|
42
|
-
imageLoadEventListener
|
45
|
+
private imageLoadEventListener;
|
43
46
|
/** @ignore */
|
44
47
|
protected resizeWindow(): void;
|
45
48
|
/** @ignore */
|
@@ -63,16 +66,6 @@ export declare class AXImageEditorViewComponent extends MXBaseComponent implemen
|
|
63
66
|
/** @ignore */
|
64
67
|
protected mouseUpHandler(): void;
|
65
68
|
/** @ignore */
|
66
|
-
protected touchStartHandler(e: TouchEvent): void;
|
67
|
-
/** @ignore */
|
68
|
-
protected touchMoveHandler(e: TouchEvent): void;
|
69
|
-
/** @ignore */
|
70
|
-
protected touchEndHandler(): void;
|
71
|
-
/** @ignore */
|
72
|
-
protected drawSelection(): void;
|
73
|
-
/** @ignore */
|
74
|
-
protected cropImageFunction(): void;
|
75
|
-
/** @ignore */
|
76
69
|
cropButtonHandler(): void;
|
77
70
|
/** @ignore */
|
78
71
|
protected rotateImage(): void;
|
@@ -81,5 +74,5 @@ export declare class AXImageEditorViewComponent extends MXBaseComponent implemen
|
|
81
74
|
/** @ignore */
|
82
75
|
private get __hostStyle();
|
83
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
85
78
|
}
|
@@ -17,9 +17,9 @@ import * as i15 from "./image-editor-tools/image-editor-tool-selector/image-edit
|
|
17
17
|
import * as i16 from "./image-editor-tools/image-editor-pen/image-editor-pen.component";
|
18
18
|
import * as i17 from "./image-editor-tools/image-editor-highlight/image-editor-highlight.component";
|
19
19
|
import * as i18 from "./image-editor-tools/image-editor-rotate/image-editor-rotate.component";
|
20
|
-
import * as i19 from "./image-editor-
|
20
|
+
import * as i19 from "./image-editor-cropper-window/image-editor-cropper-window.component";
|
21
21
|
export declare class AXImageEditorModule {
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorModule, never>;
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof i1.AXButtonModule, typeof i2.FormsModule, typeof i3.AXRangeSliderModule, typeof i4.AXSelectBoxModule, typeof i5.AXColorBoxModule, typeof i6.AXPopoverModule, typeof i7.AXDecoratorModule, typeof i8.AXLoadingModule, typeof i9.AXDialogModule, typeof i10.AXTooltipModule, typeof i11.AXImageEditorViewComponent, typeof i12.AXImageEditorContainerComponent, typeof i13.AXImageEditorCropComponent, typeof i14.AXImageEditorHistoryComponent, typeof i15.AXImageEditorToolSelectorComponent, typeof i16.AXImageEditorPenComponent, typeof i17.AXImageEditorHighlightComponent, typeof i18.AXImageEditorRotateComponent, typeof i19.
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof i1.AXButtonModule, typeof i2.FormsModule, typeof i3.AXRangeSliderModule, typeof i4.AXSelectBoxModule, typeof i5.AXColorBoxModule, typeof i6.AXPopoverModule, typeof i7.AXDecoratorModule, typeof i8.AXLoadingModule, typeof i9.AXDialogModule, typeof i10.AXTooltipModule, typeof i11.AXImageEditorViewComponent, typeof i12.AXImageEditorContainerComponent, typeof i13.AXImageEditorCropComponent, typeof i14.AXImageEditorHistoryComponent, typeof i15.AXImageEditorToolSelectorComponent, typeof i16.AXImageEditorPenComponent, typeof i17.AXImageEditorHighlightComponent, typeof i18.AXImageEditorRotateComponent, typeof i19.AXImageEditorCropperWindowComponent], [typeof i11.AXImageEditorViewComponent, typeof i12.AXImageEditorContainerComponent, typeof i13.AXImageEditorCropComponent, typeof i14.AXImageEditorHistoryComponent, typeof i15.AXImageEditorToolSelectorComponent, typeof i16.AXImageEditorPenComponent, typeof i17.AXImageEditorHighlightComponent, typeof i18.AXImageEditorRotateComponent, typeof i19.AXImageEditorCropperWindowComponent]>;
|
24
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXImageEditorModule>;
|
25
25
|
}
|
@@ -16,6 +16,7 @@ export declare class AXImageEditorService {
|
|
16
16
|
imageBlob: import("@angular/core").WritableSignal<Blob[]>;
|
17
17
|
undoPressed: import("@angular/core").WritableSignal<boolean>;
|
18
18
|
redoPressed: import("@angular/core").WritableSignal<boolean>;
|
19
|
+
cropperRatio: import("@angular/core").WritableSignal<"1:1" | "16:9">;
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
20
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXImageEditorService>;
|
21
22
|
}
|
@@ -23,6 +23,7 @@ export interface AXNotificationOptions {
|
|
23
23
|
color: AXStyleColorType;
|
24
24
|
timeOut?: number;
|
25
25
|
timeOutProgress?: boolean;
|
26
|
+
pauseOnHover?: boolean;
|
26
27
|
}
|
27
28
|
export interface AXNotificationData {
|
28
29
|
buttons?: AXNotificationButtonItem[];
|
@@ -34,6 +35,7 @@ export interface AXNotificationData {
|
|
34
35
|
color: AXStyleColorType;
|
35
36
|
timeOut?: number;
|
36
37
|
timeOutProgress: boolean;
|
38
|
+
pauseOnHover?: boolean;
|
37
39
|
}
|
38
40
|
export interface AXNotificationRef {
|
39
41
|
close(): void;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { DialogRef } from '@angular/cdk/dialog';
|
3
3
|
import { Portal } from '@angular/cdk/portal';
|
4
|
+
import { OnInit } from '@angular/core';
|
4
5
|
import { AXNotificationButtonItem, AXNotificationData } from './notification.class';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
/**
|
@@ -8,20 +9,20 @@ import * as i0 from "@angular/core";
|
|
8
9
|
*
|
9
10
|
* @category Components
|
10
11
|
*/
|
11
|
-
export declare class AXNotificationComponent extends MXBaseComponent {
|
12
|
+
export declare class AXNotificationComponent extends MXBaseComponent implements OnInit {
|
12
13
|
config: AXNotificationData;
|
13
14
|
dialogRef: DialogRef<AXComponentCloseEvent>;
|
14
15
|
/** @ignore */
|
15
16
|
_selectedPortal: Portal<unknown>;
|
16
17
|
/** @ignore */
|
17
18
|
_icon: string;
|
18
|
-
|
19
|
-
|
20
|
-
|
19
|
+
private intervalId;
|
20
|
+
private isPaused;
|
21
|
+
protected remainingTime: import("@angular/core").WritableSignal<number>;
|
22
|
+
protected transitionDuration: import("@angular/core").WritableSignal<number>;
|
21
23
|
constructor(config: AXNotificationData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
22
|
-
/** @ignore */
|
23
24
|
ngOnInit(): void;
|
24
|
-
|
25
|
+
private pauseAnimation;
|
25
26
|
private _handleTimeOut;
|
26
27
|
/** @ignore */
|
27
28
|
private _initContent;
|
@@ -7,6 +7,7 @@ export interface AXNotificationConfig {
|
|
7
7
|
location: AXLocation;
|
8
8
|
closeButton: boolean;
|
9
9
|
limit: number;
|
10
|
+
pauseOnHover: boolean;
|
10
11
|
}
|
11
12
|
export declare const AX_NOTIFICATION_CONFIG: InjectionToken<AXNotificationConfig>;
|
12
13
|
export declare const AXNotificationDefaultConfig: AXNotificationConfig;
|
package/package.json
CHANGED
@@ -46,12 +46,6 @@ export declare class AXPaintViewComponent implements OnDestroy {
|
|
46
46
|
protected mouseMoveHandler(e: MouseEvent): void;
|
47
47
|
/** @ignore */
|
48
48
|
protected mouseUpHandler(): void;
|
49
|
-
/** @ignore */
|
50
|
-
protected touchStartHandler(e: TouchEvent): void;
|
51
|
-
/** @ignore */
|
52
|
-
protected touchMoveHandler(e: TouchEvent): void;
|
53
|
-
/** @ignore */
|
54
|
-
protected touchEndHandler(): void;
|
55
49
|
/**
|
56
50
|
* @param e - output file type
|
57
51
|
*/
|
@@ -12,7 +12,7 @@ export declare class AXRequestHeadersComponent {
|
|
12
12
|
protected headersKeyHandler(e: AXValueChangedEvent<any>, id: string): void;
|
13
13
|
protected setInitialState(item: HeadersDynamic, type: string): string;
|
14
14
|
protected filterUnnecessaryKey(): {
|
15
|
-
[
|
15
|
+
[key: string]: string;
|
16
16
|
Authorization: string;
|
17
17
|
ContentType: string;
|
18
18
|
tempId?: string;
|
@@ -8,6 +8,7 @@ export interface AXToastDisplayConfig {
|
|
8
8
|
color: AXStyleColorType;
|
9
9
|
timeOut?: number;
|
10
10
|
timeOutProgress?: boolean;
|
11
|
+
pauseOnHover?: boolean;
|
11
12
|
}
|
12
13
|
export interface AXToastData {
|
13
14
|
icon?: string;
|
@@ -19,6 +20,7 @@ export interface AXToastData {
|
|
19
20
|
timeOut?: number;
|
20
21
|
timeOutProgress: boolean;
|
21
22
|
closeAllButton?: boolean;
|
23
|
+
pauseOnHover?: boolean;
|
22
24
|
}
|
23
25
|
export interface AXToastRef {
|
24
26
|
close(): void;
|
@@ -15,6 +15,10 @@ export declare class AXToastComponent extends MXBaseComponent implements OnInit
|
|
15
15
|
dialogRef: DialogRef<AXComponentCloseEvent>;
|
16
16
|
toastService: AXToastService;
|
17
17
|
createdDate: import("@angular/core").WritableSignal<number>;
|
18
|
+
private intervalId;
|
19
|
+
private isPaused;
|
20
|
+
protected remainingTime: import("@angular/core").WritableSignal<number>;
|
21
|
+
protected transitionDuration: import("@angular/core").WritableSignal<number>;
|
18
22
|
/** @ignore */
|
19
23
|
protected _toastWidth: number;
|
20
24
|
/** @ignore */
|
@@ -25,6 +29,9 @@ export declare class AXToastComponent extends MXBaseComponent implements OnInit
|
|
25
29
|
constructor(config: AXToastData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
26
30
|
/** @ignore */
|
27
31
|
ngOnInit(): void;
|
32
|
+
private pauseAnimation;
|
33
|
+
private _handleTimeOut;
|
34
|
+
private _initIcon;
|
28
35
|
/** @ignore */
|
29
36
|
_handleButtonClick(button: AXButtonItem): void;
|
30
37
|
/** @ignore */
|
@@ -1,29 +1,25 @@
|
|
1
1
|
import { NXComponent } from '@acorex/components/common';
|
2
2
|
import { AXPlatform } from '@acorex/core/platform';
|
3
|
-
import {
|
3
|
+
import { AXTreeViewOperationMethod } from './tree-view.class';
|
4
|
+
import { AXTreeViewComponent } from './tree-view.component';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export declare class AXTreeViewItemComponent extends NXComponent {
|
6
7
|
constructor();
|
7
|
-
|
8
|
-
|
9
|
-
onNodeClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
8
|
+
treeView: AXTreeViewComponent;
|
9
|
+
item: import("@angular/core").InputSignal<unknown>;
|
10
10
|
isExpanded: import("@angular/core").ModelSignal<boolean>;
|
11
|
-
hasChildField: import("@angular/core").InputSignal<string>;
|
12
11
|
isActive: import("@angular/core").ModelSignal<boolean>;
|
13
|
-
onNodeDbClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
14
12
|
isLoading: import("@angular/core").InputSignal<boolean>;
|
15
|
-
disableField: import("@angular/core").InputSignal<string>;
|
16
13
|
expandIconField: import("@angular/core").InputSignal<{
|
17
14
|
expand: string;
|
18
15
|
unExpand: string;
|
19
16
|
}>;
|
20
|
-
executorChanges: import("@angular/core").InputSignal<
|
17
|
+
executorChanges: import("@angular/core").InputSignal<AXTreeViewOperationMethod>;
|
21
18
|
protected platformService: AXPlatform;
|
22
|
-
expandBehavior: import("@angular/core").InputSignal<"click" | "dbClick" | "both">;
|
23
19
|
protected arrowIcon: import("@angular/core").Signal<string>;
|
24
20
|
protected handleArrowNodeClick(): void;
|
25
|
-
protected handleTextClick(item:
|
26
|
-
protected handleTextDbClick(item:
|
21
|
+
protected handleTextClick(item: unknown): void;
|
22
|
+
protected handleTextDbClick(item: unknown): void;
|
27
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewItemComponent, never>;
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewItemComponent, "ax-tree-view-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewItemComponent, "ax-tree-view-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "expandIconField": { "alias": "expandIconField"; "required": false; "isSignal": true; }; "executorChanges": { "alias": "executorChanges"; "required": false; "isSignal": true; }; }, { "isExpanded": "isExpandedChange"; "isActive": "isActiveChange"; }, never, ["ax-check-box", "ax-prefix", "ax-text", "ax-suffix", "*"], true, never>;
|
29
25
|
}
|
@@ -1,24 +1,8 @@
|
|
1
1
|
import { AXClickEvent } from '@acorex/components/common';
|
2
|
-
export interface AXTreeViewSchema {
|
3
|
-
id: number | string;
|
4
|
-
parentId?: number | string;
|
5
|
-
text: string;
|
6
|
-
childrens?: AXTreeViewSchema[];
|
7
|
-
icon?: string;
|
8
|
-
selected?: boolean;
|
9
|
-
disabled?: boolean;
|
10
|
-
isExpanded?: boolean;
|
11
|
-
indeterminate?: boolean;
|
12
|
-
active?: boolean;
|
13
|
-
hasChild?: boolean;
|
14
|
-
visible?: boolean;
|
15
|
-
tooltip?: string;
|
16
|
-
exteraData?: any;
|
17
|
-
extension?: string;
|
18
|
-
}
|
19
2
|
export declare class AXTreeItemClickBaseEvent extends AXClickEvent {
|
20
3
|
nativeElement: any;
|
21
4
|
}
|
22
|
-
export type
|
23
|
-
export type
|
24
|
-
export type
|
5
|
+
export type AXTreeViewSelectionBehavior = 'autoExpand' | 'cascade' | 'indeterminate';
|
6
|
+
export type AXTreeViewExpandBehavior = 'click' | 'dbClick' | 'defult';
|
7
|
+
export type AXTreeViewOperationMethod = 'expand' | 'active' | 'visible' | 'disabled';
|
8
|
+
export type AXTreeViewLook = 'with-line' | 'defult';
|
@@ -1,28 +1,39 @@
|
|
1
1
|
import { AXValueChangedEvent, NXComponent } from '@acorex/components/common';
|
2
|
-
import {
|
2
|
+
import { AXPlatform } from '@acorex/core/platform';
|
3
|
+
import { AXTreeItemClickBaseEvent, AXTreeViewExpandBehavior, AXTreeViewLook, AXTreeViewOperationMethod, AXTreeViewSelectionBehavior } from './tree-view.class';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class AXTreeViewComponent extends NXComponent {
|
5
6
|
#private;
|
6
|
-
|
7
|
-
private
|
8
|
-
|
9
|
-
|
7
|
+
/** @ignore */
|
8
|
+
private get __hostClass();
|
9
|
+
itemsSignal: import("@angular/core").WritableSignal<unknown[]>;
|
10
|
+
itemsPromise: any;
|
11
|
+
items: import("@angular/core").InputSignal<unknown[] | ((selectedItemId?: string | number) => unknown[] | Promise<unknown[]>)>;
|
12
|
+
protected get resolvedItems(): unknown[];
|
10
13
|
showCheckbox: import("@angular/core").InputSignal<boolean>;
|
11
14
|
selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
|
12
|
-
selectionBehavior: import("@angular/core").InputSignal<
|
15
|
+
selectionBehavior: import("@angular/core").InputSignal<AXTreeViewSelectionBehavior>;
|
13
16
|
focusNodeEnabled: import("@angular/core").InputSignal<boolean>;
|
14
17
|
valueField: import("@angular/core").InputSignal<string>;
|
15
18
|
textField: import("@angular/core").InputSignal<string>;
|
16
19
|
visibleField: import("@angular/core").InputSignal<string>;
|
17
20
|
disableField: import("@angular/core").InputSignal<string>;
|
18
21
|
hasChildField: import("@angular/core").InputSignal<string>;
|
22
|
+
selectedField: import("@angular/core").InputSignal<string>;
|
23
|
+
expandedField: import("@angular/core").InputSignal<string>;
|
24
|
+
tooltipField: import("@angular/core").InputSignal<string>;
|
25
|
+
childrenField: import("@angular/core").InputSignal<string>;
|
26
|
+
activeField: import("@angular/core").InputSignal<string>;
|
19
27
|
iconField: import("@angular/core").InputSignal<string>;
|
20
28
|
onSelectionChanged: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
21
29
|
onNodeClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
22
30
|
onCollapsedChanged: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
23
|
-
|
24
|
-
|
25
|
-
|
31
|
+
onNodedbClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
32
|
+
executorChanges: import("@angular/core").WritableSignal<AXTreeViewOperationMethod>;
|
33
|
+
look: import("@angular/core").InputSignal<AXTreeViewLook>;
|
34
|
+
protected platformService: AXPlatform;
|
35
|
+
expandOn: import("@angular/core").InputSignal<AXTreeViewExpandBehavior>;
|
36
|
+
protected handleNodeSelectionClick(event: AXValueChangedEvent, item: unknown): void;
|
26
37
|
/**
|
27
38
|
*
|
28
39
|
* auto expand
|
@@ -60,7 +71,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
60
71
|
* lazy load logic
|
61
72
|
*
|
62
73
|
*/
|
63
|
-
|
74
|
+
fetchData(selectedNode?: unknown): void;
|
64
75
|
private findNode;
|
65
76
|
/**
|
66
77
|
*
|
@@ -68,13 +79,11 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
68
79
|
*
|
69
80
|
*/
|
70
81
|
protected handleNodeExpandClick(node: AXTreeItemClickBaseEvent): void;
|
71
|
-
|
72
|
-
private handleUnActiveNode;
|
73
|
-
protected handleNodeDbClick(node: AXTreeItemClickBaseEvent): void;
|
82
|
+
handleUnActiveNode(unActiveSource: unknown[]): void;
|
74
83
|
private loadingState;
|
75
84
|
protected isNodeLoading(nodeId: string | number): boolean;
|
76
|
-
|
77
|
-
executeOnTreeNode(node:
|
85
|
+
setNodeLoading(nodeId: string | number, isLoading: boolean): void;
|
86
|
+
executeOnTreeNode(node: unknown, operation: AXTreeViewOperationMethod, value: boolean): void;
|
78
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "focusNodeEnabled": { "alias": "focusNodeEnabled"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "visibleField": { "alias": "visibleField"; "required": false; "isSignal": true; }; "disableField": { "alias": "disableField"; "required": false; "isSignal": true; }; "hasChildField": { "alias": "hasChildField"; "required": false; "isSignal": true; }; "iconField": { "alias": "iconField"; "required": false; "isSignal": true; }; "
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "focusNodeEnabled": { "alias": "focusNodeEnabled"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "visibleField": { "alias": "visibleField"; "required": false; "isSignal": true; }; "disableField": { "alias": "disableField"; "required": false; "isSignal": true; }; "hasChildField": { "alias": "hasChildField"; "required": false; "isSignal": true; }; "selectedField": { "alias": "selectedField"; "required": false; "isSignal": true; }; "expandedField": { "alias": "expandedField"; "required": false; "isSignal": true; }; "tooltipField": { "alias": "tooltipField"; "required": false; "isSignal": true; }; "childrenField": { "alias": "childrenField"; "required": false; "isSignal": true; }; "activeField": { "alias": "activeField"; "required": false; "isSignal": true; }; "iconField": { "alias": "iconField"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "expandOn": { "alias": "expandOn"; "required": false; "isSignal": true; }; }, { "onSelectionChanged": "onSelectionChanged"; "onNodeClick": "onNodeClick"; "onCollapsedChanged": "onCollapsedChanged"; "onNodedbClick": "onNodedbClick"; }, never, never, true, never>;
|
80
89
|
}
|
package/image-editor/lib/image-editor-tools/image-editor-header/image-editor-header.component.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { AXImageEditorContainerComponent } from '../../image-editor-container/image-editor-container.component';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
/**
|
4
|
-
* paint mode.
|
5
|
-
* @category Components
|
6
|
-
*/
|
7
|
-
export declare class AXimageEditorHeaderComponent {
|
8
|
-
protected parent: AXImageEditorContainerComponent;
|
9
|
-
protected saveHandler(): void;
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXimageEditorHeaderComponent, never>;
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXimageEditorHeaderComponent, "ax-image-editor-header", never, {}, {}, never, never, true, never>;
|
12
|
-
}
|