chrv-components 1.3.2 → 1.3.4
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/chrv-components-1.3.4.tgz +0 -0
- package/esm2022/lib/chr-breadcrumb/chr-breadcrumb.component.mjs +3 -4
- package/esm2022/lib/chr-button/chr-button.component.mjs +3 -3
- package/esm2022/lib/chr-checkbox/chr-checkbox.component.mjs +3 -4
- package/esm2022/lib/chr-form/chr-form.component.mjs +120 -46
- package/esm2022/lib/chr-paginator/chr-paginator.component.mjs +35 -17
- package/esm2022/lib/chr-search-select/chr-search-select.component.mjs +6 -8
- package/esm2022/lib/chr-separator/chr-separator.component.mjs +2 -2
- package/esm2022/lib/chr-table/chr-table.component.mjs +34 -13
- package/esm2022/lib/chr-table-header-cell/chr-table-header-cell.component.mjs +4 -4
- package/fesm2022/chrv-components.mjs +193 -88
- package/fesm2022/chrv-components.mjs.map +1 -1
- package/lib/chr-form/chr-form.component.d.ts +23 -12
- package/lib/chr-paginator/chr-paginator.component.d.ts +6 -4
- package/lib/chr-table/chr-table.component.d.ts +6 -3
- package/package.json +1 -1
- package/chrv-components-1.3.2.tgz +0 -0
|
Binary file
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Component, Input } from '@angular/core';
|
|
2
2
|
import { MatButton } from '@angular/material/button';
|
|
3
|
-
import { NgFor } from '@angular/common';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
import * as i1 from "@angular/router";
|
|
6
5
|
export class BreadcrumbComponent {
|
|
@@ -11,12 +10,12 @@ export class BreadcrumbComponent {
|
|
|
11
10
|
};
|
|
12
11
|
}
|
|
13
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.6", ngImport: i0, type: BreadcrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.6", type: BreadcrumbComponent, isStandalone: true, selector: "app-chr-breadcrumb", inputs: { crumbs: "crumbs" }, ngImport: i0, template: "<div class=\"w-full flex flex-row flex-wrap dark:!text-gray-400\">\n @for (crumb of crumbs; track crumb) {\n <div class=\"w-fit min-w-fit\">\n <button class=\"dark:!text-gray-400\" [disabled]=\"!crumb.link && !crumb.callback\" mat-button\n (click)=\"crumb.callback?.() || crumb.link && navigateTo(crumb.link)\">\n {{ crumb.display }}\n </button>\n {{ (crumb.link || crumb.callback) && \">\" }}\n </div>\n }\n</div>", styles: [""], dependencies: [{ kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }] }); }
|
|
15
14
|
}
|
|
16
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.6", ngImport: i0, type: BreadcrumbComponent, decorators: [{
|
|
17
16
|
type: Component,
|
|
18
|
-
args: [{ selector: 'app-chr-breadcrumb', standalone: true, imports: [
|
|
17
|
+
args: [{ selector: 'app-chr-breadcrumb', standalone: true, imports: [MatButton], template: "<div class=\"w-full flex flex-row flex-wrap dark:!text-gray-400\">\n @for (crumb of crumbs; track crumb) {\n <div class=\"w-fit min-w-fit\">\n <button class=\"dark:!text-gray-400\" [disabled]=\"!crumb.link && !crumb.callback\" mat-button\n (click)=\"crumb.callback?.() || crumb.link && navigateTo(crumb.link)\">\n {{ crumb.display }}\n </button>\n {{ (crumb.link || crumb.callback) && \">\" }}\n </div>\n }\n</div>" }]
|
|
19
18
|
}], ctorParameters: () => [{ type: i1.Router }], propDecorators: { crumbs: [{
|
|
20
19
|
type: Input
|
|
21
20
|
}] } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hyLWJyZ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