@acorex/components 5.0.59 → 5.1.1
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/breadcrumbs/breadcrumbs-item.component.mjs +8 -5
- package/esm2020/lib/breadcrumbs/breadcrumbs.component.mjs +8 -5
- package/esm2020/lib/calendar/calendar.class.mjs +16 -4
- package/esm2020/lib/calendar/calendar.component.mjs +25 -11
- 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/collapse/collapse-group.component.mjs +6 -12
- package/esm2020/lib/collapse/collapse.component.mjs +6 -5
- package/esm2020/lib/datepicker/datepicker.component.mjs +17 -6
- 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/result/result.module.mjs +6 -6
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +309 -74
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +308 -74
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/base/events.class.d.ts +14 -0
- package/lib/breadcrumbs/breadcrumbs-item.component.d.ts +5 -1
- package/lib/breadcrumbs/breadcrumbs.component.d.ts +5 -1
- 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/collapse/collapse-group.component.d.ts +3 -3
- package/lib/collapse/collapse.component.d.ts +3 -2
- package/lib/datepicker/datepicker.component.d.ts +11 -9
- 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/result/result.module.d.ts +4 -4
- 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
|
+
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
2
|
import { AXBaseComponent } from '../base/mixin';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
4
5
|
text: string;
|
|
5
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsItemComponent, never>;
|
|
7
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsItemComponent, "ax-breadcrumbs-item", never, { "text": "text"; }, {}, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix,ax-loading,ax-icon"]>;
|
|
8
12
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
2
|
import { AXBaseComponent } from '../base';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
8
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
5
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBreadCrumbsComponent, never>;
|
|
6
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXBreadCrumbsComponent, "ax-breadcrumbs", never, {}, {}, never, ["ax-breadcrumbs-item"]>;
|
|
7
11
|
}
|
|
@@ -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,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { AXBaseComponent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXCollapseGroupComponent extends AXBaseComponent implements OnInit {
|
|
5
|
+
private cdr;
|
|
5
6
|
accordion: boolean;
|
|
6
7
|
nonCollapsedIndex: number;
|
|
7
8
|
private _collapses;
|
|
8
|
-
constructor();
|
|
9
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
ngAfterViewInit(): void;
|
|
11
|
-
ngDoCheck(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseGroupComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "accordion": "accordion"; "nonCollapsedIndex": "nonCollapsedIndex"; }, {}, ["_collapses"], ["ax-collapse"]>;
|
|
14
14
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AXBaseComponent } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXCollapseComponent extends AXBaseComponent implements OnInit {
|
|
5
|
+
private cdr;
|
|
6
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
5
7
|
isCollapsedChange: EventEmitter<any>;
|
|
6
8
|
private _isCollapsed;
|
|
7
9
|
get isCollapsed(): boolean;
|
|
8
10
|
set isCollapsed(v: boolean);
|
|
9
11
|
caption: string;
|
|
10
12
|
headerTemplate: TemplateRef<any>;
|
|
11
|
-
constructor();
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
handleHeaderClick(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseComponent, never>;
|
|
@@ -1,8 +1,7 @@
|
|
|
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[]) => {
|
|
@@ -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,7 +67,7 @@ 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[]): {
|
|
@@ -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,15 @@ 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
140
|
_handleArrowClickEvent(e: AXClickEvent): void;
|
|
141
141
|
_onValueChanged(oldValue?: any, newValue?: any): void;
|
|
142
|
+
_onOptionChanged(option: AXComponentOptionChanged): void;
|
|
142
143
|
_handleOnKeydownEvent(e: KeyboardEvent): void;
|
|
143
144
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
|
145
|
+
_handleOnNavigate(e: AXCalendarNavigateEvent): void;
|
|
144
146
|
private _highlightPart;
|
|
145
147
|
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"; "
|
|
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"]>;
|
|
147
149
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface PickerItem {
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class AXPickerComponent extends AXBaseComponent {
|
|
11
|
+
items: PickerItem[];
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
15
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerComponent, "ax-picker", never, { "items": "items"; }, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../carousel/carousel.module";
|
|
5
|
+
export declare class AXPickerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXPickerModule, [typeof i1.AXPickerComponent], [typeof i2.CommonModule, typeof i3.AXCarouselModule], [typeof i1.AXPickerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXPickerModule>;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./result.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<
|
|
4
|
+
export declare class AXResultModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXResultModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXResultModule, [typeof i1.AXResultComponent], [typeof i2.CommonModule], [typeof i1.AXResultComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXResultModule>;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.3.2",
|
|
6
6
|
"@angular/core": "^13.3.2",
|
|
7
7
|
"@angular/cdk": "^13.3.2",
|
|
8
|
-
"@splidejs/splide": "^
|
|
8
|
+
"@splidejs/splide": "^4.0.1",
|
|
9
9
|
"ngx-mask": "^12.0.0",
|
|
10
10
|
"angular-imask": "^6.3.0-alpha.0"
|
|
11
11
|
},
|
package/public-api.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from "./lib/menu";
|
|
|
28
28
|
export * from "./lib/number-box";
|
|
29
29
|
export * from "./lib/page";
|
|
30
30
|
export * from "./lib/password-box";
|
|
31
|
+
export * from "./lib/picker";
|
|
31
32
|
export * from "./lib/popover";
|
|
32
33
|
export * from "./lib/popup";
|
|
33
34
|
export * from "./lib/progress-bar";
|