ecabs-components 1.0.59 → 1.0.61
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/esm2022/lib/ecabs-active-status-filter/ecabs-active-status-filter.component.mjs +2 -2
- package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +2 -2
- package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +2 -2
- package/esm2022/lib/ecabs-date-range-picker/ecabs-date-range-picker.component.mjs +2 -2
- package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +3 -3
- package/esm2022/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component.mjs +3 -3
- package/esm2022/lib/ecabs-increment/ecabs-increment.component.mjs +2 -2
- package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +2 -2
- package/fesm2022/ecabs-components.mjs +16 -16
- package/fesm2022/ecabs-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/styles/material/overrides/_datepicker.scss +4 -5
- package/src/assets/styles/scss/modules/_datepicker.scss +7 -6
- package/src/assets/styles/tailwind/index.scss +1 -1
|
@@ -15,11 +15,11 @@ export class EcabsActiveStatusFilterComponent {
|
|
|
15
15
|
return this.initialStatus === status;
|
|
16
16
|
}
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EcabsActiveStatusFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EcabsActiveStatusFilterComponent, selector: "ecabs-active-status-filter", inputs: { statuses: "statuses", initialStatus: "initialStatus" }, outputs: { statusChange: "statusChange" }, ngImport: i0, template: "<div class=\"mb-5 mt-10\">\r\n <mat-chip-list>\r\n <mat-chip\r\n *ngFor=\"let status of statuses\"\r\n class=\"!rounded-full\"\r\n [ngClass]=\"checkSelectableStatus(status?.value) ? 'selected' : 'not-selected'\"\r\n [selectable]=\"checkSelectableStatus(status?.value)\"\r\n (click)=\"onFilter(status?.value)\"\r\n >\r\n <mat-icon *ngIf=\"checkSelectableStatus(status?.value)\" class=\"mr-2\">done</mat-icon>\r\n {{ status.text }}</mat-chip\r\n >\r\n </mat-chip-list>\r\n</div>\r\n", styles: [":host::ng-deep .mat-chip{min-width:3.6rem}.selected{color:var(--color-white);background-color:var(--color-brand-light)}.not-selected{color:var(--color-black);background-color:var(--color-white);border:1px solid var(--color-gray-400)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatLegacyChipList, selector: "mat-chip-list", inputs: ["role", "aria-describedby", "errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { kind: "directive", type: i2.MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "role", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EcabsActiveStatusFilterComponent, selector: "ecabs-active-status-filter", inputs: { statuses: "statuses", initialStatus: "initialStatus" }, outputs: { statusChange: "statusChange" }, ngImport: i0, template: "<div class=\"mb-5 mt-10\">\r\n <mat-chip-list>\r\n <mat-chip\r\n *ngFor=\"let status of statuses\"\r\n class=\"!rounded-full\"\r\n [ngClass]=\"checkSelectableStatus(status?.value) ? 'selected' : 'not-selected'\"\r\n [selectable]=\"checkSelectableStatus(status?.value)\"\r\n (click)=\"onFilter(status?.value)\"\r\n >\r\n <mat-icon *ngIf=\"checkSelectableStatus(status?.value)\" class=\"mr-2\">done</mat-icon>\r\n {{ status.text }}</mat-chip\r\n >\r\n </mat-chip-list>\r\n</div>\r\n", styles: [":host::ng-deep .mat-chip{min-width:3.6rem;cursor:pointer}.selected{color:var(--color-white);background-color:var(--color-brand-light)}.not-selected{color:var(--color-black);background-color:var(--color-white);border:1px solid var(--color-gray-400)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatLegacyChipList, selector: "mat-chip-list", inputs: ["role", "aria-describedby", "errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { kind: "directive", type: i2.MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "role", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
19
19
|
}
|
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EcabsActiveStatusFilterComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
|
-
args: [{ selector: 'ecabs-active-status-filter', template: "<div class=\"mb-5 mt-10\">\r\n <mat-chip-list>\r\n <mat-chip\r\n *ngFor=\"let status of statuses\"\r\n class=\"!rounded-full\"\r\n [ngClass]=\"checkSelectableStatus(status?.value) ? 'selected' : 'not-selected'\"\r\n [selectable]=\"checkSelectableStatus(status?.value)\"\r\n (click)=\"onFilter(status?.value)\"\r\n >\r\n <mat-icon *ngIf=\"checkSelectableStatus(status?.value)\" class=\"mr-2\">done</mat-icon>\r\n {{ status.text }}</mat-chip\r\n >\r\n </mat-chip-list>\r\n</div>\r\n", styles: [":host::ng-deep .mat-chip{min-width:3.6rem}.selected{color:var(--color-white);background-color:var(--color-brand-light)}.not-selected{color:var(--color-black);background-color:var(--color-white);border:1px solid var(--color-gray-400)}\n"] }]
|
|
22
|
+
args: [{ selector: 'ecabs-active-status-filter', template: "<div class=\"mb-5 mt-10\">\r\n <mat-chip-list>\r\n <mat-chip\r\n *ngFor=\"let status of statuses\"\r\n class=\"!rounded-full\"\r\n [ngClass]=\"checkSelectableStatus(status?.value) ? 'selected' : 'not-selected'\"\r\n [selectable]=\"checkSelectableStatus(status?.value)\"\r\n (click)=\"onFilter(status?.value)\"\r\n >\r\n <mat-icon *ngIf=\"checkSelectableStatus(status?.value)\" class=\"mr-2\">done</mat-icon>\r\n {{ status.text }}</mat-chip\r\n >\r\n </mat-chip-list>\r\n</div>\r\n", styles: [":host::ng-deep .mat-chip{min-width:3.6rem;cursor:pointer}.selected{color:var(--color-white);background-color:var(--color-brand-light)}.not-selected{color:var(--color-black);background-color:var(--color-white);border:1px solid var(--color-gray-400)}\n"] }]
|
|
23
23
|
}], propDecorators: { statuses: [{
|
|
24
24
|
type: Input
|
|
25
25
|
}], initialStatus: [{
|