@acorex/components 5.0.6 → 5.0.7
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 +888 -302
- package/bundles/acorex-components.umd.js.map +1 -1
- package/esm2015/lib/badge/badge.component.js +34 -0
- package/esm2015/lib/badge/badge.module.js +21 -0
- package/esm2015/lib/badge/index.js +3 -0
- package/esm2015/lib/base/mixin/base-components.class.js +6 -6
- package/esm2015/lib/base/mixin/button-mixin.class.js +2 -2
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +6 -1
- package/esm2015/lib/base/mixin/mixin.class.js +2 -2
- package/esm2015/lib/button/button.component.js +3 -9
- package/esm2015/lib/calendar/calendar.component.js +266 -38
- package/esm2015/lib/calendar/calendar.module.js +4 -3
- package/esm2015/lib/datepicker/datepicker.component.js +2 -2
- package/esm2015/lib/decorators/prefix.component.js +3 -3
- package/esm2015/lib/decorators/suffix.component.js +3 -7
- package/esm2015/lib/password-box/index.js +3 -0
- package/esm2015/lib/password-box/password-box.component.js +74 -0
- package/esm2015/lib/password-box/password-box.module.js +35 -0
- package/esm2015/lib/popover/popover.component.js +1 -2
- package/esm2015/lib/selectbox/selectbox.component.js +11 -3
- package/esm2015/lib/selectbox/selectbox.module.js +8 -4
- package/esm2015/lib/selection-list/selection-list.component.js +2 -2
- package/esm2015/lib/tabs/index.js +4 -2
- package/esm2015/lib/tabs/tab-content.directive.js +27 -0
- package/esm2015/lib/tabs/tab-item.component.js +76 -0
- package/esm2015/lib/tabs/tab-strip.component.js +12 -7
- package/esm2015/lib/tabs/tab-view.component.js +4 -5
- package/esm2015/lib/tabs/tab.component.js +2 -3
- package/esm2015/lib/tabs/tabs.component.js +74 -0
- package/esm2015/lib/tabs/tabs.module.js +9 -7
- package/esm2015/public-api.js +4 -2
- package/fesm2015/acorex-components.js +766 -230
- package/fesm2015/acorex-components.js.map +1 -1
- package/lib/badge/badge.component.d.ts +11 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +2 -0
- package/lib/base/mixin/button-mixin.class.d.ts +3 -1
- package/lib/base/mixin/interactive-mixin.class.d.ts +2 -3
- package/lib/base/mixin/loading-mixin.class.d.ts +1 -3
- package/lib/base/mixin/mixin.class.d.ts +1 -117
- package/lib/base/mixin/textbox-mixin.class.d.ts +4 -7
- package/lib/base/mixin/value-mixin.class.d.ts +4 -5
- package/lib/button/button.component.d.ts +0 -1
- package/lib/calendar/calendar.component.d.ts +52 -12
- package/lib/calendar/calendar.module.d.ts +4 -3
- package/lib/decorators/prefix.component.d.ts +1 -1
- package/lib/decorators/suffix.component.d.ts +1 -1
- package/lib/password-box/index.d.ts +2 -0
- package/lib/password-box/password-box.component.d.ts +24 -0
- package/lib/password-box/password-box.module.d.ts +12 -0
- package/lib/selectbox/selectbox.component.d.ts +1 -0
- package/lib/selectbox/selectbox.module.d.ts +5 -1
- package/lib/tabs/index.d.ts +3 -1
- package/lib/tabs/tab-content.directive.d.ts +11 -0
- package/lib/tabs/tab-item.component.d.ts +16 -0
- package/lib/tabs/tab-strip.component.d.ts +4 -3
- package/lib/tabs/tab-view.component.d.ts +2 -2
- package/lib/tabs/tabs.component.d.ts +19 -0
- package/lib/tabs/tabs.module.d.ts +6 -4
- package/package.json +18 -18
- package/public-api.d.ts +3 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXStyleColorType } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXBadgeComponent extends AXBaseComponentMixin {
|
|
5
|
+
text: string;
|
|
6
|
+
color: AXStyleColorType;
|
|
7
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
+
private get __hostClass();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "text": "text"; "color": "color"; }, {}, never, ["ax-prefix", "ax-suffix"]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./badge.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AXBadgeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXBadgeModule, [typeof i1.AXBadgeComponent], [typeof i2.CommonModule], [typeof i1.AXBadgeComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXBadgeModule>;
|
|
8
|
+
}
|
|
@@ -51,7 +51,9 @@ 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>;
|
|
54
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>; /**
|
|
55
|
+
* Trigger click event by Esc Key
|
|
56
|
+
*/
|
|
55
57
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
56
58
|
_isInited: boolean;
|
|
57
59
|
_isRendered: boolean;
|
|
@@ -40,9 +40,6 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
ngAfterViewInit(): void;
|
|
42
42
|
ngOnDestroy(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the tabindex of the component.
|
|
45
|
-
*/
|
|
46
43
|
_getHostElement<T = HTMLElement>(): T;
|
|
47
44
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
48
45
|
_onInternalInit(): void;
|
|
@@ -61,3 +58,5 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
61
58
|
newValue?: any;
|
|
62
59
|
}): void;
|
|
63
60
|
}) & TBase;
|
|
61
|
+
export declare const INTERACTIVE_INPUTS: string[];
|
|
62
|
+
export declare const INTERACTIVE_OUTPUT: string[];
|
|
@@ -17,9 +17,7 @@ export declare function _LoadingComponenetMixin<TBase extends Constructor<AXBase
|
|
|
17
17
|
_onInternalInit(): void;
|
|
18
18
|
id: string;
|
|
19
19
|
rtl: boolean;
|
|
20
|
-
cssClass: string;
|
|
21
|
-
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
|
|
22
|
-
*/
|
|
20
|
+
cssClass: string;
|
|
23
21
|
cssStyle: string;
|
|
24
22
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
25
23
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
@@ -588,120 +588,4 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
588
588
|
export declare const AXBaseSelectionValueMixin: any;
|
|
589
589
|
export declare const AXBaseValueDropdownMixin: any;
|
|
590
590
|
export declare const AXBaseSelectionDropdownMixin: any;
|
|
591
|
-
export declare const
|
|
592
|
-
new (...args: any[]): {
|
|
593
|
-
onClick: import("@angular/core").EventEmitter<import("@acorex/components").AXClickEvent>;
|
|
594
|
-
_emitOnClickEvent(e: MouseEvent): void;
|
|
595
|
-
id: string;
|
|
596
|
-
rtl: boolean;
|
|
597
|
-
cssClass: string;
|
|
598
|
-
cssStyle: string;
|
|
599
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
600
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
601
|
-
_isInited: boolean;
|
|
602
|
-
_isRendered: boolean;
|
|
603
|
-
ngOnInit(): void;
|
|
604
|
-
ngAfterViewInit(): void;
|
|
605
|
-
ngOnDestroy(): void;
|
|
606
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
607
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
608
|
-
_onInternalInit(): void;
|
|
609
|
-
_onInternalViewInit(): void;
|
|
610
|
-
_onInternalDestroy(): void;
|
|
611
|
-
onInit(): void;
|
|
612
|
-
onViewInit(): void;
|
|
613
|
-
onDestroy(): void;
|
|
614
|
-
onOptionChanging(option: {
|
|
615
|
-
name: string;
|
|
616
|
-
value?: any;
|
|
617
|
-
}): any;
|
|
618
|
-
onOptionChanged(option: {
|
|
619
|
-
name: string;
|
|
620
|
-
oldValue?: any;
|
|
621
|
-
newValue?: any;
|
|
622
|
-
}): void;
|
|
623
|
-
};
|
|
624
|
-
} & {
|
|
625
|
-
new (...args: any[]): {
|
|
626
|
-
text: string;
|
|
627
|
-
submitBehavior: boolean;
|
|
628
|
-
cancelBehavior: boolean;
|
|
629
|
-
colorChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleColorType>;
|
|
630
|
-
"__#2@#color": import("@acorex/components").AXStyleColorType;
|
|
631
|
-
color: import("@acorex/components").AXStyleColorType;
|
|
632
|
-
lookChange: import("@angular/core").EventEmitter<import("@acorex/components").AXStyleButtonLook>;
|
|
633
|
-
"__#2@#look"?: import("@acorex/components").AXStyleButtonLook;
|
|
634
|
-
look: import("@acorex/components").AXStyleButtonLook;
|
|
635
|
-
toggleableChange: import("@angular/core").EventEmitter<boolean>;
|
|
636
|
-
"__#2@#toggleable"?: boolean;
|
|
637
|
-
toggleable: boolean;
|
|
638
|
-
selectedChange: import("@angular/core").EventEmitter<boolean>;
|
|
639
|
-
"__#2@#selected"?: boolean;
|
|
640
|
-
selected: boolean;
|
|
641
|
-
_onInternalViewInit(): void;
|
|
642
|
-
_onInternalDestroy(): void;
|
|
643
|
-
readonly _classes: {
|
|
644
|
-
'ax-button-icon': boolean;
|
|
645
|
-
'ax-state-disabled': any;
|
|
646
|
-
'ax-state-selected': boolean;
|
|
647
|
-
};
|
|
648
|
-
id: string;
|
|
649
|
-
rtl: boolean;
|
|
650
|
-
cssClass: string;
|
|
651
|
-
cssStyle: string;
|
|
652
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
653
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
654
|
-
_isInited: boolean;
|
|
655
|
-
_isRendered: boolean;
|
|
656
|
-
ngOnInit(): void;
|
|
657
|
-
ngAfterViewInit(): void;
|
|
658
|
-
ngOnDestroy(): void;
|
|
659
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
660
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
661
|
-
_onInternalInit(): void;
|
|
662
|
-
onInit(): void;
|
|
663
|
-
onViewInit(): void;
|
|
664
|
-
onDestroy(): void;
|
|
665
|
-
onOptionChanging(option: {
|
|
666
|
-
name: string;
|
|
667
|
-
value?: any;
|
|
668
|
-
}): any;
|
|
669
|
-
onOptionChanged(option: {
|
|
670
|
-
name: string;
|
|
671
|
-
oldValue?: any;
|
|
672
|
-
newValue?: any;
|
|
673
|
-
}): void;
|
|
674
|
-
};
|
|
675
|
-
} & {
|
|
676
|
-
new (...args: any[]): {
|
|
677
|
-
size: import("./base-components.class").AXElementSize;
|
|
678
|
-
_onInternalInit(): void;
|
|
679
|
-
id: string;
|
|
680
|
-
rtl: boolean;
|
|
681
|
-
cssClass: string;
|
|
682
|
-
cssStyle: string;
|
|
683
|
-
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
684
|
-
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
685
|
-
_isInited: boolean;
|
|
686
|
-
_isRendered: boolean;
|
|
687
|
-
ngOnInit(): void;
|
|
688
|
-
ngAfterViewInit(): void;
|
|
689
|
-
ngOnDestroy(): void;
|
|
690
|
-
_getHostElement<T = HTMLElement>(): T;
|
|
691
|
-
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
692
|
-
_onInternalViewInit(): void;
|
|
693
|
-
_onInternalDestroy(): void;
|
|
694
|
-
onInit(): void;
|
|
695
|
-
onViewInit(): void;
|
|
696
|
-
onDestroy(): void;
|
|
697
|
-
onOptionChanging(option: {
|
|
698
|
-
name: string;
|
|
699
|
-
value?: any;
|
|
700
|
-
}): any;
|
|
701
|
-
onOptionChanged(option: {
|
|
702
|
-
name: string;
|
|
703
|
-
oldValue?: any;
|
|
704
|
-
newValue?: any;
|
|
705
|
-
}): void;
|
|
706
|
-
};
|
|
707
|
-
} & typeof AXBaseComponent;
|
|
591
|
+
export declare const AXCalendarComponentMixin: any;
|
|
@@ -22,12 +22,12 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
22
22
|
*/
|
|
23
23
|
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
24
24
|
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
25
|
-
id: string;
|
|
25
|
+
id: string; /**
|
|
26
|
+
* A string value that specifies the placeholder of text box.
|
|
27
|
+
*/
|
|
26
28
|
rtl: boolean;
|
|
27
29
|
cssClass: string;
|
|
28
|
-
cssStyle: string;
|
|
29
|
-
* A number value that specifies the maximum characters of text box.
|
|
30
|
-
*/
|
|
30
|
+
cssStyle: string;
|
|
31
31
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
32
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
33
|
_isInited: boolean;
|
|
@@ -36,9 +36,6 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
36
36
|
ngAfterViewInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
_getHostElement<T = HTMLElement>(): T;
|
|
39
|
-
/**
|
|
40
|
-
* @ignore
|
|
41
|
-
*/
|
|
42
39
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
43
40
|
_onInternalInit(): void;
|
|
44
41
|
_onInternalViewInit(): void;
|
|
@@ -42,12 +42,11 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
42
42
|
cssStyle: string;
|
|
43
43
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
44
44
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
45
|
-
_isInited: boolean;
|
|
46
|
-
* Fires each time the user press a key.
|
|
47
|
-
* @event
|
|
48
|
-
*/
|
|
45
|
+
_isInited: boolean;
|
|
49
46
|
_isRendered: boolean;
|
|
50
|
-
ngOnInit(): void;
|
|
47
|
+
ngOnInit(): void; /**
|
|
48
|
+
* If set to true, user cannot change the value of component.
|
|
49
|
+
*/
|
|
51
50
|
ngAfterViewInit(): void;
|
|
52
51
|
ngOnDestroy(): void;
|
|
53
52
|
_getHostElement<T = HTMLElement>(): T;
|
|
@@ -16,7 +16,6 @@ export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
|
16
16
|
_emitOnFocusEvent(e: MouseEvent): void;
|
|
17
17
|
_emitOnBlurEvent(e: MouseEvent): void;
|
|
18
18
|
private get __hostClass();
|
|
19
|
-
private get __tabindex();
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
21
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "color": "color"; "look": "look"; "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"]>;
|
|
22
21
|
}
|
|
@@ -1,16 +1,56 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AXDateTime } from '@acorex/core';
|
|
2
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { AXCalendarComponentMixin, AXClickEvent } from '../base';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
|
|
5
|
+
export declare type AXCalendarViewType = 'years' | 'months' | 'days';
|
|
6
|
+
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
7
|
+
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
8
|
+
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
9
|
+
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
10
|
+
private cdr;
|
|
11
|
+
private get _viewRange();
|
|
12
|
+
_today: AXDateTime;
|
|
13
|
+
private _viewStartDate;
|
|
14
|
+
_navText: string;
|
|
15
|
+
_todayText: string;
|
|
16
|
+
_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);
|
|
6
36
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
37
|
+
onInit(): void;
|
|
38
|
+
private _genearteSlots;
|
|
39
|
+
_handlePrevClick(e: AXClickEvent): void;
|
|
40
|
+
_handleNextClick(e: AXClickEvent): void;
|
|
41
|
+
_handleSlotClick(slot: any): void;
|
|
42
|
+
_handleNavClick(e: AXClickEvent): void;
|
|
43
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
44
|
+
_handleGoToday(): void;
|
|
45
|
+
next(): void;
|
|
46
|
+
prev(): void;
|
|
47
|
+
private _navNextPrev;
|
|
48
|
+
goToday(): void;
|
|
49
|
+
navTo(date: Date | AXDateTime): void;
|
|
50
|
+
private get __hostClass();
|
|
51
|
+
private isDisabled;
|
|
52
|
+
private isHoliday;
|
|
53
|
+
private isWeekend;
|
|
14
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "activeView": "activeView"; "depth": "depth"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
|
|
16
56
|
}
|
|
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./calendar.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../button/button.module";
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "../
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "@acorex/core";
|
|
7
8
|
export declare class AXCalendarModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXIconModule, typeof i5.AXEditorDecoratorModule, typeof i6.AXDateTimeModule], [typeof i1.AXCalendarComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
11
12
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon"]>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["ax-button,ax-loading,ax-icon,ax-badge"]>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
|
5
5
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["ax-button,ax-icon,ax-badge"]>;
|
|
8
8
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseTextBoxMixin } from '../base/mixin/mixin.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
9
|
+
export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
|
|
10
|
+
get hostClass(): string;
|
|
11
|
+
_type: 'password' | 'text';
|
|
12
|
+
_icon: 'ax-ic-eye' | 'ax-ic-eye-off';
|
|
13
|
+
/**
|
|
14
|
+
* A flag for showing or hiding password button.
|
|
15
|
+
*/
|
|
16
|
+
showToggleButton: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
21
|
+
toggleType(): void;
|
|
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"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"]>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./password-box.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../button/button.module";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "../icon/icon.module";
|
|
8
|
+
export declare class AXPasswordBoxModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPasswordBoxModule, [typeof i1.AXPasswordBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.AXEditorDecoratorModule, typeof i6.AXIconModule], [typeof i1.AXPasswordBoxComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPasswordBoxModule>;
|
|
12
|
+
}
|
|
@@ -18,6 +18,7 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin i
|
|
|
18
18
|
private _checkForLoadData;
|
|
19
19
|
_onDataLoaded(): void;
|
|
20
20
|
_handleOnRemoveItemClick(e: MouseEvent, item: any): void;
|
|
21
|
+
_handleBadgeRemove(e: MouseEvent, item: any): void;
|
|
21
22
|
_handleKeydown(e: KeyboardEvent): void;
|
|
22
23
|
private _focusItemByNav;
|
|
23
24
|
private _focusItemByIndex;
|
|
@@ -3,8 +3,12 @@ import * as i1 from "./selectbox.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../dropdown/dropdown.module";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../checkbox/checkbox.module";
|
|
7
|
+
import * as i6 from "../badge/badge.module";
|
|
8
|
+
import * as i7 from "../decorators/decorators.module";
|
|
9
|
+
import * as i8 from "../icon/icon.module";
|
|
6
10
|
export declare class AXSelectBoxModule {
|
|
7
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXDropdownModule, typeof i4.FormsModule], [typeof i1.AXSelectBoxComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSelectBoxModule, [typeof i1.AXSelectBoxComponent], [typeof i2.CommonModule, typeof i3.AXDropdownModule, typeof i4.FormsModule, typeof i5.AXCheckBoxModule, typeof i6.AXBadgeModule, typeof i7.AXEditorDecoratorModule, typeof i8.AXIconModule], [typeof i1.AXSelectBoxComponent]>;
|
|
9
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXSelectBoxModule>;
|
|
10
14
|
}
|
package/lib/tabs/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './tab-strip.component';
|
|
2
2
|
export * from './tab-view.component';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './tabs.component';
|
|
4
|
+
export * from './tab-item.component';
|
|
4
5
|
export * from './tabs.class';
|
|
6
|
+
export * from './tab-content.directive';
|
|
5
7
|
export * from './tabs.module';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXTabContentDirective {
|
|
4
|
+
private _viewContainerRef;
|
|
5
|
+
constructor(_viewContainerRef: ViewContainerRef);
|
|
6
|
+
private _portal;
|
|
7
|
+
get portal(): TemplateRef<any>;
|
|
8
|
+
set portal(v: TemplateRef<any>);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabContentDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTabContentDirective, "[axTabContent]", ["axTabContent"], { "portal": "axTabContent"; }, {}, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, TemplateRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseClickableMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXTabItemComponent extends AXBaseClickableMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
text: string;
|
|
7
|
+
width: boolean;
|
|
8
|
+
template: TemplateRef<any>;
|
|
9
|
+
activeChange: EventEmitter<boolean>;
|
|
10
|
+
private _active;
|
|
11
|
+
get active(): boolean;
|
|
12
|
+
set active(v: boolean);
|
|
13
|
+
private __hostClick;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "width": "width"; "active": "active"; }, { "activeChange": "activeChange"; }, never, ["ax-prefix", "ax-suffix", "*"]>;
|
|
16
|
+
}
|
|
@@ -7,12 +7,13 @@ export declare class AXTabStripComponent extends AXSizableComponentMixin {
|
|
|
7
7
|
private _items;
|
|
8
8
|
get items(): AXTabStripItem[];
|
|
9
9
|
set items(v: AXTabStripItem[]);
|
|
10
|
-
mode: 'default' | '
|
|
10
|
+
mode: 'default' | 'end-line' | 'start-line' | 'pills' | 'pills-color';
|
|
11
11
|
direction: "horizontal" | "vertical";
|
|
12
|
-
|
|
12
|
+
fitParent: boolean;
|
|
13
13
|
minWidth: boolean;
|
|
14
14
|
onSelectionChanged: EventEmitter<AXTabStripChangedEvent>;
|
|
15
15
|
_handleClick(tab: AXTabStripItem, index: number): void;
|
|
16
|
+
private get __hostClass();
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabStripComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabStripComponent, "ax-tab-strip", never, { "size": "size"; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabStripComponent, "ax-tab-strip", never, { "size": "size"; "items": "items"; "mode": "mode"; "direction": "direction"; "fitParent": "fitParent"; "minWidth": "minWidth"; }, { "onSelectionChanged": "onSelectionChanged"; }, never, ["ax-prefix", "ax-suffix"]>;
|
|
18
19
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
2
|
import { AXTabStripChangedEvent, AXTabStripItem } from './tabs.class';
|
|
3
|
-
import { AXTabStripComponent } from './tab-strip.component';
|
|
4
3
|
import { AXTabComponent } from './tab.component';
|
|
4
|
+
import { AXBaseComponent } from '../base';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AXTabViewComponent extends
|
|
6
|
+
export declare class AXTabViewComponent extends AXBaseComponent {
|
|
7
7
|
_contentTabs: QueryList<AXTabComponent>;
|
|
8
8
|
_tabs: AXTabStripItem[];
|
|
9
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from '../base';
|
|
3
|
+
import { AXTabItemComponent } from './tab-item.component';
|
|
4
|
+
import { AXTabContentDirective } from './tab-content.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AXTabsComponent extends AXBaseComponent {
|
|
7
|
+
_contentTabs: QueryList<AXTabItemComponent>;
|
|
8
|
+
mode: 'default' | 'end-line' | 'start-line' | 'pills' | 'pills-color';
|
|
9
|
+
direction: "horizontal" | "vertical";
|
|
10
|
+
fitParent: boolean;
|
|
11
|
+
minWidth: boolean;
|
|
12
|
+
content: AXTabContentDirective;
|
|
13
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
|
+
onViewInit(): void;
|
|
15
|
+
_handleSelectionChanged(e: AXTabItemComponent): void;
|
|
16
|
+
private get __hostClass();
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "mode": "mode"; "direction": "direction"; "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, {}, ["_contentTabs"], ["ax-tab-item"]>;
|
|
19
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./tab-
|
|
4
|
-
import * as i3 from "./tab.
|
|
2
|
+
import * as i1 from "./tabs.component";
|
|
3
|
+
import * as i2 from "./tab-item.component";
|
|
4
|
+
import * as i3 from "./tab-content.directive";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/cdk/portal";
|
|
7
|
+
import * as i6 from "../decorators/decorators.module";
|
|
6
8
|
export declare class AXTabsModule {
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTabsModule, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXTabsModule, [typeof i1.AXTabsComponent, typeof i2.AXTabItemComponent, typeof i3.AXTabContentDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXEditorDecoratorModule], [typeof i1.AXTabsComponent, typeof i2.AXTabItemComponent, typeof i3.AXTabContentDirective]>;
|
|
9
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXTabsModule>;
|
|
10
12
|
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"name": "@acorex/components",
|
|
3
|
+
"version": "5.0.7",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^12.2.6",
|
|
6
|
+
"@angular/core": "^12.2.6"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@splidejs/splide": "^2.4.21",
|
|
10
|
+
"ngx-mask": "^12.0.0",
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
13
|
+
"main": "bundles/acorex-components.umd.js",
|
|
14
|
+
"module": "fesm2015/acorex-components.js",
|
|
15
|
+
"es2015": "fesm2015/acorex-components.js",
|
|
16
|
+
"esm2015": "esm2015/acorex-components.js",
|
|
17
|
+
"fesm2015": "fesm2015/acorex-components.js",
|
|
18
|
+
"typings": "acorex-components.d.ts",
|
|
19
|
+
"sideEffects": false
|
|
20
20
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export * from "./lib/alert";
|
|
6
6
|
export * from "./lib/avatar";
|
|
7
|
+
export * from "./lib/badge";
|
|
7
8
|
export * from "./lib/base";
|
|
8
9
|
export * from "./lib/button";
|
|
9
10
|
export * from "./lib/calendar";
|
|
@@ -22,9 +23,10 @@ export * from "./lib/label";
|
|
|
22
23
|
export * from "./lib/loading";
|
|
23
24
|
export * from "./lib/number-box";
|
|
24
25
|
export * from "./lib/page";
|
|
26
|
+
export * from "./lib/password-box";
|
|
25
27
|
export * from "./lib/popover";
|
|
26
|
-
export * from "./lib/range-slider";
|
|
27
28
|
export * from "./lib/popup";
|
|
29
|
+
export * from "./lib/range-slider";
|
|
28
30
|
export * from "./lib/selectbox";
|
|
29
31
|
export * from "./lib/selection-list";
|
|
30
32
|
export * from "./lib/side-menu";
|