@acorex/components 18.2.1 → 18.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/color-palette/lib/color-palette.module.d.ts +2 -2
- package/common/lib/components/selection-base.component.class.d.ts +1 -0
- package/conversation/index.d.ts +4 -0
- package/conversation/lib/conversation-container/conversation-container.component.d.ts +5 -0
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +7 -1
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +5 -2
- package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +28 -0
- package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -0
- package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +9 -0
- package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +9 -0
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +5 -4
- package/conversation/lib/conversation.module.d.ts +18 -17
- package/conversation/lib/conversation.types.d.ts +2 -1
- package/conversation/lib/services/conversation.service.d.ts +54 -0
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +2 -2
- package/esm2022/badge/lib/badge.component.mjs +2 -2
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +4 -4
- package/esm2022/color-palette/lib/color-palette.component.mjs +2 -2
- package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
- package/esm2022/common/lib/components/selection-base.component.class.mjs +14 -2
- package/esm2022/conversation/index.mjs +5 -1
- package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +11 -0
- package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +18 -5
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +19 -16
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +113 -0
- package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +5 -3
- package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +21 -0
- package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +21 -0
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +3 -3
- package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +10 -11
- package/esm2022/conversation/lib/conversation.module.mjs +25 -5
- package/esm2022/conversation/lib/conversation.types.mjs +1 -1
- package/esm2022/conversation/lib/services/conversation.service.mjs +135 -2
- package/esm2022/select-box/lib/select-box.component.mjs +14 -2
- package/esm2022/slider/acorex-components-slider.mjs +5 -0
- package/esm2022/slider/index.mjs +3 -0
- package/esm2022/slider/lib/slider.component.mjs +117 -0
- package/esm2022/slider/lib/slider.module.mjs +23 -0
- package/fesm2022/acorex-components-audio-wave.mjs +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +2 -2
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +8 -8
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +13 -1
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +352 -47
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +13 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +142 -0
- package/fesm2022/acorex-components-slider.mjs.map +1 -0
- package/package.json +7 -7
- package/slider/README.md +3 -0
- package/slider/index.d.ts +2 -0
- package/{range-slider/lib/range-slider.component.d.ts → slider/lib/slider.component.d.ts} +4 -4
- package/slider/lib/slider.module.d.ts +10 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +0 -5
- package/esm2022/range-slider/index.mjs +0 -3
- package/esm2022/range-slider/lib/range-slider.component.mjs +0 -117
- package/esm2022/range-slider/lib/range-slider.module.mjs +0 -23
- package/fesm2022/acorex-components-range-slider.mjs +0 -142
- package/fesm2022/acorex-components-range-slider.mjs.map +0 -1
- package/range-slider/README.md +0 -3
- package/range-slider/index.d.ts +0 -2
- package/range-slider/lib/range-slider.module.d.ts +0 -10
@@ -11,10 +11,10 @@ import * as i9 from "@acorex/components/label";
|
|
11
11
|
import * as i10 from "@acorex/components/button";
|
12
12
|
import * as i11 from "@acorex/components/decorators";
|
13
13
|
import * as i12 from "@acorex/components/number-box";
|
14
|
-
import * as i13 from "@acorex/components/
|
14
|
+
import * as i13 from "@acorex/components/slider";
|
15
15
|
import * as i14 from "@angular/cdk/drag-drop";
|
16
16
|
export declare class AXColorPaletteModule {
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.AXTextBoxModule, typeof i9.AXLabelModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.AXNumberBoxModule, typeof i13.
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.AXTextBoxModule, typeof i9.AXLabelModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.AXNumberBoxModule, typeof i13.AXSliderModule, typeof i14.DragDropModule], [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent]>;
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
|
20
20
|
}
|
@@ -11,6 +11,7 @@ export declare class MXSelectionBridgeService {
|
|
11
11
|
}
|
12
12
|
export declare const AX_SELECTION_DATA_TOKEN: InjectionToken<MXSelectionBridgeService>;
|
13
13
|
export declare abstract class MXSelectionValueComponent<T = unknown> extends MXValueComponent<unknown> {
|
14
|
+
private formatService;
|
14
15
|
private dataService;
|
15
16
|
disabledCallback: (e: {
|
16
17
|
item: T;
|
package/conversation/index.d.ts
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
export * from './lib/classes/events.interface';
|
2
|
+
export * from './lib/conversation-container/conversation-container.component';
|
2
3
|
export * from './lib/conversation-input/conversation-input.component';
|
3
4
|
export * from './lib/conversation-input/conversation-input.interface';
|
4
5
|
export * from './lib/conversation-message/conversation-message.component';
|
6
|
+
export * from './lib/conversation-messages/conversation-message-audio/conversation-message-audio.component';
|
5
7
|
export * from './lib/conversation-messages/conversation-message-file/conversation-message-file.component';
|
8
|
+
export * from './lib/conversation-messages/conversation-message-image/conversation-message-image.component';
|
6
9
|
export * from './lib/conversation-messages/conversation-message-text/conversation-message-text.component';
|
10
|
+
export * from './lib/conversation-messages/conversation-message-video/conversation-message-video.component';
|
7
11
|
export * from './lib/conversation-messages/conversation-message-voice/conversation-message-voice.component';
|
8
12
|
export * from './lib/conversation-view/conversation-view.component';
|
9
13
|
export * from './lib/conversation.module';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXConversationContainerComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationContainerComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationContainerComponent, "ax-conversation-container", never, {}, {}, never, ["ax-conversation-view", "ax-conversation-input"], false, never>;
|
5
|
+
}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { AXClickEvent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
|
2
|
-
import { ElementRef, WritableSignal } from '@angular/core';
|
2
|
+
import { ElementRef, Signal, WritableSignal } from '@angular/core';
|
3
|
+
import { AXConversationMessage } from '../conversation.types';
|
4
|
+
import { AXConversationService } from '../services/conversation.service';
|
3
5
|
import { AXRecordingService } from '../services/recording.service';
|
4
6
|
import * as i0 from "@angular/core";
|
5
7
|
declare const AXConversationInputComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
@@ -9,6 +11,9 @@ declare const AXConversationInputComponent_base: import("polytype").Polytype.Clu
|
|
9
11
|
}, typeof MXLookComponent]>;
|
10
12
|
export declare class AXConversationInputComponent extends AXConversationInputComponent_base {
|
11
13
|
inputFile: ElementRef<HTMLInputElement>;
|
14
|
+
conversationService: AXConversationService;
|
15
|
+
protected chats: Signal<AXConversationMessage<any>[]>;
|
16
|
+
protected replyChat: Signal<AXConversationMessage<any>>;
|
12
17
|
maxLength: import("@angular/core").InputSignal<number>;
|
13
18
|
hasAttachment: import("@angular/core").InputSignal<boolean>;
|
14
19
|
haVoice: import("@angular/core").InputSignal<boolean>;
|
@@ -26,6 +31,7 @@ export declare class AXConversationInputComponent extends AXConversationInputCom
|
|
26
31
|
handleChangeFile(event: Event): void;
|
27
32
|
handleSendClick(): void;
|
28
33
|
handleSendVoiceClick(): void;
|
34
|
+
closeReplyHandler(): void;
|
29
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationInputComponent, never>;
|
30
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationInputComponent, "ax-conversation-input", never, { "look": { "alias": "look"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hasAttachment": { "alias": "hasAttachment"; "required": false; "isSignal": true; }; "haVoice": { "alias": "haVoice"; "required": false; "isSignal": true; }; "acceptFileType": { "alias": "acceptFileType"; "required": false; "isSignal": true; }; }, { "onSendClick": "onSendClick"; "onStartRecording": "onStartRecording"; "onCancelRecording": "onCancelRecording"; }, never, never, false, never>;
|
31
37
|
}
|
@@ -3,10 +3,12 @@ import { AXPopoverComponent } from '@acorex/components/popover';
|
|
3
3
|
import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';
|
4
4
|
import { AXConversationMessage } from '../conversation.types';
|
5
5
|
import { AXConversationMessageTypeRegistryService } from '../services/conversation-message-type-registry.service';
|
6
|
+
import { AXConversationService } from '../services/conversation.service';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class AXConversationMessageComponent extends MXBaseComponent {
|
8
9
|
popover: import("@angular/core").Signal<AXPopoverComponent>;
|
9
|
-
|
10
|
+
conversationService: AXConversationService;
|
11
|
+
chatMessage: import("@angular/core").InputSignal<AXConversationMessage<any>>;
|
10
12
|
protected _portal: ComponentPortal<any> | null;
|
11
13
|
protected get isOwn(): boolean;
|
12
14
|
protected registryService: AXConversationMessageTypeRegistryService;
|
@@ -15,6 +17,7 @@ export declare class AXConversationMessageComponent extends MXBaseComponent {
|
|
15
17
|
protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
16
18
|
protected handleResendClick(): void;
|
17
19
|
protected handleDeleteClick(): void;
|
20
|
+
protected replyHandler(e: any): void;
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationMessageComponent, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageComponent, "ax-conversation-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; }; }, {}, never, never, false, never>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationMessageComponent, "ax-conversation-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
20
23
|
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { AXAudioWaveChangeEvent, AXWaveConfig } from '@acorex/components/audio-wave';
|
2
|
+
import { WritableSignal } from '@angular/core';
|
3
|
+
import { AXConversationViewComponent } from '../../conversation-view/conversation-view.component';
|
4
|
+
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class ConversationMessageAudioComponent extends AXConversationMessageBaseComponent<string> {
|
7
|
+
config: AXWaveConfig;
|
8
|
+
audioState: WritableSignal<'playing' | 'paused' | 'loading' | 'ready' | 'error'>;
|
9
|
+
parent: AXConversationViewComponent;
|
10
|
+
selectedRate: WritableSignal<number>;
|
11
|
+
selectedRateIndex: WritableSignal<number>;
|
12
|
+
protected audioProgress: WritableSignal<number>;
|
13
|
+
protected timeLeft: WritableSignal<number>;
|
14
|
+
protected currentTime: WritableSignal<number>;
|
15
|
+
protected duration: WritableSignal<number>;
|
16
|
+
constructor();
|
17
|
+
setWaveColor(): void;
|
18
|
+
handlePauseClick(): void;
|
19
|
+
handlePlayClick(): void;
|
20
|
+
handleOnStatusChanged(e: AXAudioWaveChangeEvent): void;
|
21
|
+
handleLoadingProgress(): void;
|
22
|
+
handleCancelLoading(): void;
|
23
|
+
handleReloadClick(): void;
|
24
|
+
handleRateClick(): void;
|
25
|
+
get __hostClass(): string;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationMessageAudioComponent, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationMessageAudioComponent, "ax-conversation-message-audio", never, {}, {}, never, never, true, never>;
|
28
|
+
}
|
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AXConversationFileMessageComponent extends AXConversationMessageBaseComponent<string> {
|
8
8
|
fileState: WritableSignal<'loading' | 'ready' | 'error'>;
|
9
9
|
fileSize: WritableSignal<number>;
|
10
|
+
fileName: WritableSignal<string>;
|
10
11
|
fileService: AXFileService;
|
11
12
|
http: HttpClient;
|
12
13
|
parent: AXConversationViewComponent;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class ConversationMessageImageComponent extends AXConversationMessageBaseComponent<string> implements OnInit {
|
5
|
+
protected _imageUrl: import("@angular/core").WritableSignal<string>;
|
6
|
+
ngOnInit(): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationMessageImageComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationMessageImageComponent, "ax-conversation-message-image", never, { "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { AXConversationMessageBaseComponent } from '../../conversation.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class ConversationMessageVideoComponent extends AXConversationMessageBaseComponent<string> implements OnInit {
|
5
|
+
protected _videoUrl: import("@angular/core").WritableSignal<string>;
|
6
|
+
ngOnInit(): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationMessageVideoComponent, never>;
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationMessageVideoComponent, "ax-conversation-message-video", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -1,15 +1,16 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import {
|
2
|
+
import { Signal, ViewContainerRef } from '@angular/core';
|
3
3
|
import { AXConversationActionEvent } from '../classes/events.interface';
|
4
4
|
import { AXConversationMessage } from '../conversation.types';
|
5
|
+
import { AXConversationService } from '../services/conversation.service';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class AXConversationViewComponent extends MXBaseComponent {
|
7
|
-
|
8
|
+
conversationService: AXConversationService;
|
8
9
|
onAction: import("@angular/core").OutputEmitterRef<AXConversationActionEvent>;
|
9
|
-
protected
|
10
|
+
protected conversations: Signal<AXConversationMessage<any>[]>;
|
10
11
|
viewRef: ViewContainerRef;
|
11
12
|
constructor();
|
12
13
|
scrollIntoEndOfView(): void;
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationViewComponent, never>;
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationViewComponent, "ax-conversation-view", never, {
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXConversationViewComponent, "ax-conversation-view", never, {}, { "onAction": "onAction"; }, never, never, false, never>;
|
15
16
|
}
|
@@ -7,22 +7,23 @@ import * as i3 from "./conversation-message/conversation-message.component";
|
|
7
7
|
import * as i4 from "./conversation-messages/conversation-message-text/conversation-message-text.component";
|
8
8
|
import * as i5 from "./conversation-messages/conversation-message-voice/conversation-message-voice.component";
|
9
9
|
import * as i6 from "./conversation-messages/conversation-message-file/conversation-message-file.component";
|
10
|
-
import * as i7 from "
|
11
|
-
import * as i8 from "@angular/
|
12
|
-
import * as i9 from "@
|
13
|
-
import * as i10 from "@acorex/components/
|
14
|
-
import * as i11 from "@acorex/components/
|
15
|
-
import * as i12 from "@acorex/
|
16
|
-
import * as i13 from "@acorex/
|
17
|
-
import * as i14 from "@acorex/
|
18
|
-
import * as i15 from "@acorex/
|
19
|
-
import * as i16 from "@acorex/components/
|
20
|
-
import * as i17 from "@acorex/
|
21
|
-
import * as i18 from "@
|
22
|
-
import * as i19 from "@
|
23
|
-
import * as i20 from "@acorex/components/
|
24
|
-
import * as i21 from "@acorex/components/
|
25
|
-
import * as i22 from "@acorex/
|
10
|
+
import * as i7 from "./conversation-container/conversation-container.component";
|
11
|
+
import * as i8 from "@angular/common";
|
12
|
+
import * as i9 from "@angular/forms";
|
13
|
+
import * as i10 from "@acorex/components/common";
|
14
|
+
import * as i11 from "@acorex/components/button";
|
15
|
+
import * as i12 from "@acorex/components/decorators";
|
16
|
+
import * as i13 from "@acorex/core/translation";
|
17
|
+
import * as i14 from "@acorex/components/dropdown";
|
18
|
+
import * as i15 from "@acorex/core/format";
|
19
|
+
import * as i16 from "@acorex/components/audio-wave";
|
20
|
+
import * as i17 from "@acorex/components/circular-progress";
|
21
|
+
import * as i18 from "@acorex/core/date-time";
|
22
|
+
import * as i19 from "@angular/cdk/portal";
|
23
|
+
import * as i20 from "@acorex/components/loading";
|
24
|
+
import * as i21 from "@acorex/components/avatar";
|
25
|
+
import * as i22 from "@acorex/components/popover";
|
26
|
+
import * as i23 from "@acorex/core/file";
|
26
27
|
export interface AXChatModuleConfig {
|
27
28
|
types: AXConversationMessageType[];
|
28
29
|
}
|
@@ -34,6 +35,6 @@ export declare class AXConversationModule {
|
|
34
35
|
*/
|
35
36
|
constructor(instances: any[]);
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationModule, [{ optional: true; }]>;
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXConversationModule, [typeof i1.AXConversationViewComponent, typeof i2.AXConversationInputComponent, typeof i3.AXConversationMessageComponent, typeof i4.AXConversationTextMessageComponent, typeof i5.AXConversationAudioMessageComponent, typeof i6.AXConversationFileMessageComponent], [typeof
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXConversationModule, [typeof i1.AXConversationViewComponent, typeof i2.AXConversationInputComponent, typeof i3.AXConversationMessageComponent, typeof i4.AXConversationTextMessageComponent, typeof i5.AXConversationAudioMessageComponent, typeof i6.AXConversationFileMessageComponent, typeof i7.AXConversationContainerComponent], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i8.AsyncPipe, typeof i10.AXRippleDirective, typeof i11.AXButtonModule, typeof i12.AXDecoratorModule, typeof i13.AXTranslationModule, typeof i14.AXDropdownModule, typeof i15.AXFormatModule, typeof i16.AXAudioWaveModule, typeof i17.AXCircularProgressModule, typeof i18.AXDateTimeModule, typeof i19.CdkPortalOutlet, typeof i20.AXLoadingModule, typeof i21.AXAvatarModule, typeof i22.AXPopoverModule, typeof i23.AXFileModule], [typeof i1.AXConversationViewComponent, typeof i2.AXConversationInputComponent, typeof i3.AXConversationMessageComponent, typeof i4.AXConversationTextMessageComponent, typeof i5.AXConversationAudioMessageComponent, typeof i6.AXConversationFileMessageComponent, typeof i7.AXConversationContainerComponent]>;
|
38
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXConversationModule>;
|
39
40
|
}
|
@@ -10,9 +10,10 @@ export interface AXConversationMessage<T> {
|
|
10
10
|
sendTime: Date | null;
|
11
11
|
deliverTime?: Date;
|
12
12
|
readTime?: Date;
|
13
|
-
replyTo?:
|
13
|
+
replyTo?: AXConversationMessage<T>;
|
14
14
|
content: T;
|
15
15
|
fromId?: string;
|
16
|
+
name: string;
|
16
17
|
onResendClick?: () => void;
|
17
18
|
onDeleteClick?: () => void;
|
18
19
|
onDownloadClick?: () => void;
|
@@ -1,5 +1,59 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
export declare class AXConversationService {
|
3
|
+
replyId: import("@angular/core").WritableSignal<string>;
|
4
|
+
chats: import("@angular/core").WritableSignal<({
|
5
|
+
id: string;
|
6
|
+
sendTime: Date;
|
7
|
+
type: string;
|
8
|
+
readTime: Date;
|
9
|
+
content: string;
|
10
|
+
name: string;
|
11
|
+
fromId?: undefined;
|
12
|
+
replyTo?: undefined;
|
13
|
+
} | {
|
14
|
+
id: string;
|
15
|
+
fromId: string;
|
16
|
+
sendTime: Date;
|
17
|
+
readTime: Date;
|
18
|
+
type: string;
|
19
|
+
content: string;
|
20
|
+
name: string;
|
21
|
+
replyTo: {
|
22
|
+
id: string;
|
23
|
+
sendTime: Date;
|
24
|
+
type: string;
|
25
|
+
readTime: Date;
|
26
|
+
content: string;
|
27
|
+
name: string;
|
28
|
+
fromId?: undefined;
|
29
|
+
};
|
30
|
+
} | {
|
31
|
+
id: string;
|
32
|
+
fromId: string;
|
33
|
+
sendTime: Date;
|
34
|
+
readTime: Date;
|
35
|
+
type: string;
|
36
|
+
name: string;
|
37
|
+
content: string;
|
38
|
+
replyTo?: undefined;
|
39
|
+
} | {
|
40
|
+
id: string;
|
41
|
+
sendTime: Date;
|
42
|
+
readTime: Date;
|
43
|
+
type: string;
|
44
|
+
content: string;
|
45
|
+
name: string;
|
46
|
+
replyTo: {
|
47
|
+
id: string;
|
48
|
+
fromId: string;
|
49
|
+
sendTime: Date;
|
50
|
+
readTime: Date;
|
51
|
+
type: string;
|
52
|
+
content: string;
|
53
|
+
name: string;
|
54
|
+
};
|
55
|
+
fromId?: undefined;
|
56
|
+
})[]>;
|
3
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXConversationService, never>;
|
4
58
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXConversationService>;
|
5
59
|
}
|
@@ -31,7 +31,7 @@ export class AXAudioWaveComponent {
|
|
31
31
|
this.audioState.set('ready');
|
32
32
|
});
|
33
33
|
this.audio?.on('error', (e) => {
|
34
|
-
this.errorMessage.set(e
|
34
|
+
this.errorMessage.set(e?.message);
|
35
35
|
this.audioState.set('error');
|
36
36
|
});
|
37
37
|
this.bindEvents();
|
@@ -225,4 +225,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
225
225
|
type: ViewChild,
|
226
226
|
args: ['d', { static: false }]
|
227
227
|
}] } });
|
228
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8td2F2ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYXVkaW8td2F2ZS9zcmMvbGliL2F1ZGlvLXdhdmUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2F1ZGlvLXdhdmUvc3JjL2xpYi9hdWRpby13YXZlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUVWLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBRWpCLGVBQWUsRUFDZixNQUFNLEVBQ04sS0FBSyxFQUNML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9XCJheC1hdWRpby13YXZlXCIgI2QgW25nU3R5bGVdPVwieydkaXNwbGF5JzogYXVkaW9TdGF0ZSgpID09PSAncmVhZHknID8gJ2Jsb2NrJyA6ICdub25lJyB9XCI+PC9kaXY+XG5cbkBzd2l0Y2ggKGF1ZGlvU3RhdGUoKSkge1xuQGNhc2UgKCdsb2FkaW5nJykge1xuPGRpdiBjbGFzcz1cImF4LWF1ZGlvLXNrZWxldG9uXCI+PC9kaXY+XG59XG5AY2FzZSAoJ2Vycm9yJykge1xuPGRpdiBjbGFzcz1cImF4LXdhdmUtbWVzc2FnZVwiPlxuICAgIHt7J2Vycm9yLm1lc3NhZ2UnIHwgdHJhbnNsYXRlOnsgcGFyYW1zOnsgbWVzc2FnZTogZXJyb3JNZXNzYWdlKCkgfSB9IHwgYXN5bmMgfX1cbjwvZGl2PlxufVxufSJdfQ==
|
@@ -10,11 +10,11 @@ export class AXBadgeComponent extends MXColorLookComponent {
|
|
10
10
|
return `ax-el-${this.color}-${this.look} ${!this.text ? 'ax-mini-badge' : ''} ${this.text?.length == 1 ? 'ax-single-badge' : ''}`;
|
11
11
|
}
|
12
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBadgeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text){\n<span class=\"ax-badge-text\">{{ text }}</span>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;border-radius:9999px;border-width:1px;border-color:transparent;font-size:.75rem
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text){\n<span class=\"ax-badge-text\">{{ text }}</span>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;border-radius:9999px;border-width:1px;border-color:transparent;font-size:.75rem}ax-badge.ax-mini-badge{height:.5rem;width:.5rem}ax-badge.ax-mini-badge .ax-badge-text{display:none}ax-badge.ax-single-badge{display:flex;height:1.25rem;width:1.25rem;align-items:center;justify-content:center}ax-badge.ax-single-badge .ax-badge-text{padding:0}ax-badge .ax-badge-text{white-space:nowrap;word-break:break-all;padding:.25rem .375rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
14
14
|
}
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
16
16
|
type: Component,
|
17
|
-
args: [{ selector: 'ax-badge', inputs: ['color', 'look'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text){\n<span class=\"ax-badge-text\">{{ text }}</span>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;border-radius:9999px;border-width:1px;border-color:transparent;font-size:.75rem
|
17
|
+
args: [{ selector: 'ax-badge', inputs: ['color', 'look'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\n@if(text){\n<span class=\"ax-badge-text\">{{ text }}</span>\n}\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;border-radius:9999px;border-width:1px;border-color:transparent;font-size:.75rem}ax-badge.ax-mini-badge{height:.5rem;width:.5rem}ax-badge.ax-mini-badge .ax-badge-text{display:none}ax-badge.ax-single-badge{display:flex;height:1.25rem;width:1.25rem;align-items:center;justify-content:center}ax-badge.ax-single-badge .ax-badge-text{padding:0}ax-badge .ax-badge-text{white-space:nowrap;word-break:break-all;padding:.25rem .375rem}\n"] }]
|
18
18
|
}], propDecorators: { text: [{
|
19
19
|
type: Input
|
20
20
|
}], __hostClass: [{
|
@@ -5,7 +5,7 @@ import { AXColorPaletteChildComponent, AXColorPaletteParentComponent } from './c
|
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
import * as i1 from "@acorex/core/utils";
|
7
7
|
import * as i2 from "@angular/forms";
|
8
|
-
import * as i3 from "@acorex/components/
|
8
|
+
import * as i3 from "@acorex/components/slider";
|
9
9
|
import * as i4 from "@angular/cdk/drag-drop";
|
10
10
|
import * as i5 from "./color-palette.class";
|
11
11
|
export class AXColorPalettePickerComponent extends MXBaseComponent {
|
@@ -150,7 +150,7 @@ export class AXColorPalettePickerComponent extends MXBaseComponent {
|
|
150
150
|
useExisting: AXColorPalettePickerComponent,
|
151
151
|
},
|
152
152
|
AXUnsubscriber,
|
153
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-
|
153
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-slider class=\"ax-color-box-gradient\" [minValue]=\"0\" [maxValue]=\"100\" [step]=\"1\" [ngModel]=\"_gradient\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleGradientChanged($event)\">\n</ax-slider>\n<ax-slider class=\"ax-color-box-transparent\" [minValue]=\"0\" [maxValue]=\"1\" [step]=\"0.01\" [ngModel]=\"_rgba.a\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleAlphaChanged($event)\">\n</ax-slider>", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.AXSliderComponent, selector: "ax-slider", inputs: ["readonly", "disabled", "value", "name", "color", "minValue", "maxValue", "step", "direction"], outputs: ["valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
154
154
|
}
|
155
155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXColorPalettePickerComponent, decorators: [{
|
156
156
|
type: Component,
|
@@ -160,7 +160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
160
160
|
useExisting: AXColorPalettePickerComponent,
|
161
161
|
},
|
162
162
|
AXUnsubscriber,
|
163
|
-
], template: "<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-
|
163
|
+
], template: "<div class=\"ax-color-box-overlay-trans\">\n <div class=\"ax-color-box-overlay\" [style.background-color]=\"_bgColor\">\n <div class=\"ax-color-box-overlay-g1\"></div>\n <div class=\"ax-color-box-overlay-g2\" (click)=\"_handleSurfaceClick($event)\"></div>\n <div class=\"ax-color-box-pointer\" cdkDrag cdkDragBoundary=\".ax-color-box-overlay\"\n [cdkDragFreeDragPosition]=\"dragPosition\" (cdkDragEnded)=\"_handleDrag()\"\n [cdkDragDisabled]=\"_parent.disabled || _parent.readonly\">\n </div>\n </div>\n</div>\n<ax-slider class=\"ax-color-box-gradient\" [minValue]=\"0\" [maxValue]=\"100\" [step]=\"1\" [ngModel]=\"_gradient\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleGradientChanged($event)\">\n</ax-slider>\n<ax-slider class=\"ax-color-box-transparent\" [minValue]=\"0\" [maxValue]=\"1\" [step]=\"0.01\" [ngModel]=\"_rgba.a\"\n [disabled]=\"_parent.disabled\" [readonly]=\"_parent.readonly\" (onValueChanged)=\"_handleAlphaChanged($event)\">\n</ax-slider>" }]
|
164
164
|
}], ctorParameters: () => [{ type: i5.AXColorPaletteParentComponent, decorators: [{
|
165
165
|
type: Inject,
|
166
166
|
args: [AXColorPaletteParentComponent]
|
@@ -168,4 +168,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
168
168
|
type: HostBinding,
|
169
169
|
args: ['class']
|
170
170
|
}] } });
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGFsZXR0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbG9yLXBhbGV0dGUvc3JjL2xpYi9jb2xvci1wYWxldHRlLXBpY2tlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29sb3ItcGFsZXR0ZS9zcmMvbGliL2NvbG9yLXBhbGV0dGUtcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBdUIsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDakYsT0FBTyxFQUFFLFdBQVcsRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0csT0FBTyxFQUFFLDRCQUE0QixFQUFFLDZCQUE2QixFQUFFLE1BQU0sdUJBQXVCLENBQUM7Ozs7Ozs7QUFlcEcsTUFBTSxPQU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