@eui/components 19.2.0-snapshot-1745320402511 → 19.2.0-snapshot-1745410361865
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/docs/dependencies.html +3 -3
- package/docs/js/search/search_index.js +2 -2
- package/fesm2022/eui-components-eui-badge.mjs +2 -2
- package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +2 -2
- package/fesm2022/eui-components-eui-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip.mjs +2 -2
- package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
- package/fesm2022/eui-components-eui-datepicker.mjs +2 -2
- package/fesm2022/eui-components-eui-datepicker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dialog.mjs +4 -4
- package/fesm2022/eui-components-eui-dropdown.mjs +4 -4
- package/fesm2022/eui-components-eui-dropdown.mjs.map +1 -1
- package/fesm2022/eui-components-eui-file-upload.mjs +2 -2
- package/fesm2022/eui-components-eui-file-upload.mjs.map +1 -1
- package/fesm2022/eui-components-eui-growl.mjs +2 -2
- package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
- package/fesm2022/eui-components-eui-navbar.mjs +2 -2
- package/fesm2022/eui-components-eui-navbar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tabs-v2.mjs +2 -2
- package/fesm2022/eui-components-eui-tabs-v2.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree-list.mjs +2 -2
- package/fesm2022/eui-components-eui-tree-list.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/package.json +7 -7
@@ -132,7 +132,7 @@ class EuiChipComponent {
|
|
132
132
|
}
|
133
133
|
}
|
134
134
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: EuiChipComponent, deps: [{ token: i0.ElementRef }, { token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
135
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiChipComponent, isStandalone: false, selector: "eui-chip, span[euiChip], li[euiChip]", inputs: { ariaLabel: "ariaLabel", e2eAttr: "e2eAttr", euiInternalId: "euiInternalId", tooltipMessage: "tooltipMessage", id: "id", data: "data", isChipRemovable: ["isChipRemovable", "isChipRemovable", booleanAttribute], isSquared: ["isSquared", "isSquared", booleanAttribute], isFilled: ["isFilled", "isFilled", booleanAttribute] }, outputs: { remove: "remove" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "euiIcons", predicate: i0.forwardRef(() => EuiIconSvgComponent) }], viewQueries: [{ propertyName: "chipLabel", first: true, predicate: ["chipLabel"], descendants: true }], hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiSizeS", "euiSizeS", "euiOutline", "euiOutline", "euiDisabled", "euiDisabled"] }], ngImport: i0, template: "<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n", styles: [":host.eui-chip{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline)}:host.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-bg);--_color: var(--eui-c-s-primary-on-bg);--_close-hover-color: var(--eui-c-s-primary-bg-hover);--_border-outline-color: var(--eui-c-s-primary-border-outline);--_border-color: transparent}:host.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline);--_border-color: transparent}:host.eui-chip--info{--_bg-color: var(--eui-c-s-info-bg);--_color: var(--eui-c-s-info-on-bg);--_close-hover-color: var(--eui-c-s-info-bg-hover);--_border-outline-color: var(--eui-c-s-info-border-outline);--_border-color: transparent}:host.eui-chip--success{--_bg-color: var(--eui-c-s-success-bg);--_color: var(--eui-c-s-success-on-bg);--_close-hover-color: var(--eui-c-s-success-bg-hover);--_border-outline-color: var(--eui-c-s-success-border-outline);--_border-color: transparent}:host.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-bg);--_color: var(--eui-c-s-warning-on-bg);--_close-hover-color: var(--eui-c-s-warning-bg-hover);--_border-outline-color: var(--eui-c-s-warning-border-outline);--_border-color: transparent}:host.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-bg);--_color: var(--eui-c-s-danger-on-bg);--_close-hover-color: var(--eui-c-s-danger-bg-hover);--_border-outline-color: var(--eui-c-s-danger-border-outline);--_border-color: transparent}:host.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-bg);--_color: var(--eui-c-s-accent-on-bg);--_close-hover-color: var(--eui-c-s-accent-bg-hover);--_border-outline-color: var(--eui-c-s-accent-border-outline);--_border-color: transparent}:host.eui-chip--filled.eui-chip--primary{--_bg-color: var(--eui-c-primary);--_color: var(--eui-c-primary-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-primary-
|
135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiChipComponent, isStandalone: false, selector: "eui-chip, span[euiChip], li[euiChip]", inputs: { ariaLabel: "ariaLabel", e2eAttr: "e2eAttr", euiInternalId: "euiInternalId", tooltipMessage: "tooltipMessage", id: "id", data: "data", isChipRemovable: ["isChipRemovable", "isChipRemovable", booleanAttribute], isSquared: ["isSquared", "isSquared", booleanAttribute], isFilled: ["isFilled", "isFilled", booleanAttribute] }, outputs: { remove: "remove" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "euiIcons", predicate: i0.forwardRef(() => EuiIconSvgComponent) }], viewQueries: [{ propertyName: "chipLabel", first: true, predicate: ["chipLabel"], descendants: true }], hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiSizeS", "euiSizeS", "euiOutline", "euiOutline", "euiDisabled", "euiDisabled"] }], ngImport: i0, template: "<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n", styles: [":host.eui-chip{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline)}:host.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-bg);--_color: var(--eui-c-s-primary-on-bg);--_close-hover-color: var(--eui-c-s-primary-bg-hover);--_border-outline-color: var(--eui-c-s-primary-border-outline);--_border-color: transparent}:host.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline);--_border-color: transparent}:host.eui-chip--info{--_bg-color: var(--eui-c-s-info-bg);--_color: var(--eui-c-s-info-on-bg);--_close-hover-color: var(--eui-c-s-info-bg-hover);--_border-outline-color: var(--eui-c-s-info-border-outline);--_border-color: transparent}:host.eui-chip--success{--_bg-color: var(--eui-c-s-success-bg);--_color: var(--eui-c-s-success-on-bg);--_close-hover-color: var(--eui-c-s-success-bg-hover);--_border-outline-color: var(--eui-c-s-success-border-outline);--_border-color: transparent}:host.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-bg);--_color: var(--eui-c-s-warning-on-bg);--_close-hover-color: var(--eui-c-s-warning-bg-hover);--_border-outline-color: var(--eui-c-s-warning-border-outline);--_border-color: transparent}:host.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-bg);--_color: var(--eui-c-s-danger-on-bg);--_close-hover-color: var(--eui-c-s-danger-bg-hover);--_border-outline-color: var(--eui-c-s-danger-border-outline);--_border-color: transparent}:host.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-bg);--_color: var(--eui-c-s-accent-on-bg);--_close-hover-color: var(--eui-c-s-accent-bg-hover);--_border-outline-color: var(--eui-c-s-accent-border-outline);--_border-color: transparent}:host.eui-chip--filled.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-fill);--_color: var(--eui-c-s-primary-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-primary-fill-hover)}:host.eui-chip--filled.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-secondary-bg-hover)}:host.eui-chip--filled.eui-chip--info{--_bg-color: var(--eui-c-s-info-fill);--_color: var(--eui-c-s-info-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-info-fill-hover)}:host.eui-chip--filled.eui-chip--success{--_bg-color: var(--eui-c-s-success-fill);--_color: var(--eui-c-s-success-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-success-fill-hover)}:host.eui-chip--filled.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-fill);--_color: var(--eui-c-s-warning-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-warning-fill-hover)}:host.eui-chip--filled.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-fill);--_color: var(--eui-c-s-danger-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-danger-fill-hover)}:host.eui-chip--filled.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-fill);--_color: var(--eui-c-s-accent-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-accent-fill-hover)}.eui-19 :host.eui-chip{align-items:center;border-radius:calc(2 * var(--eui-br-xl));display:inline-flex;position:relative;font:var(--eui-f);min-height:calc(var(--eui-s-m) * 2);padding:0 var(--eui-s-s);outline:var(--eui-bw-xs) solid var(--_border-outline-color);outline-offset:-1px;background-color:var(--_bg-color);color:var(--_color)}.eui-19 :host.eui-chip .eui-chip-wrapper,.eui-19 :host.eui-chip .eui-chip__content-container{display:flex;align-items:center;gap:var(--eui-s-xs)}.eui-19 :host.eui-chip ::ng-deep .eui-icon-svg:not(.eui-chip__close) svg{fill:var(--_color);color:var(--_color)}.eui-19 :host.eui-chip .eui-chip__close ::ng-deep .eui-icon-button__button:hover{background-color:var(--_close-hover-color)}.eui-19 :host.eui-chip--outline{background-color:var(--eui-c-neutral-min)}.eui-19 :host.eui-chip--size-s{font:var(--eui-f-s);min-height:var(--eui-s-xl);padding:0 var(--eui-s-xs)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper,.eui-19 :host.eui-chip--size-s .eui-chip__content-container{gap:var(--eui-s-2xs)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep svg,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep svg{height:var(--eui-is-s);width:var(--eui-is-s)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep .eui-flag-icon,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep .eui-flag-icon{height:var(--eui-is-xs);min-width:calc(1.3333333 * var(--eui-is-xs));width:calc(1.3333333 * var(--eui-is-xs))}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep .eui-flag-icon.eui-flag-icon--rounded,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep .eui-flag-icon.eui-flag-icon--rounded{height:var(--eui-is-s);width:var(--eui-is-s)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "iconUrl", "fillColor", "size", "ariaLabel", "tabindex", "hasNoPadding", "hasFocusHoverColor", "hasFocusHoverBg", "euiRounded", "euiDisabled"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
136
136
|
}
|
137
137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: EuiChipComponent, decorators: [{
|
138
138
|
type: Component,
|
@@ -153,7 +153,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
153
153
|
'euiDisabled',
|
154
154
|
],
|
155
155
|
},
|
156
|
-
], template: "<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n", styles: [":host.eui-chip{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline)}:host.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-bg);--_color: var(--eui-c-s-primary-on-bg);--_close-hover-color: var(--eui-c-s-primary-bg-hover);--_border-outline-color: var(--eui-c-s-primary-border-outline);--_border-color: transparent}:host.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline);--_border-color: transparent}:host.eui-chip--info{--_bg-color: var(--eui-c-s-info-bg);--_color: var(--eui-c-s-info-on-bg);--_close-hover-color: var(--eui-c-s-info-bg-hover);--_border-outline-color: var(--eui-c-s-info-border-outline);--_border-color: transparent}:host.eui-chip--success{--_bg-color: var(--eui-c-s-success-bg);--_color: var(--eui-c-s-success-on-bg);--_close-hover-color: var(--eui-c-s-success-bg-hover);--_border-outline-color: var(--eui-c-s-success-border-outline);--_border-color: transparent}:host.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-bg);--_color: var(--eui-c-s-warning-on-bg);--_close-hover-color: var(--eui-c-s-warning-bg-hover);--_border-outline-color: var(--eui-c-s-warning-border-outline);--_border-color: transparent}:host.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-bg);--_color: var(--eui-c-s-danger-on-bg);--_close-hover-color: var(--eui-c-s-danger-bg-hover);--_border-outline-color: var(--eui-c-s-danger-border-outline);--_border-color: transparent}:host.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-bg);--_color: var(--eui-c-s-accent-on-bg);--_close-hover-color: var(--eui-c-s-accent-bg-hover);--_border-outline-color: var(--eui-c-s-accent-border-outline);--_border-color: transparent}:host.eui-chip--filled.eui-chip--primary{--_bg-color: var(--eui-c-primary);--_color: var(--eui-c-primary-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-primary-
|
156
|
+
], template: "<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n", styles: [":host.eui-chip{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline)}:host.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-bg);--_color: var(--eui-c-s-primary-on-bg);--_close-hover-color: var(--eui-c-s-primary-bg-hover);--_border-outline-color: var(--eui-c-s-primary-border-outline);--_border-color: transparent}:host.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_close-hover-color: var(--eui-c-s-secondary-bg-hover);--_border-outline-color: var(--eui-c-s-secondary-border-outline);--_border-color: transparent}:host.eui-chip--info{--_bg-color: var(--eui-c-s-info-bg);--_color: var(--eui-c-s-info-on-bg);--_close-hover-color: var(--eui-c-s-info-bg-hover);--_border-outline-color: var(--eui-c-s-info-border-outline);--_border-color: transparent}:host.eui-chip--success{--_bg-color: var(--eui-c-s-success-bg);--_color: var(--eui-c-s-success-on-bg);--_close-hover-color: var(--eui-c-s-success-bg-hover);--_border-outline-color: var(--eui-c-s-success-border-outline);--_border-color: transparent}:host.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-bg);--_color: var(--eui-c-s-warning-on-bg);--_close-hover-color: var(--eui-c-s-warning-bg-hover);--_border-outline-color: var(--eui-c-s-warning-border-outline);--_border-color: transparent}:host.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-bg);--_color: var(--eui-c-s-danger-on-bg);--_close-hover-color: var(--eui-c-s-danger-bg-hover);--_border-outline-color: var(--eui-c-s-danger-border-outline);--_border-color: transparent}:host.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-bg);--_color: var(--eui-c-s-accent-on-bg);--_close-hover-color: var(--eui-c-s-accent-bg-hover);--_border-outline-color: var(--eui-c-s-accent-border-outline);--_border-color: transparent}:host.eui-chip--filled.eui-chip--primary{--_bg-color: var(--eui-c-s-primary-fill);--_color: var(--eui-c-s-primary-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-primary-fill-hover)}:host.eui-chip--filled.eui-chip--secondary{--_bg-color: var(--eui-c-s-secondary-bg);--_color: var(--eui-c-s-secondary-on-bg);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-secondary-bg-hover)}:host.eui-chip--filled.eui-chip--info{--_bg-color: var(--eui-c-s-info-fill);--_color: var(--eui-c-s-info-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-info-fill-hover)}:host.eui-chip--filled.eui-chip--success{--_bg-color: var(--eui-c-s-success-fill);--_color: var(--eui-c-s-success-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-success-fill-hover)}:host.eui-chip--filled.eui-chip--warning{--_bg-color: var(--eui-c-s-warning-fill);--_color: var(--eui-c-s-warning-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-warning-fill-hover)}:host.eui-chip--filled.eui-chip--danger{--_bg-color: var(--eui-c-s-danger-fill);--_color: var(--eui-c-s-danger-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-danger-fill-hover)}:host.eui-chip--filled.eui-chip--accent{--_bg-color: var(--eui-c-s-accent-fill);--_color: var(--eui-c-s-accent-fill-contrast);--_border-color: transparent;--_close-hover-color: var(--eui-c-s-accent-fill-hover)}.eui-19 :host.eui-chip{align-items:center;border-radius:calc(2 * var(--eui-br-xl));display:inline-flex;position:relative;font:var(--eui-f);min-height:calc(var(--eui-s-m) * 2);padding:0 var(--eui-s-s);outline:var(--eui-bw-xs) solid var(--_border-outline-color);outline-offset:-1px;background-color:var(--_bg-color);color:var(--_color)}.eui-19 :host.eui-chip .eui-chip-wrapper,.eui-19 :host.eui-chip .eui-chip__content-container{display:flex;align-items:center;gap:var(--eui-s-xs)}.eui-19 :host.eui-chip ::ng-deep .eui-icon-svg:not(.eui-chip__close) svg{fill:var(--_color);color:var(--_color)}.eui-19 :host.eui-chip .eui-chip__close ::ng-deep .eui-icon-button__button:hover{background-color:var(--_close-hover-color)}.eui-19 :host.eui-chip--outline{background-color:var(--eui-c-neutral-min)}.eui-19 :host.eui-chip--size-s{font:var(--eui-f-s);min-height:var(--eui-s-xl);padding:0 var(--eui-s-xs)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper,.eui-19 :host.eui-chip--size-s .eui-chip__content-container{gap:var(--eui-s-2xs)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep svg,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep svg{height:var(--eui-is-s);width:var(--eui-is-s)}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep .eui-flag-icon,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep .eui-flag-icon{height:var(--eui-is-xs);min-width:calc(1.3333333 * var(--eui-is-xs));width:calc(1.3333333 * var(--eui-is-xs))}.eui-19 :host.eui-chip--size-s .eui-chip-wrapper ::ng-deep .eui-flag-icon.eui-flag-icon--rounded,.eui-19 :host.eui-chip--size-s .eui-chip__content-container ::ng-deep .eui-flag-icon.eui-flag-icon--rounded{height:var(--eui-is-s);width:var(--eui-is-s)}\n"] }]
|
157
157
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.BaseStatesDirective }], propDecorators: { cssClasses: [{
|
158
158
|
type: HostBinding,
|
159
159
|
args: ['class']
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-chip.mjs","sources":["../../eui-chip/models/eui-chip.model.ts","../../eui-chip/eui-chip.component.ts","../../eui-chip/eui-chip.component.html","../../eui-chip/eui-chip.module.ts","../../eui-chip/eui-components-eui-chip.ts"],"sourcesContent":["export class EuiChip {\n id: string | number;\n euiInternalId: string;\n label: string;\n isRemovable = false;\n isOutline = false;\n isRounded = false;\n isDisabled = false;\n typeClass: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger' | 'accent' = 'primary';\n tooltip: EuiChipTooltip = new EuiChipTooltip();\n iconClass?: string;\n iconSvgName?: string;\n\n constructor(values = {}) {\n Object.assign(this, values);\n }\n}\n\nexport class EuiChipTooltip {\n tooltipMessage: string;\n position?: 'above' | 'below' | 'left' | 'right' | 'before' | 'after' = 'above';\n contentAlignment?: 'center' | 'left' | 'right' | 'justify' = 'center';\n delay? = 0;\n\n constructor(values = {}) {\n Object.assign(this, values);\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n ContentChildren,\n QueryList,\n AfterContentInit,\n Output,\n EventEmitter,\n ViewChild,\n ElementRef,\n booleanAttribute,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiIconSvgComponent } from '@eui/components/eui-icon';\n\nimport { EuiChip } from './models/eui-chip.model';\n\n/**\n * @description\n * Chips are compact elements that allow users to enter information, select a choice, filter content or trigger an action.\n * The eui-chip component can also be displayed dynamically as a group of multiple interactive elements, see eui-chip-list.\n */\n@Component({\n templateUrl: './eui-chip.component.html',\n selector: 'eui-chip, span[euiChip], li[euiChip]',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeS',\n 'euiOutline',\n 'euiDisabled',\n ],\n },\n ],\n})\nexport class EuiChipComponent implements AfterContentInit {\n /**\n * @description\n * Computes and returns the CSS classes for the component based on its current state.\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-chip'),\n this.isChipRemovable ? 'eui-chip--removable' : '',\n this.isFilled ? 'eui-chip--filled': '',\n ].join(' ').trim();\n }\n\n /**\n * Sets the `role` attribute for the host element.\n *\n * @default 'status'\n */\n @HostBinding('attr.role') role = 'status';\n /**\n * Sets the `aria-label` attribute for the host element.\n *\n * @default 'Chip content'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'Chip content';\n\n /**\n * Sets the `data-e2e` attribute for the host element.\n *\n * @default 'eui-chip'\n */\n @HostBinding('attr.data-e2e')\n @Input()\n e2eAttr = 'eui-chip';\n\n /**\n * Sets the euiInternalId of the chip.\n *\n * @default null\n */\n @Input() euiInternalId: string = null;\n /**\n * Sets the label of the tooltip to diaply on hover.\n */\n @Input() tooltipMessage: string;\n /**\n * Sets the id of the chip.\n */\n @Input() id: string | number;\n /**\n * Sets the data of the chip like tooltip configuration.\n */\n // TODO: type should be specific\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() data: any = {\n id: crypto.randomUUID(),\n tooltip: {\n color: 'euiTooltipPrimary',\n contentAlignment: null,\n position: 'above',\n },\n };\n\n /**\n * Wether the chip can be removed.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isChipRemovable = false;\n /**\n * @deprecated This option is not applicable anymore to comply design System.\n */\n @Input({ transform: booleanAttribute }) isSquared = false;\n /**\n * Wether the chip is filled with color.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isFilled = false;\n\n /**\n * Event emitted when the chip is removed.\n */\n @Output() remove = new EventEmitter<EuiChipComponent | EuiChip | { chip: EuiChipComponent | EuiChip; event?: Event }>();\n\n /**\n * Icon declares by user in the chip\n */\n @ContentChildren(forwardRef(() => EuiIconSvgComponent)) euiIcons: QueryList<EuiIconSvgComponent>;\n @ViewChild('chipLabel') chipLabel: ElementRef<HTMLInputElement>;\n\n constructor(\n private _elementRef: ElementRef,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngAfterContentInit(): void {\n if (!this.data.id && this.id) {\n this.data = Object.assign(this.data, { id: this.id });\n }\n\n if (this._elementRef.nativeElement.parentElement?.classList.contains('eui-chip-list__chip-container')) {\n this.role = 'listitem'\n }\n }\n\n /**\n * Remove chip handler\n *\n * @param event Click event\n */\n public onRemove(event?: Event): void {\n if (event instanceof KeyboardEvent && (event as KeyboardEvent).code === 'Backspace') {\n this.remove.emit({ chip: this.data, event });\n } else {\n this.remove.emit(this.data);\n }\n }\n}\n","<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconButtonModule } from '@eui/components/eui-icon-button';\nimport { EuiTooltipDirectiveModule } from '@eui/components/directives';\n\nimport { EuiChipComponent } from './eui-chip.component';\n\n/**\n * @description\n * Module that provides the EuiChip component and its dependencies\n */\n@NgModule({\n imports: [CommonModule, EuiIconModule, EuiIconButtonModule, EuiTooltipDirectiveModule],\n declarations: [EuiChipComponent],\n exports: [EuiChipComponent],\n})\nexport class EuiChipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAAa,OAAO,CAAA;IAahB,WAAY,CAAA,MAAM,GAAG,EAAE,EAAA;QATvB,IAAW,CAAA,WAAA,GAAG,KAAK;QACnB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAU,CAAA,UAAA,GAAG,KAAK;QAClB,IAAS,CAAA,SAAA,GAAmF,SAAS;AACrG,QAAA,IAAA,CAAA,OAAO,GAAmB,IAAI,cAAc,EAAE;AAK1C,QAAA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC;;AAElC;MAEY,cAAc,CAAA;IAMvB,WAAY,CAAA,MAAM,GAAG,EAAE,EAAA;QAJvB,IAAQ,CAAA,QAAA,GAA+D,OAAO;QAC9E,IAAgB,CAAA,gBAAA,GAA6C,QAAQ;QACrE,IAAK,CAAA,KAAA,GAAI,CAAC;AAGN,QAAA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC;;AAElC;;ACND;;;;AAIG;MA0BU,gBAAgB,CAAA;AACzB;;;;;AAKG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,UAAU,CAAC;YAClD,IAAI,CAAC,eAAe,GAAG,qBAAqB,GAAG,EAAE;YACjD,IAAI,CAAC,QAAQ,GAAG,kBAAkB,GAAE,EAAE;AACzC,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;IAkFtB,WACY,CAAA,WAAuB,EACxB,mBAAwC,EAAA;QADvC,IAAW,CAAA,WAAA,GAAX,WAAW;QACZ,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB;AAjF9B;;;;AAIG;QACuB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AAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAE3E,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAEjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJZ,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA;;2FAI5E,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,yBAAyB,CAAC;oBACtF,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA;;;ACjBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-chip.mjs","sources":["../../eui-chip/models/eui-chip.model.ts","../../eui-chip/eui-chip.component.ts","../../eui-chip/eui-chip.component.html","../../eui-chip/eui-chip.module.ts","../../eui-chip/eui-components-eui-chip.ts"],"sourcesContent":["export class EuiChip {\n id: string | number;\n euiInternalId: string;\n label: string;\n isRemovable = false;\n isOutline = false;\n isRounded = false;\n isDisabled = false;\n typeClass: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger' | 'accent' = 'primary';\n tooltip: EuiChipTooltip = new EuiChipTooltip();\n iconClass?: string;\n iconSvgName?: string;\n\n constructor(values = {}) {\n Object.assign(this, values);\n }\n}\n\nexport class EuiChipTooltip {\n tooltipMessage: string;\n position?: 'above' | 'below' | 'left' | 'right' | 'before' | 'after' = 'above';\n contentAlignment?: 'center' | 'left' | 'right' | 'justify' = 'center';\n delay? = 0;\n\n constructor(values = {}) {\n Object.assign(this, values);\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n ContentChildren,\n QueryList,\n AfterContentInit,\n Output,\n EventEmitter,\n ViewChild,\n ElementRef,\n booleanAttribute,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiIconSvgComponent } from '@eui/components/eui-icon';\n\nimport { EuiChip } from './models/eui-chip.model';\n\n/**\n * @description\n * Chips are compact elements that allow users to enter information, select a choice, filter content or trigger an action.\n * The eui-chip component can also be displayed dynamically as a group of multiple interactive elements, see eui-chip-list.\n */\n@Component({\n templateUrl: './eui-chip.component.html',\n selector: 'eui-chip, span[euiChip], li[euiChip]',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeS',\n 'euiOutline',\n 'euiDisabled',\n ],\n },\n ],\n})\nexport class EuiChipComponent implements AfterContentInit {\n /**\n * @description\n * Computes and returns the CSS classes for the component based on its current state.\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-chip'),\n this.isChipRemovable ? 'eui-chip--removable' : '',\n this.isFilled ? 'eui-chip--filled': '',\n ].join(' ').trim();\n }\n\n /**\n * Sets the `role` attribute for the host element.\n *\n * @default 'status'\n */\n @HostBinding('attr.role') role = 'status';\n /**\n * Sets the `aria-label` attribute for the host element.\n *\n * @default 'Chip content'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'Chip content';\n\n /**\n * Sets the `data-e2e` attribute for the host element.\n *\n * @default 'eui-chip'\n */\n @HostBinding('attr.data-e2e')\n @Input()\n e2eAttr = 'eui-chip';\n\n /**\n * Sets the euiInternalId of the chip.\n *\n * @default null\n */\n @Input() euiInternalId: string = null;\n /**\n * Sets the label of the tooltip to diaply on hover.\n */\n @Input() tooltipMessage: string;\n /**\n * Sets the id of the chip.\n */\n @Input() id: string | number;\n /**\n * Sets the data of the chip like tooltip configuration.\n */\n // TODO: type should be specific\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() data: any = {\n id: crypto.randomUUID(),\n tooltip: {\n color: 'euiTooltipPrimary',\n contentAlignment: null,\n position: 'above',\n },\n };\n\n /**\n * Wether the chip can be removed.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isChipRemovable = false;\n /**\n * @deprecated This option is not applicable anymore to comply design System.\n */\n @Input({ transform: booleanAttribute }) isSquared = false;\n /**\n * Wether the chip is filled with color.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isFilled = false;\n\n /**\n * Event emitted when the chip is removed.\n */\n @Output() remove = new EventEmitter<EuiChipComponent | EuiChip | { chip: EuiChipComponent | EuiChip; event?: Event }>();\n\n /**\n * Icon declares by user in the chip\n */\n @ContentChildren(forwardRef(() => EuiIconSvgComponent)) euiIcons: QueryList<EuiIconSvgComponent>;\n @ViewChild('chipLabel') chipLabel: ElementRef<HTMLInputElement>;\n\n constructor(\n private _elementRef: ElementRef,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngAfterContentInit(): void {\n if (!this.data.id && this.id) {\n this.data = Object.assign(this.data, { id: this.id });\n }\n\n if (this._elementRef.nativeElement.parentElement?.classList.contains('eui-chip-list__chip-container')) {\n this.role = 'listitem'\n }\n }\n\n /**\n * Remove chip handler\n *\n * @param event Click event\n */\n public onRemove(event?: Event): void {\n if (event instanceof KeyboardEvent && (event as KeyboardEvent).code === 'Backspace') {\n this.remove.emit({ chip: this.data, event });\n } else {\n this.remove.emit(this.data);\n }\n }\n}\n","<div class=\"eui-chip-wrapper\">\n <div class=\"eui-chip__content-container\" #chipLabel>\n <ng-content></ng-content>\n </div>\n <eui-icon-button\n *ngIf=\"isChipRemovable\"\n class=\"eui-chip__close\"\n ariaLabel=\"Remove {{ chipLabel.textContent }} chip\"\n icon=\"close:outline\"\n euiRounded\n hasNoPadding\n (keydown.enter)=\"onRemove($event)\"\n (keydown.backspace)=\"onRemove($event)\"\n (buttonClick)=\"onRemove($event)\">\n </eui-icon-button>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconButtonModule } from '@eui/components/eui-icon-button';\nimport { EuiTooltipDirectiveModule } from '@eui/components/directives';\n\nimport { EuiChipComponent } from './eui-chip.component';\n\n/**\n * @description\n * Module that provides the EuiChip component and its dependencies\n */\n@NgModule({\n imports: [CommonModule, EuiIconModule, EuiIconButtonModule, EuiTooltipDirectiveModule],\n declarations: [EuiChipComponent],\n exports: [EuiChipComponent],\n})\nexport class EuiChipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAAa,OAAO,CAAA;IAahB,WAAY,CAAA,MAAM,GAAG,EAAE,EAAA;QATvB,IAAW,CAAA,WAAA,GAAG,KAAK;QACnB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAU,CAAA,UAAA,GAAG,KAAK;QAClB,IAAS,CAAA,SAAA,GAAmF,SAAS;AACrG,QAAA,IAAA,CAAA,OAAO,GAAmB,IAAI,cAAc,EAAE;AAK1C,QAAA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC;;AAElC;MAEY,cAAc,CAAA;IAMvB,WAAY,CAAA,MAAM,GAAG,EAAE,EAAA;QAJvB,IAAQ,CAAA,QAAA,GAA+D,OAAO;QAC9E,IAAgB,CAAA,gBAAA,GAA6C,QAAQ;QACrE,IAAK,CAAA,KAAA,GAAI,CAAC;AAGN,QAAA,MAAM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Validators.required);
|
756
756
|
}
|
757
757
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: EuiDatepickerComponent, deps: [{ token: i1.DateAdapter }, { token: i2.TranslateService }, { token: i3.LocaleService }, { token: i3.EuiAppShellService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i0.ViewContainerRef }, { token: i4.BaseStatesDirective }, { token: forwardRef(() => EuiLetterFormatDirective), optional: true }, { token: i5.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
758
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiDatepickerComponent, isStandalone: false, selector: "eui-datepicker", inputs: { e2eAttr: "e2eAttr", value: "value", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", inputId: "inputId", isDatetimepicker: ["isDatetimepicker", "isDatetimepicker", booleanAttribute], hasSeconds: ["hasSeconds", "hasSeconds", booleanAttribute], isOneInputField: ["isOneInputField", "isOneInputField", booleanAttribute], hasNoButton: ["hasNoButton", "hasNoButton", booleanAttribute], isDatepickerBlock: ["isDatepickerBlock", "isDatepickerBlock", booleanAttribute], isReadOnly: ["isReadOnly", "isReadOnly", booleanAttribute], isDisabled: ["isDisabled", "isDisabled", booleanAttribute], isInputDisabled: ["isInputDisabled", "isInputDisabled", booleanAttribute], isButtonDisabled: ["isButtonDisabled", "isButtonDisabled", booleanAttribute], isPickerDisabled: ["isPickerDisabled", "isPickerDisabled", booleanAttribute], isShownOnInputClick: ["isShownOnInputClick", "isShownOnInputClick", booleanAttribute], isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "euiActionButtons", first: true, predicate: i0.forwardRef(() => EuiActionButtonsDirective), descendants: true }], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, static: true }, { propertyName: "templatePortalRef", first: true, predicate: ["templatePortalRef"], descendants: true }, { propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiVariant", "euiVariant"] }], ngImport: i0, template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-
|
758
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiDatepickerComponent, isStandalone: false, selector: "eui-datepicker", inputs: { e2eAttr: "e2eAttr", value: "value", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", inputId: "inputId", isDatetimepicker: ["isDatetimepicker", "isDatetimepicker", booleanAttribute], hasSeconds: ["hasSeconds", "hasSeconds", booleanAttribute], isOneInputField: ["isOneInputField", "isOneInputField", booleanAttribute], hasNoButton: ["hasNoButton", "hasNoButton", booleanAttribute], isDatepickerBlock: ["isDatepickerBlock", "isDatepickerBlock", booleanAttribute], isReadOnly: ["isReadOnly", "isReadOnly", booleanAttribute], isDisabled: ["isDisabled", "isDisabled", booleanAttribute], isInputDisabled: ["isInputDisabled", "isInputDisabled", booleanAttribute], isButtonDisabled: ["isButtonDisabled", "isButtonDisabled", booleanAttribute], isPickerDisabled: ["isPickerDisabled", "isPickerDisabled", booleanAttribute], isShownOnInputClick: ["isShownOnInputClick", "isShownOnInputClick", booleanAttribute], isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "euiActionButtons", first: true, predicate: i0.forwardRef(() => EuiActionButtonsDirective), descendants: true }], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, static: true }, { propertyName: "templatePortalRef", first: true, predicate: ["templatePortalRef"], descendants: true }, { propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiVariant", "euiVariant"] }], ngImport: i0, template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-s-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-s-secondary)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-s-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-s-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-s-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-s-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-s-accent-bg)}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.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: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i7.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i7.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i8.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i9.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i10.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["isInvalid"] }, { kind: "component", type: i11.EuiInputGroupComponent, selector: "div[euiInputGroup]", inputs: ["e2eAttr"] }, { kind: "component", type: i11.EuiInputGroupAddOnComponent, selector: "div[euiInputGroupAddOn], eui-input-group-addon", inputs: ["e2eAttr"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
759
759
|
}
|
760
760
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: EuiDatepickerComponent, decorators: [{
|
761
761
|
type: Component,
|
@@ -770,7 +770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
|
|
770
770
|
'euiVariant',
|
771
771
|
],
|
772
772
|
},
|
773
|
-
], template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-
|
773
|
+
], template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-s-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-s-secondary)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-s-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-s-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-s-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-s-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-s-accent-bg)}\n"] }]
|
774
774
|
}], ctorParameters: () => [{ type: i1.DateAdapter }, { type: i2.TranslateService }, { type: i3.LocaleService }, { type: i3.EuiAppShellService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i0.ViewContainerRef }, { type: i4.BaseStatesDirective }, { type: EuiLetterFormatDirective, decorators: [{
|
775
775
|
type: Optional
|
776
776
|
}, {
|