@acorex/components 5.0.36 → 5.0.40
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 +3 -3
- package/esm2020/lib/alert/alert-content.component.mjs +3 -3
- package/esm2020/lib/alert/alert-footer.component.mjs +3 -3
- package/esm2020/lib/alert/alert-suffix.component.mjs +3 -3
- package/esm2020/lib/alert/alert-title.component.mjs +3 -3
- package/esm2020/lib/alert/alert.component.mjs +3 -3
- package/esm2020/lib/alert/alert.module.mjs +4 -4
- package/esm2020/lib/avatar/avatar.component.mjs +3 -3
- package/esm2020/lib/avatar/avatar.module.mjs +4 -4
- package/esm2020/lib/badge/badge.component.mjs +3 -3
- package/esm2020/lib/badge/badge.module.mjs +4 -4
- package/esm2020/lib/base/common.module.mjs +4 -4
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +6 -6
- package/esm2020/lib/base/mixin/base-components.class.mjs +3 -3
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +16 -5
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +40 -9
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +21 -10
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/selection-component.class.mjs +16 -2
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +26 -14
- package/esm2020/lib/base/overlay.service.mjs +3 -3
- package/esm2020/lib/base/responsive.directive.mjs +3 -3
- package/esm2020/lib/button/button-group.component.mjs +3 -3
- package/esm2020/lib/button/button-item.component.mjs +5 -6
- package/esm2020/lib/button/button.component.mjs +3 -3
- package/esm2020/lib/button/button.module.mjs +4 -4
- package/esm2020/lib/calendar/calendar.class.mjs +3 -3
- package/esm2020/lib/calendar/calendar.component.mjs +8 -4
- package/esm2020/lib/calendar/calendar.module.mjs +4 -4
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-item.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel-pager.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel.class.mjs +3 -3
- package/esm2020/lib/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/carousel/carousel.module.mjs +4 -4
- package/esm2020/lib/checkbox/checkbox.component.mjs +7 -20
- package/esm2020/lib/checkbox/checkbox.module.mjs +7 -6
- package/esm2020/lib/datalist/datalist.component.mjs +3 -3
- package/esm2020/lib/datalist/datalist.module.mjs +4 -4
- package/esm2020/lib/datepicker/datepicker.component.mjs +18 -8
- package/esm2020/lib/datepicker/datepicker.module.mjs +4 -4
- package/esm2020/lib/decorators/addon.component.mjs +20 -0
- package/esm2020/lib/decorators/content.component.mjs +3 -3
- package/esm2020/lib/decorators/decorators.module.mjs +7 -6
- package/esm2020/lib/decorators/header.component.mjs +3 -3
- package/esm2020/lib/decorators/index.mjs +2 -1
- package/esm2020/lib/decorators/prefix.component.mjs +6 -6
- package/esm2020/lib/decorators/suffix.component.mjs +6 -6
- package/esm2020/lib/dialog/dialog.component.mjs +3 -3
- package/esm2020/lib/dialog/dialog.module.mjs +4 -4
- package/esm2020/lib/dialog/dialog.service.mjs +4 -5
- package/esm2020/lib/drawer/drawer-container.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer-content.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.component.mjs +3 -3
- package/esm2020/lib/drawer/drawer.module.mjs +4 -4
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +5 -5
- package/esm2020/lib/dropdown/dropdown.module.mjs +7 -8
- package/esm2020/lib/dropdown/index.mjs +1 -2
- package/esm2020/lib/form/form-field.component.mjs +3 -3
- package/esm2020/lib/form/form-field.module.mjs +4 -4
- package/esm2020/lib/form/form-hint.component.mjs +3 -3
- package/esm2020/lib/form/form.component.mjs +3 -3
- package/esm2020/lib/icon/icon.component.mjs +5 -5
- package/esm2020/lib/icon/icon.module.mjs +4 -4
- package/esm2020/lib/input-mask/input-mask.component.mjs +21 -7
- package/esm2020/lib/input-mask/input-mask.module.mjs +7 -6
- package/esm2020/lib/label/label.component.mjs +3 -3
- package/esm2020/lib/label/label.module.mjs +4 -4
- package/esm2020/lib/loading/loading-spinner.component.mjs +10 -7
- package/esm2020/lib/loading/loading.component.mjs +14 -6
- package/esm2020/lib/loading/loading.directive.mjs +3 -3
- package/esm2020/lib/loading/loading.module.mjs +6 -6
- package/esm2020/lib/loading/loading.service.mjs +3 -3
- package/esm2020/lib/number-box/number-box.component.mjs +124 -184
- package/esm2020/lib/number-box/number-box.module.mjs +15 -9
- package/esm2020/lib/page/base-page.class.mjs +3 -3
- package/esm2020/lib/page/page-footer.component.mjs +3 -3
- package/esm2020/lib/page/page.component.mjs +3 -3
- package/esm2020/lib/page/page.module.mjs +4 -4
- package/esm2020/lib/password-box/password-box.component.mjs +8 -9
- package/esm2020/lib/password-box/password-box.module.mjs +4 -4
- package/esm2020/lib/popover/popover.component.mjs +19 -16
- package/esm2020/lib/popover/popover.module.mjs +4 -4
- package/esm2020/lib/popup/popup.component.mjs +7 -7
- package/esm2020/lib/popup/popup.module.mjs +6 -7
- package/esm2020/lib/popup/popup.service.mjs +6 -5
- package/esm2020/lib/radio/radio.component.mjs +3 -3
- package/esm2020/lib/radio/radio.module.mjs +4 -4
- package/esm2020/lib/range-slider/range-slider.component.mjs +3 -3
- package/esm2020/lib/range-slider/range-slider.module.mjs +4 -4
- package/esm2020/lib/selectbox/selectbox.component.mjs +53 -21
- package/esm2020/lib/selectbox/selectbox.module.mjs +8 -6
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/selection-list/selection-list.module.mjs +4 -4
- package/esm2020/lib/side-menu/side-menu.component.mjs +3 -3
- package/esm2020/lib/side-menu/side-menu.module.mjs +4 -4
- package/esm2020/lib/switch/switch.component.mjs +3 -3
- package/esm2020/lib/switch/switch.module.mjs +4 -4
- package/esm2020/lib/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/textbox/textbox.component.mjs +10 -37
- package/esm2020/lib/textbox/textbox.module.mjs +4 -4
- package/esm2020/lib/time-box/time-box.component.mjs +6 -8
- package/esm2020/lib/time-box/time-box.module.mjs +4 -4
- package/esm2020/lib/toast/toast.component.mjs +3 -3
- package/esm2020/lib/toast/toast.module.mjs +4 -4
- package/esm2020/lib/toast/toast.service.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/lib/tooltip/tooltip.module.mjs +4 -4
- package/esm2020/lib/validation/validation-rule.widget.mjs +3 -3
- package/esm2020/lib/validation/validation.module.mjs +4 -4
- package/fesm2015/acorex-components.mjs +942 -888
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +938 -888
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/mixin/button-mixin.class.d.ts +8 -4
- package/lib/base/mixin/datalist-component.class.d.ts +4 -1
- package/lib/base/mixin/dropdown-mixin.class.d.ts +1 -3
- package/lib/base/mixin/interactive-mixin.class.d.ts +3 -1
- package/lib/base/mixin/mixin.class.d.ts +5 -4
- package/lib/base/mixin/selection-component.class.d.ts +8 -0
- package/lib/base/mixin/value-mixin.class.d.ts +3 -1
- package/lib/calendar/calendar.component.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +2 -6
- package/lib/checkbox/checkbox.module.d.ts +2 -1
- package/lib/datepicker/datepicker.component.d.ts +12 -7
- package/lib/decorators/addon.component.d.ts +8 -0
- package/lib/decorators/decorators.module.d.ts +3 -2
- package/lib/decorators/index.d.ts +1 -0
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/dropdown/dropdown.module.d.ts +8 -9
- package/lib/dropdown/index.d.ts +0 -1
- package/lib/icon/icon.component.d.ts +1 -1
- package/lib/input-mask/input-mask.component.d.ts +13 -2
- package/lib/input-mask/input-mask.module.d.ts +2 -1
- package/lib/loading/loading-spinner.component.d.ts +1 -0
- package/lib/loading/loading.component.d.ts +4 -2
- package/lib/number-box/number-box.component.d.ts +30 -23
- package/lib/number-box/number-box.module.d.ts +4 -2
- package/lib/popover/popover.component.d.ts +2 -0
- package/lib/popup/popup.component.d.ts +1 -1
- package/lib/selectbox/selectbox.component.d.ts +7 -2
- package/lib/selectbox/selectbox.module.d.ts +7 -5
- package/lib/textbox/textbox.component.d.ts +1 -4
- package/package.json +6 -5
- package/esm2020/lib/dropdown/dropdown.component.mjs +0 -28
- package/lib/dropdown/dropdown.component.d.ts +0 -12
|
@@ -4,6 +4,7 @@ import { AXBaseComponent } from './base-components.class';
|
|
|
4
4
|
import { Constructor } from './constratctor';
|
|
5
5
|
export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
6
|
new (...args: any[]): {
|
|
7
|
+
_text: string;
|
|
7
8
|
/**
|
|
8
9
|
* Defines the primary text to show inside the button.
|
|
9
10
|
*/
|
|
@@ -48,7 +49,12 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
48
49
|
'ax-state-selected': boolean;
|
|
49
50
|
};
|
|
50
51
|
id: string;
|
|
51
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Trigger click event by Enter Key
|
|
54
|
+
*/
|
|
55
|
+
rtl: boolean; /**
|
|
56
|
+
* Trigger click event by Esc Key
|
|
57
|
+
*/
|
|
52
58
|
cssClass: string;
|
|
53
59
|
cssStyle: string;
|
|
54
60
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
@@ -59,9 +65,7 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
59
65
|
ngAfterViewInit(): void;
|
|
60
66
|
ngOnDestroy(): void;
|
|
61
67
|
_getHostElement<T = HTMLElement>(): T;
|
|
62
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
63
|
-
* Provides visual styling that indicates if the Button is active
|
|
64
|
-
*/
|
|
68
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
65
69
|
_onInternalInit(): void;
|
|
66
70
|
onInit(): void;
|
|
67
71
|
onRenderCssClass(): void;
|
|
@@ -18,8 +18,8 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
18
18
|
items: any;
|
|
19
19
|
readonly displayItems: any;
|
|
20
20
|
readonly isLoading: boolean;
|
|
21
|
+
_formatData(v: any[]): any[];
|
|
21
22
|
_fetchData(): void;
|
|
22
|
-
_onInternalInit(): void;
|
|
23
23
|
_onDataLoaded(): void;
|
|
24
24
|
_getItemDisplayTextTemplte(item: any): any;
|
|
25
25
|
_trackByFunction(item: any): any;
|
|
@@ -36,6 +36,7 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
36
36
|
ngOnDestroy(): void;
|
|
37
37
|
_getHostElement<T = HTMLElement>(): T;
|
|
38
38
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
39
|
+
_onInternalInit(): void;
|
|
39
40
|
_onInternalViewInit(): void;
|
|
40
41
|
_onInternalDestroy(): void;
|
|
41
42
|
onInit(): void;
|
|
@@ -47,3 +48,5 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
47
48
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
48
49
|
};
|
|
49
50
|
} & TBase;
|
|
51
|
+
export declare const DATALIST_INPUTS: string[];
|
|
52
|
+
export declare const DATALIST_OUTPUT: any[];
|
|
@@ -11,15 +11,14 @@ export interface DropdownComponentInterface {
|
|
|
11
11
|
isOpen: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): (abstract new (...args: any[]) => {
|
|
14
|
-
fitParent: boolean;
|
|
15
14
|
readonly: boolean;
|
|
16
|
-
dropdownWidth: number;
|
|
17
15
|
onOpened: EventEmitter<AXEvent>;
|
|
18
16
|
onClosed: EventEmitter<AXEvent>;
|
|
19
17
|
popover: AXPopoverComponent;
|
|
20
18
|
position: AXConnectedPosition[];
|
|
21
19
|
_emitOnOpenedEvent(): void;
|
|
22
20
|
_emitOnClosedEvent(): void;
|
|
21
|
+
onInit(): void;
|
|
23
22
|
onViewInit(): void;
|
|
24
23
|
toggle(): void;
|
|
25
24
|
close(): void;
|
|
@@ -41,7 +40,6 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
|
|
|
41
40
|
_onInternalInit(): void;
|
|
42
41
|
_onInternalViewInit(): void;
|
|
43
42
|
_onInternalDestroy(): void;
|
|
44
|
-
onInit(): void;
|
|
45
43
|
onRenderCssClass(): void;
|
|
46
44
|
onDestroy(): void;
|
|
47
45
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
@@ -42,7 +42,9 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
42
42
|
ngOnDestroy(): void;
|
|
43
43
|
_getHostElement<T = HTMLElement>(): T;
|
|
44
44
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
45
|
-
_onInternalInit(): void;
|
|
45
|
+
_onInternalInit(): void; /**
|
|
46
|
+
* Focuses the component.
|
|
47
|
+
*/
|
|
46
48
|
_onInternalViewInit(): void;
|
|
47
49
|
_onInternalDestroy(): void;
|
|
48
50
|
onInit(): void;
|
|
@@ -320,6 +320,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
320
320
|
};
|
|
321
321
|
} & {
|
|
322
322
|
new (...args: any[]): {
|
|
323
|
+
_text: string;
|
|
323
324
|
text: string;
|
|
324
325
|
submitBehavior: boolean;
|
|
325
326
|
cancelBehavior: boolean;
|
|
@@ -442,6 +443,8 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
442
443
|
"__#4@#valueSubject": import("rxjs").Subject<unknown>;
|
|
443
444
|
"__#4@#value": any;
|
|
444
445
|
value: any;
|
|
446
|
+
"__#4@#state": "error" | "clear" | "success";
|
|
447
|
+
readonly state: "error" | "clear" | "success";
|
|
445
448
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
446
449
|
_onInternalValueChanging(value: any): any;
|
|
447
450
|
_onValueChanging(value: any): any;
|
|
@@ -451,7 +454,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
451
454
|
_setValue(v: any): void;
|
|
452
455
|
clear(): void;
|
|
453
456
|
validate(): Promise<import("../../validation/validation.class").AXValidationRuleResult>;
|
|
454
|
-
|
|
457
|
+
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
455
458
|
id: string;
|
|
456
459
|
rtl: boolean;
|
|
457
460
|
cssClass: string;
|
|
@@ -570,15 +573,14 @@ export declare const AXBaseDropdownMixin: {
|
|
|
570
573
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
571
574
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
572
575
|
}) & (abstract new (...args: any[]) => {
|
|
573
|
-
fitParent: boolean;
|
|
574
576
|
readonly: boolean;
|
|
575
|
-
dropdownWidth: number;
|
|
576
577
|
onOpened: import("@angular/core").EventEmitter<import("@acorex/components").AXEvent>;
|
|
577
578
|
onClosed: import("@angular/core").EventEmitter<import("@acorex/components").AXEvent>;
|
|
578
579
|
popover: import("@acorex/components").AXPopoverComponent;
|
|
579
580
|
position: import("@acorex/components").AXConnectedPosition[];
|
|
580
581
|
_emitOnOpenedEvent(): void;
|
|
581
582
|
_emitOnClosedEvent(): void;
|
|
583
|
+
onInit(): void;
|
|
582
584
|
onViewInit(): void;
|
|
583
585
|
toggle(): void;
|
|
584
586
|
close(): void;
|
|
@@ -600,7 +602,6 @@ export declare const AXBaseDropdownMixin: {
|
|
|
600
602
|
_onInternalInit(): void;
|
|
601
603
|
_onInternalViewInit(): void;
|
|
602
604
|
_onInternalDestroy(): void;
|
|
603
|
-
onInit(): void;
|
|
604
605
|
onRenderCssClass(): void;
|
|
605
606
|
onDestroy(): void;
|
|
606
607
|
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
@@ -6,6 +6,11 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
6
6
|
new (...args: any[]): {
|
|
7
7
|
valueField: string;
|
|
8
8
|
textField: string | string[];
|
|
9
|
+
disabledField: string;
|
|
10
|
+
disabledCallback: (e: {
|
|
11
|
+
item: any;
|
|
12
|
+
index: number;
|
|
13
|
+
}) => boolean;
|
|
9
14
|
multiple: boolean;
|
|
10
15
|
selectionMode: 'value' | 'item';
|
|
11
16
|
readonly items: any[];
|
|
@@ -24,6 +29,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
24
29
|
selectItems(...items: any[]): void;
|
|
25
30
|
toggleSelect(...items: any[]): void;
|
|
26
31
|
isItemSelected(item: any): boolean;
|
|
32
|
+
isItemDisabled(item: any): boolean;
|
|
27
33
|
id: string;
|
|
28
34
|
rtl: boolean;
|
|
29
35
|
cssClass: string;
|
|
@@ -48,3 +54,5 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
48
54
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
49
55
|
};
|
|
50
56
|
} & TBase;
|
|
57
|
+
export declare const SELECTION_INPUTS: string[];
|
|
58
|
+
export declare const SELECTION_OUTPUT: string[];
|
|
@@ -27,6 +27,8 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
27
27
|
"__#4@#valueSubject": Subject<unknown>;
|
|
28
28
|
"__#4@#value": any;
|
|
29
29
|
value: any;
|
|
30
|
+
"__#4@#state": 'clear' | 'success' | 'error';
|
|
31
|
+
readonly state: "error" | "clear" | "success";
|
|
30
32
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
31
33
|
_onInternalValueChanging(value: any): any;
|
|
32
34
|
_onValueChanging(value: any): any;
|
|
@@ -36,7 +38,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
36
38
|
_setValue(v: any): void;
|
|
37
39
|
clear(): void;
|
|
38
40
|
validate(): Promise<AXValidationRuleResult>;
|
|
39
|
-
|
|
41
|
+
_setState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
|
|
40
42
|
id: string;
|
|
41
43
|
rtl: boolean;
|
|
42
44
|
cssClass: string;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { AXBaseValueComponentMixin } from '../base';
|
|
3
|
-
import { AXLabelComponent } from '../label';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
6
|
-
_hint: QueryList<ElementRef>;
|
|
7
|
-
_label: AXLabelComponent;
|
|
8
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
9
6
|
onInit(): void;
|
|
10
|
-
onViewInit(): void;
|
|
11
7
|
_onValueChanging(value: any): any;
|
|
12
8
|
_handleOnClickEvent(e: MouseEvent): boolean;
|
|
13
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; },
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["*", "ax-form-hint", "ax-validation-rule"]>;
|
|
15
11
|
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./checkbox.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../decorators/decorators.module";
|
|
5
6
|
export declare class AXCheckBoxModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, [typeof i1.AXCheckBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AXCheckBoxComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCheckBoxModule, [typeof i1.AXCheckBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXEditorDecoratorModule], [typeof i1.AXCheckBoxComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCheckBoxModule>;
|
|
9
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AXPlatform } from '@acorex/core';
|
|
2
2
|
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { AXClickEvent } from '../base';
|
|
4
|
+
import { AXCalendarComponent } from '../calendar';
|
|
4
5
|
import { AXCalendarBaseComponent } from '../calendar/calendar.class';
|
|
5
6
|
import { AXPopoverComponent } from '../popover/popover.component';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -38,15 +39,14 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
38
39
|
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
39
40
|
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
40
41
|
}) & (abstract new (...args: any[]) => {
|
|
41
|
-
fitParent: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
|
-
dropdownWidth: number;
|
|
44
43
|
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
45
44
|
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
46
45
|
popover: AXPopoverComponent;
|
|
47
46
|
position: import("../base").AXConnectedPosition[];
|
|
48
47
|
_emitOnOpenedEvent(): void;
|
|
49
48
|
_emitOnClosedEvent(): void;
|
|
49
|
+
onInit(): void;
|
|
50
50
|
onViewInit(): void;
|
|
51
51
|
toggle(): void;
|
|
52
52
|
close(): void;
|
|
@@ -68,7 +68,6 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
68
68
|
_onInternalInit(): void;
|
|
69
69
|
_onInternalViewInit(): void;
|
|
70
70
|
_onInternalDestroy(): void;
|
|
71
|
-
onInit(): void;
|
|
72
71
|
onRenderCssClass(): void;
|
|
73
72
|
onDestroy(): void;
|
|
74
73
|
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
@@ -90,6 +89,8 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
90
89
|
"__#4@#valueSubject": import("rxjs").Subject<unknown>;
|
|
91
90
|
"__#4@#value": any;
|
|
92
91
|
value: any;
|
|
92
|
+
"__#4@#state": "error" | "clear" | "success";
|
|
93
|
+
readonly state: "error" | "clear" | "success";
|
|
93
94
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
94
95
|
_onInternalValueChanging(value: any): any;
|
|
95
96
|
_onValueChanging(value: any): any;
|
|
@@ -99,7 +100,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
99
100
|
_setValue(v: any): void;
|
|
100
101
|
clear(): void;
|
|
101
102
|
validate(): Promise<import("../validation/validation.class").AXValidationRuleResult>;
|
|
102
|
-
|
|
103
|
+
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
103
104
|
id: string;
|
|
104
105
|
rtl: boolean;
|
|
105
106
|
cssClass: string;
|
|
@@ -157,21 +158,25 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
157
158
|
export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
158
159
|
private _platform;
|
|
159
160
|
popover: AXPopoverComponent;
|
|
160
|
-
|
|
161
|
+
_calendar: AXCalendarComponent;
|
|
162
|
+
_target: HTMLDivElement;
|
|
161
163
|
displayText: string;
|
|
162
164
|
_calendarValue: Date;
|
|
163
165
|
_cursorPos: number;
|
|
164
166
|
_isMobile: boolean;
|
|
167
|
+
_popoverTitle: string;
|
|
168
|
+
_popoverWidth: number;
|
|
165
169
|
formatChange: EventEmitter<string>;
|
|
166
170
|
private _format;
|
|
167
171
|
get format(): string;
|
|
168
172
|
set format(v: string);
|
|
169
173
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _platform: AXPlatform);
|
|
174
|
+
onViewInit(): void;
|
|
170
175
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
171
176
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
172
177
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
173
178
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
174
179
|
private _highlightPart;
|
|
175
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
176
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", 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"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix"]>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", 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"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
177
182
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDecoratorAddOnComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorAddOnComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorAddOnComponent, "ax-addon", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -3,9 +3,10 @@ import * as i1 from "./prefix.component";
|
|
|
3
3
|
import * as i2 from "./suffix.component";
|
|
4
4
|
import * as i3 from "./content.component";
|
|
5
5
|
import * as i4 from "./header.component";
|
|
6
|
-
import * as i5 from "
|
|
6
|
+
import * as i5 from "./addon.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
7
8
|
export declare class AXEditorDecoratorModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorDecoratorModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent], [typeof
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorAddOnComponent], [typeof i6.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorAddOnComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXEditorDecoratorModule>;
|
|
11
12
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon,ax-content"]>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon"]>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button,ax-icon,ax-badge,ax-
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon,ax-content,ax-badge,ax-addon"]>;
|
|
8
8
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dropdown.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "../
|
|
8
|
-
import * as i7 from "../
|
|
9
|
-
import * as i8 from "../popover/popover.module";
|
|
2
|
+
import * as i1 from "./dropdown-panel.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../decorators/decorators.module";
|
|
8
|
+
import * as i7 from "../popover/popover.module";
|
|
10
9
|
export declare class AXDropdownModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDropdownModule, [typeof i1.AXDropdownPanelComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.OverlayModule, typeof i5.AXIconModule, typeof i6.AXEditorDecoratorModule, typeof i7.AXPopoverModule], [typeof i1.AXDropdownPanelComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDropdownModule>;
|
|
14
13
|
}
|
package/lib/dropdown/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export declare class AXIconComponent extends AXSizableComponentMixin {
|
|
|
6
6
|
private get __iconClass();
|
|
7
7
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXIconComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, ["
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, ["i,svg,img"]>;
|
|
10
10
|
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from '../base';
|
|
3
|
+
import { AXTextBoxComponent } from '../textbox';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AXInputMaskComponent {
|
|
5
|
+
export declare class AXInputMaskComponent extends AXBaseComponent {
|
|
6
|
+
private _elementRef;
|
|
7
|
+
private _textbox;
|
|
8
|
+
private _maskObj;
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _textbox: AXTextBoxComponent);
|
|
13
|
+
onViewInit(): void;
|
|
3
14
|
private _prefix;
|
|
4
15
|
get prefix(): string;
|
|
5
16
|
set prefix(v: string);
|
|
@@ -8,7 +19,7 @@ export declare class AXInputMaskComponent {
|
|
|
8
19
|
set suffix(v: string);
|
|
9
20
|
showMaskTyped: boolean;
|
|
10
21
|
clearIfNotMatch: boolean;
|
|
11
|
-
mask:
|
|
22
|
+
mask: any;
|
|
12
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskComponent, never>;
|
|
13
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXInputMaskComponent, "ax-input-mask", never, { "prefix": "prefix"; "suffix": "suffix"; "showMaskTyped": "showMaskTyped"; "clearIfNotMatch": "clearIfNotMatch"; "mask": "mask"; }, {}, never, never>;
|
|
14
25
|
}
|
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./input-mask.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "ngx-mask";
|
|
5
|
+
import * as i4 from "angular-imask";
|
|
5
6
|
export declare class AXInputMaskModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXInputMaskModule, [typeof i1.AXInputMaskComponent], [typeof i2.CommonModule, typeof i3.NgxMaskModule], [typeof i1.AXInputMaskComponent]>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXInputMaskModule, [typeof i1.AXInputMaskComponent], [typeof i2.CommonModule, typeof i3.NgxMaskModule, typeof i4.IMaskModule], [typeof i1.AXInputMaskComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXInputMaskModule>;
|
|
9
10
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class AXLoadingSpinnerComponent {
|
|
3
|
+
text: string;
|
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingSpinnerComponent, never>;
|
|
4
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingSpinnerComponent, "ax-loading-spinner", never, {}, {}, never, never>;
|
|
5
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Portal } from '@angular/cdk/portal';
|
|
1
|
+
import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
|
|
2
2
|
import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { AXBaseComponentMixin } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -13,7 +13,9 @@ export declare class AXLoadingComponent extends AXBaseComponentMixin {
|
|
|
13
13
|
get visible(): boolean;
|
|
14
14
|
set visible(v: boolean);
|
|
15
15
|
type: string;
|
|
16
|
+
text: string;
|
|
16
17
|
onInit(): void;
|
|
18
|
+
_handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": "visible"; "type": "type"; }, { "visibleChange": "visibleChange"; }, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": "visible"; "type": "type"; "text": "text"; }, { "visibleChange": "visibleChange"; }, never, never>;
|
|
19
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef
|
|
2
|
-
import
|
|
3
|
-
import { AXBaseTextBoxMixin } from '../base';
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import IMask from 'imask';
|
|
3
|
+
import { AXBaseTextBoxMixin, AXClickEvent, AXComponentOptionChanged } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* The NumberBox is a component which detects user interaction and triggers a corresponding event
|
|
@@ -9,28 +9,32 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
11
11
|
private cdr;
|
|
12
|
-
private
|
|
13
|
-
private get __hostClass();
|
|
12
|
+
private _thousandsSeparator;
|
|
14
13
|
/**
|
|
15
14
|
* A character value that specifies the separator character.
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
get thousandsSeparator(): string;
|
|
17
|
+
set thousandsSeparator(v: string);
|
|
18
|
+
private _padDecimalZeros;
|
|
18
19
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
* A character value that specifies the separator character.
|
|
21
|
+
*/
|
|
22
|
+
get padDecimalZeros(): boolean;
|
|
23
|
+
set padDecimalZeros(v: boolean);
|
|
22
24
|
/**
|
|
23
25
|
* Specifies the value that is used to increment or decrement the **Integer** part of number
|
|
24
26
|
*/
|
|
25
27
|
step: number;
|
|
28
|
+
private _decimals;
|
|
26
29
|
/**
|
|
27
30
|
* Specifies the number of decimals that the user can enter
|
|
28
31
|
*/
|
|
29
|
-
|
|
32
|
+
get decimals(): number;
|
|
33
|
+
set decimals(v: number);
|
|
30
34
|
/**
|
|
31
35
|
* Specifies the value that is used to increment or decrement the **Deciaml** part of number
|
|
32
36
|
*/
|
|
33
|
-
decimalStep: number;
|
|
37
|
+
decimalStep: number | 'auto';
|
|
34
38
|
/**
|
|
35
39
|
* Specifies whether the Up and Down spin buttons will be rendered or not
|
|
36
40
|
*/
|
|
@@ -47,23 +51,26 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
47
51
|
*/
|
|
48
52
|
get maxValue(): number;
|
|
49
53
|
set maxValue(v: number);
|
|
50
|
-
displayTextChange: EventEmitter<string>;
|
|
51
|
-
private _displayText;
|
|
52
54
|
/**
|
|
53
|
-
*
|
|
55
|
+
* @ignore
|
|
54
56
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
_maskObj: IMask.MaskedNumber;
|
|
58
|
+
private _maskDirective;
|
|
57
59
|
/**
|
|
58
60
|
* @ignore
|
|
59
61
|
*/
|
|
60
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef
|
|
62
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
63
|
+
private toNum;
|
|
64
|
+
onViewInit(): void;
|
|
65
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
66
|
+
private _updateMask;
|
|
61
67
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
_handleUpDownClick(e: AXClickEvent, v: -1 | 1): void;
|
|
69
|
+
_onValueChanging(value: any): number;
|
|
70
|
+
stepUp(): void;
|
|
71
|
+
stepDown(): void;
|
|
72
|
+
decimalStepUp(): void;
|
|
73
|
+
decimalStepDown(): void;
|
|
67
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
68
|
-
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"; "name": "name"; "checked": "checked"; "
|
|
75
|
+
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"; "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"]>;
|
|
69
76
|
}
|
|
@@ -3,9 +3,11 @@ import * as i1 from "./number-box.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../button/button.module";
|
|
6
|
-
import * as i5 from "
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
import * as i7 from "angular-imask";
|
|
7
9
|
export declare class AXNumberBoxModule {
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXEditorDecoratorModule, typeof i6.AXIconModule, typeof i7.IMaskModule], [typeof i1.AXNumberBoxComponent]>;
|
|
10
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxModule>;
|
|
11
13
|
}
|
|
@@ -6,6 +6,7 @@ import { TemplatePortal } from '@angular/cdk/portal';
|
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AXPopoverComponent extends AXBaseComponent {
|
|
9
|
+
private _elementRef;
|
|
9
10
|
_cdr: ChangeDetectorRef;
|
|
10
11
|
private _zone;
|
|
11
12
|
private _overlay;
|
|
@@ -39,6 +40,7 @@ export declare class AXPopoverComponent extends AXBaseComponent {
|
|
|
39
40
|
private _ensureOverlayCreated;
|
|
40
41
|
get isOpen(): boolean;
|
|
41
42
|
private _addSub;
|
|
43
|
+
updatePosition(): void;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
|
43
45
|
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, ["*"]>;
|
|
44
46
|
}
|
|
@@ -24,7 +24,7 @@ export declare class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
24
24
|
_footerPortal: Portal<any>;
|
|
25
25
|
_headerPortal: Portal<any>;
|
|
26
26
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _zone: NgZone, _viewContainerRef: ViewContainerRef, loadingService: AXLoadingService, _platform: AXPlatform);
|
|
27
|
-
|
|
27
|
+
onInit(): void;
|
|
28
28
|
_handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
|
29
29
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
30
30
|
_handleCloseClick(): void;
|