@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.
Files changed (66) hide show
  1. package/color-palette/lib/color-palette.module.d.ts +2 -2
  2. package/common/lib/components/selection-base.component.class.d.ts +1 -0
  3. package/conversation/index.d.ts +4 -0
  4. package/conversation/lib/conversation-container/conversation-container.component.d.ts +5 -0
  5. package/conversation/lib/conversation-input/conversation-input.component.d.ts +7 -1
  6. package/conversation/lib/conversation-message/conversation-message.component.d.ts +5 -2
  7. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +28 -0
  8. package/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.d.ts +1 -0
  9. package/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.d.ts +9 -0
  10. package/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.d.ts +9 -0
  11. package/conversation/lib/conversation-view/conversation-view.component.d.ts +5 -4
  12. package/conversation/lib/conversation.module.d.ts +18 -17
  13. package/conversation/lib/conversation.types.d.ts +2 -1
  14. package/conversation/lib/services/conversation.service.d.ts +54 -0
  15. package/esm2022/audio-wave/lib/audio-wave.component.mjs +2 -2
  16. package/esm2022/badge/lib/badge.component.mjs +2 -2
  17. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +4 -4
  18. package/esm2022/color-palette/lib/color-palette.component.mjs +2 -2
  19. package/esm2022/color-palette/lib/color-palette.module.mjs +4 -4
  20. package/esm2022/common/lib/components/selection-base.component.class.mjs +14 -2
  21. package/esm2022/conversation/index.mjs +5 -1
  22. package/esm2022/conversation/lib/conversation-container/conversation-container.component.mjs +11 -0
  23. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +18 -5
  24. package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +19 -16
  25. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +113 -0
  26. package/esm2022/conversation/lib/conversation-messages/conversation-message-file/conversation-message-file.component.mjs +5 -3
  27. package/esm2022/conversation/lib/conversation-messages/conversation-message-image/conversation-message-image.component.mjs +21 -0
  28. package/esm2022/conversation/lib/conversation-messages/conversation-message-video/conversation-message-video.component.mjs +21 -0
  29. package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +3 -3
  30. package/esm2022/conversation/lib/conversation-view/conversation-view.component.mjs +10 -11
  31. package/esm2022/conversation/lib/conversation.module.mjs +25 -5
  32. package/esm2022/conversation/lib/conversation.types.mjs +1 -1
  33. package/esm2022/conversation/lib/services/conversation.service.mjs +135 -2
  34. package/esm2022/select-box/lib/select-box.component.mjs +14 -2
  35. package/esm2022/slider/acorex-components-slider.mjs +5 -0
  36. package/esm2022/slider/index.mjs +3 -0
  37. package/esm2022/slider/lib/slider.component.mjs +117 -0
  38. package/esm2022/slider/lib/slider.module.mjs +23 -0
  39. package/fesm2022/acorex-components-audio-wave.mjs +1 -1
  40. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  41. package/fesm2022/acorex-components-badge.mjs +2 -2
  42. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  43. package/fesm2022/acorex-components-color-palette.mjs +8 -8
  44. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  45. package/fesm2022/acorex-components-common.mjs +13 -1
  46. package/fesm2022/acorex-components-common.mjs.map +1 -1
  47. package/fesm2022/acorex-components-conversation.mjs +352 -47
  48. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  49. package/fesm2022/acorex-components-select-box.mjs +13 -1
  50. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  51. package/fesm2022/acorex-components-slider.mjs +142 -0
  52. package/fesm2022/acorex-components-slider.mjs.map +1 -0
  53. package/package.json +7 -7
  54. package/slider/README.md +3 -0
  55. package/slider/index.d.ts +2 -0
  56. package/{range-slider/lib/range-slider.component.d.ts → slider/lib/slider.component.d.ts} +4 -4
  57. package/slider/lib/slider.module.d.ts +10 -0
  58. package/esm2022/range-slider/acorex-components-range-slider.mjs +0 -5
  59. package/esm2022/range-slider/index.mjs +0 -3
  60. package/esm2022/range-slider/lib/range-slider.component.mjs +0 -117
  61. package/esm2022/range-slider/lib/range-slider.module.mjs +0 -23
  62. package/fesm2022/acorex-components-range-slider.mjs +0 -142
  63. package/fesm2022/acorex-components-range-slider.mjs.map +0 -1
  64. package/range-slider/README.md +0 -3
  65. package/range-slider/index.d.ts +0 -2
  66. package/range-slider/lib/range-slider.module.d.ts +0 -10
@@ -1,15 +1,16 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, Input, ViewContainerRef, ViewEncapsulation, afterNextRender, inject, output, signal, } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, ViewContainerRef, ViewEncapsulation, afterNextRender, computed, inject, output, } from '@angular/core';
3
+ import { AXConversationService } from '../services/conversation.service';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "../conversation-message/conversation-message.component";
5
6
  export class AXConversationViewComponent extends MXBaseComponent {
6
- set conversations(items) {
7
- this._conversations.set(items);
8
- }
9
7
  constructor() {
10
8
  super();
9
+ this.conversationService = inject(AXConversationService);
11
10
  this.onAction = output();
12
- this._conversations = signal([]);
11
+ this.conversations = computed(() => {
12
+ return this.conversationService.chats();
13
+ });
13
14
  this.viewRef = inject(ViewContainerRef);
14
15
  afterNextRender(() => {
15
16
  this.scrollIntoEndOfView();
@@ -20,12 +21,10 @@ export class AXConversationViewComponent extends MXBaseComponent {
20
21
  el.scroll({ top: el.scrollHeight });
21
22
  }
22
23
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXConversationViewComponent, selector: "ax-conversation-view", inputs: { conversations: "conversations" }, outputs: { onAction: "onAction" }, usesInheritance: true, ngImport: i0, template: "@for (item of _conversations(); track $index) {\n<ax-conversation-message [chatMessage]=\"item\"></ax-conversation-message>\n}", styles: ["ax-conversation-view{display:flex;flex-direction:column;gap:.5rem;height:100%;width:100%;overflow-y:auto;overflow-x:hidden}\n"], dependencies: [{ kind: "component", type: i1.AXConversationMessageComponent, selector: "ax-conversation-message", inputs: ["chatMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXConversationViewComponent, selector: "ax-conversation-view", outputs: { onAction: "onAction" }, usesInheritance: true, ngImport: i0, template: "@for (item of conversations(); track $index) {\n <ax-conversation-message [chatMessage]=\"item\"></ax-conversation-message>\n}\n", styles: ["ax-conversation-view{display:flex;flex-direction:column;gap:.5rem;height:100%;width:100%;overflow-y:auto;overflow-x:hidden}\n"], dependencies: [{ kind: "component", type: i1.AXConversationMessageComponent, selector: "ax-conversation-message", inputs: ["chatMessage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
24
25
  }
25
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationViewComponent, decorators: [{
26
27
  type: Component,
27
- args: [{ selector: 'ax-conversation-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@for (item of _conversations(); track $index) {\n<ax-conversation-message [chatMessage]=\"item\"></ax-conversation-message>\n}", styles: ["ax-conversation-view{display:flex;flex-direction:column;gap:.5rem;height:100%;width:100%;overflow-y:auto;overflow-x:hidden}\n"] }]
28
- }], ctorParameters: () => [], propDecorators: { conversations: [{
29
- type: Input
30
- }] } });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOls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GZvciAoaXRlbSBvZiBfY29udmVyc2F0aW9ucygpOyB0cmFjayAkaW5kZXgpIHtcbjxheC1jb252ZXJzYXRpb24tbWVzc2FnZSBbY2hhdE1lc3NhZ2VdPVwiaXRlbVwiPjwvYXgtY29udmVyc2F0aW9uLW1lc3NhZ2U+XG59Il19
28
+ args: [{ selector: 'ax-conversation-view', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@for (item of conversations(); track $index) {\n <ax-conversation-message [chatMessage]=\"item\"></ax-conversation-message>\n}\n", styles: ["ax-conversation-view{display:flex;flex-direction:column;gap:.5rem;height:100%;width:100%;overflow-y:auto;overflow-x:hidden}\n"] }]
29
+ }], ctorParameters: () => [] });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbnZlcnNhdGlvbi9zcmMvbGliL2NvbnZlcnNhdGlvbi12aWV3L2NvbnZlcnNhdGlvbi12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24tdmlldy9jb252ZXJzYXRpb24tdmlldy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDNUQsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsZ0JBQWdCLEVBQ2hCLGlCQUFpQixFQUNqQixlQUFlLEVBQ2YsUUFBUSxFQUNSLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFHdkIs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XRpb25BY3Rpb25FdmVudD4oKTtcbiAgcHJvdGVjdGVkIGNvbnZlcnNhdGlvbnM6IFNpZ25hbDxBWENvbnZlcnNhdGlvbk1lc3NhZ2U8YW55PltdPiA9IGNvbXB1dGVkKCgpID0+IHtcbiAgICByZXR1cm4gdGhpcy5jb252ZXJzYXRpb25TZXJ2aWNlLmNoYXRzKCk7XG4gIH0pO1xuXG4gIHZpZXdSZWY6IFZpZXdDb250YWluZXJSZWYgPSBpbmplY3QoVmlld0NvbnRhaW5lclJlZik7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gICAgYWZ0ZXJOZXh0UmVuZGVyKCgpID0+IHtcbiAgICAgIHRoaXMuc2Nyb2xsSW50b0VuZE9mVmlldygpO1xuICAgIH0pO1xuICB9XG4gIHNjcm9sbEludG9FbmRPZlZpZXcoKSB7XG4gICAgY29uc3QgZWwgPSB0aGlzLnZpZXdSZWYuZWxlbWVudC5uYXRpdmVFbGVtZW50IGFzIEhUTUxFbGVtZW50O1xuICAgIGVsLnNjcm9sbCh7IHRvcDogZWwuc2Nyb2xsSGVpZ2h0IH0pO1xuICB9XG59XG4iLCJAZm9yIChpdGVtIG9mIGNvbnZlcnNhdGlvbnMoKTsgdHJhY2sgJGluZGV4KSB7XG4gIDxheC1jb252ZXJzYXRpb24tbWVzc2FnZSBbY2hhdE1lc3NhZ2VdPVwiaXRlbVwiPjwvYXgtY29udmVyc2F0aW9uLW1lc3NhZ2U+XG59XG4iXX0=
@@ -15,13 +15,18 @@ import { CdkPortalOutlet } from '@angular/cdk/portal';
15
15
  import { AsyncPipe, CommonModule } from '@angular/common';
16
16
  import { Inject, NgModule, Optional } from '@angular/core';
17
17
  import { FormsModule } from '@angular/forms';
18
+ import { AXConversationContainerComponent } from './conversation-container/conversation-container.component';
18
19
  import { AXConversationInputComponent } from './conversation-input/conversation-input.component';
19
20
  import { AXConversationMessageComponent } from './conversation-message/conversation-message.component';
21
+ import { ConversationMessageAudioComponent } from './conversation-messages/conversation-message-audio/conversation-message-audio.component';
20
22
  import { AXConversationFileMessageComponent } from './conversation-messages/conversation-message-file/conversation-message-file.component';
23
+ import { ConversationMessageImageComponent } from './conversation-messages/conversation-message-image/conversation-message-image.component';
21
24
  import { AXConversationTextMessageComponent } from './conversation-messages/conversation-message-text/conversation-message-text.component';
25
+ import { ConversationMessageVideoComponent } from './conversation-messages/conversation-message-video/conversation-message-video.component';
22
26
  import { AXConversationAudioMessageComponent } from './conversation-messages/conversation-message-voice/conversation-message-voice.component';
23
27
  import { AXConversationViewComponent } from './conversation-view/conversation-view.component';
24
28
  import { AXConversationMessageTypeRegistryService } from './services/conversation-message-type-registry.service';
29
+ import { AXConversationService } from './services/conversation.service';
25
30
  import { AXRecordingService } from './services/recording.service';
26
31
  import * as i0 from "@angular/core";
27
32
  const COMPONENT = [
@@ -31,6 +36,7 @@ const COMPONENT = [
31
36
  AXConversationTextMessageComponent,
32
37
  AXConversationAudioMessageComponent,
33
38
  AXConversationFileMessageComponent,
39
+ AXConversationContainerComponent,
34
40
  ];
35
41
  const MODULES = [
36
42
  CommonModule,
@@ -74,6 +80,18 @@ export class AXConversationModule {
74
80
  name: 'file',
75
81
  component: AXConversationFileMessageComponent,
76
82
  });
83
+ registry.register({
84
+ name: 'audio',
85
+ component: ConversationMessageAudioComponent,
86
+ });
87
+ registry.register({
88
+ name: 'image',
89
+ component: ConversationMessageImageComponent,
90
+ });
91
+ registry.register({
92
+ name: 'video',
93
+ component: ConversationMessageVideoComponent,
94
+ });
77
95
  },
78
96
  deps: [AXConversationMessageTypeRegistryService],
79
97
  multi: true,
@@ -112,7 +130,8 @@ export class AXConversationModule {
112
130
  AXConversationMessageComponent,
113
131
  AXConversationTextMessageComponent,
114
132
  AXConversationAudioMessageComponent,
115
- AXConversationFileMessageComponent], imports: [CommonModule,
133
+ AXConversationFileMessageComponent,
134
+ AXConversationContainerComponent], imports: [CommonModule,
116
135
  FormsModule,
117
136
  AsyncPipe,
118
137
  AXRippleDirective,
@@ -133,8 +152,9 @@ export class AXConversationModule {
133
152
  AXConversationMessageComponent,
134
153
  AXConversationTextMessageComponent,
135
154
  AXConversationAudioMessageComponent,
136
- AXConversationFileMessageComponent] }); }
137
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationModule, providers: [AXRecordingService], imports: [CommonModule,
155
+ AXConversationFileMessageComponent,
156
+ AXConversationContainerComponent] }); }
157
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationModule, providers: [AXRecordingService, AXConversationService], imports: [CommonModule,
138
158
  FormsModule,
139
159
  AXButtonModule,
140
160
  AXDecoratorModule,
@@ -155,7 +175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
155
175
  declarations: [...COMPONENT],
156
176
  imports: [...MODULES],
157
177
  exports: [...COMPONENT],
158
- providers: [AXRecordingService],
178
+ providers: [AXRecordingService, AXConversationService],
159
179
  }]
160
180
  }], ctorParameters: () => [{ type: undefined, decorators: [{
161
181
  type: Optional
@@ -163,4 +183,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
163
183
  type: Inject,
164
184
  args: ['AXChatModuleFactory']
165
185
  }] }] });
166
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jb252ZXJzYXRpb24vc3JjL2xpYi9jb252ZXJzYXRpb24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2xFLE9B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AgICAgIGlmIChjb25maWc/LnR5cGVzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgcmVnaXN0cnkucmVnaXN0ZXIoLi4uY29uZmlnLnR5cGVzKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9LFxuICAgICAgICAgIGRlcHM6IFtBWENvbnZlcnNhdGlvbk1lc3NhZ2VUeXBlUmVnaXN0cnlTZXJ2aWNlXSxcbiAgICAgICAgICBtdWx0aTogdHJ1ZSxcbiAgICAgICAgfSxcbiAgICAgIF0sXG4gICAgfTtcbiAgfVxuXG4gIC8qKlxuICAgKiBAaWdub3JlXG4gICAqL1xuICBjb25zdHJ1Y3RvcihAT3B0aW9uYWwoKSBASW5qZWN0KCdBWENoYXRNb2R1bGVGYWN0b3J5JykgaW5zdGFuY2VzOiBhbnlbXSkge1xuICAgIGluc3RhbmNlcz8uZm9yRWFjaCgoZikgPT4ge1xuICAgICAgZigpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -7,4 +7,4 @@ export class AXConversationMessageBaseComponent {
7
7
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXConversationMessageBaseComponent, decorators: [{
8
8
  type: Injectable
9
9
  }] });
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyc2F0aW9uLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbnZlcnNhdGlvbi9zcmMvbGliL2NvbnZlcnNhdGlvbi50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFRLE1BQU0sZUFBZSxDQUFDOztBQXVCakQsTUFBTSxPQUFPLGtDQUFrQzs4R0FBbEMsa0NBQWtDO2tIQUFsQyxrQ0FBa0M7OzJGQUFsQyxrQ0FB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