@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
|
@@ -1106,6 +1106,12 @@ class AXFocusEvent extends AXHtmlEvent {
|
|
|
1106
1106
|
* @category Events
|
|
1107
1107
|
*/
|
|
1108
1108
|
class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Contains range start & end values
|
|
1112
|
+
* @category Events
|
|
1113
|
+
*/
|
|
1114
|
+
class AXRangeChangedEvent extends AXEvent {
|
|
1109
1115
|
}
|
|
1110
1116
|
|
|
1111
1117
|
// export type AXPlacement =
|
|
@@ -2482,28 +2488,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2482
2488
|
}] });
|
|
2483
2489
|
|
|
2484
2490
|
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
2485
|
-
|
|
2486
|
-
|
|
2491
|
+
/**
|
|
2492
|
+
* @ignore
|
|
2493
|
+
*/
|
|
2494
|
+
constructor(_elementRef, _cdr) {
|
|
2495
|
+
super(_elementRef, _cdr);
|
|
2487
2496
|
}
|
|
2488
2497
|
}
|
|
2489
|
-
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2498
|
+
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2490
2499
|
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" });
|
|
2491
2500
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
2492
2501
|
type: Component,
|
|
2493
2502
|
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
2494
|
-
}], ctorParameters: function () { return []; } });
|
|
2503
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2495
2504
|
|
|
2496
2505
|
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
2497
|
-
|
|
2498
|
-
|
|
2506
|
+
/**
|
|
2507
|
+
* @ignore
|
|
2508
|
+
*/
|
|
2509
|
+
constructor(_elementRef, _cdr) {
|
|
2510
|
+
super(_elementRef, _cdr);
|
|
2499
2511
|
}
|
|
2500
2512
|
}
|
|
2501
|
-
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2513
|
+
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2502
2514
|
AXBreadCrumbsItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" });
|
|
2503
2515
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
2504
2516
|
type: Component,
|
|
2505
2517
|
args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div>{{text}}</div>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>" }]
|
|
2506
|
-
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
2518
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2507
2519
|
type: Input
|
|
2508
2520
|
}] } });
|
|
2509
2521
|
|
|
@@ -2522,9 +2534,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2522
2534
|
}]
|
|
2523
2535
|
}] });
|
|
2524
2536
|
|
|
2537
|
+
/**
|
|
2538
|
+
* Contains native event
|
|
2539
|
+
* @category Events
|
|
2540
|
+
*/
|
|
2541
|
+
class AXCalendarNavigateEvent extends AXRangeChangedEvent {
|
|
2542
|
+
}
|
|
2525
2543
|
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
2526
2544
|
constructor(elementRef, cdr) {
|
|
2527
2545
|
super(elementRef, cdr);
|
|
2546
|
+
this.onSlotClick = new EventEmitter();
|
|
2547
|
+
this.onNavigate = new EventEmitter();
|
|
2528
2548
|
this.activeViewChange = new EventEmitter();
|
|
2529
2549
|
this._activeView = 'days';
|
|
2530
2550
|
this.typeChange = new EventEmitter();
|
|
@@ -2592,7 +2612,11 @@ AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
2592
2612
|
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2593
2613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
2594
2614
|
type: Injectable
|
|
2595
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2615
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onSlotClick: [{
|
|
2616
|
+
type: Output
|
|
2617
|
+
}], onNavigate: [{
|
|
2618
|
+
type: Output
|
|
2619
|
+
}], activeViewChange: [{
|
|
2596
2620
|
type: Output
|
|
2597
2621
|
}], activeView: [{
|
|
2598
2622
|
type: Input
|
|
@@ -2630,7 +2654,7 @@ const CALENDAR_INPUTS = [
|
|
|
2630
2654
|
'type',
|
|
2631
2655
|
'holidayDates',
|
|
2632
2656
|
];
|
|
2633
|
-
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', '
|
|
2657
|
+
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDatesChange', 'holidayDatesChange', 'onNavigate'];
|
|
2634
2658
|
|
|
2635
2659
|
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
2636
2660
|
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
@@ -2642,7 +2666,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2642
2666
|
this._todayText = '';
|
|
2643
2667
|
this._slots = [];
|
|
2644
2668
|
this._dayNames = [];
|
|
2645
|
-
this.
|
|
2669
|
+
this._isUserInteraction = false;
|
|
2646
2670
|
}
|
|
2647
2671
|
get _viewRange() {
|
|
2648
2672
|
const current = this._viewStartDate || this._today;
|
|
@@ -2655,7 +2679,6 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2655
2679
|
case 'months':
|
|
2656
2680
|
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
2657
2681
|
default:
|
|
2658
|
-
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
2659
2682
|
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
2660
2683
|
}
|
|
2661
2684
|
}
|
|
@@ -2736,8 +2759,8 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2736
2759
|
r.date = d.date;
|
|
2737
2760
|
r.text = d.dayOfMonth;
|
|
2738
2761
|
r.tooltip = d.format();
|
|
2739
|
-
r.disabled = (this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1);
|
|
2740
|
-
if (r.disabled
|
|
2762
|
+
r.disabled = ((this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1)) || this.isDisabled(d);
|
|
2763
|
+
if (r.disabled) {
|
|
2741
2764
|
r.cssClass = {
|
|
2742
2765
|
'ax-state-disabled': true,
|
|
2743
2766
|
};
|
|
@@ -2759,10 +2782,14 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2759
2782
|
}
|
|
2760
2783
|
}
|
|
2761
2784
|
_handlePrevClick(e) {
|
|
2785
|
+
this._isUserInteraction = true;
|
|
2762
2786
|
this.prev();
|
|
2787
|
+
this._isUserInteraction = false;
|
|
2763
2788
|
}
|
|
2764
2789
|
_handleNextClick(e) {
|
|
2790
|
+
this._isUserInteraction = true;
|
|
2765
2791
|
this.next();
|
|
2792
|
+
this._isUserInteraction = false;
|
|
2766
2793
|
}
|
|
2767
2794
|
_handleSlotClick(e, slot) {
|
|
2768
2795
|
if (slot.disabled || this.disabled)
|
|
@@ -2787,14 +2814,17 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2787
2814
|
this.onSlotClick.emit({
|
|
2788
2815
|
component: this,
|
|
2789
2816
|
item: slot.date,
|
|
2817
|
+
isUserInteraction: true,
|
|
2790
2818
|
nativeEvent: e
|
|
2791
2819
|
});
|
|
2792
2820
|
}
|
|
2793
2821
|
_handleNavClick(e) {
|
|
2822
|
+
this._isUserInteraction = true;
|
|
2794
2823
|
if (this.activeView == 'days')
|
|
2795
2824
|
this.activeView = 'months';
|
|
2796
2825
|
else if (this.activeView == 'months')
|
|
2797
2826
|
this.activeView = 'years';
|
|
2827
|
+
this._isUserInteraction = false;
|
|
2798
2828
|
}
|
|
2799
2829
|
_onOptionChanged(option) {
|
|
2800
2830
|
if (option.name == 'depth' || option.name == 'activeView' || option.name == 'disabledDates' || option.name == 'holidayDates') {
|
|
@@ -2809,8 +2839,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2809
2839
|
this._genearteSlots();
|
|
2810
2840
|
}
|
|
2811
2841
|
_handleGoToday() {
|
|
2842
|
+
this._isUserInteraction = true;
|
|
2812
2843
|
this._setDate(this._today.date);
|
|
2813
2844
|
this.goToday();
|
|
2845
|
+
this._isUserInteraction = false;
|
|
2814
2846
|
}
|
|
2815
2847
|
next() {
|
|
2816
2848
|
this._navNextPrev(false);
|
|
@@ -2835,6 +2867,14 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2835
2867
|
}
|
|
2836
2868
|
navTo(date) {
|
|
2837
2869
|
this._viewStartDate = AXDateTime.convert(date, this._today.calendar.name()).startOf();
|
|
2870
|
+
const vr = this._viewRange;
|
|
2871
|
+
this.onNavigate.emit({
|
|
2872
|
+
component: this,
|
|
2873
|
+
isUserInteraction: this._isUserInteraction,
|
|
2874
|
+
start: vr.startTime?.date,
|
|
2875
|
+
end: vr.endTime?.date,
|
|
2876
|
+
htmlElement: this._getHostElement()
|
|
2877
|
+
});
|
|
2838
2878
|
this._genearteSlots();
|
|
2839
2879
|
}
|
|
2840
2880
|
get __hostClass() {
|
|
@@ -2869,13 +2909,11 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2869
2909
|
}
|
|
2870
2910
|
}
|
|
2871
2911
|
AXCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2872
|
-
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { 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" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange",
|
|
2912
|
+
AXCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCalendarComponent, selector: "ax-calendar", inputs: { 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" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXDecoratorPrefixComponent, selector: "ax-prefix" }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2873
2913
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2874
2914
|
type: Component,
|
|
2875
|
-
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n
|
|
2876
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2877
|
-
type: Output
|
|
2878
|
-
}], __hostClass: [{
|
|
2915
|
+
args: [{ selector: 'ax-calendar', changeDetection: ChangeDetectionStrategy.OnPush, inputs: [...VALUE_INPUTS, ...INTERACTIVE_INPUTS, ...CALENDAR_INPUTS], outputs: [...VALUE_OUTPUT, ...INTERACTIVE_OUTPUT, ...CALENDAR_OUTPUTS], encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-calendar-header\">\r\n <div>\r\n <ng-container *ngIf=\"activeView=='days'; else elseTemplate\">\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[1]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText.split(' ')[0]\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-container>\r\n <ng-template #elseTemplate>\r\n <ax-button class=\"ax-nav-button\" [text]=\"_navText\" color=\"light\" look=\"blank\"\r\n (onClick)=\"_handleNavClick($event)\" [disabled]=\"disabled\">\r\n </ax-button>\r\n </ng-template>\r\n </div>\r\n <div class=\"ax-flex\">\r\n <ax-button class=\"ax-prev-button\" color=\"light\" look=\"blank\" (onClick)=\"_handlePrevClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n </ax-prefix>\r\n </ax-button>\r\n <ax-button class=\"ax-next-button\" color=\"light\" look=\"blank\" (onClick)=\"_handleNextClick($event)\"\r\n [disabled]=\"disabled\">\r\n <ax-prefix>\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax-rotate-90\"></ax-icon>\r\n \r\n </ax-prefix>\r\n </ax-button>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-body\">\r\n <div [ngSwitch]=\"activeView\">\r\n <ng-container *ngSwitchCase=\"'years'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-year\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'months'\">\r\n <div class=\"ax-calendar-slots ax-calendar-slots-month\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"ax-calendar-week\">\r\n <div *ngFor=\"let d of _dayNames\">{{d}}</div>\r\n </div>\r\n <div class=\"ax-calendar-slots ax-calendar-slots-day\">\r\n <div tabindex=\"0\" *ngFor=\"let slot of _slots\" [title]=\"slot.tooltip\" [ngClass]=\"slot.cssClass\"\r\n (click)=\"_handleSlotClick($event,slot)\">{{slot.text}}</div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n\r\n</div>\r\n<div class=\"ax-calendar-footer\">\r\n <ax-button class=\"dark:ax-text-danger\" [text]=\"_todayText\" color=\"dark\" look=\"blank\" size=\"sm\"\r\n (onClick)=\"_handleGoToday()\" [disabled]=\"disabled\"></ax-button>\r\n</div>" }]
|
|
2916
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
2879
2917
|
type: HostBinding,
|
|
2880
2918
|
args: ['class']
|
|
2881
2919
|
}] } });
|
|
@@ -2941,16 +2979,22 @@ class AXCarouselSplideJS {
|
|
|
2941
2979
|
type: this._instance.loop && !this._instance.rewind ? 'loop' : 'slide',
|
|
2942
2980
|
rewind: this._instance.rewind,
|
|
2943
2981
|
gap: this._instance.gap,
|
|
2944
|
-
perPage: this._instance.
|
|
2945
|
-
perMove:
|
|
2982
|
+
perPage: this._instance.perPage,
|
|
2983
|
+
perMove: this._instance.perMove,
|
|
2946
2984
|
start: this._instance.visibleIndex,
|
|
2947
2985
|
interval: this._instance.interval,
|
|
2948
2986
|
direction: this._instance.vertical ? 'ttb' : (this._instance.rtl ? 'rtl' : 'ltr'),
|
|
2949
2987
|
arrows: false,
|
|
2950
2988
|
pagination: false,
|
|
2951
2989
|
padding: this._instance.padding,
|
|
2952
|
-
autoWidth:
|
|
2953
|
-
focus: this._instance.centered ? 'center' :
|
|
2990
|
+
autoWidth: this._instance.autoWidth,
|
|
2991
|
+
focus: this._instance.centered ? 'center' : this._instance.focus,
|
|
2992
|
+
height: this._instance.height,
|
|
2993
|
+
heightRatio: this._instance.heightRatio,
|
|
2994
|
+
wheel: this._instance.wheel,
|
|
2995
|
+
width: this._instance.width,
|
|
2996
|
+
drag: this._instance.drag,
|
|
2997
|
+
snap: this._instance.snap,
|
|
2954
2998
|
};
|
|
2955
2999
|
}
|
|
2956
3000
|
next() {
|
|
@@ -2994,11 +3038,29 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2994
3038
|
this.core = core;
|
|
2995
3039
|
this.onOptionsChanged = new EventEmitter();
|
|
2996
3040
|
this.onSlideChanged = new EventEmitter();
|
|
2997
|
-
this.
|
|
2998
|
-
this.
|
|
3041
|
+
this.perMoveChange = new EventEmitter();
|
|
3042
|
+
this._perMove = 1;
|
|
3043
|
+
this.focusChange = new EventEmitter();
|
|
3044
|
+
this._focus = 0;
|
|
3045
|
+
this.heightRatioChange = new EventEmitter();
|
|
3046
|
+
this._heightRatio = 0;
|
|
3047
|
+
this.heightChange = new EventEmitter();
|
|
3048
|
+
this._height = 'auto';
|
|
3049
|
+
this.widthChange = new EventEmitter();
|
|
3050
|
+
this._width = 'fit-content';
|
|
3051
|
+
this.perPageChange = new EventEmitter();
|
|
3052
|
+
this._perPage = 1;
|
|
2999
3053
|
this.gap = 10;
|
|
3000
3054
|
this.autoplayChange = new EventEmitter();
|
|
3001
3055
|
this._autoplay = false;
|
|
3056
|
+
this.snapChange = new EventEmitter();
|
|
3057
|
+
this._snap = false;
|
|
3058
|
+
this.autoWidthChange = new EventEmitter();
|
|
3059
|
+
this._autoWidth = true;
|
|
3060
|
+
this.dragChange = new EventEmitter();
|
|
3061
|
+
this._drag = true;
|
|
3062
|
+
this.wheelChange = new EventEmitter();
|
|
3063
|
+
this._wheel = false;
|
|
3002
3064
|
this.intervalChange = new EventEmitter();
|
|
3003
3065
|
this._interval = 3000;
|
|
3004
3066
|
this.paddingChange = new EventEmitter();
|
|
@@ -3015,17 +3077,70 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3015
3077
|
this.onItemsChanged = new EventEmitter();
|
|
3016
3078
|
this._items = [];
|
|
3017
3079
|
}
|
|
3018
|
-
get
|
|
3019
|
-
return this.
|
|
3080
|
+
get perMove() {
|
|
3081
|
+
return this._perMove;
|
|
3020
3082
|
}
|
|
3021
|
-
set
|
|
3083
|
+
set perMove(v) {
|
|
3022
3084
|
const val = Math.max(1, coerceNumberProperty(v));
|
|
3023
|
-
if (val != this.
|
|
3024
|
-
this.
|
|
3025
|
-
if (this.
|
|
3085
|
+
if (val != this._perMove) {
|
|
3086
|
+
this._perMove = val;
|
|
3087
|
+
if (this._perMove > 1) {
|
|
3026
3088
|
this._vertical = false;
|
|
3027
3089
|
}
|
|
3028
|
-
this.
|
|
3090
|
+
this.perMoveChange.emit(this.perMove);
|
|
3091
|
+
this.onOptionsChanged.emit();
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
get focus() {
|
|
3095
|
+
return this._focus;
|
|
3096
|
+
}
|
|
3097
|
+
set focus(v) {
|
|
3098
|
+
if (v != this._focus) {
|
|
3099
|
+
this._focus = v;
|
|
3100
|
+
this.paddingChange.emit(v);
|
|
3101
|
+
this.onOptionsChanged.emit();
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
get heightRatio() {
|
|
3105
|
+
return this._heightRatio;
|
|
3106
|
+
}
|
|
3107
|
+
set heightRatio(v) {
|
|
3108
|
+
if (v != this._heightRatio) {
|
|
3109
|
+
this._heightRatio = v;
|
|
3110
|
+
this.paddingChange.emit(v);
|
|
3111
|
+
this.onOptionsChanged.emit();
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
get height() {
|
|
3115
|
+
return this._height;
|
|
3116
|
+
}
|
|
3117
|
+
set height(v) {
|
|
3118
|
+
const val = v;
|
|
3119
|
+
if (val != this._height) {
|
|
3120
|
+
this._height = val;
|
|
3121
|
+
this.heightChange.emit(this.height);
|
|
3122
|
+
this.onOptionsChanged.emit();
|
|
3123
|
+
}
|
|
3124
|
+
}
|
|
3125
|
+
get width() {
|
|
3126
|
+
return this._width;
|
|
3127
|
+
}
|
|
3128
|
+
set width(v) {
|
|
3129
|
+
const val = v;
|
|
3130
|
+
if (val != this._width) {
|
|
3131
|
+
this._width = val;
|
|
3132
|
+
this.widthChange.emit(this.width);
|
|
3133
|
+
this.onOptionsChanged.emit();
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
get perPage() {
|
|
3137
|
+
return this._perPage;
|
|
3138
|
+
}
|
|
3139
|
+
set perPage(v) {
|
|
3140
|
+
const val = v;
|
|
3141
|
+
if (val != this._perPage) {
|
|
3142
|
+
this._perPage = val;
|
|
3143
|
+
this.perPageChange.emit(this.perPage);
|
|
3029
3144
|
this.onOptionsChanged.emit();
|
|
3030
3145
|
}
|
|
3031
3146
|
}
|
|
@@ -3040,6 +3155,50 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3040
3155
|
this.onOptionsChanged.emit();
|
|
3041
3156
|
}
|
|
3042
3157
|
}
|
|
3158
|
+
get snap() {
|
|
3159
|
+
return this._snap;
|
|
3160
|
+
}
|
|
3161
|
+
set snap(v) {
|
|
3162
|
+
const val = coerceBooleanProperty(v);
|
|
3163
|
+
if (val != this._snap) {
|
|
3164
|
+
this._snap = val;
|
|
3165
|
+
this.snapChange.emit(this.snap);
|
|
3166
|
+
this.onOptionsChanged.emit();
|
|
3167
|
+
}
|
|
3168
|
+
}
|
|
3169
|
+
get autoWidth() {
|
|
3170
|
+
return this._autoWidth;
|
|
3171
|
+
}
|
|
3172
|
+
set autoWidth(v) {
|
|
3173
|
+
const val = coerceBooleanProperty(v);
|
|
3174
|
+
if (val != this._autoWidth) {
|
|
3175
|
+
this._autoWidth = val;
|
|
3176
|
+
this.autoWidthChange.emit(this.autoWidth);
|
|
3177
|
+
this.onOptionsChanged.emit();
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
get drag() {
|
|
3181
|
+
return this._drag;
|
|
3182
|
+
}
|
|
3183
|
+
set drag(v) {
|
|
3184
|
+
const val = v;
|
|
3185
|
+
if (val != this._drag) {
|
|
3186
|
+
this._drag = val;
|
|
3187
|
+
this.dragChange.emit(this.drag);
|
|
3188
|
+
this.onOptionsChanged.emit();
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
get wheel() {
|
|
3192
|
+
return this._wheel;
|
|
3193
|
+
}
|
|
3194
|
+
set wheel(v) {
|
|
3195
|
+
const val = coerceBooleanProperty(v);
|
|
3196
|
+
if (val != this._wheel) {
|
|
3197
|
+
this._wheel = val;
|
|
3198
|
+
this.wheelChange.emit(this.wheel);
|
|
3199
|
+
this.onOptionsChanged.emit();
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3043
3202
|
get interval() {
|
|
3044
3203
|
return this._interval;
|
|
3045
3204
|
}
|
|
@@ -3166,7 +3325,7 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3166
3325
|
}
|
|
3167
3326
|
}
|
|
3168
3327
|
AXCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: AXCarouselCore }], target: i0.ɵɵFactoryTarget.Component });
|
|
3169
|
-
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselComponent, selector: "ax-carousel", inputs: {
|
|
3328
|
+
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselComponent, selector: "ax-carousel", inputs: { 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" }, outputs: { 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" }, host: { classAttribute: "ax-carousel" }, providers: [{
|
|
3170
3329
|
provide: AXCarouselCore,
|
|
3171
3330
|
useClass: AXCarouselSplideJS
|
|
3172
3331
|
}], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-carousel-list-container\">\r\n <div class=\"ax-carousel-list\">\r\n <ng-content select=\"ax-carousel-item\">\r\n </ng-content>\r\n </div>\r\n <ng-content select=\"ax-carousel-arrows\">\r\n </ng-content>\r\n</div>\r\n\r\n<ng-content select=\"ax-carousel-pager\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -3180,9 +3339,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3180
3339
|
type: Output
|
|
3181
3340
|
}], onSlideChanged: [{
|
|
3182
3341
|
type: Output
|
|
3183
|
-
}],
|
|
3342
|
+
}], perMoveChange: [{
|
|
3343
|
+
type: Output
|
|
3344
|
+
}], perMove: [{
|
|
3345
|
+
type: Input
|
|
3346
|
+
}], focusChange: [{
|
|
3347
|
+
type: Output
|
|
3348
|
+
}], focus: [{
|
|
3349
|
+
type: Input
|
|
3350
|
+
}], heightRatioChange: [{
|
|
3351
|
+
type: Output
|
|
3352
|
+
}], heightRatio: [{
|
|
3353
|
+
type: Input
|
|
3354
|
+
}], heightChange: [{
|
|
3355
|
+
type: Output
|
|
3356
|
+
}], height: [{
|
|
3357
|
+
type: Input
|
|
3358
|
+
}], widthChange: [{
|
|
3184
3359
|
type: Output
|
|
3185
|
-
}],
|
|
3360
|
+
}], width: [{
|
|
3361
|
+
type: Input
|
|
3362
|
+
}], perPageChange: [{
|
|
3363
|
+
type: Output
|
|
3364
|
+
}], perPage: [{
|
|
3186
3365
|
type: Input
|
|
3187
3366
|
}], gap: [{
|
|
3188
3367
|
type: Input
|
|
@@ -3190,6 +3369,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3190
3369
|
type: Output
|
|
3191
3370
|
}], autoplay: [{
|
|
3192
3371
|
type: Input
|
|
3372
|
+
}], snapChange: [{
|
|
3373
|
+
type: Output
|
|
3374
|
+
}], snap: [{
|
|
3375
|
+
type: Input
|
|
3376
|
+
}], autoWidthChange: [{
|
|
3377
|
+
type: Output
|
|
3378
|
+
}], autoWidth: [{
|
|
3379
|
+
type: Input
|
|
3380
|
+
}], dragChange: [{
|
|
3381
|
+
type: Output
|
|
3382
|
+
}], drag: [{
|
|
3383
|
+
type: Input
|
|
3384
|
+
}], wheelChange: [{
|
|
3385
|
+
type: Output
|
|
3386
|
+
}], wheel: [{
|
|
3387
|
+
type: Input
|
|
3193
3388
|
}], intervalChange: [{
|
|
3194
3389
|
type: Output
|
|
3195
3390
|
}], interval: [{
|
|
@@ -3254,23 +3449,23 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
|
3254
3449
|
}
|
|
3255
3450
|
AXCarouselArrowsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselArrowsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3256
3451
|
AXCarouselArrowsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselArrowsComponent, selector: "ax-carousel-arrows", outputs: { onNextClick: "onNextClick", onPrevClick: "onPrevClick" }, host: { classAttribute: "ax-carousel-arrows" }, usesInheritance: true, ngImport: i0, template: `
|
|
3257
|
-
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
3258
|
-
<i class="ax-ic ax-ic-
|
|
3452
|
+
<button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
|
|
3453
|
+
<i class="ax-ic ax-ic-chevron"></i>
|
|
3259
3454
|
</button>
|
|
3260
|
-
<button class="ax-carousel-arrow-next" (click)="_handleNextClick($event)">
|
|
3261
|
-
<i class="ax-ic ax-ic-
|
|
3455
|
+
<button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
|
|
3456
|
+
<i class="ax-ic ax-ic-chevron ax-block ax-rotate-180"></i>
|
|
3262
3457
|
</button>
|
|
3263
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3458
|
+
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3264
3459
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselArrowsComponent, decorators: [{
|
|
3265
3460
|
type: Component,
|
|
3266
3461
|
args: [{
|
|
3267
3462
|
selector: 'ax-carousel-arrows',
|
|
3268
3463
|
template: `
|
|
3269
|
-
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
3270
|
-
<i class="ax-ic ax-ic-
|
|
3464
|
+
<button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
|
|
3465
|
+
<i class="ax-ic ax-ic-chevron"></i>
|
|
3271
3466
|
</button>
|
|
3272
|
-
<button class="ax-carousel-arrow-next" (click)="_handleNextClick($event)">
|
|
3273
|
-
<i class="ax-ic ax-ic-
|
|
3467
|
+
<button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
|
|
3468
|
+
<i class="ax-ic ax-ic-chevron ax-block ax-rotate-180"></i>
|
|
3274
3469
|
</button>
|
|
3275
3470
|
`,
|
|
3276
3471
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -3295,7 +3490,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3295
3490
|
this._size = 1;
|
|
3296
3491
|
this._dots = [];
|
|
3297
3492
|
this._subs = [];
|
|
3298
|
-
_parent.
|
|
3493
|
+
_parent.perPageChange.subscribe(c => {
|
|
3299
3494
|
this._size = c;
|
|
3300
3495
|
this._generateDots();
|
|
3301
3496
|
});
|
|
@@ -3308,7 +3503,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3308
3503
|
});
|
|
3309
3504
|
}
|
|
3310
3505
|
onViewInit() {
|
|
3311
|
-
this._size = this._parent.
|
|
3506
|
+
this._size = this._parent.perPage;
|
|
3312
3507
|
this._visibleIndex = this._parent.visibleIndex;
|
|
3313
3508
|
this._generateDots();
|
|
3314
3509
|
}
|
|
@@ -3337,7 +3532,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3337
3532
|
}
|
|
3338
3533
|
AXCarouselPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselPagerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXCarouselComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
3339
3534
|
AXCarouselPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselPagerComponent, selector: "ax-carousel-pager", host: { classAttribute: "ax-carousel-pager" }, usesInheritance: true, ngImport: i0, template: `
|
|
3340
|
-
<button
|
|
3535
|
+
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
3341
3536
|
</button>
|
|
3342
3537
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3343
3538
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
@@ -3345,7 +3540,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3345
3540
|
args: [{
|
|
3346
3541
|
selector: 'ax-carousel-pager',
|
|
3347
3542
|
template: `
|
|
3348
|
-
<button
|
|
3543
|
+
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
3349
3544
|
</button>
|
|
3350
3545
|
`,
|
|
3351
3546
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -3422,8 +3617,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3422
3617
|
}] });
|
|
3423
3618
|
|
|
3424
3619
|
class AXCollapseComponent extends AXBaseComponent {
|
|
3425
|
-
constructor() {
|
|
3426
|
-
super();
|
|
3620
|
+
constructor(elementRef, cdr) {
|
|
3621
|
+
super(elementRef, cdr);
|
|
3622
|
+
this.cdr = cdr;
|
|
3427
3623
|
this.isCollapsedChange = new EventEmitter();
|
|
3428
3624
|
this._isCollapsed = false;
|
|
3429
3625
|
this.caption = '';
|
|
@@ -3443,12 +3639,12 @@ class AXCollapseComponent extends AXBaseComponent {
|
|
|
3443
3639
|
this.isCollapsed = !this.isCollapsed;
|
|
3444
3640
|
}
|
|
3445
3641
|
}
|
|
3446
|
-
AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3642
|
+
AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3447
3643
|
AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, host: { classAttribute: "ax-collapse" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\" (click)=\"handleHeaderClick()\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: {caption,isCollapsed} }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\" (click)=\"handleHeaderClick()\">\r\n <div>\r\n <span class=\"ax-ic ax-ic-chevron ax-collapse-arrow ax-transition-all\"\r\n [class.ax-rotate-90]=\"isCollapsed\"></span>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span>{{caption}}</span>\r\n </div>\r\n <div>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body ax-transition-all\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3448
3644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
|
3449
3645
|
type: Component,
|
|
3450
3646
|
args: [{ selector: 'ax-collapse', host: { class: 'ax-collapse' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\" (click)=\"handleHeaderClick()\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: {caption,isCollapsed} }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\" (click)=\"handleHeaderClick()\">\r\n <div>\r\n <span class=\"ax-ic ax-ic-chevron ax-collapse-arrow ax-transition-all\"\r\n [class.ax-rotate-90]=\"isCollapsed\"></span>\r\n <ng-content select=\"ax-prefix\"></ng-content>\r\n <span>{{caption}}</span>\r\n </div>\r\n <div>\r\n <ng-content select=\"ax-suffix\"></ng-content>\r\n </div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body ax-transition-all\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>" }]
|
|
3451
|
-
}], ctorParameters: function () { return []; }, propDecorators: { isCollapsedChange: [{
|
|
3647
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
|
|
3452
3648
|
type: Output
|
|
3453
3649
|
}], isCollapsed: [{
|
|
3454
3650
|
type: Input
|
|
@@ -3460,8 +3656,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3460
3656
|
}] } });
|
|
3461
3657
|
|
|
3462
3658
|
class AXCollapseGroupComponent extends AXBaseComponent {
|
|
3463
|
-
constructor() {
|
|
3464
|
-
super();
|
|
3659
|
+
constructor(elementRef, cdr) {
|
|
3660
|
+
super(elementRef, cdr);
|
|
3661
|
+
this.cdr = cdr;
|
|
3465
3662
|
this.accordion = false;
|
|
3466
3663
|
this.nonCollapsedIndex = 0;
|
|
3467
3664
|
}
|
|
@@ -3479,15 +3676,8 @@ class AXCollapseGroupComponent extends AXBaseComponent {
|
|
|
3479
3676
|
});
|
|
3480
3677
|
}
|
|
3481
3678
|
}
|
|
3482
|
-
ngDoCheck() {
|
|
3483
|
-
//Called every time that the input properties of a component or a directive are checked. Use it to extend change detection by performing a custom check.
|
|
3484
|
-
//Add 'implements DoCheck' to the class.
|
|
3485
|
-
// if (this.accordion) {
|
|
3486
|
-
// this._collapses.forEach(c => c.isCollapsed = false);
|
|
3487
|
-
// }
|
|
3488
|
-
}
|
|
3489
3679
|
}
|
|
3490
|
-
AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3680
|
+
AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3491
3681
|
AXCollapseGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: { accordion: "accordion", nonCollapsedIndex: "nonCollapsedIndex" }, host: { classAttribute: "ax-collapse-group" }, queries: [{ propertyName: "_collapses", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3492
3682
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
|
3493
3683
|
type: Component,
|
|
@@ -3498,7 +3688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3498
3688
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3499
3689
|
encapsulation: ViewEncapsulation.None,
|
|
3500
3690
|
}]
|
|
3501
|
-
}], ctorParameters: function () { return []; }, propDecorators: { accordion: [{
|
|
3691
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { accordion: [{
|
|
3502
3692
|
type: Input
|
|
3503
3693
|
}], nonCollapsedIndex: [{
|
|
3504
3694
|
type: Input
|
|
@@ -4301,20 +4491,28 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4301
4491
|
value: v
|
|
4302
4492
|
});
|
|
4303
4493
|
}
|
|
4304
|
-
|
|
4305
|
-
super.onViewInit();
|
|
4494
|
+
onInit() {
|
|
4306
4495
|
this._popoverTitle = this.placeholder || AXTranslator.get('datepicker.popover.title');
|
|
4307
4496
|
this.popover.onOpened.subscribe(() => {
|
|
4308
4497
|
this._calendar.focus();
|
|
4309
4498
|
});
|
|
4310
4499
|
}
|
|
4500
|
+
_updateDisplayText() {
|
|
4501
|
+
this.displayText = this.value ? AXDateTime.convert(this.value, this.type).format(this._format) : null;
|
|
4502
|
+
}
|
|
4311
4503
|
_handleArrowClickEvent(e) {
|
|
4312
4504
|
this.toggle();
|
|
4313
4505
|
}
|
|
4314
4506
|
_onValueChanged(oldValue, newValue) {
|
|
4315
|
-
this.
|
|
4507
|
+
this._updateDisplayText();
|
|
4316
4508
|
this.close();
|
|
4317
4509
|
}
|
|
4510
|
+
_onOptionChanged(option) {
|
|
4511
|
+
super._onOptionChanged(option);
|
|
4512
|
+
if (option.name == 'type') {
|
|
4513
|
+
this._updateDisplayText();
|
|
4514
|
+
}
|
|
4515
|
+
}
|
|
4318
4516
|
_handleOnKeydownEvent(e) {
|
|
4319
4517
|
const ignore = () => {
|
|
4320
4518
|
e.preventDefault();
|
|
@@ -4406,16 +4604,19 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4406
4604
|
e.preventDefault();
|
|
4407
4605
|
e.stopPropagation();
|
|
4408
4606
|
}
|
|
4607
|
+
_handleOnNavigate(e) {
|
|
4608
|
+
this.onNavigate.emit(e);
|
|
4609
|
+
}
|
|
4409
4610
|
_highlightPart(input, pos) {
|
|
4410
4611
|
const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart);
|
|
4411
4612
|
input.setSelectionRange(start, end);
|
|
4412
4613
|
}
|
|
4413
4614
|
}
|
|
4414
4615
|
AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$3.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
4415
|
-
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { 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" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange",
|
|
4616
|
+
AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { 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" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane ax-w-80\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" \r\n [(value)]=\"value\" \r\n [min]=\"min\" \r\n [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" \r\n [holidayDates]=\"holidayDates\" \r\n [depth]=\"depth\" \r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>", components: [{ type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "size", "color", "look", "text", "submitBehavior", "cancelBehavior", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange"] }, { type: AXIconComponent, selector: "ax-icon", inputs: ["icon"] }, { type: AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass"], outputs: ["onOpened", "onClosed"] }, { type: AXCalendarComponent, selector: "ax-calendar", inputs: ["readonly", "allowNull", "value", "debounceTime", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }], directives: [{ type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4416
4617
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
4417
4618
|
type: Component,
|
|
4418
|
-
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane ax-w-
|
|
4619
|
+
args: [{ selector: 'ax-date-picker', inputs: [...DROPDOWN_INPUTS, ...INTERACTIVE_INPUTS, ...VALUE_INPUTS, ...TEXTBOX_INPUTS, ...CALENDAR_INPUTS], outputs: [...DROPDOWN_OUTPUT, ...INTERACTIVE_OUTPUT, ...VALUE_OUTPUT, ...TEXTBOX_OUTPUT, ...CALENDAR_OUTPUTS], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\r\n [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\" (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-calendar-options\">\r\n\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\">\r\n <div class=\"ax-overlay-pane ax-w-80\">\r\n <div *ngIf=\"_isMobile\" class=\"ax-overlay-pane-header\">\r\n <span >{{placeholder || 'Choose a date'}}</span>\r\n <i class=\"ax-ic ax-ic-close \"\r\n (click)=\"close()\" tabindex=\"1\"></i>\r\n </div>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" \r\n [(value)]=\"value\" \r\n [min]=\"min\" \r\n [max]=\"max\"\r\n [disabledDates]=\"disabledDates\" \r\n [holidayDates]=\"holidayDates\" \r\n [depth]=\"depth\" \r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </div>\r\n</ax-popover>" }]
|
|
4419
4620
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4420
4621
|
type: ViewChild,
|
|
4421
4622
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -5607,6 +5808,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5607
5808
|
}]
|
|
5608
5809
|
}] });
|
|
5609
5810
|
|
|
5811
|
+
class AXPickerComponent extends AXBaseComponent {
|
|
5812
|
+
/**
|
|
5813
|
+
* @ignore
|
|
5814
|
+
*/
|
|
5815
|
+
constructor(elementRef, cdr) {
|
|
5816
|
+
super(elementRef, cdr);
|
|
5817
|
+
this.items = [];
|
|
5818
|
+
}
|
|
5819
|
+
}
|
|
5820
|
+
AXPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5821
|
+
AXPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXPickerComponent, selector: "ax-picker", inputs: { items: "items" }, host: { classAttribute: "ax-picker" }, usesInheritance: true, ngImport: i0, template: "<ax-carousel [vertical]=\"true\" [centered]=\"true\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n {{item.text}}\r\n </ax-carousel-item>\r\n</ax-carousel>", components: [{ type: AXCarouselComponent, selector: "ax-carousel", inputs: ["perMove", "focus", "heightRatio", "height", "width", "perPage", "gap", "autoplay", "snap", "autoWidth", "drag", "wheel", "interval", "padding", "centered", "vertical", "loop", "rewind"], outputs: ["onOptionsChanged", "onSlideChanged", "perMoveChange", "focusChange", "heightRatioChange", "heightChange", "widthChange", "perPageChange", "autoplayChange", "snapChange", "autoWidthChange", "dragChange", "wheelChange", "intervalChange", "paddingChange", "centeredChange", "verticalChange", "loopChange", "rewindChange", "onItemsChanged"] }, { type: AXCarouselItemComponent, selector: "ax-carousel-item" }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
5822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
|
|
5823
|
+
type: Component,
|
|
5824
|
+
args: [{ selector: 'ax-picker', host: { class: 'ax-picker' }, template: "<ax-carousel [vertical]=\"true\" [centered]=\"true\">\r\n <ax-carousel-item class=\"ax-picker-item\" *ngFor=\"let item of items\">\r\n {{item.text}}\r\n </ax-carousel-item>\r\n</ax-carousel>" }]
|
|
5825
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
5826
|
+
type: Input
|
|
5827
|
+
}] } });
|
|
5828
|
+
|
|
5829
|
+
class AXPickerModule {
|
|
5830
|
+
}
|
|
5831
|
+
AXPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5832
|
+
AXPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, declarations: [AXPickerComponent], imports: [CommonModule, AXCarouselModule], exports: [AXPickerComponent] });
|
|
5833
|
+
AXPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, providers: [], imports: [[CommonModule, AXCarouselModule]] });
|
|
5834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, decorators: [{
|
|
5835
|
+
type: NgModule,
|
|
5836
|
+
args: [{
|
|
5837
|
+
declarations: [AXPickerComponent],
|
|
5838
|
+
imports: [CommonModule, AXCarouselModule],
|
|
5839
|
+
exports: [AXPickerComponent],
|
|
5840
|
+
providers: [],
|
|
5841
|
+
}]
|
|
5842
|
+
}] });
|
|
5843
|
+
|
|
5610
5844
|
/**
|
|
5611
5845
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
5612
5846
|
*
|
|
@@ -6017,12 +6251,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6017
6251
|
type: Input
|
|
6018
6252
|
}] } });
|
|
6019
6253
|
|
|
6020
|
-
class
|
|
6254
|
+
class AXResultModule {
|
|
6021
6255
|
}
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
6256
|
+
AXResultModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6257
|
+
AXResultModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, declarations: [AXResultComponent], imports: [CommonModule], exports: [AXResultComponent] });
|
|
6258
|
+
AXResultModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, providers: [], imports: [[CommonModule]] });
|
|
6259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, decorators: [{
|
|
6026
6260
|
type: NgModule,
|
|
6027
6261
|
args: [{
|
|
6028
6262
|
declarations: [AXResultComponent],
|
|
@@ -7624,5 +7858,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7624
7858
|
* Generated bundle index. Do not edit.
|
|
7625
7859
|
*/
|
|
7626
7860
|
|
|
7627
|
-
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseProgressMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageHeaderComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT,
|
|
7861
|
+
export { AXActionSheetComponent, AXActionSheetItemComponent, AXActionSheetModule, AXAlertButtonComponent, AXAlertComponent, AXAlertContentComponent, AXAlertFooterComponent, AXAlertModule, AXAlertSuffixComponent, AXAlertTitleComponent, AXAvatarComponent, AXAvatarGroup, AXAvatarMixin, AXAvatarModule, AXBadgeComponent, AXBadgeModule, AXBaseAlertMixin, AXBaseBadgeMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDatePickerMixin, AXBaseDropdownMixin, AXBaseItemButtonMixin, AXBasePageComponent, AXBaseProgressMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTabItemMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule, AXButtonClickEvent, AXButtonComponent, AXButtonGroupComponent, AXButtonItemComponent, AXButtonModule, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCarouselArrowsComponent, AXCarouselComponent, AXCarouselCore, AXCarouselItemComponent, AXCarouselModule, AXCarouselPagerComponent, AXCheckBoxComponent, AXCheckBoxModule, AXClickEvent, AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule, AXCommonModule, AXDataListComponent, AXDataListModule, AXDatePickerComponent, AXDatepickerModule, AXDecoratorAddOnComponent, AXDecoratorContentComponent, AXDecoratorHeaderComponent, AXDecoratorPrefixComponent, AXDecoratorSuffixComponent, AXDialogComponent, AXDialogModule, AXDialogService, AXDrawerComponent, AXDrawerContainerComponent, AXDrawerContentComponent, AXDrawerModule, AXDropdownModule, AXDropdownPanelComponent, AXEditorDecoratorModule, AXEvent, AXFocusEvent, AXFormComponent, AXFormFieldComponent, AXFormHintComponent, AXFormModule, AXHtmlEvent, AXIconComponent, AXIconModule, AXInfiniteScrollerDirective, AXInputMaskComponent, AXInputMaskModule, AXInteractiveComponenetMixin, AXItemClickEvent, AXLabelComponent, AXLabelModule, AXLoadingComponent, AXLoadingDirective, AXLoadingModule, AXLoadingService, AXLoadingSpinnerComponent, AXMenuComponent, AXMenuModule, AXNumberBoxComponent, AXNumberBoxModule, AXPageCloseEvent, AXPageClosedPromise, AXPageClosing, AXPageComponent, AXPageFooterComponent, AXPageHeaderComponent, AXPageModule, AXPageResult, AXPasswordBoxComponent, AXPasswordBoxModule, AXPickerComponent, AXPickerModule, AXPopoverComponent, AXPopoverModule, AXPopupComponent, AXPopupModule, AXPopupService, AXProgressBarComponent, AXProgressBarModule, AXRadioComponent, AXRadioModule, AXRangeChangedEvent, AXRangeSliderComponent, AXRangeSliderModule, AXRatingComponent, AXRatingModule, AXResponsiveDirective, AXResultComponent, AXResultModule, AXSelectBoxComponent, AXSelectBoxModule, AXSelectionListComponent, AXSelectionListModule, AXSelectionValueChangedEvent, AXSizableComponentMixin, AXSwitchComponent, AXSwitchModule, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule, AXTextBoxComponent, AXTextBoxModule, AXTextareaComponent, AXTextareaModule, AXTimeBoxComponent, AXTimeBoxModule, AXToastComponent, AXToastModule, AXToastService, AXTooltipComponent, AXTooltipDirective, AXTooltipModule, AXTreeViewComponent, AXTreeViewModule, AXValidationModule, AXValidationRuleComponent, AXValidationRules, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_TYPES, BASE_INPUTS, BASE_OUTPUT, TAB_META_KEY, _BaseComponenetMixin };
|
|
7628
7862
|
//# sourceMappingURL=acorex-components.mjs.map
|