@acorex/components 22.0.0 → 22.0.1-next.0

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.
Files changed (149) hide show
  1. package/emoji/README.md +3 -0
  2. package/emojipicker/README.md +3 -0
  3. package/fesm2022/acorex-components-accordion.mjs +4 -4
  4. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  5. package/fesm2022/acorex-components-audio-wave.mjs +291 -267
  6. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  7. package/fesm2022/acorex-components-bubble.mjs +71 -0
  8. package/fesm2022/acorex-components-bubble.mjs.map +1 -0
  9. package/fesm2022/acorex-components-button-group.mjs +12 -5
  10. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  11. package/fesm2022/acorex-components-button.mjs +2 -2
  12. package/fesm2022/acorex-components-button.mjs.map +1 -1
  13. package/fesm2022/acorex-components-calendar.mjs +321 -118
  14. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  15. package/fesm2022/acorex-components-combo-box.mjs +238 -48
  16. package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
  17. package/fesm2022/acorex-components-conversation-acorex-components-conversation-DDkiZfPb.mjs +19058 -0
  18. package/fesm2022/acorex-components-conversation-acorex-components-conversation-DDkiZfPb.mjs.map +1 -0
  19. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs +50 -0
  20. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs.map +1 -0
  21. package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs +87 -0
  22. package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs.map +1 -0
  23. package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-CH3Q6Hry.mjs +65 -0
  24. package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-CH3Q6Hry.mjs.map +1 -0
  25. package/fesm2022/acorex-components-conversation.mjs +1 -15470
  26. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  27. package/fesm2022/acorex-components-cron-job.mjs +1 -1
  28. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  29. package/fesm2022/acorex-components-data-pager.mjs +4 -4
  30. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  31. package/fesm2022/acorex-components-data-table.mjs +126 -30
  32. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  33. package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
  34. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  35. package/fesm2022/acorex-components-decorators.mjs +36 -6
  36. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  37. package/fesm2022/acorex-components-dialog.mjs +1 -1
  38. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  39. package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
  40. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  41. package/fesm2022/acorex-components-emoji.mjs +74 -0
  42. package/fesm2022/acorex-components-emoji.mjs.map +1 -0
  43. package/fesm2022/acorex-components-emojipicker.mjs +425 -0
  44. package/fesm2022/acorex-components-emojipicker.mjs.map +1 -0
  45. package/fesm2022/acorex-components-fab.mjs +2 -2
  46. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  47. package/fesm2022/acorex-components-file-viewer.mjs +339 -89
  48. package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
  49. package/fesm2022/acorex-components-form.mjs +1 -1
  50. package/fesm2022/acorex-components-form.mjs.map +1 -1
  51. package/fesm2022/acorex-components-highlight.mjs +80 -0
  52. package/fesm2022/acorex-components-highlight.mjs.map +1 -0
  53. package/fesm2022/acorex-components-image-editor.mjs +686 -416
  54. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  55. package/fesm2022/acorex-components-inline-reaction.mjs +111 -0
  56. package/fesm2022/acorex-components-inline-reaction.mjs.map +1 -0
  57. package/fesm2022/acorex-components-kanban.mjs +1 -1
  58. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  59. package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
  60. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  61. package/fesm2022/acorex-components-lookup.mjs +742 -134
  62. package/fesm2022/acorex-components-lookup.mjs.map +1 -1
  63. package/fesm2022/acorex-components-map.mjs +7 -0
  64. package/fesm2022/acorex-components-map.mjs.map +1 -1
  65. package/fesm2022/acorex-components-menu.mjs +96 -16
  66. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  67. package/fesm2022/acorex-components-message-status.mjs +71 -0
  68. package/fesm2022/acorex-components-message-status.mjs.map +1 -0
  69. package/fesm2022/acorex-components-message-time.mjs +36 -0
  70. package/fesm2022/acorex-components-message-time.mjs.map +1 -0
  71. package/fesm2022/acorex-components-message.mjs +120 -0
  72. package/fesm2022/acorex-components-message.mjs.map +1 -0
  73. package/fesm2022/acorex-components-notification.mjs +1 -1
  74. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  75. package/fesm2022/acorex-components-paint.mjs +1 -1
  76. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  77. package/fesm2022/acorex-components-popover.mjs +19 -8
  78. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  79. package/fesm2022/acorex-components-popup.mjs +1 -1
  80. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  81. package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
  82. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  83. package/fesm2022/acorex-components-range-slider.mjs +2 -2
  84. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  85. package/fesm2022/acorex-components-reaction.mjs +144 -0
  86. package/fesm2022/acorex-components-reaction.mjs.map +1 -0
  87. package/fesm2022/acorex-components-rest-api-generator.mjs +5 -5
  88. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  89. package/fesm2022/acorex-components-rrule.mjs +1 -1
  90. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  91. package/fesm2022/acorex-components-scheduler-picker.mjs +5 -5
  92. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  93. package/fesm2022/acorex-components-scheduler.mjs +1 -1
  94. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  95. package/fesm2022/acorex-components-selection-list.mjs +1 -2
  96. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  97. package/fesm2022/acorex-components-tabs.mjs +510 -74
  98. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  99. package/fesm2022/acorex-components-tree-view.mjs +49 -6
  100. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  101. package/fesm2022/acorex-components-wysiwyg.mjs +76 -6
  102. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  103. package/highlight/README.md +13 -0
  104. package/inline-reaction/README.md +3 -0
  105. package/lookup/README.md +1 -1
  106. package/message/README.md +3 -0
  107. package/message-status/README.md +3 -0
  108. package/message-time/README.md +3 -0
  109. package/package.json +42 -12
  110. package/reaction/README.md +3 -0
  111. package/types/acorex-components-audio-wave.d.ts +132 -73
  112. package/types/acorex-components-bubble.d.ts +31 -0
  113. package/types/acorex-components-button-group.d.ts +4 -0
  114. package/types/acorex-components-button.d.ts +1 -1
  115. package/types/acorex-components-calendar.d.ts +41 -9
  116. package/types/acorex-components-combo-box.d.ts +34 -4
  117. package/types/acorex-components-conversation.d.ts +1745 -1322
  118. package/types/acorex-components-data-table.d.ts +27 -7
  119. package/types/acorex-components-decorators.d.ts +13 -1
  120. package/types/acorex-components-emoji.d.ts +42 -0
  121. package/types/acorex-components-emojipicker.d.ts +146 -0
  122. package/types/acorex-components-file-viewer.d.ts +48 -4
  123. package/types/acorex-components-highlight.d.ts +31 -0
  124. package/types/acorex-components-image-editor.d.ts +68 -48
  125. package/types/acorex-components-inline-reaction.d.ts +52 -0
  126. package/types/acorex-components-lookup.d.ts +213 -82
  127. package/types/acorex-components-map.d.ts +5 -0
  128. package/types/acorex-components-menu.d.ts +15 -3
  129. package/types/acorex-components-message-status.d.ts +23 -0
  130. package/types/acorex-components-message-time.d.ts +19 -0
  131. package/types/acorex-components-message.d.ts +59 -0
  132. package/types/acorex-components-popover.d.ts +5 -3
  133. package/types/acorex-components-reaction.d.ts +85 -0
  134. package/types/acorex-components-selection-list.d.ts +1 -1
  135. package/types/acorex-components-tabs.d.ts +148 -19
  136. package/types/acorex-components-tree-view.d.ts +31 -2
  137. package/types/acorex-components-wysiwyg.d.ts +13 -0
  138. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs +0 -50
  139. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-DCcRJYfF.mjs.map +0 -1
  140. package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-DnSW908R.mjs +0 -210
  141. package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-DnSW908R.mjs.map +0 -1
  142. package/fesm2022/acorex-components-flow-chart.mjs +0 -735
  143. package/fesm2022/acorex-components-flow-chart.mjs.map +0 -1
  144. package/fesm2022/acorex-components-query-builder.mjs +0 -267
  145. package/fesm2022/acorex-components-query-builder.mjs.map +0 -1
  146. package/flow-chart/README.md +0 -3
  147. package/query-builder/README.md +0 -3
  148. package/types/acorex-components-flow-chart.d.ts +0 -187
  149. package/types/acorex-components-query-builder.d.ts +0 -52
@@ -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,27 @@ 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;
33
+ /** Handles Ctrl/Cmd+Z and Ctrl/Cmd+Y history shortcuts. Returns true when handled. */
34
+ handleHistoryShortcut(event: KeyboardEvent): boolean;
37
35
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorService, never>;
38
36
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXImageEditorService>;
39
37
  }
40
38
 
39
+ type AXImageEditorCropHandle = 'right' | 'top' | 'left' | 'bottom' | 'right-top' | 'bottom-right' | 'bottom-left' | 'left-top';
41
40
  /**
42
41
  * paint mode.
43
42
  * @category Components
@@ -55,39 +54,41 @@ declare class AXImageEditorCropperWindowComponent implements OnDestroy {
55
54
  protected cropperWindow: _angular_core.Signal<ElementRef<any>>;
56
55
  private currentX;
57
56
  private currentY;
58
- private prevX;
59
- private prevY;
60
57
  private aspectWidth;
61
58
  private aspectHeight;
62
59
  private isMousePressed;
63
60
  protected renderer: Renderer2;
64
61
  private platformID;
65
- private mouseMoveEvent;
66
- private mouseUpEvent;
67
- private mouseMoveEvent2;
68
- private mouseUpEvent2;
69
- private mouseDownEvent;
70
- private mouseLeaveEvent;
62
+ private mouseMoveEvent?;
63
+ private mouseUpEvent?;
64
+ private mouseMoveEvent2?;
65
+ private mouseUpEvent2?;
66
+ private mouseDownEvent?;
67
+ private mouseLeaveEvent?;
68
+ private positioned;
71
69
  ngOnDestroy(): void;
72
- protected panMove(e: MouseEvent): void;
73
- protected panDown(e: MouseEvent): void;
70
+ protected panMove(e: PointerEvent): void;
71
+ protected panDown(e: PointerEvent): void;
74
72
  protected panUp(): void;
75
73
  getCropperArea(): DOMRect;
76
- private setPosition;
77
74
  private startX;
78
75
  private startY;
79
76
  private startWidth;
80
77
  private startHeight;
81
78
  private startLeft;
82
79
  private startTop;
83
- protected handleSelector(e: MouseEvent, value: string): void;
84
- protected changeSizeHandler(e: MouseEvent): void;
80
+ protected handleSelector(e: PointerEvent, value: AXImageEditorCropHandle): void;
81
+ protected changeSizeHandler(e: PointerEvent): void;
85
82
  protected clearSelector(): void;
83
+ private normalizeRatio;
84
+ private centerOnParent;
85
+ private clampToParent;
86
+ private applyPosition;
86
87
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorCropperWindowComponent, never>;
87
88
  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
89
  }
89
90
 
90
- declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDestroy {
91
+ declare class AXImageEditorViewComponent extends MXBaseComponent {
91
92
  /**
92
93
  * its change grid display state.
93
94
  */
@@ -118,44 +119,54 @@ declare class AXImageEditorViewComponent extends MXBaseComponent implements OnDe
118
119
  protected isDrawRectangleCreated: _angular_core.WritableSignal<boolean>;
119
120
  /** @ignore */
120
121
  protected parent: AXImageEditorContainerComponent;
121
- /** @ignore */
122
- protected renderer: Renderer2;
122
+ private readonly destroyRef;
123
+ private readonly host;
123
124
  /** @ignore */
124
125
  protected imageEditorHistory: _angular_core.WritableSignal<HTMLImageElement[]>;
125
126
  /** @ignore */
126
127
  protected imageEditorHistoryPointer: _angular_core.WritableSignal<number>;
127
- /** @ignore */
128
- private resizeEventListener;
129
- /** @ignore */
130
- private imageLoadEventListener;
131
- private originalWidth;
132
- private originalHeight;
133
- private scale;
128
+ private canvasReady;
129
+ private drawing;
130
+ private didDraw;
131
+ private highlightSnapshot;
132
+ private highlightPoints;
133
+ private persistGeneration;
134
+ private sourceToken;
135
+ constructor();
134
136
  /** @ignore */
135
137
  protected resizeWindow(): void;
136
138
  /** @ignore */
137
139
  protected canvasResponsive(image: HTMLImageElement): void;
138
- /** @ignore */
139
- constructor();
140
- /** @ignore */
141
- ngOnDestroy(): void;
142
- private setInitialImage;
143
- /** @ignore */
144
- protected imageChanged(): void;
140
+ private loadSource;
141
+ private paintImage;
142
+ private fitCanvasDisplay;
143
+ private replaceHistory;
144
+ private pushHistory;
145
+ private syncHistoryFlags;
146
+ private applyUndo;
147
+ private applyRedo;
148
+ private canvasPoint;
149
+ private isDrawTool;
145
150
  /** @ignore */
146
151
  protected penConfigHandler(penType: 'pen' | 'highlight'): void;
152
+ private strokeHighlight;
147
153
  /** @ignore */
148
- protected mouseDownHandler(e: MouseEvent): void;
154
+ protected historyKeyDown(event: KeyboardEvent): void;
149
155
  /** @ignore */
150
- protected mouseMoveHandler(e: MouseEvent): void;
156
+ protected focusCanvas(): void;
151
157
  /** @ignore */
152
- protected mouseUpHandler(): void;
158
+ protected mouseDownHandler(event: PointerEvent): void;
153
159
  /** @ignore */
154
- crop(): Promise<void>;
160
+ protected mouseMoveHandler(event: PointerEvent): void;
155
161
  /** @ignore */
156
- protected rotateImage(): void;
162
+ protected mouseUpHandler(event?: PointerEvent): void;
163
+ /** Applies the current cropper selection. */
164
+ crop(): Promise<void>;
165
+ /** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
166
+ commitChanges(): Promise<Blob[]>;
157
167
  /** @ignore */
158
- protected saveImageChange(): Promise<void>;
168
+ protected rotateImage(): Promise<void>;
169
+ private persistCanvas;
159
170
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorViewComponent, never>;
160
171
  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
172
  }
@@ -173,12 +184,21 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
173
184
  #private;
174
185
  /** @ignore */
175
186
  protected service: AXImageEditorService;
187
+ private readonly host;
188
+ private readonly destroyRef;
176
189
  imageEditorContainer: _angular_core.Signal<ElementRef<any>>;
177
190
  view: _angular_core.Signal<AXImageEditorViewComponent>;
191
+ constructor();
192
+ /** @ignore */
193
+ protected focusEditor(): void;
178
194
  /** Applies the current cropper selection. */
179
195
  crop(): Promise<void>;
180
- get __hostClass(): string;
181
- private get __hostName();
196
+ /** @ignore */
197
+ protected onEditorPointerDown(event: PointerEvent): void;
198
+ /** @ignore */
199
+ protected handleHistoryShortcut(event: KeyboardEvent): void;
200
+ /** Encodes the current canvas into JPEG, PNG, and WebP blobs. */
201
+ commitChanges(): Promise<Blob[]>;
182
202
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
183
203
  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
204
  }
@@ -287,7 +307,7 @@ declare class AXImageEditorToolSelectorComponent {
287
307
 
288
308
  declare class AXImageEditorModule {
289
309
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorModule, never>;
290
- static ɵmod: _angular_core.ɵɵ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 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]>;
310
+ 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
311
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXImageEditorModule>;
292
312
  }
293
313
 
@@ -0,0 +1,52 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { AXEmoji } from '@acorex/core/constants';
3
+
4
+ declare class AXInlineReactionComponent {
5
+ private readonly elementRef;
6
+ private readonly document;
7
+ private readonly platformId;
8
+ readonly emojis: _angular_core.InputSignal<readonly AXEmoji[]>;
9
+ readonly size: _angular_core.InputSignal<number>;
10
+ /** Whether the reaction bar is expanded to show all emojis. */
11
+ readonly expanded: _angular_core.WritableSignal<boolean>;
12
+ /**
13
+ * Maximum number of emojis to display in the bar.
14
+ *
15
+ * @defaultValue 8
16
+ */
17
+ readonly maxVisible: _angular_core.InputSignal<number>;
18
+ /**
19
+ * When true, hides the expand button and always shows the collapsed bar only.
20
+ *
21
+ * @defaultValue false
22
+ */
23
+ readonly showExpanded: _angular_core.InputSignal<boolean>;
24
+ /**
25
+ * When true, collapses the bar when the user clicks outside the component.
26
+ *
27
+ * @defaultValue true
28
+ */
29
+ readonly closeOnClickOutside: _angular_core.InputSignal<boolean>;
30
+ /**
31
+ * Emits when the user clicks a quick reaction.
32
+ */
33
+ readonly selected: _angular_core.OutputEmitterRef<AXEmoji>;
34
+ /**
35
+ * Emits when the expanded state changes (expand button or click outside).
36
+ */
37
+ readonly expandedChange: _angular_core.OutputEmitterRef<boolean>;
38
+ protected readonly visibleEmojis: _angular_core.Signal<readonly AXEmoji[]>;
39
+ constructor();
40
+ protected toggleExpanded(event: Event): void;
41
+ private setExpanded;
42
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInlineReactionComponent, never>;
43
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXInlineReactionComponent, "ax-inline-reaction", never, { "emojis": { "alias": "emojis"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; "showExpanded": { "alias": "showExpanded"; "required": false; "isSignal": true; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "expandedChange": "expandedChange"; }, never, never, true, never>;
44
+ }
45
+
46
+ declare class AXInlineReactionModule {
47
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInlineReactionModule, never>;
48
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXInlineReactionModule, never, [typeof AXInlineReactionComponent], [typeof AXInlineReactionComponent]>;
49
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXInlineReactionModule>;
50
+ }
51
+
52
+ export { AXInlineReactionComponent, AXInlineReactionModule };