@acorex/components 5.0.60 → 5.1.2
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/base/events.class.mjs +7 -1
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +135 -0
- package/esm2020/lib/base/mixin/mixin.class.mjs +4 -3
- package/esm2020/lib/calendar/calendar.class.mjs +16 -4
- package/esm2020/lib/calendar/calendar.component.mjs +33 -13
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +11 -10
- package/esm2020/lib/carousel/carousel-pager.component.mjs +5 -5
- package/esm2020/lib/carousel/carousel-splidejs.class.mjs +11 -5
- package/esm2020/lib/carousel/carousel.class.mjs +1 -1
- package/esm2020/lib/carousel/carousel.component.mjs +164 -13
- package/esm2020/lib/carousel/carousel.module.mjs +1 -1
- package/esm2020/lib/datepicker/datepicker.component.mjs +20 -9
- package/esm2020/lib/menu/menu.component.mjs +39 -27
- package/esm2020/lib/menu/menu.module.mjs +6 -4
- package/esm2020/lib/picker/index.mjs +3 -0
- package/esm2020/lib/picker/picker.component.mjs +24 -0
- package/esm2020/lib/picker/picker.module.mjs +20 -0
- package/esm2020/lib/result/index.mjs +1 -1
- package/esm2020/lib/tabs/tab-item.component.mjs +7 -4
- package/esm2020/lib/tabs/tabs.component.mjs +4 -3
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +470 -86
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +467 -84
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/events.class.d.ts +14 -0
- package/lib/base/mixin/base-menu-mixin.class.d.ts +51 -0
- package/lib/base/mixin/datalist-component.class.d.ts +8 -8
- package/lib/base/mixin/interactive-mixin.class.d.ts +2 -2
- package/lib/base/mixin/mixin.class.d.ts +72 -26
- package/lib/base/mixin/value-mixin.class.d.ts +8 -8
- package/lib/button/button-item.component.d.ts +2 -2
- package/lib/calendar/calendar.class.d.ts +9 -1
- package/lib/calendar/calendar.component.d.ts +4 -4
- package/lib/carousel/carousel-arrows.component.d.ts +1 -1
- package/lib/carousel/carousel.class.d.ts +20 -2
- package/lib/carousel/carousel.component.d.ts +41 -5
- package/lib/datepicker/datepicker.component.d.ts +22 -19
- package/lib/menu/menu.component.d.ts +9 -12
- package/lib/menu/menu.module.d.ts +3 -1
- package/lib/picker/index.d.ts +2 -0
- package/lib/picker/picker.component.d.ts +18 -0
- package/lib/picker/picker.module.d.ts +9 -0
- package/lib/tabs/tab-item.component.d.ts +1 -1
- package/lib/tabs/tabs.component.d.ts +1 -0
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
|
@@ -69,3 +69,17 @@ export declare class AXSelectionValueChangedEvent extends AXValueChangedEvent<an
|
|
|
69
69
|
selectedKeys?: any[];
|
|
70
70
|
selectedItems?: any[];
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Contains range start & end values
|
|
74
|
+
* @category Events
|
|
75
|
+
*/
|
|
76
|
+
export declare class AXRangeChangedEvent<T> extends AXEvent {
|
|
77
|
+
/**
|
|
78
|
+
* The range start value
|
|
79
|
+
*/
|
|
80
|
+
start?: T;
|
|
81
|
+
/**
|
|
82
|
+
* The range end value
|
|
83
|
+
*/
|
|
84
|
+
end?: T;
|
|
85
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXItemClickEvent } from '..';
|
|
3
|
+
import { AXBaseComponent } from './base-components.class';
|
|
4
|
+
import { Constructor } from './constratctor';
|
|
5
|
+
export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
textField: string;
|
|
8
|
+
valueField: string;
|
|
9
|
+
"__#2@#isLoading": boolean;
|
|
10
|
+
"__#2@#loadedItems": any;
|
|
11
|
+
visible: string;
|
|
12
|
+
disableField: string;
|
|
13
|
+
hasChildField: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
openMode: 'click' | 'hover';
|
|
16
|
+
onMenuItemClick: EventEmitter<AXItemClickEvent<any>>;
|
|
17
|
+
readonly loadedCount: number;
|
|
18
|
+
"__#2@#items": any;
|
|
19
|
+
items: any;
|
|
20
|
+
readonly displayItems: any;
|
|
21
|
+
readonly isLoading: boolean;
|
|
22
|
+
_formatData(v: any[]): any[];
|
|
23
|
+
_findNode(parentId: number, _children: any, source: any): void;
|
|
24
|
+
_fetchData(parentId?: number): void;
|
|
25
|
+
_onInternalInit(): void;
|
|
26
|
+
_getItemDisplayTextTemplte(item: any): any;
|
|
27
|
+
_trackLoaded(index: any, item: any): any;
|
|
28
|
+
id: string;
|
|
29
|
+
rtl: boolean;
|
|
30
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
31
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
32
|
+
_isInited: boolean;
|
|
33
|
+
_isRendered: boolean;
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngAfterViewInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
38
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
39
|
+
_onInternalViewInit(): void;
|
|
40
|
+
_onInternalDestroy(): void;
|
|
41
|
+
onInit(): void;
|
|
42
|
+
onRenderCssClass(): void;
|
|
43
|
+
onViewInit(): void;
|
|
44
|
+
onDestroy(): 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;
|
|
48
|
+
};
|
|
49
|
+
} & TBase;
|
|
50
|
+
export declare const BASEMENU_INPUTS: string[];
|
|
51
|
+
export declare const BASEMENU_OUTPUT: string[];
|
|
@@ -7,15 +7,15 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
7
7
|
textField: string;
|
|
8
8
|
childrenField: string;
|
|
9
9
|
pageSize: number;
|
|
10
|
-
"__#
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
14
|
-
"__#
|
|
15
|
-
"__#
|
|
10
|
+
"__#3@#currentPage": number;
|
|
11
|
+
"__#3@#isLoading": boolean;
|
|
12
|
+
"__#3@#loadedItems": any[];
|
|
13
|
+
"__#3@#flatItems": any[];
|
|
14
|
+
"__#3@#totalItems": number;
|
|
15
|
+
"__#3@#isLazy": boolean;
|
|
16
16
|
readonly totalCount: number;
|
|
17
17
|
readonly loadedCount: number;
|
|
18
|
-
"__#
|
|
18
|
+
"__#3@#items": AXDataListItems;
|
|
19
19
|
items: AXDataListItems;
|
|
20
20
|
readonly displayItems: any[];
|
|
21
21
|
readonly flatItems: any[];
|
|
@@ -25,7 +25,7 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
25
25
|
searchQuery?: string;
|
|
26
26
|
}): void;
|
|
27
27
|
_onDataLoaded(): void;
|
|
28
|
-
"__#
|
|
28
|
+
"__#3@#generateFlatItems"(): void;
|
|
29
29
|
_getItemDisplayTextTemplte(item: any): any;
|
|
30
30
|
_trackByFunction(item: any): any;
|
|
31
31
|
refresh(): void;
|
|
@@ -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
|
+
"__#4@#disabled": boolean;
|
|
7
7
|
/**
|
|
8
8
|
* If set to true, it disables the component.
|
|
9
9
|
*/
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
11
|
+
"__#4@#tabIndex": number;
|
|
12
12
|
/**
|
|
13
13
|
* Specifies the tabindex of the component.
|
|
14
14
|
*/
|
|
@@ -101,9 +101,9 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
101
101
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
102
102
|
};
|
|
103
103
|
} & (abstract new (...args: any[]) => {
|
|
104
|
-
"__#
|
|
104
|
+
"__#4@#disabled": boolean;
|
|
105
105
|
disabled: boolean;
|
|
106
|
-
"__#
|
|
106
|
+
"__#4@#tabIndex": number;
|
|
107
107
|
tabIndex: number;
|
|
108
108
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
109
109
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -134,9 +134,9 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
134
134
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
135
135
|
}) & typeof AXBaseComponent;
|
|
136
136
|
export declare const AXBaseClickableMixin: (abstract new (...args: any[]) => {
|
|
137
|
-
"__#
|
|
137
|
+
"__#4@#disabled": boolean;
|
|
138
138
|
disabled: boolean;
|
|
139
|
-
"__#
|
|
139
|
+
"__#4@#tabIndex": number;
|
|
140
140
|
tabIndex: number;
|
|
141
141
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
142
142
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -218,9 +218,9 @@ export declare const AXBaseButtonMixin: {
|
|
|
218
218
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
219
219
|
};
|
|
220
220
|
} & (abstract new (...args: any[]) => {
|
|
221
|
-
"__#
|
|
221
|
+
"__#4@#disabled": boolean;
|
|
222
222
|
disabled: boolean;
|
|
223
|
-
"__#
|
|
223
|
+
"__#4@#tabIndex": number;
|
|
224
224
|
tabIndex: number;
|
|
225
225
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
226
226
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -372,9 +372,9 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
372
372
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
373
373
|
};
|
|
374
374
|
} & (abstract new (...args: any[]) => {
|
|
375
|
-
"__#
|
|
375
|
+
"__#4@#disabled": boolean;
|
|
376
376
|
disabled: boolean;
|
|
377
|
-
"__#
|
|
377
|
+
"__#4@#tabIndex": number;
|
|
378
378
|
tabIndex: number;
|
|
379
379
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
380
380
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -407,19 +407,19 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
407
407
|
new (...args: any[]): {
|
|
408
408
|
onValueChanged: import("@angular/core").EventEmitter<import("@acorex/components").AXValueChangedEvent<any>>;
|
|
409
409
|
valueChange: import("@angular/core").EventEmitter<any>;
|
|
410
|
-
"__#
|
|
410
|
+
"__#5@#readonly": boolean;
|
|
411
411
|
readonly: boolean;
|
|
412
|
-
"__#
|
|
412
|
+
"__#5@#allowNull": boolean;
|
|
413
413
|
allowNull: boolean;
|
|
414
|
-
"__#
|
|
414
|
+
"__#5@#name": string;
|
|
415
415
|
name: string;
|
|
416
|
-
"__#
|
|
416
|
+
"__#5@#debounceTime": number;
|
|
417
417
|
debounceTime: number;
|
|
418
|
-
"__#
|
|
419
|
-
"__#
|
|
420
|
-
"__#
|
|
418
|
+
"__#5@#valueSubscription": import("rxjs").Subscription;
|
|
419
|
+
"__#5@#valueSubject": import("rxjs").Subject<unknown>;
|
|
420
|
+
"__#5@#value": any;
|
|
421
421
|
value: any;
|
|
422
|
-
"__#
|
|
422
|
+
"__#5@#state": "error" | "clear" | "success";
|
|
423
423
|
readonly state: "error" | "clear" | "success";
|
|
424
424
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
425
425
|
_onInternalValueChanging(value: any): any;
|
|
@@ -511,9 +511,9 @@ export declare const AXBaseDropdownMixin: {
|
|
|
511
511
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
512
512
|
};
|
|
513
513
|
} & (abstract new (...args: any[]) => {
|
|
514
|
-
"__#
|
|
514
|
+
"__#4@#disabled": boolean;
|
|
515
515
|
disabled: boolean;
|
|
516
|
-
"__#
|
|
516
|
+
"__#4@#tabIndex": number;
|
|
517
517
|
tabIndex: number;
|
|
518
518
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
519
519
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -576,14 +576,61 @@ export declare const AXBaseDropdownMixin: {
|
|
|
576
576
|
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
577
577
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
578
578
|
}) & typeof AXBaseComponent;
|
|
579
|
-
export declare const
|
|
579
|
+
export declare const AXBaseMenuMixin: (abstract new (...args: any[]) => {
|
|
580
|
+
"__#4@#disabled": boolean;
|
|
581
|
+
disabled: boolean;
|
|
582
|
+
"__#4@#tabIndex": number;
|
|
583
|
+
tabIndex: number;
|
|
584
|
+
onFocus: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
585
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
586
|
+
onBlur: import("@angular/core").EventEmitter<import("@acorex/components").AXFocusEvent>;
|
|
587
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
588
|
+
focus(): void;
|
|
589
|
+
hasFocus(): boolean;
|
|
590
|
+
id: string;
|
|
591
|
+
rtl: boolean;
|
|
592
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
593
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
594
|
+
_isInited: boolean;
|
|
595
|
+
_isRendered: boolean;
|
|
596
|
+
ngOnInit(): void;
|
|
597
|
+
ngAfterViewInit(): void;
|
|
598
|
+
ngOnDestroy(): void;
|
|
599
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
600
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
601
|
+
_onInternalInit(): void;
|
|
602
|
+
_onInternalViewInit(): void;
|
|
603
|
+
_onInternalDestroy(): void;
|
|
604
|
+
onInit(): void;
|
|
605
|
+
onRenderCssClass(): void;
|
|
606
|
+
onViewInit(): void;
|
|
607
|
+
onDestroy(): void;
|
|
608
|
+
_onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
|
|
609
|
+
_onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
|
|
610
|
+
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
611
|
+
}) & {
|
|
580
612
|
new (...args: any[]): {
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
613
|
+
textField: string;
|
|
614
|
+
valueField: string;
|
|
615
|
+
"__#2@#isLoading": boolean;
|
|
616
|
+
"__#2@#loadedItems": any;
|
|
617
|
+
visible: string;
|
|
618
|
+
disableField: string;
|
|
619
|
+
hasChildField: string;
|
|
620
|
+
icon: string;
|
|
621
|
+
openMode: "click" | "hover";
|
|
622
|
+
onMenuItemClick: import("@angular/core").EventEmitter<import("@acorex/components").AXItemClickEvent<any>>;
|
|
623
|
+
readonly loadedCount: number;
|
|
624
|
+
"__#2@#items": any;
|
|
625
|
+
items: any;
|
|
626
|
+
readonly displayItems: any;
|
|
627
|
+
readonly isLoading: boolean;
|
|
628
|
+
_formatData(v: any[]): any[];
|
|
629
|
+
_findNode(parentId: number, _children: any, source: any): void;
|
|
630
|
+
_fetchData(parentId?: number): void;
|
|
631
|
+
_onInternalInit(): void;
|
|
632
|
+
_getItemDisplayTextTemplte(item: any): any;
|
|
633
|
+
_trackLoaded(index: any, item: any): any;
|
|
587
634
|
id: string;
|
|
588
635
|
rtl: boolean;
|
|
589
636
|
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
@@ -595,7 +642,6 @@ export declare const AXBaseProgressMixin: {
|
|
|
595
642
|
ngOnDestroy(): void;
|
|
596
643
|
_getHostElement<T = HTMLElement>(): T;
|
|
597
644
|
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
598
|
-
_onInternalInit(): void;
|
|
599
645
|
_onInternalViewInit(): void;
|
|
600
646
|
_onInternalDestroy(): void;
|
|
601
647
|
onInit(): void;
|
|
@@ -12,22 +12,22 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
|
|
|
12
12
|
*/
|
|
13
13
|
onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
14
14
|
valueChange: EventEmitter<any>;
|
|
15
|
-
"__#
|
|
15
|
+
"__#5@#readonly": boolean;
|
|
16
16
|
/**
|
|
17
17
|
* If set to true, user cannot change the value of component.
|
|
18
18
|
*/
|
|
19
19
|
readonly: boolean;
|
|
20
|
-
"__#
|
|
20
|
+
"__#5@#allowNull": boolean;
|
|
21
21
|
allowNull: boolean;
|
|
22
|
-
"__#
|
|
22
|
+
"__#5@#name": string;
|
|
23
23
|
name: string;
|
|
24
|
-
"__#
|
|
24
|
+
"__#5@#debounceTime": number;
|
|
25
25
|
debounceTime: number;
|
|
26
|
-
"__#
|
|
27
|
-
"__#
|
|
28
|
-
"__#
|
|
26
|
+
"__#5@#valueSubscription": Subscription;
|
|
27
|
+
"__#5@#valueSubject": Subject<unknown>;
|
|
28
|
+
"__#5@#value": any;
|
|
29
29
|
value: any;
|
|
30
|
-
"__#
|
|
30
|
+
"__#5@#state": 'clear' | 'success' | 'error';
|
|
31
31
|
readonly state: "error" | "clear" | "success";
|
|
32
32
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
33
33
|
_onInternalValueChanging(value: any): any;
|
|
@@ -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
|
+
"__#4@#disabled": boolean;
|
|
6
6
|
disabled: boolean;
|
|
7
|
-
"__#
|
|
7
|
+
"__#4@#tabIndex": number;
|
|
8
8
|
tabIndex: number;
|
|
9
9
|
onFocus: import("@angular/core").EventEmitter<import("../base").AXFocusEvent>;
|
|
10
10
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core";
|
|
2
|
-
import { AXBaseComponent } from "../base";
|
|
2
|
+
import { AXBaseComponent, AXItemClickEvent, AXRangeChangedEvent } from "../base";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare type AXCalendarViewType = 'years' | 'months' | 'days';
|
|
5
5
|
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
6
6
|
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
7
7
|
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
8
|
+
/**
|
|
9
|
+
* Contains native event
|
|
10
|
+
* @category Events
|
|
11
|
+
*/
|
|
12
|
+
export declare class AXCalendarNavigateEvent extends AXRangeChangedEvent<Date> {
|
|
13
|
+
}
|
|
8
14
|
export declare class AXCalendarBaseComponent extends AXBaseComponent {
|
|
9
15
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
16
|
+
onSlotClick: EventEmitter<AXItemClickEvent<Date>>;
|
|
17
|
+
onNavigate: EventEmitter<AXCalendarNavigateEvent>;
|
|
10
18
|
activeViewChange: EventEmitter<AXCalendarViewType>;
|
|
11
19
|
private _activeView;
|
|
12
20
|
get activeView(): AXCalendarViewType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXDateTime } from '@acorex/core';
|
|
2
|
-
import { ElementRef, ChangeDetectorRef
|
|
3
|
-
import { AXClickEvent, AXComponentOptionChanged
|
|
2
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { AXClickEvent, AXComponentOptionChanged } 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 {
|
|
@@ -12,7 +12,7 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
12
12
|
_todayText: string;
|
|
13
13
|
_slots: any[];
|
|
14
14
|
_dayNames: string[];
|
|
15
|
-
|
|
15
|
+
private _isUserInteraction;
|
|
16
16
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
17
17
|
private _initValues;
|
|
18
18
|
private _refresh;
|
|
@@ -37,5 +37,5 @@ export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
37
37
|
private isHoliday;
|
|
38
38
|
private isWeekend;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, 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"; "type": "type"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "
|
|
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"; "type": "type"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; }, never, never>;
|
|
41
41
|
}
|
|
@@ -3,7 +3,7 @@ import { AXBaseComponentMixin, AXClickEvent } from '../base';
|
|
|
3
3
|
import { AXCarouselComponent } from './carousel.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
6
|
-
|
|
6
|
+
parent: AXCarouselComponent;
|
|
7
7
|
onNextClick: EventEmitter<AXClickEvent>;
|
|
8
8
|
onPrevClick: EventEmitter<AXClickEvent>;
|
|
9
9
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, parent: AXCarouselComponent);
|
|
@@ -17,9 +17,23 @@ export declare abstract class AXCarouselCore {
|
|
|
17
17
|
export interface AXCarousel {
|
|
18
18
|
onSlideChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
19
19
|
onOptionsChanged: EventEmitter<void>;
|
|
20
|
-
pageSizeChange: EventEmitter<number>;
|
|
21
|
-
pageSize: number;
|
|
22
20
|
gap: number;
|
|
21
|
+
focusChange: EventEmitter<number>;
|
|
22
|
+
focus: number;
|
|
23
|
+
dragChange: EventEmitter<any>;
|
|
24
|
+
drag: any;
|
|
25
|
+
wheelChange: EventEmitter<boolean>;
|
|
26
|
+
wheel: boolean;
|
|
27
|
+
widthChange: EventEmitter<string>;
|
|
28
|
+
width: string;
|
|
29
|
+
heightChange: EventEmitter<string>;
|
|
30
|
+
height: string;
|
|
31
|
+
perPageChange: EventEmitter<number>;
|
|
32
|
+
perPage: number;
|
|
33
|
+
perMoveChange: EventEmitter<number>;
|
|
34
|
+
perMove: number;
|
|
35
|
+
heightRatioChange: EventEmitter<number>;
|
|
36
|
+
heightRatio: number;
|
|
23
37
|
autoplayChange: EventEmitter<boolean>;
|
|
24
38
|
autoplay: boolean;
|
|
25
39
|
intervalChange: EventEmitter<number>;
|
|
@@ -32,8 +46,12 @@ export interface AXCarousel {
|
|
|
32
46
|
padding: string | number;
|
|
33
47
|
loopChange: EventEmitter<boolean>;
|
|
34
48
|
loop: boolean;
|
|
49
|
+
snapChange: EventEmitter<boolean>;
|
|
50
|
+
snap: boolean;
|
|
35
51
|
rewindChange: EventEmitter<boolean>;
|
|
36
52
|
rewind: boolean;
|
|
53
|
+
autoWidthChange: EventEmitter<boolean>;
|
|
54
|
+
autoWidth: boolean;
|
|
37
55
|
visibleIndex: number;
|
|
38
56
|
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>;
|
|
39
57
|
items: HTMLDivElement[];
|
|
@@ -8,15 +8,51 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
8
8
|
constructor(elementRef: ElementRef, zone: NgZone, cdr: ChangeDetectorRef, core: AXCarouselCore);
|
|
9
9
|
onOptionsChanged: EventEmitter<void>;
|
|
10
10
|
onSlideChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
11
|
-
|
|
12
|
-
private
|
|
13
|
-
get
|
|
14
|
-
set
|
|
11
|
+
perMoveChange: EventEmitter<number>;
|
|
12
|
+
private _perMove;
|
|
13
|
+
get perMove(): number;
|
|
14
|
+
set perMove(v: number);
|
|
15
|
+
focusChange: EventEmitter<number>;
|
|
16
|
+
private _focus;
|
|
17
|
+
get focus(): number;
|
|
18
|
+
set focus(v: number);
|
|
19
|
+
heightRatioChange: EventEmitter<number>;
|
|
20
|
+
private _heightRatio;
|
|
21
|
+
get heightRatio(): number;
|
|
22
|
+
set heightRatio(v: number);
|
|
23
|
+
heightChange: EventEmitter<string>;
|
|
24
|
+
private _height;
|
|
25
|
+
get height(): string;
|
|
26
|
+
set height(v: string);
|
|
27
|
+
widthChange: EventEmitter<string>;
|
|
28
|
+
private _width;
|
|
29
|
+
get width(): string;
|
|
30
|
+
set width(v: string);
|
|
31
|
+
perPageChange: EventEmitter<number>;
|
|
32
|
+
private _perPage;
|
|
33
|
+
get perPage(): number;
|
|
34
|
+
set perPage(v: number);
|
|
15
35
|
gap: number;
|
|
16
36
|
autoplayChange: EventEmitter<boolean>;
|
|
17
37
|
private _autoplay;
|
|
18
38
|
get autoplay(): boolean;
|
|
19
39
|
set autoplay(v: boolean);
|
|
40
|
+
snapChange: EventEmitter<boolean>;
|
|
41
|
+
private _snap;
|
|
42
|
+
get snap(): boolean;
|
|
43
|
+
set snap(v: boolean);
|
|
44
|
+
autoWidthChange: EventEmitter<boolean>;
|
|
45
|
+
private _autoWidth;
|
|
46
|
+
get autoWidth(): boolean;
|
|
47
|
+
set autoWidth(v: boolean);
|
|
48
|
+
dragChange: EventEmitter<any>;
|
|
49
|
+
private _drag;
|
|
50
|
+
get drag(): any;
|
|
51
|
+
set drag(v: any);
|
|
52
|
+
wheelChange: EventEmitter<boolean>;
|
|
53
|
+
private _wheel;
|
|
54
|
+
get wheel(): boolean;
|
|
55
|
+
set wheel(v: boolean);
|
|
20
56
|
intervalChange: EventEmitter<number>;
|
|
21
57
|
private _interval;
|
|
22
58
|
get interval(): number;
|
|
@@ -58,5 +94,5 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
58
94
|
get host(): HTMLDivElement;
|
|
59
95
|
onDestroy(): void;
|
|
60
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselComponent, "ax-carousel", never, { "
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselComponent, "ax-carousel", never, { "perMove": "perMove"; "focus": "focus"; "heightRatio": "heightRatio"; "height": "height"; "width": "width"; "perPage": "perPage"; "gap": "gap"; "autoplay": "autoplay"; "snap": "snap"; "autoWidth": "autoWidth"; "drag": "drag"; "wheel": "wheel"; "interval": "interval"; "padding": "padding"; "centered": "centered"; "vertical": "vertical"; "loop": "loop"; "rewind": "rewind"; }, { "onOptionsChanged": "onOptionsChanged"; "onSlideChanged": "onSlideChanged"; "perMoveChange": "perMoveChange"; "focusChange": "focusChange"; "heightRatioChange": "heightRatioChange"; "heightChange": "heightChange"; "widthChange": "widthChange"; "perPageChange": "perPageChange"; "autoplayChange": "autoplayChange"; "snapChange": "snapChange"; "autoWidthChange": "autoWidthChange"; "dragChange": "dragChange"; "wheelChange": "wheelChange"; "intervalChange": "intervalChange"; "paddingChange": "paddingChange"; "centeredChange": "centeredChange"; "verticalChange": "verticalChange"; "loopChange": "loopChange"; "rewindChange": "rewindChange"; "onItemsChanged": "onItemsChanged"; }, never, ["ax-carousel-item", "ax-carousel-arrows", "ax-carousel-pager"]>;
|
|
62
98
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { AXPlatform } from '@acorex/core';
|
|
2
2
|
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
-
import { AXClickEvent } from '../base';
|
|
4
|
-
import {
|
|
5
|
-
import { AXCalendarBaseComponent } from '../calendar/calendar.class';
|
|
3
|
+
import { AXClickEvent, AXComponentOptionChanged } from '../base';
|
|
4
|
+
import { AXCalendarBaseComponent, AXCalendarNavigateEvent } from '../calendar/calendar.class';
|
|
6
5
|
import { AXPopoverComponent } from '../popover/popover.component';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
9
|
-
"__#
|
|
8
|
+
"__#4@#disabled": boolean;
|
|
10
9
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
10
|
+
"__#4@#tabIndex": number;
|
|
12
11
|
tabIndex: number;
|
|
13
12
|
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
14
13
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -35,7 +34,7 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
35
34
|
onViewInit(): void;
|
|
36
35
|
onDestroy(): void;
|
|
37
36
|
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
38
|
-
_onOptionChanged(option:
|
|
37
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
39
38
|
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
40
39
|
}) & (abstract new (...args: any[]) => {
|
|
41
40
|
readonly: boolean;
|
|
@@ -68,25 +67,25 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
68
67
|
onRenderCssClass(): void;
|
|
69
68
|
onDestroy(): void;
|
|
70
69
|
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
71
|
-
_onOptionChanged(option:
|
|
70
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
72
71
|
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
73
72
|
}) & {
|
|
74
73
|
new (...args: any[]): {
|
|
75
74
|
onValueChanged: EventEmitter<import("../base").AXValueChangedEvent<any>>;
|
|
76
75
|
valueChange: EventEmitter<any>;
|
|
77
|
-
"__#
|
|
76
|
+
"__#5@#readonly": boolean;
|
|
78
77
|
readonly: boolean;
|
|
79
|
-
"__#
|
|
78
|
+
"__#5@#allowNull": boolean;
|
|
80
79
|
allowNull: boolean;
|
|
81
|
-
"__#
|
|
80
|
+
"__#5@#name": string;
|
|
82
81
|
name: string;
|
|
83
|
-
"__#
|
|
82
|
+
"__#5@#debounceTime": number;
|
|
84
83
|
debounceTime: number;
|
|
85
|
-
"__#
|
|
86
|
-
"__#
|
|
87
|
-
"__#
|
|
84
|
+
"__#5@#valueSubscription": import("rxjs").Subscription;
|
|
85
|
+
"__#5@#valueSubject": import("rxjs").Subject<unknown>;
|
|
86
|
+
"__#5@#value": any;
|
|
88
87
|
value: any;
|
|
89
|
-
"__#
|
|
88
|
+
"__#5@#state": "error" | "clear" | "success";
|
|
90
89
|
readonly state: "error" | "clear" | "success";
|
|
91
90
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
92
91
|
_onInternalValueChanging(value: any): any;
|
|
@@ -115,14 +114,14 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
115
114
|
onViewInit(): void;
|
|
116
115
|
onDestroy(): void;
|
|
117
116
|
_onOptionChanging(option: import("../base").AXComponentOptionChanging): any;
|
|
118
|
-
_onOptionChanged(option:
|
|
117
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
119
118
|
_setOption(option: import("../base").AXComponentSetOption): void;
|
|
120
119
|
};
|
|
121
120
|
} & typeof AXCalendarBaseComponent;
|
|
122
121
|
export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
123
122
|
private _platform;
|
|
124
123
|
popover: AXPopoverComponent;
|
|
125
|
-
_calendar
|
|
124
|
+
private _calendar;
|
|
126
125
|
_target: HTMLDivElement;
|
|
127
126
|
displayText: string;
|
|
128
127
|
_calendarValue: Date;
|
|
@@ -136,12 +135,16 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
136
135
|
set format(v: string);
|
|
137
136
|
placeholder: string;
|
|
138
137
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _platform: AXPlatform);
|
|
139
|
-
|
|
138
|
+
onInit(): void;
|
|
139
|
+
private _updateDisplayText;
|
|
140
|
+
_handlePopoverOpened(e: any): void;
|
|
140
141
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
141
142
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
143
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
142
144
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
143
145
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
146
|
+
_handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
144
147
|
private _highlightPart;
|
|
145
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
146
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDatePickerComponent, "ax-date-picker", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "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"; "typeChange": "typeChange"; "
|
|
149
|
+
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"; "typeChange": "typeChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-calendar-options"]>;
|
|
147
150
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef,
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { AXBaseMenuMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface AXMenuItems {
|
|
5
5
|
id?: string;
|
|
@@ -23,18 +23,15 @@ export interface AXMenuItems {
|
|
|
23
23
|
*
|
|
24
24
|
* @category Components
|
|
25
25
|
*/
|
|
26
|
-
export declare class AXMenuComponent extends
|
|
26
|
+
export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
27
27
|
private elementRef;
|
|
28
28
|
private cdr;
|
|
29
|
-
/**
|
|
30
|
-
* @ignore
|
|
31
|
-
*/
|
|
32
29
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
onMenuClick(e: MouseEvent, item:
|
|
36
|
-
notActive(items:
|
|
37
|
-
closeChild(items:
|
|
30
|
+
onInit(): void;
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
onMenuClick(e: MouseEvent, item: any): void;
|
|
33
|
+
notActive(items: any[]): void;
|
|
34
|
+
closeChild(items: any[]): void;
|
|
38
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "items": "items"; }, { "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "textField": "textField"; "valueField": "valueField"; "items": "items"; "id": "id"; "parentId": "parentId"; "icon": "icon"; "tooltip": "tooltip"; "isOpen": "isOpen"; "isActive": "isActive"; "visible": "visible"; "disableField": "disableField"; "hasChildField": "hasChildField"; "openMode": "openMode"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, never>;
|
|
40
37
|
}
|