@acorex/components 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/action-sheet/action-sheet-item.component.mjs +1 -1
- package/esm2020/lib/alert/alert.component.mjs +1 -1
- package/esm2020/lib/alert/alert.module.mjs +2 -6
- package/esm2020/lib/alert/index.mjs +1 -2
- package/esm2020/lib/base/auto-focus.directive.mjs +43 -0
- package/esm2020/lib/base/common.module.mjs +6 -4
- package/esm2020/lib/base/components.class.mjs +21 -7
- package/esm2020/lib/base/hotkey.directive.mjs +79 -0
- package/esm2020/lib/base/index.mjs +3 -1
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +1 -22
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/mixin.class.mjs +1 -1
- package/esm2020/lib/button/button-item.class.mjs +1 -1
- package/esm2020/lib/button/button.component.mjs +18 -27
- package/esm2020/lib/calendar/calendar.component.mjs +1 -1
- package/esm2020/lib/checkbox/checkbox.component.mjs +4 -3
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +41 -31
- package/esm2020/lib/color-palette/color-palette-picker.component.mjs +5 -8
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +24 -16
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +27 -17
- package/esm2020/lib/color-palette/color-palette.class.mjs +8 -1
- package/esm2020/lib/color-palette/color-palette.component.mjs +34 -7
- package/esm2020/lib/color-picker/color-picker.component.mjs +6 -3
- package/esm2020/lib/data-table/data-column-cell-template.directive.mjs +17 -0
- package/esm2020/lib/data-table/data-column.directive.mjs +38 -0
- package/esm2020/lib/data-table/data-table.component.mjs +92 -0
- package/esm2020/lib/data-table/data-table.module.mjs +23 -0
- package/esm2020/lib/data-table/index.mjs +5 -0
- package/esm2020/lib/datepicker/datepicker.component.mjs +1 -1
- package/esm2020/lib/decorators/decorators.module.mjs +2 -2
- package/esm2020/lib/dialog/dialog.component.mjs +20 -7
- package/esm2020/lib/dialog/dialog.module.mjs +4 -3
- package/esm2020/lib/dialog/dialog.service.mjs +11 -5
- package/esm2020/lib/drawer/drawer.component.mjs +17 -10
- package/esm2020/lib/label/label.component.mjs +5 -3
- package/esm2020/lib/menu/menu.component.mjs +10 -4
- package/esm2020/lib/number-box/number-box.component.mjs +10 -3
- package/esm2020/lib/password-box/password-box.component.mjs +1 -1
- package/esm2020/lib/searchbox/searchbox.component.mjs +1 -1
- package/esm2020/lib/selectbox/selectbox.component.mjs +2 -3
- package/esm2020/lib/textbox/textbox.component.mjs +10 -3
- package/esm2020/lib/toast/toast.component.mjs +8 -4
- package/esm2020/lib/toast/toast.module.mjs +1 -1
- package/esm2020/lib/toast/toast.service.mjs +22 -16
- package/esm2020/lib/validation/validation-rule.widget.mjs +1 -2
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +676 -358
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +671 -358
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +6 -6
- package/lib/alert/alert.module.d.ts +3 -4
- package/lib/alert/index.d.ts +0 -1
- package/lib/base/auto-focus.directive.d.ts +12 -0
- package/lib/base/common.module.d.ts +3 -1
- package/lib/base/components.class.d.ts +12 -3
- package/lib/base/hotkey.directive.d.ts +22 -0
- package/lib/base/index.d.ts +2 -0
- package/lib/base/mixin/button-mixin.class.d.ts +2 -10
- package/lib/base/mixin/mixin.class.d.ts +2 -4
- package/lib/button/button-item.class.d.ts +4 -3
- package/lib/button/button.component.d.ts +3 -4
- package/lib/checkbox/checkbox.component.d.ts +2 -1
- package/lib/color-palette/color-palette-input.component.d.ts +2 -2
- package/lib/color-palette/color-palette-preview.component.d.ts +5 -6
- package/lib/color-palette/color-palette-swatches.component.d.ts +2 -1
- package/lib/color-palette/color-palette.class.d.ts +6 -0
- package/lib/color-palette/color-palette.component.d.ts +8 -2
- package/lib/data-table/data-column-cell-template.directive.d.ts +8 -0
- package/lib/data-table/data-column.directive.d.ts +15 -0
- package/lib/data-table/data-table.component.d.ts +28 -0
- package/lib/data-table/data-table.module.d.ts +10 -0
- package/lib/data-table/index.d.ts +4 -0
- package/lib/dialog/dialog.component.d.ts +1 -0
- package/lib/dialog/dialog.module.d.ts +7 -6
- package/lib/drawer/drawer.component.d.ts +0 -1
- package/lib/label/label.component.d.ts +2 -1
- package/lib/menu/menu.component.d.ts +4 -1
- package/lib/toast/toast.component.d.ts +2 -0
- package/lib/toast/toast.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2020/lib/alert/alert-button.component.mjs +0 -50
- package/lib/alert/alert-button.component.d.ts +0 -13
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef
|
|
2
|
-
import { AXBaseComponent, AXComponentOptionChanged
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent, AXComponentOptionChanged } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare const AXBaseAlertMixin: {
|
|
5
5
|
new (...args: any[]): {
|
|
6
|
-
colorChange: EventEmitter<AXStyleColorType>;
|
|
7
|
-
_color: AXStyleColorType;
|
|
8
|
-
color: AXStyleColorType;
|
|
9
|
-
lookChange: EventEmitter<import("../base").AXStyleLookType>;
|
|
6
|
+
colorChange: import("@angular/core").EventEmitter<import("../base").AXStyleColorType>;
|
|
7
|
+
_color: import("../base").AXStyleColorType;
|
|
8
|
+
color: import("../base").AXStyleColorType;
|
|
9
|
+
lookChange: import("@angular/core").EventEmitter<import("../base").AXStyleLookType>;
|
|
10
10
|
_look?: import("../base").AXStyleLookType;
|
|
11
11
|
look: import("../base").AXStyleLookType;
|
|
12
12
|
id: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./alert.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "../decorators/decorators.module";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../decorators/decorators.module";
|
|
6
5
|
export declare class AXAlertModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXAlertModule, [typeof i1.AXAlertComponent], [typeof i2.CommonModule, typeof i3.AXDecoratorModule], [typeof i1.AXAlertComponent]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXAlertModule>;
|
|
10
9
|
}
|
package/lib/alert/index.d.ts
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef } from "@angular/core";
|
|
2
|
+
import { AXFocusableComponent } from "./components.class";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXAutoFocusDirective implements AfterContentInit {
|
|
5
|
+
private el;
|
|
6
|
+
_host: AXFocusableComponent;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
constructor(el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
|
9
|
+
ngAfterContentInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, [null, { optional: true; host: true; self: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": "axAutoFocus"; }, {}, never>;
|
|
12
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./responsive.directive";
|
|
3
3
|
import * as i2 from "./infinite-scroll.directive";
|
|
4
|
+
import * as i3 from "./auto-focus.directive";
|
|
5
|
+
import * as i4 from "./hotkey.directive";
|
|
4
6
|
export declare class AXCommonModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
|
|
8
10
|
}
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { AXValueChangedEvent } from "./events.class";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class
|
|
4
|
+
export declare abstract class AXComponent {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXComponent, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXComponent>;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class AXClosbaleComponent extends AXComponent {
|
|
5
9
|
abstract close(): void;
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClosbaleComponent, never>;
|
|
7
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXClosbaleComponent>;
|
|
8
12
|
}
|
|
9
|
-
export declare abstract class AXSearchableComponent {
|
|
13
|
+
export declare abstract class AXSearchableComponent extends AXComponent {
|
|
10
14
|
abstract search(value: string): void;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchableComponent, never>;
|
|
12
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXSearchableComponent>;
|
|
13
17
|
}
|
|
14
|
-
export declare abstract class AXValuableComponent {
|
|
18
|
+
export declare abstract class AXValuableComponent extends AXComponent {
|
|
15
19
|
abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
16
20
|
abstract value: any;
|
|
17
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
|
|
18
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXValuableComponent>;
|
|
19
23
|
}
|
|
24
|
+
export declare abstract class AXFocusableComponent extends AXComponent {
|
|
25
|
+
abstract focus(): any;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusableComponent, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXFocusableComponent>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AXHotkeysService } from "@acorex/core";
|
|
2
|
+
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
3
|
+
import { AXComponent } from "./components.class";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type AXHotKeyAction = {
|
|
6
|
+
[key: string]: string | Function;
|
|
7
|
+
parmas?: any;
|
|
8
|
+
};
|
|
9
|
+
export declare class AXHotkeyDirective implements AfterViewInit {
|
|
10
|
+
private el;
|
|
11
|
+
_host: AXComponent;
|
|
12
|
+
private hs;
|
|
13
|
+
hotkey: string | AXHotKeyAction | AXHotKeyAction[];
|
|
14
|
+
private _subs;
|
|
15
|
+
constructor(el: ElementRef<HTMLElement>, _host: AXComponent, hs: AXHotkeysService);
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
private _addDefaultAction;
|
|
18
|
+
private _addHotKeyAction;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeyDirective, [null, { optional: true; host: true; self: true; }, null]>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXHotkeyDirective, "[hotkey]", never, { "hotkey": "hotkey"; }, {}, never>;
|
|
22
|
+
}
|
package/lib/base/index.d.ts
CHANGED
|
@@ -5,5 +5,7 @@ export * from './drawing.class';
|
|
|
5
5
|
export * from './styles.class';
|
|
6
6
|
export * from './responsive.directive';
|
|
7
7
|
export * from './infinite-scroll.directive';
|
|
8
|
+
export * from './auto-focus.directive';
|
|
9
|
+
export * from './hotkey.directive';
|
|
8
10
|
export * from './overlay.service';
|
|
9
11
|
export * from './common.module';
|
|
@@ -8,14 +8,6 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
8
8
|
* Defines the primary text to show inside the button.
|
|
9
9
|
*/
|
|
10
10
|
text: string;
|
|
11
|
-
/**
|
|
12
|
-
* Trigger click event by Enter Key
|
|
13
|
-
*/
|
|
14
|
-
submitBehavior: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Trigger click event by Esc Key
|
|
17
|
-
*/
|
|
18
|
-
cancelBehavior: boolean;
|
|
19
11
|
toggleableChange: EventEmitter<boolean>;
|
|
20
12
|
_toggleable?: boolean;
|
|
21
13
|
/**
|
|
@@ -28,8 +20,6 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
28
20
|
* Indicates if the Button is selected or not
|
|
29
21
|
*/
|
|
30
22
|
selected: boolean;
|
|
31
|
-
_onInternalViewInit(): void;
|
|
32
|
-
_onInternalDestroy(): void;
|
|
33
23
|
readonly _classes: {
|
|
34
24
|
'ax-button-icon': boolean;
|
|
35
25
|
'ax-state-disabled': any;
|
|
@@ -47,6 +37,8 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
47
37
|
_getHostElement<T = HTMLElement>(): T;
|
|
48
38
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
49
39
|
_onInternalInit(): void;
|
|
40
|
+
_onInternalViewInit(): void;
|
|
41
|
+
_onInternalDestroy(): void;
|
|
50
42
|
onInit(): void;
|
|
51
43
|
onRenderCssClass(): void;
|
|
52
44
|
onViewInit(): void;
|
|
@@ -309,16 +309,12 @@ export declare const AXBaseButtonMixin: {
|
|
|
309
309
|
new (...args: any[]): {
|
|
310
310
|
_text: string;
|
|
311
311
|
text: string;
|
|
312
|
-
submitBehavior: boolean;
|
|
313
|
-
cancelBehavior: boolean;
|
|
314
312
|
toggleableChange: import("@angular/core").EventEmitter<boolean>;
|
|
315
313
|
_toggleable?: boolean;
|
|
316
314
|
toggleable: boolean;
|
|
317
315
|
selectedChange: import("@angular/core").EventEmitter<boolean>;
|
|
318
316
|
_selected?: boolean;
|
|
319
317
|
selected: boolean;
|
|
320
|
-
_onInternalViewInit(): void;
|
|
321
|
-
_onInternalDestroy(): void;
|
|
322
318
|
readonly _classes: {
|
|
323
319
|
'ax-button-icon': boolean;
|
|
324
320
|
'ax-state-disabled': any;
|
|
@@ -336,6 +332,8 @@ export declare const AXBaseButtonMixin: {
|
|
|
336
332
|
_getHostElement<T = HTMLElement>(): T;
|
|
337
333
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
338
334
|
_onInternalInit(): void;
|
|
335
|
+
_onInternalViewInit(): void;
|
|
336
|
+
_onInternalDestroy(): void;
|
|
339
337
|
onInit(): void;
|
|
340
338
|
onRenderCssClass(): void;
|
|
341
339
|
onViewInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXStyleLookType, AXStyleColorType } from "../base";
|
|
1
|
+
import { AXStyleLookType, AXStyleColorType, AXHotKeyAction } from "../base";
|
|
2
2
|
export interface AXClickItemBase {
|
|
3
3
|
cssClass?: string;
|
|
4
4
|
color?: AXStyleColorType;
|
|
@@ -13,10 +13,11 @@ export interface AXClickItemBase {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
data?: any;
|
|
15
15
|
onClick?: (...args: any[]) => void;
|
|
16
|
+
hotkey?: string | AXHotKeyAction;
|
|
16
17
|
}
|
|
17
18
|
export interface AXButtonItem extends AXClickItemBase {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
type?: 'submit' | 'button' | 'cancel' | 'reset';
|
|
20
|
+
autofocus?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export interface AXMenuItem extends AXClickItemBase {
|
|
22
23
|
}
|
|
@@ -11,11 +11,10 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
11
11
|
* @ignore
|
|
12
12
|
*/
|
|
13
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
|
-
|
|
14
|
+
onViewInit(): void;
|
|
15
15
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
16
|
-
|
|
17
|
-
_emitOnBlurEvent(e: MouseEvent): void;
|
|
16
|
+
click(): void;
|
|
18
17
|
private get __hostClass();
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "size": "size"; "tabIndex": "tabIndex"; "color": "color"; "look": "look"; "text": "text"; "toggleable": "toggleable"; "selected": "selected"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"]>;
|
|
21
20
|
}
|
|
@@ -2,7 +2,8 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { AXBaseValueComponentMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
5
|
-
|
|
5
|
+
private _cdr;
|
|
6
|
+
constructor(elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
6
7
|
onInit(): void;
|
|
7
8
|
_onValueChanging(value: any): any;
|
|
8
9
|
_handleOnClickEvent(e: MouseEvent): boolean;
|
|
@@ -3,10 +3,10 @@ import { AXBaseComponent, AXClickEvent, AXValueChangedEvent } from '../base';
|
|
|
3
3
|
import { AXColorComponent } from './color-palette.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AXColorPaletteInputComponent extends AXBaseComponent {
|
|
6
|
-
_parent
|
|
6
|
+
_parent: AXColorComponent;
|
|
7
7
|
_rgba: any;
|
|
8
8
|
_hex: string;
|
|
9
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent
|
|
9
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent: AXColorComponent);
|
|
10
10
|
_handleChangeInputMode(e: AXClickEvent): void;
|
|
11
11
|
_handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
|
|
12
12
|
_handleHEXAValueChanged(e: AXValueChangedEvent<string>): void;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
2
|
import { AXBaseComponent } from '../base';
|
|
3
3
|
import { AXColorComponent } from './color-palette.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AXColorPalettePreviewComponent extends AXBaseComponent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent
|
|
9
|
-
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePreviewComponent, [null, null, { optional: true; }]>;
|
|
6
|
+
_parent: AXColorComponent;
|
|
7
|
+
private _zone;
|
|
8
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent: AXColorComponent, _zone: NgZone);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePreviewComponent, [null, null, { optional: true; }, null]>;
|
|
11
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePreviewComponent, "ax-color-palette-preview", never, {}, {}, never, never>;
|
|
12
11
|
}
|
|
@@ -3,13 +3,14 @@ import { AXBaseComponent } from '../base';
|
|
|
3
3
|
import { AXColorComponent } from './color-palette.class';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AXColorPaletteSwatchesComponent extends AXBaseComponent {
|
|
6
|
-
|
|
6
|
+
_parent?: AXColorComponent;
|
|
7
7
|
_selected: string;
|
|
8
8
|
colors: {
|
|
9
9
|
code: string;
|
|
10
10
|
}[];
|
|
11
11
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent?: AXColorComponent);
|
|
12
12
|
_handleClick(e: MouseEvent, color: any): void;
|
|
13
|
+
private _format;
|
|
13
14
|
private _defaultPalette;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteSwatchesComponent, [null, null, { optional: true; }]>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteSwatchesComponent, "ax-color-palette-swatches, ax-color-palette-favorite", never, { "colors": "colors"; }, {}, never, never>;
|
|
@@ -7,6 +7,12 @@ export declare abstract class AXColorComponent {
|
|
|
7
7
|
mode: AXColorMode;
|
|
8
8
|
}>;
|
|
9
9
|
abstract mode: AXColorMode;
|
|
10
|
+
abstract readonly: boolean;
|
|
11
|
+
abstract disabled: boolean;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorComponent, never>;
|
|
11
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXColorComponent>;
|
|
12
14
|
}
|
|
15
|
+
export declare abstract class AXColorPaletteChildComponent {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteChildComponent, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXColorPaletteChildComponent>;
|
|
18
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { AXColorMode } from '@acorex/core';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { AXBaseValueComponentMixin } from '../base';
|
|
5
|
+
import { AXColorPaletteChildComponent } from './color-palette.class';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AXColorPalleteComponent extends AXBaseValueComponentMixin {
|
|
7
8
|
_onInternalColorChanged$: Subject<any>;
|
|
9
|
+
_children: QueryList<AXColorPaletteChildComponent>;
|
|
8
10
|
modeChange: EventEmitter<AXColorMode>;
|
|
9
11
|
private _mode;
|
|
10
12
|
/**
|
|
@@ -12,7 +14,11 @@ export declare class AXColorPalleteComponent extends AXBaseValueComponentMixin {
|
|
|
12
14
|
*/
|
|
13
15
|
get mode(): AXColorMode;
|
|
14
16
|
set mode(v: AXColorMode);
|
|
17
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
18
|
+
ngAfterContentInit(): void;
|
|
19
|
+
onViewInit(): void;
|
|
15
20
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
21
|
+
private get __hostDisabled();
|
|
16
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalleteComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "mode": "mode"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "modeChange": "modeChange"; },
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "mode": "mode"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "modeChange": "modeChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"]>;
|
|
18
24
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXDataColumnCellTemplateDirective {
|
|
4
|
+
_contentTemplate: TemplateRef<any>;
|
|
5
|
+
get template(): TemplateRef<any>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataColumnCellTemplateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXDataColumnCellTemplateDirective, "ax-data-column-cell-template", never, {}, {}, ["_contentTemplate"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXDataColumnComponent {
|
|
4
|
+
_inputHeaderTemplate?: TemplateRef<any>;
|
|
5
|
+
_contentHeaderTemplate?: TemplateRef<any>;
|
|
6
|
+
_defaultTemplate?: TemplateRef<any>;
|
|
7
|
+
get headerTemplate(): TemplateRef<any>;
|
|
8
|
+
_inputCellTemplate?: TemplateRef<any>;
|
|
9
|
+
_contentCellTemplate?: TemplateRef<any>;
|
|
10
|
+
get cellTemplate(): TemplateRef<any>;
|
|
11
|
+
valueField: string;
|
|
12
|
+
caption: string;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataColumnComponent, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXDataColumnComponent, "ax-data-column", never, { "_inputHeaderTemplate": "headerTemplate"; "_inputCellTemplate": "cellTemplate"; "valueField": "valueField"; "caption": "caption"; }, {}, ["_contentHeaderTemplate", "_defaultTemplate", "_contentCellTemplate"]>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXDataListItems } from '../base';
|
|
3
|
+
import { AXDataColumnComponent } from './data-column.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXDataTableComponent extends AXBaseComponentMixin {
|
|
6
|
+
_columns: QueryList<AXDataColumnComponent>;
|
|
7
|
+
rowTemplate?: TemplateRef<any>;
|
|
8
|
+
pageSize: number;
|
|
9
|
+
private _currentPage;
|
|
10
|
+
private _isLoading;
|
|
11
|
+
private _loadedItems;
|
|
12
|
+
private _totalItems;
|
|
13
|
+
private _isLazy;
|
|
14
|
+
get totalCount(): number;
|
|
15
|
+
get isLazy(): boolean;
|
|
16
|
+
get loadedCount(): number;
|
|
17
|
+
private _items;
|
|
18
|
+
get items(): AXDataListItems;
|
|
19
|
+
set items(v: AXDataListItems);
|
|
20
|
+
get displayItems(): any[];
|
|
21
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
22
|
+
onViewInit(): void;
|
|
23
|
+
_fetchData(opts?: {
|
|
24
|
+
searchQuery?: string;
|
|
25
|
+
}): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableComponent, "ax-data-table", never, { "rowTemplate": "rowTemplate"; "items": "items"; }, {}, ["_columns"], never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./data-table.component";
|
|
3
|
+
import * as i2 from "./data-column.directive";
|
|
4
|
+
import * as i3 from "./data-column-cell-template.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class AXDataTableModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDataTableModule, [typeof i1.AXDataTableComponent, typeof i2.AXDataColumnComponent, typeof i3.AXDataColumnCellTemplateDirective], [typeof i4.CommonModule], [typeof i1.AXDataTableComponent, typeof i2.AXDataColumnComponent, typeof i3.AXDataColumnCellTemplateDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXDataTableModule>;
|
|
10
|
+
}
|
|
@@ -10,6 +10,7 @@ export declare class AXDialogComponent extends AXBaseComponentMixin {
|
|
|
10
10
|
close: () => void;
|
|
11
11
|
onInit(): void;
|
|
12
12
|
_handleButtonClick(button: AXButtonItem): void;
|
|
13
|
+
_hasAutoFocus(button: AXButtonItem): boolean;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDialogComponent, "ax-dialog", never, {}, {}, never, never>;
|
|
15
16
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./dialog.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/cdk/
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "../
|
|
8
|
-
import * as i7 from "../
|
|
4
|
+
import * as i3 from "../base/common.module";
|
|
5
|
+
import * as i4 from "@angular/cdk/drag-drop";
|
|
6
|
+
import * as i5 from "@angular/cdk/a11y";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
8
|
+
import * as i7 from "../page/page.module";
|
|
9
|
+
import * as i8 from "../decorators/decorators.module";
|
|
9
10
|
export declare class AXDialogModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDialogModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, [typeof i1.AXDialogComponent], [typeof i2.CommonModule, typeof i3.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDialogModule, [typeof i1.AXDialogComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.AXPageModule, typeof i8.AXDecoratorModule], [typeof i1.AXDialogComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDialogModule>;
|
|
13
14
|
}
|
|
@@ -29,7 +29,6 @@ export declare class AXDrawerComponent extends AXBaseComponentMixin {
|
|
|
29
29
|
open(): void;
|
|
30
30
|
private get __hostClass();
|
|
31
31
|
private _backdropElement;
|
|
32
|
-
private _loaded;
|
|
33
32
|
private _addBackdrop;
|
|
34
33
|
private _removeBackdrop;
|
|
35
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
@@ -3,10 +3,11 @@ import { AXBaseComponentMixin } from '../base';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXLabelComponent extends AXBaseComponentMixin {
|
|
5
5
|
class: any;
|
|
6
|
+
style: any;
|
|
6
7
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
7
8
|
private _target;
|
|
8
9
|
get target(): string;
|
|
9
10
|
set target(v: string);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, { "class": "class"; }, {}, never, ["*"]>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, { "class": "class"; "style": "style"; }, {}, never, ["*"]>;
|
|
12
13
|
}
|
|
@@ -30,9 +30,12 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
30
30
|
private cdr;
|
|
31
31
|
popover: AXPopoverComponent;
|
|
32
32
|
private _contentEmptyTemplate;
|
|
33
|
+
private _contentItemTemplate;
|
|
33
34
|
_searchBox: AXSearchBoxComponent;
|
|
34
35
|
_forceFocus: boolean;
|
|
36
|
+
_target: HTMLDivElement;
|
|
35
37
|
get emptyTemplate(): TemplateRef<any>;
|
|
38
|
+
get itemTemplate(): TemplateRef<any>;
|
|
36
39
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
37
40
|
onInit(): void;
|
|
38
41
|
ngAfterViewInit(): void;
|
|
@@ -45,5 +48,5 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
45
48
|
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
46
49
|
_getDirection(): "horizontal-mode" | "vertical-mode";
|
|
47
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "iconField": "iconField"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; "direction": "direction"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onMenuItemClick": "onMenuItemClick"; }, ["_contentEmptyTemplate", "_searchBox"], never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "iconField": "iconField"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; "direction": "direction"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onMenuItemClick": "onMenuItemClick"; }, ["_contentEmptyTemplate", "_contentItemTemplate", "_searchBox"], never>;
|
|
49
52
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXButtonItem } from '../button';
|
|
3
4
|
import { AXToastOptions } from './toast.class';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class AXToastComponent extends AXBaseComponentMixin {
|
|
|
17
18
|
*/
|
|
18
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
19
20
|
onInit(): void;
|
|
21
|
+
_handleButtonClick(button: AXButtonItem): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never>;
|
|
22
24
|
}
|
|
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class AXToastService {
|
|
6
6
|
private overlayService;
|
|
7
7
|
private parentInjector;
|
|
8
|
+
private readonly _defaults;
|
|
8
9
|
constructor(overlayService: Overlay, parentInjector: Injector);
|
|
9
10
|
private _activeList;
|
|
10
11
|
primary(content: string): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./lib/collapse";
|
|
|
17
17
|
export * from "./lib/color-picker";
|
|
18
18
|
export * from "./lib/datalist";
|
|
19
19
|
export * from "./lib/datepicker";
|
|
20
|
+
export * from "./lib/data-table";
|
|
20
21
|
export * from "./lib/decorators";
|
|
21
22
|
export * from "./lib/dialog";
|
|
22
23
|
export * from "./lib/drawer";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostListener } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import { BUTTON_OUTPUT } from '../base/mixin/button-mixin.class';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
6
|
-
constructor(elementRef, cdr) {
|
|
7
|
-
super(elementRef, cdr);
|
|
8
|
-
}
|
|
9
|
-
_handleOnClick(e) {
|
|
10
|
-
this._emitOnClickEvent(e);
|
|
11
|
-
}
|
|
12
|
-
_handleOnFocus(e) {
|
|
13
|
-
this._emitOnFocusEvent(e);
|
|
14
|
-
}
|
|
15
|
-
_handleOnBlur(e) {
|
|
16
|
-
this._emitOnBlurEvent(e);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
21
|
-
{{text}}
|
|
22
|
-
<ng-content select="ax-icon"></ng-content>
|
|
23
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: 'ax-alert-button',
|
|
28
|
-
template: `
|
|
29
|
-
{{text}}
|
|
30
|
-
<ng-content select="ax-icon"></ng-content>
|
|
31
|
-
`,
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
encapsulation: ViewEncapsulation.None,
|
|
34
|
-
outputs: [...BUTTON_OUTPUT],
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], icon: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], _handleOnClick: [{
|
|
41
|
-
type: HostListener,
|
|
42
|
-
args: ['click', ['$event']]
|
|
43
|
-
}], _handleOnFocus: [{
|
|
44
|
-
type: HostListener,
|
|
45
|
-
args: ['focus', ['$event']]
|
|
46
|
-
}], _handleOnBlur: [{
|
|
47
|
-
type: HostListener,
|
|
48
|
-
args: ['blur', ['$event']]
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvYWxlcnQvYWxlcnQtYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFpQyxLQUFLLEVBQWEsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JKLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBWWpFLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxvQkFBb0I7SUFTNUQsWUFBWSxVQUFzQixFQUFFLEdBQXNCO1FBQ3RELEtBQUssQ0FBQyxVQUFVLEVBQUUsR0FBRyxDQUFDLENBQUE7SUFDMUIsQ0FBQztJQUdELGNBQWMsQ0FBQyxDQUFDO1FBQ1osSUFBSSxDQUFDLGlCQUFpQixDQUFDLENBQUMsQ0FBQyxDQUFDO0lBQzlCLENBQUM7SUFHRCxjQUFjLENBQUMsQ0FBQztRQUNaLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUM5QixDQUFDO0lBR0QsYUFBYSxDQUFDLENBQUM7UUFDWCxJQUFJLENBQUMsZ0JBQWdCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDN0IsQ0FBQzs7bUhBMUJRLHNCQUFzQjt1R0FBdEIsc0JBQXNCLHFZQVJyQjs7O0tBR1Q7MkZBS1Esc0JBQXNCO2tCQVZsQyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxpQkFBaUI7b0JBQzNCLFFBQVEsRUFBRTs7O0tBR1Q7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07b0JBQy9DLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxPQUFPLEVBQUUsQ0FBQyxHQUFHLGFBQWEsQ0FBQztpQkFDOUI7aUlBSUcsSUFBSTtzQkFESCxLQUFLO2dCQUlOLElBQUk7c0JBREgsS0FBSztnQkFTTixjQUFjO3NCQURiLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQU1qQyxjQUFjO3NCQURiLFlBQVk7dUJBQUMsT0FBTyxFQUFFLENBQUMsUUFBUSxDQUFDO2dCQU1qQyxhQUFhO3NCQURaLFlBQVk7dUJBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIEVsZW1lbnRSZWYsIENoYW5nZURldGVjdG9yUmVmLCBJbnB1dCwgQXR0cmlidXRlLCBIb3N0TGlzdGVuZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgQVhCYXNlQ2xpY2thYmxlTWl4aW4gfSBmcm9tICcuLi9iYXNlJztcclxuaW1wb3J0IHsgQlVUVE9OX09VVFBVVCB9IGZyb20gJy4uL2Jhc2UvbWl4aW4vYnV0dG9uLW1peGluLmNsYXNzJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdheC1hbGVydC1idXR0b24nLFxyXG4gICAgdGVtcGxhdGU6IGBcclxuICAgICAgIHt7dGV4dH19XHJcbiAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1pY29uXCI+PC9uZy1jb250ZW50PlxyXG4gICAgYCxcclxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxyXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcclxuICAgIG91dHB1dHM6IFsuLi5CVVRUT05fT1VUUFVUXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYQWxlcnRCdXR0b25Db21wb25lbnQgZXh0ZW5kcyBBWEJhc2VDbGlja2FibGVNaXhpbiB7XHJcblxyXG4gICAgQElucHV0KClcclxuICAgIHRleHQ6IHN0cmluZztcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgaWNvbjogc3RyaW5nO1xyXG5cclxuXHJcbiAgICBjb25zdHJ1Y3RvcihlbGVtZW50UmVmOiBFbGVtZW50UmVmLCBjZHI6IENoYW5nZURldGVjdG9yUmVmKSB7XHJcbiAgICAgICAgc3VwZXIoZWxlbWVudFJlZiwgY2RyKVxyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2NsaWNrJywgWyckZXZlbnQnXSlcclxuICAgIF9oYW5kbGVPbkNsaWNrKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25DbGlja0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2ZvY3VzJywgWyckZXZlbnQnXSlcclxuICAgIF9oYW5kbGVPbkZvY3VzKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25Gb2N1c0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2JsdXInLCBbJyRldmVudCddKVxyXG4gICAgX2hhbmRsZU9uQmx1cihlKSB7XHJcbiAgICAgICAgdGhpcy5fZW1pdE9uQmx1ckV2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuXHJcbn1cclxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
5
|
-
text: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
-
_handleOnClick(e: any): void;
|
|
9
|
-
_handleOnFocus(e: any): void;
|
|
10
|
-
_handleOnBlur(e: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertButtonComponent, "ax-alert-button", never, { "text": "text"; "icon": "icon"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-icon"]>;
|
|
13
|
-
}
|