@acorex/components 5.1.2 → 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/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/calendar/calendar.component.mjs +1 -1
- 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 +10 -3
- package/esm2020/lib/menu/menu.component.mjs +14 -6
- package/esm2020/lib/menu/menu.module.mjs +20 -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/fesm2015/acorex-components.mjs +477 -304
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +462 -291
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/index.d.ts +1 -0
- package/lib/base/mixin/datalist-component.class.d.ts +1 -0
- 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 +5 -0
- package/lib/carousel/carousel.component.d.ts +13 -1
- 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 +2 -1
- package/lib/menu/menu.component.d.ts +4 -2
- package/lib/menu/menu.module.d.ts +2 -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/package.json +1 -1
package/lib/base/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
14
14
|
"__#3@#totalItems": number;
|
|
15
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;
|
|
@@ -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
|
}
|
|
@@ -26,8 +26,12 @@ export interface AXCarousel {
|
|
|
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;
|
|
@@ -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", "*"]>;
|
|
@@ -134,6 +134,7 @@ 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;
|
|
@@ -146,5 +147,5 @@ export declare class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
146
147
|
_handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
147
148
|
private _highlightPart;
|
|
148
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDatePickerComponent, never>;
|
|
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"]>;
|
|
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"]>;
|
|
150
151
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AXBaseMenuMixin } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface AXMenuItems {
|
|
@@ -26,6 +26,8 @@ export interface AXMenuItems {
|
|
|
26
26
|
export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
27
27
|
private elementRef;
|
|
28
28
|
private cdr;
|
|
29
|
+
private _contentEmptyTemplate;
|
|
30
|
+
get emptyTemplate(): TemplateRef<any>;
|
|
29
31
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
30
32
|
onInit(): void;
|
|
31
33
|
ngAfterViewInit(): void;
|
|
@@ -33,5 +35,5 @@ export declare class AXMenuComponent extends AXBaseMenuMixin implements OnInit {
|
|
|
33
35
|
notActive(items: any[]): void;
|
|
34
36
|
closeChild(items: any[]): void;
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
|
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"; },
|
|
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>;
|
|
37
39
|
}
|
|
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "../icon/icon.module";
|
|
5
5
|
import * as i4 from "../loading/loading.module";
|
|
6
6
|
import * as i5 from "@acorex/core";
|
|
7
|
+
import * as i6 from "../popover/popover.module";
|
|
7
8
|
export declare class AXMenuModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMenuModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMenuModule, [typeof i1.AXMenuComponent], [typeof i2.CommonModule, typeof i3.AXIconModule, typeof i4.AXLoadingModule, typeof i5.AXTranslationModule], [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]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMenuModule>;
|
|
11
12
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import { AXBaseComponent } from '../base';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent, AXValueChangedEvent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface PickerItem {
|
|
5
5
|
id?: string;
|
|
@@ -8,11 +8,18 @@ export interface PickerItem {
|
|
|
8
8
|
active?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export declare class AXPickerComponent extends AXBaseComponent {
|
|
11
|
+
itemTemplate: TemplateRef<any>;
|
|
12
|
+
width: string;
|
|
13
|
+
height: string;
|
|
14
|
+
itemHeight: string;
|
|
11
15
|
items: PickerItem[];
|
|
16
|
+
onItemChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
12
17
|
/**
|
|
13
18
|
* @ignore
|
|
14
19
|
*/
|
|
15
20
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
21
|
+
private _emitOnSlideChanged;
|
|
22
|
+
handleMoveChange(e: any): void;
|
|
16
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, { "items": "items"; }, {},
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, { "width": "width"; "height": "height"; "itemHeight": "itemHeight"; "items": "items"; }, { "onItemChanged": "onItemChanged"; }, ["itemTemplate"], never>;
|
|
18
25
|
}
|
|
@@ -36,8 +36,11 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
|
|
|
36
36
|
_handleKeydownHandler(e: KeyboardEvent): void;
|
|
37
37
|
toggle(): void;
|
|
38
38
|
close(): void;
|
|
39
|
+
dispose(): void;
|
|
39
40
|
open(): void;
|
|
40
41
|
private _ensureOverlayCreated;
|
|
42
|
+
private _openAsPopover;
|
|
43
|
+
private _openAsActionsheet;
|
|
41
44
|
get isOpen(): boolean;
|
|
42
45
|
private _addSub;
|
|
43
46
|
updatePosition(): void;
|
|
@@ -61,7 +61,7 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
|
|
|
61
61
|
_handleBadgeRemove(e: MouseEvent, item: any): void;
|
|
62
62
|
_handleKeydown(e: KeyboardEvent): void;
|
|
63
63
|
_handlePopoverKeydown(e: KeyboardEvent): void;
|
|
64
|
-
_handlePopupOnOpened(e: any): void
|
|
64
|
+
_handlePopupOnOpened(e: any): Promise<void>;
|
|
65
65
|
_handlePopupOnClosed(e: any): void;
|
|
66
66
|
private _focusItemByNav;
|
|
67
67
|
private _focusSelectedItem;
|