@cuby-ui/core 0.0.561 → 0.0.562
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, input, output } from '@angular/core';
|
|
2
|
+
import { TranslocoPipe } from '@jsverse/transloco';
|
|
2
3
|
import { CuiSvgModule } from '../../../../components/svg';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
import * as i1 from "../../../svg/svg.component";
|
|
@@ -11,10 +12,10 @@ export class CuiFilterRemoveButtonComponent {
|
|
|
11
12
|
this.removed.emit();
|
|
12
13
|
}
|
|
13
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiFilterRemoveButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiFilterRemoveButtonComponent, isStandalone: true, selector: "cui-filter-remove-button", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiFilterRemoveButtonComponent, isStandalone: true, selector: "cui-filter-remove-button", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() | transloco }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "pipe", type: TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15
16
|
}
|
|
16
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiFilterRemoveButtonComponent, decorators: [{
|
|
17
18
|
type: Component,
|
|
18
|
-
args: [{ selector: 'cui-filter-remove-button', standalone: true, imports: [CuiSvgModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"] }]
|
|
19
|
+
args: [{ selector: 'cui-filter-remove-button', standalone: true, imports: [CuiSvgModule, TranslocoPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() | transloco }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"] }]
|
|
19
20
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXJlbW92ZS1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2ZpbHRlci1iYXIvY29tcG9uZW50cy9maWx0ZXItcmVtb3ZlLWJ1dHRvbi9maWx0ZXItcmVtb3ZlLWJ1dHRvbi5jb21wb25l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0ZXItcmVtb3ZlLWJ1dHRvbl9fbGFiZWxcIj57eyBsYWJlbCgpIHwgdHJhbnNsb2NvIH19Ojwvc3Bhbj5cbjwvYnV0dG9uPlxuIl19
|
|
@@ -4672,11 +4672,11 @@ class CuiFilterRemoveButtonComponent {
|
|
|
4672
4672
|
this.removed.emit();
|
|
4673
4673
|
}
|
|
4674
4674
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiFilterRemoveButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4675
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiFilterRemoveButtonComponent, isStandalone: true, selector: "cui-filter-remove-button", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4675
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiFilterRemoveButtonComponent, isStandalone: true, selector: "cui-filter-remove-button", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() | transloco }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "pipe", type: TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4676
4676
|
}
|
|
4677
4677
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiFilterRemoveButtonComponent, decorators: [{
|
|
4678
4678
|
type: Component,
|
|
4679
|
-
args: [{ selector: 'cui-filter-remove-button', standalone: true, imports: [CuiSvgModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"] }]
|
|
4679
|
+
args: [{ selector: 'cui-filter-remove-button', standalone: true, imports: [CuiSvgModule, TranslocoPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"filter-remove-button\"\n>\n <cui-svg\n icon=\"cuiIconVector\"\n (click)=\"onRemove(); $event.stopPropagation()\"\n />\n <span class=\"filter-remove-button__label\">{{ label() | transloco }}:</span>\n</button>\n", styles: [":host{display:contents}.filter-remove-button{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-start;padding-right:6px;padding-left:6px;font-weight:500;font-size:12px;line-height:14px;height:28px;background:transparent;border:1px solid var(--cui-base-200);border-top-left-radius:8px;border-bottom-left-radius:8px;cursor:pointer}.filter-remove-button:hover,.filter-remove-button:focus{outline:none}.filter-remove-button__label{font-weight:500;font-size:12px;line-height:14px}\n"] }]
|
|
4680
4680
|
}] });
|
|
4681
4681
|
|
|
4682
4682
|
class CuiStringFilterComponent {
|