@acorex/components 17.0.3 → 17.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/button/lib/button-item-list.component.d.ts +4 -5
  2. package/button/lib/button.component.d.ts +2 -2
  3. package/chat/lib/chat-message/chat-message.component.d.ts +2 -2
  4. package/data-table/lib/data-table/data-table.component.d.ts +4 -1
  5. package/esm2022/button/lib/button-item-list.component.mjs +46 -50
  6. package/esm2022/button/lib/button-item.component.mjs +4 -4
  7. package/esm2022/button/lib/button.component.mjs +7 -27
  8. package/esm2022/button-group/lib/button-group.component.mjs +2 -2
  9. package/esm2022/chat/lib/chat-message/chat-message.component.mjs +7 -8
  10. package/esm2022/common/lib/components/button-base-component.class.mjs +1 -1
  11. package/esm2022/data-table/lib/base-data-table.class.mjs +5 -6
  12. package/esm2022/data-table/lib/data-table/data-table.component.mjs +19 -5
  13. package/esm2022/menu/index.mjs +3 -1
  14. package/esm2022/menu/lib/class/popover.class.mjs +2 -0
  15. package/esm2022/menu/lib/class/root-menu.class.mjs +6 -1
  16. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +36 -59
  17. package/esm2022/menu/lib/menu.component.mjs +16 -13
  18. package/esm2022/menu/lib/menu.module.mjs +3 -13
  19. package/esm2022/menu/lib/menu.service.mjs +17 -0
  20. package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +3 -3
  21. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  22. package/fesm2022/acorex-components-button.mjs +49 -73
  23. package/fesm2022/acorex-components-button.mjs.map +1 -1
  24. package/fesm2022/acorex-components-chat.mjs +6 -7
  25. package/fesm2022/acorex-components-chat.mjs.map +1 -1
  26. package/fesm2022/acorex-components-common.mjs.map +1 -1
  27. package/fesm2022/acorex-components-data-table.mjs +20 -8
  28. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  29. package/fesm2022/acorex-components-menu.mjs +70 -83
  30. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  31. package/fesm2022/acorex-components-side-menu.mjs +2 -2
  32. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  33. package/menu/index.d.ts +2 -0
  34. package/menu/lib/class/popover.class.d.ts +2 -0
  35. package/menu/lib/class/root-menu.class.d.ts +3 -3
  36. package/menu/lib/menu-item/menu-item.component.d.ts +12 -20
  37. package/menu/lib/menu.component.d.ts +4 -4
  38. package/menu/lib/menu.service.d.ts +8 -0
  39. package/package.json +1 -1
@@ -1,19 +1,18 @@
1
1
  import { AXClickEvent, AXClosbaleComponent, AXItemClickEvent, MXInteractiveComponent } from '@acorex/components/common';
2
- import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
+ import { EventEmitter, QueryList } from '@angular/core';
3
3
  import { AXButtonItemComponent, AXButtonItemListItem } from './button-item.component';
4
4
  import * as i0 from "@angular/core";
5
- export declare class AXButtonItemListComponent extends MXInteractiveComponent implements AfterContentInit {
5
+ export declare class AXButtonItemListComponent extends MXInteractiveComponent {
6
6
  private parent?;
7
7
  protected _contentButtons: QueryList<AXButtonItemComponent>;
8
- items: AXButtonItemListItem[];
8
+ items: import("@angular/core").InputSignal<AXButtonItemListItem[]>;
9
9
  onItemClick: EventEmitter<AXItemClickEvent<AXButtonItemComponent>>;
10
10
  constructor(parent?: AXClosbaleComponent);
11
- ngAfterContentInit(): void;
12
11
  private _initContents;
13
12
  private _bindEvents;
14
13
  private _bindProps;
15
14
  protected _handleOnItemClick(e: AXClickEvent): void;
16
15
  _emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemListComponent, [{ optional: true; }]>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemListComponent, "ax-button-item-list", never, { "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button-item, ax-title, ax-divider, ng-container"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemListComponent, "ax-button-item-list", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button-item, ax-title, ax-divider, ng-container"], false, never>;
19
18
  }
@@ -13,7 +13,7 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
13
13
  * @event
14
14
  */
15
15
  onClick: EventEmitter<AXClickEvent>;
16
- type: AXButtonType;
16
+ type: import("@angular/core").InputSignal<AXButtonType>;
17
17
  ngAfterViewInit(): void;
18
18
  private getButton;
19
19
  _handleClick(e: MouseEvent): void;
@@ -22,5 +22,5 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
22
22
  focus(): void;
23
23
  blur(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix, ax-loading, ax-loading-spinner, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content"], false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix, ax-loading, ax-loading-spinner, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content"], false, never>;
26
26
  }
@@ -3,10 +3,10 @@ import { AXChatMessage } from '../chat.types';
3
3
  import { AXChatMessageTypeRegistryService } from '../services/chat-message-type-registry.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AXChatMessageComponent extends MXBaseComponent {
6
- chatMessage: AXChatMessage;
6
+ chatMessage: import("@angular/core").InputSignal<AXChatMessage>;
7
7
  protected get isOwn(): boolean;
8
8
  protected registryService: AXChatMessageTypeRegistryService;
9
9
  get __hostClass(): string;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AXChatMessageComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AXChatMessageComponent, "ax-chat-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; }; }, {}, never, ["ax-prefix"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXChatMessageComponent, "ax-chat-message", never, { "chatMessage": { "alias": "chatMessage"; "required": false; "isSignal": true; }; }, {}, never, ["ax-prefix"], false, never>;
12
12
  }
@@ -5,6 +5,7 @@ import { AXBaseDataTable, AXColumnsOrderChangedEvent, AXDataTableRowClick, AXDat
5
5
  import { AXDataTableColumnComponent } from '../columns/data-table-column';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, AfterViewInit {
8
+ private _unsubscriber;
8
9
  onColumnsOrderChanged: EventEmitter<AXColumnsOrderChangedEvent>;
9
10
  protected displayedRows: WritableSignal<any[]>;
10
11
  protected page: WritableSignal<number>;
@@ -19,6 +20,8 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
19
20
  showHeader: boolean;
20
21
  fixedHeader: boolean;
21
22
  itemHeight: number | 'auto';
23
+ allowReordering: boolean;
24
+ hasPagination: boolean;
22
25
  fetchDataMode: 'auto' | 'manual';
23
26
  loading: {
24
27
  enabled: boolean;
@@ -48,5 +51,5 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
48
51
  refresh(): void;
49
52
  private calculateStickyColumnsPositions;
50
53
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "onColumnsOrderChanged": "onColumnsOrderChanged"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; }, ["columns"], ["ax-header", "ax-footer"], false, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "fixedHeader": { "alias": "fixedHeader"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "hasPagination": { "alias": "hasPagination"; "required": false; }; "fetchDataMode": { "alias": "fetchDataMode"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "focusedRow": { "alias": "focusedRow"; "required": false; }; }, { "onColumnsOrderChanged": "onColumnsOrderChanged"; "focusedRowChange": "focusedRowChange"; "onRowClick": "onRowClick"; "onRowDbClick": "onRowDbClick"; }, ["columns"], ["ax-header", "ax-footer"], false, never>;
52
55
  }
@@ -1,6 +1,6 @@
1
- import { AXClosbaleComponent, MXInteractiveComponent, } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Input, Optional, Output, QueryList, ViewEncapsulation, } from '@angular/core';
3
- import { AXButtonItemComponent, } from './button-item.component';
1
+ import { AXClosbaleComponent, MXInteractiveComponent } from '@acorex/components/common';
2
+ import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Optional, Output, QueryList, ViewEncapsulation, afterNextRender, input, } from '@angular/core';
3
+ import { AXButtonItemComponent } from './button-item.component';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@acorex/components/decorators";
6
6
  import * as i2 from "./button-item.component";
@@ -9,13 +9,13 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
9
9
  constructor(parent) {
10
10
  super();
11
11
  this.parent = parent;
12
- this.items = [];
12
+ this.items = input([]);
13
13
  this.onItemClick = new EventEmitter();
14
- }
15
- ngAfterContentInit() {
16
- this._initContents();
17
- this._contentButtons.changes.subscribe(() => {
14
+ afterNextRender(() => {
18
15
  this._initContents();
16
+ this._contentButtons.changes.subscribe(() => {
17
+ this._initContents();
18
+ });
19
19
  });
20
20
  }
21
21
  _initContents() {
@@ -51,52 +51,50 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
51
51
  });
52
52
  }
53
53
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXButtonItemListComponent, deps: [{ token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
54
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXButtonItemListComponent, selector: "ax-button-item-list", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], usesInheritance: true, ngImport: i0, template: `
55
- @for (item of items; track item.name) {
56
- <ax-button-item
57
- [text]="item.text"
58
- [name]="item.name"
59
- [disabled]="item.disabled"
60
- [color]="item.color"
61
- (onClick)="_handleOnItemClick($event)"
62
- >
63
- @if (item.icon) {
64
- <ax-prefix>
65
- <ax-icon [icon]="item.icon"></ax-icon>
66
- </ax-prefix>
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXButtonItemListComponent, selector: "ax-button-item-list", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onItemClick: "onItemClick" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], usesInheritance: true, ngImport: i0, template: `
55
+ @for (item of items(); track item.name) {
56
+ <ax-button-item
57
+ [text]="item.text"
58
+ [name]="item.name"
59
+ [disabled]="item.disabled"
60
+ [color]="item.color"
61
+ (onClick)="_handleOnItemClick($event)"
62
+ >
63
+ @if (item.icon) {
64
+ <ax-prefix>
65
+ <ax-icon [icon]="item.icon"></ax-icon>
66
+ </ax-prefix>
67
+ }
68
+ </ax-button-item>
69
+ @if (item.divided) {
70
+ <ax-divider></ax-divider>
67
71
  }
68
- </ax-button-item>
69
- @if (item.divided) {
70
- <ax-divider></ax-divider>
71
- } }
72
- <ng-content
73
- select="ax-button-item, ax-title, ax-divider, ng-container"
74
- ></ng-content>
72
+ }
73
+ <ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
75
74
  `, isInline: true, styles: ["ax-button-item-list{display:flex;flex-direction:column;padding-top:.5rem;padding-bottom:.5rem}ax-button-item-list ax-title{padding-top:.25rem;padding-bottom:.25rem;padding-inline-end:2.5rem;padding-inline-start:1rem;font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;opacity:.5}ax-button-item-list ax-divider{margin-top:.25rem;margin-bottom:.25rem;height:1px;width:100%;background-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:flex-start;padding:.5rem;padding-inline-end:4rem;padding-inline-start:1rem;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-color-text-default))}ax-button-item-list ax-button-item:hover:not(ax-button-item-list ax-button-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-surface))}ax-button-item-list ax-button-item.ax-divide{border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-button-item-list ax-button-item ax-prefix,ax-button-item-list ax-button-item ax-suffix{display:flex}ax-button-item-list ax-button-item ax-prefix{padding-inline-end:.5rem}ax-button-item-list ax-button-item ax-suffix{padding-inline-start:.5rem}ax-button-item-list ax-button-item.ax-primary-default{color:rgba(var(--ax-color-primary-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-primary-default:hover,ax-button-item-list ax-button-item.ax-primary-default:focus{color:rgba(var(--ax-color-primary-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-400))}ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-button-item-list ax-button-item.ax-secondary-default{color:rgba(var(--ax-color-secondary-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-secondary-default:hover,ax-button-item-list ax-button-item.ax-secondary-default:focus{color:rgba(var(--ax-color-secondary-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-400))}ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-button-item-list ax-button-item.ax-success-default{color:rgba(var(--ax-color-success-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-success-default:hover,ax-button-item-list ax-button-item.ax-success-default:focus{color:rgba(var(--ax-color-success-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-400))}ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-button-item-list ax-button-item.ax-warning-default{color:rgba(var(--ax-color-warning-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-warning-default:hover,ax-button-item-list ax-button-item.ax-warning-default:focus{color:rgba(var(--ax-color-warning-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-400))}ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-button-item-list ax-button-item.ax-danger-default{color:rgba(var(--ax-color-danger-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-danger-default:hover,ax-button-item-list ax-button-item.ax-danger-default:focus{color:rgba(var(--ax-color-danger-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-400))}ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-button-item-list ax-button-item.ax-info-default{color:rgba(var(--ax-color-info-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-info-default:hover,ax-button-item-list ax-button-item.ax-info-default:focus{color:rgba(var(--ax-color-info-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-400))}ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default{color:rgba(var(--ax-color-primary-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-primary-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-primary-default:focus{color:rgba(var(--ax-color-primary-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-100))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default{color:rgba(var(--ax-color-secondary-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:focus{color:rgba(var(--ax-color-secondary-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-100))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-200));color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-button-item-list ax-button-item.ax-success-default{color:rgba(var(--ax-color-success-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-success-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-success-default:focus{color:rgba(var(--ax-color-success-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-100))}.ax-dark ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-200));color:rgba(var(--ax-color-success-fore))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default{color:rgba(var(--ax-color-warning-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-warning-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-warning-default:focus{color:rgba(var(--ax-color-warning-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-100))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-200));color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default{color:rgba(var(--ax-color-danger-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-danger-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-danger-default:focus{color:rgba(var(--ax-color-danger-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-100))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-200));color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-button-item-list ax-button-item.ax-info-default{color:rgba(var(--ax-color-info-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-info-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-info-default:focus{color:rgba(var(--ax-color-info-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-100))}.ax-dark ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-200));color:rgba(var(--ax-color-info-fore))}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
76
75
  }
77
76
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXButtonItemListComponent, decorators: [{
78
77
  type: Component,
79
78
  args: [{ selector: 'ax-button-item-list', template: `
80
- @for (item of items; track item.name) {
81
- <ax-button-item
82
- [text]="item.text"
83
- [name]="item.name"
84
- [disabled]="item.disabled"
85
- [color]="item.color"
86
- (onClick)="_handleOnItemClick($event)"
87
- >
88
- @if (item.icon) {
89
- <ax-prefix>
90
- <ax-icon [icon]="item.icon"></ax-icon>
91
- </ax-prefix>
79
+ @for (item of items(); track item.name) {
80
+ <ax-button-item
81
+ [text]="item.text"
82
+ [name]="item.name"
83
+ [disabled]="item.disabled"
84
+ [color]="item.color"
85
+ (onClick)="_handleOnItemClick($event)"
86
+ >
87
+ @if (item.icon) {
88
+ <ax-prefix>
89
+ <ax-icon [icon]="item.icon"></ax-icon>
90
+ </ax-prefix>
91
+ }
92
+ </ax-button-item>
93
+ @if (item.divided) {
94
+ <ax-divider></ax-divider>
92
95
  }
93
- </ax-button-item>
94
- @if (item.divided) {
95
- <ax-divider></ax-divider>
96
- } }
97
- <ng-content
98
- select="ax-button-item, ax-title, ax-divider, ng-container"
99
- ></ng-content>
96
+ }
97
+ <ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
100
98
  `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["ax-button-item-list{display:flex;flex-direction:column;padding-top:.5rem;padding-bottom:.5rem}ax-button-item-list ax-title{padding-top:.25rem;padding-bottom:.25rem;padding-inline-end:2.5rem;padding-inline-start:1rem;font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;opacity:.5}ax-button-item-list ax-divider{margin-top:.25rem;margin-bottom:.25rem;height:1px;width:100%;background-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;justify-content:flex-start;padding:.5rem;padding-inline-end:4rem;padding-inline-start:1rem;font-size:.875rem;line-height:1.25rem;color:rgb(var(--ax-color-text-default))}ax-button-item-list ax-button-item:hover:not(ax-button-item-list ax-button-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-surface))}ax-button-item-list ax-button-item.ax-divide{border-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-button-item-list ax-button-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-button-item-list ax-button-item ax-prefix,ax-button-item-list ax-button-item ax-suffix{display:flex}ax-button-item-list ax-button-item ax-prefix{padding-inline-end:.5rem}ax-button-item-list ax-button-item ax-suffix{padding-inline-start:.5rem}ax-button-item-list ax-button-item.ax-primary-default{color:rgba(var(--ax-color-primary-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-primary-default:hover,ax-button-item-list ax-button-item.ax-primary-default:focus{color:rgba(var(--ax-color-primary-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-400))}ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-button-item-list ax-button-item.ax-secondary-default{color:rgba(var(--ax-color-secondary-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-secondary-default:hover,ax-button-item-list ax-button-item.ax-secondary-default:focus{color:rgba(var(--ax-color-secondary-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-400))}ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-button-item-list ax-button-item.ax-success-default{color:rgba(var(--ax-color-success-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-success-default:hover,ax-button-item-list ax-button-item.ax-success-default:focus{color:rgba(var(--ax-color-success-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-400))}ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-button-item-list ax-button-item.ax-warning-default{color:rgba(var(--ax-color-warning-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-warning-default:hover,ax-button-item-list ax-button-item.ax-warning-default:focus{color:rgba(var(--ax-color-warning-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-400))}ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-button-item-list ax-button-item.ax-danger-default{color:rgba(var(--ax-color-danger-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-danger-default:hover,ax-button-item-list ax-button-item.ax-danger-default:focus{color:rgba(var(--ax-color-danger-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-400))}ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-button-item-list ax-button-item.ax-info-default{color:rgba(var(--ax-color-info-500));border:transparent;background:transparent}ax-button-item-list ax-button-item.ax-info-default:hover,ax-button-item-list ax-button-item.ax-info-default:focus{color:rgba(var(--ax-color-info-fore-tint));background-color:rgba(var(--ax-color-on-surface))}ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-400))}ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default{color:rgba(var(--ax-color-primary-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-primary-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-primary-default:focus{color:rgba(var(--ax-color-primary-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default:active{color:rgba(var(--ax-color-primary-100))}.ax-dark ax-button-item-list ax-button-item.ax-primary-default.ax-state-selected{background-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default{color:rgba(var(--ax-color-secondary-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:focus{color:rgba(var(--ax-color-secondary-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default:active{color:rgba(var(--ax-color-secondary-100))}.ax-dark ax-button-item-list ax-button-item.ax-secondary-default.ax-state-selected{background-color:rgba(var(--ax-color-secondary-200));color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-button-item-list ax-button-item.ax-success-default{color:rgba(var(--ax-color-success-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-success-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-success-default:focus{color:rgba(var(--ax-color-success-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-success-default:active{color:rgba(var(--ax-color-success-100))}.ax-dark ax-button-item-list ax-button-item.ax-success-default.ax-state-selected{background-color:rgba(var(--ax-color-success-200));color:rgba(var(--ax-color-success-fore))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default{color:rgba(var(--ax-color-warning-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-warning-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-warning-default:focus{color:rgba(var(--ax-color-warning-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default:active{color:rgba(var(--ax-color-warning-100))}.ax-dark ax-button-item-list ax-button-item.ax-warning-default.ax-state-selected{background-color:rgba(var(--ax-color-warning-200));color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default{color:rgba(var(--ax-color-danger-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-danger-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-danger-default:focus{color:rgba(var(--ax-color-danger-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default:active{color:rgba(var(--ax-color-danger-100))}.ax-dark ax-button-item-list ax-button-item.ax-danger-default.ax-state-selected{background-color:rgba(var(--ax-color-danger-200));color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-button-item-list ax-button-item.ax-info-default{color:rgba(var(--ax-color-info-200));border:transparent;background:transparent}.ax-dark ax-button-item-list ax-button-item.ax-info-default:hover,.ax-dark ax-button-item-list ax-button-item.ax-info-default:focus{color:rgba(var(--ax-color-info-300));background-color:rgba(var(--ax-color-on-surface))}.ax-dark ax-button-item-list ax-button-item.ax-info-default:active{color:rgba(var(--ax-color-info-100))}.ax-dark ax-button-item-list ax-button-item.ax-info-default.ax-state-selected{background-color:rgba(var(--ax-color-info-200));color:rgba(var(--ax-color-info-fore))}\n"] }]
101
99
  }], ctorParameters: () => [{ type: i3.AXClosbaleComponent, decorators: [{
102
100
  type: Optional
@@ -106,9 +104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
106
104
  }] }], propDecorators: { _contentButtons: [{
107
105
  type: ContentChildren,
108
106
  args: [AXButtonItemComponent]
109
- }], items: [{
110
- type: Input
111
107
  }], onItemClick: [{
112
108
  type: Output
113
109
  }] } });
114
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiI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dmVFdmVudCxcbiAgICAgIG5hbWU6IGl0ZW0ubmFtZSxcbiAgICAgIGRhdGE6IGl0ZW0uZGF0YSxcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -1,4 +1,4 @@
1
- import { MXColorComponent, MXInteractiveComponent, } from '@acorex/components/common';
1
+ import { MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
2
2
  import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, HostListener, Input, Output, ViewEncapsulation, } from '@angular/core';
3
3
  import { classes } from 'polytype';
4
4
  import * as i0 from "@angular/core";
@@ -50,7 +50,7 @@ export class AXButtonItemComponent extends classes(MXInteractiveComponent, MXCol
50
50
  <ng-content select="ax-loading"> </ng-content>
51
51
  <ng-content select="ax-icon"> </ng-content>
52
52
  @if (text) {
53
- <span class="ax-button-item-text">{{ text }}</span>
53
+ <span class="ax-button-item-text">{{ text }}</span>
54
54
  }
55
55
  <ng-content select="ax-suffix"> </ng-content>
56
56
  <ng-content select="ax-dropdown-panel"> </ng-content>
@@ -65,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
65
65
  <ng-content select="ax-loading"> </ng-content>
66
66
  <ng-content select="ax-icon"> </ng-content>
67
67
  @if (text) {
68
- <span class="ax-button-item-text">{{ text }}</span>
68
+ <span class="ax-button-item-text">{{ text }}</span>
69
69
  }
70
70
  <ng-content select="ax-suffix"> </ng-content>
71
71
  <ng-content select="ax-dropdown-panel"> </ng-content>
@@ -103,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
103
103
  type: HostBinding,
104
104
  args: ['attr.tabindex']
105
105
  }] } });
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbG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FdKVxuICAgICAgLm1hcCgoYykgPT4gY1swXSlcbiAgICAgIC5qb2luKCcgJyk7XG4gIH1cblxuICBASG9zdEJpbmRpbmcoJ2F0dHIudGFiaW5kZXgnKSB0YWJpbmRleCA9ICcwJztcbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
- import { AXComponent, AXFocusableComponent, MXButtonBaseComponent, } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, ViewEncapsulation, } from '@angular/core';
1
+ import { AXComponent, AXFocusableComponent, MXButtonBaseComponent } from '@acorex/components/common';
2
+ import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, ViewEncapsulation, input } from '@angular/core';
3
3
  import { AXButtonItemComponent } from './button-item.component';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@acorex/components/common";
@@ -16,7 +16,7 @@ export class AXButtonComponent extends MXButtonBaseComponent {
16
16
  * @event
17
17
  */
18
18
  this.onClick = new EventEmitter();
19
- this.type = 'button';
19
+ this.type = input('button');
20
20
  }
21
21
  ngAfterViewInit() {
22
22
  this.getHostElement().removeAttribute('tabindex');
@@ -58,7 +58,7 @@ export class AXButtonComponent extends MXButtonBaseComponent {
58
58
  this.getButton().classList.remove('ax-state-focus');
59
59
  }
60
60
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", size: "size", tabIndex: "tabIndex", color: "color", look: "look", text: "text", toggleable: "toggleable", selected: "selected", type: "type" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange", lookChange: "lookChange", colorChange: "colorChange", disabledChange: "disabledChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: false, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, toggleable: { classPropertyName: "toggleable", publicName: "toggleable", isSignal: false, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange", lookChange: "lookChange", colorChange: "colorChange", disabledChange: "disabledChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
62
62
  { provide: AXComponent, useExisting: AXButtonComponent },
63
63
  { provide: AXButtonItemComponent, useExisting: AXButtonComponent },
64
64
  { provide: AXFocusableComponent, useExisting: AXButtonComponent },
@@ -66,33 +66,13 @@ export class AXButtonComponent extends MXButtonBaseComponent {
66
66
  }
67
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXButtonComponent, decorators: [{
68
68
  type: Component,
69
- args: [{ selector: 'ax-button', inputs: [
70
- 'disabled',
71
- 'size',
72
- 'tabIndex',
73
- 'color',
74
- 'look',
75
- 'text',
76
- 'toggleable',
77
- 'selected',
78
- ], outputs: [
79
- 'onBlur',
80
- 'onFocus',
81
- 'onClick',
82
- 'selectedChange',
83
- 'toggleableChange',
84
- 'lookChange',
85
- 'colorChange',
86
- 'disabledChange',
87
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
69
+ args: [{ selector: 'ax-button', inputs: ['disabled', 'size', 'tabIndex', 'color', 'look', 'text', 'toggleable', 'selected'], outputs: ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'toggleableChange', 'lookChange', 'colorChange', 'disabledChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
88
70
  { provide: AXComponent, useExisting: AXButtonComponent },
89
71
  { provide: AXButtonItemComponent, useExisting: AXButtonComponent },
90
72
  { provide: AXFocusableComponent, useExisting: AXButtonComponent },
91
73
  ], template: "<button [axRipple] [disabled]=\"disabled\" [attr.tabindex]=\"tabIndex\" (focus)=\"emitOnFocusEvent($event)\"\n (blur)=\"emitOnBlurEvent($event)\" (click)=\"_handleClick($event)\" [attr.type]=\"type\">\n <ng-content select=\"ax-prefix, ax-loading, ax-loading-spinner, ax-icon\"> </ng-content>\n <ng-content select=\"ax-content\"> </ng-content>\n\n @if(text){\n <span class=\"ax-button-text\">{{ text }}</span>\n }\n\n <ng-content select=\"ax-suffix\"> </ng-content>\n <ng-content select=\"ax-dropdown-panel\"> </ng-content>\n <ng-content select=\".tab-content\"> </ng-content>\n</button>", styles: ["ax-button{position:relative;display:inline-flex;height:var(--ax-size-default);cursor:pointer;align-items:center;justify-content:center;border-radius:var(--ax-rounded-border-default);font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-button.ax-xs{font-size:.75rem;line-height:1rem}ax-button.ax-xs>button{padding-left:.25rem;padding-right:.25rem}ax-button.ax-sm>button{padding-left:.5rem;padding-right:.5rem}ax-button.ax-sm,ax-button.ax-md{font-size:.875rem;line-height:1.25rem}ax-button.ax-lg{font-size:1rem;line-height:1.25rem}ax-button.ax-lg>button{padding-left:1.5rem;padding-right:1.5rem}ax-button.ax-xl{font-size:1.125rem;line-height:1.75rem}ax-button.ax-xl>button{padding-left:2rem;padding-right:2rem}ax-button.ax-xl.ax-button-icon{font-size:1.5rem}ax-button.ax-xs.ax-button-icon,ax-button.ax-sm.ax-button-icon{font-size:1rem}ax-button.ax-button-icon{height:var(--ax-size-default);width:var(--ax-size-default);font-size:1.25rem}ax-button.ax-state-disabled,ax-button.ax-state-loading{opacity:.5}ax-button.ax-state-disabled>button,ax-button.ax-state-loading>button{cursor:not-allowed}ax-button>button{position:relative;display:inline-flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--ax-rounded-border-default);padding-left:1rem;padding-right:1rem;outline-color:transparent}ax-button>button.ax-state-focus:focus,ax-button>button:focus-visible{outline-width:2px;outline-offset:2px;outline-color:#000;border-radius:inherit}ax-button>button .ax-button-text{white-space:nowrap;padding-left:.5rem;padding-right:.5rem;font-weight:500;line-height:1}ax-button ax-button-item.ax-divided{border-bottom-width:1px!important;border-color:rgba(var(--ax-color-border-default))!important}\n"] }]
92
- }], propDecorators: { type: [{
93
- type: Input
94
- }], __hostClass: [{
74
+ }], propDecorators: { __hostClass: [{
95
75
  type: HostBinding,
96
76
  args: ['class']
97
77
  }] } });
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9idXR0b24vc3JjL2xpYi9idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvbGliL2J1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsV0FBVyxFQUNYLG9CQUFvQixFQUNw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XCIgW2F0dHIudGFiaW5kZXhdPVwidGFiSW5kZXhcIiAoZm9jdXMpPVwiZW1pdE9uRm9jdXNFdmVudCgkZXZlbnQpXCJcbiAgKGJsdXIpPVwiZW1pdE9uQmx1ckV2ZW50KCRldmVudClcIiAoY2xpY2spPVwiX2hhbmRsZUNsaWNrKCRldmVudClcIiBbYXR0ci50eXBlXT1cInR5cGVcIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtcHJlZml4LCBheC1sb2FkaW5nLCBheC1sb2FkaW5nLXNwaW5uZXIsIGF4LWljb25cIj4gPC9uZy1jb250ZW50PlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1jb250ZW50XCI+IDwvbmctY29udGVudD5cblxuICBAaWYodGV4dCl7XG4gIDxzcGFuIGNsYXNzPVwiYXgtYnV0dG9uLXRleHRcIj57eyB0ZXh0IH19PC9zcGFuPlxuICB9XG5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+IDwvbmctY29udGVudD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtZHJvcGRvd24tcGFuZWxcIj4gPC9uZy1jb250ZW50PlxuICA8bmctY29udGVudCBzZWxlY3Q9XCIudGFiLWNvbnRlbnRcIj4gPC9uZy1jb250ZW50PlxuPC9idXR0b24+Il19
@@ -1,5 +1,5 @@
1
1
  import { AXButtonItemComponent } from '@acorex/components/button';
2
- import { MXColorLookComponent, MXInteractiveComponent, } from '@acorex/components/common';
2
+ import { MXColorLookComponent, MXInteractiveComponent } from '@acorex/components/common';
3
3
  import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, HostBinding, HostListener, Input, Output, QueryList, ViewEncapsulation, } from '@angular/core';
4
4
  import { classes } from 'polytype';
5
5
  import * as i0 from "@angular/core";
@@ -115,4 +115,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImpor
115
115
  type: HostListener,
116
116
  args: ['click', ['$event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Zm9yRWFjaCgoYzogQVhCdXR0b25JdGVtQ29tcG9uZW50KSA9PiB7XG4gICAgICBjLnNlbGVjdGVkID0gZmFsc2U7XG4gICAgfSk7XG4gIH1cblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgcHJpdmF0ZSBnZXQgX19ob3N0Q2xhc3MoKTogeyBba2V5OiBzdHJpbmddOiBib29sZWFuIH0ge1xuICAgIGNvbnN0IGNzc0NsYXNzZXMgPSB7XG4gICAgICAnYXgtc3RhdGUtZGlzYWJsZWQnOiB0aGlzLmRpc2FibGVkLFxuICAgIH07XG4gICAgY3NzQ2xhc3Nlc1tgYXgtY29sb3ItJHt0aGlzLmNvbG9yIHx8ICdwcmltYXJ5J31gXSA9IHRydWU7XG4gICAgY3NzQ2xhc3Nlc1tgYXgtbG9vay0ke3RoaXMubG9vayB8fCAnZGVmYXVsdCd9YF0gPSB0cnVlO1xuICAgIHJldHVybiBjc3NDbGFzc2VzO1xuICB9XG4gIEBIb3N0QmluZGluZygnYXR0ci5yb2xlJykgZ2V0IHJvbGUoKSB7XG4gICAgcmV0dXJuICdncm91cCc7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdjbGljaycsIFsnJGV2ZW50J10pXG4gIHByaXZhdGUgX19ob3N0Q2xpY2soZTogTW91c2VFdmVudCkge1xuICAgIGlmICghdGhpcy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5vbkNsaWNrLmVtaXQoe1xuICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgIGh0bWxFbGVtZW50OiB0aGlzLmdldEhvc3RFbGVtZW50KCksXG4gICAgICAgIG5hdGl2ZUV2ZW50OiBlLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iLCI8bmctY29udGFpbmVyPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b24taXRlbVwiPjwvbmctY29udGVudD5cbjwvbmctY29udGFpbmVyPlxuIl19
118
+ //# sourceMappingURL=data:application/json;base64,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ID0gZmFsc2U7XG4gICAgfSk7XG4gIH1cblxuICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgcHJpdmF0ZSBnZXQgX19ob3N0Q2xhc3MoKTogeyBba2V5OiBzdHJpbmddOiBib29sZWFuIH0ge1xuICAgIGNvbnN0IGNzc0NsYXNzZXMgPSB7XG4gICAgICAnYXgtc3RhdGUtZGlzYWJsZWQnOiB0aGlzLmRpc2FibGVkLFxuICAgIH07XG4gICAgY3NzQ2xhc3Nlc1tgYXgtY29sb3ItJHt0aGlzLmNvbG9yIHx8ICdwcmltYXJ5J31gXSA9IHRydWU7XG4gICAgY3NzQ2xhc3Nlc1tgYXgtbG9vay0ke3RoaXMubG9vayB8fCAnZGVmYXVsdCd9YF0gPSB0cnVlO1xuICAgIHJldHVybiBjc3NDbGFzc2VzO1xuICB9XG4gIEBIb3N0QmluZGluZygnYXR0ci5yb2xlJykgZ2V0IHJvbGUoKSB7XG4gICAgcmV0dXJuICdncm91cCc7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdjbGljaycsIFsnJGV2ZW50J10pXG4gIHByaXZhdGUgX19ob3N0Q2xpY2soZTogTW91c2VFdmVudCkge1xuICAgIGlmICghdGhpcy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5vbkNsaWNrLmVtaXQoe1xuICAgICAgICBjb21wb25lbnQ6IHRoaXMsXG4gICAgICAgIGh0bWxFbGVtZW50OiB0aGlzLmdldEhvc3RFbGVtZW50KCksXG4gICAgICAgIG5hdGl2ZUV2ZW50OiBlLFxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iLCI8bmctY29udGFpbmVyPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b24taXRlbVwiPjwvbmctY29udGVudD5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -1,5 +1,5 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
- import { Component, HostBinding, Input, ViewEncapsulation, inject, } from '@angular/core';
2
+ import { Component, HostBinding, ViewEncapsulation, inject, input } from '@angular/core';
3
3
  import { AXChatMessageTypeRegistryService } from '../services/chat-message-type-registry.service';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/common";
@@ -7,24 +7,23 @@ import * as i2 from "@acorex/core/format";
7
7
  export class AXChatMessageComponent extends MXBaseComponent {
8
8
  constructor() {
9
9
  super(...arguments);
10
+ this.chatMessage = input();
10
11
  this.registryService = inject(AXChatMessageTypeRegistryService);
11
12
  }
12
13
  get isOwn() {
13
- return !this.chatMessage.fromId;
14
+ return !this.chatMessage().fromId;
14
15
  }
15
16
  get __hostClass() {
16
17
  return `${this.isOwn ? 'ax-state-own' : ''} ${!this.isOwn ? 'ax-state-other' : ''}`;
17
18
  }
18
19
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXChatMessageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
19
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXChatMessageComponent, selector: "ax-chat-message", inputs: { chatMessage: "chatMessage" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- @if(_replyTo()){\n<div class=\"ax-chat-message-reply\">\n <ng-content select=\"ax-chat-message\"></ng-content>\n</div>\n}\n<ng-content select=\"ax-chat-message-content\"></ng-content>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{_time()}}</span>\n <span>\n @if(_sent() && !_read()){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(_read()){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n </span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </div>\n</div> -->\n<ng-container\n *ngComponentOutlet=\"registryService.resolve(chatMessage.type).component;inputs:{message:chatMessage}\"></ng-container>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{ chatMessage.sendTime | format:'datetime':'HH:mm' | async }}</span>\n <span>\n @if(isOwn)\n {\n @if(chatMessage.deliverTime){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(chatMessage.readTime){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n }\n </span>\n </div>\n</div>", styles: ["ax-chat-message{display:block;padding:.75rem;font-size:.875rem;line-height:1.25rem;border-radius:.75rem;--ax-reply-bk: rgba(var(--ax-color-primary-500), .15);--ax-reply-color: rgba(var(--ax-color-primary-fore-tint));--ax-reply-border-color: rgba(var(--ax-color-primary-700));--ax-primary: rgba(var(--ax-color-primary-100));--ax-primary-fore: rgba(var(--ax-color-primary-700))}ax-chat-message.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-primary)}ax-chat-message.ax-state-own .ax-chat-message-status{color:var(--ax-primary-fore)}ax-chat-message.ax-state-other{border-end-start-radius:0!important;background-color:rgba(var(--ax-color-on-surface))}ax-chat-message.ax-state-other .ax-chat-message-status{color:rgba(var(--ax-color-neutral-400))}ax-chat-message .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-chat-message .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-chat-message .ax-chat-message-reply{display:flex;flex-direction:column;background-color:var(--ax-reply-bk);color:var(--ax-reply-color);border-radius:.5rem;gap:.25rem;padding:.25rem .75rem;margin-bottom:.25rem;border-inline-start:.25rem solid;border-inline-start-color:var(--ax-reply-border-color);cursor:pointer}.ax-dark ax-chat-message{--ax-reply-bk: rgba(var(--ax-color-primary-800));--ax-reply-color: rgba(var(--ax-color-primary-fore));--ax-reply-border-color: rgba(var(--ax-color-primary-fore));--ax-primary: rgba(var(--ax-color-primary-700));--ax-primary-fore: rgba(var(--ax-color-primary-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
20
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXChatMessageComponent, selector: "ax-chat-message", inputs: { chatMessage: { classPropertyName: "chatMessage", publicName: "chatMessage", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<!-- @if(_replyTo()){\n<div class=\"ax-chat-message-reply\">\n <ng-content select=\"ax-chat-message\"></ng-content>\n</div>\n}\n<ng-content select=\"ax-chat-message-content\"></ng-content>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{_time()}}</span>\n <span>\n @if(_sent() && !_read()){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(_read()){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n </span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </div>\n</div> -->\n<ng-container\n *ngComponentOutlet=\"registryService.resolve(chatMessage().type).component;inputs:{message:chatMessage()}\"></ng-container>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{ chatMessage().sendTime | format:'datetime':'HH:mm' | async }}</span>\n <span>\n @if(isOwn)\n {\n @if(chatMessage().deliverTime){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(chatMessage().readTime){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n }\n </span>\n </div>\n</div>", styles: ["ax-chat-message{display:block;padding:.75rem;font-size:.875rem;line-height:1.25rem;border-radius:.75rem;border:1px solid;--ax-reply-bk: rgba(var(--ax-color-primary-500), .15);--ax-reply-color: rgba(var(--ax-color-primary-fore-tint));--ax-reply-border-color: rgba(var(--ax-color-primary-700));--ax-primary: rgba(var(--ax-color-primary-100));--ax-primary-fore: rgba(var(--ax-color-primary-700))}ax-chat-message.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-primary);border-color:var(--ax-primary)}ax-chat-message.ax-state-own .ax-chat-message-status{color:var(--ax-primary-fore)}ax-chat-message.ax-state-other{border-end-start-radius:0!important;background-color:rgba(var(--ax-color-surface));border-color:var(--ax-primary)}ax-chat-message.ax-state-other .ax-chat-message-status{color:rgba(var(--ax-color-neutral-400))}ax-chat-message .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-chat-message .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-chat-message .ax-chat-message-reply{display:flex;flex-direction:column;background-color:var(--ax-reply-bk);color:var(--ax-reply-color);border-radius:.5rem;gap:.25rem;padding:.25rem .75rem;margin-bottom:.25rem;border-inline-start:.25rem solid;border-inline-start-color:var(--ax-reply-border-color);cursor:pointer}.ax-dark ax-chat-message{--ax-reply-bk: rgba(var(--ax-color-primary-800));--ax-reply-color: rgba(var(--ax-color-primary-fore));--ax-reply-border-color: rgba(var(--ax-color-primary-fore));--ax-primary: rgba(var(--ax-color-primary-700));--ax-primary-fore: rgba(var(--ax-color-primary-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }], encapsulation: i0.ViewEncapsulation.None }); }
20
21
  }
21
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXChatMessageComponent, decorators: [{
22
23
  type: Component,
23
- args: [{ selector: 'ax-chat-message', encapsulation: ViewEncapsulation.None, template: "<!-- @if(_replyTo()){\n<div class=\"ax-chat-message-reply\">\n <ng-content select=\"ax-chat-message\"></ng-content>\n</div>\n}\n<ng-content select=\"ax-chat-message-content\"></ng-content>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{_time()}}</span>\n <span>\n @if(_sent() && !_read()){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(_read()){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n </span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </div>\n</div> -->\n<ng-container\n *ngComponentOutlet=\"registryService.resolve(chatMessage.type).component;inputs:{message:chatMessage}\"></ng-container>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{ chatMessage.sendTime | format:'datetime':'HH:mm' | async }}</span>\n <span>\n @if(isOwn)\n {\n @if(chatMessage.deliverTime){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(chatMessage.readTime){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n }\n </span>\n </div>\n</div>", styles: ["ax-chat-message{display:block;padding:.75rem;font-size:.875rem;line-height:1.25rem;border-radius:.75rem;--ax-reply-bk: rgba(var(--ax-color-primary-500), .15);--ax-reply-color: rgba(var(--ax-color-primary-fore-tint));--ax-reply-border-color: rgba(var(--ax-color-primary-700));--ax-primary: rgba(var(--ax-color-primary-100));--ax-primary-fore: rgba(var(--ax-color-primary-700))}ax-chat-message.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-primary)}ax-chat-message.ax-state-own .ax-chat-message-status{color:var(--ax-primary-fore)}ax-chat-message.ax-state-other{border-end-start-radius:0!important;background-color:rgba(var(--ax-color-on-surface))}ax-chat-message.ax-state-other .ax-chat-message-status{color:rgba(var(--ax-color-neutral-400))}ax-chat-message .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-chat-message .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-chat-message .ax-chat-message-reply{display:flex;flex-direction:column;background-color:var(--ax-reply-bk);color:var(--ax-reply-color);border-radius:.5rem;gap:.25rem;padding:.25rem .75rem;margin-bottom:.25rem;border-inline-start:.25rem solid;border-inline-start-color:var(--ax-reply-border-color);cursor:pointer}.ax-dark ax-chat-message{--ax-reply-bk: rgba(var(--ax-color-primary-800));--ax-reply-color: rgba(var(--ax-color-primary-fore));--ax-reply-border-color: rgba(var(--ax-color-primary-fore));--ax-primary: rgba(var(--ax-color-primary-700));--ax-primary-fore: rgba(var(--ax-color-primary-fore))}\n"] }]
24
- }], propDecorators: { chatMessage: [{
25
- type: Input
26
- }], __hostClass: [{
24
+ args: [{ selector: 'ax-chat-message', encapsulation: ViewEncapsulation.None, template: "<!-- @if(_replyTo()){\n<div class=\"ax-chat-message-reply\">\n <ng-content select=\"ax-chat-message\"></ng-content>\n</div>\n}\n<ng-content select=\"ax-chat-message-content\"></ng-content>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{_time()}}</span>\n <span>\n @if(_sent() && !_read()){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(_read()){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n </span>\n <ng-content select=\"ax-suffix\"></ng-content>\n </div>\n</div> -->\n<ng-container\n *ngComponentOutlet=\"registryService.resolve(chatMessage().type).component;inputs:{message:chatMessage()}\"></ng-container>\n<div class=\"ax-chat-message-status\">\n <div>\n <ng-content select=\"ax-prefix\"></ng-content>\n </div>\n <div>\n <span>{{ chatMessage().sendTime | format:'datetime':'HH:mm' | async }}</span>\n <span>\n @if(isOwn)\n {\n @if(chatMessage().deliverTime){\n <i class=\"ax-icon ax-icon-check\"></i>\n }\n @if(chatMessage().readTime){\n <i class=\"ax-icon ax-icon-dobble-check\"></i>\n }\n }\n </span>\n </div>\n</div>", styles: ["ax-chat-message{display:block;padding:.75rem;font-size:.875rem;line-height:1.25rem;border-radius:.75rem;border:1px solid;--ax-reply-bk: rgba(var(--ax-color-primary-500), .15);--ax-reply-color: rgba(var(--ax-color-primary-fore-tint));--ax-reply-border-color: rgba(var(--ax-color-primary-700));--ax-primary: rgba(var(--ax-color-primary-100));--ax-primary-fore: rgba(var(--ax-color-primary-700))}ax-chat-message.ax-state-own{border-end-end-radius:0!important;background-color:var(--ax-primary);border-color:var(--ax-primary)}ax-chat-message.ax-state-own .ax-chat-message-status{color:var(--ax-primary-fore)}ax-chat-message.ax-state-other{border-end-start-radius:0!important;background-color:rgba(var(--ax-color-surface));border-color:var(--ax-primary)}ax-chat-message.ax-state-other .ax-chat-message-status{color:rgba(var(--ax-color-neutral-400))}ax-chat-message .ax-chat-message-status{display:flex;justify-content:space-between;align-items:center;font-size:.75rem}ax-chat-message .ax-chat-message-status>div{display:flex;gap:.125rem;align-items:center}ax-chat-message .ax-chat-message-reply{display:flex;flex-direction:column;background-color:var(--ax-reply-bk);color:var(--ax-reply-color);border-radius:.5rem;gap:.25rem;padding:.25rem .75rem;margin-bottom:.25rem;border-inline-start:.25rem solid;border-inline-start-color:var(--ax-reply-border-color);cursor:pointer}.ax-dark ax-chat-message{--ax-reply-bk: rgba(var(--ax-color-primary-800));--ax-reply-color: rgba(var(--ax-color-primary-fore));--ax-reply-border-color: rgba(var(--ax-color-primary-fore));--ax-primary: rgba(var(--ax-color-primary-700));--ax-primary-fore: rgba(var(--ax-color-primary-fore))}\n"] }]
25
+ }], propDecorators: { __hostClass: [{
27
26
  type: HostBinding,
28
27
  args: ['class']
29
28
  }] } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9jaGF0L3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WN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuPC9kaXY+IC0tPlxuPG5nLWNvbnRhaW5lclxuICAgICpuZ0NvbXBvbmVudE91dGxldD1cInJlZ2lzdHJ5U2VydmljZS5yZXNvbHZlKGNoYXRNZXNzYWdlLnR5cGUpLmNvbXBvbmVudDtpbnB1dHM6e21lc3NhZ2U6Y2hhdE1lc3NhZ2V9XCI+PC9uZy1jb250YWluZXI+XG48ZGl2IGNsYXNzPVwiYXgtY2hhdC1tZXNzYWdlLXN0YXR1c1wiPlxuICAgIDxkaXY+XG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXByZWZpeFwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2PlxuICAgICAgICA8c3Bhbj57eyBjaGF0TWVzc2FnZS5zZW5kVGltZSB8IGZvcm1hdDonZGF0ZXRpbWUnOidISDptbScgfCBhc3luYyB9fTwvc3Bhbj5cbiAgICAgICAgPHNwYW4+XG4gICAgICAgICAgICBAaWYoaXNPd24pXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICBAaWYoY2hhdE1lc3NhZ2UuZGVsaXZlclRpbWUpe1xuICAgICAgICAgICAgPGkgY2xhc3M9XCJheC1pY29uIGF4LWljb24tY2hlY2tcIj48L2k+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAaWYoY2hhdE1lc3NhZ2UucmVhZFRpbWUpe1xuICAgICAgICAgICAgPGkgY2xhc3M9XCJheC1pY29uIGF4LWljb24tZG9iYmxlLWNoZWNrXCI+PC9pPlxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICA8L3NwYW4+XG4gICAgPC9kaXY+XG48L2Rpdj4iXX0=
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJz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