@acorex/components 5.0.7 → 5.0.13
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/bundles/acorex-components.umd.js +1132 -954
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/lib/badge/badge.component.js +2 -2
- package/esm2015/lib/base/mixin/base-components.class.js +22 -3
- package/esm2015/lib/base/mixin/button-mixin.class.js +92 -105
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +1 -1
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +63 -9
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +4 -4
- package/esm2015/lib/base/mixin/mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/value-mixin.class.js +9 -4
- package/esm2015/lib/button/button-group.component.js +4 -4
- package/esm2015/lib/calendar/calendar.class.js +97 -0
- package/esm2015/lib/calendar/calendar.component.js +18 -68
- package/esm2015/lib/checkbox/checkbox.component.js +29 -11
- package/esm2015/lib/datepicker/datepicker.component.js +119 -65
- package/esm2015/lib/datepicker/datepicker.module.js +30 -6
- package/esm2015/lib/decorators/content.component.js +26 -0
- package/esm2015/lib/decorators/decorators.module.js +4 -3
- package/esm2015/lib/decorators/index.js +2 -1
- package/esm2015/lib/decorators/prefix.component.js +3 -4
- package/esm2015/lib/decorators/suffix.component.js +3 -4
- package/esm2015/lib/dialog/dialog.component.js +2 -2
- package/esm2015/lib/dropdown/dropdown-panel.component.js +7 -4
- package/esm2015/lib/dropdown/dropdown.component.js +10 -7
- package/esm2015/lib/form/form-hint.component.js +3 -3
- package/esm2015/lib/label/label.component.js +4 -4
- package/esm2015/lib/page/base-page.class.js +2 -1
- package/esm2015/lib/page/page-footer.component.js +3 -7
- package/esm2015/lib/popup/popup.component.js +16 -8
- package/esm2015/lib/radio/index.js +3 -0
- package/esm2015/lib/radio/radio.component.js +22 -0
- package/esm2015/lib/radio/radio.module.js +21 -0
- package/esm2015/lib/selectbox/selectbox.component.js +2 -2
- package/esm2015/lib/selection-list/selection-list.component.js +2 -2
- package/esm2015/lib/tabs/tab-content.directive.js +7 -5
- package/esm2015/lib/tabs/tab-item.component.js +29 -14
- package/esm2015/lib/tabs/tabs.component.js +15 -22
- package/esm2015/public-api.js +2 -1
- package/fesm2015/acorex-components.js +1051 -881
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/base/mixin/base-components.class.d.ts +23 -18
- package/lib/base/mixin/button-mixin.class.d.ts +12 -17
- package/lib/base/mixin/clickable-mixin.class.d.ts +4 -9
- package/lib/base/mixin/datalist-component.class.d.ts +10 -15
- package/lib/base/mixin/dropdown-mixin.class.d.ts +17 -12
- package/lib/base/mixin/interactive-mixin.class.d.ts +6 -11
- package/lib/base/mixin/loading-mixin.class.d.ts +4 -9
- package/lib/base/mixin/mixin.class.d.ts +182 -164
- package/lib/base/mixin/selection-component.class.d.ts +4 -9
- package/lib/base/mixin/sizable-mixin.class.d.ts +4 -9
- package/lib/base/mixin/textbox-mixin.class.d.ts +5 -12
- package/lib/base/mixin/value-mixin.class.d.ts +16 -20
- package/lib/button/button-item.component.d.ts +10 -20
- package/lib/calendar/calendar.class.d.ts +38 -0
- package/lib/calendar/calendar.component.d.ts +5 -26
- package/lib/checkbox/checkbox.component.d.ts +6 -5
- package/lib/datepicker/datepicker.component.d.ts +170 -16
- package/lib/datepicker/datepicker.module.d.ts +8 -2
- package/lib/decorators/content.component.d.ts +8 -0
- package/lib/decorators/decorators.module.d.ts +3 -2
- package/lib/decorators/index.d.ts +1 -0
- package/lib/dropdown/dropdown-panel.component.d.ts +4 -5
- package/lib/dropdown/dropdown.component.d.ts +5 -6
- package/lib/label/label.component.d.ts +2 -2
- package/lib/popup/popup.component.d.ts +3 -2
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio/radio.component.d.ts +8 -0
- package/lib/radio/radio.module.d.ts +8 -0
- package/lib/tabs/tab-item.component.d.ts +2 -1
- package/lib/tabs/tabs.component.d.ts +2 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2015/lib/dropdown/dropdown-base.class.js +0 -98
- package/lib/dropdown/dropdown-base.class.d.ts +0 -92
|
@@ -2,9 +2,9 @@ import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { AXBaseComponent, AXStyleColorType } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
5
|
-
"__#
|
|
5
|
+
"__#3@#disabled": boolean;
|
|
6
6
|
disabled: boolean;
|
|
7
|
-
"__#
|
|
7
|
+
"__#3@#tabIndex": number;
|
|
8
8
|
tabIndex: number;
|
|
9
9
|
onFocus: import("@angular/core").EventEmitter<import("../base").AXFocusEvent>;
|
|
10
10
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -28,17 +28,12 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
28
28
|
_onInternalViewInit(): void;
|
|
29
29
|
_onInternalDestroy(): void;
|
|
30
30
|
onInit(): void;
|
|
31
|
+
onRenderCssClass(): void;
|
|
31
32
|
onViewInit(): void;
|
|
32
33
|
onDestroy(): void;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}): any;
|
|
37
|
-
onOptionChanged(option: {
|
|
38
|
-
name: string;
|
|
39
|
-
oldValue?: any;
|
|
40
|
-
newValue?: any;
|
|
41
|
-
}): void;
|
|
34
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
35
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
36
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
42
37
|
}) & {
|
|
43
38
|
new (...args: any[]): {
|
|
44
39
|
onClick: import("@angular/core").EventEmitter<import("../base").AXClickEvent>;
|
|
@@ -60,17 +55,12 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
|
60
55
|
_onInternalViewInit(): void;
|
|
61
56
|
_onInternalDestroy(): void;
|
|
62
57
|
onInit(): void;
|
|
58
|
+
onRenderCssClass(): void;
|
|
63
59
|
onViewInit(): void;
|
|
64
60
|
onDestroy(): void;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}): any;
|
|
69
|
-
onOptionChanged(option: {
|
|
70
|
-
name: string;
|
|
71
|
-
oldValue?: any;
|
|
72
|
-
newValue?: any;
|
|
73
|
-
}): void;
|
|
61
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
62
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
63
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
74
64
|
};
|
|
75
65
|
} & typeof AXBaseComponent;
|
|
76
66
|
export declare class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
+
import { AXBaseComponent } from "../base";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare type AXCalendarViewType = 'years' | 'months' | 'days';
|
|
5
|
+
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
6
|
+
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
7
|
+
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
8
|
+
export declare class AXCalendarBaseComponent extends AXBaseComponent {
|
|
9
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
|
+
activeViewChange: EventEmitter<AXCalendarViewType>;
|
|
11
|
+
private _activeView;
|
|
12
|
+
get activeView(): AXCalendarViewType;
|
|
13
|
+
set activeView(v: AXCalendarViewType);
|
|
14
|
+
depthChange: EventEmitter<AXCalendarViewDepth>;
|
|
15
|
+
private _depth;
|
|
16
|
+
get depth(): AXCalendarViewDepth;
|
|
17
|
+
set depth(v: AXCalendarViewDepth);
|
|
18
|
+
minChange: EventEmitter<Date>;
|
|
19
|
+
private _min;
|
|
20
|
+
get min(): Date;
|
|
21
|
+
set min(v: Date);
|
|
22
|
+
maxChange: EventEmitter<Date>;
|
|
23
|
+
private _max;
|
|
24
|
+
get max(): Date;
|
|
25
|
+
set max(v: Date);
|
|
26
|
+
disabledDatesChange: EventEmitter<AXCalendarDisabledDates>;
|
|
27
|
+
private _disabledDates;
|
|
28
|
+
get disabledDates(): AXCalendarDisabledDates;
|
|
29
|
+
set disabledDates(v: AXCalendarDisabledDates);
|
|
30
|
+
holidayDatesChange: EventEmitter<AXCalendarHolidayDates>;
|
|
31
|
+
private _holidayDates;
|
|
32
|
+
get holidayDates(): AXCalendarHolidayDates;
|
|
33
|
+
set holidayDates(v: AXCalendarHolidayDates);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarBaseComponent, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCalendarBaseComponent>;
|
|
36
|
+
}
|
|
37
|
+
export declare const CALENDAR_INPUTS: string[];
|
|
38
|
+
export declare const CALENDAR_OUTPUTS: string[];
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { AXDateTime } from '@acorex/core';
|
|
2
|
-
import { ElementRef, ChangeDetectorRef
|
|
3
|
-
import {
|
|
2
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { AXClickEvent, AXComponentOptionChanged } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare
|
|
6
|
-
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
7
|
-
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
8
|
-
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
5
|
+
export declare const AXCalendarComponentMixin: any;
|
|
9
6
|
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
10
7
|
private cdr;
|
|
11
8
|
private get _viewRange();
|
|
@@ -14,25 +11,6 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
14
11
|
_navText: string;
|
|
15
12
|
_todayText: string;
|
|
16
13
|
_slots: any[];
|
|
17
|
-
private _activeView;
|
|
18
|
-
get activeView(): AXCalendarViewType;
|
|
19
|
-
set activeView(v: AXCalendarViewType);
|
|
20
|
-
depthChange: EventEmitter<AXCalendarViewDepth>;
|
|
21
|
-
private _depth;
|
|
22
|
-
get depth(): AXCalendarViewDepth;
|
|
23
|
-
set depth(v: AXCalendarViewDepth);
|
|
24
|
-
private _min;
|
|
25
|
-
get min(): Date;
|
|
26
|
-
set min(v: Date);
|
|
27
|
-
private _max;
|
|
28
|
-
get max(): Date;
|
|
29
|
-
set max(v: Date);
|
|
30
|
-
private _disabledDates;
|
|
31
|
-
get disabledDates(): AXCalendarDisabledDates;
|
|
32
|
-
set disabledDates(v: AXCalendarDisabledDates);
|
|
33
|
-
private _holidayDates;
|
|
34
|
-
get holidayDates(): AXCalendarHolidayDates;
|
|
35
|
-
set holidayDates(v: AXCalendarHolidayDates);
|
|
36
14
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
37
15
|
onInit(): void;
|
|
38
16
|
private _genearteSlots;
|
|
@@ -40,6 +18,7 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
40
18
|
_handleNextClick(e: AXClickEvent): void;
|
|
41
19
|
_handleSlotClick(slot: any): void;
|
|
42
20
|
_handleNavClick(e: AXClickEvent): void;
|
|
21
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
43
22
|
_onValueChanged(oldValue: any, newValue: any): void;
|
|
44
23
|
_handleGoToday(): void;
|
|
45
24
|
next(): void;
|
|
@@ -52,5 +31,5 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
52
31
|
private isHoliday;
|
|
53
32
|
private isWeekend;
|
|
54
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
|
|
56
35
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
2
|
import { AXBaseValueComponentMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXCheckBoxComponent extends AXBaseValueComponentMixin {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_hint: QueryList<ElementRef>;
|
|
6
|
+
_label: QueryList<ElementRef>;
|
|
7
7
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
8
|
onInit(): void;
|
|
9
|
-
|
|
9
|
+
_onValueChanging(value: any): any;
|
|
10
|
+
_handleOnClickEvent(e: MouseEvent): boolean;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_hint", "_label"], ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
|
|
12
13
|
}
|
|
@@ -1,18 +1,172 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent, AXClickEvent } from '../base';
|
|
3
|
+
import { AXCalendarBaseComponent } from '../calendar/calendar.class';
|
|
4
|
+
import { AXPopoverComponent } from '../popover/popover.component';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
7
|
+
"__#3@#disabled": boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
"__#3@#tabIndex": number;
|
|
10
|
+
tabIndex: number;
|
|
11
|
+
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
12
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
13
|
+
onBlur: EventEmitter<import("../base").AXFocusEvent>;
|
|
14
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
15
|
+
focus(): void;
|
|
16
|
+
id: string;
|
|
17
|
+
rtl: boolean;
|
|
18
|
+
cssClass: string;
|
|
19
|
+
cssStyle: string;
|
|
20
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
21
|
+
_cdr: ChangeDetectorRef;
|
|
22
|
+
_isInited: boolean;
|
|
23
|
+
_isRendered: boolean;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
28
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
29
|
+
_onInternalInit(): void;
|
|
30
|
+
_onInternalViewInit(): void;
|
|
31
|
+
_onInternalDestroy(): void;
|
|
32
|
+
onInit(): void;
|
|
33
|
+
onRenderCssClass(): void;
|
|
34
|
+
onViewInit(): void;
|
|
35
|
+
onDestroy(): void;
|
|
36
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
37
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
38
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
39
|
+
}) & (abstract new (...args: any[]) => {
|
|
40
|
+
fitParent: boolean;
|
|
41
|
+
readonly: boolean;
|
|
42
|
+
dropdownWidth: number;
|
|
43
|
+
onOpened: EventEmitter<import("../base").AXEvent>;
|
|
44
|
+
onClosed: EventEmitter<import("../base").AXEvent>;
|
|
45
|
+
popover: AXPopoverComponent;
|
|
46
|
+
position: import("../base").AXConnectedPosition[];
|
|
47
|
+
_emitOnOpenedEvent(): void;
|
|
48
|
+
_emitOnClosedEvent(): void;
|
|
49
|
+
onViewInit(): void;
|
|
50
|
+
toggle(): void;
|
|
51
|
+
close(): void;
|
|
52
|
+
open(): void;
|
|
53
|
+
readonly isOpen: boolean;
|
|
54
|
+
id: string;
|
|
55
|
+
rtl: boolean;
|
|
56
|
+
cssClass: string;
|
|
57
|
+
cssStyle: string;
|
|
58
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
59
|
+
_cdr: ChangeDetectorRef;
|
|
60
|
+
_isInited: boolean;
|
|
61
|
+
_isRendered: boolean;
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
ngAfterViewInit(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
65
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
66
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
67
|
+
_onInternalInit(): void;
|
|
68
|
+
_onInternalViewInit(): void;
|
|
69
|
+
_onInternalDestroy(): void;
|
|
70
|
+
onInit(): void;
|
|
71
|
+
onRenderCssClass(): void;
|
|
72
|
+
onDestroy(): void;
|
|
73
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
74
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
75
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
76
|
+
}) & {
|
|
77
|
+
new (...args: any[]): {
|
|
78
|
+
onValueChanged: EventEmitter<import("../base").AXValueChangedEvent<any>>;
|
|
79
|
+
valueChange: EventEmitter<any>;
|
|
80
|
+
"__#4@#readonly": boolean;
|
|
81
|
+
readonly: boolean;
|
|
82
|
+
"__#4@#allowNull": boolean;
|
|
83
|
+
allowNull: boolean;
|
|
84
|
+
"__#4@#name": string;
|
|
85
|
+
name: string;
|
|
86
|
+
"__#4@#debounceTime": number;
|
|
87
|
+
debounceTime: number;
|
|
88
|
+
"__#4@#valueSubscription": import("rxjs").Subscription;
|
|
89
|
+
"__#4@#valueSubject": import("rxjs").Subject<unknown>;
|
|
90
|
+
"__#4@#value": any;
|
|
91
|
+
value: any;
|
|
92
|
+
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
93
|
+
_onInternalValueChanging(value: any): any;
|
|
94
|
+
_onValueChanging(value: any): any;
|
|
95
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
96
|
+
_onInternalInit(): void;
|
|
97
|
+
_onInternalDestroy(): void;
|
|
98
|
+
_setValue(v: any): void;
|
|
99
|
+
clear(): void;
|
|
100
|
+
validate(): Promise<import("../validation/validation.class").AXValidationRuleResult>;
|
|
101
|
+
_setErrorState(state: "error" | "success" | "clear", ...args: any[]): void;
|
|
102
|
+
id: string;
|
|
103
|
+
rtl: boolean;
|
|
104
|
+
cssClass: string;
|
|
105
|
+
cssStyle: string;
|
|
106
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
107
|
+
_cdr: ChangeDetectorRef;
|
|
108
|
+
_isInited: boolean;
|
|
109
|
+
_isRendered: boolean;
|
|
110
|
+
ngOnInit(): void;
|
|
111
|
+
ngAfterViewInit(): void;
|
|
112
|
+
ngOnDestroy(): void;
|
|
113
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
114
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
115
|
+
_onInternalViewInit(): void;
|
|
116
|
+
onInit(): void;
|
|
117
|
+
onRenderCssClass(): void;
|
|
118
|
+
onViewInit(): void;
|
|
119
|
+
onDestroy(): void;
|
|
120
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
121
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
122
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
123
|
+
};
|
|
124
|
+
} & {
|
|
125
|
+
new (...args: any[]): {
|
|
126
|
+
placeholder: string;
|
|
127
|
+
maxLength: number;
|
|
128
|
+
autoComplete: boolean;
|
|
129
|
+
onKeyDown: EventEmitter<import("../base").AXHtmlEvent<KeyboardEvent>>;
|
|
130
|
+
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
131
|
+
id: string;
|
|
132
|
+
rtl: boolean;
|
|
133
|
+
cssClass: string;
|
|
134
|
+
cssStyle: string;
|
|
135
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
136
|
+
_cdr: ChangeDetectorRef;
|
|
137
|
+
_isInited: boolean;
|
|
138
|
+
_isRendered: boolean;
|
|
139
|
+
ngOnInit(): void;
|
|
140
|
+
ngAfterViewInit(): void;
|
|
141
|
+
ngOnDestroy(): void;
|
|
142
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
143
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
144
|
+
_onInternalInit(): void;
|
|
145
|
+
_onInternalViewInit(): void;
|
|
146
|
+
_onInternalDestroy(): void;
|
|
147
|
+
onInit(): void;
|
|
148
|
+
onRenderCssClass(): void;
|
|
149
|
+
onViewInit(): void;
|
|
150
|
+
onDestroy(): void;
|
|
151
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
152
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
153
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
154
|
+
};
|
|
155
|
+
} & typeof AXCalendarBaseComponent;
|
|
156
|
+
export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
157
|
+
popover: AXPopoverComponent;
|
|
158
|
+
_target: AXBaseComponent;
|
|
159
|
+
displayText: string;
|
|
160
|
+
formatChange: EventEmitter<string>;
|
|
161
|
+
private _format;
|
|
162
|
+
get format(): string;
|
|
163
|
+
set format(v: string);
|
|
164
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
165
|
+
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
166
|
+
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
167
|
+
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
168
|
+
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
169
|
+
private _highlightPart;
|
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
171
|
+
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"; "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"]>;
|
|
18
172
|
}
|
|
@@ -2,9 +2,15 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./datepicker.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../calendar/calendar.module";
|
|
5
|
-
import * as i4 from "../
|
|
5
|
+
import * as i4 from "../textbox/textbox.module";
|
|
6
|
+
import * as i5 from "../button/button.module";
|
|
7
|
+
import * as i6 from "../popover/popover.module";
|
|
8
|
+
import * as i7 from "../decorators/decorators.module";
|
|
9
|
+
import * as i8 from "../icon/icon.module";
|
|
10
|
+
import * as i9 from "@acorex/core";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
6
12
|
export declare class AXDatepickerModule {
|
|
7
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatepickerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDatepickerModule, [typeof i1.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXDatepickerModule, [typeof i1.AXDatePickerComponent], [typeof i2.CommonModule, typeof i3.AXCalendarModule, typeof i4.AXTextBoxModule, typeof i5.AXButtonModule, typeof i6.AXPopoverModule, typeof i7.AXEditorDecoratorModule, typeof i8.AXIconModule, typeof i9.AXDateTimeModule, typeof i10.FormsModule], [typeof i1.AXDatePickerComponent]>;
|
|
9
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXDatepickerModule>;
|
|
10
16
|
}
|
|
@@ -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 AXDecoratorContentComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorContentComponent, "ax-content", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./prefix.component";
|
|
3
3
|
import * as i2 from "./suffix.component";
|
|
4
|
-
import * as i3 from "
|
|
4
|
+
import * as i3 from "./content.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
5
6
|
export declare class AXEditorDecoratorModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXEditorDecoratorModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXEditorDecoratorModule, [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent], [typeof i4.CommonModule], [typeof i1.AXDecoratorPrefixComponent, typeof i2.AXDecoratorSuffixComponent, typeof i3.AXDecoratorContentComponent]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXEditorDecoratorModule>;
|
|
9
10
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef, QueryList, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import { AXButtonClickEvent, AXClickEvent } from '../base';
|
|
3
|
+
import { AXBaseDropdownMixin, AXButtonClickEvent, AXClickEvent } from '../base';
|
|
4
4
|
import { AXButtonComponent, AXButtonItem, AXButtonItemComponent } from '../button';
|
|
5
5
|
import { AXPopoverComponent } from '../popover';
|
|
6
|
-
import { AXBaseDropDownComponent } from './dropdown-base.class';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AXDropdownPanelComponent extends
|
|
7
|
+
export declare class AXDropdownPanelComponent extends AXBaseDropdownMixin {
|
|
9
8
|
_parent: AXButtonComponent;
|
|
10
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _parent: AXButtonComponent);
|
|
11
10
|
_contentButtons: QueryList<AXButtonItemComponent>;
|
|
12
11
|
_viewButtons: QueryList<AXButtonItemComponent>;
|
|
13
12
|
onItemClick: EventEmitter<AXButtonClickEvent>;
|
|
14
|
-
|
|
13
|
+
popover: AXPopoverComponent;
|
|
15
14
|
private _items;
|
|
16
15
|
get items(): AXButtonItem[];
|
|
17
16
|
set items(v: AXButtonItem[]);
|
|
@@ -24,5 +23,5 @@ export declare class AXDropdownPanelComponent extends AXBaseDropDownComponent {
|
|
|
24
23
|
_emitOnItemClickEvent(e: AXClickEvent, item: AXButtonItemComponent): void;
|
|
25
24
|
private _handleOnItemClick;
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownPanelComponent, [null, null, { optional: true; }]>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownPanelComponent, "ax-dropdown-panel", never, { "items": "items"; }, { "onItemClick": "onItemClick"; }, ["_contentButtons"], ["[panel],ax-button-item"]>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownPanelComponent, "ax-dropdown-panel", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "items": "items"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["[panel],ax-button-item"]>;
|
|
28
27
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponent } from '../base';
|
|
3
|
-
import { AXPopoverComponent } from '../popover';
|
|
4
|
-
import { AXBaseDropDownComponent } from './dropdown-base.class';
|
|
2
|
+
import { AXBaseComponent, AXBaseDropdownMixin } from '../base';
|
|
3
|
+
import { AXPopoverComponent } from '../popover/popover.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AXDropdownComponent extends
|
|
7
|
-
|
|
5
|
+
export declare class AXDropdownComponent extends AXBaseDropdownMixin {
|
|
6
|
+
popover: AXPopoverComponent;
|
|
8
7
|
_target: AXBaseComponent;
|
|
9
8
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
10
9
|
_handleArrowClickEvent(): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownComponent, "ax-drop-down", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownComponent, "ax-drop-down", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "[input]", "ax-suffix", "[panel]"]>;
|
|
13
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXLabelComponent extends
|
|
4
|
+
export declare class AXLabelComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, {}, {}, never, ["*"]>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, ViewContainerRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, ViewContainerRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { AXBaseComponentMixin } from '../base';
|
|
3
3
|
import { AXPageCloseEvent } from '../page/base-page.class';
|
|
4
4
|
import { AXLoadingService } from '../loading';
|
|
5
5
|
import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AXPopupComponent extends AXBaseComponentMixin {
|
|
8
|
+
private _zone;
|
|
8
9
|
private _viewContainerRef;
|
|
9
10
|
private loadingService;
|
|
10
11
|
isLoading: boolean;
|
|
@@ -19,7 +20,7 @@ export declare class AXPopupComponent extends AXBaseComponentMixin {
|
|
|
19
20
|
_selectedPortal: Portal<any>;
|
|
20
21
|
_footerPortal: Portal<any>;
|
|
21
22
|
_headerPortal: Portal<any>;
|
|
22
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _viewContainerRef: ViewContainerRef, loadingService: AXLoadingService);
|
|
23
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _zone: NgZone, _viewContainerRef: ViewContainerRef, loadingService: AXLoadingService);
|
|
23
24
|
onViewInit(): void;
|
|
24
25
|
_handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
|
25
26
|
onKeydownHandler(event: KeyboardEvent): void;
|
|
@@ -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 AXRadioComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, {}, {}, never, ["ax-label", "ax-form-hint", "ax-validation-rule"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AXRadioModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXRadioModule, [typeof i1.AXRadioComponent], [typeof i2.CommonModule], [typeof i1.AXRadioComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXRadioModule>;
|
|
8
|
+
}
|
|
@@ -6,11 +6,12 @@ export declare class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
6
6
|
text: string;
|
|
7
7
|
width: boolean;
|
|
8
8
|
template: TemplateRef<any>;
|
|
9
|
+
headerTemplate: TemplateRef<any>;
|
|
9
10
|
activeChange: EventEmitter<boolean>;
|
|
10
11
|
private _active;
|
|
11
12
|
get active(): boolean;
|
|
12
13
|
set active(v: boolean);
|
|
13
14
|
private __hostClick;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "width": "width"; "active": "active"; }, { "activeChange": "activeChange"; },
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "width": "width"; "active": "active"; }, { "activeChange": "activeChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"]>;
|
|
16
17
|
}
|
|
@@ -5,15 +5,13 @@ import { AXTabContentDirective } from './tab-content.directive';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AXTabsComponent extends AXBaseComponent {
|
|
7
7
|
_contentTabs: QueryList<AXTabItemComponent>;
|
|
8
|
-
mode: 'default' | 'end-line' | 'start-line' | 'pills' | 'pills-color';
|
|
9
|
-
direction: "horizontal" | "vertical";
|
|
10
8
|
fitParent: boolean;
|
|
11
9
|
minWidth: boolean;
|
|
12
10
|
content: AXTabContentDirective;
|
|
13
11
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
12
|
+
onRenderCssClass(): void;
|
|
14
13
|
onViewInit(): void;
|
|
15
14
|
_handleSelectionChanged(e: AXTabItemComponent): void;
|
|
16
|
-
private get __hostClass();
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, {}, ["_contentTabs"], ["ax-tab-item"]>;
|
|
19
17
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from "./lib/page";
|
|
|
26
26
|
export * from "./lib/password-box";
|
|
27
27
|
export * from "./lib/popover";
|
|
28
28
|
export * from "./lib/popup";
|
|
29
|
+
export * from "./lib/radio";
|
|
29
30
|
export * from "./lib/range-slider";
|
|
30
31
|
export * from "./lib/selectbox";
|
|
31
32
|
export * from "./lib/selection-list";
|