@acorex/components 21.0.1-next.8 → 21.0.1-next.9
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/action-sheet/index.d.ts +41 -19
- package/conversation2/README.md +71 -31
- package/conversation2/index.d.ts +36 -35
- package/dialog/index.d.ts +18 -14
- package/dropdown/index.d.ts +3 -4
- package/fesm2022/acorex-components-action-sheet.mjs +141 -93
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +161 -155
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +10 -8
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +66 -45
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +9 -8
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +2 -2
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +26 -9
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +73 -36
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +26 -5
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs} +27 -3
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bmoz9DL5.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs → acorex-components-modal-modal-content.component-CSJU1vRi.mjs} +2 -2
- package/fesm2022/{acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map → acorex-components-modal-modal-content.component-CSJU1vRi.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-notification.mjs +374 -257
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +136 -175
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +308 -105
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +231 -123
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -3
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/kanban/index.d.ts +1 -7
- package/loading-dialog/index.d.ts +31 -15
- package/menu/index.d.ts +4 -0
- package/modal/index.d.ts +7 -0
- package/notification/index.d.ts +47 -32
- package/package.json +7 -7
- package/popover/index.d.ts +20 -27
- package/popup/index.d.ts +103 -27
- package/toast/index.d.ts +24 -18
- package/tooltip/index.d.ts +1 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
package/action-sheet/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AXStyleColorType, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
|
-
import {
|
|
1
|
+
import { AXStyleColorType, AXComponentCloseEvent, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, OnInit, OnDestroy } from '@angular/core';
|
|
4
|
+
import { TemplateRef, Type, OnInit, OnDestroy, ComponentRef } from '@angular/core';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
|
|
@@ -21,7 +21,7 @@ interface AXActionSheetItem {
|
|
|
21
21
|
title?: string;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
type AXActionSheetContentType = TemplateRef<unknown> |
|
|
24
|
+
type AXActionSheetContentType = TemplateRef<unknown> | Type<unknown>;
|
|
25
25
|
interface AXActionSheetConfig {
|
|
26
26
|
title?: string;
|
|
27
27
|
subTitle?: string;
|
|
@@ -35,13 +35,21 @@ interface AXActionSheetConfig {
|
|
|
35
35
|
dragUp?: boolean;
|
|
36
36
|
}
|
|
37
37
|
interface AXActionSheetEvent {
|
|
38
|
-
|
|
38
|
+
overlayRef?: AXOverlayRef<unknown>;
|
|
39
39
|
nativeEvent?: Event;
|
|
40
40
|
isUserInteraction: boolean;
|
|
41
41
|
data: {
|
|
42
42
|
state: 'open' | 'close' | 'dragStart' | 'dragEnd' | 'fullScreen' | 'normalSize';
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* Internal reference used by action sheet service to manage overlay instances
|
|
48
|
+
*/
|
|
49
|
+
interface AXActionSheetInternalRef {
|
|
50
|
+
overlayRef: AXOverlayRef<unknown>;
|
|
51
|
+
close: (result?: AXComponentCloseEvent) => void;
|
|
52
|
+
}
|
|
45
53
|
|
|
46
54
|
/**
|
|
47
55
|
* A component for displaying an action sheet, which is a menu that slides up from the bottom of the screen.
|
|
@@ -49,8 +57,12 @@ interface AXActionSheetEvent {
|
|
|
49
57
|
* @category Components
|
|
50
58
|
*/
|
|
51
59
|
declare class AXActionSheetComponent extends MXBaseComponent implements OnInit, OnDestroy {
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
/** Action sheet configuration data */
|
|
61
|
+
data: i0.InputSignal<AXActionSheetConfig>;
|
|
62
|
+
/** @internal Callback function to close the action sheet */
|
|
63
|
+
onClose: i0.InputSignal<(result?: AXComponentCloseEvent) => void>;
|
|
64
|
+
/** @internal Overlay reference for event tracking */
|
|
65
|
+
overlayRef: i0.InputSignal<AXOverlayRef<unknown>>;
|
|
54
66
|
private document;
|
|
55
67
|
private platformID;
|
|
56
68
|
private renderer;
|
|
@@ -65,14 +77,19 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
|
65
77
|
private actionSheetHeight;
|
|
66
78
|
private isActionSheetHeightSet;
|
|
67
79
|
private transitionDuration;
|
|
68
|
-
/**
|
|
69
|
-
* @ignore
|
|
70
|
-
*/
|
|
71
|
-
protected _selectedPortal: Portal<any>;
|
|
72
80
|
/**
|
|
73
81
|
* @ignore
|
|
74
82
|
*/
|
|
75
83
|
private _componentRef;
|
|
84
|
+
/** Template content if data.content is a TemplateRef */
|
|
85
|
+
protected templateContent: i0.Signal<TemplateRef<unknown>>;
|
|
86
|
+
/** Component content if data.content is a component Type */
|
|
87
|
+
protected componentContent: i0.Signal<Type<unknown>>;
|
|
88
|
+
/** Template context for ngTemplateOutlet */
|
|
89
|
+
protected templateContext: i0.Signal<{
|
|
90
|
+
$implicit: AXActionSheetConfig;
|
|
91
|
+
ref: AXActionSheetComponent;
|
|
92
|
+
}>;
|
|
76
93
|
/**
|
|
77
94
|
* @ignore
|
|
78
95
|
*/
|
|
@@ -83,7 +100,10 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
|
83
100
|
private handleDown;
|
|
84
101
|
private snapToFinalPosition;
|
|
85
102
|
private heightCalculator;
|
|
86
|
-
|
|
103
|
+
/**
|
|
104
|
+
* Handles component attachment from ngComponentOutlet
|
|
105
|
+
*/
|
|
106
|
+
protected handleComponentCreated(componentRef: ComponentRef<unknown>): void;
|
|
87
107
|
/**
|
|
88
108
|
* Handles click events on action sheet items.
|
|
89
109
|
* This method is called when a user clicks on an action sheet item. It closes the action sheet
|
|
@@ -104,13 +124,13 @@ declare class AXActionSheetComponent extends MXBaseComponent implements OnInit,
|
|
|
104
124
|
* This affects how the action sheet handles accessibility and event tracking.
|
|
105
125
|
* @returns void
|
|
106
126
|
*/
|
|
107
|
-
close(e?:
|
|
127
|
+
close(e?: unknown, isUserInteraction?: boolean): void;
|
|
108
128
|
/**
|
|
109
129
|
* @ignore
|
|
110
130
|
*/
|
|
111
131
|
protected onKeydownHandler(): void;
|
|
112
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, {}, {}, never, never, true, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; "overlayRef": { "alias": "overlayRef"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
114
134
|
}
|
|
115
135
|
|
|
116
136
|
declare class AXActionSheetModule {
|
|
@@ -120,11 +140,13 @@ declare class AXActionSheetModule {
|
|
|
120
140
|
}
|
|
121
141
|
|
|
122
142
|
interface AXActionSheetDialogRef {
|
|
123
|
-
close: (e?:
|
|
124
|
-
closed: Subject<
|
|
143
|
+
close: (e?: unknown) => void;
|
|
144
|
+
closed: Subject<{
|
|
145
|
+
data?: unknown;
|
|
146
|
+
}>;
|
|
125
147
|
}
|
|
126
148
|
declare class AXActionSheetService {
|
|
127
|
-
private
|
|
149
|
+
private overlayService;
|
|
128
150
|
private readonly actionSheetEvent;
|
|
129
151
|
actionSheetEvent$: rxjs.Observable<AXActionSheetEvent>;
|
|
130
152
|
/**
|
|
@@ -162,7 +184,7 @@ declare class AXActionSheetService {
|
|
|
162
184
|
* observable for external subscribers to monitor action sheet state changes.
|
|
163
185
|
*
|
|
164
186
|
* @param event - The action sheet event to emit. Contains information about the event type,
|
|
165
|
-
* associated data, user interaction status, and
|
|
187
|
+
* associated data, user interaction status, and overlay reference.
|
|
166
188
|
* @returns void
|
|
167
189
|
*/
|
|
168
190
|
setActionSheetEventState(event: AXActionSheetEvent): void;
|
|
@@ -171,4 +193,4 @@ declare class AXActionSheetService {
|
|
|
171
193
|
}
|
|
172
194
|
|
|
173
195
|
export { AXActionSheetComponent, AXActionSheetModule, AXActionSheetService };
|
|
174
|
-
export type { AXActionSheetConfig, AXActionSheetContentType, AXActionSheetDialogRef, AXActionSheetEvent, AXActionSheetItem };
|
|
196
|
+
export type { AXActionSheetConfig, AXActionSheetContentType, AXActionSheetDialogRef, AXActionSheetEvent, AXActionSheetInternalRef, AXActionSheetItem };
|
package/conversation2/README.md
CHANGED
|
@@ -78,22 +78,32 @@ This package requires the following peer dependencies:
|
|
|
78
78
|
|
|
79
79
|
```typescript
|
|
80
80
|
import { ApplicationConfig } from '@angular/core';
|
|
81
|
-
import {
|
|
81
|
+
import {
|
|
82
|
+
provideConversation,
|
|
83
|
+
AXIndexedDBUserApi,
|
|
84
|
+
AXIndexedDBConversationApi,
|
|
85
|
+
AXIndexedDBMessageApi,
|
|
86
|
+
AXIndexedDBRealtimeApi,
|
|
87
|
+
} from '@acorex/components/conversation2';
|
|
82
88
|
|
|
83
89
|
export const appConfig: ApplicationConfig = {
|
|
84
90
|
providers: [
|
|
85
91
|
provideConversation({
|
|
86
|
-
|
|
92
|
+
userApi: AXIndexedDBUserApi,
|
|
93
|
+
conversationApi: AXIndexedDBConversationApi,
|
|
94
|
+
messageApi: AXIndexedDBMessageApi,
|
|
95
|
+
realtimeApi: AXIndexedDBRealtimeApi, // optional
|
|
87
96
|
config: {
|
|
88
|
-
|
|
89
|
-
|
|
97
|
+
messagePageSize: 50,
|
|
98
|
+
conversationPageSize: 30,
|
|
99
|
+
maxFileSize: 10 * 1024 * 1024,
|
|
90
100
|
allowedFileTypes: ['image/*', 'video/*', 'audio/*', 'application/pdf'],
|
|
91
101
|
},
|
|
92
102
|
registry: {
|
|
93
103
|
// Optional: Register custom message renderers, actions, etc.
|
|
94
|
-
}
|
|
95
|
-
})
|
|
96
|
-
]
|
|
104
|
+
},
|
|
105
|
+
}),
|
|
106
|
+
],
|
|
97
107
|
};
|
|
98
108
|
```
|
|
99
109
|
|
|
@@ -101,17 +111,26 @@ export const appConfig: ApplicationConfig = {
|
|
|
101
111
|
|
|
102
112
|
```typescript
|
|
103
113
|
import { NgModule } from '@angular/core';
|
|
104
|
-
import {
|
|
114
|
+
import {
|
|
115
|
+
AXConversation2Module,
|
|
116
|
+
AXIndexedDBUserApi,
|
|
117
|
+
AXIndexedDBConversationApi,
|
|
118
|
+
AXIndexedDBMessageApi,
|
|
119
|
+
AXIndexedDBRealtimeApi,
|
|
120
|
+
} from '@acorex/components/conversation2';
|
|
105
121
|
|
|
106
122
|
@NgModule({
|
|
107
123
|
imports: [
|
|
108
124
|
AXConversation2Module.forRoot({
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
125
|
+
userApi: AXIndexedDBUserApi,
|
|
126
|
+
conversationApi: AXIndexedDBConversationApi,
|
|
127
|
+
messageApi: AXIndexedDBMessageApi,
|
|
128
|
+
realtimeApi: AXIndexedDBRealtimeApi,
|
|
129
|
+
config: { /* ... */ },
|
|
130
|
+
}),
|
|
131
|
+
],
|
|
113
132
|
})
|
|
114
|
-
export class AppModule {
|
|
133
|
+
export class AppModule {}
|
|
115
134
|
```
|
|
116
135
|
|
|
117
136
|
### 3. Use in Template
|
|
@@ -155,20 +174,42 @@ export class MyConversationApi extends AXConversationApi {
|
|
|
155
174
|
#### IndexedDB API (Development/Demo)
|
|
156
175
|
|
|
157
176
|
```typescript
|
|
158
|
-
import {
|
|
177
|
+
import {
|
|
178
|
+
provideConversation,
|
|
179
|
+
AXIndexedDBUserApi,
|
|
180
|
+
AXIndexedDBConversationApi,
|
|
181
|
+
AXIndexedDBMessageApi,
|
|
182
|
+
AXIndexedDBRealtimeApi,
|
|
183
|
+
} from '@acorex/components/conversation2';
|
|
159
184
|
|
|
160
185
|
// Provides in-memory storage with sample data
|
|
161
186
|
// Perfect for development and demos
|
|
162
|
-
provideConversation({
|
|
187
|
+
provideConversation({
|
|
188
|
+
userApi: AXIndexedDBUserApi,
|
|
189
|
+
conversationApi: AXIndexedDBConversationApi,
|
|
190
|
+
messageApi: AXIndexedDBMessageApi,
|
|
191
|
+
realtimeApi: AXIndexedDBRealtimeApi,
|
|
192
|
+
});
|
|
163
193
|
```
|
|
164
194
|
|
|
165
195
|
#### IndexedDB with AI API (AI-Powered Demo)
|
|
166
196
|
|
|
167
197
|
```typescript
|
|
168
|
-
import {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
198
|
+
import {
|
|
199
|
+
provideConversation,
|
|
200
|
+
AXIndexedDBUserApi,
|
|
201
|
+
AXIndexedDBConversationApi,
|
|
202
|
+
AXIndexedDBMessageAIApi,
|
|
203
|
+
AXIndexedDBRealtimeApi,
|
|
204
|
+
} from '@acorex/components/conversation2';
|
|
205
|
+
|
|
206
|
+
// Includes AI-powered auto-responses via message API
|
|
207
|
+
provideConversation({
|
|
208
|
+
userApi: AXIndexedDBUserApi,
|
|
209
|
+
conversationApi: AXIndexedDBConversationApi,
|
|
210
|
+
messageApi: AXIndexedDBMessageAIApi,
|
|
211
|
+
realtimeApi: AXIndexedDBRealtimeApi,
|
|
212
|
+
});
|
|
172
213
|
```
|
|
173
214
|
|
|
174
215
|
## ⚙️ Configuration
|
|
@@ -178,23 +219,18 @@ provideConversation({ api: AXIndexedDBAIApi })
|
|
|
178
219
|
```typescript
|
|
179
220
|
interface AXConversationConfig {
|
|
180
221
|
// Pagination
|
|
181
|
-
|
|
222
|
+
messagePageSize?: number; // Default: 50
|
|
223
|
+
conversationPageSize?: number; // Default: 30
|
|
182
224
|
infiniteScrollThreshold?: number; // Default: 200px
|
|
183
225
|
scrollThreshold?: number; // Default: 100px
|
|
184
226
|
|
|
185
227
|
// File Upload
|
|
186
228
|
maxFileSize?: number; // Default: 10MB
|
|
187
|
-
allowedFileTypes?: string[]; // Default:
|
|
229
|
+
allowedFileTypes?: string[]; // Default: see defaults
|
|
188
230
|
|
|
189
231
|
// UI Behavior
|
|
190
232
|
messageHighlightDuration?: number; // Default: 2000ms
|
|
191
233
|
typingIndicatorTimeout?: number; // Default: 3000ms
|
|
192
|
-
|
|
193
|
-
// Features
|
|
194
|
-
enableReactions?: boolean; // Default: true
|
|
195
|
-
enableReplies?: boolean; // Default: true
|
|
196
|
-
enableEditing?: boolean; // Default: true
|
|
197
|
-
enableDeletion?: boolean; // Default: true
|
|
198
234
|
}
|
|
199
235
|
```
|
|
200
236
|
|
|
@@ -327,14 +363,18 @@ export class MyComponent {
|
|
|
327
363
|
```typescript
|
|
328
364
|
import { TestBed } from '@angular/core/testing';
|
|
329
365
|
import { provideConversation, AXConversationService } from '@acorex/components/conversation2';
|
|
330
|
-
import { MockConversationApi } from './mocks/mock-
|
|
366
|
+
import { MockUserApi, MockConversationApi, MockMessageApi } from './mocks/mock-apis';
|
|
331
367
|
|
|
332
368
|
describe('MyComponent', () => {
|
|
333
369
|
beforeEach(() => {
|
|
334
370
|
TestBed.configureTestingModule({
|
|
335
371
|
providers: [
|
|
336
|
-
provideConversation({
|
|
337
|
-
|
|
372
|
+
provideConversation({
|
|
373
|
+
userApi: MockUserApi,
|
|
374
|
+
conversationApi: MockConversationApi,
|
|
375
|
+
messageApi: MockMessageApi,
|
|
376
|
+
}),
|
|
377
|
+
],
|
|
338
378
|
});
|
|
339
379
|
});
|
|
340
380
|
|
|
@@ -343,7 +383,7 @@ describe('MyComponent', () => {
|
|
|
343
383
|
const message = await service.sendMessage({
|
|
344
384
|
conversationId: 'test',
|
|
345
385
|
type: 'text',
|
|
346
|
-
payload: { text: 'Test' }
|
|
386
|
+
payload: { text: 'Test' },
|
|
347
387
|
});
|
|
348
388
|
expect(message).toBeDefined();
|
|
349
389
|
});
|
package/conversation2/index.d.ts
CHANGED
|
@@ -4139,6 +4139,7 @@ interface AXMessageAvatarTemplateContext {
|
|
|
4139
4139
|
declare class AXMessageListService {
|
|
4140
4140
|
private readonly conversationService;
|
|
4141
4141
|
private readonly composerService;
|
|
4142
|
+
private readonly config;
|
|
4142
4143
|
private get registry();
|
|
4143
4144
|
readonly activeConversation: _angular_core.Signal<AXConversation>;
|
|
4144
4145
|
readonly activeMessages: _angular_core.Signal<AXMessage[]>;
|
|
@@ -5061,7 +5062,7 @@ declare const AX_CONVERSATION_INFO_BAR_DELETE_ACTION: AXInfoBarAction;
|
|
|
5061
5062
|
*/
|
|
5062
5063
|
declare const AX_CONVERSATION_INFO_BAR_BLOCK_ACTION: AXInfoBarAction;
|
|
5063
5064
|
|
|
5064
|
-
declare class
|
|
5065
|
+
declare class AXAudioRendererComponent {
|
|
5065
5066
|
private readonly platformId;
|
|
5066
5067
|
/** Message to render */
|
|
5067
5068
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
@@ -5104,11 +5105,11 @@ declare class AudioRendererComponent {
|
|
|
5104
5105
|
onProgressClick(event: MouseEvent): void;
|
|
5105
5106
|
/** Format time (seconds to MM:SS) */
|
|
5106
5107
|
private formatTime;
|
|
5107
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5108
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5108
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXAudioRendererComponent, never>;
|
|
5109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXAudioRendererComponent, "ax-conversation-audio-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5109
5110
|
}
|
|
5110
5111
|
|
|
5111
|
-
declare class
|
|
5112
|
+
declare class AXContactRendererComponent {
|
|
5112
5113
|
private readonly toastService;
|
|
5113
5114
|
/** Message to render */
|
|
5114
5115
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
@@ -5120,11 +5121,11 @@ declare class ContactRendererComponent {
|
|
|
5120
5121
|
copyContact(): Promise<void>;
|
|
5121
5122
|
/** Format contact information as text */
|
|
5122
5123
|
private formatContactText;
|
|
5123
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5124
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContactRendererComponent, never>;
|
|
5125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContactRendererComponent, "ax-conversation-contact-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5125
5126
|
}
|
|
5126
5127
|
|
|
5127
|
-
declare class
|
|
5128
|
+
declare class AXFallbackRendererComponent {
|
|
5128
5129
|
/** Message to render */
|
|
5129
5130
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5130
5131
|
/** Show raw data */
|
|
@@ -5137,11 +5138,11 @@ declare class FallbackRendererComponent {
|
|
|
5137
5138
|
readonly rawPayload: _angular_core.Signal<string>;
|
|
5138
5139
|
/** Toggle raw data display */
|
|
5139
5140
|
toggleRaw(): void;
|
|
5140
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5141
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFallbackRendererComponent, never>;
|
|
5142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFallbackRendererComponent, "ax-conversation-fallback-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5142
5143
|
}
|
|
5143
5144
|
|
|
5144
|
-
declare class
|
|
5145
|
+
declare class AXFileRendererComponent {
|
|
5145
5146
|
/** Message to render */
|
|
5146
5147
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5147
5148
|
/** File payload */
|
|
@@ -5160,11 +5161,11 @@ declare class FileRendererComponent {
|
|
|
5160
5161
|
readonly fileIconColor: _angular_core.Signal<string>;
|
|
5161
5162
|
/** Formatted file size */
|
|
5162
5163
|
readonly formattedSize: _angular_core.Signal<string>;
|
|
5163
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5164
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFileRendererComponent, never>;
|
|
5165
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFileRendererComponent, "ax-conversation-file-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5165
5166
|
}
|
|
5166
5167
|
|
|
5167
|
-
declare class
|
|
5168
|
+
declare class AXImageRendererComponent {
|
|
5168
5169
|
private readonly platformId;
|
|
5169
5170
|
/** Message to render */
|
|
5170
5171
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
@@ -5188,11 +5189,11 @@ declare class ImageRendererComponent {
|
|
|
5188
5189
|
onError(): void;
|
|
5189
5190
|
/** Handle image click */
|
|
5190
5191
|
onClick(): void;
|
|
5191
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5192
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5192
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageRendererComponent, never>;
|
|
5193
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageRendererComponent, "ax-conversation-image-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, { "imageClick": "imageClick"; }, never, never, true, never>;
|
|
5193
5194
|
}
|
|
5194
5195
|
|
|
5195
|
-
declare class
|
|
5196
|
+
declare class AXLocationRendererComponent {
|
|
5196
5197
|
/** Message to render */
|
|
5197
5198
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5198
5199
|
/** Location payload */
|
|
@@ -5217,11 +5218,11 @@ declare class LocationRendererComponent {
|
|
|
5217
5218
|
popupOpen: boolean;
|
|
5218
5219
|
popupCloseButton: boolean;
|
|
5219
5220
|
}[]>;
|
|
5220
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5221
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLocationRendererComponent, never>;
|
|
5222
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLocationRendererComponent, "ax-conversation-location-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5222
5223
|
}
|
|
5223
5224
|
|
|
5224
|
-
declare class
|
|
5225
|
+
declare class AXStickerRendererComponent {
|
|
5225
5226
|
/** Message to render */
|
|
5226
5227
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5227
5228
|
/** Loading state */
|
|
@@ -5238,22 +5239,22 @@ declare class StickerRendererComponent {
|
|
|
5238
5239
|
onLoad(): void;
|
|
5239
5240
|
/** Handle image error */
|
|
5240
5241
|
onError(): void;
|
|
5241
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5242
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5242
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXStickerRendererComponent, never>;
|
|
5243
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXStickerRendererComponent, "ax-conversation-sticker-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5243
5244
|
}
|
|
5244
5245
|
|
|
5245
|
-
declare class
|
|
5246
|
+
declare class AXSystemRendererComponent {
|
|
5246
5247
|
/** Message to render */
|
|
5247
5248
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
5248
5249
|
/** System payload */
|
|
5249
5250
|
readonly payload: _angular_core.Signal<AXSystemPayload>;
|
|
5250
5251
|
/** Icon class based on system message type */
|
|
5251
5252
|
readonly iconClass: _angular_core.Signal<"fa-light fa-image" | "fa-light fa-user-plus" | "fa-light fa-user-minus" | "fa-light fa-pen" | "fa-light fa-info-circle">;
|
|
5252
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5253
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5253
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSystemRendererComponent, never>;
|
|
5254
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSystemRendererComponent, "ax-conversation-system-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5254
5255
|
}
|
|
5255
5256
|
|
|
5256
|
-
declare class
|
|
5257
|
+
declare class AXTextRendererComponent {
|
|
5257
5258
|
private readonly infoBarService;
|
|
5258
5259
|
private readonly sanitizer;
|
|
5259
5260
|
/** Message to render */
|
|
@@ -5268,11 +5269,11 @@ declare class TextRendererComponent {
|
|
|
5268
5269
|
private linkify;
|
|
5269
5270
|
/** Highlight search query in text */
|
|
5270
5271
|
private highlightSearch;
|
|
5271
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5272
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5272
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTextRendererComponent, never>;
|
|
5273
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTextRendererComponent, "ax-conversation-text-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5273
5274
|
}
|
|
5274
5275
|
|
|
5275
|
-
declare class
|
|
5276
|
+
declare class AXVideoRendererComponent {
|
|
5276
5277
|
private readonly platformId;
|
|
5277
5278
|
/** Message to render */
|
|
5278
5279
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
@@ -5296,11 +5297,11 @@ declare class VideoRendererComponent {
|
|
|
5296
5297
|
onError(): void;
|
|
5297
5298
|
/** Format duration (seconds to MM:SS) */
|
|
5298
5299
|
formatDuration(seconds: number): string;
|
|
5299
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5300
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5300
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXVideoRendererComponent, never>;
|
|
5301
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXVideoRendererComponent, "ax-conversation-video-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5301
5302
|
}
|
|
5302
5303
|
|
|
5303
|
-
declare class
|
|
5304
|
+
declare class AXVoiceRendererComponent {
|
|
5304
5305
|
private readonly platformId;
|
|
5305
5306
|
/** Message to render */
|
|
5306
5307
|
readonly message: _angular_core.InputSignal<AXMessage>;
|
|
@@ -5341,8 +5342,8 @@ declare class VoiceRendererComponent {
|
|
|
5341
5342
|
onError(): void;
|
|
5342
5343
|
/** Format time (seconds to MM:SS) */
|
|
5343
5344
|
private formatTime;
|
|
5344
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5345
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5345
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXVoiceRendererComponent, never>;
|
|
5346
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXVoiceRendererComponent, "ax-conversation-voice-renderer", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5346
5347
|
}
|
|
5347
5348
|
|
|
5348
5349
|
/**
|
|
@@ -5466,7 +5467,7 @@ declare class AXConversation2Module {
|
|
|
5466
5467
|
*/
|
|
5467
5468
|
static forChild(options?: Omit<AXConversationOptions, 'userApi' | 'conversationApi' | 'messageApi' | 'realtimeApi'>): ModuleWithProviders<AXConversation2Module>;
|
|
5468
5469
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversation2Module, never>;
|
|
5469
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXConversation2Module, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof AXConversationContainerComponent, typeof AXSidebarComponent, typeof AXInfoBarComponent, typeof AXMessageListComponent, typeof AXComposerComponent, typeof
|
|
5470
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXConversation2Module, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof AXConversationContainerComponent, typeof AXSidebarComponent, typeof AXInfoBarComponent, typeof AXMessageListComponent, typeof AXComposerComponent, typeof AXTextRendererComponent, typeof AXImageRendererComponent, typeof AXVideoRendererComponent, typeof AXAudioRendererComponent, typeof AXVoiceRendererComponent, typeof AXFileRendererComponent, typeof AXLocationRendererComponent, typeof AXStickerRendererComponent, typeof AXFallbackRendererComponent, typeof AXInfiniteScrollDirective], [typeof AXConversationContainerComponent, typeof AXSidebarComponent, typeof AXInfoBarComponent, typeof AXMessageListComponent, typeof AXComposerComponent, typeof AXTextRendererComponent, typeof AXImageRendererComponent, typeof AXVideoRendererComponent, typeof AXAudioRendererComponent, typeof AXVoiceRendererComponent, typeof AXFileRendererComponent, typeof AXLocationRendererComponent, typeof AXStickerRendererComponent, typeof AXFallbackRendererComponent, typeof AXInfiniteScrollDirective]>;
|
|
5470
5471
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXConversation2Module>;
|
|
5471
5472
|
}
|
|
5472
5473
|
/**
|
|
@@ -6135,5 +6136,5 @@ declare function getErrorMessage(code: string, params?: Record<string, string |
|
|
|
6135
6136
|
*/
|
|
6136
6137
|
type AXErrorCode = typeof MESSAGE_ERRORS[keyof typeof MESSAGE_ERRORS]['code'] | typeof FILE_ERRORS[keyof typeof FILE_ERRORS]['code'] | typeof USER_ERRORS[keyof typeof USER_ERRORS]['code'] | typeof CONVERSATION_ERRORS[keyof typeof CONVERSATION_ERRORS]['code'] | typeof CONNECTION_ERRORS[keyof typeof CONNECTION_ERRORS]['code'] | typeof LOCATION_ERRORS[keyof typeof LOCATION_ERRORS]['code'] | typeof URL_ERRORS[keyof typeof URL_ERRORS]['code'] | typeof PERMISSION_ERRORS[keyof typeof PERMISSION_ERRORS]['code'];
|
|
6137
6138
|
|
|
6138
|
-
export { AI_API_KEY, AXAIResponderService, AXAudioPickerComponent, AXBaseRegistry, AXComposerActionRegistry, AXComposerComponent, AXComposerPopupComponent, AXComposerService, AXComposerTabRegistry, AXContactPickerComponent, AXConversation2Module, AXConversationApi, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationMessageUtilsService, AXConversationService, AXConversationStoreService, AXConversationTabRegistry, AXEmojiTabComponent, AXErrorHandlerService, AXFilePickerComponent, AXFileUploadService, AXForwardMessageDialogComponent, AXImagePickerComponent, AXIndexedDBConversationApi, AXIndexedDBMessageAIApi, AXIndexedDBMessageApi, AXIndexedDBRealtimeApi, AXIndexedDBUserApi, AXInfiniteScrollDirective, AXInfoBarActionRegistry, AXInfoBarComponent, AXInfoBarSearchComponent, AXInfoBarService, AXLocationPickerComponent, AXMessageActionRegistry, AXMessageApi, AXMessageListComponent, AXMessageListService, AXMessageRendererRegistry, AXNewConversationDialogComponent, AXPickerFooterComponent, AXPickerHeaderComponent, AXRealtimeApi, AXRegistryService, AXSidebarComponent, AXSidebarService, AXStickerTabComponent, AXUserApi, AXVideoPickerComponent, AXVoiceRecorderComponent, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_CONTACT_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONTACT_RENDERER, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_INFO_ACTION, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_COPY_ACTION, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_STICKER_RENDERER, AX_CONVERSATION_SYSTEM_RENDERER, AX_CONVERSATION_TAB_ALL, AX_CONVERSATION_TAB_ARCHIVED, AX_CONVERSATION_TAB_CHANNELS, AX_CONVERSATION_TAB_GROUPS, AX_CONVERSATION_TAB_PRIVATE, AX_CONVERSATION_TAB_UNREAD, AX_CONVERSATION_TEXT_RENDERER, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG,
|
|
6139
|
+
export { AI_API_KEY, AXAIResponderService, AXAudioPickerComponent, AXAudioRendererComponent, AXBaseRegistry, AXComposerActionRegistry, AXComposerComponent, AXComposerPopupComponent, AXComposerService, AXComposerTabRegistry, AXContactPickerComponent, AXContactRendererComponent, AXConversation2Module, AXConversationApi, AXConversationContainerComponent, AXConversationContainerDirective, AXConversationDateUtilsService, AXConversationInfoPanelComponent, AXConversationItemActionRegistry, AXConversationMessageUtilsService, AXConversationService, AXConversationStoreService, AXConversationTabRegistry, AXEmojiTabComponent, AXErrorHandlerService, AXFallbackRendererComponent, AXFilePickerComponent, AXFileRendererComponent, AXFileUploadService, AXForwardMessageDialogComponent, AXImagePickerComponent, AXImageRendererComponent, AXIndexedDBConversationApi, AXIndexedDBMessageAIApi, AXIndexedDBMessageApi, AXIndexedDBRealtimeApi, AXIndexedDBUserApi, AXInfiniteScrollDirective, AXInfoBarActionRegistry, AXInfoBarComponent, AXInfoBarSearchComponent, AXInfoBarService, AXLocationPickerComponent, AXLocationRendererComponent, AXMessageActionRegistry, AXMessageApi, AXMessageListComponent, AXMessageListService, AXMessageRendererRegistry, AXNewConversationDialogComponent, AXPickerFooterComponent, AXPickerHeaderComponent, AXRealtimeApi, AXRegistryService, AXSidebarComponent, AXSidebarService, AXStickerRendererComponent, AXStickerTabComponent, AXSystemRendererComponent, AXTextRendererComponent, AXUserApi, AXVideoPickerComponent, AXVideoRendererComponent, AXVoiceRecorderComponent, AXVoiceRendererComponent, AX_CONVERSATION_AUDIO_RENDERER, AX_CONVERSATION_COMPOSER_AUDIO_ACTION, AX_CONVERSATION_COMPOSER_CONTACT_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_ACTION, AX_CONVERSATION_COMPOSER_EMOJI_TAB, AX_CONVERSATION_COMPOSER_FILE_ACTION, AX_CONVERSATION_COMPOSER_IMAGE_ACTION, AX_CONVERSATION_COMPOSER_LOCATION_ACTION, AX_CONVERSATION_COMPOSER_STICKER_TAB, AX_CONVERSATION_COMPOSER_VIDEO_ACTION, AX_CONVERSATION_COMPOSER_VOICE_RECORDING_ACTION, AX_CONVERSATION_CONTACT_RENDERER, AX_CONVERSATION_FALLBACK_RENDERER, AX_CONVERSATION_FILE_RENDERER, AX_CONVERSATION_IMAGE_RENDERER, AX_CONVERSATION_INFO_BAR_ARCHIVE_ACTION, AX_CONVERSATION_INFO_BAR_BLOCK_ACTION, AX_CONVERSATION_INFO_BAR_DELETE_ACTION, AX_CONVERSATION_INFO_BAR_DIVIDER, AX_CONVERSATION_INFO_BAR_INFO_ACTION, AX_CONVERSATION_INFO_BAR_MUTE_ACTION, AX_CONVERSATION_INFO_BAR_SEARCH_ACTION, AX_CONVERSATION_ITEM_BLOCK_ACTION, AX_CONVERSATION_ITEM_DELETE_ACTION, AX_CONVERSATION_ITEM_DIVIDER, AX_CONVERSATION_ITEM_MARK_READ_ACTION, AX_CONVERSATION_ITEM_MUTE_ACTION, AX_CONVERSATION_ITEM_PIN_ACTION, AX_CONVERSATION_LOCATION_RENDERER, AX_CONVERSATION_MESSAGE_COPY_ACTION, AX_CONVERSATION_MESSAGE_DELETE_ACTION, AX_CONVERSATION_MESSAGE_EDIT_ACTION, AX_CONVERSATION_MESSAGE_FORWARD_ACTION, AX_CONVERSATION_MESSAGE_REPLY_ACTION, AX_CONVERSATION_STICKER_RENDERER, AX_CONVERSATION_SYSTEM_RENDERER, AX_CONVERSATION_TAB_ALL, AX_CONVERSATION_TAB_ARCHIVED, AX_CONVERSATION_TAB_CHANNELS, AX_CONVERSATION_TAB_GROUPS, AX_CONVERSATION_TAB_PRIVATE, AX_CONVERSATION_TAB_UNREAD, AX_CONVERSATION_TEXT_RENDERER, AX_CONVERSATION_VIDEO_RENDERER, AX_CONVERSATION_VOICE_RENDERER, AX_DEFAULT_CONVERSATION_CONFIG, CONNECTION_ERRORS, CONVERSATION_CONFIG, CONVERSATION_ERRORS, DEFAULT_COMPOSER_ACTIONS, DEFAULT_COMPOSER_TABS, DEFAULT_CONVERSATION_ITEM_ACTIONS, DEFAULT_CONVERSATION_TABS, DEFAULT_INFO_BAR_ACTIONS, DEFAULT_MESSAGE_ACTIONS, DEFAULT_MESSAGE_RENDERERS, ERROR_HANDLER_CONFIG, ERROR_MESSAGES, FILE_ERRORS, LOCATION_ERRORS, MESSAGE_ERRORS, PERMISSION_ERRORS, REGISTRY_CONFIG, URL_ERRORS, USER_ERRORS, formatErrorMessage, getDefaultConversationItemActions, getErrorMessage, mergeWithDefaults, provideConversation, sanitizeInput, validateConversationId, validateEmail, validateFile, validateLatitude, validateLongitude, validateMessagePayload, validateMessageText, validateMessageType, validateUrl, validateUserId, validateUserIds };
|
|
6139
6140
|
export type { AXAIResponderConfig, AXApiError, AXAudioPayload, AXBlockReportReason, AXCallEvent, AXComposerAction, AXComposerActionContext, AXComposerActiveComponent, AXComposerTab, AXConnectionEvent, AXConnectionOptions, AXConnectionStatus, AXContactPayload, AXConversation, AXConversationConfig, AXConversationCreateData, AXConversationError, AXConversationFilter, AXConversationFilters, AXConversationItemAction, AXConversationItemActionContext, AXConversationOptions, AXConversationPermissions, AXConversationSettings, AXConversationSettingsUpdate, AXConversationSort, AXConversationStatus, AXConversationTab, AXConversationType, AXConversationUpdateData, AXDeleteMessageCommand, AXEditMessageCommand, AXErrorCode, AXErrorHandlerConfig, AXErrorMessage, AXErrorSeverity, AXFilePayload, AXFileValidationResult, AXGroupedReaction, AXImagePayload, AXInfoBarAction, AXInfoBarActionContext, AXInfoBarActiveComponent, AXLink, AXLinkPreview, AXLocationPayload, AXMention, AXMessage, AXMessageAction, AXMessageActionContext, AXMessageAvatarTemplateContext, AXMessageForwardData, AXMessagePayload, AXMessageRenderer, AXMessageRendererCapabilities, AXMessageSearchFilters, AXMessageStatus, AXMessageType, AXNotificationEvent, AXPaginatedResult, AXPagination, AXParticipant, AXParticipantRole, AXParticipantStatus, AXParticipantUpdate, AXPinnedMessage, AXPollOption, AXPollPayload, AXPresenceStatus, AXPresenceUpdate, AXReaction, AXReadReceipt, AXRegistryConfiguration, AXRegistryItem, AXSendMessageCommand, AXStickerPayload, AXSystemPayload, AXTextFormat, AXTextPayload, AXTypingIndicator, AXUserProfileUpdate, AXUserRole, AXUserSearchFilters, AXValidationResult, AXVideoPayload, AXVoicePayload, DropdownMenuItem, FilePreview, FileUploadProgress };
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i2 from '@acorex/cdk/common';
|
|
2
2
|
import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
|
|
3
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
4
|
import * as i0 from '@angular/core';
|
|
4
5
|
import * as i1 from '@angular/common';
|
|
5
6
|
import * as i3 from '@angular/cdk/drag-drop';
|
|
@@ -7,8 +8,7 @@ import * as i4 from '@angular/cdk/a11y';
|
|
|
7
8
|
import * as i5 from '@acorex/components/button';
|
|
8
9
|
import * as i6 from '@acorex/components/decorators';
|
|
9
10
|
import * as i7 from '@acorex/components/loading';
|
|
10
|
-
import * as i8 from '@
|
|
11
|
-
import * as i9 from '@acorex/core/translation';
|
|
11
|
+
import * as i8 from '@acorex/core/translation';
|
|
12
12
|
|
|
13
13
|
interface AXDialogButtonItem {
|
|
14
14
|
text: string;
|
|
@@ -48,14 +48,24 @@ interface AXDialogData {
|
|
|
48
48
|
icon?: string | 'none';
|
|
49
49
|
draggable?: boolean;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* Internal reference used by dialog service to manage overlay instances
|
|
54
|
+
*/
|
|
55
|
+
interface AXDialogInternalRef {
|
|
56
|
+
overlayRef: AXOverlayRef<unknown>;
|
|
57
|
+
close: () => void;
|
|
58
|
+
}
|
|
51
59
|
|
|
52
60
|
/**
|
|
53
61
|
* A dialog component that provides a modal interface for user interactions.
|
|
54
62
|
* @category Components
|
|
55
63
|
*/
|
|
56
64
|
declare class AXDialogComponent extends MXBaseComponent {
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
/** Dialog configuration data */
|
|
66
|
+
data: i0.InputSignal<AXDialogData>;
|
|
67
|
+
/** @internal Callback function to close the dialog */
|
|
68
|
+
onClose: i0.InputSignal<() => void>;
|
|
59
69
|
/**
|
|
60
70
|
* @ignore
|
|
61
71
|
*/
|
|
@@ -74,19 +84,13 @@ declare class AXDialogComponent extends MXBaseComponent {
|
|
|
74
84
|
* @returns void - No return value. The dialog is closed and removed from the DOM.
|
|
75
85
|
*/
|
|
76
86
|
close(): void;
|
|
77
|
-
/**
|
|
78
|
-
* @ignore
|
|
79
|
-
*/
|
|
80
|
-
get tabIndex(): string;
|
|
81
|
-
/** @ignore */
|
|
82
|
-
private get __hostClass();
|
|
83
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never, true, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
declare class AXDialogModule {
|
|
88
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogModule, never>;
|
|
89
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.AXDecoratorModule, typeof i7.AXLoadingModule, typeof i8.
|
|
93
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.AXDecoratorModule, typeof i7.AXLoadingModule, typeof i8.AXTranslationModule, typeof AXDialogComponent], [typeof AXDialogComponent]>;
|
|
90
94
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDialogModule>;
|
|
91
95
|
}
|
|
92
96
|
|
|
@@ -96,7 +100,7 @@ declare class AXDialogModule {
|
|
|
96
100
|
* @category Components
|
|
97
101
|
*/
|
|
98
102
|
declare class AXDialogService {
|
|
99
|
-
private
|
|
103
|
+
private overlayService;
|
|
100
104
|
private defaultConfig;
|
|
101
105
|
private detectIcon;
|
|
102
106
|
/**
|
|
@@ -145,4 +149,4 @@ declare class AXDialogService {
|
|
|
145
149
|
}
|
|
146
150
|
|
|
147
151
|
export { AXDialogComponent, AXDialogModule, AXDialogService };
|
|
148
|
-
export type { AXDialogButtonItem, AXDialogConfig, AXDialogData, AXDialogRef };
|
|
152
|
+
export type { AXDialogButtonItem, AXDialogConfig, AXDialogData, AXDialogInternalRef, AXDialogRef };
|
package/dropdown/index.d.ts
CHANGED
|
@@ -3,13 +3,12 @@ import { MXInteractiveComponent, MXLookComponent, AXEvent } from '@acorex/cdk/co
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
5
5
|
import * as polytype from 'polytype';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i5 from '@acorex/components/popover';
|
|
7
7
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
10
10
|
import * as i3 from '@angular/cdk/a11y';
|
|
11
|
-
import * as i4 from '@
|
|
12
|
-
import * as i5 from '@acorex/components/decorators';
|
|
11
|
+
import * as i4 from '@acorex/components/decorators';
|
|
13
12
|
|
|
14
13
|
declare const AXDropdownBoxComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXLookComponent]>;
|
|
15
14
|
declare class AXDropdownBoxComponent extends AXDropdownBoxComponent_base implements OnInit {
|
|
@@ -278,7 +277,7 @@ declare class AXDropdownPanelComponent extends MXInteractiveComponent implements
|
|
|
278
277
|
|
|
279
278
|
declare class AXDropdownModule {
|
|
280
279
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownModule, never>;
|
|
281
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, never, [typeof i1.CommonModule, typeof _acorex_cdk_common.AXCommonModule, typeof i3.A11yModule, typeof i4.
|
|
280
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, never, [typeof i1.CommonModule, typeof _acorex_cdk_common.AXCommonModule, typeof i3.A11yModule, typeof i4.AXDecoratorModule, typeof i5.AXPopoverModule, typeof AXDropdownPanelComponent, typeof AXDropdownBoxComponent], [typeof AXDropdownPanelComponent, typeof AXDropdownBoxComponent]>;
|
|
282
281
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDropdownModule>;
|
|
283
282
|
}
|
|
284
283
|
|