@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
|
@@ -6,6 +6,21 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* A token that specifies the size of component.
|
|
7
7
|
*/
|
|
8
8
|
export declare type AXElementSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
export declare type AXComponentOptionChanging = {
|
|
10
|
+
name: string;
|
|
11
|
+
value?: any;
|
|
12
|
+
};
|
|
13
|
+
export declare type AXComponentOptionChanged = {
|
|
14
|
+
name: string;
|
|
15
|
+
newValue?: any;
|
|
16
|
+
oldValue?: any;
|
|
17
|
+
};
|
|
18
|
+
export declare type AXComponentSetOption = {
|
|
19
|
+
name: string;
|
|
20
|
+
value?: any;
|
|
21
|
+
afterCallback?: () => void;
|
|
22
|
+
beforeCallback?: () => void;
|
|
23
|
+
};
|
|
9
24
|
export declare class AXBaseComponent {
|
|
10
25
|
#private;
|
|
11
26
|
id: string;
|
|
@@ -31,17 +46,12 @@ export declare class AXBaseComponent {
|
|
|
31
46
|
_onInternalViewInit(): void;
|
|
32
47
|
_onInternalDestroy(): void;
|
|
33
48
|
onInit(): void;
|
|
49
|
+
onRenderCssClass(): void;
|
|
34
50
|
onViewInit(): void;
|
|
35
51
|
onDestroy(): void;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}): any;
|
|
40
|
-
onOptionChanged(option: {
|
|
41
|
-
name: string;
|
|
42
|
-
oldValue?: any;
|
|
43
|
-
newValue?: any;
|
|
44
|
-
}): void;
|
|
52
|
+
_onOptionChanging(option: AXComponentOptionChanging): any;
|
|
53
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
54
|
+
_setOption(option: AXComponentSetOption): void;
|
|
45
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBaseComponent, never>;
|
|
46
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXBaseComponent>;
|
|
47
57
|
}
|
|
@@ -67,17 +77,12 @@ export declare function _BaseComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
67
77
|
_onInternalViewInit(): void;
|
|
68
78
|
_onInternalDestroy(): void;
|
|
69
79
|
onInit(): void;
|
|
80
|
+
onRenderCssClass(): void;
|
|
70
81
|
onViewInit(): void;
|
|
71
82
|
onDestroy(): void;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}): any;
|
|
76
|
-
onOptionChanged(option: {
|
|
77
|
-
name: string;
|
|
78
|
-
oldValue?: any;
|
|
79
|
-
newValue?: any;
|
|
80
|
-
}): void;
|
|
83
|
+
_onOptionChanging(option: AXComponentOptionChanging): any;
|
|
84
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
85
|
+
_setOption(option: AXComponentSetOption): void;
|
|
81
86
|
};
|
|
82
87
|
} & TBase;
|
|
83
88
|
export declare const BASE_INPUTS: string[];
|
|
@@ -17,25 +17,25 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
17
17
|
*/
|
|
18
18
|
cancelBehavior: boolean;
|
|
19
19
|
colorChange: EventEmitter<AXStyleColorType>;
|
|
20
|
-
|
|
20
|
+
_color: AXStyleColorType;
|
|
21
21
|
/**
|
|
22
22
|
* Predefined color schemes
|
|
23
23
|
*/
|
|
24
24
|
color: AXStyleColorType;
|
|
25
25
|
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
26
|
-
|
|
26
|
+
_look?: AXStyleButtonLook;
|
|
27
27
|
/**
|
|
28
28
|
* Predefined look schemes
|
|
29
29
|
*/
|
|
30
30
|
look: AXStyleButtonLook;
|
|
31
31
|
toggleableChange: EventEmitter<boolean>;
|
|
32
|
-
|
|
32
|
+
_toggleable?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Provides visual styling that indicates if the Button is active
|
|
35
35
|
*/
|
|
36
36
|
toggleable: boolean;
|
|
37
37
|
selectedChange: EventEmitter<boolean>;
|
|
38
|
-
|
|
38
|
+
_selected?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* Indicates if the Button is selected or not
|
|
41
41
|
*/
|
|
@@ -51,9 +51,7 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
51
51
|
rtl: boolean;
|
|
52
52
|
cssClass: string;
|
|
53
53
|
cssStyle: string;
|
|
54
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
55
|
-
* Trigger click event by Esc Key
|
|
56
|
-
*/
|
|
54
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
57
55
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
58
56
|
_isInited: boolean;
|
|
59
57
|
_isRendered: boolean;
|
|
@@ -61,20 +59,17 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
61
59
|
ngAfterViewInit(): void;
|
|
62
60
|
ngOnDestroy(): void;
|
|
63
61
|
_getHostElement<T = HTMLElement>(): T;
|
|
64
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
62
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1; /**
|
|
63
|
+
* Provides visual styling that indicates if the Button is active
|
|
64
|
+
*/
|
|
65
65
|
_onInternalInit(): void;
|
|
66
66
|
onInit(): void;
|
|
67
|
+
onRenderCssClass(): void;
|
|
67
68
|
onViewInit(): void;
|
|
68
69
|
onDestroy(): void;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}): any;
|
|
73
|
-
onOptionChanged(option: {
|
|
74
|
-
name: string;
|
|
75
|
-
oldValue?: any;
|
|
76
|
-
newValue?: any;
|
|
77
|
-
}): void;
|
|
70
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
71
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
72
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
78
73
|
};
|
|
79
74
|
} & TBase;
|
|
80
75
|
export declare const BUTTON_INPUTS: string[];
|
|
@@ -27,16 +27,11 @@ export declare function _ClickableComponenetMixin<TBase extends Constructor<AXBa
|
|
|
27
27
|
_onInternalViewInit(): void;
|
|
28
28
|
_onInternalDestroy(): void;
|
|
29
29
|
onInit(): void;
|
|
30
|
+
onRenderCssClass(): void;
|
|
30
31
|
onViewInit(): void;
|
|
31
32
|
onDestroy(): void;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}): any;
|
|
36
|
-
onOptionChanged(option: {
|
|
37
|
-
name: string;
|
|
38
|
-
oldValue?: any;
|
|
39
|
-
newValue?: any;
|
|
40
|
-
}): void;
|
|
33
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
34
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
35
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
41
36
|
};
|
|
42
37
|
} & TBase;
|
|
@@ -7,14 +7,14 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
7
7
|
groupValueField: string;
|
|
8
8
|
groupTextField: string | string[];
|
|
9
9
|
pageSize: number;
|
|
10
|
-
"__#
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
14
|
-
"__#
|
|
10
|
+
"__#2@#currentPage": number;
|
|
11
|
+
"__#2@#isLoading": boolean;
|
|
12
|
+
"__#2@#loadedItems": any[];
|
|
13
|
+
"__#2@#totalItems": number;
|
|
14
|
+
"__#2@#isLazy": boolean;
|
|
15
15
|
readonly totalCount: number;
|
|
16
16
|
readonly loadedCount: number;
|
|
17
|
-
"__#
|
|
17
|
+
"__#2@#items": any;
|
|
18
18
|
items: any;
|
|
19
19
|
readonly displayItems: any;
|
|
20
20
|
readonly isLoading: boolean;
|
|
@@ -39,16 +39,11 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
39
39
|
_onInternalViewInit(): void;
|
|
40
40
|
_onInternalDestroy(): void;
|
|
41
41
|
onInit(): void;
|
|
42
|
+
onRenderCssClass(): void;
|
|
42
43
|
onViewInit(): void;
|
|
43
44
|
onDestroy(): void;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}): any;
|
|
48
|
-
onOptionChanged(option: {
|
|
49
|
-
name: string;
|
|
50
|
-
oldValue?: any;
|
|
51
|
-
newValue?: any;
|
|
52
|
-
}): void;
|
|
45
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
46
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
47
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
53
48
|
};
|
|
54
49
|
} & TBase;
|
|
@@ -2,6 +2,8 @@ import { EventEmitter } from "@angular/core";
|
|
|
2
2
|
import { AXBaseComponent } from "./base-components.class";
|
|
3
3
|
import { Constructor } from "./constratctor";
|
|
4
4
|
import { AXEvent } from "../events.class";
|
|
5
|
+
import { AXPopoverComponent } from "../../popover/popover.component";
|
|
6
|
+
import { AXConnectedPosition } from "../drawing.class";
|
|
5
7
|
export interface DropdownComponentInterface {
|
|
6
8
|
open(): void;
|
|
7
9
|
close(): void;
|
|
@@ -9,13 +11,20 @@ export interface DropdownComponentInterface {
|
|
|
9
11
|
isOpen: boolean;
|
|
10
12
|
}
|
|
11
13
|
export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): (abstract new (...args: any[]) => {
|
|
12
|
-
"__#4@#readonly": boolean;
|
|
13
|
-
readonly: any;
|
|
14
14
|
fitParent: boolean;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
dropdownWidth: number;
|
|
15
17
|
onOpened: EventEmitter<AXEvent>;
|
|
16
18
|
onClosed: EventEmitter<AXEvent>;
|
|
19
|
+
popover: AXPopoverComponent;
|
|
20
|
+
position: AXConnectedPosition[];
|
|
17
21
|
_emitOnOpenedEvent(): void;
|
|
18
22
|
_emitOnClosedEvent(): void;
|
|
23
|
+
onViewInit(): void;
|
|
24
|
+
toggle(): void;
|
|
25
|
+
close(): void;
|
|
26
|
+
open(): void;
|
|
27
|
+
readonly isOpen: boolean;
|
|
19
28
|
id: string;
|
|
20
29
|
rtl: boolean;
|
|
21
30
|
cssClass: string;
|
|
@@ -33,15 +42,11 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
|
|
|
33
42
|
_onInternalViewInit(): void;
|
|
34
43
|
_onInternalDestroy(): void;
|
|
35
44
|
onInit(): void;
|
|
36
|
-
|
|
45
|
+
onRenderCssClass(): void;
|
|
37
46
|
onDestroy(): void;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}): any;
|
|
42
|
-
onOptionChanged(option: {
|
|
43
|
-
name: string;
|
|
44
|
-
oldValue?: any;
|
|
45
|
-
newValue?: any;
|
|
46
|
-
}): void;
|
|
47
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
48
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
49
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
47
50
|
}) & TBase;
|
|
51
|
+
export declare const DROPDOWN_INPUTS: string[];
|
|
52
|
+
export declare const DROPDOWN_OUTPUT: string[];
|
|
@@ -3,12 +3,12 @@ import { AXBaseComponent } from "./base-components.class";
|
|
|
3
3
|
import { Constructor } from "./constratctor";
|
|
4
4
|
import { AXFocusEvent } from "../events.class";
|
|
5
5
|
export declare function _InteractiveComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): (abstract new (...args: any[]) => {
|
|
6
|
-
"__#
|
|
6
|
+
"__#3@#disabled": boolean;
|
|
7
7
|
/**
|
|
8
8
|
* If set to true, it disables the component.
|
|
9
9
|
*/
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
11
|
+
"__#3@#tabIndex": number;
|
|
12
12
|
/**
|
|
13
13
|
* Specifies the tabindex of the component.
|
|
14
14
|
*/
|
|
@@ -46,17 +46,12 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
46
46
|
_onInternalViewInit(): void;
|
|
47
47
|
_onInternalDestroy(): void;
|
|
48
48
|
onInit(): void;
|
|
49
|
+
onRenderCssClass(): void;
|
|
49
50
|
onViewInit(): void;
|
|
50
51
|
onDestroy(): void;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}): any;
|
|
55
|
-
onOptionChanged(option: {
|
|
56
|
-
name: string;
|
|
57
|
-
oldValue?: any;
|
|
58
|
-
newValue?: any;
|
|
59
|
-
}): void;
|
|
52
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
53
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
54
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
60
55
|
}) & TBase;
|
|
61
56
|
export declare const INTERACTIVE_INPUTS: string[];
|
|
62
57
|
export declare const INTERACTIVE_OUTPUT: string[];
|
|
@@ -31,16 +31,11 @@ export declare function _LoadingComponenetMixin<TBase extends Constructor<AXBase
|
|
|
31
31
|
_onInternalViewInit(): void;
|
|
32
32
|
_onInternalDestroy(): void;
|
|
33
33
|
onInit(): void;
|
|
34
|
+
onRenderCssClass(): void;
|
|
34
35
|
onViewInit(): void;
|
|
35
36
|
onDestroy(): void;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}): any;
|
|
40
|
-
onOptionChanged(option: {
|
|
41
|
-
name: string;
|
|
42
|
-
oldValue?: any;
|
|
43
|
-
newValue?: any;
|
|
44
|
-
}): void;
|
|
37
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
38
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
39
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
45
40
|
};
|
|
46
41
|
} & TBase;
|