@acorex/components 18.14.1-next.4 → 18.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/comment/lib/comment-container/comment-container.component.d.ts +1 -0
- package/common/lib/components/value-component.class.d.ts +1 -0
- package/common/lib/directives/auto-focus.directive.d.ts +1 -0
- package/common/lib/directives/ripple.directive.d.ts +1 -0
- package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +1 -0
- package/data-table/lib/data-table/data-table.component.d.ts +61 -60
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +7 -6
- package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +4 -6
- package/esm2022/audio-wave/lib/audio-wave.component.mjs +79 -14
- package/esm2022/avatar/lib/avatar.component.mjs +2 -2
- package/esm2022/button/lib/button.component.mjs +2 -2
- package/esm2022/calendar/lib/calendar-range.component.mjs +2 -2
- package/esm2022/calendar/lib/calendar.component.mjs +3 -3
- package/esm2022/comment/lib/comment-container/comment-container.component.mjs +7 -3
- package/esm2022/common/lib/components/value-component.class.mjs +4 -2
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +5 -3
- package/esm2022/common/lib/directives/inverted-color.directive.mjs +1 -1
- package/esm2022/common/lib/directives/ripple.directive.mjs +5 -3
- package/esm2022/conversation/lib/conversation-message/conversation-message.component.mjs +2 -2
- package/esm2022/conversation/lib/conversation-messages/conversation-message-voice/conversation-message-voice.component.mjs +2 -2
- package/esm2022/cron-job/lib/cron-job-container/cron-job-container.component.mjs +3 -3
- package/esm2022/cron-job/lib/day/day.component.mjs +7 -6
- package/esm2022/cron-job/lib/hours/hours.component.mjs +7 -6
- package/esm2022/cron-job/lib/minutes/minutes.component.mjs +7 -6
- package/esm2022/cron-job/lib/month/month.component.mjs +7 -6
- package/esm2022/cron-job/lib/seconds/seconds.component.mjs +7 -6
- package/esm2022/cron-job/lib/year/year.component.mjs +7 -6
- package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +9 -7
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +71 -67
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +16 -11
- package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +10 -10
- package/esm2022/list/lib/list.component.mjs +17 -5
- package/esm2022/loading/lib/loading-spinner.component.mjs +2 -2
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +2 -2
- package/esm2022/menu/lib/context-menu.component.mjs +28 -21
- package/esm2022/password-box/index.mjs +2 -1
- package/esm2022/password-box/lib/password-box.component.mjs +17 -9
- package/esm2022/password-box/lib/password-box.module.mjs +22 -4
- package/esm2022/password-box/lib/password-strength-validation/password-strength-validation.component.mjs +63 -0
- package/esm2022/phone-box/lib/phone-box.component.mjs +17 -5
- package/esm2022/popover/lib/popover.component.mjs +5 -3
- package/esm2022/popup/lib/popup.component.mjs +2 -2
- package/esm2022/select-box/lib/select-box.component.mjs +7 -24
- package/esm2022/selection-list/lib/selection-list.component.mjs +2 -2
- package/esm2022/side-menu/index.mjs +2 -2
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.component.mjs +81 -0
- package/esm2022/side-menu/lib/side-menu.module.mjs +2 -2
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +5 -4
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +21 -32
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +7 -5
- package/fesm2022/acorex-components-audio-wave.mjs +78 -13
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +2 -2
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +7 -4
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +6 -3
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +19 -18
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +89 -81
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +10 -11
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +16 -4
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +24 -18
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +97 -12
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +16 -4
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +4 -3
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs +6 -23
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +24 -34
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +7 -6
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/menu/lib/context-menu.component.d.ts +2 -1
- package/package.json +1 -1
- package/password-box/index.d.ts +1 -0
- package/password-box/lib/password-box.component.d.ts +15 -7
- package/password-box/lib/password-box.module.d.ts +9 -5
- package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +34 -0
- package/phone-box/lib/phone-box.component.d.ts +4 -2
- package/popover/lib/popover.component.d.ts +1 -0
- package/select-box/lib/select-box.component.d.ts +0 -8
- package/side-menu/index.d.ts +1 -1
- package/side-menu/lib/side-menu.module.d.ts +1 -1
- package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +10 -9
- package/step-wizard/lib/step-wizard.class.d.ts +1 -1
- package/step-wizard/lib/step-wizard.component.d.ts +7 -13
- package/uploader/lib/uploader-zone.directive.d.ts +1 -0
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +0 -81
- /package/side-menu/lib/side-menu-item/{side-menu-item.compoent.d.ts → side-menu-item.component.d.ts} +0 -0
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
* @category Components
|
6
6
|
*/
|
7
7
|
export declare class AXCommentContainerComponent {
|
8
|
+
private document;
|
8
9
|
scrollToRelpy(id: string): void;
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommentContainerComponent, never>;
|
10
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCommentContainerComponent, "ax-comment-container", never, {}, {}, never, ["*"], false, never>;
|
@@ -49,6 +49,7 @@ export declare class MXValueComponent<T = any> extends MXInteractiveComponent im
|
|
49
49
|
protected ngOnInit(): void;
|
50
50
|
protected ngOnDestroy(): void;
|
51
51
|
protected registerValidation(): void;
|
52
|
+
protected document: Document;
|
52
53
|
private validationService;
|
53
54
|
validationRulesChange: EventEmitter<AXFormValidationRule[]>;
|
54
55
|
private validationRules;
|
@@ -7,6 +7,7 @@ export declare class AXAutoFocusDirective implements AfterViewInit {
|
|
7
7
|
_host: AXFocusableComponent;
|
8
8
|
autoFocus?: boolean;
|
9
9
|
time: number;
|
10
|
+
private document;
|
10
11
|
constructor(renderer: Renderer2, el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
11
12
|
ngAfterViewInit(): void;
|
12
13
|
protected doFocus(): void;
|
@@ -6,6 +6,7 @@ export declare class AXRippleDirective implements OnDestroy {
|
|
6
6
|
enabled?: boolean;
|
7
7
|
axRippleColor: string;
|
8
8
|
ripple: HTMLSpanElement | null;
|
9
|
+
private document;
|
9
10
|
constructor(el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
10
11
|
ngOnInit(): void;
|
11
12
|
ngOnDestroy(): void;
|
@@ -12,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
12
12
|
export declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, AfterViewInit {
|
13
13
|
private _unsubscriber;
|
14
14
|
private _zone;
|
15
|
+
private document;
|
15
16
|
/**
|
16
17
|
* @ignore
|
17
18
|
*/
|
@@ -109,46 +110,46 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
|
|
109
110
|
*/
|
110
111
|
fixedHeader: boolean;
|
111
112
|
/**
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
113
|
+
* Indicates if the table footer should be displayed.
|
114
|
+
*
|
115
|
+
* @defaultValue `false`
|
116
|
+
*/
|
116
117
|
showFooter: boolean;
|
117
118
|
/**
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
119
|
+
* Indicates if the table footer should be fixed.
|
120
|
+
*
|
121
|
+
* @defaultValue `true`
|
122
|
+
*/
|
122
123
|
fixedFooter: boolean;
|
123
124
|
/**
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
125
|
+
* Specifies the height of each item in the table.
|
126
|
+
*
|
127
|
+
* @defaultValue `40`
|
128
|
+
*/
|
128
129
|
itemHeight: number | 'auto';
|
129
130
|
/**
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
131
|
+
* Enables or disables row reordering.
|
132
|
+
*
|
133
|
+
* @defaultValue `false`
|
134
|
+
*/
|
134
135
|
allowReordering: boolean;
|
135
136
|
/**
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
137
|
+
* Enables or disables paging.
|
138
|
+
*
|
139
|
+
* @defaultValue `true`
|
140
|
+
*/
|
140
141
|
paging: boolean;
|
141
142
|
/**
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
143
|
+
* Specifies how data should be fetched.
|
144
|
+
*
|
145
|
+
* @defaultValue `'auto'`
|
146
|
+
*/
|
146
147
|
fetchDataMode: 'auto' | 'manual';
|
147
148
|
/**
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
149
|
+
* Configuration for loading state.
|
150
|
+
*
|
151
|
+
* @defaultValue `{ enabled: true, animation: true }`
|
152
|
+
*/
|
152
153
|
loading: {
|
153
154
|
enabled: boolean;
|
154
155
|
animation: boolean;
|
@@ -159,38 +160,38 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
|
|
159
160
|
*/
|
160
161
|
private _focusedRow;
|
161
162
|
/**
|
162
|
-
|
163
|
-
|
163
|
+
* Gets the currently focused row.
|
164
|
+
*/
|
164
165
|
get focusedRow(): unknown;
|
165
166
|
/**
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
167
|
+
* Sets the currently focused row and emits the change event.
|
168
|
+
*
|
169
|
+
* @param v - The row to be focused.
|
170
|
+
*/
|
170
171
|
set focusedRow(v: unknown);
|
171
172
|
/**
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
173
|
+
* Emits when the focused row changes.
|
174
|
+
*
|
175
|
+
* @event
|
176
|
+
*/
|
176
177
|
focusedRowChange: EventEmitter<unknown>;
|
177
178
|
/**
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
179
|
+
* Emits when a row is clicked.
|
180
|
+
*
|
181
|
+
* @event onRowClick
|
182
|
+
*/
|
182
183
|
onRowClick: EventEmitter<AXDataTableRowClick>;
|
183
184
|
/**
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
185
|
+
* Emits when a row is double-clicked.
|
186
|
+
*
|
187
|
+
* @event onRowDbClick
|
188
|
+
*/
|
188
189
|
onRowDbClick: EventEmitter<AXDataTableRowDbClick>;
|
189
190
|
/**
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
191
|
+
* Emits when the order of columns changes.
|
192
|
+
*
|
193
|
+
* @event onColumnsOrderChanged
|
194
|
+
*/
|
194
195
|
onColumnsOrderChanged: EventEmitter<AXColumnsOrderChangedEvent>;
|
195
196
|
/**
|
196
197
|
* @ignore
|
@@ -229,22 +230,22 @@ export declare class AXDataTableComponent extends AXBaseDataTable implements OnI
|
|
229
230
|
*/
|
230
231
|
protected handleRowDoubleClick(e: MouseEvent, item: unknown): void;
|
231
232
|
/**
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
233
|
+
* Handles the click event on a column header.
|
234
|
+
* Toggles the sorting direction or removes the sort if already sorted.
|
235
|
+
*
|
236
|
+
* @param e - The mouse event triggered by the click.
|
237
|
+
* @param column - The column that was clicked.
|
238
|
+
* @ignore
|
239
|
+
*/
|
239
240
|
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
240
241
|
/**
|
241
242
|
* @ignore
|
242
243
|
*/
|
243
244
|
protected getSort(column: AXDataTableColumnComponent): string | undefined;
|
244
245
|
/**
|
245
|
-
|
246
|
-
|
247
|
-
|
246
|
+
* Refreshes the data in the data source and resets the data pager to the first page.
|
247
|
+
* @ignore
|
248
|
+
*/
|
248
249
|
refresh(): void;
|
249
250
|
/**
|
250
251
|
* @ignore
|
@@ -9,6 +9,7 @@ import * as i0 from "@angular/core";
|
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
11
|
export declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable implements OnInit, DoCheck {
|
12
|
+
private document;
|
12
13
|
private ngZone;
|
13
14
|
/**
|
14
15
|
* @ignore
|
@@ -231,12 +232,12 @@ export declare class AXInfiniteScrollDataTableComponent extends AXBaseDataTable
|
|
231
232
|
*/
|
232
233
|
protected handleRowDoubleClick(e: MouseEvent, item: unknown): void;
|
233
234
|
/**
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
235
|
+
* Handles column header clicks to toggle sorting on the column.
|
236
|
+
*
|
237
|
+
* @param e - The mouse event triggered by the click.
|
238
|
+
* @param column - The column that was clicked.
|
239
|
+
* @ignore
|
240
|
+
*/
|
240
241
|
handleColumnClick(e: MouseEvent, column: AXDataTableColumnComponent): void;
|
241
242
|
/**
|
242
243
|
* @ignore
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { AfterContentInit, DoCheck
|
2
|
+
import { AfterContentInit, DoCheck } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export type AXDrawerMode = 'push' | 'overlay';
|
5
5
|
export type AXDrawerLocation = 'start' | 'end';
|
@@ -9,7 +9,6 @@ export type AXDrawerLocation = 'start' | 'end';
|
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
11
|
export declare class AXDrawerComponent extends MXBaseComponent implements AfterContentInit, DoCheck {
|
12
|
-
private _zone;
|
13
12
|
location: import("@angular/core").ModelSignal<AXDrawerLocation>;
|
14
13
|
showBackdrop: import("@angular/core").InputSignal<boolean>;
|
15
14
|
mode: import("@angular/core").ModelSignal<AXDrawerMode>;
|
@@ -18,11 +17,10 @@ export declare class AXDrawerComponent extends MXBaseComponent implements AfterC
|
|
18
17
|
private backdropElement;
|
19
18
|
protected loaded: import("@angular/core").WritableSignal<boolean>;
|
20
19
|
private service;
|
20
|
+
private _zone;
|
21
|
+
private document;
|
21
22
|
/**
|
22
|
-
*
|
23
|
-
*/
|
24
|
-
constructor(_zone: NgZone);
|
25
|
-
/**
|
23
|
+
*
|
26
24
|
* @ignore
|
27
25
|
*/
|
28
26
|
ngAfterContentInit(): void;
|
@@ -125,7 +125,12 @@ export class AXAudioWaveComponent {
|
|
125
125
|
handleLoad() {
|
126
126
|
this.audio?.on('load', (url) => {
|
127
127
|
this.ngZone.run(() => {
|
128
|
-
this.onStatusChanged.emit({
|
128
|
+
this.onStatusChanged.emit({
|
129
|
+
component: this,
|
130
|
+
data: { url: url },
|
131
|
+
status: 'load',
|
132
|
+
isUserInteraction: false,
|
133
|
+
});
|
129
134
|
});
|
130
135
|
});
|
131
136
|
}
|
@@ -133,7 +138,12 @@ export class AXAudioWaveComponent {
|
|
133
138
|
handleLoading() {
|
134
139
|
this.audio?.on('loading', (percent) => {
|
135
140
|
this.ngZone.run(() => {
|
136
|
-
this.onStatusChanged.emit({
|
141
|
+
this.onStatusChanged.emit({
|
142
|
+
component: this,
|
143
|
+
data: { percent: percent },
|
144
|
+
status: 'loading',
|
145
|
+
isUserInteraction: false,
|
146
|
+
});
|
137
147
|
});
|
138
148
|
});
|
139
149
|
}
|
@@ -141,7 +151,12 @@ export class AXAudioWaveComponent {
|
|
141
151
|
handleDecode() {
|
142
152
|
this.audio?.on('decode', (duration) => {
|
143
153
|
this.ngZone.run(() => {
|
144
|
-
this.onStatusChanged.emit({
|
154
|
+
this.onStatusChanged.emit({
|
155
|
+
component: this,
|
156
|
+
data: { duration: duration },
|
157
|
+
status: 'decode',
|
158
|
+
isUserInteraction: false,
|
159
|
+
});
|
145
160
|
});
|
146
161
|
});
|
147
162
|
}
|
@@ -149,7 +164,12 @@ export class AXAudioWaveComponent {
|
|
149
164
|
handleReady() {
|
150
165
|
this.audio?.on('ready', (duration) => {
|
151
166
|
this.ngZone.run(() => {
|
152
|
-
this.onStatusChanged.emit({
|
167
|
+
this.onStatusChanged.emit({
|
168
|
+
component: this,
|
169
|
+
data: { duration: duration },
|
170
|
+
status: 'ready',
|
171
|
+
isUserInteraction: false,
|
172
|
+
});
|
153
173
|
});
|
154
174
|
});
|
155
175
|
}
|
@@ -157,7 +177,12 @@ export class AXAudioWaveComponent {
|
|
157
177
|
handleRedRawComplete() {
|
158
178
|
this.audio?.on('redrawcomplete', () => {
|
159
179
|
this.ngZone.run(() => {
|
160
|
-
this.onStatusChanged.emit({
|
180
|
+
this.onStatusChanged.emit({
|
181
|
+
component: this,
|
182
|
+
data: null,
|
183
|
+
status: 'redrawcomplete',
|
184
|
+
isUserInteraction: false,
|
185
|
+
});
|
161
186
|
});
|
162
187
|
});
|
163
188
|
}
|
@@ -181,7 +206,12 @@ export class AXAudioWaveComponent {
|
|
181
206
|
handleFinish() {
|
182
207
|
this.audio?.on('finish', () => {
|
183
208
|
this.ngZone.run(() => {
|
184
|
-
this.onStatusChanged.emit({
|
209
|
+
this.onStatusChanged.emit({
|
210
|
+
component: this,
|
211
|
+
data: null,
|
212
|
+
status: 'finish',
|
213
|
+
isUserInteraction: false,
|
214
|
+
});
|
185
215
|
});
|
186
216
|
});
|
187
217
|
}
|
@@ -189,7 +219,12 @@ export class AXAudioWaveComponent {
|
|
189
219
|
handleTimeUpdate() {
|
190
220
|
this.audio?.on('timeupdate', (currentTime) => {
|
191
221
|
this.ngZone.run(() => {
|
192
|
-
this.onStatusChanged.emit({
|
222
|
+
this.onStatusChanged.emit({
|
223
|
+
component: this,
|
224
|
+
data: { currentTime: currentTime },
|
225
|
+
status: 'timeupdate',
|
226
|
+
isUserInteraction: false,
|
227
|
+
});
|
193
228
|
});
|
194
229
|
});
|
195
230
|
}
|
@@ -197,7 +232,12 @@ export class AXAudioWaveComponent {
|
|
197
232
|
handleSeeking() {
|
198
233
|
this.audio?.on('seeking', (currentTime) => {
|
199
234
|
this.ngZone.run(() => {
|
200
|
-
this.onStatusChanged.emit({
|
235
|
+
this.onStatusChanged.emit({
|
236
|
+
component: this,
|
237
|
+
data: { currentTime: currentTime },
|
238
|
+
status: 'seeking',
|
239
|
+
isUserInteraction: false,
|
240
|
+
});
|
201
241
|
});
|
202
242
|
});
|
203
243
|
}
|
@@ -205,7 +245,12 @@ export class AXAudioWaveComponent {
|
|
205
245
|
handleInteraction() {
|
206
246
|
this.audio?.on('interaction', (newTime) => {
|
207
247
|
this.ngZone.run(() => {
|
208
|
-
this.onStatusChanged.emit({
|
248
|
+
this.onStatusChanged.emit({
|
249
|
+
component: this,
|
250
|
+
data: { newTime: newTime },
|
251
|
+
status: 'interaction',
|
252
|
+
isUserInteraction: false,
|
253
|
+
});
|
209
254
|
});
|
210
255
|
});
|
211
256
|
}
|
@@ -213,7 +258,12 @@ export class AXAudioWaveComponent {
|
|
213
258
|
handleClick() {
|
214
259
|
this.audio?.on('click', (relativeX) => {
|
215
260
|
this.ngZone.run(() => {
|
216
|
-
this.onStatusChanged.emit({
|
261
|
+
this.onStatusChanged.emit({
|
262
|
+
component: this,
|
263
|
+
data: { relativeX: relativeX },
|
264
|
+
status: 'click',
|
265
|
+
isUserInteraction: false,
|
266
|
+
});
|
217
267
|
});
|
218
268
|
});
|
219
269
|
}
|
@@ -221,7 +271,12 @@ export class AXAudioWaveComponent {
|
|
221
271
|
handleDrag() {
|
222
272
|
this.audio?.on('drag', (relativeX) => {
|
223
273
|
this.ngZone.run(() => {
|
224
|
-
this.onStatusChanged.emit({
|
274
|
+
this.onStatusChanged.emit({
|
275
|
+
component: this,
|
276
|
+
data: { relativeX: relativeX },
|
277
|
+
status: 'drag',
|
278
|
+
isUserInteraction: false,
|
279
|
+
});
|
225
280
|
});
|
226
281
|
});
|
227
282
|
}
|
@@ -242,7 +297,12 @@ export class AXAudioWaveComponent {
|
|
242
297
|
handleZoom() {
|
243
298
|
this.audio?.on('zoom', (minPxPerSec) => {
|
244
299
|
this.ngZone.run(() => {
|
245
|
-
this.onStatusChanged.emit({
|
300
|
+
this.onStatusChanged.emit({
|
301
|
+
component: this,
|
302
|
+
data: { minPxPerSec: minPxPerSec },
|
303
|
+
status: 'zoom',
|
304
|
+
isUserInteraction: false,
|
305
|
+
});
|
246
306
|
});
|
247
307
|
});
|
248
308
|
}
|
@@ -250,7 +310,12 @@ export class AXAudioWaveComponent {
|
|
250
310
|
handleDestroy() {
|
251
311
|
this.audio?.on('destroy', () => {
|
252
312
|
this.ngZone.run(() => {
|
253
|
-
this.onStatusChanged.emit({
|
313
|
+
this.onStatusChanged.emit({
|
314
|
+
component: this,
|
315
|
+
data: null,
|
316
|
+
status: 'destroy',
|
317
|
+
isUserInteraction: false,
|
318
|
+
});
|
254
319
|
});
|
255
320
|
});
|
256
321
|
}
|
@@ -272,4 +337,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
272
337
|
type: ViewChild,
|
273
338
|
args: ['d', { static: false }]
|
274
339
|
}] } });
|
275
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8td2F2ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYXVkaW8td2F2ZS9zcmMvbGliL2F1ZGlvLXdhdmUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2F1ZGlvLXdhdmUvc3JjL2xpYi9hdWRpby13YXZlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsVUFBVSxFQUVWLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLGVBQWUsRUFDZixNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxVQUFVLE1BQU0sZUFBZSxDQUFDOzs7O0FBSXZDOzs7O0dBSUc7QUFPSCxNQUFNLE9BQU8sb0JBQW9CO0lBZ0MvQjs7T0FFRztJQUNIO1FBN0JBOztXQUVHO1FBQ0gsV0FBTSxHQUE4QixLQUFLLEVBQWdCLENBQUM7UUFFMUQ7Ozs7V0FJRztRQUNILG9CQUFlLEdBQUcsTUFBTSxFQUEwQixDQUFDO1FBRW5ELGVBQVUsR0FBRyxNQUFN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4iLCI8ZGl2IGNsYXNzPVwiYXgtYXVkaW8td2F2ZVwiICNkIFtuZ1N0eWxlXT1cInsnZGlzcGxheSc6IGF1ZGlvU3RhdGUoKSA9PT0gJ3JlYWR5JyA/ICdibG9jaycgOiAnbm9uZScgfVwiPjwvZGl2PlxuXG5Ac3dpdGNoIChhdWRpb1N0YXRlKCkpIHtcbkBjYXNlICgnbG9hZGluZycpIHtcbjxkaXYgY2xhc3M9XCJheC1hdWRpby1za2VsZXRvblwiPjwvZGl2PlxufVxuQGNhc2UgKCdlcnJvcicpIHtcbjxkaXYgY2xhc3M9XCJheC13YXZlLW1lc3NhZ2VcIj5cbiAgICB7eydlcnJvci5tZXNzYWdlJyB8IHRyYW5zbGF0ZTp7IHBhcmFtczp7IG1lc3NhZ2U6IGVycm9yTWVzc2FnZSgpIH0gfSB8IGFzeW5jIH19XG48L2Rpdj5cbn1cbn0iXX0=
|
@@ -39,11 +39,11 @@ export class AXAvatarComponent extends MXColorComponent {
|
|
39
39
|
return `width: ${this.size()}px; height: ${this.size()}px`;
|
40
40
|
}
|
41
41
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXAvatarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
42
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { size: "sizeChange" }, host: { properties: { "class": "this.__hostClass", "style": "this.__hostStyle" } }, queries: [{ propertyName: "children", predicate: ["ax-image, ax-icon, ax-text"], isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-text, ax-image, ax-icon\"></ng-content>\n\n@if (!children()?.length) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-solid\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\n <g style=\"isolation: isolate\">\n <g id=\"Layer_2\" data-name=\"Layer 2\">\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\n <rect width=\"512\" height=\"512\" />\n <path\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\n style=\"fill: rgba(var(--ax-color-white)); opacity: 0.7\"\n />\n <path\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\n style=\"opacity: 0.05\"\n />\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill: rgba(var(--ax-color-white))\" />\n </g>\n </g>\n </g>\n </svg>\n}\n<ng-content select=\"ax-badge\"></ng-content>\n", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{margin:-.25rem;overflow:hidden;border-width:2px;border-color:rgba(var(--ax-color-surface))}ax-avatar{position:relative;display:flex;justify-content:center}ax-avatar.ax-shape-sharp{border-radius:0}ax-avatar.ax-shape-soft{border-radius:var(--ax-rounded-border-default)}ax-avatar.ax-shape-rounded{border-radius:9999px}ax-avatar *{border-radius:inherit}ax-avatar ax-text{font-size:1.5rem;line-height:2rem}ax-avatar ax-icon,ax-avatar ax-text{display:flex;min-height:100%;min-width:100%;align-items:center;justify-content:center}ax-avatar ax-badge{position:absolute}ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-400))}ax-avatar.ax-primary-solid ax-text,ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-400))}ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-secondary-solid ax-text,ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-400))}ax-avatar.ax-success-solid ax-text,ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-400))}ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-400))}ax-avatar.ax-warning-solid ax-text,ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-400))}ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-400))}ax-avatar.ax-danger-solid ax-text,ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-400))}ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-400))}ax-avatar.ax-info-solid ax-text,ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-400))}ax-avatar.ax-ghost-solid ax-text,ax-avatar.ax-ghost-solid ax-icon{background-color:rgba(var(--ax-color-neutral-200));color:rgba(var(--ax-color-neutral-fore-tint))}ax-avatar.ax-ghost-solid ax-icon svg{fill:rgba(var(--ax-color-neutral-200))}.ax-dark ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-700))}.ax-dark ax-avatar.ax-primary-solid ax-text,.ax-dark ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { size: "sizeChange" }, host: { properties: { "class": "this.__hostClass", "style": "this.__hostStyle" } }, queries: [{ propertyName: "children", predicate: ["ax-image, ax-icon, ax-text"], isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-text, ax-image, ax-icon\"></ng-content>\n\n@if (!children()?.length) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-solid\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\n <g style=\"isolation: isolate\">\n <g id=\"Layer_2\" data-name=\"Layer 2\">\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\n <rect width=\"512\" height=\"512\" />\n <path\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\n style=\"fill: rgba(var(--ax-color-white)); opacity: 0.7\"\n />\n <path\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\n style=\"opacity: 0.05\"\n />\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill: rgba(var(--ax-color-white))\" />\n </g>\n </g>\n </g>\n </svg>\n}\n<ng-content select=\"ax-badge\"></ng-content>\n", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{margin:-.25rem;overflow:hidden;border-width:2px;border-color:rgba(var(--ax-color-surface))}ax-avatar{position:relative;display:flex;justify-content:center}ax-avatar.ax-shape-sharp{border-radius:0}ax-avatar.ax-shape-soft{border-radius:var(--ax-rounded-border-default)}ax-avatar.ax-shape-rounded{border-radius:9999px}ax-avatar *{border-radius:inherit}ax-avatar ax-text{font-size:1.5rem;line-height:2rem}ax-avatar ax-icon,ax-avatar ax-text{display:flex;min-height:100%;min-width:100%;align-items:center;justify-content:center}ax-avatar ax-badge{position:absolute}ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-400))}ax-avatar.ax-primary-solid ax-text,ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-400))}ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-secondary-solid ax-text,ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-400))}ax-avatar.ax-success-solid ax-text,ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-400))}ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-400))}ax-avatar.ax-warning-solid ax-text,ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-400))}ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-400))}ax-avatar.ax-danger-solid ax-text,ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-400))}ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-400))}ax-avatar.ax-info-solid ax-text,ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-400))}ax-avatar.ax-ghost-solid ax-text,ax-avatar.ax-ghost-solid ax-icon{background-color:rgba(var(--ax-color-neutral-200));color:rgba(var(--ax-color-neutral-fore-tint))}ax-avatar.ax-ghost-solid ax-icon svg{fill:rgba(var(--ax-color-neutral-200))}.ax-dark ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-700))}.ax-dark ax-avatar.ax-primary-solid ax-text,.ax-dark ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-400));color:rgba(var(--ax-color-primary-100))}.ax-dark ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-700))}.ax-dark ax-avatar.ax-secondary-solid ax-text,.ax-dark ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-400));color:rgba(var(--ax-color-secondary-100))}.ax-dark ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-700))}.ax-dark ax-avatar.ax-success-solid ax-text,.ax-dark ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-400));color:rgba(var(--ax-color-success-100))}.ax-dark ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-700))}.ax-dark ax-avatar.ax-warning-solid ax-text,.ax-dark ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-400));color:rgba(var(--ax-color-warning-100))}.ax-dark ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-700))}.ax-dark ax-avatar.ax-danger-solid ax-text,.ax-dark ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-400));color:rgba(var(--ax-color-danger-100))}.ax-dark ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-700))}.ax-dark ax-avatar.ax-info-solid ax-text,.ax-dark ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-400));color:rgba(var(--ax-color-info-100))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
43
43
|
}
|
44
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
45
45
|
type: Component,
|
46
|
-
args: [{ selector: 'ax-avatar', inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-text, ax-image, ax-icon\"></ng-content>\n\n@if (!children()?.length) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-solid\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\n <g style=\"isolation: isolate\">\n <g id=\"Layer_2\" data-name=\"Layer 2\">\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\n <rect width=\"512\" height=\"512\" />\n <path\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\n style=\"fill: rgba(var(--ax-color-white)); opacity: 0.7\"\n />\n <path\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\n style=\"opacity: 0.05\"\n />\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill: rgba(var(--ax-color-white))\" />\n </g>\n </g>\n </g>\n </svg>\n}\n<ng-content select=\"ax-badge\"></ng-content>\n", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{margin:-.25rem;overflow:hidden;border-width:2px;border-color:rgba(var(--ax-color-surface))}ax-avatar{position:relative;display:flex;justify-content:center}ax-avatar.ax-shape-sharp{border-radius:0}ax-avatar.ax-shape-soft{border-radius:var(--ax-rounded-border-default)}ax-avatar.ax-shape-rounded{border-radius:9999px}ax-avatar *{border-radius:inherit}ax-avatar ax-text{font-size:1.5rem;line-height:2rem}ax-avatar ax-icon,ax-avatar ax-text{display:flex;min-height:100%;min-width:100%;align-items:center;justify-content:center}ax-avatar ax-badge{position:absolute}ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-400))}ax-avatar.ax-primary-solid ax-text,ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-400))}ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-secondary-solid ax-text,ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-400))}ax-avatar.ax-success-solid ax-text,ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-400))}ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-400))}ax-avatar.ax-warning-solid ax-text,ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-400))}ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-400))}ax-avatar.ax-danger-solid ax-text,ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-400))}ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-400))}ax-avatar.ax-info-solid ax-text,ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-400))}ax-avatar.ax-ghost-solid ax-text,ax-avatar.ax-ghost-solid ax-icon{background-color:rgba(var(--ax-color-neutral-200));color:rgba(var(--ax-color-neutral-fore-tint))}ax-avatar.ax-ghost-solid ax-icon svg{fill:rgba(var(--ax-color-neutral-200))}.ax-dark ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-700))}.ax-dark ax-avatar.ax-primary-solid ax-text,.ax-dark ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-
|
46
|
+
args: [{ selector: 'ax-avatar', inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-text, ax-image, ax-icon\"></ng-content>\n\n@if (!children()?.length) {\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-solid\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\n <g style=\"isolation: isolate\">\n <g id=\"Layer_2\" data-name=\"Layer 2\">\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\n <rect width=\"512\" height=\"512\" />\n <path\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\n style=\"fill: rgba(var(--ax-color-white)); opacity: 0.7\"\n />\n <path\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\n style=\"opacity: 0.05\"\n />\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill: rgba(var(--ax-color-white))\" />\n </g>\n </g>\n </g>\n </svg>\n}\n<ng-content select=\"ax-badge\"></ng-content>\n", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{margin:-.25rem;overflow:hidden;border-width:2px;border-color:rgba(var(--ax-color-surface))}ax-avatar{position:relative;display:flex;justify-content:center}ax-avatar.ax-shape-sharp{border-radius:0}ax-avatar.ax-shape-soft{border-radius:var(--ax-rounded-border-default)}ax-avatar.ax-shape-rounded{border-radius:9999px}ax-avatar *{border-radius:inherit}ax-avatar ax-text{font-size:1.5rem;line-height:2rem}ax-avatar ax-icon,ax-avatar ax-text{display:flex;min-height:100%;min-width:100%;align-items:center;justify-content:center}ax-avatar ax-badge{position:absolute}ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-400))}ax-avatar.ax-primary-solid ax-text,ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-400))}ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-secondary-solid ax-text,ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-400))}ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-400))}ax-avatar.ax-success-solid ax-text,ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-400))}ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-400))}ax-avatar.ax-warning-solid ax-text,ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-400))}ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-400))}ax-avatar.ax-danger-solid ax-text,ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-400))}ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-400))}ax-avatar.ax-info-solid ax-text,ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-400))}ax-avatar.ax-ghost-solid ax-text,ax-avatar.ax-ghost-solid ax-icon{background-color:rgba(var(--ax-color-neutral-200));color:rgba(var(--ax-color-neutral-fore-tint))}ax-avatar.ax-ghost-solid ax-icon svg{fill:rgba(var(--ax-color-neutral-200))}.ax-dark ax-avatar.ax-primary-solid .ax-solid{fill:rgba(var(--ax-color-primary-700))}.ax-dark ax-avatar.ax-primary-solid ax-text,.ax-dark ax-avatar.ax-primary-solid ax-icon{background-color:rgba(var(--ax-color-primary-400));color:rgba(var(--ax-color-primary-100))}.ax-dark ax-avatar.ax-secondary-solid .ax-solid{fill:rgba(var(--ax-color-secondary-700))}.ax-dark ax-avatar.ax-secondary-solid ax-text,.ax-dark ax-avatar.ax-secondary-solid ax-icon{background-color:rgba(var(--ax-color-secondary-400));color:rgba(var(--ax-color-secondary-100))}.ax-dark ax-avatar.ax-success-solid .ax-solid{fill:rgba(var(--ax-color-success-700))}.ax-dark ax-avatar.ax-success-solid ax-text,.ax-dark ax-avatar.ax-success-solid ax-icon{background-color:rgba(var(--ax-color-success-400));color:rgba(var(--ax-color-success-100))}.ax-dark ax-avatar.ax-warning-solid .ax-solid{fill:rgba(var(--ax-color-warning-700))}.ax-dark ax-avatar.ax-warning-solid ax-text,.ax-dark ax-avatar.ax-warning-solid ax-icon{background-color:rgba(var(--ax-color-warning-400));color:rgba(var(--ax-color-warning-100))}.ax-dark ax-avatar.ax-danger-solid .ax-solid{fill:rgba(var(--ax-color-danger-700))}.ax-dark ax-avatar.ax-danger-solid ax-text,.ax-dark ax-avatar.ax-danger-solid ax-icon{background-color:rgba(var(--ax-color-danger-400));color:rgba(var(--ax-color-danger-100))}.ax-dark ax-avatar.ax-info-solid .ax-solid{fill:rgba(var(--ax-color-info-700))}.ax-dark ax-avatar.ax-info-solid ax-text,.ax-dark ax-avatar.ax-info-solid ax-icon{background-color:rgba(var(--ax-color-info-400));color:rgba(var(--ax-color-info-100))}\n"] }]
|
47
47
|
}], propDecorators: { __hostClass: [{
|
48
48
|
type: HostBinding,
|
49
49
|
args: ['class']
|