@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
|
@@ -1111,6 +1111,12 @@ class AXFocusEvent extends AXHtmlEvent {
|
|
|
1111
1111
|
* @category Events
|
|
1112
1112
|
*/
|
|
1113
1113
|
class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
* Contains range start & end values
|
|
1117
|
+
* @category Events
|
|
1118
|
+
*/
|
|
1119
|
+
class AXRangeChangedEvent extends AXEvent {
|
|
1114
1120
|
}
|
|
1115
1121
|
|
|
1116
1122
|
const AX_STYLE_TYPES = ['info', 'danger', 'success', 'warning'];
|
|
@@ -2485,28 +2491,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2485
2491
|
}] });
|
|
2486
2492
|
|
|
2487
2493
|
class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
2488
|
-
|
|
2489
|
-
|
|
2494
|
+
/**
|
|
2495
|
+
* @ignore
|
|
2496
|
+
*/
|
|
2497
|
+
constructor(_elementRef, _cdr) {
|
|
2498
|
+
super(_elementRef, _cdr);
|
|
2490
2499
|
}
|
|
2491
2500
|
}
|
|
2492
|
-
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2501
|
+
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 });
|
|
2493
2502
|
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>" });
|
|
2494
2503
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
2495
2504
|
type: Component,
|
|
2496
2505
|
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>" }]
|
|
2497
|
-
}], ctorParameters: function () { return []; } });
|
|
2506
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
2498
2507
|
|
|
2499
2508
|
class AXBreadCrumbsItemComponent extends AXBaseComponent {
|
|
2500
|
-
|
|
2501
|
-
|
|
2509
|
+
/**
|
|
2510
|
+
* @ignore
|
|
2511
|
+
*/
|
|
2512
|
+
constructor(_elementRef, _cdr) {
|
|
2513
|
+
super(_elementRef, _cdr);
|
|
2502
2514
|
}
|
|
2503
2515
|
}
|
|
2504
|
-
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2516
|
+
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 });
|
|
2505
2517
|
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>" });
|
|
2506
2518
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
2507
2519
|
type: Component,
|
|
2508
2520
|
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>" }]
|
|
2509
|
-
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
2521
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
2510
2522
|
type: Input
|
|
2511
2523
|
}] } });
|
|
2512
2524
|
|
|
@@ -2525,9 +2537,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2525
2537
|
}]
|
|
2526
2538
|
}] });
|
|
2527
2539
|
|
|
2540
|
+
/**
|
|
2541
|
+
* Contains native event
|
|
2542
|
+
* @category Events
|
|
2543
|
+
*/
|
|
2544
|
+
class AXCalendarNavigateEvent extends AXRangeChangedEvent {
|
|
2545
|
+
}
|
|
2528
2546
|
class AXCalendarBaseComponent extends AXBaseComponent {
|
|
2529
2547
|
constructor(elementRef, cdr) {
|
|
2530
2548
|
super(elementRef, cdr);
|
|
2549
|
+
this.onSlotClick = new EventEmitter();
|
|
2550
|
+
this.onNavigate = new EventEmitter();
|
|
2531
2551
|
this.activeViewChange = new EventEmitter();
|
|
2532
2552
|
this._activeView = 'days';
|
|
2533
2553
|
this.typeChange = new EventEmitter();
|
|
@@ -2595,7 +2615,11 @@ AXCalendarBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0",
|
|
|
2595
2615
|
AXCalendarBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent });
|
|
2596
2616
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarBaseComponent, decorators: [{
|
|
2597
2617
|
type: Injectable
|
|
2598
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2618
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onSlotClick: [{
|
|
2619
|
+
type: Output
|
|
2620
|
+
}], onNavigate: [{
|
|
2621
|
+
type: Output
|
|
2622
|
+
}], activeViewChange: [{
|
|
2599
2623
|
type: Output
|
|
2600
2624
|
}], activeView: [{
|
|
2601
2625
|
type: Input
|
|
@@ -2633,7 +2657,7 @@ const CALENDAR_INPUTS = [
|
|
|
2633
2657
|
'type',
|
|
2634
2658
|
'holidayDates',
|
|
2635
2659
|
];
|
|
2636
|
-
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', '
|
|
2660
|
+
const CALENDAR_OUTPUTS = ['depthChange', 'typeChange', 'disabledDatesChange', 'holidayDatesChange', 'onNavigate'];
|
|
2637
2661
|
|
|
2638
2662
|
const AXCalendarComponentMixin = _ClickableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
|
|
2639
2663
|
class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
@@ -2645,7 +2669,7 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2645
2669
|
this._todayText = '';
|
|
2646
2670
|
this._slots = [];
|
|
2647
2671
|
this._dayNames = [];
|
|
2648
|
-
this.
|
|
2672
|
+
this._isUserInteraction = false;
|
|
2649
2673
|
}
|
|
2650
2674
|
get _viewRange() {
|
|
2651
2675
|
const current = this._viewStartDate || this._today;
|
|
@@ -2658,7 +2682,6 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2658
2682
|
case 'months':
|
|
2659
2683
|
return new AXDateTimeRange(current.startOf('year'), current.endOf('year').add('day', -1));
|
|
2660
2684
|
default:
|
|
2661
|
-
//return new AXDateTimeRange(current.startOf('month').startOf('week'), current.endOf('month').endOf('week'));
|
|
2662
2685
|
return new AXDateTimeRange(current.startOf('month'), current.endOf('month'));
|
|
2663
2686
|
}
|
|
2664
2687
|
}
|
|
@@ -2739,8 +2762,8 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2739
2762
|
r.date = d.date;
|
|
2740
2763
|
r.text = d.dayOfMonth;
|
|
2741
2764
|
r.tooltip = d.format();
|
|
2742
|
-
r.disabled = (this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1);
|
|
2743
|
-
if (r.disabled
|
|
2765
|
+
r.disabled = ((this.min && d.compare(this.min, 'day') == -1) || (this.max && d.compare(this.max, 'day') == 1)) || this.isDisabled(d);
|
|
2766
|
+
if (r.disabled) {
|
|
2744
2767
|
r.cssClass = {
|
|
2745
2768
|
'ax-state-disabled': true,
|
|
2746
2769
|
};
|
|
@@ -2762,10 +2785,14 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2762
2785
|
}
|
|
2763
2786
|
}
|
|
2764
2787
|
_handlePrevClick(e) {
|
|
2788
|
+
this._isUserInteraction = true;
|
|
2765
2789
|
this.prev();
|
|
2790
|
+
this._isUserInteraction = false;
|
|
2766
2791
|
}
|
|
2767
2792
|
_handleNextClick(e) {
|
|
2793
|
+
this._isUserInteraction = true;
|
|
2768
2794
|
this.next();
|
|
2795
|
+
this._isUserInteraction = false;
|
|
2769
2796
|
}
|
|
2770
2797
|
_handleSlotClick(e, slot) {
|
|
2771
2798
|
if (slot.disabled || this.disabled)
|
|
@@ -2790,14 +2817,17 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2790
2817
|
this.onSlotClick.emit({
|
|
2791
2818
|
component: this,
|
|
2792
2819
|
item: slot.date,
|
|
2820
|
+
isUserInteraction: true,
|
|
2793
2821
|
nativeEvent: e
|
|
2794
2822
|
});
|
|
2795
2823
|
}
|
|
2796
2824
|
_handleNavClick(e) {
|
|
2825
|
+
this._isUserInteraction = true;
|
|
2797
2826
|
if (this.activeView == 'days')
|
|
2798
2827
|
this.activeView = 'months';
|
|
2799
2828
|
else if (this.activeView == 'months')
|
|
2800
2829
|
this.activeView = 'years';
|
|
2830
|
+
this._isUserInteraction = false;
|
|
2801
2831
|
}
|
|
2802
2832
|
_onOptionChanged(option) {
|
|
2803
2833
|
if (option.name == 'depth' || option.name == 'activeView' || option.name == 'disabledDates' || option.name == 'holidayDates') {
|
|
@@ -2812,8 +2842,10 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2812
2842
|
this._genearteSlots();
|
|
2813
2843
|
}
|
|
2814
2844
|
_handleGoToday() {
|
|
2845
|
+
this._isUserInteraction = true;
|
|
2815
2846
|
this._setDate(this._today.date);
|
|
2816
2847
|
this.goToday();
|
|
2848
|
+
this._isUserInteraction = false;
|
|
2817
2849
|
}
|
|
2818
2850
|
next() {
|
|
2819
2851
|
this._navNextPrev(false);
|
|
@@ -2838,7 +2870,16 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2838
2870
|
this.navTo(this._today);
|
|
2839
2871
|
}
|
|
2840
2872
|
navTo(date) {
|
|
2873
|
+
var _a, _b;
|
|
2841
2874
|
this._viewStartDate = AXDateTime.convert(date, this._today.calendar.name()).startOf();
|
|
2875
|
+
const vr = this._viewRange;
|
|
2876
|
+
this.onNavigate.emit({
|
|
2877
|
+
component: this,
|
|
2878
|
+
isUserInteraction: this._isUserInteraction,
|
|
2879
|
+
start: (_a = vr.startTime) === null || _a === void 0 ? void 0 : _a.date,
|
|
2880
|
+
end: (_b = vr.endTime) === null || _b === void 0 ? void 0 : _b.date,
|
|
2881
|
+
htmlElement: this._getHostElement()
|
|
2882
|
+
});
|
|
2842
2883
|
this._genearteSlots();
|
|
2843
2884
|
}
|
|
2844
2885
|
get __hostClass() {
|
|
@@ -2873,13 +2914,11 @@ class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
|
2873
2914
|
}
|
|
2874
2915
|
}
|
|
2875
2916
|
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 });
|
|
2876
|
-
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",
|
|
2917
|
+
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 });
|
|
2877
2918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCalendarComponent, decorators: [{
|
|
2878
2919
|
type: Component,
|
|
2879
|
-
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
|
|
2880
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
2881
|
-
type: Output
|
|
2882
|
-
}], __hostClass: [{
|
|
2920
|
+
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>" }]
|
|
2921
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
2883
2922
|
type: HostBinding,
|
|
2884
2923
|
args: ['class']
|
|
2885
2924
|
}] } });
|
|
@@ -2945,16 +2984,22 @@ class AXCarouselSplideJS {
|
|
|
2945
2984
|
type: this._instance.loop && !this._instance.rewind ? 'loop' : 'slide',
|
|
2946
2985
|
rewind: this._instance.rewind,
|
|
2947
2986
|
gap: this._instance.gap,
|
|
2948
|
-
perPage: this._instance.
|
|
2949
|
-
perMove:
|
|
2987
|
+
perPage: this._instance.perPage,
|
|
2988
|
+
perMove: this._instance.perMove,
|
|
2950
2989
|
start: this._instance.visibleIndex,
|
|
2951
2990
|
interval: this._instance.interval,
|
|
2952
2991
|
direction: this._instance.vertical ? 'ttb' : (this._instance.rtl ? 'rtl' : 'ltr'),
|
|
2953
2992
|
arrows: false,
|
|
2954
2993
|
pagination: false,
|
|
2955
2994
|
padding: this._instance.padding,
|
|
2956
|
-
autoWidth:
|
|
2957
|
-
focus: this._instance.centered ? 'center' :
|
|
2995
|
+
autoWidth: this._instance.autoWidth,
|
|
2996
|
+
focus: this._instance.centered ? 'center' : this._instance.focus,
|
|
2997
|
+
height: this._instance.height,
|
|
2998
|
+
heightRatio: this._instance.heightRatio,
|
|
2999
|
+
wheel: this._instance.wheel,
|
|
3000
|
+
width: this._instance.width,
|
|
3001
|
+
drag: this._instance.drag,
|
|
3002
|
+
snap: this._instance.snap,
|
|
2958
3003
|
};
|
|
2959
3004
|
}
|
|
2960
3005
|
next() {
|
|
@@ -2998,11 +3043,29 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
2998
3043
|
this.core = core;
|
|
2999
3044
|
this.onOptionsChanged = new EventEmitter();
|
|
3000
3045
|
this.onSlideChanged = new EventEmitter();
|
|
3001
|
-
this.
|
|
3002
|
-
this.
|
|
3046
|
+
this.perMoveChange = new EventEmitter();
|
|
3047
|
+
this._perMove = 1;
|
|
3048
|
+
this.focusChange = new EventEmitter();
|
|
3049
|
+
this._focus = 0;
|
|
3050
|
+
this.heightRatioChange = new EventEmitter();
|
|
3051
|
+
this._heightRatio = 0;
|
|
3052
|
+
this.heightChange = new EventEmitter();
|
|
3053
|
+
this._height = 'auto';
|
|
3054
|
+
this.widthChange = new EventEmitter();
|
|
3055
|
+
this._width = 'fit-content';
|
|
3056
|
+
this.perPageChange = new EventEmitter();
|
|
3057
|
+
this._perPage = 1;
|
|
3003
3058
|
this.gap = 10;
|
|
3004
3059
|
this.autoplayChange = new EventEmitter();
|
|
3005
3060
|
this._autoplay = false;
|
|
3061
|
+
this.snapChange = new EventEmitter();
|
|
3062
|
+
this._snap = false;
|
|
3063
|
+
this.autoWidthChange = new EventEmitter();
|
|
3064
|
+
this._autoWidth = true;
|
|
3065
|
+
this.dragChange = new EventEmitter();
|
|
3066
|
+
this._drag = true;
|
|
3067
|
+
this.wheelChange = new EventEmitter();
|
|
3068
|
+
this._wheel = false;
|
|
3006
3069
|
this.intervalChange = new EventEmitter();
|
|
3007
3070
|
this._interval = 3000;
|
|
3008
3071
|
this.paddingChange = new EventEmitter();
|
|
@@ -3019,17 +3082,70 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3019
3082
|
this.onItemsChanged = new EventEmitter();
|
|
3020
3083
|
this._items = [];
|
|
3021
3084
|
}
|
|
3022
|
-
get
|
|
3023
|
-
return this.
|
|
3085
|
+
get perMove() {
|
|
3086
|
+
return this._perMove;
|
|
3024
3087
|
}
|
|
3025
|
-
set
|
|
3088
|
+
set perMove(v) {
|
|
3026
3089
|
const val = Math.max(1, coerceNumberProperty(v));
|
|
3027
|
-
if (val != this.
|
|
3028
|
-
this.
|
|
3029
|
-
if (this.
|
|
3090
|
+
if (val != this._perMove) {
|
|
3091
|
+
this._perMove = val;
|
|
3092
|
+
if (this._perMove > 1) {
|
|
3030
3093
|
this._vertical = false;
|
|
3031
3094
|
}
|
|
3032
|
-
this.
|
|
3095
|
+
this.perMoveChange.emit(this.perMove);
|
|
3096
|
+
this.onOptionsChanged.emit();
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
get focus() {
|
|
3100
|
+
return this._focus;
|
|
3101
|
+
}
|
|
3102
|
+
set focus(v) {
|
|
3103
|
+
if (v != this._focus) {
|
|
3104
|
+
this._focus = v;
|
|
3105
|
+
this.paddingChange.emit(v);
|
|
3106
|
+
this.onOptionsChanged.emit();
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
get heightRatio() {
|
|
3110
|
+
return this._heightRatio;
|
|
3111
|
+
}
|
|
3112
|
+
set heightRatio(v) {
|
|
3113
|
+
if (v != this._heightRatio) {
|
|
3114
|
+
this._heightRatio = v;
|
|
3115
|
+
this.paddingChange.emit(v);
|
|
3116
|
+
this.onOptionsChanged.emit();
|
|
3117
|
+
}
|
|
3118
|
+
}
|
|
3119
|
+
get height() {
|
|
3120
|
+
return this._height;
|
|
3121
|
+
}
|
|
3122
|
+
set height(v) {
|
|
3123
|
+
const val = v;
|
|
3124
|
+
if (val != this._height) {
|
|
3125
|
+
this._height = val;
|
|
3126
|
+
this.heightChange.emit(this.height);
|
|
3127
|
+
this.onOptionsChanged.emit();
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
get width() {
|
|
3131
|
+
return this._width;
|
|
3132
|
+
}
|
|
3133
|
+
set width(v) {
|
|
3134
|
+
const val = v;
|
|
3135
|
+
if (val != this._width) {
|
|
3136
|
+
this._width = val;
|
|
3137
|
+
this.widthChange.emit(this.width);
|
|
3138
|
+
this.onOptionsChanged.emit();
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
get perPage() {
|
|
3142
|
+
return this._perPage;
|
|
3143
|
+
}
|
|
3144
|
+
set perPage(v) {
|
|
3145
|
+
const val = v;
|
|
3146
|
+
if (val != this._perPage) {
|
|
3147
|
+
this._perPage = val;
|
|
3148
|
+
this.perPageChange.emit(this.perPage);
|
|
3033
3149
|
this.onOptionsChanged.emit();
|
|
3034
3150
|
}
|
|
3035
3151
|
}
|
|
@@ -3044,6 +3160,50 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3044
3160
|
this.onOptionsChanged.emit();
|
|
3045
3161
|
}
|
|
3046
3162
|
}
|
|
3163
|
+
get snap() {
|
|
3164
|
+
return this._snap;
|
|
3165
|
+
}
|
|
3166
|
+
set snap(v) {
|
|
3167
|
+
const val = coerceBooleanProperty(v);
|
|
3168
|
+
if (val != this._snap) {
|
|
3169
|
+
this._snap = val;
|
|
3170
|
+
this.snapChange.emit(this.snap);
|
|
3171
|
+
this.onOptionsChanged.emit();
|
|
3172
|
+
}
|
|
3173
|
+
}
|
|
3174
|
+
get autoWidth() {
|
|
3175
|
+
return this._autoWidth;
|
|
3176
|
+
}
|
|
3177
|
+
set autoWidth(v) {
|
|
3178
|
+
const val = coerceBooleanProperty(v);
|
|
3179
|
+
if (val != this._autoWidth) {
|
|
3180
|
+
this._autoWidth = val;
|
|
3181
|
+
this.autoWidthChange.emit(this.autoWidth);
|
|
3182
|
+
this.onOptionsChanged.emit();
|
|
3183
|
+
}
|
|
3184
|
+
}
|
|
3185
|
+
get drag() {
|
|
3186
|
+
return this._drag;
|
|
3187
|
+
}
|
|
3188
|
+
set drag(v) {
|
|
3189
|
+
const val = v;
|
|
3190
|
+
if (val != this._drag) {
|
|
3191
|
+
this._drag = val;
|
|
3192
|
+
this.dragChange.emit(this.drag);
|
|
3193
|
+
this.onOptionsChanged.emit();
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
get wheel() {
|
|
3197
|
+
return this._wheel;
|
|
3198
|
+
}
|
|
3199
|
+
set wheel(v) {
|
|
3200
|
+
const val = coerceBooleanProperty(v);
|
|
3201
|
+
if (val != this._wheel) {
|
|
3202
|
+
this._wheel = val;
|
|
3203
|
+
this.wheelChange.emit(this.wheel);
|
|
3204
|
+
this.onOptionsChanged.emit();
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3047
3207
|
get interval() {
|
|
3048
3208
|
return this._interval;
|
|
3049
3209
|
}
|
|
@@ -3171,7 +3331,7 @@ class AXCarouselComponent extends AXBaseComponentMixin {
|
|
|
3171
3331
|
}
|
|
3172
3332
|
}
|
|
3173
3333
|
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 });
|
|
3174
|
-
AXCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: AXCarouselComponent, selector: "ax-carousel", inputs: {
|
|
3334
|
+
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: [{
|
|
3175
3335
|
provide: AXCarouselCore,
|
|
3176
3336
|
useClass: AXCarouselSplideJS
|
|
3177
3337
|
}], 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 });
|
|
@@ -3185,9 +3345,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3185
3345
|
type: Output
|
|
3186
3346
|
}], onSlideChanged: [{
|
|
3187
3347
|
type: Output
|
|
3188
|
-
}],
|
|
3348
|
+
}], perMoveChange: [{
|
|
3349
|
+
type: Output
|
|
3350
|
+
}], perMove: [{
|
|
3351
|
+
type: Input
|
|
3352
|
+
}], focusChange: [{
|
|
3353
|
+
type: Output
|
|
3354
|
+
}], focus: [{
|
|
3355
|
+
type: Input
|
|
3356
|
+
}], heightRatioChange: [{
|
|
3357
|
+
type: Output
|
|
3358
|
+
}], heightRatio: [{
|
|
3359
|
+
type: Input
|
|
3360
|
+
}], heightChange: [{
|
|
3189
3361
|
type: Output
|
|
3190
|
-
}],
|
|
3362
|
+
}], height: [{
|
|
3363
|
+
type: Input
|
|
3364
|
+
}], widthChange: [{
|
|
3365
|
+
type: Output
|
|
3366
|
+
}], width: [{
|
|
3367
|
+
type: Input
|
|
3368
|
+
}], perPageChange: [{
|
|
3369
|
+
type: Output
|
|
3370
|
+
}], perPage: [{
|
|
3191
3371
|
type: Input
|
|
3192
3372
|
}], gap: [{
|
|
3193
3373
|
type: Input
|
|
@@ -3195,6 +3375,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3195
3375
|
type: Output
|
|
3196
3376
|
}], autoplay: [{
|
|
3197
3377
|
type: Input
|
|
3378
|
+
}], snapChange: [{
|
|
3379
|
+
type: Output
|
|
3380
|
+
}], snap: [{
|
|
3381
|
+
type: Input
|
|
3382
|
+
}], autoWidthChange: [{
|
|
3383
|
+
type: Output
|
|
3384
|
+
}], autoWidth: [{
|
|
3385
|
+
type: Input
|
|
3386
|
+
}], dragChange: [{
|
|
3387
|
+
type: Output
|
|
3388
|
+
}], drag: [{
|
|
3389
|
+
type: Input
|
|
3390
|
+
}], wheelChange: [{
|
|
3391
|
+
type: Output
|
|
3392
|
+
}], wheel: [{
|
|
3393
|
+
type: Input
|
|
3198
3394
|
}], intervalChange: [{
|
|
3199
3395
|
type: Output
|
|
3200
3396
|
}], interval: [{
|
|
@@ -3259,23 +3455,23 @@ class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
|
3259
3455
|
}
|
|
3260
3456
|
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 });
|
|
3261
3457
|
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: `
|
|
3262
|
-
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
3263
|
-
<i class="ax-ic ax-ic-
|
|
3458
|
+
<button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
|
|
3459
|
+
<i class="ax-ic ax-ic-chevron"></i>
|
|
3264
3460
|
</button>
|
|
3265
|
-
<button class="ax-carousel-arrow-next" (click)="_handleNextClick($event)">
|
|
3266
|
-
<i class="ax-ic ax-ic-
|
|
3461
|
+
<button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
|
|
3462
|
+
<i class="ax-ic ax-ic-chevron ax-block ax-rotate-180"></i>
|
|
3267
3463
|
</button>
|
|
3268
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3464
|
+
`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3269
3465
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselArrowsComponent, decorators: [{
|
|
3270
3466
|
type: Component,
|
|
3271
3467
|
args: [{
|
|
3272
3468
|
selector: 'ax-carousel-arrows',
|
|
3273
3469
|
template: `
|
|
3274
|
-
<button class="ax-carousel-arrow-prev" (click)="_handlePrevClick($event)">
|
|
3275
|
-
<i class="ax-ic ax-ic-
|
|
3470
|
+
<button class="ax-carousel-arrow-prev" [ngClass]="{'ax-vertical-arrow ax-top-arrow': this.parent.vertical}" (click)="_handlePrevClick($event)">
|
|
3471
|
+
<i class="ax-ic ax-ic-chevron"></i>
|
|
3276
3472
|
</button>
|
|
3277
|
-
<button class="ax-carousel-arrow-next" (click)="_handleNextClick($event)">
|
|
3278
|
-
<i class="ax-ic ax-ic-
|
|
3473
|
+
<button class="ax-carousel-arrow-next" [ngClass]="{'ax-vertical-arrow ax-bottom-arrow': this.parent.vertical}" (click)="_handleNextClick($event)">
|
|
3474
|
+
<i class="ax-ic ax-ic-chevron ax-block ax-rotate-180"></i>
|
|
3279
3475
|
</button>
|
|
3280
3476
|
`,
|
|
3281
3477
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -3302,7 +3498,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3302
3498
|
this._size = 1;
|
|
3303
3499
|
this._dots = [];
|
|
3304
3500
|
this._subs = [];
|
|
3305
|
-
_parent.
|
|
3501
|
+
_parent.perPageChange.subscribe(c => {
|
|
3306
3502
|
this._size = c;
|
|
3307
3503
|
this._generateDots();
|
|
3308
3504
|
});
|
|
@@ -3315,7 +3511,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3315
3511
|
});
|
|
3316
3512
|
}
|
|
3317
3513
|
onViewInit() {
|
|
3318
|
-
this._size = this._parent.
|
|
3514
|
+
this._size = this._parent.perPage;
|
|
3319
3515
|
this._visibleIndex = this._parent.visibleIndex;
|
|
3320
3516
|
this._generateDots();
|
|
3321
3517
|
}
|
|
@@ -3344,7 +3540,7 @@ class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
|
3344
3540
|
}
|
|
3345
3541
|
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 });
|
|
3346
3542
|
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: `
|
|
3347
|
-
<button
|
|
3543
|
+
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
3348
3544
|
</button>
|
|
3349
3545
|
`, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3350
3546
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCarouselPagerComponent, decorators: [{
|
|
@@ -3352,7 +3548,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3352
3548
|
args: [{
|
|
3353
3549
|
selector: 'ax-carousel-pager',
|
|
3354
3550
|
template: `
|
|
3355
|
-
<button
|
|
3551
|
+
<button *ngFor="let d of _dots;let i=index" [class.ax-state-active]="i==_pageIndex" (click)="_handleClick($event,i)">
|
|
3356
3552
|
</button>
|
|
3357
3553
|
`,
|
|
3358
3554
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -3429,8 +3625,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3429
3625
|
}] });
|
|
3430
3626
|
|
|
3431
3627
|
class AXCollapseComponent extends AXBaseComponent {
|
|
3432
|
-
constructor() {
|
|
3433
|
-
super();
|
|
3628
|
+
constructor(elementRef, cdr) {
|
|
3629
|
+
super(elementRef, cdr);
|
|
3630
|
+
this.cdr = cdr;
|
|
3434
3631
|
this.isCollapsedChange = new EventEmitter();
|
|
3435
3632
|
this._isCollapsed = false;
|
|
3436
3633
|
this.caption = '';
|
|
@@ -3450,12 +3647,12 @@ class AXCollapseComponent extends AXBaseComponent {
|
|
|
3450
3647
|
this.isCollapsed = !this.isCollapsed;
|
|
3451
3648
|
}
|
|
3452
3649
|
}
|
|
3453
|
-
AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3650
|
+
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 });
|
|
3454
3651
|
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 });
|
|
3455
3652
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
|
3456
3653
|
type: Component,
|
|
3457
3654
|
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>" }]
|
|
3458
|
-
}], ctorParameters: function () { return []; }, propDecorators: { isCollapsedChange: [{
|
|
3655
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
|
|
3459
3656
|
type: Output
|
|
3460
3657
|
}], isCollapsed: [{
|
|
3461
3658
|
type: Input
|
|
@@ -3467,8 +3664,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3467
3664
|
}] } });
|
|
3468
3665
|
|
|
3469
3666
|
class AXCollapseGroupComponent extends AXBaseComponent {
|
|
3470
|
-
constructor() {
|
|
3471
|
-
super();
|
|
3667
|
+
constructor(elementRef, cdr) {
|
|
3668
|
+
super(elementRef, cdr);
|
|
3669
|
+
this.cdr = cdr;
|
|
3472
3670
|
this.accordion = false;
|
|
3473
3671
|
this.nonCollapsedIndex = 0;
|
|
3474
3672
|
}
|
|
@@ -3486,15 +3684,8 @@ class AXCollapseGroupComponent extends AXBaseComponent {
|
|
|
3486
3684
|
});
|
|
3487
3685
|
}
|
|
3488
3686
|
}
|
|
3489
|
-
ngDoCheck() {
|
|
3490
|
-
//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.
|
|
3491
|
-
//Add 'implements DoCheck' to the class.
|
|
3492
|
-
// if (this.accordion) {
|
|
3493
|
-
// this._collapses.forEach(c => c.isCollapsed = false);
|
|
3494
|
-
// }
|
|
3495
|
-
}
|
|
3496
3687
|
}
|
|
3497
|
-
AXCollapseGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3688
|
+
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 });
|
|
3498
3689
|
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 });
|
|
3499
3690
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
|
3500
3691
|
type: Component,
|
|
@@ -3505,7 +3696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3505
3696
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3506
3697
|
encapsulation: ViewEncapsulation.None,
|
|
3507
3698
|
}]
|
|
3508
|
-
}], ctorParameters: function () { return []; }, propDecorators: { accordion: [{
|
|
3699
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { accordion: [{
|
|
3509
3700
|
type: Input
|
|
3510
3701
|
}], nonCollapsedIndex: [{
|
|
3511
3702
|
type: Input
|
|
@@ -4314,20 +4505,28 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4314
4505
|
value: v
|
|
4315
4506
|
});
|
|
4316
4507
|
}
|
|
4317
|
-
|
|
4318
|
-
super.onViewInit();
|
|
4508
|
+
onInit() {
|
|
4319
4509
|
this._popoverTitle = this.placeholder || AXTranslator.get('datepicker.popover.title');
|
|
4320
4510
|
this.popover.onOpened.subscribe(() => {
|
|
4321
4511
|
this._calendar.focus();
|
|
4322
4512
|
});
|
|
4323
4513
|
}
|
|
4514
|
+
_updateDisplayText() {
|
|
4515
|
+
this.displayText = this.value ? AXDateTime.convert(this.value, this.type).format(this._format) : null;
|
|
4516
|
+
}
|
|
4324
4517
|
_handleArrowClickEvent(e) {
|
|
4325
4518
|
this.toggle();
|
|
4326
4519
|
}
|
|
4327
4520
|
_onValueChanged(oldValue, newValue) {
|
|
4328
|
-
this.
|
|
4521
|
+
this._updateDisplayText();
|
|
4329
4522
|
this.close();
|
|
4330
4523
|
}
|
|
4524
|
+
_onOptionChanged(option) {
|
|
4525
|
+
super._onOptionChanged(option);
|
|
4526
|
+
if (option.name == 'type') {
|
|
4527
|
+
this._updateDisplayText();
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4331
4530
|
_handleOnKeydownEvent(e) {
|
|
4332
4531
|
var _a, _b;
|
|
4333
4532
|
const ignore = () => {
|
|
@@ -4420,16 +4619,19 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
|
|
|
4420
4619
|
e.preventDefault();
|
|
4421
4620
|
e.stopPropagation();
|
|
4422
4621
|
}
|
|
4622
|
+
_handleOnNavigate(e) {
|
|
4623
|
+
this.onNavigate.emit(e);
|
|
4624
|
+
}
|
|
4423
4625
|
_highlightPart(input, pos) {
|
|
4424
4626
|
const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart);
|
|
4425
4627
|
input.setSelectionRange(start, end);
|
|
4426
4628
|
}
|
|
4427
4629
|
}
|
|
4428
4630
|
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 });
|
|
4429
|
-
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",
|
|
4631
|
+
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 });
|
|
4430
4632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXDatePickerComponent, decorators: [{
|
|
4431
4633
|
type: Component,
|
|
4432
|
-
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-
|
|
4634
|
+
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>" }]
|
|
4433
4635
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$3.AXPlatform }]; }, propDecorators: { popover: [{
|
|
4434
4636
|
type: ViewChild,
|
|
4435
4637
|
args: [AXPopoverComponent, { static: true }]
|
|
@@ -5630,6 +5832,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5630
5832
|
}]
|
|
5631
5833
|
}] });
|
|
5632
5834
|
|
|
5835
|
+
class AXPickerComponent extends AXBaseComponent {
|
|
5836
|
+
/**
|
|
5837
|
+
* @ignore
|
|
5838
|
+
*/
|
|
5839
|
+
constructor(elementRef, cdr) {
|
|
5840
|
+
super(elementRef, cdr);
|
|
5841
|
+
this.items = [];
|
|
5842
|
+
}
|
|
5843
|
+
}
|
|
5844
|
+
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 });
|
|
5845
|
+
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"] }] });
|
|
5846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerComponent, decorators: [{
|
|
5847
|
+
type: Component,
|
|
5848
|
+
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>" }]
|
|
5849
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { items: [{
|
|
5850
|
+
type: Input
|
|
5851
|
+
}] } });
|
|
5852
|
+
|
|
5853
|
+
class AXPickerModule {
|
|
5854
|
+
}
|
|
5855
|
+
AXPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5856
|
+
AXPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, declarations: [AXPickerComponent], imports: [CommonModule, AXCarouselModule], exports: [AXPickerComponent] });
|
|
5857
|
+
AXPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, providers: [], imports: [[CommonModule, AXCarouselModule]] });
|
|
5858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXPickerModule, decorators: [{
|
|
5859
|
+
type: NgModule,
|
|
5860
|
+
args: [{
|
|
5861
|
+
declarations: [AXPickerComponent],
|
|
5862
|
+
imports: [CommonModule, AXCarouselModule],
|
|
5863
|
+
exports: [AXPickerComponent],
|
|
5864
|
+
providers: [],
|
|
5865
|
+
}]
|
|
5866
|
+
}] });
|
|
5867
|
+
|
|
5633
5868
|
/**
|
|
5634
5869
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
5635
5870
|
*
|
|
@@ -6041,12 +6276,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6041
6276
|
type: Input
|
|
6042
6277
|
}] } });
|
|
6043
6278
|
|
|
6044
|
-
class
|
|
6279
|
+
class AXResultModule {
|
|
6045
6280
|
}
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type:
|
|
6281
|
+
AXResultModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6282
|
+
AXResultModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, declarations: [AXResultComponent], imports: [CommonModule], exports: [AXResultComponent] });
|
|
6283
|
+
AXResultModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, providers: [], imports: [[CommonModule]] });
|
|
6284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AXResultModule, decorators: [{
|
|
6050
6285
|
type: NgModule,
|
|
6051
6286
|
args: [{
|
|
6052
6287
|
declarations: [AXResultComponent],
|
|
@@ -7656,5 +7891,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7656
7891
|
* Generated bundle index. Do not edit.
|
|
7657
7892
|
*/
|
|
7658
7893
|
|
|
7659
|
-
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,
|
|
7894
|
+
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 };
|
|
7660
7895
|
//# sourceMappingURL=acorex-components.mjs.map
|