@acorex/components 6.0.16 → 6.1.1
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/alert/src/alert.component.d.ts +4 -4
- package/avatar/src/avatar.component.d.ts +6 -9
- package/badge/src/badge.component.d.ts +1 -1
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -4
- package/button/src/button-group.component.d.ts +4 -4
- package/button/src/button-item.class.d.ts +2 -1
- package/button/src/button-item.component.d.ts +4 -4
- package/button/src/button.component.d.ts +3 -1
- package/calendar/src/calendar.component.d.ts +20 -20
- package/color-picker/src/color-picker.component.d.ts +18 -21
- package/common/public-api.d.ts +1 -0
- package/common/src/auto-focus.directive.d.ts +2 -1
- package/common/src/common.module.d.ts +4 -3
- package/common/src/debounce-time.directive.d.ts +17 -0
- package/common/src/events.class.d.ts +2 -2
- package/date-picker/src/datepicker.component.d.ts +23 -23
- package/decorators/public-api.d.ts +1 -0
- package/decorators/src/decorators.module.d.ts +3 -2
- package/decorators/src/text.component.d.ts +9 -0
- package/dialog/src/dialog.service.d.ts +3 -1
- package/dropdown/src/dropdown-panel.component.d.ts +1 -0
- package/dropdown/src/dropdown.module.d.ts +7 -5
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +1 -1
- package/esm2020/alert/src/alert.component.mjs +4 -8
- package/esm2020/avatar/src/avatar.component.mjs +14 -21
- package/esm2020/badge/src/badge.component.mjs +3 -3
- package/esm2020/button/src/button-item.class.mjs +1 -1
- package/esm2020/button/src/button-item.component.mjs +3 -3
- package/esm2020/button/src/button.component.mjs +9 -6
- package/esm2020/calendar/src/calendar.component.mjs +7 -4
- package/esm2020/collapse/src/collapse.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette-input.component.mjs +1 -1
- package/esm2020/color-picker/src/color-picker.component.mjs +4 -4
- package/esm2020/common/public-api.mjs +2 -1
- package/esm2020/common/src/auto-focus.directive.mjs +7 -3
- package/esm2020/common/src/common.module.mjs +6 -1
- package/esm2020/common/src/debounce-time.directive.mjs +47 -0
- package/esm2020/common/src/events.class.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +5 -4
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +1 -1
- package/esm2020/date-picker/src/datepicker.component.mjs +10 -9
- package/esm2020/decorators/public-api.mjs +2 -1
- package/esm2020/decorators/src/decorators.module.mjs +8 -4
- package/esm2020/decorators/src/icon.component.mjs +3 -2
- package/esm2020/decorators/src/text.component.mjs +21 -0
- package/esm2020/dialog/src/dialog.class.mjs +1 -1
- package/esm2020/dialog/src/dialog.component.mjs +1 -1
- package/esm2020/dialog/src/dialog.service.mjs +11 -7
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +14 -3
- package/esm2020/dropdown/src/dropdown.module.mjs +6 -4
- package/esm2020/form/src/form.component.mjs +10 -3
- package/esm2020/form/src/validation-summary.component.mjs +1 -1
- package/esm2020/image/src/image.component.mjs +36 -9
- package/esm2020/menu/src/menu.component.mjs +5 -3
- package/esm2020/mixin/src/textbox-mixin.class.mjs +52 -83
- package/esm2020/number-box/src/number-box.component.mjs +10 -5
- package/esm2020/password-box/src/password-box.component.mjs +12 -6
- package/esm2020/popover/src/popover.component.mjs +9 -18
- package/esm2020/popup/src/popup.component.mjs +14 -6
- package/esm2020/popup/src/popup.module.mjs +4 -3
- package/esm2020/popup/src/popup.service.mjs +8 -4
- package/esm2020/search-box/src/search-box.component.mjs +4 -3
- package/esm2020/select-box/src/selectbox.component.mjs +5 -5
- package/esm2020/textarea/src/textarea.component.mjs +11 -5
- package/esm2020/textbox/public-api.mjs +2 -1
- package/esm2020/textbox/src/mask-options.directive.mjs +22 -0
- package/esm2020/textbox/src/textbox.component.mjs +66 -9
- package/esm2020/textbox/src/textbox.module.mjs +12 -11
- package/esm2020/time-box/src/time-box.component.mjs +11 -5
- package/esm2020/toast/src/toast.component.mjs +1 -1
- package/esm2020/uploader/src/uploader.component.mjs +17 -4
- package/fesm2015/acorex-components-action-sheet.mjs +1 -1
- package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2015/acorex-components-alert.mjs +3 -7
- package/fesm2015/acorex-components-alert.mjs.map +1 -1
- package/fesm2015/acorex-components-avatar.mjs +13 -20
- package/fesm2015/acorex-components-avatar.mjs.map +1 -1
- package/fesm2015/acorex-components-badge.mjs +2 -2
- package/fesm2015/acorex-components-badge.mjs.map +1 -1
- package/fesm2015/acorex-components-button.mjs +10 -7
- package/fesm2015/acorex-components-button.mjs.map +1 -1
- package/fesm2015/acorex-components-calendar.mjs +5 -3
- package/fesm2015/acorex-components-calendar.mjs.map +1 -1
- package/fesm2015/acorex-components-collapse.mjs +2 -2
- package/fesm2015/acorex-components-collapse.mjs.map +1 -1
- package/fesm2015/acorex-components-color-palette.mjs +1 -1
- package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2015/acorex-components-color-picker.mjs +3 -3
- package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-common.mjs +67 -14
- package/fesm2015/acorex-components-common.mjs.map +1 -1
- package/fesm2015/acorex-components-data-pager.mjs +8 -7
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2015/acorex-components-date-picker.mjs +11 -9
- package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-decorators.mjs +27 -5
- package/fesm2015/acorex-components-decorators.mjs.map +1 -1
- package/fesm2015/acorex-components-dialog.mjs +11 -7
- package/fesm2015/acorex-components-dialog.mjs.map +1 -1
- package/fesm2015/acorex-components-dropdown.mjs +18 -5
- package/fesm2015/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2015/acorex-components-form.mjs +10 -3
- package/fesm2015/acorex-components-form.mjs.map +1 -1
- package/fesm2015/acorex-components-image.mjs +35 -8
- package/fesm2015/acorex-components-image.mjs.map +1 -1
- package/fesm2015/acorex-components-menu.mjs +5 -3
- package/fesm2015/acorex-components-menu.mjs.map +1 -1
- package/fesm2015/acorex-components-mixin.mjs +3 -33
- package/fesm2015/acorex-components-mixin.mjs.map +1 -1
- package/fesm2015/acorex-components-number-box.mjs +10 -5
- package/fesm2015/acorex-components-number-box.mjs.map +1 -1
- package/fesm2015/acorex-components-password-box.mjs +11 -5
- package/fesm2015/acorex-components-password-box.mjs.map +1 -1
- package/fesm2015/acorex-components-popover.mjs +9 -18
- package/fesm2015/acorex-components-popover.mjs.map +1 -1
- package/fesm2015/acorex-components-popup.mjs +23 -11
- package/fesm2015/acorex-components-popup.mjs.map +1 -1
- package/fesm2015/acorex-components-search-box.mjs +3 -2
- package/fesm2015/acorex-components-search-box.mjs.map +1 -1
- package/fesm2015/acorex-components-select-box.mjs +4 -4
- package/fesm2015/acorex-components-select-box.mjs.map +1 -1
- package/fesm2015/acorex-components-textarea.mjs +10 -4
- package/fesm2015/acorex-components-textarea.mjs.map +1 -1
- package/fesm2015/acorex-components-textbox.mjs +96 -20
- package/fesm2015/acorex-components-textbox.mjs.map +1 -1
- package/fesm2015/acorex-components-time-box.mjs +11 -5
- package/fesm2015/acorex-components-time-box.mjs.map +1 -1
- package/fesm2015/acorex-components-toast.mjs +1 -1
- package/fesm2015/acorex-components-toast.mjs.map +1 -1
- package/fesm2015/acorex-components-uploader.mjs +16 -3
- package/fesm2015/acorex-components-uploader.mjs.map +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2020/acorex-components-alert.mjs +3 -7
- package/fesm2020/acorex-components-alert.mjs.map +1 -1
- package/fesm2020/acorex-components-avatar.mjs +13 -20
- package/fesm2020/acorex-components-avatar.mjs.map +1 -1
- package/fesm2020/acorex-components-badge.mjs +2 -2
- package/fesm2020/acorex-components-badge.mjs.map +1 -1
- package/fesm2020/acorex-components-button.mjs +10 -7
- package/fesm2020/acorex-components-button.mjs.map +1 -1
- package/fesm2020/acorex-components-calendar.mjs +5 -3
- package/fesm2020/acorex-components-calendar.mjs.map +1 -1
- package/fesm2020/acorex-components-collapse.mjs +2 -2
- package/fesm2020/acorex-components-collapse.mjs.map +1 -1
- package/fesm2020/acorex-components-color-palette.mjs +1 -1
- package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2020/acorex-components-color-picker.mjs +3 -3
- package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-common.mjs +66 -14
- package/fesm2020/acorex-components-common.mjs.map +1 -1
- package/fesm2020/acorex-components-data-pager.mjs +8 -7
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2020/acorex-components-date-picker.mjs +10 -9
- package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-decorators.mjs +27 -5
- package/fesm2020/acorex-components-decorators.mjs.map +1 -1
- package/fesm2020/acorex-components-dialog.mjs +11 -7
- package/fesm2020/acorex-components-dialog.mjs.map +1 -1
- package/fesm2020/acorex-components-dropdown.mjs +18 -5
- package/fesm2020/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2020/acorex-components-form.mjs +10 -3
- package/fesm2020/acorex-components-form.mjs.map +1 -1
- package/fesm2020/acorex-components-image.mjs +35 -8
- package/fesm2020/acorex-components-image.mjs.map +1 -1
- package/fesm2020/acorex-components-menu.mjs +5 -3
- package/fesm2020/acorex-components-menu.mjs.map +1 -1
- package/fesm2020/acorex-components-mixin.mjs +51 -81
- package/fesm2020/acorex-components-mixin.mjs.map +1 -1
- package/fesm2020/acorex-components-number-box.mjs +10 -5
- package/fesm2020/acorex-components-number-box.mjs.map +1 -1
- package/fesm2020/acorex-components-password-box.mjs +11 -5
- package/fesm2020/acorex-components-password-box.mjs.map +1 -1
- package/fesm2020/acorex-components-popover.mjs +8 -17
- package/fesm2020/acorex-components-popover.mjs.map +1 -1
- package/fesm2020/acorex-components-popup.mjs +23 -11
- package/fesm2020/acorex-components-popup.mjs.map +1 -1
- package/fesm2020/acorex-components-search-box.mjs +3 -2
- package/fesm2020/acorex-components-search-box.mjs.map +1 -1
- package/fesm2020/acorex-components-select-box.mjs +4 -4
- package/fesm2020/acorex-components-select-box.mjs.map +1 -1
- package/fesm2020/acorex-components-textarea.mjs +10 -4
- package/fesm2020/acorex-components-textarea.mjs.map +1 -1
- package/fesm2020/acorex-components-textbox.mjs +95 -20
- package/fesm2020/acorex-components-textbox.mjs.map +1 -1
- package/fesm2020/acorex-components-time-box.mjs +11 -5
- package/fesm2020/acorex-components-time-box.mjs.map +1 -1
- package/fesm2020/acorex-components-toast.mjs +1 -1
- package/fesm2020/acorex-components-toast.mjs.map +1 -1
- package/fesm2020/acorex-components-uploader.mjs +16 -3
- package/fesm2020/acorex-components-uploader.mjs.map +1 -1
- package/form/src/form.component.d.ts +2 -0
- package/image/src/image.component.d.ts +16 -7
- package/menu/src/menu.component.d.ts +1 -0
- package/mixin/src/base-components.class.d.ts +1 -1
- package/mixin/src/base-menu-mixin.class.d.ts +4 -4
- package/mixin/src/button-mixin.class.d.ts +1 -1
- package/mixin/src/clickable-mixin.class.d.ts +1 -1
- package/mixin/src/color-look-mixing.class.d.ts +1 -1
- package/mixin/src/datalist-component.class.d.ts +9 -9
- package/mixin/src/dropdown-mixin.class.d.ts +1 -1
- package/mixin/src/interactive-mixin.class.d.ts +3 -3
- package/mixin/src/loading-mixin.class.d.ts +1 -1
- package/mixin/src/mixin.class.d.ts +42 -47
- package/mixin/src/page-component.class.d.ts +1 -1
- package/mixin/src/selection-component.class.d.ts +1 -1
- package/mixin/src/sizable-mixin.class.d.ts +1 -1
- package/mixin/src/textbox-mixin.class.d.ts +4 -13
- package/mixin/src/value-mixin.class.d.ts +7 -7
- package/number-box/src/number-box.component.d.ts +3 -1
- package/package.json +1 -9
- package/password-box/src/password-box.component.d.ts +3 -1
- package/popover/src/popover.component.d.ts +2 -2
- package/popup/src/popup.module.d.ts +7 -6
- package/select-box/src/selectbox.component.d.ts +1 -1
- package/tabs/src/tab-item.component.d.ts +1 -1
- package/textarea/src/textarea.component.d.ts +3 -1
- package/textbox/public-api.d.ts +1 -0
- package/textbox/src/mask-options.directive.d.ts +13 -0
- package/textbox/src/textbox.component.d.ts +14 -3
- package/textbox/src/textbox.module.d.ts +7 -6
- package/time-box/src/time-box.component.d.ts +4 -2
- package/uploader/src/uploader.component.d.ts +4 -0
- package/esm2020/input-mask/acorex-components-input-mask.mjs +0 -5
- package/esm2020/input-mask/public-api.mjs +0 -3
- package/esm2020/input-mask/src/input-mask.component.mjs +0 -58
- package/esm2020/input-mask/src/input-mask.module.mjs +0 -24
- package/fesm2015/acorex-components-input-mask.mjs +0 -86
- package/fesm2015/acorex-components-input-mask.mjs.map +0 -1
- package/fesm2020/acorex-components-input-mask.mjs +0 -86
- package/fesm2020/acorex-components-input-mask.mjs.map +0 -1
- package/input-mask/index.d.ts +0 -5
- package/input-mask/public-api.d.ts +0 -2
- package/input-mask/src/input-mask.component.d.ts +0 -25
- package/input-mask/src/input-mask.module.d.ts +0 -10
|
@@ -11,7 +11,7 @@ export declare const AXBaseAlertMixin: (new (...args: any[]) => {
|
|
|
11
11
|
look: import("@acorex/components/common").AXStyleLookType;
|
|
12
12
|
id: string;
|
|
13
13
|
rtl: boolean;
|
|
14
|
-
"__#
|
|
14
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
15
15
|
_cdr: ChangeDetectorRef;
|
|
16
16
|
_isInited: boolean;
|
|
17
17
|
_isRendered: boolean;
|
|
@@ -36,18 +36,18 @@ export declare const AXBaseAlertMixin: (new (...args: any[]) => {
|
|
|
36
36
|
* @category Components
|
|
37
37
|
*/
|
|
38
38
|
export declare class AXAlertComponent extends AXBaseAlertMixin {
|
|
39
|
-
#private;
|
|
40
39
|
private _icon;
|
|
41
40
|
private _buttons;
|
|
42
41
|
onDismissed: EventEmitter<AXEvent>;
|
|
43
42
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
44
|
-
ngDoCheck(): void;
|
|
43
|
+
protected ngDoCheck(): void;
|
|
45
44
|
private _setIcon;
|
|
46
45
|
/**
|
|
47
46
|
* @ignore
|
|
48
47
|
*/
|
|
49
48
|
get __hostClass(): string;
|
|
50
49
|
timeOut: number;
|
|
50
|
+
protected _visible: boolean;
|
|
51
51
|
/**
|
|
52
52
|
* set the visibility of the Alert
|
|
53
53
|
*/
|
|
@@ -59,7 +59,7 @@ export declare class AXAlertComponent extends AXBaseAlertMixin {
|
|
|
59
59
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
60
60
|
onInit(): void;
|
|
61
61
|
onViewInit(): void;
|
|
62
|
-
ngAfterContentInit(): void;
|
|
62
|
+
protected ngAfterContentInit(): void;
|
|
63
63
|
private _applyButtonStyle;
|
|
64
64
|
/**
|
|
65
65
|
* Remove the alert from the container
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AXAvatarMixin } from '@acorex/components/mixin';
|
|
2
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
@@ -7,16 +7,13 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @category Components
|
|
8
8
|
*/
|
|
9
9
|
export declare class AXAvatarComponent extends AXAvatarMixin {
|
|
10
|
-
|
|
11
|
-
icon: string;
|
|
12
|
-
src: string;
|
|
13
|
-
class: string;
|
|
14
|
-
type: "default" | 'text' | 'icon' | 'image';
|
|
10
|
+
readonly _children: QueryList<any>;
|
|
15
11
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
18
14
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
15
|
+
ngAfterViewInit(): void;
|
|
19
16
|
get __hostClass(): string;
|
|
20
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAvatarComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarComponent, "ax-avatar", never, { "color": "color"; "look": "look";
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAvatarComponent, "ax-avatar", never, { "color": "color"; "look": "look"; }, {}, ["_children"], ["ax-text, ax-image, ax-icon"], false>;
|
|
22
19
|
}
|
|
@@ -10,7 +10,7 @@ export declare const AXBaseBadgeMixin: (new (...args: any[]) => {
|
|
|
10
10
|
look: import("@acorex/components/common").AXStyleLookType;
|
|
11
11
|
id: string;
|
|
12
12
|
rtl: boolean;
|
|
13
|
-
"__#
|
|
13
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
14
14
|
_cdr: ChangeDetectorRef;
|
|
15
15
|
_isInited: boolean;
|
|
16
16
|
_isRendered: boolean;
|
|
@@ -3,9 +3,9 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
3
3
|
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) => {
|
|
6
|
-
"__#
|
|
6
|
+
"__#34341@#disabled": boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
"__#
|
|
8
|
+
"__#34341@#tabIndex": number;
|
|
9
9
|
tabIndex: number;
|
|
10
10
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
11
11
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -15,7 +15,7 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
|
|
|
15
15
|
hasFocus(): boolean;
|
|
16
16
|
id: string;
|
|
17
17
|
rtl: boolean;
|
|
18
|
-
"__#
|
|
18
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
19
19
|
_cdr: ChangeDetectorRef;
|
|
20
20
|
_isInited: boolean;
|
|
21
21
|
_isRendered: boolean;
|
|
@@ -38,7 +38,7 @@ export declare const AXBaseItemBreadCrumbMixin: (abstract new (...args: any[]) =
|
|
|
38
38
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
39
39
|
id: string;
|
|
40
40
|
rtl: boolean;
|
|
41
|
-
"__#
|
|
41
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
42
42
|
/**
|
|
43
43
|
* @ignore
|
|
44
44
|
*/
|
|
@@ -4,9 +4,9 @@ import { AXClickEvent, AXItemClickEvent, AXSelectionMode, AXSelectionValueChange
|
|
|
4
4
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
7
|
-
"__#
|
|
7
|
+
"__#34341@#disabled": boolean;
|
|
8
8
|
disabled: boolean;
|
|
9
|
-
"__#
|
|
9
|
+
"__#34341@#tabIndex": number;
|
|
10
10
|
tabIndex: number;
|
|
11
11
|
onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
12
12
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -16,7 +16,7 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
|
16
16
|
hasFocus(): boolean;
|
|
17
17
|
id: string;
|
|
18
18
|
rtl: boolean;
|
|
19
|
-
"__#
|
|
19
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
20
20
|
_cdr: ChangeDetectorRef;
|
|
21
21
|
_isInited: boolean;
|
|
22
22
|
_isRendered: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
|
43
43
|
look: import("@acorex/components/common").AXStyleLookType;
|
|
44
44
|
id: string;
|
|
45
45
|
rtl: boolean;
|
|
46
|
-
"__#
|
|
46
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
47
47
|
_cdr: ChangeDetectorRef;
|
|
48
48
|
_isInited: boolean;
|
|
49
49
|
_isRendered: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AXStyleLookType, AXStyleColorType, AXHotKeyAction } from '@acorex/components/common';
|
|
2
|
+
export declare type AXButtonType = 'submit' | 'button' | 'cancel' | 'reset';
|
|
2
3
|
export interface AXClickItemBase {
|
|
3
4
|
cssClass?: string;
|
|
4
5
|
color?: AXStyleColorType;
|
|
@@ -16,7 +17,7 @@ export interface AXClickItemBase {
|
|
|
16
17
|
hotkey?: string | AXHotKeyAction;
|
|
17
18
|
}
|
|
18
19
|
export interface AXButtonItem extends AXClickItemBase {
|
|
19
|
-
type?:
|
|
20
|
+
type?: AXButtonType;
|
|
20
21
|
autofocus?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export interface AXMenuItem extends AXClickItemBase {
|
|
@@ -3,9 +3,9 @@ import { AXStyleColorType } from '@acorex/components/common';
|
|
|
3
3
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
6
|
-
"__#
|
|
6
|
+
"__#34341@#disabled": boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
|
-
"__#
|
|
8
|
+
"__#34341@#tabIndex": number;
|
|
9
9
|
tabIndex: number;
|
|
10
10
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
11
11
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -15,7 +15,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
15
15
|
hasFocus(): boolean;
|
|
16
16
|
id: string;
|
|
17
17
|
rtl: boolean;
|
|
18
|
-
"__#
|
|
18
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
19
19
|
_cdr: ChangeDetectorRef;
|
|
20
20
|
_isInited: boolean;
|
|
21
21
|
_isRendered: boolean;
|
|
@@ -38,7 +38,7 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
38
38
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
39
39
|
id: string;
|
|
40
40
|
rtl: boolean;
|
|
41
|
-
"__#
|
|
41
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
42
42
|
_cdr: ChangeDetectorRef;
|
|
43
43
|
_isInited: boolean;
|
|
44
44
|
_isRendered: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { AXBaseButtonMixin } from '@acorex/components/mixin';
|
|
3
|
+
import { AXButtonType } from './button-item.class';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
@@ -7,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
7
8
|
* @category Components
|
|
8
9
|
*/
|
|
9
10
|
export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
11
|
+
type: AXButtonType;
|
|
10
12
|
/**
|
|
11
13
|
* @ignore
|
|
12
14
|
*/
|
|
@@ -16,5 +18,5 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
16
18
|
click(): void;
|
|
17
19
|
private get __hostClass();
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
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"; "lookChange": "lookChange"; "colorChange": "colorChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"], false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "size": "size"; "tabIndex": "tabIndex"; "color": "color"; "look": "look"; "text": "text"; "toggleable": "toggleable"; "selected": "selected"; "type": "type"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"], false>;
|
|
20
22
|
}
|
|
@@ -9,25 +9,25 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
9
9
|
interface: 'calendar' | 'picker';
|
|
10
10
|
rtl: boolean;
|
|
11
11
|
private get _viewRange();
|
|
12
|
-
_today: AXDateTime;
|
|
12
|
+
protected _today: AXDateTime;
|
|
13
13
|
private _viewStartDate;
|
|
14
|
-
_navText: string;
|
|
15
|
-
_todayText: string;
|
|
16
|
-
_slots: any[];
|
|
17
|
-
_dayNames: string[];
|
|
14
|
+
protected _navText: string;
|
|
15
|
+
protected _todayText: string;
|
|
16
|
+
protected _slots: any[];
|
|
17
|
+
protected _dayNames: string[];
|
|
18
18
|
private _isUserInteraction;
|
|
19
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
20
20
|
private _initValues;
|
|
21
21
|
private _refresh;
|
|
22
|
-
onInit(): void;
|
|
22
|
+
protected onInit(): void;
|
|
23
23
|
private _genearteSlots;
|
|
24
|
-
_handlePrevClick(e: AXClickEvent): void;
|
|
25
|
-
_handleNextClick(e: AXClickEvent): void;
|
|
26
|
-
_handleSlotClick(e: MouseEvent, slot: any): void;
|
|
27
|
-
_handleNavClick(e: AXClickEvent): void;
|
|
28
|
-
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
29
|
-
_onValueChanged(oldValue: any, newValue: any): void;
|
|
30
|
-
_handleGoToday(): void;
|
|
24
|
+
protected _handlePrevClick(e: AXClickEvent): void;
|
|
25
|
+
protected _handleNextClick(e: AXClickEvent): void;
|
|
26
|
+
protected _handleSlotClick(e: MouseEvent, slot: any): void;
|
|
27
|
+
protected _handleNavClick(e: AXClickEvent): void;
|
|
28
|
+
protected _onOptionChanged(option: AXComponentOptionChanged): void;
|
|
29
|
+
protected _onValueChanged(oldValue: any, newValue: any): void;
|
|
30
|
+
protected _handleGoToday(): void;
|
|
31
31
|
next(): void;
|
|
32
32
|
prev(): void;
|
|
33
33
|
focus(): void;
|
|
@@ -36,17 +36,17 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
36
36
|
navTo(date: Date | AXDateTime): void;
|
|
37
37
|
private get __hostClass();
|
|
38
38
|
private _setDate;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
_pickerDays: number[];
|
|
43
|
-
_pickerMonths: {
|
|
39
|
+
protected isDisabled(date: AXDateTime): boolean;
|
|
40
|
+
protected isHoliday(date: AXDateTime): boolean;
|
|
41
|
+
protected isWeekend(date: AXDateTime): boolean;
|
|
42
|
+
protected _pickerDays: number[];
|
|
43
|
+
protected _pickerMonths: {
|
|
44
44
|
text: string;
|
|
45
45
|
value: number;
|
|
46
46
|
}[];
|
|
47
|
-
_pickerYears: number[];
|
|
47
|
+
protected _pickerYears: number[];
|
|
48
48
|
private _generatePickerItems;
|
|
49
|
-
_handlePickerChange(item: any, view: any): void;
|
|
49
|
+
protected _handlePickerChange(item: any, view: any): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
51
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "type": "type"; "holidayDates": "holidayDates"; "interface": "interface"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; }, never, never, false>;
|
|
52
52
|
}
|
|
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
|
|
|
6
6
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
9
|
-
"__#
|
|
9
|
+
"__#34341@#disabled": boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
11
|
+
"__#34341@#tabIndex": number;
|
|
12
12
|
tabIndex: number;
|
|
13
13
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
14
14
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -18,7 +18,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
18
18
|
hasFocus(): boolean;
|
|
19
19
|
id: string;
|
|
20
20
|
rtl: boolean;
|
|
21
|
-
"__#
|
|
21
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
22
22
|
_cdr: ChangeDetectorRef;
|
|
23
23
|
_isInited: boolean;
|
|
24
24
|
_isRendered: boolean;
|
|
@@ -52,7 +52,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
52
52
|
readonly isOpen: boolean;
|
|
53
53
|
id: string;
|
|
54
54
|
rtl: boolean;
|
|
55
|
-
"__#
|
|
55
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
56
56
|
_cdr: ChangeDetectorRef;
|
|
57
57
|
_isInited: boolean;
|
|
58
58
|
_isRendered: boolean;
|
|
@@ -71,17 +71,17 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
71
71
|
}) & (new (...args: any[]) => {
|
|
72
72
|
onValueChanged: import("@angular/core").EventEmitter<AXValueChangedEvent<any>>;
|
|
73
73
|
valueChange: import("@angular/core").EventEmitter<any>;
|
|
74
|
-
"__#
|
|
74
|
+
"__#34342@#readonly": boolean;
|
|
75
75
|
readonly: boolean;
|
|
76
|
-
"__#
|
|
76
|
+
"__#34342@#allowNull": boolean;
|
|
77
77
|
allowNull: boolean;
|
|
78
|
-
"__#
|
|
78
|
+
"__#34342@#name": string;
|
|
79
79
|
name: string;
|
|
80
|
-
"__#
|
|
80
|
+
"__#34342@#isUserInteraction": boolean;
|
|
81
81
|
readonly isUserInteraction: boolean;
|
|
82
|
-
"__#
|
|
82
|
+
"__#34342@#value": any;
|
|
83
83
|
value: any;
|
|
84
|
-
"__#
|
|
84
|
+
"__#34342@#state": "error" | "clear" | "success";
|
|
85
85
|
readonly state: "error" | "clear" | "success";
|
|
86
86
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
87
87
|
_internalSetValue(value: any): any;
|
|
@@ -97,7 +97,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
97
97
|
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
98
98
|
id: string;
|
|
99
99
|
rtl: boolean;
|
|
100
|
-
"__#
|
|
100
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
101
101
|
_cdr: ChangeDetectorRef;
|
|
102
102
|
_isInited: boolean;
|
|
103
103
|
_isRendered: boolean;
|
|
@@ -118,22 +118,15 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
118
118
|
placeholder: string;
|
|
119
119
|
maxLength: number;
|
|
120
120
|
autoComplete: string;
|
|
121
|
-
debounceTime: number;
|
|
122
|
-
"__#32625@#valueSubscription": import("rxjs").Subscription;
|
|
123
|
-
"__#32625@#valueSubject": import("rxjs").Subject<unknown>;
|
|
124
121
|
onKeyDown: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
125
122
|
onKeyUp: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
126
123
|
onKeyPress: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
127
124
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
128
125
|
_emitOnKeyupEvent(e: KeyboardEvent): void;
|
|
129
126
|
_emitOnKeypressEvent(e: KeyboardEvent): void;
|
|
130
|
-
_handleModleChange(value: any): void;
|
|
131
|
-
_settleValue(value: any): void;
|
|
132
|
-
onInit(): void;
|
|
133
|
-
onDestroy(): void;
|
|
134
127
|
id: string;
|
|
135
128
|
rtl: boolean;
|
|
136
|
-
"__#
|
|
129
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
137
130
|
_cdr: ChangeDetectorRef;
|
|
138
131
|
_isInited: boolean;
|
|
139
132
|
_isRendered: boolean;
|
|
@@ -145,7 +138,11 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
|
145
138
|
_onInternalInit(): void;
|
|
146
139
|
_onInternalViewInit(): void;
|
|
147
140
|
_onInternalDestroy(): void;
|
|
148
|
-
|
|
141
|
+
onInit(): void;
|
|
142
|
+
onViewInit(): void; /**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
onDestroy(): void;
|
|
149
146
|
_onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
|
|
150
147
|
_onOptionChanged(option: import("@acorex/components/mixin").AXComponentOptionChanged): void;
|
|
151
148
|
_setOption(option: import("@acorex/components/mixin").AXComponentSetOption): void;
|
|
@@ -180,5 +177,5 @@ export declare class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
|
180
177
|
_handlePopupOnOpened(e: any): Promise<void>;
|
|
181
178
|
_handlePopupOnClosed(e: any): void;
|
|
182
179
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPickerComponent, never>;
|
|
183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPickerComponent, "ax-color-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "
|
|
180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPickerComponent, "ax-color-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-validation-rule", "ax-suffix"], false>;
|
|
184
181
|
}
|
package/common/public-api.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './src/events.class';
|
|
|
7
7
|
export * from './src/hotkey.directive';
|
|
8
8
|
export * from './src/hotkey.service';
|
|
9
9
|
export * from './src/infinite-scroll.directive';
|
|
10
|
+
export * from './src/debounce-time.directive';
|
|
10
11
|
export * from './src/overlay.service';
|
|
11
12
|
export * from './src/responsive.directive';
|
|
12
13
|
export * from './src/styles.class';
|
|
@@ -6,7 +6,8 @@ export declare class AXAutoFocusDirective implements AfterContentInit {
|
|
|
6
6
|
_host: AXFocusableComponent;
|
|
7
7
|
autoFocus?: boolean;
|
|
8
8
|
constructor(el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
|
9
|
+
time: number;
|
|
9
10
|
ngAfterContentInit(): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, [null, { optional: true; host: true; self: true; }]>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": "axAutoFocus"; }, {}, never, never, false>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": "axAutoFocus"; "time": "focus-time"; }, {}, never, never, false>;
|
|
12
13
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
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 "./
|
|
5
|
-
import * as i4 from "./
|
|
4
|
+
import * as i3 from "./debounce-time.directive";
|
|
5
|
+
import * as i4 from "./auto-focus.directive";
|
|
6
|
+
import * as i5 from "./hotkey.directive";
|
|
6
7
|
export declare class AXCommonModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXNgModelChangeDebouncedDirective, typeof i4.AXAutoFocusDirective, typeof i5.AXHotkeyDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i4.AXAutoFocusDirective, typeof i3.AXNgModelChangeDebouncedDirective, typeof i5.AXHotkeyDirective]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
|
|
10
11
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
+
import { NgModel } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXNgModelChangeDebouncedDirective implements OnDestroy {
|
|
5
|
+
private ngModel;
|
|
6
|
+
ngModelChangeDebounced: EventEmitter<any>;
|
|
7
|
+
ngModelChangeDebounceTimeChange: EventEmitter<number>;
|
|
8
|
+
private _ngModelChangeDebounceTime;
|
|
9
|
+
get ngModelChangeDebounceTime(): number;
|
|
10
|
+
set ngModelChangeDebounceTime(v: number);
|
|
11
|
+
private subscription;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
constructor(ngModel: NgModel);
|
|
14
|
+
private update;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXNgModelChangeDebouncedDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelChangeDebouncedDirective, "[ngModelChangeDebounced]", never, { "ngModelChangeDebounceTime": "ngModelChangeDebounceTime"; }, { "ngModelChangeDebounced": "ngModelChangeDebounced"; "ngModelChangeDebounceTimeChange": "ngModelChangeDebounceTimeChange"; }, never, never, false>;
|
|
17
|
+
}
|
|
@@ -17,14 +17,14 @@ export declare class AXEvent {
|
|
|
17
17
|
* Contains native event
|
|
18
18
|
* @category Events
|
|
19
19
|
*/
|
|
20
|
-
export declare class AXHtmlEvent<E extends Event> extends AXEvent {
|
|
20
|
+
export declare class AXHtmlEvent<E extends Event = Event> extends AXEvent {
|
|
21
21
|
nativeEvent?: E;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Contains native event
|
|
25
25
|
* @category Events
|
|
26
26
|
*/
|
|
27
|
-
export declare class AXValueChangedEvent<T> extends AXEvent {
|
|
27
|
+
export declare class AXValueChangedEvent<T = any> extends AXEvent {
|
|
28
28
|
name?: string;
|
|
29
29
|
value?: T;
|
|
30
30
|
oldValue?: T;
|
|
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
|
|
|
6
6
|
import { AXComponentOptionChanged } from '@acorex/components/mixin';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
9
|
-
"__#
|
|
9
|
+
"__#34341@#disabled": boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
11
|
+
"__#34341@#tabIndex": number;
|
|
12
12
|
tabIndex: number;
|
|
13
13
|
onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
14
14
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -18,7 +18,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
18
18
|
hasFocus(): boolean;
|
|
19
19
|
id: string;
|
|
20
20
|
rtl: boolean;
|
|
21
|
-
"__#
|
|
21
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
22
22
|
_cdr: ChangeDetectorRef;
|
|
23
23
|
_isInited: boolean;
|
|
24
24
|
_isRendered: boolean;
|
|
@@ -52,7 +52,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
52
52
|
readonly isOpen: boolean;
|
|
53
53
|
id: string;
|
|
54
54
|
rtl: boolean;
|
|
55
|
-
"__#
|
|
55
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
56
56
|
_cdr: ChangeDetectorRef;
|
|
57
57
|
_isInited: boolean;
|
|
58
58
|
_isRendered: boolean;
|
|
@@ -71,17 +71,17 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
71
71
|
}) & (new (...args: any[]) => {
|
|
72
72
|
onValueChanged: EventEmitter<import("@acorex/components/common").AXValueChangedEvent<any>>;
|
|
73
73
|
valueChange: EventEmitter<any>;
|
|
74
|
-
"__#
|
|
74
|
+
"__#34342@#readonly": boolean;
|
|
75
75
|
readonly: boolean;
|
|
76
|
-
"__#
|
|
76
|
+
"__#34342@#allowNull": boolean;
|
|
77
77
|
allowNull: boolean;
|
|
78
|
-
"__#
|
|
78
|
+
"__#34342@#name": string;
|
|
79
79
|
name: string;
|
|
80
|
-
"__#
|
|
80
|
+
"__#34342@#isUserInteraction": boolean;
|
|
81
81
|
readonly isUserInteraction: boolean;
|
|
82
|
-
"__#
|
|
82
|
+
"__#34342@#value": any;
|
|
83
83
|
value: any;
|
|
84
|
-
"__#
|
|
84
|
+
"__#34342@#state": "error" | "clear" | "success";
|
|
85
85
|
readonly state: "error" | "clear" | "success";
|
|
86
86
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
87
87
|
_internalSetValue(value: any): any;
|
|
@@ -97,7 +97,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
97
97
|
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
98
98
|
id: string;
|
|
99
99
|
rtl: boolean;
|
|
100
|
-
"__#
|
|
100
|
+
"__#34338@#elementRef": ElementRef<any>;
|
|
101
101
|
_cdr: ChangeDetectorRef;
|
|
102
102
|
_isInited: boolean;
|
|
103
103
|
_isRendered: boolean;
|
|
@@ -118,13 +118,13 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
118
118
|
private _platform;
|
|
119
119
|
popover: AXPopoverComponent;
|
|
120
120
|
private _calendar;
|
|
121
|
-
_target: HTMLDivElement;
|
|
121
|
+
protected _target: HTMLDivElement;
|
|
122
122
|
displayText: string;
|
|
123
|
-
_calendarValue: Date;
|
|
124
|
-
_cursorPos: number;
|
|
125
|
-
_isMobile: boolean;
|
|
126
|
-
_popoverTitle: string;
|
|
127
|
-
_popoverWidth: number;
|
|
123
|
+
protected _calendarValue: Date;
|
|
124
|
+
protected _cursorPos: number;
|
|
125
|
+
protected _isMobile: boolean;
|
|
126
|
+
protected _popoverTitle: string;
|
|
127
|
+
protected _popoverWidth: number;
|
|
128
128
|
formatChange: EventEmitter<string>;
|
|
129
129
|
private _format;
|
|
130
130
|
get format(): string;
|
|
@@ -134,14 +134,14 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
134
134
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _platform: AXPlatform);
|
|
135
135
|
onInit(): void;
|
|
136
136
|
private _updateDisplayText;
|
|
137
|
-
_handlePopoverOpened(e: any): void;
|
|
138
|
-
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
137
|
+
protected _handlePopoverOpened(e: any): void;
|
|
138
|
+
protected _handleArrowClickEvent(e: AXClickEvent): void;
|
|
139
139
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
140
140
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
141
|
-
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
142
|
-
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
143
|
-
_handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
141
|
+
protected _handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
142
|
+
protected _handleOnInputClickEvent(e: MouseEvent): void;
|
|
143
|
+
protected _handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
144
144
|
private _highlightPart;
|
|
145
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
146
|
-
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"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "
|
|
146
|
+
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"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; "interface": "interface"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "typeChange": "typeChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
|
|
147
147
|
}
|
|
@@ -9,9 +9,10 @@ import * as i7 from "./title.component";
|
|
|
9
9
|
import * as i8 from "./close-button.component";
|
|
10
10
|
import * as i9 from "./overlay.component";
|
|
11
11
|
import * as i10 from "./placeholder.component";
|
|
12
|
-
import * as i11 from "
|
|
12
|
+
import * as i11 from "./text.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
13
14
|
export declare class AXDecoratorModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorIconComponent, typeof i7.AXDecoratorTitleComponent, typeof i8.AXDecoratorCloseButtonComponent, typeof i9.AXDecoratorOverlayComponent, typeof i10.AXDecoratorPlaceholderComponent], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorIconComponent, typeof i7.AXDecoratorTitleComponent, typeof i8.AXDecoratorCloseButtonComponent, typeof i9.AXDecoratorOverlayComponent, typeof i10.AXDecoratorPlaceholderComponent, typeof i11.AXDecoratorTextComponent], [typeof i12.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent, typeof i4.AXDecoratorHeaderComponent, typeof i5.AXDecoratorFooterComponent, typeof i6.AXDecoratorIconComponent, typeof i7.AXDecoratorTitleComponent, typeof i8.AXDecoratorCloseButtonComponent, typeof i9.AXDecoratorOverlayComponent, typeof i10.AXDecoratorPlaceholderComponent, typeof i11.AXDecoratorTextComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDecoratorModule>;
|
|
17
18
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
|
2
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXDecoratorTextComponent extends AXBaseComponentMixin {
|
|
5
|
+
content: string;
|
|
6
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorTextComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorTextComponent, "ax-text", never, { "content": "content"; }, {}, never, never, false>;
|
|
9
|
+
}
|
|
@@ -23,7 +23,9 @@ export declare class AXDialogService {
|
|
|
23
23
|
/**
|
|
24
24
|
* Show a confirm box with 'Okay' & 'Cancel' buttons.
|
|
25
25
|
*/
|
|
26
|
-
confirm(title: string, content: string, type?: AXStyleColorType): Promise<
|
|
26
|
+
confirm(title: string, content: string, type?: AXStyleColorType): Promise<{
|
|
27
|
+
result: boolean;
|
|
28
|
+
}>;
|
|
27
29
|
/**
|
|
28
30
|
* Show a custom dialog box.
|
|
29
31
|
*/
|