aeb-ui-kit 9.0.0-preview.1038 → 9.0.0-preview.1054
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/fesm2022/aeb-ui-kit.mjs +74 -32
- package/fesm2022/aeb-ui-kit.mjs.map +1 -1
- package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +2 -7
- package/lib/datepicker/datepicker.module.d.ts +10 -7
- package/lib/datepicker/pipes/is-disabled.pipe.d.ts +8 -0
- package/lib/datepicker/pipes/is-same-date.pipe.d.ts +8 -0
- package/lib/datepicker/pipes/is-today.pipe.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
package/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -643,7 +643,7 @@ class CodeInputComponent {
|
|
|
643
643
|
useExisting: forwardRef(() => CodeInputComponent),
|
|
644
644
|
multi: true
|
|
645
645
|
}
|
|
646
|
-
], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<div class=\"aeb-code-input\">\n @if (title) {\n <h2 class=\"aeb-code-input__title\">{{ title }}</h2>\n }\n @if (tip) {\n <span class=\"aeb-code-input__tip\">{{ tip }}</span>\n }\n <div\n class=\"aeb-code-input__field-wrapper\"\n (click)=\"input.focus(); isFocus = true\"\n >\n <input\n class=\"aeb-code-input__field\"\n #input\n [maxLength]=\"codeLength\"\n [value]=\"inputValue\"\n inputmode=\"numeric\"\n [autofocus]=\"isAutofocus\"\n autocomplete=\"one-time-code\"\n pattern=\"[0-9]\"\n (blur)=\"handleBlur()\"\n (keypress)=\"numbersOnly($event)\"\n (input)=\"inputChangeHandler($event)\"\n />\n @for (value of [].constructor(codeLength); track
|
|
646
|
+
], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<div class=\"aeb-code-input\">\n @if (title) {\n <h2 class=\"aeb-code-input__title\">{{ title }}</h2>\n }\n @if (tip) {\n <span class=\"aeb-code-input__tip\">{{ tip }}</span>\n }\n <div\n class=\"aeb-code-input__field-wrapper\"\n (click)=\"input.focus(); isFocus = true\"\n >\n <input\n class=\"aeb-code-input__field\"\n #input\n [maxLength]=\"codeLength\"\n [value]=\"inputValue\"\n inputmode=\"numeric\"\n [autofocus]=\"isAutofocus\"\n autocomplete=\"one-time-code\"\n pattern=\"[0-9]\"\n (blur)=\"handleBlur()\"\n (keypress)=\"numbersOnly($event)\"\n (input)=\"inputChangeHandler($event)\"\n />\n @for (value of [].constructor(codeLength); track $index) {\n <span\n class=\"aeb-code-input__field-input\"\n [ngClass]=\"{\n 'aeb-code-input__field-input--active':\n inputValue.length === $index && isFocus,\n 'aeb-code-input__field-input--has-error': hasError\n }\"\n >\n {{ arrayInputValue[$index] }}\n <div\n [ngClass]=\"{\n 'aeb-code-input__field-input--caret':\n inputValue.length === $index && isFocus\n }\"\n ></div>\n </span>\n }\n </div>\n <div class=\"aeb-code-input__text\">\n @if (hasError) {\n <span class=\"aeb-code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n }\n @if (showTimer) {\n <div class=\"aeb-code-input__text-wrapper\">\n <span class=\"aeb-code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"aeb-code-input__text-time\">{{ seconds$ | async }}</span>\n </div>\n }\n @if (showCodeText) {\n <span class=\"aeb-code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n }\n </div>\n</div>\n", styles: [".aeb-code-input{display:flex;flex-direction:column;align-items:center;width:632px;color:var(--color-mono-900);background-color:var(--color-mono-0)}@media screen and (max-width: 768px){.aeb-code-input{width:100%;box-sizing:border-box}}.aeb-code-input__field-wrapper{position:relative;display:flex;justify-content:center;gap:16px}@media screen and (max-width: 768px){.aeb-code-input__field-wrapper{gap:8px}}.aeb-code-input__field{position:absolute;width:100%;height:56px;box-sizing:border-box;background:transparent;border:none;color:transparent;outline:none;-webkit-user-select:none;user-select:none;caret-color:transparent;z-index:10;pointer-events:none}.aeb-code-input__field::selection{background:transparent}.aeb-code-input__field-input{width:51px;height:56px;display:flex;justify-content:center;align-items:center;border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-medium-rounded);box-sizing:border-box;font-size:var(--font-size-lm);cursor:text}@media screen and (max-width: 768px){.aeb-code-input__field-input{width:41px;height:45px}}.aeb-code-input__field-input--active{border:var(--border-skinny) solid var(--color-blue-500)}.aeb-code-input__field-input--has-error{border:var(--border-skinny) solid var(--color-red-500)}.aeb-code-input__field-input--caret{width:2px;height:20px;background-color:var(--color-blue-500);margin-right:15px;animation-name:flicker;animation-duration:1s;animation-iteration-count:infinite}@keyframes flicker{0%{opacity:0}to{opacity:1}}.aeb-code-input__title{width:fit-content;margin:0 0 40px;font-size:var(--font-size-l)}.aeb-code-input__tip{margin-bottom:40px;text-align:center}.aeb-code-input__text{display:flex;flex-direction:column;align-items:center;margin-top:24px;font-size:var(--font-size-s);line-height:20px}.aeb-code-input__text-wrapper{text-align:center}.aeb-code-input__text-info{color:var(--gray)}.aeb-code-input__text-time{color:var(--color-blue-500)}.aeb-code-input__text-again{color:var(--color-blue-500);cursor:pointer}.aeb-code-input__text-wrong{color:var(--color-red-500);margin-bottom:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
647
647
|
}
|
|
648
648
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: CodeInputComponent, decorators: [{
|
|
649
649
|
type: Component,
|
|
@@ -653,7 +653,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
653
653
|
useExisting: forwardRef(() => CodeInputComponent),
|
|
654
654
|
multi: true
|
|
655
655
|
}
|
|
656
|
-
], encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-code-input\">\n @if (title) {\n <h2 class=\"aeb-code-input__title\">{{ title }}</h2>\n }\n @if (tip) {\n <span class=\"aeb-code-input__tip\">{{ tip }}</span>\n }\n <div\n class=\"aeb-code-input__field-wrapper\"\n (click)=\"input.focus(); isFocus = true\"\n >\n <input\n class=\"aeb-code-input__field\"\n #input\n [maxLength]=\"codeLength\"\n [value]=\"inputValue\"\n inputmode=\"numeric\"\n [autofocus]=\"isAutofocus\"\n autocomplete=\"one-time-code\"\n pattern=\"[0-9]\"\n (blur)=\"handleBlur()\"\n (keypress)=\"numbersOnly($event)\"\n (input)=\"inputChangeHandler($event)\"\n />\n @for (value of [].constructor(codeLength); track
|
|
656
|
+
], encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-code-input\">\n @if (title) {\n <h2 class=\"aeb-code-input__title\">{{ title }}</h2>\n }\n @if (tip) {\n <span class=\"aeb-code-input__tip\">{{ tip }}</span>\n }\n <div\n class=\"aeb-code-input__field-wrapper\"\n (click)=\"input.focus(); isFocus = true\"\n >\n <input\n class=\"aeb-code-input__field\"\n #input\n [maxLength]=\"codeLength\"\n [value]=\"inputValue\"\n inputmode=\"numeric\"\n [autofocus]=\"isAutofocus\"\n autocomplete=\"one-time-code\"\n pattern=\"[0-9]\"\n (blur)=\"handleBlur()\"\n (keypress)=\"numbersOnly($event)\"\n (input)=\"inputChangeHandler($event)\"\n />\n @for (value of [].constructor(codeLength); track $index) {\n <span\n class=\"aeb-code-input__field-input\"\n [ngClass]=\"{\n 'aeb-code-input__field-input--active':\n inputValue.length === $index && isFocus,\n 'aeb-code-input__field-input--has-error': hasError\n }\"\n >\n {{ arrayInputValue[$index] }}\n <div\n [ngClass]=\"{\n 'aeb-code-input__field-input--caret':\n inputValue.length === $index && isFocus\n }\"\n ></div>\n </span>\n }\n </div>\n <div class=\"aeb-code-input__text\">\n @if (hasError) {\n <span class=\"aeb-code-input__text-wrong\">\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434</span>\n }\n @if (showTimer) {\n <div class=\"aeb-code-input__text-wrapper\">\n <span class=\"aeb-code-input__text-info\"\n >\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0443\u044E \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0443 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437\n </span>\n <span class=\"aeb-code-input__text-time\">{{ seconds$ | async }}</span>\n </div>\n }\n @if (showCodeText) {\n <span class=\"aeb-code-input__text-again\" (click)=\"resend()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E</span\n >\n }\n </div>\n</div>\n", styles: [".aeb-code-input{display:flex;flex-direction:column;align-items:center;width:632px;color:var(--color-mono-900);background-color:var(--color-mono-0)}@media screen and (max-width: 768px){.aeb-code-input{width:100%;box-sizing:border-box}}.aeb-code-input__field-wrapper{position:relative;display:flex;justify-content:center;gap:16px}@media screen and (max-width: 768px){.aeb-code-input__field-wrapper{gap:8px}}.aeb-code-input__field{position:absolute;width:100%;height:56px;box-sizing:border-box;background:transparent;border:none;color:transparent;outline:none;-webkit-user-select:none;user-select:none;caret-color:transparent;z-index:10;pointer-events:none}.aeb-code-input__field::selection{background:transparent}.aeb-code-input__field-input{width:51px;height:56px;display:flex;justify-content:center;align-items:center;border:var(--border-skinny) solid var(--color-mono-200);border-radius:var(--border-medium-rounded);box-sizing:border-box;font-size:var(--font-size-lm);cursor:text}@media screen and (max-width: 768px){.aeb-code-input__field-input{width:41px;height:45px}}.aeb-code-input__field-input--active{border:var(--border-skinny) solid var(--color-blue-500)}.aeb-code-input__field-input--has-error{border:var(--border-skinny) solid var(--color-red-500)}.aeb-code-input__field-input--caret{width:2px;height:20px;background-color:var(--color-blue-500);margin-right:15px;animation-name:flicker;animation-duration:1s;animation-iteration-count:infinite}@keyframes flicker{0%{opacity:0}to{opacity:1}}.aeb-code-input__title{width:fit-content;margin:0 0 40px;font-size:var(--font-size-l)}.aeb-code-input__tip{margin-bottom:40px;text-align:center}.aeb-code-input__text{display:flex;flex-direction:column;align-items:center;margin-top:24px;font-size:var(--font-size-s);line-height:20px}.aeb-code-input__text-wrapper{text-align:center}.aeb-code-input__text-info{color:var(--gray)}.aeb-code-input__text-time{color:var(--color-blue-500)}.aeb-code-input__text-again{color:var(--color-blue-500);cursor:pointer}.aeb-code-input__text-wrong{color:var(--color-red-500);margin-bottom:8px}\n"] }]
|
|
657
657
|
}], propDecorators: { title: [{
|
|
658
658
|
type: Input
|
|
659
659
|
}], secondsUntilRetry: [{
|
|
@@ -1595,45 +1595,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
1595
1595
|
}]
|
|
1596
1596
|
}] });
|
|
1597
1597
|
|
|
1598
|
+
class IsTodayPipe {
|
|
1599
|
+
constructor() {
|
|
1600
|
+
this.utils = inject(DatepickerUtilsService);
|
|
1601
|
+
}
|
|
1602
|
+
transform(date) {
|
|
1603
|
+
return this.utils.isToday(date);
|
|
1604
|
+
}
|
|
1605
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsTodayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1606
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: IsTodayPipe, isStandalone: false, name: "isToday" }); }
|
|
1607
|
+
}
|
|
1608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsTodayPipe, decorators: [{
|
|
1609
|
+
type: Pipe,
|
|
1610
|
+
args: [{
|
|
1611
|
+
name: 'isToday',
|
|
1612
|
+
standalone: false
|
|
1613
|
+
}]
|
|
1614
|
+
}] });
|
|
1615
|
+
|
|
1616
|
+
class IsSameDatePipe {
|
|
1617
|
+
constructor() {
|
|
1618
|
+
this.utils = inject(DatepickerUtilsService);
|
|
1619
|
+
}
|
|
1620
|
+
transform(date1, date2) {
|
|
1621
|
+
return this.utils.isSameDay(date1, date2);
|
|
1622
|
+
}
|
|
1623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsSameDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1624
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: IsSameDatePipe, isStandalone: false, name: "isSameDate" }); }
|
|
1625
|
+
}
|
|
1626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsSameDatePipe, decorators: [{
|
|
1627
|
+
type: Pipe,
|
|
1628
|
+
args: [{
|
|
1629
|
+
name: 'isSameDate',
|
|
1630
|
+
standalone: false
|
|
1631
|
+
}]
|
|
1632
|
+
}] });
|
|
1633
|
+
|
|
1634
|
+
class IsDisabledPipe {
|
|
1635
|
+
constructor() {
|
|
1636
|
+
this.utils = inject(DatepickerUtilsService);
|
|
1637
|
+
}
|
|
1638
|
+
transform(date, minDate, maxDate, excludedDates) {
|
|
1639
|
+
return (this.utils.isMinOverlap(minDate, date) ||
|
|
1640
|
+
this.utils.isMaxOverlap(maxDate, date) ||
|
|
1641
|
+
!!excludedDates.filter((item) => this.utils.isSameDay(item, date)).length);
|
|
1642
|
+
}
|
|
1643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsDisabledPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1644
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: IsDisabledPipe, isStandalone: false, name: "isDisabled" }); }
|
|
1645
|
+
}
|
|
1646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: IsDisabledPipe, decorators: [{
|
|
1647
|
+
type: Pipe,
|
|
1648
|
+
args: [{
|
|
1649
|
+
name: 'isDisabled',
|
|
1650
|
+
standalone: false
|
|
1651
|
+
}]
|
|
1652
|
+
}] });
|
|
1653
|
+
|
|
1598
1654
|
/**
|
|
1599
|
-
*
|
|
1655
|
+
* Компонент для отображения панели со списком дней
|
|
1600
1656
|
*/
|
|
1601
1657
|
class DatepickerMonthComponent {
|
|
1602
1658
|
constructor() {
|
|
1603
|
-
this.utils = inject(DatepickerUtilsService);
|
|
1604
1659
|
this.setDate = new EventEmitter();
|
|
1605
1660
|
this.week = DatepickerUtilsService.weekLocal;
|
|
1606
1661
|
}
|
|
1607
|
-
isToday(date) {
|
|
1608
|
-
return this.utils.isToday(date);
|
|
1609
|
-
}
|
|
1610
1662
|
emitDate(date) {
|
|
1611
|
-
if (this.isDisabled(date)) {
|
|
1612
|
-
return;
|
|
1613
|
-
}
|
|
1614
1663
|
this.setDate.emit(date);
|
|
1615
1664
|
}
|
|
1616
|
-
sameDate(date) {
|
|
1617
|
-
return this.utils.isSameDay(this.date, date);
|
|
1618
|
-
}
|
|
1619
|
-
isExcluded(date) {
|
|
1620
|
-
return !!this.excludedDates.filter((item) => this.utils.isSameDay(item, date)).length;
|
|
1621
|
-
}
|
|
1622
|
-
isDisabled(date) {
|
|
1623
|
-
return (this.utils.isMinOverlap(this.minDate, date) ||
|
|
1624
|
-
this.utils.isMaxOverlap(this.maxDate, date) ||
|
|
1625
|
-
this.isExcluded(date));
|
|
1626
|
-
}
|
|
1627
1665
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DatepickerMonthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1628
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.7", type: DatepickerMonthComponent, isStandalone: false, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n @for (day of week; track
|
|
1666
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.7", type: DatepickerMonthComponent, isStandalone: false, selector: "aeb-datepicker-month", inputs: { month: "month", date: "date", minDate: "minDate", maxDate: "maxDate", excludedDates: "excludedDates" }, outputs: { setDate: "setDate" }, ngImport: i0, template: "<div class=\"aeb-datepicker-month__week\">\n @for (day of week; track $index) {\n <div class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\">\n {{ day }}\n </div>\n }\n</div>\n@for (week of month; track $index) {\n <div class=\"aeb-datepicker-month__week\">\n @for (day of week; track $index) {\n @if (!!day) {\n <div\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': day | isToday,\n 'aeb-datepicker-month__day--picked': day | isSameDate: date,\n 'aeb-datepicker-month__day--disabled':\n day | isDisabled: minDate : maxDate : excludedDates\n }\"\n (click)=\"emitDate(day)\"\n >\n {{ day | dateToStr }}\n </div>\n } @else {\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n ></div>\n }\n }\n </div>\n}\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--color-mono-200)}.aeb-datepicker-month__day--picked{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--no-border)}.aeb-datepicker-month__day--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:var(--no-border)}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:var(--font-size-xxs);color:var(--color-mono-200);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:var(--no-border)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: DateToStrPipe, name: "dateToStr" }, { kind: "pipe", type: IsTodayPipe, name: "isToday" }, { kind: "pipe", type: IsSameDatePipe, name: "isSameDate" }, { kind: "pipe", type: IsDisabledPipe, name: "isDisabled" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1629
1667
|
}
|
|
1630
1668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DatepickerMonthComponent, decorators: [{
|
|
1631
1669
|
type: Component,
|
|
1632
|
-
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-datepicker-month__week\">\n @for (day of week; track
|
|
1670
|
+
args: [{ selector: 'aeb-datepicker-month', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-datepicker-month__week\">\n @for (day of week; track $index) {\n <div class=\"aeb-datepicker-month__day aeb-datepicker-month__day--weekd\">\n {{ day }}\n </div>\n }\n</div>\n@for (week of month; track $index) {\n <div class=\"aeb-datepicker-month__week\">\n @for (day of week; track $index) {\n @if (!!day) {\n <div\n class=\"aeb-datepicker-month__day\"\n [ngClass]=\"{\n 'aeb-datepicker-month__day--today': day | isToday,\n 'aeb-datepicker-month__day--picked': day | isSameDate: date,\n 'aeb-datepicker-month__day--disabled':\n day | isDisabled: minDate : maxDate : excludedDates\n }\"\n (click)=\"emitDate(day)\"\n >\n {{ day | dateToStr }}\n </div>\n } @else {\n <div\n class=\"aeb-datepicker-month__day aeb-datepicker-month__day--stub\"\n ></div>\n }\n }\n </div>\n}\n", styles: [".aeb-datepicker-month__week{display:flex;align-items:center;width:fit-content}.aeb-datepicker-month__week:not(:last-child){margin-bottom:10px}.aeb-datepicker-month__day{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:32px;height:28px;font-size:var(--font-size-s);cursor:pointer;border-radius:var(--border-lightly-rounded)}.aeb-datepicker-month__day:hover{border:var(--border-thin) solid var(--color-blue-500)}.aeb-datepicker-month__day--stub{pointer-events:none;cursor:none}.aeb-datepicker-month__day--stub:hover{border:var(--no-border)}.aeb-datepicker-month__day--today{border:var(--border-thin) solid var(--color-mono-200)}.aeb-datepicker-month__day--picked{color:var(--color-mono-0);background-color:var(--color-blue-500);border:var(--no-border)}.aeb-datepicker-month__day--disabled{color:var(--color-mono-200);pointer-events:none;cursor:none}.aeb-datepicker-month__day--disabled:hover{border:var(--no-border)}.aeb-datepicker-month__day:not(:last-child){margin-right:8px}.aeb-datepicker-month__day--weekd{font-size:var(--font-size-xxs);color:var(--color-mono-200);cursor:default}.aeb-datepicker-month__day--weekd:hover{border:var(--no-border)}\n"] }]
|
|
1633
1671
|
}], ctorParameters: () => [], propDecorators: { month: [{
|
|
1634
1672
|
type: Input
|
|
1635
|
-
}], setDate: [{
|
|
1636
|
-
type: Output
|
|
1637
1673
|
}], date: [{
|
|
1638
1674
|
type: Input
|
|
1639
1675
|
}], minDate: [{
|
|
@@ -1642,6 +1678,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
1642
1678
|
type: Input
|
|
1643
1679
|
}], excludedDates: [{
|
|
1644
1680
|
type: Input
|
|
1681
|
+
}], setDate: [{
|
|
1682
|
+
type: Output
|
|
1645
1683
|
}] } });
|
|
1646
1684
|
|
|
1647
1685
|
/**
|
|
@@ -2286,11 +2324,13 @@ class DatepickerModule {
|
|
|
2286
2324
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: DatepickerModule, declarations: [DatepickerComponent,
|
|
2287
2325
|
DatepickerCoreComponent,
|
|
2288
2326
|
DatepickerMonthComponent,
|
|
2327
|
+
DatepickerTilesComponent,
|
|
2289
2328
|
DateToStrPipe,
|
|
2290
|
-
|
|
2329
|
+
IsTodayPipe,
|
|
2330
|
+
IsSameDatePipe,
|
|
2331
|
+
IsDisabledPipe], imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideDirective], exports: [DatepickerComponent,
|
|
2291
2332
|
DatepickerCoreComponent,
|
|
2292
2333
|
DatepickerMonthComponent,
|
|
2293
|
-
DateToStrPipe,
|
|
2294
2334
|
DatepickerTilesComponent] }); }
|
|
2295
2335
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: DatepickerModule, imports: [CommonModule, FormFieldModule, FormsModule] }); }
|
|
2296
2336
|
}
|
|
@@ -2301,15 +2341,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
2301
2341
|
DatepickerComponent,
|
|
2302
2342
|
DatepickerCoreComponent,
|
|
2303
2343
|
DatepickerMonthComponent,
|
|
2344
|
+
DatepickerTilesComponent,
|
|
2304
2345
|
DateToStrPipe,
|
|
2305
|
-
|
|
2346
|
+
IsTodayPipe,
|
|
2347
|
+
IsSameDatePipe,
|
|
2348
|
+
IsDisabledPipe
|
|
2306
2349
|
],
|
|
2307
2350
|
imports: [CommonModule, FormFieldModule, FormsModule, ClickOutsideDirective],
|
|
2308
2351
|
exports: [
|
|
2309
2352
|
DatepickerComponent,
|
|
2310
2353
|
DatepickerCoreComponent,
|
|
2311
2354
|
DatepickerMonthComponent,
|
|
2312
|
-
DateToStrPipe,
|
|
2313
2355
|
DatepickerTilesComponent
|
|
2314
2356
|
]
|
|
2315
2357
|
}]
|
|
@@ -3382,11 +3424,11 @@ class BreadcrumpsComponent {
|
|
|
3382
3424
|
this.routeClick.emit(index);
|
|
3383
3425
|
}
|
|
3384
3426
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BreadcrumpsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3385
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.7", type: BreadcrumpsComponent, isStandalone: false, selector: "aeb-breadcrumps", inputs: { routeSeq: ["routeSequence", "routeSeq"] }, outputs: { routeClick: "routeClick" }, ngImport: i0, template: "<div class=\"aeb-breadcrumps\">\n @for (item of routeSeq; track
|
|
3427
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.7", type: BreadcrumpsComponent, isStandalone: false, selector: "aeb-breadcrumps", inputs: { routeSeq: ["routeSequence", "routeSeq"] }, outputs: { routeClick: "routeClick" }, ngImport: i0, template: "<div class=\"aeb-breadcrumps\">\n @for (item of routeSeq; track $index) {\n <div class=\"aeb-breadcrumps__item\" (click)=\"clickHandler($index)\">\n {{ item }}\n @if ($index !== routeSeq.length - 1) {\n <span class=\"aeb-breadcrumps__icon\">\n <svg\n width=\"3\"\n height=\"6\"\n viewBox=\"0 0 3 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M3 3L-6.28109e-09 5.59808L2.2085e-07 0.401924L3 3Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </span>\n }\n </div>\n }\n</div>\n", styles: [".aeb-breadcrumps{display:flex}.aeb-breadcrumps__item{font-size:var(--font-size-xs);color:var(--gray-primary);cursor:pointer;transition:color,.2s}.aeb-breadcrumps__item:not(:last-child){margin-right:12px}.aeb-breadcrumps__item:hover{color:var(--color-blue-500)}.aeb-breadcrumps__icon{position:relative;bottom:3px;padding-bottom:10px;margin-left:12px}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
3386
3428
|
}
|
|
3387
3429
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: BreadcrumpsComponent, decorators: [{
|
|
3388
3430
|
type: Component,
|
|
3389
|
-
args: [{ selector: 'aeb-breadcrumps', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-breadcrumps\">\n @for (item of routeSeq; track
|
|
3431
|
+
args: [{ selector: 'aeb-breadcrumps', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"aeb-breadcrumps\">\n @for (item of routeSeq; track $index) {\n <div class=\"aeb-breadcrumps__item\" (click)=\"clickHandler($index)\">\n {{ item }}\n @if ($index !== routeSeq.length - 1) {\n <span class=\"aeb-breadcrumps__icon\">\n <svg\n width=\"3\"\n height=\"6\"\n viewBox=\"0 0 3 6\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M3 3L-6.28109e-09 5.59808L2.2085e-07 0.401924L3 3Z\"\n fill=\"#A3AAAE\"\n />\n </svg>\n </span>\n }\n </div>\n }\n</div>\n", styles: [".aeb-breadcrumps{display:flex}.aeb-breadcrumps__item{font-size:var(--font-size-xs);color:var(--gray-primary);cursor:pointer;transition:color,.2s}.aeb-breadcrumps__item:not(:last-child){margin-right:12px}.aeb-breadcrumps__item:hover{color:var(--color-blue-500)}.aeb-breadcrumps__icon{position:relative;bottom:3px;padding-bottom:10px;margin-left:12px}\n"] }]
|
|
3390
3432
|
}], propDecorators: { routeSeq: [{
|
|
3391
3433
|
type: Input,
|
|
3392
3434
|
args: ['routeSequence']
|
|
@@ -5701,5 +5743,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
|
5701
5743
|
* Generated bundle index. Do not edit.
|
|
5702
5744
|
*/
|
|
5703
5745
|
|
|
5704
|
-
export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, AutofocusDirective, BreadcrumpsComponent, ButtonComponent, ButtonLeftIconDirective, ButtonModule, ButtonRightIconDirective, CheckboxComponent, CheckboxGroupOldComponent, CheckboxModule, CheckboxOldComponent, CheckboxOldModule, ClickOutsideDirective, CodeInputComponent, CodeInputModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule,
|
|
5746
|
+
export { AccordionComponent, AccordionModule, ActionBarComponent, ActionBarModule, AebUiKitModule, AutofocusDirective, BreadcrumpsComponent, ButtonComponent, ButtonLeftIconDirective, ButtonModule, ButtonRightIconDirective, CheckboxComponent, CheckboxGroupOldComponent, CheckboxModule, CheckboxOldComponent, CheckboxOldModule, ClickOutsideDirective, CodeInputComponent, CodeInputModule, CommentComponent, CommentModule, CreditItemCardComponent, CreditItemCardModule, DatepickerComponent, DatepickerCoreComponent, DatepickerModule, DatepickerMonthComponent, DatepickerTilesComponent, DragAndDropDirective, DropdownComponent, DropdownModule, ErrorMessageDirective, FileAttachComponent, FileAttachModule, FilterTagComponent, FilterTagsComponent, FilterTagsModule, FooterBottomComponent, FooterComponent, FooterMenuComponent, FooterModule, FooterTopComponent, FormFieldComponent, FormFieldDirective, FormFieldModule, HeaderComponent, HeaderModule, HeadingComponent, HeadingModule, IconDirective, LabelComponent, LabelDirective, LabelModule, LogoComponent, ModalComponent, ModalModule, NewsCardComponent, NewsCardModule, NotificationComponent, NotificationsComponent, NotificationsModule, OldButtonComponent, OldButtonModule, PaginationComponent, PaginationModule, PopUpComponent, PopUpDirective, PopUpModule, ProductTitleComponent, RadioButtonsComponent, RadioButtonsModule, RadioButtonsOldComponent, RadioButtonsOldModule, ResponseComponent, ResponseModule, SearchComponent, SearchModule, SelectComponent, SelectModule, SidebarComponent, SidebarModule, SliderComponent, SliderModule, SpanSubtitleDirective, SpanTitleDirective, SpinnerComponent, SpinnerModule, StepperComponent, StepperModule, StepperStepComponent, TabDirective, TableComponent, TableModule, TabsComponent, TabsModule, TagTabComponent, TagTabModule, TooltipComponent, TooltipDirective, TooltipModule, VisaComponent, VisaItemComponent, VisaModule };
|
|
5705
5747
|
//# sourceMappingURL=aeb-ui-kit.mjs.map
|