@acorex/components 5.0.45 → 5.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/alert/alert.component.mjs +32 -36
- package/esm2020/lib/badge/badge.component.mjs +9 -9
- package/esm2020/lib/base/events.class.mjs +4 -5
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +2 -38
- package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +48 -0
- package/esm2020/lib/base/mixin/mixin.class.mjs +4 -3
- package/esm2020/lib/base/mixin/selection-component.class.mjs +2 -2
- package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +6 -2
- package/esm2020/lib/button/button.component.mjs +4 -3
- package/esm2020/lib/calendar/calendar.component.mjs +38 -15
- package/esm2020/lib/datepicker/datepicker.component.mjs +2 -2
- package/esm2020/lib/dialog/dialog.component.mjs +1 -1
- package/esm2020/lib/number-box/number-box.component.mjs +2 -2
- package/esm2020/lib/password-box/password-box.component.mjs +2 -2
- package/esm2020/lib/progress-bar/index.mjs +3 -0
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +27 -0
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +19 -0
- package/esm2020/lib/selectbox/selectbox.component.mjs +2 -2
- package/esm2020/lib/selection-list/selection-list.component.mjs +3 -3
- package/esm2020/lib/tabs/tab-item.component.mjs +4 -2
- package/esm2020/lib/tabs/tabs.component.mjs +7 -2
- package/esm2020/lib/textarea/textarea.component.mjs +2 -2
- package/esm2020/lib/textbox/textbox.component.mjs +3 -3
- package/esm2020/lib/time-box/time-box.component.mjs +2 -2
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +194 -116
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +193 -116
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +40 -10
- package/lib/badge/badge.component.d.ts +36 -4
- package/lib/base/events.class.d.ts +1 -2
- package/lib/base/mixin/button-mixin.class.d.ts +5 -18
- package/lib/base/mixin/color-look-mixing.class.d.ts +45 -0
- package/lib/base/mixin/mixin.class.d.ts +32 -5
- package/lib/base/mixin/textbox-mixin.class.d.ts +4 -0
- package/lib/button/button.component.d.ts +1 -1
- package/lib/calendar/calendar.component.d.ts +9 -4
- package/lib/datepicker/datepicker.component.d.ts +2 -1
- package/lib/number-box/number-box.component.d.ts +1 -1
- package/lib/password-box/password-box.component.d.ts +1 -1
- package/lib/progress-bar/index.d.ts +2 -0
- package/lib/progress-bar/progress-bar.component.d.ts +12 -0
- package/lib/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/selectbox/selectbox.component.d.ts +1 -1
- package/lib/tabs/tab-item.component.d.ts +2 -1
- package/lib/tabs/tabs.component.d.ts +1 -0
- package/lib/textarea/textarea.component.d.ts +1 -1
- package/lib/textbox/textbox.component.d.ts +1 -1
- package/lib/time-box/time-box.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,22 +1,52 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXBaseComponent, AXComponentOptionChanged, AXStyleColorType } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const AXBaseAlertMixin: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
colorChange: EventEmitter<AXStyleColorType>;
|
|
7
|
+
_color: AXStyleColorType;
|
|
8
|
+
color: AXStyleColorType;
|
|
9
|
+
lookChange: EventEmitter<import("../base").AXStyleButtonLook>;
|
|
10
|
+
_look?: import("../base").AXStyleButtonLook;
|
|
11
|
+
look: import("../base").AXStyleButtonLook;
|
|
12
|
+
id: string;
|
|
13
|
+
rtl: boolean;
|
|
14
|
+
cssClass: string;
|
|
15
|
+
cssStyle: string;
|
|
16
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
17
|
+
_cdr: ChangeDetectorRef;
|
|
18
|
+
_isInited: boolean;
|
|
19
|
+
_isRendered: boolean;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
24
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
25
|
+
_onInternalInit(): void;
|
|
26
|
+
_onInternalViewInit(): void;
|
|
27
|
+
_onInternalDestroy(): void;
|
|
28
|
+
onInit(): void;
|
|
29
|
+
onRenderCssClass(): void;
|
|
30
|
+
onViewInit(): void;
|
|
31
|
+
onDestroy(): void;
|
|
32
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
33
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
34
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
35
|
+
};
|
|
36
|
+
} & typeof AXBaseComponent;
|
|
4
37
|
/**
|
|
5
38
|
* Regular description
|
|
6
39
|
*
|
|
7
40
|
* @category Components
|
|
8
41
|
*/
|
|
9
|
-
export declare class AXAlertComponent extends
|
|
42
|
+
export declare class AXAlertComponent extends AXBaseAlertMixin {
|
|
10
43
|
#private;
|
|
11
44
|
icon: string;
|
|
12
|
-
|
|
13
|
-
private _color;
|
|
45
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
14
46
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
get
|
|
18
|
-
set color(v: AXStyleColorType);
|
|
19
|
-
get hostClass(): string;
|
|
47
|
+
* @ignore
|
|
48
|
+
*/
|
|
49
|
+
get __hostClass(): string;
|
|
20
50
|
timeOut: number;
|
|
21
51
|
/**
|
|
22
52
|
* set the visibility of the Alert
|
|
@@ -42,5 +72,5 @@ export declare class AXAlertComponent extends AXBaseComponentMixin {
|
|
|
42
72
|
*/
|
|
43
73
|
show(): void;
|
|
44
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": "color"; "look": "look"; "icon": "icon"; "timeOut": "timeOut"; "visible": "visible"; }, {}, never, ["ax-alert-title", "ax-alert-content", "ax-alert-footer", "ax-alert-suffix"]>;
|
|
46
76
|
}
|
|
@@ -1,11 +1,43 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AXBaseComponent, AXStyleColorType } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
4
|
+
export declare const AXBaseBadgeMixin: {
|
|
5
|
+
new (...args: any[]): {
|
|
6
|
+
colorChange: import("@angular/core").EventEmitter<AXStyleColorType>;
|
|
7
|
+
_color: AXStyleColorType;
|
|
8
|
+
color: AXStyleColorType;
|
|
9
|
+
lookChange: import("@angular/core").EventEmitter<import("../base").AXStyleButtonLook>;
|
|
10
|
+
_look?: import("../base").AXStyleButtonLook;
|
|
11
|
+
look: import("../base").AXStyleButtonLook;
|
|
12
|
+
id: string;
|
|
13
|
+
rtl: boolean;
|
|
14
|
+
cssClass: string;
|
|
15
|
+
cssStyle: string;
|
|
16
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
17
|
+
_cdr: ChangeDetectorRef;
|
|
18
|
+
_isInited: boolean;
|
|
19
|
+
_isRendered: boolean;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
24
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
25
|
+
_onInternalInit(): void;
|
|
26
|
+
_onInternalViewInit(): void;
|
|
27
|
+
_onInternalDestroy(): void;
|
|
28
|
+
onInit(): void;
|
|
29
|
+
onRenderCssClass(): void;
|
|
30
|
+
onViewInit(): void;
|
|
31
|
+
onDestroy(): void;
|
|
32
|
+
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
33
|
+
_onOptionChanged(option: import("../base").AXComponentOptionChanged): void;
|
|
34
|
+
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
35
|
+
};
|
|
36
|
+
} & typeof AXBaseComponent;
|
|
37
|
+
export declare class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
5
38
|
text: string;
|
|
6
|
-
color: AXStyleColorType;
|
|
7
39
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
40
|
private get __hostClass();
|
|
9
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "color": "color"; "look": "look"; "text": "text"; }, {}, never, ["ax-prefix", "ax-suffix"]>;
|
|
11
43
|
}
|
|
@@ -11,6 +11,7 @@ export declare class AXEvent {
|
|
|
11
11
|
* The root native element
|
|
12
12
|
*/
|
|
13
13
|
htmlElement?: HTMLElement;
|
|
14
|
+
isUserInteraction?: boolean;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* Contains native event
|
|
@@ -27,7 +28,6 @@ export declare class AXValueChangedEvent<T> extends AXEvent {
|
|
|
27
28
|
name?: T;
|
|
28
29
|
value?: T;
|
|
29
30
|
oldValue?: T;
|
|
30
|
-
isTriggred?: boolean;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Fires each time the user click the element.
|
|
@@ -66,7 +66,6 @@ export declare class AXFocusEvent extends AXHtmlEvent<FocusEvent> {
|
|
|
66
66
|
export declare class AXSelectionValueChangedEvent extends AXValueChangedEvent<any | any[]> {
|
|
67
67
|
value?: any;
|
|
68
68
|
oldValue?: any;
|
|
69
|
-
isUserInput: boolean;
|
|
70
69
|
selectedKeys?: any[];
|
|
71
70
|
selectedItems?: any[];
|
|
72
71
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXStyleColorType, AXStyleButtonLook } from '../styles.class';
|
|
3
2
|
import { AXBaseComponent } from './base-components.class';
|
|
4
3
|
import { Constructor } from './constratctor';
|
|
5
4
|
export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
@@ -17,18 +16,6 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
17
16
|
* Trigger click event by Esc Key
|
|
18
17
|
*/
|
|
19
18
|
cancelBehavior: boolean;
|
|
20
|
-
colorChange: EventEmitter<AXStyleColorType>;
|
|
21
|
-
_color: AXStyleColorType;
|
|
22
|
-
/**
|
|
23
|
-
* Predefined color schemes
|
|
24
|
-
*/
|
|
25
|
-
color: AXStyleColorType;
|
|
26
|
-
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
27
|
-
_look?: AXStyleButtonLook;
|
|
28
|
-
/**
|
|
29
|
-
* Predefined look schemes
|
|
30
|
-
*/
|
|
31
|
-
look: AXStyleButtonLook;
|
|
32
19
|
toggleableChange: EventEmitter<boolean>;
|
|
33
20
|
_toggleable?: boolean;
|
|
34
21
|
/**
|
|
@@ -48,13 +35,11 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
48
35
|
'ax-state-disabled': any;
|
|
49
36
|
'ax-state-selected': boolean;
|
|
50
37
|
};
|
|
51
|
-
id: string;
|
|
52
38
|
/**
|
|
53
39
|
* Trigger click event by Enter Key
|
|
54
40
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*/
|
|
41
|
+
id: string;
|
|
42
|
+
rtl: boolean;
|
|
58
43
|
cssClass: string;
|
|
59
44
|
cssStyle: string;
|
|
60
45
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
@@ -62,7 +47,9 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
62
47
|
_isInited: boolean;
|
|
63
48
|
_isRendered: boolean;
|
|
64
49
|
ngOnInit(): void;
|
|
65
|
-
ngAfterViewInit(): void;
|
|
50
|
+
ngAfterViewInit(): void; /**
|
|
51
|
+
* Indicates if the Button is selected or not
|
|
52
|
+
*/
|
|
66
53
|
ngOnDestroy(): void;
|
|
67
54
|
_getHostElement<T = HTMLElement>(): T;
|
|
68
55
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { AXStyleColorType, AXStyleButtonLook } from "../styles.class";
|
|
3
|
+
import { AXBaseComponent } from "./base-components.class";
|
|
4
|
+
import { Constructor } from "./constratctor";
|
|
5
|
+
export declare function _ColorLookComponentMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
colorChange: EventEmitter<AXStyleColorType>;
|
|
8
|
+
_color: AXStyleColorType;
|
|
9
|
+
/**
|
|
10
|
+
* Predefined color schemes
|
|
11
|
+
*/
|
|
12
|
+
color: AXStyleColorType;
|
|
13
|
+
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
14
|
+
_look?: AXStyleButtonLook;
|
|
15
|
+
/**
|
|
16
|
+
* Predefined look schemes
|
|
17
|
+
*/
|
|
18
|
+
look: AXStyleButtonLook;
|
|
19
|
+
id: string;
|
|
20
|
+
rtl: boolean;
|
|
21
|
+
cssClass: string;
|
|
22
|
+
cssStyle: string;
|
|
23
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
24
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
25
|
+
_isInited: boolean;
|
|
26
|
+
_isRendered: boolean;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
31
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
32
|
+
_onInternalInit(): void;
|
|
33
|
+
_onInternalViewInit(): void;
|
|
34
|
+
_onInternalDestroy(): void;
|
|
35
|
+
onInit(): void;
|
|
36
|
+
onRenderCssClass(): void;
|
|
37
|
+
onViewInit(): void;
|
|
38
|
+
onDestroy(): void;
|
|
39
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
40
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
41
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
42
|
+
};
|
|
43
|
+
} & TBase;
|
|
44
|
+
export declare const COLOR_LOOK_INPUTS: string[];
|
|
45
|
+
export declare const COLOR_LOOK_OUTPUT: any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AXBaseComponent } from './base-components.class';
|
|
2
1
|
export * from './datalist.class';
|
|
2
|
+
import { AXBaseComponent } from './base-components.class';
|
|
3
3
|
export declare const AXBaseComponentMixin: {
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
id: string;
|
|
@@ -324,16 +324,42 @@ export declare const AXBaseButtonMixin: {
|
|
|
324
324
|
};
|
|
325
325
|
} & {
|
|
326
326
|
new (...args: any[]): {
|
|
327
|
-
_text: string;
|
|
328
|
-
text: string;
|
|
329
|
-
submitBehavior: boolean;
|
|
330
|
-
cancelBehavior: boolean;
|
|
331
327
|
colorChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleColorType>;
|
|
332
328
|
_color: import("@acorex/components").AXStyleColorType;
|
|
333
329
|
color: import("@acorex/components").AXStyleColorType;
|
|
334
330
|
lookChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleButtonLook>;
|
|
335
331
|
_look?: import("@acorex/components").AXStyleButtonLook;
|
|
336
332
|
look: import("@acorex/components").AXStyleButtonLook;
|
|
333
|
+
id: string;
|
|
334
|
+
rtl: boolean;
|
|
335
|
+
cssClass: string;
|
|
336
|
+
cssStyle: string;
|
|
337
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
338
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
339
|
+
_isInited: boolean;
|
|
340
|
+
_isRendered: boolean;
|
|
341
|
+
ngOnInit(): void;
|
|
342
|
+
ngAfterViewInit(): void;
|
|
343
|
+
ngOnDestroy(): void;
|
|
344
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
345
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
346
|
+
_onInternalInit(): void;
|
|
347
|
+
_onInternalViewInit(): void;
|
|
348
|
+
_onInternalDestroy(): void;
|
|
349
|
+
onInit(): void;
|
|
350
|
+
onRenderCssClass(): void;
|
|
351
|
+
onViewInit(): void;
|
|
352
|
+
onDestroy(): void;
|
|
353
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
354
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
355
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
356
|
+
};
|
|
357
|
+
} & {
|
|
358
|
+
new (...args: any[]): {
|
|
359
|
+
_text: string;
|
|
360
|
+
text: string;
|
|
361
|
+
submitBehavior: boolean;
|
|
362
|
+
cancelBehavior: boolean;
|
|
337
363
|
toggleableChange: import("@angular/core").EventEmitter<boolean>;
|
|
338
364
|
_toggleable?: boolean;
|
|
339
365
|
toggleable: boolean;
|
|
@@ -484,6 +510,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
484
510
|
};
|
|
485
511
|
} & {
|
|
486
512
|
new (...args: any[]): {
|
|
513
|
+
type: string;
|
|
487
514
|
placeholder: string;
|
|
488
515
|
maxLength: number;
|
|
489
516
|
autoComplete: string;
|
|
@@ -5,6 +5,10 @@ import { Constructor } from './constratctor';
|
|
|
5
5
|
export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
6
|
new (...args: any[]): {
|
|
7
7
|
/**
|
|
8
|
+
* A string value that specifies the type of text box.
|
|
9
|
+
*/
|
|
10
|
+
type: string;
|
|
11
|
+
/**
|
|
8
12
|
* A string value that specifies the placeholder of text box.
|
|
9
13
|
*/
|
|
10
14
|
placeholder: string;
|
|
@@ -17,5 +17,5 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
17
17
|
_emitOnBlurEvent(e: MouseEvent): void;
|
|
18
18
|
private get __hostClass();
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "color": "color"; "look": "look"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "toggleable": "toggleable"; "selected": "selected"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"]>;
|
|
21
21
|
}
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import { AXDateTime } from '@acorex/core';
|
|
2
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
3
|
-
import { AXClickEvent, AXComponentOptionChanged } from '../base';
|
|
2
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { AXClickEvent, AXComponentOptionChanged, AXItemClickEvent } from '../base';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const AXCalendarComponentMixin: any;
|
|
6
6
|
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
7
7
|
private cdr;
|
|
8
8
|
private get _viewRange();
|
|
9
|
+
private _type;
|
|
10
|
+
get type(): string;
|
|
11
|
+
set type(v: string);
|
|
9
12
|
_today: AXDateTime;
|
|
10
13
|
private _viewStartDate;
|
|
11
14
|
_navText: string;
|
|
12
15
|
_todayText: string;
|
|
13
16
|
_slots: any[];
|
|
17
|
+
_dayNames: string[];
|
|
18
|
+
onSlotClick: EventEmitter<AXItemClickEvent<Date>>;
|
|
14
19
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
15
20
|
onInit(): void;
|
|
16
21
|
private _genearteSlots;
|
|
17
22
|
_handlePrevClick(e: AXClickEvent): void;
|
|
18
23
|
_handleNextClick(e: AXClickEvent): void;
|
|
19
|
-
_handleSlotClick(slot: any): void;
|
|
24
|
+
_handleSlotClick(e: MouseEvent, slot: any): void;
|
|
20
25
|
_handleNavClick(e: AXClickEvent): void;
|
|
21
26
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
22
27
|
_onValueChanged(oldValue: any, newValue: any): void;
|
|
@@ -32,5 +37,5 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
32
37
|
private isHoliday;
|
|
33
38
|
private isWeekend;
|
|
34
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "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>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "disabled": "disabled"; "tabIndex": "tabIndex"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "type": "type"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "onSlotClick": "onSlotClick"; }, never, never>;
|
|
36
41
|
}
|
|
@@ -126,6 +126,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
126
126
|
};
|
|
127
127
|
} & {
|
|
128
128
|
new (...args: any[]): {
|
|
129
|
+
type: string;
|
|
129
130
|
placeholder: string;
|
|
130
131
|
maxLength: number;
|
|
131
132
|
autoComplete: string;
|
|
@@ -179,5 +180,5 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
179
180
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
180
181
|
private _highlightPart;
|
|
181
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
182
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "depth": "depth"; "activeView": "activeView"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; "format": "format"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "depthChange": "depthChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
183
184
|
}
|
|
@@ -71,5 +71,5 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
|
|
|
71
71
|
decimalStepUp(): void;
|
|
72
72
|
decimalStepDown(): void;
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
75
75
|
}
|
|
@@ -20,5 +20,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
|
20
20
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
21
21
|
toggleType(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
24
24
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AXBaseComponentMixin } from '../base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXProgressBarComponent extends AXBaseComponentMixin {
|
|
4
|
+
value: number;
|
|
5
|
+
private _max;
|
|
6
|
+
get max(): number;
|
|
7
|
+
set max(v: number);
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXProgressBarComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXProgressBarComponent, "ax-progress-bar", never, { "value": "value"; "max": "max"; }, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progress-bar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AXProgressBarModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXProgressBarModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXProgressBarModule, [typeof i1.AXProgressBarComponent], [typeof i2.CommonModule], [typeof i1.AXProgressBarComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXProgressBarModule>;
|
|
8
|
+
}
|
|
@@ -53,5 +53,5 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
53
53
|
_onSearchExprChanged(e: AXValueChangedEvent<string>): void;
|
|
54
54
|
_fetchData(): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "searchSettings": "searchSettings"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix"]>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "searchSettings": "searchSettings"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix"]>;
|
|
57
57
|
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXTabItemComponent extends AXBaseClickableMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
text: string;
|
|
7
|
+
name: string;
|
|
7
8
|
width: boolean;
|
|
8
9
|
template: TemplateRef<any>;
|
|
9
10
|
headerTemplate: TemplateRef<any>;
|
|
@@ -13,5 +14,5 @@ export declare class AXTabItemComponent extends AXBaseClickableMixin {
|
|
|
13
14
|
set active(v: boolean);
|
|
14
15
|
private __hostClick;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
|
|
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"]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "name": "name"; "width": "width"; "active": "active"; }, { "activeChange": "activeChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"]>;
|
|
17
18
|
}
|
|
@@ -10,6 +10,7 @@ export declare class AXTabsComponent extends AXBaseComponent {
|
|
|
10
10
|
minWidth: boolean;
|
|
11
11
|
content: AXTabContentDirective;
|
|
12
12
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
13
|
+
private _isUserInteraction;
|
|
13
14
|
onActiveTabChanged: EventEmitter<AXTabStripChangedEvent>;
|
|
14
15
|
onRenderCssClass(): void;
|
|
15
16
|
onViewInit(): void;
|
|
@@ -8,5 +8,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
|
|
|
8
8
|
*/
|
|
9
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix"]>;
|
|
12
12
|
}
|
|
@@ -12,5 +12,5 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
16
16
|
}
|
|
@@ -36,5 +36,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
|
36
36
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
37
37
|
private _highlightPart;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
|
|
40
40
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./lib/page";
|
|
|
27
27
|
export * from "./lib/password-box";
|
|
28
28
|
export * from "./lib/popover";
|
|
29
29
|
export * from "./lib/popup";
|
|
30
|
+
export * from "./lib/progress-bar";
|
|
30
31
|
export * from "./lib/radio";
|
|
31
32
|
export * from "./lib/range-slider";
|
|
32
33
|
export * from "./lib/selectbox";
|