@acorex/components 5.1.0 → 5.2.0
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/index.mjs +2 -1
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +135 -0
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +4 -1
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +1 -4
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +3 -2
- package/esm2020/lib/base/mixin/mixin.class.mjs +4 -3
- package/esm2020/lib/calendar/calendar.component.mjs +9 -3
- package/esm2020/lib/calendar/calendar.module.mjs +6 -4
- package/esm2020/lib/calendar/index.mjs +2 -1
- package/esm2020/lib/calendar/inline-calendar.component.mjs +39 -0
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +10 -8
- package/esm2020/lib/carousel/carousel-splidejs.class.mjs +4 -1
- package/esm2020/lib/carousel/carousel.class.mjs +1 -1
- package/esm2020/lib/carousel/carousel.component.mjs +51 -2
- package/esm2020/lib/collapse/collapse-group.component.mjs +16 -12
- package/esm2020/lib/collapse/collapse.component.mjs +2 -3
- package/esm2020/lib/datepicker/datepicker.component.mjs +13 -6
- package/esm2020/lib/menu/menu.component.mjs +46 -26
- package/esm2020/lib/menu/menu.module.mjs +22 -4
- package/esm2020/lib/picker/picker.component.mjs +26 -5
- package/esm2020/lib/popover/popover.component.mjs +37 -18
- package/esm2020/lib/selectbox/selectbox.component.mjs +17 -9
- package/esm2020/lib/tabs/tab-item.component.mjs +7 -4
- package/esm2020/lib/tabs/tabs.component.mjs +4 -3
- package/fesm2015/acorex-components.mjs +664 -341
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +647 -326
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/index.d.ts +1 -0
- package/lib/base/mixin/base-menu-mixin.class.d.ts +51 -0
- package/lib/base/mixin/datalist-component.class.d.ts +9 -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.module.d.ts +8 -6
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/inline-calendar.component.d.ts +14 -0
- package/lib/carousel/carousel-arrows.component.d.ts +2 -1
- package/lib/carousel/carousel.class.d.ts +7 -2
- package/lib/carousel/carousel.component.d.ts +14 -2
- package/lib/collapse/collapse-group.component.d.ts +7 -6
- package/lib/collapse/collapse.component.d.ts +2 -3
- package/lib/datepicker/datepicker.component.d.ts +13 -11
- package/lib/menu/menu.component.d.ts +11 -12
- package/lib/menu/menu.module.d.ts +4 -1
- package/lib/picker/picker.component.d.ts +10 -3
- package/lib/popover/popover.component.d.ts +3 -0
- package/lib/selectbox/selectbox.component.d.ts +1 -1
- package/lib/tabs/tab-item.component.d.ts +1 -1
- package/lib/tabs/tabs.component.d.ts +1 -0
- package/package.json +1 -1
package/lib/base/index.d.ts
CHANGED
|
@@ -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,16 @@ 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
|
+
readonly isLazy: boolean;
|
|
17
18
|
readonly loadedCount: number;
|
|
18
|
-
"__#
|
|
19
|
+
"__#3@#items": AXDataListItems;
|
|
19
20
|
items: AXDataListItems;
|
|
20
21
|
readonly displayItems: any[];
|
|
21
22
|
readonly flatItems: any[];
|
|
@@ -25,7 +26,7 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
25
26
|
searchQuery?: string;
|
|
26
27
|
}): void;
|
|
27
28
|
_onDataLoaded(): void;
|
|
28
|
-
"__#
|
|
29
|
+
"__#3@#generateFlatItems"(): void;
|
|
29
30
|
_getItemDisplayTextTemplte(item: any): any;
|
|
30
31
|
_trackByFunction(item: any): any;
|
|
31
32
|
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,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./calendar.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "../
|
|
7
|
-
import * as i6 from "
|
|
3
|
+
import * as i2 from "./inline-calendar.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../button/button.module";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../decorators/decorators.module";
|
|
8
|
+
import * as i7 from "@acorex/core";
|
|
9
|
+
import * as i8 from "../picker/picker.module";
|
|
8
10
|
export declare class AXCalendarModule {
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent, typeof i2.AXInlineCalendarComponent], [typeof i3.CommonModule, typeof i4.AXButtonModule, typeof i5.AXIconModule, typeof i6.AXEditorDecoratorModule, typeof i7.AXDateTimeModule, typeof i8.AXPickerModule], [typeof i1.AXCalendarComponent, typeof i2.AXInlineCalendarComponent]>;
|
|
11
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
12
14
|
}
|
package/lib/calendar/index.d.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXInlineCalendarComponent extends AXBaseComponent implements OnInit {
|
|
5
|
+
private elementRef;
|
|
6
|
+
private cdr;
|
|
7
|
+
_days: any[];
|
|
8
|
+
_width: string;
|
|
9
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
handleDayChange(e: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXInlineCalendarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXInlineCalendarComponent, "ax-inline-calendar", never, {}, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -4,11 +4,12 @@ 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
|
+
class: string;
|
|
7
8
|
onNextClick: EventEmitter<AXClickEvent>;
|
|
8
9
|
onPrevClick: EventEmitter<AXClickEvent>;
|
|
9
10
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, parent: AXCarouselComponent);
|
|
10
11
|
_handlePrevClick(e: MouseEvent): void;
|
|
11
12
|
_handleNextClick(e: MouseEvent): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselArrowsComponent, [null, null, { optional: true; }]>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselArrowsComponent, "ax-carousel-arrows", never, {}, { "onNextClick": "onNextClick"; "onPrevClick": "onPrevClick"; }, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselArrowsComponent, "ax-carousel-arrows", never, { "class": "class"; }, { "onNextClick": "onNextClick"; "onPrevClick": "onPrevClick"; }, never, never>;
|
|
14
15
|
}
|
|
@@ -20,14 +20,18 @@ export interface AXCarousel {
|
|
|
20
20
|
gap: number;
|
|
21
21
|
focusChange: EventEmitter<number>;
|
|
22
22
|
focus: number;
|
|
23
|
-
dragChange: EventEmitter<
|
|
24
|
-
drag:
|
|
23
|
+
dragChange: EventEmitter<any>;
|
|
24
|
+
drag: any;
|
|
25
25
|
wheelChange: EventEmitter<boolean>;
|
|
26
26
|
wheel: boolean;
|
|
27
27
|
widthChange: EventEmitter<string>;
|
|
28
28
|
width: string;
|
|
29
|
+
fixedWidthChange: EventEmitter<string>;
|
|
30
|
+
fixedWidth: string;
|
|
29
31
|
heightChange: EventEmitter<string>;
|
|
30
32
|
height: string;
|
|
33
|
+
fixedHeightChange: EventEmitter<string>;
|
|
34
|
+
fixedHeight: string;
|
|
31
35
|
perPageChange: EventEmitter<number>;
|
|
32
36
|
perPage: number;
|
|
33
37
|
perMoveChange: EventEmitter<number>;
|
|
@@ -52,6 +56,7 @@ export interface AXCarousel {
|
|
|
52
56
|
rewind: boolean;
|
|
53
57
|
autoWidthChange: EventEmitter<boolean>;
|
|
54
58
|
autoWidth: boolean;
|
|
59
|
+
breakpoints: any;
|
|
55
60
|
visibleIndex: number;
|
|
56
61
|
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>;
|
|
57
62
|
items: HTMLDivElement[];
|
|
@@ -16,6 +16,10 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
16
16
|
private _focus;
|
|
17
17
|
get focus(): number;
|
|
18
18
|
set focus(v: number);
|
|
19
|
+
breakpointsChange: EventEmitter<any>;
|
|
20
|
+
private _breakpoints;
|
|
21
|
+
get breakpoints(): any;
|
|
22
|
+
set breakpoints(v: any);
|
|
19
23
|
heightRatioChange: EventEmitter<number>;
|
|
20
24
|
private _heightRatio;
|
|
21
25
|
get heightRatio(): number;
|
|
@@ -24,10 +28,18 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
24
28
|
private _height;
|
|
25
29
|
get height(): string;
|
|
26
30
|
set height(v: string);
|
|
31
|
+
fixedHeightChange: EventEmitter<string>;
|
|
32
|
+
private _fixedHeight;
|
|
33
|
+
get fixedHeight(): string;
|
|
34
|
+
set fixedHeight(v: string);
|
|
27
35
|
widthChange: EventEmitter<string>;
|
|
28
36
|
private _width;
|
|
29
37
|
get width(): string;
|
|
30
38
|
set width(v: string);
|
|
39
|
+
fixedWidthChange: EventEmitter<string>;
|
|
40
|
+
private _fixedWidth;
|
|
41
|
+
get fixedWidth(): string;
|
|
42
|
+
set fixedWidth(v: string);
|
|
31
43
|
perPageChange: EventEmitter<number>;
|
|
32
44
|
private _perPage;
|
|
33
45
|
get perPage(): number;
|
|
@@ -45,7 +57,7 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
45
57
|
private _autoWidth;
|
|
46
58
|
get autoWidth(): boolean;
|
|
47
59
|
set autoWidth(v: boolean);
|
|
48
|
-
dragChange: EventEmitter<
|
|
60
|
+
dragChange: EventEmitter<any>;
|
|
49
61
|
private _drag;
|
|
50
62
|
get drag(): any;
|
|
51
63
|
set drag(v: any);
|
|
@@ -94,5 +106,5 @@ export declare class AXCarouselComponent extends AXBaseComponentMixin implements
|
|
|
94
106
|
get host(): HTMLDivElement;
|
|
95
107
|
onDestroy(): void;
|
|
96
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselComponent, 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"]>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselComponent, "ax-carousel", never, { "perMove": "perMove"; "focus": "focus"; "breakpoints": "breakpoints"; "heightRatio": "heightRatio"; "height": "height"; "fixedHeight": "fixedHeight"; "width": "width"; "fixedWidth": "fixedWidth"; "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"; "breakpointsChange": "breakpointsChange"; "heightRatioChange": "heightRatioChange"; "heightChange": "heightChange"; "fixedHeightChange": "fixedHeightChange"; "widthChange": "widthChange"; "fixedWidthChange": "fixedWidthChange"; "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"]>;
|
|
98
110
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXCollapseGroupComponent extends AXBaseComponent
|
|
4
|
+
export declare class AXCollapseGroupComponent extends AXBaseComponent {
|
|
5
5
|
private cdr;
|
|
6
6
|
accordion: boolean;
|
|
7
7
|
nonCollapsedIndex: number;
|
|
8
|
-
private
|
|
8
|
+
private _items;
|
|
9
|
+
private _subs;
|
|
9
10
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
onViewInit(): void;
|
|
12
|
+
onDestroy(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseGroupComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "accordion": "accordion"; "nonCollapsedIndex": "nonCollapsedIndex"; }, {}, ["
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "accordion": "accordion"; "nonCollapsedIndex": "nonCollapsedIndex"; }, {}, ["_items"], ["ax-collapse"]>;
|
|
14
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter,
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXCollapseComponent extends AXBaseComponent
|
|
4
|
+
export declare class AXCollapseComponent extends AXBaseComponent {
|
|
5
5
|
private cdr;
|
|
6
6
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
7
7
|
isCollapsedChange: EventEmitter<any>;
|
|
@@ -10,7 +10,6 @@ export declare class AXCollapseComponent extends AXBaseComponent implements OnIn
|
|
|
10
10
|
set isCollapsed(v: boolean);
|
|
11
11
|
caption: string;
|
|
12
12
|
headerTemplate: TemplateRef<any>;
|
|
13
|
-
ngOnInit(): void;
|
|
14
13
|
handleHeaderClick(): void;
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseComponent, never>;
|
|
16
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseComponent, "ax-collapse", never, { "isCollapsed": "isCollapsed"; "caption": "caption"; }, { "isCollapsedChange": "isCollapsedChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "*"]>;
|
|
@@ -5,9 +5,9 @@ import { AXCalendarBaseComponent, AXCalendarNavigateEvent } from '../calendar/ca
|
|
|
5
5
|
import { AXPopoverComponent } from '../popover/popover.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
8
|
-
"__#
|
|
8
|
+
"__#4@#disabled": boolean;
|
|
9
9
|
disabled: boolean;
|
|
10
|
-
"__#
|
|
10
|
+
"__#4@#tabIndex": number;
|
|
11
11
|
tabIndex: number;
|
|
12
12
|
onFocus: EventEmitter<import("../base").AXFocusEvent>;
|
|
13
13
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -73,19 +73,19 @@ export declare const AXBaseDatePickerMixin: (abstract new (...args: any[]) => {
|
|
|
73
73
|
new (...args: any[]): {
|
|
74
74
|
onValueChanged: EventEmitter<import("../base").AXValueChangedEvent<any>>;
|
|
75
75
|
valueChange: EventEmitter<any>;
|
|
76
|
-
"__#
|
|
76
|
+
"__#5@#readonly": boolean;
|
|
77
77
|
readonly: boolean;
|
|
78
|
-
"__#
|
|
78
|
+
"__#5@#allowNull": boolean;
|
|
79
79
|
allowNull: boolean;
|
|
80
|
-
"__#
|
|
80
|
+
"__#5@#name": string;
|
|
81
81
|
name: string;
|
|
82
|
-
"__#
|
|
82
|
+
"__#5@#debounceTime": number;
|
|
83
83
|
debounceTime: number;
|
|
84
|
-
"__#
|
|
85
|
-
"__#
|
|
86
|
-
"__#
|
|
84
|
+
"__#5@#valueSubscription": import("rxjs").Subscription;
|
|
85
|
+
"__#5@#valueSubject": import("rxjs").Subject<unknown>;
|
|
86
|
+
"__#5@#value": any;
|
|
87
87
|
value: any;
|
|
88
|
-
"__#
|
|
88
|
+
"__#5@#state": "error" | "clear" | "success";
|
|
89
89
|
readonly state: "error" | "clear" | "success";
|
|
90
90
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
91
91
|
_onInternalValueChanging(value: any): any;
|
|
@@ -134,9 +134,11 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
134
134
|
get format(): string;
|
|
135
135
|
set format(v: string);
|
|
136
136
|
placeholder: string;
|
|
137
|
+
interface: 'calendar' | 'picker';
|
|
137
138
|
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef, _platform: AXPlatform);
|
|
138
139
|
onInit(): void;
|
|
139
140
|
private _updateDisplayText;
|
|
141
|
+
_handlePopoverOpened(e: any): void;
|
|
140
142
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
141
143
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
142
144
|
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
@@ -145,5 +147,5 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
145
147
|
_handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
146
148
|
private _highlightPart;
|
|
147
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
148
|
-
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"]>;
|
|
150
|
+
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"; "interface": "interface"; }, { "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"]>;
|
|
149
151
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef,
|
|
2
|
-
import {
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, OnInit, TemplateRef } 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,17 @@ 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
|
-
|
|
31
|
-
*/
|
|
29
|
+
private _contentEmptyTemplate;
|
|
30
|
+
get emptyTemplate(): TemplateRef<any>;
|
|
32
31
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
onMenuClick(e: MouseEvent, item:
|
|
36
|
-
notActive(items:
|
|
37
|
-
closeChild(items:
|
|
32
|
+
onInit(): void;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
onMenuClick(e: MouseEvent, item: any): void;
|
|
35
|
+
notActive(items: any[]): void;
|
|
36
|
+
closeChild(items: any[]): void;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "items": "items"; }, { "
|
|
38
|
+
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"; }, ["_contentEmptyTemplate"], never>;
|
|
40
39
|
}
|
|
@@ -2,8 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./menu.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../icon/icon.module";
|
|
5
|
+
import * as i4 from "../loading/loading.module";
|
|
6
|
+
import * as i5 from "@acorex/core";
|
|
7
|
+
import * as i6 from "../popover/popover.module";
|
|
5
8
|
export declare class AXMenuModule {
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.AXIconModule], [typeof i1.AXMenuComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.AXIconModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule, typeof i6.AXPopoverModule], [typeof i1.AXMenuComponent]>;
|
|
8
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMenuModule>;
|
|
9
12
|
}
|