@acorex/components 18.11.0 → 18.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/action-sheet/lib/action-sheet.class.d.ts +8 -0
  2. package/button/lib/button-item-list.component.d.ts +13 -9
  3. package/button/lib/button-item.component.d.ts +12 -12
  4. package/button-group/index.d.ts +1 -0
  5. package/button-group/lib/button-group-item.component.d.ts +77 -0
  6. package/button-group/lib/button-group.component.d.ts +1 -1
  7. package/button-group/lib/button-group.module.d.ts +4 -2
  8. package/common/index.d.ts +1 -0
  9. package/common/lib/types/base/component.types.d.ts +8 -0
  10. package/common/lib/types/base/events.types.d.ts +21 -0
  11. package/common/lib/types/base/index.d.ts +2 -0
  12. package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
  13. package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
  14. package/esm2022/button/lib/button-item-list.component.mjs +24 -15
  15. package/esm2022/button/lib/button-item.component.mjs +37 -26
  16. package/esm2022/button-group/index.mjs +2 -1
  17. package/esm2022/button-group/lib/button-group-item.component.mjs +141 -0
  18. package/esm2022/button-group/lib/button-group.component.mjs +6 -5
  19. package/esm2022/button-group/lib/button-group.module.mjs +6 -4
  20. package/esm2022/common/index.mjs +2 -1
  21. package/esm2022/common/lib/components/base-component.class.mjs +1 -1
  22. package/esm2022/common/lib/types/base/component.types.mjs +27 -0
  23. package/esm2022/common/lib/types/base/events.types.mjs +19 -0
  24. package/esm2022/common/lib/types/base/index.mjs +3 -0
  25. package/esm2022/menu/lib/context-menu.component.mjs +101 -50
  26. package/esm2022/menu/lib/menu-item.component.mjs +23 -24
  27. package/esm2022/menu/lib/menu.component.mjs +6 -6
  28. package/esm2022/menu/lib/menu.types.mjs +3 -11
  29. package/fesm2022/acorex-components-action-sheet.mjs +2 -2
  30. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  31. package/fesm2022/acorex-components-button-group.mjs +148 -10
  32. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  33. package/fesm2022/acorex-components-button.mjs +55 -36
  34. package/fesm2022/acorex-components-button.mjs.map +1 -1
  35. package/fesm2022/acorex-components-common.mjs +47 -3
  36. package/fesm2022/acorex-components-common.mjs.map +1 -1
  37. package/fesm2022/acorex-components-menu.mjs +128 -86
  38. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  39. package/menu/lib/context-menu.component.d.ts +27 -16
  40. package/menu/lib/menu-item.component.d.ts +6 -6
  41. package/menu/lib/menu.component.d.ts +5 -4
  42. package/menu/lib/menu.types.d.ts +9 -14
  43. package/package.json +18 -18
@@ -8,6 +8,14 @@ export interface AXActionSheetItem {
8
8
  disabled?: boolean;
9
9
  color?: AXStyleColorType;
10
10
  onClick?: () => void;
11
+ suffix?: {
12
+ text: string;
13
+ };
14
+ break?: boolean;
15
+ group?: {
16
+ name?: string;
17
+ title?: string;
18
+ };
11
19
  }
12
20
  export type AXActionSheetContentType = TemplateRef<unknown> | ComponentType<unknown>;
13
21
  export interface AXActionSheetConfig {
@@ -11,17 +11,17 @@ export declare class AXButtonItemListComponent extends MXInteractiveComponent {
11
11
  private parent?;
12
12
  protected _contentButtons: QueryList<AXButtonItemComponent>;
13
13
  /**
14
- * The list of button items to display.
15
- *
16
- * @defaultValue []
17
- */
14
+ * The list of button items to display.
15
+ *
16
+ * @defaultValue []
17
+ */
18
18
  items: import("@angular/core").InputSignal<AXButtonItemListItem[]>;
19
19
  /**
20
- * Emits an event when an item is clicked.
21
- * The event contains details about the clicked item.
22
- *
23
- * @event {AXItemClickEvent<AXButtonItemComponent>} - The event object containing clicked item details.
24
- */
20
+ * Emits an event when an item is clicked.
21
+ * The event contains details about the clicked item.
22
+ *
23
+ * @event {AXItemClickEvent<AXButtonItemComponent>} - The event object containing clicked item details.
24
+ */
25
25
  onItemClick: EventEmitter<AXItemClickEvent<AXButtonItemComponent>>;
26
26
  /**
27
27
  * @ignore
@@ -47,6 +47,10 @@ export declare class AXButtonItemListComponent extends MXInteractiveComponent {
47
47
  * @ignore
48
48
  */
49
49
  _emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
50
+ /**
51
+ * @ignore
52
+ */
53
+ private get __hostClass();
50
54
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemListComponent, [{ optional: true; }]>;
51
55
  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>;
52
56
  }
@@ -25,25 +25,25 @@ export declare class AXButtonItemComponent extends AXButtonItemComponent_base {
25
25
  */
26
26
  private _selected;
27
27
  /**
28
- * Indicates whether the button item is selected.
29
- *
30
- * @param v - A boolean indicating the selected state.
31
- * Updates the view when the value changes.
32
- */
28
+ * Indicates whether the button item is selected.
29
+ *
30
+ * @param v - A boolean indicating the selected state.
31
+ * Updates the view when the value changes.
32
+ */
33
33
  get selected(): boolean;
34
34
  set selected(v: boolean);
35
35
  /**
36
- * Whether the item is visually separated from other items.
37
- * @defaultValue false
38
- */
36
+ * Whether the item is visually separated from other items.
37
+ * @defaultValue false
38
+ */
39
39
  divided: boolean;
40
40
  /**
41
- * Data associated with the button item.
42
- */
41
+ * Data associated with the button item.
42
+ */
43
43
  data: unknown;
44
44
  /**
45
- * The name of the button item.
46
- */
45
+ * The name of the button item.
46
+ */
47
47
  name: string;
48
48
  /**
49
49
  * Emitted when the button item is clicked.
@@ -1,2 +1,3 @@
1
+ export * from './lib/button-group-item.component';
1
2
  export * from './lib/button-group.component';
2
3
  export * from './lib/button-group.module';
@@ -0,0 +1,77 @@
1
+ import { AXClickEvent, AXStyleColorType, MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
2
+ import { EventEmitter } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export interface AXButtonItemListItem {
5
+ name: string;
6
+ text: string;
7
+ icon: string;
8
+ divided?: boolean;
9
+ disabled?: boolean;
10
+ color?: AXStyleColorType;
11
+ }
12
+ declare const AXButtonGroupItemComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorComponent]>;
13
+ /**
14
+ * Represents a button item with optional content like icons, text, and dropdowns.
15
+ *
16
+ * @category Components
17
+ */
18
+ export declare class AXButtonGroupItemComponent extends AXButtonGroupItemComponent_base {
19
+ /**
20
+ * Text displayed on the button item.
21
+ */
22
+ text: string;
23
+ /**
24
+ * @ignore
25
+ */
26
+ private _selected;
27
+ /**
28
+ * Indicates whether the button item is selected.
29
+ *
30
+ * @param v - A boolean indicating the selected state.
31
+ * Updates the view when the value changes.
32
+ */
33
+ get selected(): boolean;
34
+ set selected(v: boolean);
35
+ /**
36
+ * Whether the item is visually separated from other items.
37
+ * @defaultValue false
38
+ */
39
+ divided: boolean;
40
+ /**
41
+ * Data associated with the button item.
42
+ */
43
+ data: unknown;
44
+ /**
45
+ * The name of the button item.
46
+ */
47
+ name: string;
48
+ /**
49
+ * Emitted when the button item is clicked.
50
+ * @event
51
+ * The emitted value is an `AXClickEvent` object containing event details.
52
+ */
53
+ onClick: EventEmitter<AXClickEvent>;
54
+ /**
55
+ * @ignore
56
+ */
57
+ private __hostClick;
58
+ /**
59
+ * @ignore
60
+ */
61
+ private __hostFocus;
62
+ /**
63
+ * @ignore
64
+ */
65
+ private __hostBlur;
66
+ /**
67
+ * @ignore
68
+ */
69
+ private get __hostClass();
70
+ /**
71
+ * @ignore
72
+ */
73
+ tabindex: string;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupItemComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupItemComponent, "ax-button-group-item", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "divided": { "alias": "divided"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-loading", "ax-icon", "ax-suffix", "ax-dropdown-panel"], false, never>;
76
+ }
77
+ export {};
@@ -75,6 +75,6 @@ export declare class AXButtonGroupComponent extends AXButtonGroupComponent_base
75
75
  */
76
76
  private __hostClick;
77
77
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; "selectionChange": "selectionChange"; }, ["_contentButtons"], ["ax-button-item"], false, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; "onClick": "onClick"; "selectionChange": "selectionChange"; }, ["_contentButtons"], ["ax-button-group-item"], false, never>;
79
79
  }
80
80
  export {};
@@ -1,8 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./button-group.component";
3
- import * as i2 from "@angular/common";
3
+ import * as i2 from "./button-group-item.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@acorex/components/decorators";
4
6
  export declare class AXButtonGroupModule {
5
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent], [typeof i2.CommonModule], [typeof i1.AXButtonGroupComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonGroupModule, [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent], [typeof i3.CommonModule, typeof i4.AXDecoratorModule], [typeof i1.AXButtonGroupComponent, typeof i2.AXButtonGroupItemComponent]>;
7
9
  static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonGroupModule>;
8
10
  }
package/common/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './lib/types/base';
1
2
  export * from './lib/types/direction';
2
3
  export * from './lib/types/orientation';
3
4
  export * from './lib/types/placement';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare abstract class NXComponent {
3
+ #private;
4
+ protected isRendered: import("@angular/core").Signal<boolean>;
5
+ get nativeElement(): HTMLElement;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NXComponent, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<NXComponent>;
8
+ }
@@ -0,0 +1,21 @@
1
+ import { NXComponent } from "./component.types";
2
+ /**
3
+ * Base event class
4
+ * @category Events
5
+ */
6
+ export declare class NXEvent<T extends NXComponent = NXComponent> {
7
+ sender: T;
8
+ }
9
+ /**
10
+ * Contains native event
11
+ * @category Events
12
+ */
13
+ export declare class NXNativeEvent<T extends NXComponent = NXComponent, E extends Event = Event> extends NXEvent<T> {
14
+ nativeEvent: E;
15
+ }
16
+ /**
17
+ * Fires each time the user click the element.
18
+ * @category Events
19
+ */
20
+ export declare class NXClickEvent<T extends NXComponent = NXComponent> extends NXNativeEvent<T, MouseEvent> {
21
+ }
@@ -0,0 +1,2 @@
1
+ export * from './component.types';
2
+ export * from './events.types';
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZ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bmc7XG4gIHN1YlRpdGxlPzogc3RyaW5nO1xuICBjbG9zZUJ1dHRvbj86IGJvb2xlYW47XG4gIGhlYWRlcj86IGJvb2xlYW47XG4gIGRhdGE/OiB1bmtub3duO1xuICBjbG9zZU9uQmFja2Ryb3BDbGljaz86IGJvb2xlYW47XG4gIGl0ZW1zPzogQVhBY3Rpb25TaGVldEl0ZW1bXTtcbiAgY29udGVudD86IEFYQWN0aW9uU2hlZXRDb250ZW50VHlwZTtcbn1cbiJdfQ==
@@ -85,7 +85,7 @@ export class AXActionSheetComponent extends MXBaseComponent {
85
85
  provide: AXFocusableComponent,
86
86
  useExisting: AXActionSheetComponent,
87
87
  },
88
- ], usesInheritance: true, ngImport: i0, template: "@if (data.header) {\n<ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n</ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n @for (item of data.items; let i = $index; track i) {\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" [tabindex]=\"i\"\n (click)=\"onItemClick(item)\">\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div>\n }\n</div>", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-sheet-items{padding-top:.5rem;padding-bottom:.5rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{display:flex;padding:.75rem 1rem;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{margin-inline-end:.75rem;font-size:1.5rem;line-height:2rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "component", type: i3.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: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
88
+ ], usesInheritance: true, ngImport: i0, template: "@if (data.header) {\n <ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-el-interactive ax-el-{{ item.color }}-blank\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n<!-- <div\n class=\"ax-action-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div> -->\n", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "component", type: i3.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: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
89
89
  }
90
90
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXActionSheetComponent, decorators: [{
91
91
  type: Component,
@@ -98,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
98
98
  provide: AXFocusableComponent,
99
99
  useExisting: AXActionSheetComponent,
100
100
  },
101
- ], template: "@if (data.header) {\n<ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n</ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n @for (item of data.items; let i = $index; track i) {\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" [tabindex]=\"i\"\n (click)=\"onItemClick(item)\">\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div>\n }\n</div>", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-sheet-items{padding-top:.5rem;padding-bottom:.5rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{display:flex;padding:.75rem 1rem;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{margin-inline-end:.75rem;font-size:1.5rem;line-height:2rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"] }]
101
+ ], template: "@if (data.header) {\n <ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-el-interactive ax-el-{{ item.color }}-blank\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n<!-- <div\n class=\"ax-action-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div> -->\n", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"] }]
102
102
  }], ctorParameters: () => [{ type: undefined, decorators: [{
103
103
  type: Inject,
104
104
  args: [DIALOG_DATA]
@@ -106,4 +106,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
106
106
  type: HostListener,
107
107
  args: ['keydown.escape']
108
108
  }] } });
109
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2xpYi9hY3Rpb24tc2hlZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnR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UgfCBhc3luYyB9fTwvYXgtdGV4dD5cbiAgICAgIDwvZGl2PlxuICAgICAgPGRpdiBjbGFzcz1cImF4LWFjdGlvbi1pdGVtLXN1ZmZpeFwiPjwvZGl2PlxuICAgIDwvZGl2PlxuICAgIEBpZiAoaXRlbS5icmVhaykge1xuICAgICAgPGF4LWRpdmlkZXI+PC9heC1kaXZpZGVyPlxuICAgIH1cbiAgfVxuPC9kaXY+XG48IS0tIDxkaXZcbiAgICAgIGNsYXNzPVwiYXgtYWN0aW9uLWl0ZW0gYXgte3sgaXRlbS5jb2xvciB9fVwiXG4gICAgICBbY2xhc3MuYXgtc3RhdGUtZGlzYWJsZWRdPVwiaXRlbS5kaXNhYmxlZFwiXG4gICAgICBbdGFiaW5kZXhdPVwiaVwiXG4gICAgICAoY2xpY2spPVwib25JdGVtQ2xpY2soaXRlbSlcIlxuICAgID5cbiAgICAgIEBpZiAoaXRlbS5pY29uKSB7XG4gICAgICAgIDxzcGFuIGNsYXNzPVwiaXRlbS1pY29uXCIgW2NsYXNzXT1cIml0ZW0uaWNvblwiPjwvc3Bhbj5cbiAgICAgIH1cbiAgICAgIDxzcGFuIGNsYXNzPVwiaXRlbS10ZXh0XCI+e3sgaXRlbS50ZXh0IHwgdHJhbnNsYXRlIHwgYXN5bmMgfX08L3NwYW4+XG4gICAgPC9kaXY+IC0tPlxuIl19
@@ -1,5 +1,5 @@
1
- import { AXClosbaleComponent, MXInteractiveComponent } from '@acorex/components/common';
2
- import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Optional, Output, QueryList, ViewEncapsulation, afterNextRender, input, } from '@angular/core';
1
+ import { AXClosbaleComponent, MXInteractiveComponent, } from '@acorex/components/common';
2
+ import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, HostBinding, Inject, Optional, Output, QueryList, ViewEncapsulation, afterNextRender, 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/decorators";
@@ -18,17 +18,17 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
18
18
  super();
19
19
  this.parent = parent;
20
20
  /**
21
- * The list of button items to display.
22
- *
23
- * @defaultValue []
24
- */
21
+ * The list of button items to display.
22
+ *
23
+ * @defaultValue []
24
+ */
25
25
  this.items = input([]);
26
26
  /**
27
- * Emits an event when an item is clicked.
28
- * The event contains details about the clicked item.
29
- *
30
- * @event {AXItemClickEvent<AXButtonItemComponent>} - The event object containing clicked item details.
31
- */
27
+ * Emits an event when an item is clicked.
28
+ * The event contains details about the clicked item.
29
+ *
30
+ * @event {AXItemClickEvent<AXButtonItemComponent>} - The event object containing clicked item details.
31
+ */
32
32
  this.onItemClick = new EventEmitter();
33
33
  afterNextRender(() => {
34
34
  this._initContents();
@@ -84,8 +84,14 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
84
84
  data: item.data,
85
85
  });
86
86
  }
87
+ /**
88
+ * @ignore
89
+ */
90
+ get __hostClass() {
91
+ return `ax-action-list ax-action-list-vertical`;
92
+ }
87
93
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonItemListComponent, deps: [{ token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
88
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", 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: `
94
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXButtonItemListComponent, selector: "ax-button-item-list", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onItemClick: "onItemClick" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonItemComponent }], usesInheritance: true, ngImport: i0, template: `
89
95
  @for (item of items(); track item.name) {
90
96
  <ax-button-item
91
97
  [text]="item.text"
@@ -105,7 +111,7 @@ export class AXButtonItemListComponent extends MXInteractiveComponent {
105
111
  }
106
112
  }
107
113
  <ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
108
- `, 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 }); }
114
+ `, isInline: true, styles: [""], 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 }); }
109
115
  }
110
116
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXButtonItemListComponent, decorators: [{
111
117
  type: Component,
@@ -129,7 +135,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
129
135
  }
130
136
  }
131
137
  <ng-content select="ax-button-item, ax-title, ax-divider, ng-container"></ng-content>
132
- `, 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"] }]
138
+ `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None }]
133
139
  }], ctorParameters: () => [{ type: i3.AXClosbaleComponent, decorators: [{
134
140
  type: Optional
135
141
  }, {
@@ -140,5 +146,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
140
146
  args: [AXButtonItemComponent]
141
147
  }], onItemClick: [{
142
148
  type: Output
149
+ }], __hostClass: [{
150
+ type: HostBinding,
151
+ args: ['class']
143
152
  }] } });
144
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWl0ZW0tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnV0dG9uL3NyYy9saWIvYnV0dG9uLWl0ZW0tbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixtQkFBbUIsRUFBb0Isc0JBQXNCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUN4SCxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLE1BQU0sRUFDTixRQUFRLEVBQ1IsTUFBTSxFQUNOLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsZUFBZSxFQUNmLEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUscUJBQXFCLEVBQXdCLE1BQU0seUJBQXlCLENBQUM7Ozs7O0FBRXRGOzs7O0dBSUc7QUE0QkgsTUFBTSxPQUFPLHlCQUEwQixTQUFRLHNCQUFzQjtJQXFCbkU7O09BRUc7SUFDSCxZQUdVLE1BQTRCO1FBRXBDLEtBQUssRUFBRSxDQUFDO1FBRkEsV0FBTSxHQUFOLE1BQU0sQ0FBc0I7UUF2QnBDOzs7O1NBSUM7UUFDSCxVQUFLLEdBQUcsS0FBSyxDQUF5QixFQUFFLENBQUMsQ0FBQztRQU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