@wizishop/angular-components 14.4.22 → 14.4.24
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/angular-components.scss +129 -129
- package/assets/i18n/en.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/esm2020/lib/animations/export.animation.mjs +13 -0
- package/esm2020/lib/animations/list/animate-list-from-bottom.animation.mjs +18 -0
- package/esm2020/lib/animations/list/animate-list-from-left.animation.mjs +18 -0
- package/esm2020/lib/animations/list/animate-list-from-right.animation.mjs +18 -0
- package/esm2020/lib/animations/list/animate-list-from-top.animation.mjs +16 -0
- package/esm2020/lib/animations/show/opacity.animation.mjs +5 -0
- package/esm2020/lib/animations/show/show-from-bottom.animation.mjs +15 -0
- package/esm2020/lib/animations/show/show-from-left.animation.mjs +15 -0
- package/esm2020/lib/animations/show/show-from-right.animation.mjs +15 -0
- package/esm2020/lib/animations/show/show-from-top.animation.mjs +15 -0
- package/esm2020/lib/animations/switch/switch-in-out.animation.mjs +6 -0
- package/esm2020/lib/components/calendar/calendar.component.mjs +16 -6
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/wizishop-angular-components.mjs +148 -7
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +146 -7
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/animations/export.animation.d.ts +12 -0
- package/lib/animations/list/animate-list-from-bottom.animation.d.ts +1 -0
- package/lib/animations/list/animate-list-from-left.animation.d.ts +1 -0
- package/lib/animations/list/animate-list-from-right.animation.d.ts +1 -0
- package/lib/animations/list/animate-list-from-top.animation.d.ts +1 -0
- package/lib/animations/show/opacity.animation.d.ts +1 -0
- package/lib/animations/show/show-from-bottom.animation.d.ts +1 -0
- package/lib/animations/show/show-from-left.animation.d.ts +1 -0
- package/lib/animations/show/show-from-right.animation.d.ts +1 -0
- package/lib/animations/show/show-from-top.animation.d.ts +1 -0
- package/lib/animations/switch/switch-in-out.animation.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/wizishop-angular-components-14.4.24.tgz +0 -0
- package/wizishop-angular-components-14.4.22.tgz +0 -0
|
@@ -13,7 +13,7 @@ import { takeUntil, debounceTime, distinctUntilChanged, tap, filter, map, takeWh
|
|
|
13
13
|
import * as i1$1 from '@angular/cdk/overlay';
|
|
14
14
|
import { TAB, DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, A, Z, ZERO, NINE, ENTER, SPACE, hasModifierKey, ESCAPE } from '@angular/cdk/keycodes';
|
|
15
15
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
16
|
-
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
16
|
+
import { trigger, transition, style, animate, state, animation, query, stagger } from '@angular/animations';
|
|
17
17
|
import { TagInputModule } from 'ngx-chips';
|
|
18
18
|
import * as i1$2 from '@ngx-translate/core';
|
|
19
19
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -1935,6 +1935,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
1935
1935
|
type: Output
|
|
1936
1936
|
}] } });
|
|
1937
1937
|
|
|
1938
|
+
const opacityAnimation = trigger('opacityAnimation', [
|
|
1939
|
+
transition(':enter', [style({ opacity: 0 }), animate('0.4s ease-in-out', style({ opacity: 1 }))])
|
|
1940
|
+
]);
|
|
1941
|
+
|
|
1938
1942
|
class OptionalDisableContainerComponent {
|
|
1939
1943
|
constructor() {
|
|
1940
1944
|
this.disabled = false;
|
|
@@ -1960,7 +1964,6 @@ class CalendarComponent {
|
|
|
1960
1964
|
showFooter: true,
|
|
1961
1965
|
};
|
|
1962
1966
|
this.position = 'bottom';
|
|
1963
|
-
this._dateSelected = new Date();
|
|
1964
1967
|
this.dateSelectedChange = new EventEmitter();
|
|
1965
1968
|
this.typeDate = 'datetime-local';
|
|
1966
1969
|
this.noMargin = false;
|
|
@@ -1992,6 +1995,9 @@ class CalendarComponent {
|
|
|
1992
1995
|
return this._dateSelected;
|
|
1993
1996
|
}
|
|
1994
1997
|
set calendarMinutes(calendarMinutes) {
|
|
1998
|
+
if (!this.dateSelected) {
|
|
1999
|
+
this.dateSelected = new Date();
|
|
2000
|
+
}
|
|
1995
2001
|
const minutes = this.formatTime(calendarMinutes, 0, 59);
|
|
1996
2002
|
this.dateSelected.setMinutes(minutes);
|
|
1997
2003
|
this.dateSelected = this.dateSelected; // trigger change detection
|
|
@@ -1999,9 +2005,13 @@ class CalendarComponent {
|
|
|
1999
2005
|
this.triggerDateSelectedChange();
|
|
2000
2006
|
}
|
|
2001
2007
|
get calendarMinutes() {
|
|
2002
|
-
|
|
2008
|
+
var _a;
|
|
2009
|
+
return this.datePipe.transform((_a = this.dateSelected) !== null && _a !== void 0 ? _a : new Date(), 'mm');
|
|
2003
2010
|
}
|
|
2004
2011
|
set calendarHours(calendarHours) {
|
|
2012
|
+
if (!this.dateSelected) {
|
|
2013
|
+
this.dateSelected = new Date();
|
|
2014
|
+
}
|
|
2005
2015
|
const hours = this.formatTime(calendarHours, 0, 23);
|
|
2006
2016
|
this.dateSelected.setHours(hours);
|
|
2007
2017
|
this.dateSelected = this.dateSelected; // trigger change detection
|
|
@@ -2009,7 +2019,8 @@ class CalendarComponent {
|
|
|
2009
2019
|
this.triggerDateSelectedChange();
|
|
2010
2020
|
}
|
|
2011
2021
|
get calendarHours() {
|
|
2012
|
-
|
|
2022
|
+
var _a;
|
|
2023
|
+
return this.datePipe.transform((_a = this.dateSelected) !== null && _a !== void 0 ? _a : new Date(), 'HH');
|
|
2013
2024
|
}
|
|
2014
2025
|
ngOnChanges(changes) {
|
|
2015
2026
|
if (changes.label || changes.type) {
|
|
@@ -2020,6 +2031,9 @@ class CalendarComponent {
|
|
|
2020
2031
|
if (this.disabled) {
|
|
2021
2032
|
return;
|
|
2022
2033
|
}
|
|
2034
|
+
if (!this.dateSelected) {
|
|
2035
|
+
this.dateSelected = new Date();
|
|
2036
|
+
}
|
|
2023
2037
|
selectedDates.startDate.setHours(this.dateSelected.getHours());
|
|
2024
2038
|
selectedDates.startDate.setMinutes(this.dateSelected.getMinutes());
|
|
2025
2039
|
this.dateSelected = selectedDates.startDate;
|
|
@@ -2121,7 +2135,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
2121
2135
|
multi: true
|
|
2122
2136
|
},
|
|
2123
2137
|
DatePipe
|
|
2124
|
-
], viewQueries: [{ propertyName: "minutes", first: true, predicate: ["minutes"], descendants: true }, { propertyName: "hours", first: true, predicate: ["hours"], descendants: true }, { propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"wac-calendar\"\n [ngClass]=\"{\n 'wac-calendar--input': type === 'input',\n 'wac-calendar--onlyDate': typeDate === 'date',\n 'wac-calendar--edit': type === 'edit',\n 'wac-calendar--select': type === 'select',\n 'wac-calendar--no-margin': noMargin,\n 'wac-calendar--open': open\n }\"\n [zIndexToggle]=\"open\"\n>\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\n <wac-optional-disable-container [disabled]=\"disabled\">\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\n <div class=\"wac-calendar__wrapper\">\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__input__icon\">\n <i class=\"far fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__input__date\">\n {{ dateSelected | date: 'dd/MM/yyyy' }}
|
|
2138
|
+
], viewQueries: [{ propertyName: "minutes", first: true, predicate: ["minutes"], descendants: true }, { propertyName: "hours", first: true, predicate: ["hours"], descendants: true }, { propertyName: "datePicker", first: true, predicate: ["datePicker"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"wac-calendar\"\n [ngClass]=\"{\n 'wac-calendar--input': type === 'input',\n 'wac-calendar--onlyDate': typeDate === 'date',\n 'wac-calendar--edit': type === 'edit',\n 'wac-calendar--select': type === 'select',\n 'wac-calendar--no-margin': noMargin,\n 'wac-calendar--open': open\n }\"\n [zIndexToggle]=\"open\"\n>\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\n <wac-optional-disable-container [disabled]=\"disabled\">\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\n <div class=\"wac-calendar__wrapper\">\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__input__icon\">\n <i class=\"far fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__input__date\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy'}}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/mm/yyyy' | translate }}</span>\n </div>\n <div class=\"wac-calendar__wrapper__input__time\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.HH:mm' | translate }}</span>\n </div>\n </div>\n <div class=\"wac-calendar__wrapper__editInPlace\" *ngIf=\"type === 'edit'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__editInPlace__icon\">\n <i class=\"fal fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__editInPlace__date\">\n <div class=\"wac-calendar__wrapper__input__time\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\n </div>\n </div>\n </div>\n <div class=\"wac-calendar__wrapper__select\" *ngIf=\"type === 'select'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__select__icon\">\n <i class=\"fal fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__select__date\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\n </div>\n </div>\n </div>\n <div\n class=\"wac-calendar__absolute\"\n [ngClass]=\"{\n top: position === 'top',\n bottom: position === 'bottom',\n left: position === 'left',\n right: position === 'right',\n 'right-top': position === 'right-top',\n 'right-bottom': position === 'right-bottom',\n 'left-top': position === 'left-top',\n 'left-bottom': position === 'left-bottom',\n 'with-time': typeDate === 'datetime-local' || typeDate === 'datetime'\n }\"\n >\n <nwb-date-picker #datePicker (change)=\"onChangeDate($event)\" [options]=\"options\">\n <input [nwbDatepickerStart]=\"datePicker\" type=\"text\" [nwbDateType]=\"'date'\" [value]=\"dateSelected?.toISOString()\" />\n </nwb-date-picker>\n <div class=\"wac-calendar__absolute__time\" *ngIf=\"typeDate === 'datetime-local' || typeDate === 'datetime'\">\n <div class=\"wac-calendar__absolute__time__wrapper\">\n <div class=\"wac-calendar__absolute__time__wrapper__hours\">\n <div class=\"wac-calendar__absolute__time__wrapper__hours__left\">\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"incrementHours($event)\">\n <i class=\"fas fa-plus\"></i>\n </button>\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"decrementHours($event)\">\n <i class=\"fas fa-minus\"></i>\n </button>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__hours__right\">\n <input #hours type=\"text\" [(ngModel)]=\"calendarHours\" [wacOnlyNumber]=\"true\"/>\n </div>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__minutes\">\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__left\">\n <input #minutes type=\"text\" [(ngModel)]=\"calendarMinutes\" [wacOnlyNumber]=\"true\"/>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__right\">\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"incrementMinutes($event)\">\n <i class=\"fas fa-plus\"></i>\n </button>\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"decrementsMinutes($event)\">\n <i class=\"fas fa-minus\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </wac-optional-disable-container>\n <p class=\"wac-calendar__endLabel\" *ngIf=\"type === 'edit'\">{{ endLabel }}</p>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NwbDatePickerComponent, selector: "nwb-date-picker", inputs: ["options"], outputs: ["change", "clear"] }, { kind: "directive", type: i3.NwbDatePickerInputStartDirective, selector: "input[nwbDatepickerStart]", inputs: ["nwbDatepickerStart"] }, { kind: "directive", type: i3.NwbDatePickerInputDateTypeDirective, selector: "input[nwbDateType]", inputs: ["nwbDateType"] }, { kind: "directive", type: AutoHideDirective, selector: "[wzAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "directive", type: ZindexToggleDirective, selector: "[zIndexToggle]", inputs: ["zIndexToggle"], outputs: ["onEventChange"] }, { kind: "directive", type: OnlyNumberDirective, selector: "[wacOnlyNumber]", inputs: ["wacOnlyNumber"] }, { kind: "component", type: OptionalDisableContainerComponent, selector: "wac-optional-disable-container", inputs: ["disabled"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }, { kind: "pipe", type: i1$2.TranslatePipe, name: "translate" }], animations: [opacityAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2125
2139
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
2126
2140
|
type: Component,
|
|
2127
2141
|
args: [{ selector: 'wac-calendar', providers: [
|
|
@@ -2131,7 +2145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
|
2131
2145
|
multi: true
|
|
2132
2146
|
},
|
|
2133
2147
|
DatePipe
|
|
2134
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div\n class=\"wac-calendar\"\n [ngClass]=\"{\n 'wac-calendar--input': type === 'input',\n 'wac-calendar--onlyDate': typeDate === 'date',\n 'wac-calendar--edit': type === 'edit',\n 'wac-calendar--select': type === 'select',\n 'wac-calendar--no-margin': noMargin,\n 'wac-calendar--open': open\n }\"\n [zIndexToggle]=\"open\"\n>\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\n <wac-optional-disable-container [disabled]=\"disabled\">\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\n <div class=\"wac-calendar__wrapper\">\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__input__icon\">\n <i class=\"far fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__input__date\">\n {{ dateSelected | date: 'dd/MM/yyyy' }}
|
|
2148
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [opacityAnimation], template: "<div\n class=\"wac-calendar\"\n [ngClass]=\"{\n 'wac-calendar--input': type === 'input',\n 'wac-calendar--onlyDate': typeDate === 'date',\n 'wac-calendar--edit': type === 'edit',\n 'wac-calendar--select': type === 'select',\n 'wac-calendar--no-margin': noMargin,\n 'wac-calendar--open': open\n }\"\n [zIndexToggle]=\"open\"\n>\n <p [class]=\"'wac-calendar__label' + (boldLabel ? ' bold' : '')\" *ngIf=\"label && (type === 'input' || type === 'select')\" (click)=\"openCalendar()\">{{ label }}</p>\n <p class=\"wac-calendar__startLabel\" *ngIf=\"type === 'edit'\">{{ startLabel }}</p>\n <wac-optional-disable-container [disabled]=\"disabled\">\n <div class=\"wac-calendar__autoHide\" wzAutoHide (clickOutside)=\"openCalendar('close')\">\n <div class=\"wac-calendar__wrapper\">\n <div class=\"wac-calendar__wrapper__input\" *ngIf=\"type === 'input'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__input__icon\">\n <i class=\"far fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__input__date\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy'}}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/mm/yyyy' | translate }}</span>\n </div>\n <div class=\"wac-calendar__wrapper__input__time\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.HH:mm' | translate }}</span>\n </div>\n </div>\n <div class=\"wac-calendar__wrapper__editInPlace\" *ngIf=\"type === 'edit'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__editInPlace__icon\">\n <i class=\"fal fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__editInPlace__date\">\n <div class=\"wac-calendar__wrapper__input__time\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\n </div>\n </div>\n </div>\n <div class=\"wac-calendar__wrapper__select\" *ngIf=\"type === 'select'\" (click)=\"openCalendar()\">\n <div class=\"wac-calendar__wrapper__select__icon\">\n <i class=\"fal fa-calendar-alt\"></i>\n </div>\n <div class=\"wac-calendar__wrapper__select__date\">\n <span *ngIf=\"dateSelected\" @opacityAnimation>{{ dateSelected | date: 'dd/MM/yyyy HH:mm' }}</span>\n <span *ngIf=\"!dateSelected\" @opacityAnimation>{{ 'wac.Date.PlaceHolder.dd/MM/yyyy_HH:mm' | translate }}</span>\n </div>\n </div>\n </div>\n <div\n class=\"wac-calendar__absolute\"\n [ngClass]=\"{\n top: position === 'top',\n bottom: position === 'bottom',\n left: position === 'left',\n right: position === 'right',\n 'right-top': position === 'right-top',\n 'right-bottom': position === 'right-bottom',\n 'left-top': position === 'left-top',\n 'left-bottom': position === 'left-bottom',\n 'with-time': typeDate === 'datetime-local' || typeDate === 'datetime'\n }\"\n >\n <nwb-date-picker #datePicker (change)=\"onChangeDate($event)\" [options]=\"options\">\n <input [nwbDatepickerStart]=\"datePicker\" type=\"text\" [nwbDateType]=\"'date'\" [value]=\"dateSelected?.toISOString()\" />\n </nwb-date-picker>\n <div class=\"wac-calendar__absolute__time\" *ngIf=\"typeDate === 'datetime-local' || typeDate === 'datetime'\">\n <div class=\"wac-calendar__absolute__time__wrapper\">\n <div class=\"wac-calendar__absolute__time__wrapper__hours\">\n <div class=\"wac-calendar__absolute__time__wrapper__hours__left\">\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"incrementHours($event)\">\n <i class=\"fas fa-plus\"></i>\n </button>\n <button class=\"wac-calendar__absolute__time__wrapper__hours__btn\" (click)=\"decrementHours($event)\">\n <i class=\"fas fa-minus\"></i>\n </button>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__hours__right\">\n <input #hours type=\"text\" [(ngModel)]=\"calendarHours\" [wacOnlyNumber]=\"true\"/>\n </div>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__minutes\">\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__left\">\n <input #minutes type=\"text\" [(ngModel)]=\"calendarMinutes\" [wacOnlyNumber]=\"true\"/>\n </div>\n <div class=\"wac-calendar__absolute__time__wrapper__minutes__right\">\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"incrementMinutes($event)\">\n <i class=\"fas fa-plus\"></i>\n </button>\n <button class=\"wac-calendar__absolute__time__wrapper__minutes__btn\" (click)=\"decrementsMinutes($event)\">\n <i class=\"fas fa-minus\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </wac-optional-disable-container>\n <p class=\"wac-calendar__endLabel\" *ngIf=\"type === 'edit'\">{{ endLabel }}</p>\n</div>\n" }]
|
|
2135
2149
|
}], ctorParameters: function () { return [{ type: i1.DatePipe }]; }, propDecorators: { minutes: [{
|
|
2136
2150
|
type: ViewChild,
|
|
2137
2151
|
args: ['minutes']
|
|
@@ -6229,6 +6243,133 @@ class TableFiltersGroup extends NwbFilterGroup {
|
|
|
6229
6243
|
}
|
|
6230
6244
|
}
|
|
6231
6245
|
|
|
6246
|
+
const currentUsedSelectorForThisAnimation$3 = 'li, div';
|
|
6247
|
+
const showFromBottom = trigger('showFromBottom', [
|
|
6248
|
+
transition('* => *', [
|
|
6249
|
+
animation([
|
|
6250
|
+
query(currentUsedSelectorForThisAnimation$3, style({
|
|
6251
|
+
opacity: 0,
|
|
6252
|
+
position: 'relative',
|
|
6253
|
+
bottom: -150
|
|
6254
|
+
}), { optional: true }),
|
|
6255
|
+
query(currentUsedSelectorForThisAnimation$3, [stagger('150ms', animate('100ms', style({ opacity: 1, bottom: 0 })))], { optional: true })
|
|
6256
|
+
])
|
|
6257
|
+
])
|
|
6258
|
+
]);
|
|
6259
|
+
|
|
6260
|
+
const currentUsedSelectorForThisAnimation$2 = 'li, div';
|
|
6261
|
+
const showFromTop = trigger('showFromTop', [
|
|
6262
|
+
transition('* => *', [
|
|
6263
|
+
animation([
|
|
6264
|
+
query(currentUsedSelectorForThisAnimation$2, style({
|
|
6265
|
+
opacity: 0,
|
|
6266
|
+
position: 'relative',
|
|
6267
|
+
top: -150
|
|
6268
|
+
}), { optional: true }),
|
|
6269
|
+
query(currentUsedSelectorForThisAnimation$2, [stagger('150ms', animate('100ms', style({ opacity: 1, top: 0 })))], { optional: true })
|
|
6270
|
+
])
|
|
6271
|
+
])
|
|
6272
|
+
]);
|
|
6273
|
+
|
|
6274
|
+
const currentUsedSelectorForThisAnimation$1 = 'li, div';
|
|
6275
|
+
const showFromLeft = trigger('showFromLeft', [
|
|
6276
|
+
transition('* => *', [
|
|
6277
|
+
animation([
|
|
6278
|
+
query(currentUsedSelectorForThisAnimation$1, style({
|
|
6279
|
+
opacity: 0,
|
|
6280
|
+
position: 'relative',
|
|
6281
|
+
left: -150
|
|
6282
|
+
}), { optional: true }),
|
|
6283
|
+
query(currentUsedSelectorForThisAnimation$1, [stagger('150ms', animate('100ms', style({ opacity: 1, left: 0 })))], { optional: true })
|
|
6284
|
+
])
|
|
6285
|
+
])
|
|
6286
|
+
]);
|
|
6287
|
+
|
|
6288
|
+
const currentUsedSelectorForThisAnimation = 'li, div';
|
|
6289
|
+
const showFromRight = trigger('showFromRight', [
|
|
6290
|
+
transition('* => *', [
|
|
6291
|
+
animation([
|
|
6292
|
+
query(currentUsedSelectorForThisAnimation, style({
|
|
6293
|
+
opacity: 0,
|
|
6294
|
+
position: 'relative',
|
|
6295
|
+
right: -150
|
|
6296
|
+
}), { optional: true }),
|
|
6297
|
+
query(currentUsedSelectorForThisAnimation, [stagger('150ms', animate('100ms', style({ opacity: 1, right: 0 })))], { optional: true })
|
|
6298
|
+
])
|
|
6299
|
+
])
|
|
6300
|
+
]);
|
|
6301
|
+
|
|
6302
|
+
function animateListFromBottom(passedTime = '.3s ease') {
|
|
6303
|
+
return trigger('animateList', [
|
|
6304
|
+
transition('* => *', [
|
|
6305
|
+
animation([
|
|
6306
|
+
query(':enter', [style({ position: 'relative', opacity: 0, bottom: '-60px' })], { optional: true }),
|
|
6307
|
+
query(':leave', [
|
|
6308
|
+
style({ position: 'relative', opacity: 1, bottom: 0 }),
|
|
6309
|
+
animate('{{time}}', style({ position: 'relative', opacity: 0, bottom: '-60px' }))
|
|
6310
|
+
], { optional: true }),
|
|
6311
|
+
query(':enter', stagger('100ms', [animate('{{time}}', style({ position: 'relative', opacity: 1, bottom: 0 }))]), {
|
|
6312
|
+
optional: true
|
|
6313
|
+
})
|
|
6314
|
+
], { params: { time: passedTime } })
|
|
6315
|
+
])
|
|
6316
|
+
]);
|
|
6317
|
+
}
|
|
6318
|
+
|
|
6319
|
+
function animateListFromTop(passedTime = '.3s ease') {
|
|
6320
|
+
return trigger('animateList', [
|
|
6321
|
+
transition('* => *', [
|
|
6322
|
+
animation([
|
|
6323
|
+
query(':enter', [style({ position: 'relative', opacity: 0, top: '-60px' })], { optional: true }),
|
|
6324
|
+
query(':leave', [
|
|
6325
|
+
style({ position: 'relative', opacity: 1, top: 0 }),
|
|
6326
|
+
animate('{{time}}', style({ position: 'relative', opacity: 0, top: '-60px' }))
|
|
6327
|
+
], { optional: true }),
|
|
6328
|
+
query(':enter', stagger('200ms', [animate('{{time}}', style({ position: 'relative', opacity: 1, top: 0 }))]), { optional: true })
|
|
6329
|
+
], { params: { time: passedTime } })
|
|
6330
|
+
])
|
|
6331
|
+
]);
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
function animateListFromRight(passedTime = '.3s ease-in-out', staggerTime = '50ms') {
|
|
6335
|
+
return trigger('animateList', [
|
|
6336
|
+
transition('* => *', [
|
|
6337
|
+
animation([
|
|
6338
|
+
query(':enter', [style({ position: 'relative', opacity: 0, right: '-60px' })], { optional: true }),
|
|
6339
|
+
query(':leave', [
|
|
6340
|
+
style({ position: 'relative', opacity: 1, right: 0 }),
|
|
6341
|
+
animate('{{time}}', style({ position: 'relative', opacity: 0, right: '-60px' }))
|
|
6342
|
+
], { optional: true }),
|
|
6343
|
+
query(':enter', stagger(staggerTime, [animate('{{time}}', style({ position: 'relative', opacity: 1, right: 0 }))]), {
|
|
6344
|
+
optional: true
|
|
6345
|
+
})
|
|
6346
|
+
], { params: { time: passedTime } })
|
|
6347
|
+
])
|
|
6348
|
+
]);
|
|
6349
|
+
}
|
|
6350
|
+
|
|
6351
|
+
function animateListFromLeft(passedTime = '.3s ease') {
|
|
6352
|
+
return trigger('animateList', [
|
|
6353
|
+
transition('* => *', [
|
|
6354
|
+
animation([
|
|
6355
|
+
query(':enter', [style({ position: 'relative', opacity: 0, left: '-60px' })], { optional: true }),
|
|
6356
|
+
query(':leave', [
|
|
6357
|
+
style({ position: 'relative', opacity: 1, left: 0 }),
|
|
6358
|
+
animate('{{time}}', style({ position: 'relative', opacity: 0, left: '-60px' }))
|
|
6359
|
+
], { optional: true }),
|
|
6360
|
+
query(':enter', stagger('{{time}}', [animate('{{time}}', style({ position: 'relative', opacity: 1, left: 0 }))]), {
|
|
6361
|
+
optional: true
|
|
6362
|
+
})
|
|
6363
|
+
], { params: { time: passedTime } })
|
|
6364
|
+
])
|
|
6365
|
+
]);
|
|
6366
|
+
}
|
|
6367
|
+
|
|
6368
|
+
const switchInOut = trigger('switchInOut', [
|
|
6369
|
+
transition(':enter', [animation([style({ transform: 'translateX(100%)', opacity: 0 }), animate('200ms 200ms ease')])]),
|
|
6370
|
+
transition(':leave', [animation([animate('200ms ease', style({ transform: 'translateX(-100%)', opacity: 0 }))])])
|
|
6371
|
+
]);
|
|
6372
|
+
|
|
6232
6373
|
/*
|
|
6233
6374
|
* Public API Surface of angular-components
|
|
6234
6375
|
*/
|
|
@@ -6237,5 +6378,5 @@ class TableFiltersGroup extends NwbFilterGroup {
|
|
|
6237
6378
|
* Generated bundle index. Do not edit.
|
|
6238
6379
|
*/
|
|
6239
6380
|
|
|
6240
|
-
export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CallComponentFunctionPipe, CardPriceComponent, ChargingBarComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpandedPanelComponent, ExpansionExport, ExpansionModule, ExpansionPanelBase, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FindOptionSelectedPipe, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OnlyNumberDirective, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, SearchComponent, SelectComponent, SelectDirective, SelectFiltersPipe, SelectInTextComponent, SelectOptionDirective, SelectSearchTriggerComponent, SelectTestComponent, SelectedListComponent, SeparatorComponent, SettingsComponent, SharedComponentsModule, SharedDirectives, SharedPipes, SnackbarComponent, StateComponent, SummaryComponent, SwitchComponent, TabComponent, TableColumn, TableColumnHeader, TableComponent, TableFiltersGroup, TableRow, TagComponent, TagLabelComponent, TextAreaComponent, TextComponent, TokenCheckComponent, TooltipComponent, TreeComponent, TreeModule, TwoDigitDecimalNumberDirective, UploadComponent, ValueChangeService, VarDirective, WiziComponentsModule, WrapperBlocsComponent, WrapperComponent, WrapperMultipleBlockComponent, WrapperSidebarComponent, WzEditInPlaceComponent, ZindexToggleDirective };
|
|
6381
|
+
export { ACCORDION_ITEM, AbstractDebounceDirective, AccordionComponent, AlertComponent, AlertPopupComponent, AlertPopupModule, AlertPopupService, AreAllOptionsSelectedPipe, AutoHideDirective, BackComponent, BlockComponent, BlockSeparatorComponent, BlockTitleLegacyComponent, BlockWithCheckboxComponent, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CallComponentFunctionPipe, CardPriceComponent, ChargingBarComponent, CheckBoxRow, CheckboxComponent, ConfirmDeleteComponent, ContentWithButtonsComponent, DebounceKeyupDirective, DeleteComponent, DraganddropListComponent, DropdownComponent, EXPANSION_PANEL_HEADER, ExpandedPanelComponent, ExpansionExport, ExpansionModule, ExpansionPanelBase, ExpansionPanelComponent, ExpansionPanelDirective, ExpansionPanelHeaderComponent, ExpansionPanelHeaderDirective, FilterOptionsPipe, FiltersComponent, FiltersTableService, FindOptionSelectedPipe, FormatObjectToRecursifTreePipe, FormatObjectToSimpleTreePipe, FreePopinComponent, GooglePreviewComponent, H1Component, H2Component, H3Component, H4Component, HeaderPageComponent, HtmlContainer, ImageComponent, InfoComponent, InputComponent, InputSearchComponent, InputWithSelectComponent, KeypressEnterDirective, LabelComponent, LinkComponent, LoaderComponent, LogoComponent, MosaicComponent, MultipleSearchComponent, MultipleSearchPlusComponent, OnlyNumberDirective, OptionCallToActionComponent, OptionComponent, OptionalDisableContainerComponent, PaginationComponent, PlaceholderComponent, PopinComponent, ProgressBarComponent, RadioComponent, SearchComponent, SelectComponent, SelectDirective, SelectFiltersPipe, SelectInTextComponent, SelectOptionDirective, SelectSearchTriggerComponent, SelectTestComponent, SelectedListComponent, SeparatorComponent, SettingsComponent, SharedComponentsModule, SharedDirectives, SharedPipes, SnackbarComponent, StateComponent, SummaryComponent, SwitchComponent, TabComponent, TableColumn, TableColumnHeader, TableComponent, TableFiltersGroup, TableRow, TagComponent, TagLabelComponent, TextAreaComponent, TextComponent, TokenCheckComponent, TooltipComponent, TreeComponent, TreeModule, TwoDigitDecimalNumberDirective, UploadComponent, ValueChangeService, VarDirective, WiziComponentsModule, WrapperBlocsComponent, WrapperComponent, WrapperMultipleBlockComponent, WrapperSidebarComponent, WzEditInPlaceComponent, ZindexToggleDirective, animateListFromBottom, animateListFromLeft, animateListFromRight, animateListFromTop, inOutX, inOutY, opacityAnimation, showFromBottom, showFromLeft, showFromRight, showFromTop, switchInOut };
|
|
6241
6382
|
//# sourceMappingURL=wizishop-angular-components.mjs.map
|