@acorex/components 22.1.0-next.9 → 22.1.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/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +15 -0
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +321 -118
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +259 -37
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-BtkyQUlh.mjs +16548 -0
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-BtkyQUlh.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-D4ca9Mvt.mjs +51 -0
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-D4ca9Mvt.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-QVs1XWYf.mjs +85 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-QVs1XWYf.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-open-composer-picker-for-files-BuNEjswI.mjs → acorex-components-conversation-open-composer-picker-for-files-BKKO_8x6.mjs} +7 -20
- package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-BKKO_8x6.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-BNKFb5yO.mjs +65 -0
- package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-BNKFb5yO.mjs.map +1 -0
- package/fesm2022/acorex-components-conversation.mjs +1 -17608
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +57 -23
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-fab.mjs +5 -5
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +600 -409
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +1281 -177
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +11 -5
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +6 -6
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +33 -0
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +38 -11
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +52 -4
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/lookup/README.md +19 -8
- package/package.json +4 -3
- package/types/acorex-components-audio-wave.d.ts +3 -0
- package/types/acorex-components-calendar.d.ts +41 -9
- package/types/acorex-components-combo-box.d.ts +50 -10
- package/types/acorex-components-conversation.d.ts +1232 -1782
- package/types/acorex-components-data-table.d.ts +12 -2
- package/types/acorex-components-image-editor.d.ts +54 -49
- package/types/acorex-components-lookup.d.ts +290 -73
- package/types/acorex-components-popover.d.ts +8 -0
- package/types/acorex-components-select-box.d.ts +11 -0
- package/types/acorex-components-tree-view.d.ts +22 -2
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs +0 -50
- package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-BuNEjswI.mjs.map +0 -1
|
@@ -428,7 +428,7 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
428
428
|
/**
|
|
429
429
|
* @ignore
|
|
430
430
|
*/
|
|
431
|
-
protected handleExpandRow(row: any): Promise<void>;
|
|
431
|
+
protected handleExpandRow(row: any, event?: Event): Promise<void>;
|
|
432
432
|
/**
|
|
433
433
|
* Generates a unique name based on the `dataField` value.
|
|
434
434
|
*/
|
|
@@ -641,7 +641,7 @@ declare class AXRowExpandColumnComponent extends AXDataTableColumnComponent {
|
|
|
641
641
|
/**
|
|
642
642
|
* @ignore
|
|
643
643
|
*/
|
|
644
|
-
protected handleExpandRow(row: any): Promise<void>;
|
|
644
|
+
protected handleExpandRow(row: any, event?: Event): Promise<void>;
|
|
645
645
|
/**
|
|
646
646
|
* Indicates whether loading is enabled for the column.
|
|
647
647
|
*/
|
|
@@ -853,6 +853,11 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
853
853
|
* @ignore
|
|
854
854
|
*/
|
|
855
855
|
protected normalColumnsList: Signal<any[]>;
|
|
856
|
+
/**
|
|
857
|
+
* True when a text column owns the tree expander. That column stays `width: auto`
|
|
858
|
+
* so leftover table space is used for nested indent instead of the empty spacer.
|
|
859
|
+
*/
|
|
860
|
+
protected hasTreeFillColumn: Signal<boolean>;
|
|
856
861
|
/**
|
|
857
862
|
* @ignore
|
|
858
863
|
*/
|
|
@@ -1051,11 +1056,16 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1051
1056
|
* @ignore
|
|
1052
1057
|
*/
|
|
1053
1058
|
ngOnInit(): void;
|
|
1059
|
+
private applyLoadedRows;
|
|
1054
1060
|
/**
|
|
1055
1061
|
* @ignore
|
|
1056
1062
|
*/
|
|
1057
1063
|
ngAfterViewInit(): void;
|
|
1058
1064
|
private captureAutoFitIntentColumns;
|
|
1065
|
+
/**
|
|
1066
|
+
* Tree expand columns must keep `width: auto` so nested indent can use leftover table space.
|
|
1067
|
+
*/
|
|
1068
|
+
private isTreeFillColumn;
|
|
1059
1069
|
/**
|
|
1060
1070
|
* Returns the display text for a cell. Used for the cell tooltip when the column has `hasTitle`.
|
|
1061
1071
|
*/
|
|
@@ -2,15 +2,6 @@ import * as polytype from 'polytype';
|
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
4
4
|
import { MXBaseComponent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
|
|
5
|
-
import * as i1 from '@acorex/components/button';
|
|
6
|
-
import * as i2 from '@angular/forms';
|
|
7
|
-
import * as i3 from '@acorex/components/range-slider';
|
|
8
|
-
import * as i4 from '@acorex/components/select-box';
|
|
9
|
-
import * as i5 from '@acorex/components/color-box';
|
|
10
|
-
import * as i6 from '@acorex/components/popover';
|
|
11
|
-
import * as i7 from '@acorex/components/decorators';
|
|
12
|
-
import * as i8 from '@acorex/components/loading';
|
|
13
|
-
import * as i9 from '@acorex/components/dialog';
|
|
14
5
|
|
|
15
6
|
type AXImageEditorTool = 'pen' | 'highlight' | 'crop' | 'rotate';
|
|
16
7
|
declare class AXImageEditorService {
|
|
@@ -25,19 +16,25 @@ declare class AXImageEditorService {
|
|
|
25
16
|
userInteract: boolean;
|
|
26
17
|
}>;
|
|
27
18
|
isImageLoad: _angular_core.WritableSignal<boolean>;
|
|
19
|
+
loadError: _angular_core.WritableSignal<boolean>;
|
|
28
20
|
newImage: HTMLImageElement | null;
|
|
29
21
|
initialImage: HTMLImageElement | null;
|
|
30
22
|
imageBlob: _angular_core.WritableSignal<Blob[]>;
|
|
31
23
|
undoPressed: _angular_core.WritableSignal<boolean>;
|
|
32
24
|
redoPressed: _angular_core.WritableSignal<boolean>;
|
|
25
|
+
canUndo: _angular_core.WritableSignal<boolean>;
|
|
26
|
+
canRedo: _angular_core.WritableSignal<boolean>;
|
|
33
27
|
cropperRatio: _angular_core.WritableSignal<string>;
|
|
34
28
|
cropperSize: _angular_core.WritableSignal<number>;
|
|
35
29
|
toggleTool(tool: AXImageEditorTool): void;
|
|
36
30
|
activateTool(tool: AXImageEditorTool): void;
|
|
31
|
+
undo(): void;
|
|
32
|
+
redo(): void;
|
|
37
33
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
|
|
38
34
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
|
|
39
35
|
}
|
|
40
36
|
|
|
37
|
+
type AXImageEditorCropHandle = 'right' | 'top' | 'left' | 'bottom' | 'right-top' | 'bottom-right' | 'bottom-left' | 'left-top';
|
|
41
38
|
/**
|
|
42
39
|
* paint mode.
|
|
43
40
|
* @category Components
|
|
@@ -55,39 +52,41 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
|
|
|
55
52
|
protected cropperWindow: _angular_core.Signal<ElementRef<any>>;
|
|
56
53
|
private currentX;
|
|
57
54
|
private currentY;
|
|
58
|
-
private prevX;
|
|
59
|
-
private prevY;
|
|
60
55
|
private aspectWidth;
|
|
61
56
|
private aspectHeight;
|
|
62
57
|
private isMousePressed;
|
|
63
58
|
protected renderer: Renderer2;
|
|
64
59
|
private platformID;
|
|
65
|
-
private mouseMoveEvent
|
|
66
|
-
private mouseUpEvent
|
|
67
|
-
private mouseMoveEvent2
|
|
68
|
-
private mouseUpEvent2
|
|
69
|
-
private mouseDownEvent
|
|
70
|
-
private mouseLeaveEvent
|
|
60
|
+
private mouseMoveEvent?;
|
|
61
|
+
private mouseUpEvent?;
|
|
62
|
+
private mouseMoveEvent2?;
|
|
63
|
+
private mouseUpEvent2?;
|
|
64
|
+
private mouseDownEvent?;
|
|
65
|
+
private mouseLeaveEvent?;
|
|
66
|
+
private positioned;
|
|
71
67
|
ngOnDestroy(): void;
|
|
72
|
-
protected panMove(e:
|
|
73
|
-
protected panDown(e:
|
|
68
|
+
protected panMove(e: PointerEvent): void;
|
|
69
|
+
protected panDown(e: PointerEvent): void;
|
|
74
70
|
protected panUp(): void;
|
|
75
71
|
getCropperArea(): DOMRect;
|
|
76
|
-
private setPosition;
|
|
77
72
|
private startX;
|
|
78
73
|
private startY;
|
|
79
74
|
private startWidth;
|
|
80
75
|
private startHeight;
|
|
81
76
|
private startLeft;
|
|
82
77
|
private startTop;
|
|
83
|
-
protected handleSelector(e:
|
|
84
|
-
protected changeSizeHandler(e:
|
|
78
|
+
protected handleSelector(e: PointerEvent, value: AXImageEditorCropHandle): void;
|
|
79
|
+
protected changeSizeHandler(e: PointerEvent): void;
|
|
85
80
|
protected clearSelector(): void;
|
|
81
|
+
private normalizeRatio;
|
|
82
|
+
private centerOnParent;
|
|
83
|
+
private clampToParent;
|
|
84
|
+
private applyPosition;
|
|
86
85
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropperWindowComponent, never>;
|
|
87
86
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorCropperWindowComponent, "ax-image-editor-cropper-window", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
88
87
|
}
|
|
89
88
|
|
|
90
|
-
declare class AXImageEditorViewComponent extends MXBaseComponent
|
|
89
|
+
declare class AXImageEditorViewComponent extends MXBaseComponent {
|
|
91
90
|
/**
|
|
92
91
|
* its change grid display state.
|
|
93
92
|
*/
|
|
@@ -118,44 +117,50 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
|
|
|
118
117
|
protected isDrawRectangleCreated: _angular_core.WritableSignal<boolean>;
|
|
119
118
|
/** @ignore */
|
|
120
119
|
protected parent: AXImageEditorContainerComponent;
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
private readonly destroyRef;
|
|
121
|
+
private readonly host;
|
|
123
122
|
/** @ignore */
|
|
124
123
|
protected imageEditorHistory: _angular_core.WritableSignal<HTMLImageElement[]>;
|
|
125
124
|
/** @ignore */
|
|
126
125
|
protected imageEditorHistoryPointer: _angular_core.WritableSignal<number>;
|
|
127
|
-
|
|
128
|
-
private
|
|
129
|
-
|
|
130
|
-
private
|
|
131
|
-
private
|
|
132
|
-
private
|
|
133
|
-
private
|
|
126
|
+
private canvasReady;
|
|
127
|
+
private drawing;
|
|
128
|
+
private didDraw;
|
|
129
|
+
private highlightSnapshot;
|
|
130
|
+
private highlightPoints;
|
|
131
|
+
private persistGeneration;
|
|
132
|
+
private sourceToken;
|
|
133
|
+
constructor();
|
|
134
134
|
/** @ignore */
|
|
135
135
|
protected resizeWindow(): void;
|
|
136
136
|
/** @ignore */
|
|
137
137
|
protected canvasResponsive(image: HTMLImageElement): void;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
private
|
|
143
|
-
|
|
144
|
-
|
|
138
|
+
private loadSource;
|
|
139
|
+
private paintImage;
|
|
140
|
+
private fitCanvasDisplay;
|
|
141
|
+
private replaceHistory;
|
|
142
|
+
private pushHistory;
|
|
143
|
+
private syncHistoryFlags;
|
|
144
|
+
private applyUndo;
|
|
145
|
+
private applyRedo;
|
|
146
|
+
private canvasPoint;
|
|
147
|
+
private isDrawTool;
|
|
145
148
|
/** @ignore */
|
|
146
149
|
protected penConfigHandler(penType: 'pen' | 'highlight'): void;
|
|
150
|
+
private strokeHighlight;
|
|
147
151
|
/** @ignore */
|
|
148
|
-
protected mouseDownHandler(
|
|
152
|
+
protected mouseDownHandler(event: PointerEvent): void;
|
|
149
153
|
/** @ignore */
|
|
150
|
-
protected mouseMoveHandler(
|
|
151
|
-
/** @ignore */
|
|
152
|
-
protected mouseUpHandler(): void;
|
|
154
|
+
protected mouseMoveHandler(event: PointerEvent): void;
|
|
153
155
|
/** @ignore */
|
|
156
|
+
protected mouseUpHandler(event?: PointerEvent): void;
|
|
157
|
+
/** Applies the current cropper selection. */
|
|
154
158
|
crop(): Promise<void>;
|
|
159
|
+
/** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
|
|
160
|
+
commitChanges(): Promise<Blob[]>;
|
|
155
161
|
/** @ignore */
|
|
156
|
-
protected rotateImage(): void
|
|
157
|
-
|
|
158
|
-
protected saveImageChange(): Promise<void>;
|
|
162
|
+
protected rotateImage(): Promise<void>;
|
|
163
|
+
private persistCanvas;
|
|
159
164
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
|
|
160
165
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorViewComponent, "ax-image-editor-view", never, { "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "cropperSize": { "alias": "cropperSize"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
161
166
|
}
|
|
@@ -177,8 +182,8 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
|
177
182
|
view: _angular_core.Signal<AXImageEditorViewComponent>;
|
|
178
183
|
/** Applies the current cropper selection. */
|
|
179
184
|
crop(): Promise<void>;
|
|
180
|
-
|
|
181
|
-
|
|
185
|
+
/** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
|
|
186
|
+
commitChanges(): Promise<Blob[]>;
|
|
182
187
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
|
183
188
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-footer", "ax-validation-rule"], true, never>;
|
|
184
189
|
}
|
|
@@ -287,7 +292,7 @@ declare class AXImageEditorToolSelectorComponent {
|
|
|
287
292
|
|
|
288
293
|
declare class AXImageEditorModule {
|
|
289
294
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorModule, never>;
|
|
290
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof
|
|
295
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXImageEditorModule, never, [typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorToolsBarComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent], [typeof AXImageEditorViewComponent, typeof AXImageEditorContainerComponent, typeof AXImageEditorCropComponent, typeof AXImageEditorHistoryComponent, typeof AXImageEditorToolSelectorComponent, typeof AXImageEditorToolsBarComponent, typeof AXImageEditorPenComponent, typeof AXImageEditorHighlightComponent, typeof AXImageEditorRotateComponent, typeof AXImageEditorCropperWindowComponent]>;
|
|
291
296
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXImageEditorModule>;
|
|
292
297
|
}
|
|
293
298
|
|