@acorex/components 5.2.0 → 5.3.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/alert/alert-button.component.mjs +2 -3
- package/esm2020/lib/alert/alert.component.mjs +33 -23
- package/esm2020/lib/alert/alert.module.mjs +6 -22
- package/esm2020/lib/alert/index.mjs +1 -5
- package/esm2020/lib/base/components.class.mjs +17 -0
- package/esm2020/lib/base/events.class.mjs +1 -1
- package/esm2020/lib/base/index.mjs +2 -1
- package/esm2020/lib/base/mixin/base-components.class.mjs +5 -5
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +7 -5
- package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +1 -1
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +2 -1
- package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +2 -2
- package/esm2020/lib/base/styles.class.mjs +1 -1
- package/esm2020/lib/button/button-group.component.mjs +1 -1
- package/esm2020/lib/button/button-item.class.mjs +1 -1
- package/esm2020/lib/button/button.module.mjs +4 -5
- package/esm2020/lib/calendar/calendar.component.mjs +61 -8
- package/esm2020/lib/calendar/calendar.module.mjs +5 -7
- package/esm2020/lib/calendar/index.mjs +1 -2
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
- package/esm2020/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/lib/datepicker/datepicker.component.mjs +11 -7
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -7
- package/esm2020/lib/decorators/close-button.component.mjs +40 -0
- package/esm2020/lib/decorators/decorators.module.mjs +37 -7
- package/esm2020/lib/decorators/footer.component.mjs +24 -0
- package/esm2020/lib/decorators/header.component.mjs +3 -5
- package/esm2020/lib/decorators/icon.component.mjs +28 -0
- package/esm2020/lib/decorators/index.mjs +5 -1
- package/esm2020/lib/decorators/prefix.component.mjs +3 -3
- package/esm2020/lib/decorators/suffix.component.mjs +3 -3
- package/esm2020/lib/decorators/title.component.mjs +24 -0
- package/esm2020/lib/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/drawer/drawer-container.component.mjs +17 -57
- package/esm2020/lib/drawer/drawer.component.mjs +97 -127
- package/esm2020/lib/drawer/drawer.module.mjs +3 -4
- package/esm2020/lib/drawer/index.mjs +1 -2
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown.module.mjs +5 -6
- package/esm2020/lib/menu/menu.component.mjs +77 -13
- package/esm2020/lib/menu/menu.module.mjs +4 -7
- package/esm2020/lib/number-box/number-box.component.mjs +3 -3
- package/esm2020/lib/number-box/number-box.module.mjs +4 -7
- package/esm2020/lib/page/base-page.class.mjs +3 -3
- package/esm2020/lib/page/index.mjs +1 -3
- package/esm2020/lib/page/page.module.mjs +4 -6
- package/esm2020/lib/password-box/password-box.component.mjs +3 -3
- package/esm2020/lib/password-box/password-box.module.mjs +4 -7
- package/esm2020/lib/picker/picker.component.mjs +265 -27
- package/esm2020/lib/picker/picker.model.class.mjs +2 -0
- package/esm2020/lib/popover/popover.component.mjs +6 -3
- package/esm2020/lib/popup/popup.component.mjs +13 -10
- package/esm2020/lib/popup/popup.module.mjs +4 -3
- package/esm2020/lib/searchbox/index.mjs +3 -0
- package/esm2020/lib/searchbox/searchbox.component.mjs +47 -0
- package/esm2020/lib/searchbox/searchbox.module.mjs +24 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +33 -26
- package/esm2020/lib/selectbox/selectbox.module.mjs +5 -9
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/textarea/textarea.component.mjs +2 -2
- package/esm2020/lib/textbox/textbox.component.mjs +3 -3
- package/esm2020/lib/textbox/textbox.module.mjs +5 -9
- package/esm2020/lib/time-box/time-box.component.mjs +2 -2
- package/esm2020/lib/toast/toast.class.mjs +1 -1
- package/esm2020/lib/toast/toast.component.mjs +14 -12
- package/esm2020/lib/toast/toast.module.mjs +5 -3
- package/esm2020/lib/toast/toast.service.mjs +37 -9
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/acorex-components.mjs +989 -727
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +980 -729
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +7 -6
- package/lib/alert/alert.module.d.ts +4 -8
- package/lib/alert/index.d.ts +0 -4
- package/lib/badge/badge.component.d.ts +3 -3
- package/lib/base/components.class.d.ts +11 -0
- package/lib/base/index.d.ts +1 -0
- package/lib/base/mixin/base-components.class.d.ts +2 -2
- package/lib/base/mixin/base-menu-mixin.class.d.ts +2 -1
- package/lib/base/mixin/button-mixin.class.d.ts +0 -3
- package/lib/base/mixin/color-look-mixing.class.d.ts +4 -4
- package/lib/base/mixin/mixin.class.d.ts +8 -7
- package/lib/base/mixin/selection-component.class.d.ts +3 -0
- package/lib/base/mixin/textbox-mixin.class.d.ts +3 -3
- package/lib/base/styles.class.d.ts +1 -1
- package/lib/button/button-group.component.d.ts +4 -4
- package/lib/button/button-item.class.d.ts +2 -2
- package/lib/button/button.module.d.ts +2 -3
- package/lib/calendar/calendar.component.d.ts +10 -1
- package/lib/calendar/calendar.module.d.ts +6 -8
- package/lib/calendar/index.d.ts +0 -1
- package/lib/checkbox/checkbox.module.d.ts +1 -1
- package/lib/datepicker/datepicker.component.d.ts +1 -1
- package/lib/datepicker/datepicker.module.d.ts +3 -4
- package/lib/decorators/close-button.component.d.ts +13 -0
- package/lib/decorators/decorators.module.d.ts +10 -6
- package/lib/decorators/footer.component.d.ts +8 -0
- package/lib/decorators/header.component.d.ts +1 -1
- package/lib/decorators/icon.component.d.ts +10 -0
- package/lib/decorators/index.d.ts +4 -0
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/decorators/title.component.d.ts +9 -0
- package/lib/dialog/dialog.module.d.ts +1 -1
- package/lib/drawer/drawer-container.component.d.ts +5 -8
- package/lib/drawer/drawer.component.d.ts +23 -19
- package/lib/drawer/drawer.module.d.ts +2 -3
- package/lib/drawer/index.d.ts +0 -1
- package/lib/dropdown/dropdown.module.d.ts +3 -4
- package/lib/menu/menu.component.d.ts +10 -6
- package/lib/menu/menu.module.d.ts +2 -2
- package/lib/number-box/number-box.component.d.ts +1 -1
- package/lib/number-box/number-box.module.d.ts +2 -3
- package/lib/page/base-page.class.d.ts +2 -2
- package/lib/page/index.d.ts +0 -2
- package/lib/page/page.module.d.ts +1 -3
- package/lib/password-box/password-box.component.d.ts +1 -1
- package/lib/password-box/password-box.module.d.ts +1 -2
- package/lib/picker/picker.component.d.ts +55 -18
- package/lib/picker/picker.model.class.d.ts +10 -0
- package/lib/popover/popover.component.d.ts +2 -1
- package/lib/popup/popup.module.d.ts +2 -1
- package/lib/searchbox/index.d.ts +2 -0
- package/lib/searchbox/searchbox.component.d.ts +16 -0
- package/lib/searchbox/searchbox.module.d.ts +11 -0
- package/lib/selectbox/selectbox.component.d.ts +4 -14
- package/lib/selectbox/selectbox.module.d.ts +6 -7
- package/lib/tabs/tabs.module.d.ts +1 -1
- package/lib/textarea/textarea.component.d.ts +1 -1
- package/lib/textbox/textbox.component.d.ts +1 -1
- package/lib/textbox/textbox.module.d.ts +2 -3
- package/lib/time-box/time-box.component.d.ts +1 -1
- package/lib/toast/toast.class.d.ts +4 -3
- package/lib/toast/toast.component.d.ts +0 -2
- package/lib/toast/toast.module.d.ts +3 -1
- package/lib/toast/toast.service.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2020/lib/alert/alert-content.component.mjs +0 -21
- package/esm2020/lib/alert/alert-footer.component.mjs +0 -27
- package/esm2020/lib/alert/alert-suffix.component.mjs +0 -27
- package/esm2020/lib/alert/alert-title.component.mjs +0 -23
- package/esm2020/lib/calendar/inline-calendar.component.mjs +0 -39
- package/esm2020/lib/drawer/drawer-content.component.mjs +0 -27
- package/esm2020/lib/icon/icon.component.mjs +0 -28
- package/esm2020/lib/icon/icon.module.mjs +0 -21
- package/esm2020/lib/icon/index.mjs +0 -3
- package/esm2020/lib/page/page-footer.component.mjs +0 -28
- package/esm2020/lib/page/page-header.component.mjs +0 -28
- package/lib/alert/alert-content.component.d.ts +0 -5
- package/lib/alert/alert-footer.component.d.ts +0 -5
- package/lib/alert/alert-suffix.component.d.ts +0 -5
- package/lib/alert/alert-title.component.d.ts +0 -5
- package/lib/calendar/inline-calendar.component.d.ts +0 -14
- package/lib/drawer/drawer-content.component.d.ts +0 -8
- package/lib/icon/icon.component.d.ts +0 -10
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/icon/index.d.ts +0 -2
- package/lib/page/page-footer.component.d.ts +0 -7
- package/lib/page/page-header.component.d.ts +0 -7
|
@@ -3,11 +3,10 @@ import * as i1 from "./dropdown-panel.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../button/button.module";
|
|
5
5
|
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
-
import * as i5 from "../
|
|
7
|
-
import * as i6 from "../
|
|
8
|
-
import * as i7 from "../popover/popover.module";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "../popover/popover.module";
|
|
9
8
|
export declare class AXDropdownModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.AXDropdownPanelComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.OverlayModule, typeof i5.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.AXDropdownPanelComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.OverlayModule, typeof i5.AXDecoratorModule, typeof i6.AXPopoverModule], [typeof i1.AXDropdownPanelComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDropdownModule>;
|
|
13
12
|
}
|
|
@@ -8,8 +8,8 @@ export interface AXMenuItems {
|
|
|
8
8
|
tooltip?: string;
|
|
9
9
|
parentId?: string;
|
|
10
10
|
icon?: string;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
visibleField?: boolean;
|
|
12
|
+
disableField?: boolean;
|
|
13
13
|
selected?: boolean;
|
|
14
14
|
data?: any;
|
|
15
15
|
style?: string;
|
|
@@ -31,9 +31,13 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
31
31
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
32
32
|
onInit(): void;
|
|
33
33
|
ngAfterViewInit(): void;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
_onMenuClick(e: MouseEvent, item: any): void;
|
|
35
|
+
_notActive(items: any[]): void;
|
|
36
|
+
_closeChild(items: any[]): void;
|
|
37
|
+
_onMouseEnter(e: MouseEvent, item: any): void;
|
|
38
|
+
_onMouseLeave(e: MouseEvent, item: any): void;
|
|
39
|
+
_setParentNode(item: any, parentId: any): void;
|
|
40
|
+
_getDirection(): "horizontal-mode" | "vertical-mode";
|
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "icon": "icon"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "icon": "icon"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visibleField": "visibleField"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; "direction": "direction"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, ["_contentEmptyTemplate"], never>;
|
|
39
43
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./menu.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../
|
|
4
|
+
import * as i3 from "../decorators/decorators.module";
|
|
5
5
|
import * as i4 from "../loading/loading.module";
|
|
6
6
|
import * as i5 from "@acorex/core";
|
|
7
7
|
import * as i6 from "../popover/popover.module";
|
|
8
8
|
export declare class AXMenuModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.AXDecoratorModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof i6.AXPopoverModule], [typeof i1.AXMenuComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMenuModule>;
|
|
12
12
|
}
|
|
@@ -71,5 +71,5 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
71
71
|
decimalStepUp(): void;
|
|
72
72
|
decimalStepDown(): void;
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
75
75
|
}
|
|
@@ -4,10 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../button/button.module";
|
|
6
6
|
import * as i5 from "../decorators/decorators.module";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "angular-imask";
|
|
7
|
+
import * as i6 from "angular-imask";
|
|
9
8
|
export declare class AXNumberBoxModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof i6.IMaskModule], [typeof i1.AXNumberBoxComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxModule>;
|
|
13
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { AXEvent } from '../base/events.class';
|
|
3
|
-
import { AXPageFooterComponent } from './page-footer.component';
|
|
4
3
|
import { AXBaseComponentMixin } from '../base';
|
|
4
|
+
import { AXDecoratorFooterComponent } from '../decorators';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const TAB_META_KEY = "__meta__";
|
|
7
7
|
export declare class AXPageCloseEvent extends AXEvent {
|
|
@@ -29,7 +29,7 @@ export declare class AXBasePageComponent extends AXBaseComponentMixin {
|
|
|
29
29
|
*/
|
|
30
30
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
31
31
|
private pageContainer;
|
|
32
|
-
footer:
|
|
32
|
+
footer: AXDecoratorFooterComponent;
|
|
33
33
|
isLoadingChange: EventEmitter<boolean>;
|
|
34
34
|
private _isLoading;
|
|
35
35
|
get isLoading(): boolean;
|
package/lib/page/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./page-footer.component";
|
|
3
|
-
import * as i2 from "./page-header.component";
|
|
4
2
|
export declare class AXPageModule {
|
|
5
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPageModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPageModule,
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPageModule, never, never, never>;
|
|
7
5
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPageModule>;
|
|
8
6
|
}
|
|
@@ -19,5 +19,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
19
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
20
20
|
toggleType(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
23
23
|
}
|
|
@@ -4,9 +4,8 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../button/button.module";
|
|
6
6
|
import * as i5 from "../decorators/decorators.module";
|
|
7
|
-
import * as i6 from "../icon/icon.module";
|
|
8
7
|
export declare class AXPasswordBoxModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPasswordBoxModule, [typeof i1.AXPasswordBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPasswordBoxModule, [typeof i1.AXPasswordBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXDecoratorModule], [typeof i1.AXPasswordBoxComponent]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPasswordBoxModule>;
|
|
12
11
|
}
|
|
@@ -1,25 +1,62 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXBaseValueComponentMixin } from '../base';
|
|
3
|
+
import { PickerItem } from './picker.model.class';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
active?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class AXPickerComponent extends AXBaseComponent {
|
|
5
|
+
export declare class AXPickerComponent extends AXBaseValueComponentMixin {
|
|
6
|
+
private cdr;
|
|
7
|
+
pickerGroupLayer: any;
|
|
8
|
+
pickerHandleLayer: ElementRef<HTMLDivElement>;
|
|
11
9
|
itemTemplate: TemplateRef<any>;
|
|
12
|
-
width: string;
|
|
13
|
-
height: string;
|
|
14
|
-
itemHeight: string;
|
|
15
10
|
items: PickerItem[];
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
OnChange: EventEmitter<any>;
|
|
12
|
+
currentIndexList: number[];
|
|
13
|
+
lastCurrentIndexList: number[];
|
|
14
|
+
groupsRectList: any[];
|
|
15
|
+
touchOrMouse: {
|
|
16
|
+
isTouchable: boolean;
|
|
17
|
+
isMouseDown: boolean;
|
|
18
|
+
};
|
|
19
|
+
draggingInfo: {
|
|
20
|
+
isDragging: boolean;
|
|
21
|
+
groupIndex: any;
|
|
22
|
+
startPageY: any;
|
|
23
|
+
};
|
|
24
|
+
itemPerDegree: number;
|
|
25
|
+
safeDoTimeoutId: any;
|
|
20
26
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
setGroupData(gIndex: any, groupData: any): void;
|
|
31
|
+
getInitialCurrentIndexList(): number[];
|
|
32
|
+
safeGetRectsBindEvents(): void;
|
|
33
|
+
getGroupsRectList(): void;
|
|
34
|
+
eventsRegister(): void;
|
|
35
|
+
addEventsForElement(el: any): void;
|
|
36
|
+
triggerMiddleLayerGroupClick(gIndex: any): void;
|
|
37
|
+
triggerAboveLayerClick(ev: any, gIndex: any): void;
|
|
38
|
+
triggerMiddleLayerClick(ev: any, gIndex: any): void;
|
|
39
|
+
triggerBelowLayerClick(ev: any, gIndex: any): void;
|
|
40
|
+
getTouchInfo(ev: any): any;
|
|
41
|
+
getGroupIndexBelongsEvent(ev: any): number;
|
|
42
|
+
handleEventClick(ev: any): void;
|
|
43
|
+
handleStart(ev: any): void;
|
|
44
|
+
handleMove(ev: any): void;
|
|
45
|
+
handleEnd(ev: any): void;
|
|
46
|
+
handleCancel(ev: any): void;
|
|
47
|
+
setCurrentIndexOnMove(ev: any): void;
|
|
48
|
+
correctionAfterDragging(ev: any): void;
|
|
49
|
+
correctionCurrentIndex(ev: any, gIndex: any): void;
|
|
50
|
+
isCurrentItem(gIndex: any, iIndex: any): boolean;
|
|
51
|
+
getCurrentIndexList(): number[];
|
|
52
|
+
getGroupClass(gIndex: any): string[];
|
|
53
|
+
getItemClass(gIndex: any, iIndex: any, isDivider?: boolean): any[];
|
|
54
|
+
getItemStyle(gIndex: any, iIndex: any): {
|
|
55
|
+
transform: string;
|
|
56
|
+
opacity: string;
|
|
57
|
+
} | {
|
|
58
|
+
transform: string;
|
|
59
|
+
};
|
|
23
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, { "
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "items": "items"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "OnChange": "OnChange"; }, ["itemTemplate"], never>;
|
|
25
62
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface PickerItem {
|
|
2
|
+
textAlign?: 'start' | 'center' | 'end' | 'justify' | 'left' | 'right' | 'nowrap' | 'wrap';
|
|
3
|
+
weight?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
4
|
+
className?: string;
|
|
5
|
+
onClick?: Function;
|
|
6
|
+
currentIndex?: number;
|
|
7
|
+
list?: Array<any>;
|
|
8
|
+
divider?: boolean;
|
|
9
|
+
text?: string;
|
|
10
|
+
}
|
|
@@ -25,6 +25,7 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
25
25
|
closeTrigger: 'manual' | 'clickout' | 'mouseout';
|
|
26
26
|
hasBackdrop: boolean;
|
|
27
27
|
backdropClass: string;
|
|
28
|
+
adaptivityEnabled: boolean;
|
|
28
29
|
private _mousePos;
|
|
29
30
|
private _isScrollAttached;
|
|
30
31
|
onOpened: EventEmitter<AXEvent>;
|
|
@@ -45,5 +46,5 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
45
46
|
private _addSub;
|
|
46
47
|
updatePosition(): void;
|
|
47
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": "target"; "position": "position"; "openTrigger": "openTrigger"; "closeTrigger": "closeTrigger"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"]>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": "target"; "position": "position"; "openTrigger": "openTrigger"; "closeTrigger": "closeTrigger"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; "adaptivityEnabled": "adaptivityEnabled"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"]>;
|
|
49
50
|
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@angular/cdk/drag-drop";
|
|
|
5
5
|
import * as i4 from "@angular/cdk/a11y";
|
|
6
6
|
import * as i5 from "../button/button.module";
|
|
7
7
|
import * as i6 from "@angular/cdk/portal";
|
|
8
|
+
import * as i7 from "../decorators/decorators.module";
|
|
8
9
|
export declare class AXPopupModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopupModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, [typeof i1.AXPopupComponent], [typeof i2.CommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.PortalModule], [typeof i1.AXPopupComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPopupModule, [typeof i1.AXPopupComponent], [typeof i2.CommonModule, typeof i3.DragDropModule, typeof i4.A11yModule, typeof i5.AXButtonModule, typeof i6.PortalModule, typeof i7.AXDecoratorModule], [typeof i1.AXPopupComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPopupModule>;
|
|
12
13
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXSearchableComponent, AXValueChangedEvent } from '../base';
|
|
3
|
+
import { AXTextBoxComponent } from '../textbox';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXSearchBoxComponent extends AXBaseComponentMixin {
|
|
6
|
+
private _parent?;
|
|
7
|
+
_textbox: AXTextBoxComponent;
|
|
8
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _parent?: AXSearchableComponent);
|
|
9
|
+
placeholder: string;
|
|
10
|
+
debounceTime: number;
|
|
11
|
+
searchExp: string;
|
|
12
|
+
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
13
|
+
focus(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxComponent, [null, null, { optional: true; }]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSearchBoxComponent, "ax-search-box", never, { "placeholder": "placeholder"; "debounceTime": "debounceTime"; "searchExp": "searchExp"; }, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./searchbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@acorex/core";
|
|
5
|
+
import * as i4 from "../decorators/decorators.module";
|
|
6
|
+
import * as i5 from "../textbox/textbox.module";
|
|
7
|
+
export declare class AXSearchBoxModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSearchBoxModule, [typeof i1.AXSearchBoxComponent], [typeof i2.CommonModule, typeof i3.AXTranslationModule, typeof i4.AXDecoratorModule, typeof i5.AXTextBoxModule], [typeof i1.AXSearchBoxComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXSearchBoxModule>;
|
|
11
|
+
}
|
|
@@ -2,6 +2,7 @@ import { AXPlatform } from '@acorex/core';
|
|
|
2
2
|
import { ChangeDetectorRef, ElementRef, NgZone, TemplateRef } from '@angular/core';
|
|
3
3
|
import { AXBaseSelectionDropdownMixin, AXClickEvent, AXValueChangedEvent } from '../base';
|
|
4
4
|
import { AXPopoverComponent } from '../popover';
|
|
5
|
+
import { AXSearchBoxComponent } from '../searchbox';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
@@ -14,6 +15,7 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
14
15
|
private _zone;
|
|
15
16
|
private _platform;
|
|
16
17
|
popover: AXPopoverComponent;
|
|
18
|
+
_searchBox: AXSearchBoxComponent;
|
|
17
19
|
_target: HTMLDivElement;
|
|
18
20
|
_popoverTitle: string;
|
|
19
21
|
_popoverWidth: number;
|
|
@@ -21,24 +23,11 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
21
23
|
* Defines the clearButton.
|
|
22
24
|
*/
|
|
23
25
|
clearButton: boolean;
|
|
24
|
-
private _searchSettings;
|
|
25
|
-
/**
|
|
26
|
-
* Defines the search.
|
|
27
|
-
*/
|
|
28
|
-
get searchSettings(): {
|
|
29
|
-
enabled?: boolean;
|
|
30
|
-
expr?: string;
|
|
31
|
-
};
|
|
32
|
-
set searchSettings(v: {
|
|
33
|
-
enabled?: boolean;
|
|
34
|
-
expr?: string;
|
|
35
|
-
});
|
|
36
26
|
/**
|
|
37
27
|
* Defines the checkbox.
|
|
38
28
|
*/
|
|
39
29
|
checkbox: boolean;
|
|
40
30
|
private listContainer;
|
|
41
|
-
private _searchBox;
|
|
42
31
|
private _contentEmptyTemplate;
|
|
43
32
|
get emptyTemplate(): TemplateRef<any>;
|
|
44
33
|
_isMobile: boolean;
|
|
@@ -68,7 +57,8 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
68
57
|
private _focusItemElement;
|
|
69
58
|
private _selectedItemByNav;
|
|
70
59
|
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
60
|
+
search(exp: string): void;
|
|
71
61
|
_fetchData(): void;
|
|
72
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"]>;
|
|
74
64
|
}
|
|
@@ -7,14 +7,13 @@ import * as i5 from "../checkbox/checkbox.module";
|
|
|
7
7
|
import * as i6 from "../badge/badge.module";
|
|
8
8
|
import * as i7 from "../decorators/decorators.module";
|
|
9
9
|
import * as i8 from "@acorex/core";
|
|
10
|
-
import * as i9 from "../
|
|
11
|
-
import * as i10 from "../
|
|
12
|
-
import * as i11 from "../
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "../textbox/textbox.module";
|
|
10
|
+
import * as i9 from "../popover/popover.module";
|
|
11
|
+
import * as i10 from "../button/button.module";
|
|
12
|
+
import * as i11 from "../loading/loading.module";
|
|
13
|
+
import * as i12 from "@angular/cdk/a11y";
|
|
14
|
+
import * as i13 from "../textbox/textbox.module";
|
|
16
15
|
export declare class AXSelectBoxModule {
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXDecoratorModule, typeof i8.AXTranslationModule, typeof i9.AXPopoverModule, typeof i10.AXButtonModule, typeof i11.AXLoadingModule, typeof i12.A11yModule, typeof i13.AXTextBoxModule], [typeof i1.AXSelectBoxComponent]>;
|
|
19
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectBoxModule>;
|
|
20
19
|
}
|
|
@@ -7,6 +7,6 @@ import * as i5 from "@angular/cdk/portal";
|
|
|
7
7
|
import * as i6 from "../decorators/decorators.module";
|
|
8
8
|
export declare class AXTabsModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTabsModule, [typeof i1.AXTabsComponent, typeof i2.AXTabItemComponent, typeof i3.AXTabContentDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTabsModule, [typeof i1.AXTabsComponent, typeof i2.AXTabItemComponent, typeof i3.AXTabContentDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXDecoratorModule], [typeof i1.AXTabsComponent, typeof i2.AXTabItemComponent, typeof i3.AXTabContentDirective]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTabsModule>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
|
|
|
8
8
|
*/
|
|
9
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"]>;
|
|
12
12
|
}
|
|
@@ -12,5 +12,5 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
16
16
|
}
|
|
@@ -4,10 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../button/button.module";
|
|
6
6
|
import * as i5 from "../decorators/decorators.module";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "ngx-mask";
|
|
7
|
+
import * as i6 from "ngx-mask";
|
|
9
8
|
export declare class AXTextBoxModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXDecoratorModule, typeof i6.NgxMaskModule], [typeof i1.AXTextBoxComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTextBoxModule>;
|
|
13
12
|
}
|
|
@@ -44,5 +44,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
44
44
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
45
45
|
private _highlightPart;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
48
48
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { AXLocation, AXStyleColorType } from "../base/styles.class";
|
|
1
|
+
import { AXLocation, AXStyleColorType, AXStyleLookType } from "../base/styles.class";
|
|
2
2
|
import { AXButtonItem } from "../button";
|
|
3
3
|
export interface AXToastOptions {
|
|
4
4
|
timeOut?: number;
|
|
5
|
-
title
|
|
5
|
+
title?: string;
|
|
6
6
|
content?: string;
|
|
7
7
|
closeable?: boolean;
|
|
8
8
|
location?: AXLocation;
|
|
9
|
-
|
|
9
|
+
color: AXStyleColorType;
|
|
10
|
+
look?: AXStyleLookType;
|
|
10
11
|
buttons?: AXButtonItem[];
|
|
11
12
|
}
|
|
12
13
|
export interface AXToastRef {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponentMixin } from '../base';
|
|
3
|
-
import { AXButtonItem } from '../button';
|
|
4
3
|
import { AXToastOptions } from './toast.class';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
/**
|
|
@@ -18,7 +17,6 @@ export declare class AXToastComponent extends AXBaseComponentMixin {
|
|
|
18
17
|
*/
|
|
19
18
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
20
19
|
onInit(): void;
|
|
21
|
-
_handleButtonClick(button: AXButtonItem): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
|
|
23
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never>;
|
|
24
22
|
}
|
|
@@ -2,8 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./toast.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "../decorators/decorators.module";
|
|
6
|
+
import * as i5 from "../alert/alert.module";
|
|
5
7
|
export declare class AXToastModule {
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule], [typeof i1.AXToastComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.AXAlertModule], [typeof i1.AXToastComponent]>;
|
|
8
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXToastModule>;
|
|
9
11
|
}
|
|
@@ -7,10 +7,14 @@ export declare class AXToastService {
|
|
|
7
7
|
private parentInjector;
|
|
8
8
|
constructor(overlayService: Overlay, parentInjector: Injector);
|
|
9
9
|
private _activeList;
|
|
10
|
+
primary(content: string): void;
|
|
11
|
+
secondary(content: string): void;
|
|
10
12
|
info(content: string): void;
|
|
11
13
|
success(content: string): void;
|
|
12
14
|
warning(content: string): void;
|
|
13
15
|
danger(content: string): void;
|
|
16
|
+
light(content: string): void;
|
|
17
|
+
dark(content: string): void;
|
|
14
18
|
show(options: AXToastOptions): AXToastRef;
|
|
15
19
|
private getPosition;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastService, never>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export * from "./lib/dialog";
|
|
|
20
20
|
export * from "./lib/drawer";
|
|
21
21
|
export * from "./lib/dropdown";
|
|
22
22
|
export * from "./lib/form";
|
|
23
|
-
export * from "./lib/icon";
|
|
24
23
|
export * from "./lib/input-mask";
|
|
25
24
|
export * from "./lib/label";
|
|
26
25
|
export * from "./lib/loading";
|
|
@@ -42,6 +41,7 @@ export * from "./lib/switch";
|
|
|
42
41
|
export * from "./lib/tabs";
|
|
43
42
|
export * from "./lib/textarea";
|
|
44
43
|
export * from "./lib/textbox";
|
|
44
|
+
export * from "./lib/searchbox";
|
|
45
45
|
export * from "./lib/time-box";
|
|
46
46
|
export * from "./lib/toast";
|
|
47
47
|
export * from "./lib/tooltip";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AXAlertContentComponent {
|
|
4
|
-
}
|
|
5
|
-
AXAlertContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
AXAlertContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertContentComponent, selector: "ax-alert-content", host: { classAttribute: "ax-alert-content" }, ngImport: i0, template: `<ng-content>
|
|
7
|
-
</ng-content>
|
|
8
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertContentComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{
|
|
12
|
-
selector: 'ax-alert-content',
|
|
13
|
-
template: `<ng-content>
|
|
14
|
-
</ng-content>
|
|
15
|
-
`,
|
|
16
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
-
encapsulation: ViewEncapsulation.None,
|
|
18
|
-
host: { class: 'ax-alert-content' }
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9zcmMvbGliL2FsZXJ0L2FsZXJ0LWNvbnRlbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsdUJBQXVCLEVBQW1ELE1BQU0sZUFBZSxDQUFDOztBQVl2SSxNQUFNLE9BQU8sdUJBQXVCOztvSEFBdkIsdUJBQXVCO3dHQUF2Qix1QkFBdUIsc0dBUDVCOztLQUVIOzJGQUtRLHVCQUF1QjtrQkFWbkMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsa0JBQWtCO29CQUM1QixRQUFRLEVBQ0o7O0tBRUg7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07b0JBQy9DLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxJQUFJLEVBQUUsRUFBRSxLQUFLLEVBQUUsa0JBQWtCLEVBQUU7aUJBQ3RDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIEVsZW1lbnRSZWYsIENoYW5nZURldGVjdG9yUmVmLCBJbnB1dCwgQXR0cmlidXRlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICAgIHNlbGVjdG9yOiAnYXgtYWxlcnQtY29udGVudCcsXHJcbiAgICB0ZW1wbGF0ZTpcclxuICAgICAgICBgPG5nLWNvbnRlbnQ+XHJcbiAgICAgICAgPC9uZy1jb250ZW50PlxyXG4gICAgYCxcclxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxyXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcclxuICAgIGhvc3Q6IHsgY2xhc3M6ICdheC1hbGVydC1jb250ZW50JyB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBWEFsZXJ0Q29udGVudENvbXBvbmVudCB7XHJcbn1cclxuIl19
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AXAlertFooterComponent {
|
|
4
|
-
}
|
|
5
|
-
AXAlertFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
AXAlertFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXAlertFooterComponent, selector: "ax-alert-footer", host: { classAttribute: "ax-alert-footer" }, ngImport: i0, template: `
|
|
7
|
-
<div class="ax-alert-buttons">
|
|
8
|
-
<ng-content select="ax-alert-button">
|
|
9
|
-
</ng-content>
|
|
10
|
-
</div>
|
|
11
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXAlertFooterComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: 'ax-alert-footer',
|
|
16
|
-
template: `
|
|
17
|
-
<div class="ax-alert-buttons">
|
|
18
|
-
<ng-content select="ax-alert-button">
|
|
19
|
-
</ng-content>
|
|
20
|
-
</div>
|
|
21
|
-
`,
|
|
22
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
-
encapsulation: ViewEncapsulation.None,
|
|
24
|
-
host: { class: 'ax-alert-footer' }
|
|
25
|
-
}]
|
|
26
|
-
}] });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvYWxlcnQvYWxlcnQtZm9vdGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWN0RixNQUFNLE9BQU8sc0JBQXNCOzttSEFBdEIsc0JBQXNCO3VHQUF0QixzQkFBc0Isb0dBVnJCOzs7OztLQUtUOzJGQUtRLHNCQUFzQjtrQkFabEMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsaUJBQWlCO29CQUMzQixRQUFRLEVBQUU7Ozs7O0tBS1Q7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07b0JBQy9DLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxJQUFJLEVBQUUsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUU7aUJBQ3JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbiwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdheC1hbGVydC1mb290ZXInLFxyXG4gICAgdGVtcGxhdGU6IGBcclxuICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtYWxlcnQtYnV0dG9uc1wiPlxyXG4gICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1hbGVydC1idXR0b25cIj5cclxuICAgICAgICAgICAgPC9uZy1jb250ZW50PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgYCxcclxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxyXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcclxuICAgIGhvc3Q6IHsgY2xhc3M6ICdheC1hbGVydC1mb290ZXInIH1cclxufSlcclxuZXhwb3J0IGNsYXNzIEFYQWxlcnRGb290ZXJDb21wb25lbnQgIHtcclxufVxyXG4iXX0=
|