@eui/components 19.2.0-snapshot-1745591863922 → 19.2.0-snapshot-1745652012270
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/components/EuiEditorComponent.html +2 -2
- package/docs/dependencies.html +2 -2
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +30 -14
- package/eui-badge/index.d.ts +0 -1
- package/eui-badge/index.d.ts.map +1 -1
- package/eui-block-content/index.d.ts +0 -1
- package/eui-block-content/index.d.ts.map +1 -1
- package/eui-block-document/index.d.ts +0 -1
- package/eui-block-document/index.d.ts.map +1 -1
- package/eui-button/index.d.ts +0 -1
- package/eui-button/index.d.ts.map +1 -1
- package/eui-button-group/index.d.ts +0 -1
- package/eui-button-group/index.d.ts.map +1 -1
- package/eui-chip/index.d.ts +0 -2
- package/eui-chip/index.d.ts.map +1 -1
- package/eui-chip-group/index.d.ts +0 -1
- package/eui-chip-group/index.d.ts.map +1 -1
- package/eui-dimmer/index.d.ts +0 -1
- package/eui-dimmer/index.d.ts.map +1 -1
- package/eui-disable-content/index.d.ts +0 -1
- package/eui-disable-content/index.d.ts.map +1 -1
- package/eui-feedback-message/index.d.ts +0 -1
- package/eui-feedback-message/index.d.ts.map +1 -1
- package/eui-icon/index.d.ts +0 -1
- package/eui-icon/index.d.ts.map +1 -1
- package/eui-icon-button/index.d.ts +0 -1
- package/eui-icon-button/index.d.ts.map +1 -1
- package/eui-icon-button-expander/index.d.ts +0 -1
- package/eui-icon-button-expander/index.d.ts.map +1 -1
- package/eui-icon-color/index.d.ts +0 -1
- package/eui-icon-color/index.d.ts.map +1 -1
- package/eui-icon-input/index.d.ts +0 -1
- package/eui-icon-input/index.d.ts.map +1 -1
- package/eui-icon-state/index.d.ts +0 -1
- package/eui-icon-state/index.d.ts.map +1 -1
- package/eui-icon-toggle/index.d.ts +0 -1
- package/eui-icon-toggle/index.d.ts.map +1 -1
- package/eui-input-checkbox/index.d.ts +0 -1
- package/eui-input-checkbox/index.d.ts.map +1 -1
- package/eui-input-radio/index.d.ts +0 -1
- package/eui-input-radio/index.d.ts.map +1 -1
- package/eui-label/index.d.ts +0 -1
- package/eui-label/index.d.ts.map +1 -1
- package/eui-message-box/index.d.ts +1 -1
- package/eui-message-box/index.d.ts.map +1 -1
- package/eui-paginator/index.d.ts +0 -1
- package/eui-paginator/index.d.ts.map +1 -1
- package/eui-popover/index.d.ts +0 -1
- package/eui-popover/index.d.ts.map +1 -1
- package/eui-progress-bar/index.d.ts +0 -1
- package/eui-progress-bar/index.d.ts.map +1 -1
- package/eui-progress-circle/index.d.ts +0 -1
- package/eui-progress-circle/index.d.ts.map +1 -1
- package/eui-sidebar-menu/index.d.ts +0 -1
- package/eui-sidebar-menu/index.d.ts.map +1 -1
- package/eui-skeleton/index.d.ts +0 -1
- package/eui-skeleton/index.d.ts.map +1 -1
- package/eui-slide-toggle/index.d.ts +0 -1
- package/eui-slide-toggle/index.d.ts.map +1 -1
- package/eui-split-button/index.d.ts +0 -1
- package/eui-split-button/index.d.ts.map +1 -1
- package/eui-timebar/index.d.ts +1 -2
- package/eui-timebar/index.d.ts.map +1 -1
- package/eui-timepicker/index.d.ts +0 -1
- package/eui-timepicker/index.d.ts.map +1 -1
- package/eui-tree/index.d.ts +0 -1
- package/eui-tree/index.d.ts.map +1 -1
- package/externals/charts/index.d.ts +2 -0
- package/externals/charts/index.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +2 -1
- package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
- package/fesm2022/eui-components-eui-block-content.mjs +2 -1
- package/fesm2022/eui-components-eui-block-content.mjs.map +1 -1
- package/fesm2022/eui-components-eui-block-document.mjs +2 -1
- package/fesm2022/eui-components-eui-block-document.mjs.map +1 -1
- package/fesm2022/eui-components-eui-button-group.mjs +2 -1
- package/fesm2022/eui-components-eui-button-group.mjs.map +1 -1
- package/fesm2022/eui-components-eui-button.mjs +2 -1
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip-group.mjs +2 -1
- package/fesm2022/eui-components-eui-chip-group.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip.mjs +4 -3
- package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dimmer.mjs +2 -1
- package/fesm2022/eui-components-eui-dimmer.mjs.map +1 -1
- package/fesm2022/eui-components-eui-disable-content.mjs +2 -1
- package/fesm2022/eui-components-eui-disable-content.mjs.map +1 -1
- package/fesm2022/eui-components-eui-feedback-message.mjs +2 -1
- package/fesm2022/eui-components-eui-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-button-expander.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-button-expander.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-button.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-color.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-color.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-input.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-input.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-state.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-state.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-toggle.mjs +2 -1
- package/fesm2022/eui-components-eui-icon-toggle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +2 -1
- package/fesm2022/eui-components-eui-icon.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-checkbox.mjs +2 -1
- package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-radio.mjs +2 -1
- package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-text.mjs +1 -0
- package/fesm2022/eui-components-eui-input-text.mjs.map +1 -1
- package/fesm2022/eui-components-eui-label.mjs +2 -1
- package/fesm2022/eui-components-eui-label.mjs.map +1 -1
- package/fesm2022/eui-components-eui-message-box.mjs.map +1 -1
- package/fesm2022/eui-components-eui-paginator.mjs +2 -1
- package/fesm2022/eui-components-eui-paginator.mjs.map +1 -1
- package/fesm2022/eui-components-eui-popover.mjs +2 -1
- package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
- package/fesm2022/eui-components-eui-progress-bar.mjs +2 -1
- package/fesm2022/eui-components-eui-progress-bar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-progress-circle.mjs +2 -1
- package/fesm2022/eui-components-eui-progress-circle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +2 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-skeleton.mjs +2 -1
- package/fesm2022/eui-components-eui-skeleton.mjs.map +1 -1
- package/fesm2022/eui-components-eui-slide-toggle.mjs +2 -1
- package/fesm2022/eui-components-eui-slide-toggle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-split-button.mjs +2 -1
- package/fesm2022/eui-components-eui-split-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timebar.mjs +2 -1
- package/fesm2022/eui-components-eui-timebar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timepicker.mjs +2 -1
- package/fesm2022/eui-components-eui-timepicker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree.mjs +2 -1
- package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
- package/fesm2022/eui-components-externals-charts.mjs +6 -2
- package/fesm2022/eui-components-externals-charts.mjs.map +1 -1
- package/fesm2022/eui-components-externals-eui-editor.mjs +6 -7
- package/fesm2022/eui-components-externals-eui-editor.mjs.map +1 -1
- package/package.json +3 -3
@@ -138,10 +138,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
138
138
|
const EUI_BLOCK_CONTENT = [
|
139
139
|
EuiBlockContentComponent,
|
140
140
|
];
|
141
|
+
// export { EuiBlockContentComponent as EuiBlockContent } from './eui-block-content.component';
|
141
142
|
|
142
143
|
/**
|
143
144
|
* Generated bundle index. Do not edit.
|
144
145
|
*/
|
145
146
|
|
146
|
-
export {
|
147
|
+
export { EUI_BLOCK_CONTENT, EuiBlockContentComponent, EuiBlockContentModule };
|
147
148
|
//# sourceMappingURL=eui-components-eui-block-content.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-block-content.mjs","sources":["../../eui-block-content/eui-block-content.component.ts","../../eui-block-content/eui-block-content.module.ts","../../eui-block-content/index.ts","../../eui-block-content/eui-components-eui-block-content.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ChangeDetectionStrategy,\n HostBinding,\n booleanAttribute,\n SimpleChange,\n} from '@angular/core';\n\n/**\n * @description\n * Component that wraps content and manages focus state when content is blocked.\n * Provides accessibility attributes and handles focus restoration when blocking/unblocking.\n */\n@Component({\n selector: 'eui-block-content',\n template: '<ng-content/>',\n styleUrls: ['./eui-block-content.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiBlockContentComponent implements OnChanges {\n /** CSS classes applied to the host element */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n 'eui-block-content',\n this.isBlocked ? 'eui-block-content--blocked' : '',\n ].join(' ').trim();\n }\n\n /**\n * ARIA role for the content wrapper\n * @default 'region'\n */\n @Input() @HostBinding('attr.role') role = 'region';\n\n /**\n * ARIA label for the content wrapper\n * @default 'block content wrapper'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'block content wrapper';\n\n /**\n * Whether the content is currently blocked\n * When true, focused elements within will be blurred and state saved\n * @default false\n */\n @Input({ transform: booleanAttribute }) isBlocked = false;\n\n /** Stores the element that was focused before content was blocked */\n private lastActiveElement: HTMLElement = null;\n\n constructor(\n private elRef: ElementRef,\n private renderer: Renderer2,\n ) {}\n\n /**\n * Handles changes to the blocked state.\n * Manages focus when content is blocked or unblocked.\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['isBlocked']) {\n const activeElement = this.getActiveElement();\n const isBlocking = this.isAboutToBlock(changes['isBlocked']);\n\n if (isBlocking) {\n this.deactivateElement(activeElement);\n } else {\n this.reactivateElement(this.lastActiveElement);\n }\n }\n }\n\n /**\n * Removes focus from the currently focused element when blocking\n * Stores the element reference for later restoration\n *\n * @param activeElement - The currently focused element\n */\n deactivateElement(activeElement: HTMLElement): void {\n if (activeElement) {\n this.renderer.selectRootElement(activeElement, true).blur();\n this.lastActiveElement = activeElement;\n } else {\n this.lastActiveElement = null;\n }\n }\n\n /**\n * Restores focus to the previously focused element when unblocking\n *\n * @param element - The element that was previously focused\n */\n reactivateElement(element: HTMLElement): void {\n if (element) {\n this.renderer.selectRootElement(element, true).focus();\n }\n }\n\n /**\n * Determines if the content is transitioning to a blocked state\n *\n * @param change - Angular SimpleChange object\n * @returns true if the content is being blocked, false otherwise\n */\n private isAboutToBlock(change: SimpleChange): boolean {\n return change?.currentValue && !change.previousValue;\n }\n\n /**\n * Finds the currently focused element within the block content\n *\n * @returns The currently focused HTMLElement or null if none found\n */\n private getActiveElement(): HTMLElement {\n return this.elRef.nativeElement.querySelector(':focus');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EuiBlockContentComponent } from './eui-block-content.component';\n\n/**\n * @deprecated Import the standalone {@link EUI_BLOCK_CONTENT} instead.\n * This module is maintained for backward compatibility.\n */\n@NgModule({\n imports: [EuiBlockContentComponent],\n exports: [EuiBlockContentComponent],\n})\nexport class EuiBlockContentModule {}\n","import { EuiBlockContentComponent } from './eui-block-content.component';\n\nexport * from './eui-block-content.component';\nexport * from './eui-block-content.module';\n\nexport const EUI_BLOCK_CONTENT = [\n EuiBlockContentComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-block-content.mjs","sources":["../../eui-block-content/eui-block-content.component.ts","../../eui-block-content/eui-block-content.module.ts","../../eui-block-content/index.ts","../../eui-block-content/eui-components-eui-block-content.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ChangeDetectionStrategy,\n HostBinding,\n booleanAttribute,\n SimpleChange,\n} from '@angular/core';\n\n/**\n * @description\n * Component that wraps content and manages focus state when content is blocked.\n * Provides accessibility attributes and handles focus restoration when blocking/unblocking.\n */\n@Component({\n selector: 'eui-block-content',\n template: '<ng-content/>',\n styleUrls: ['./eui-block-content.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiBlockContentComponent implements OnChanges {\n /** CSS classes applied to the host element */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n 'eui-block-content',\n this.isBlocked ? 'eui-block-content--blocked' : '',\n ].join(' ').trim();\n }\n\n /**\n * ARIA role for the content wrapper\n * @default 'region'\n */\n @Input() @HostBinding('attr.role') role = 'region';\n\n /**\n * ARIA label for the content wrapper\n * @default 'block content wrapper'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'block content wrapper';\n\n /**\n * Whether the content is currently blocked\n * When true, focused elements within will be blurred and state saved\n * @default false\n */\n @Input({ transform: booleanAttribute }) isBlocked = false;\n\n /** Stores the element that was focused before content was blocked */\n private lastActiveElement: HTMLElement = null;\n\n constructor(\n private elRef: ElementRef,\n private renderer: Renderer2,\n ) {}\n\n /**\n * Handles changes to the blocked state.\n * Manages focus when content is blocked or unblocked.\n */\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['isBlocked']) {\n const activeElement = this.getActiveElement();\n const isBlocking = this.isAboutToBlock(changes['isBlocked']);\n\n if (isBlocking) {\n this.deactivateElement(activeElement);\n } else {\n this.reactivateElement(this.lastActiveElement);\n }\n }\n }\n\n /**\n * Removes focus from the currently focused element when blocking\n * Stores the element reference for later restoration\n *\n * @param activeElement - The currently focused element\n */\n deactivateElement(activeElement: HTMLElement): void {\n if (activeElement) {\n this.renderer.selectRootElement(activeElement, true).blur();\n this.lastActiveElement = activeElement;\n } else {\n this.lastActiveElement = null;\n }\n }\n\n /**\n * Restores focus to the previously focused element when unblocking\n *\n * @param element - The element that was previously focused\n */\n reactivateElement(element: HTMLElement): void {\n if (element) {\n this.renderer.selectRootElement(element, true).focus();\n }\n }\n\n /**\n * Determines if the content is transitioning to a blocked state\n *\n * @param change - Angular SimpleChange object\n * @returns true if the content is being blocked, false otherwise\n */\n private isAboutToBlock(change: SimpleChange): boolean {\n return change?.currentValue && !change.previousValue;\n }\n\n /**\n * Finds the currently focused element within the block content\n *\n * @returns The currently focused HTMLElement or null if none found\n */\n private getActiveElement(): HTMLElement {\n return this.elRef.nativeElement.querySelector(':focus');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EuiBlockContentComponent } from './eui-block-content.component';\n\n/**\n * @deprecated Import the standalone {@link EUI_BLOCK_CONTENT} instead.\n * This module is maintained for backward compatibility.\n */\n@NgModule({\n imports: [EuiBlockContentComponent],\n exports: [EuiBlockContentComponent],\n})\nexport class EuiBlockContentModule {}\n","import { EuiBlockContentComponent } from './eui-block-content.component';\n\nexport * from './eui-block-content.component';\nexport * from './eui-block-content.module';\n\nexport const EUI_BLOCK_CONTENT = [\n EuiBlockContentComponent,\n] as const;\n\n// export { EuiBlockContentComponent as EuiBlockContent } from './eui-block-content.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAaA;;;;AAIG;MAOU,wBAAwB,CAAA;;AAEjC,IAAA,IACW,UAAU,GAAA;QACjB,OAAO;YACH,mBAAmB;YACnB,IAAI,CAAC,SAAS,GAAG,4BAA4B,GAAG,EAAE;AACrD,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;IAyBtB,WACY,CAAA,KAAiB,EACjB,QAAmB,EAAA;QADnB,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAQ,CAAA,QAAA,GAAR,QAAQ;AAxBpB;;;AAGG;QACgC,IAAI,CAAA,IAAA,GAAG,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AA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHpB,wBAAwB,CAAA,EAAA,OAAA,EAAA,CACxB,wBAAwB,CAAA,EAAA,CAAA,CAAA;+GAEzB,qBAAqB,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,wBAAwB,CAAC;oBACnC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACtC,iBAAA;;;ACLY,MAAA,iBAAiB,GAAG;IAC7B,wBAAwB;;AAG5B;;ACTA;;AAEG;;;;"}
|
@@ -85,10 +85,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
85
85
|
const EUI_BLOCK_DOCUMENT = [
|
86
86
|
EuiBlockDocumentComponent,
|
87
87
|
];
|
88
|
+
// export { EuiBlockDocumentComponent as EuiBlockDocument } from './eui-block-document.component';
|
88
89
|
|
89
90
|
/**
|
90
91
|
* Generated bundle index. Do not edit.
|
91
92
|
*/
|
92
93
|
|
93
|
-
export {
|
94
|
+
export { EUI_BLOCK_DOCUMENT, EuiBlockDocumentComponent, EuiBlockDocumentModule };
|
94
95
|
//# sourceMappingURL=eui-components-eui-block-document.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-block-document.mjs","sources":["../../eui-block-document/eui-block-document.component.ts","../../eui-block-document/eui-block-document.component.html","../../eui-block-document/eui-block-document.module.ts","../../eui-block-document/index.ts","../../eui-block-document/eui-components-eui-block-document.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, HostBinding, booleanAttribute } from '@angular/core';\n\n/**\n * @description\n * EuiBlockDocumentComponent creates a document overlay that can be toggled into\n * a blocked state. When blocked, a loading indicator is displayed.\n * Uses OnPush change detection strategy for better performance.\n */\n@Component({\n selector: 'eui-block-document',\n templateUrl: './eui-block-document.component.html',\n styleUrls: ['./eui-block-document.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiBlockDocumentComponent {\n /**\n * Applies CSS classes to the host element.\n * Always includes 'eui-block-document' and conditionally adds\n * 'eui-block-document--blocked' when isBlocked is true.\n *\n * @returns String of space-separated CSS classes\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-block-document',\n this.isBlocked ? 'eui-block-document--blocked' : '',\n ].join(' ').trim();\n }\n\n /**\n * Controls whether the document is in blocked state.\n * When true, displays the loading indicator.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isBlocked = false;\n\n /**\n * ARIA role for the document component.\n *\n * @default 'region'\n */\n @HostBinding('attr.role') role = 'region';\n\n /**\n * ARIA label for the document component.\n *\n * @default 'eUI Block Document'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'eUI Block Document'\n}\n","<div class=\"eui-block-document__loader\"></div>\n","import { NgModule } from '@angular/core';\nimport { EuiBlockDocumentComponent } from './eui-block-document.component';\n\n/**\n * EuiBlockDocumentModule is an Angular module that declares and exports the EuiBlockDocumentComponent.\n *\n * @deprecated Use {@link EUI_BLOCK_DOCUMENT} instead.\n */\n@NgModule({\n imports: [EuiBlockDocumentComponent],\n exports: [EuiBlockDocumentComponent],\n})\nexport class EuiBlockDocumentModule {}\n","import { EuiBlockDocumentComponent } from './eui-block-document.component';\n\nexport * from './eui-block-document.component';\nexport * from './eui-block-document.module';\n\nexport const EUI_BLOCK_DOCUMENT = [\n EuiBlockDocumentComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-block-document.mjs","sources":["../../eui-block-document/eui-block-document.component.ts","../../eui-block-document/eui-block-document.component.html","../../eui-block-document/eui-block-document.module.ts","../../eui-block-document/index.ts","../../eui-block-document/eui-components-eui-block-document.ts"],"sourcesContent":["import { Component, Input, ChangeDetectionStrategy, HostBinding, booleanAttribute } from '@angular/core';\n\n/**\n * @description\n * EuiBlockDocumentComponent creates a document overlay that can be toggled into\n * a blocked state. When blocked, a loading indicator is displayed.\n * Uses OnPush change detection strategy for better performance.\n */\n@Component({\n selector: 'eui-block-document',\n templateUrl: './eui-block-document.component.html',\n styleUrls: ['./eui-block-document.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiBlockDocumentComponent {\n /**\n * Applies CSS classes to the host element.\n * Always includes 'eui-block-document' and conditionally adds\n * 'eui-block-document--blocked' when isBlocked is true.\n *\n * @returns String of space-separated CSS classes\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-block-document',\n this.isBlocked ? 'eui-block-document--blocked' : '',\n ].join(' ').trim();\n }\n\n /**\n * Controls whether the document is in blocked state.\n * When true, displays the loading indicator.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isBlocked = false;\n\n /**\n * ARIA role for the document component.\n *\n * @default 'region'\n */\n @HostBinding('attr.role') role = 'region';\n\n /**\n * ARIA label for the document component.\n *\n * @default 'eUI Block Document'\n */\n @Input() @HostBinding('attr.aria-label') ariaLabel = 'eUI Block Document'\n}\n","<div class=\"eui-block-document__loader\"></div>\n","import { NgModule } from '@angular/core';\nimport { EuiBlockDocumentComponent } from './eui-block-document.component';\n\n/**\n * EuiBlockDocumentModule is an Angular module that declares and exports the EuiBlockDocumentComponent.\n *\n * @deprecated Use {@link EUI_BLOCK_DOCUMENT} instead.\n */\n@NgModule({\n imports: [EuiBlockDocumentComponent],\n exports: [EuiBlockDocumentComponent],\n})\nexport class EuiBlockDocumentModule {}\n","import { EuiBlockDocumentComponent } from './eui-block-document.component';\n\nexport * from './eui-block-document.component';\nexport * from './eui-block-document.module';\n\nexport const EUI_BLOCK_DOCUMENT = [\n EuiBlockDocumentComponent,\n] as const;\n\n// export { EuiBlockDocumentComponent as EuiBlockDocument } from './eui-block-document.component';\n","/**\n * Generated bundle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b,WAAW;uBAAC,OAAO;gBAcoB,SAAS,EAAA,CAAA;sBAAhD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAOZ,IAAI,EAAA,CAAA;sBAA7B,WAAW;uBAAC,WAAW;gBAOiB,SAAS,EAAA,CAAA;sBAAjD;;sBAAS,WAAW;uBAAC,iBAAiB;;;AE/C3C;;;;AAIG;MAKU,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAtB,sBAAsB,EAAA,OAAA,EAAA,CAHrB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CACzB,yBAAyB,CAAA,EAAA,CAAA,CAAA;+GAE1B,sBAAsB,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,yBAAyB,CAAC;oBACpC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACvC,iBAAA;;;ACNY,MAAA,kBAAkB,GAAG;IAC9B,yBAAyB;;AAG7B;;ACTA;;AAEG;;;;"}
|
@@ -113,10 +113,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
113
113
|
const EUI_BUTTON_GROUP = [
|
114
114
|
EuiButtonGroupComponent,
|
115
115
|
];
|
116
|
+
// export { EuiButtonGroupComponent as EuiButtonGroup } from './eui-button-group.component';
|
116
117
|
|
117
118
|
/**
|
118
119
|
* Generated bundle index. Do not edit.
|
119
120
|
*/
|
120
121
|
|
121
|
-
export {
|
122
|
+
export { EUI_BUTTON_GROUP, EuiButtonGroupComponent, EuiButtonGroupModule };
|
122
123
|
//# sourceMappingURL=eui-components-eui-button-group.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-button-group.mjs","sources":["../../eui-button-group/eui-button-group.component.ts","../../eui-button-group/index.ts","../../eui-button-group/eui-components-eui-button-group.ts"],"sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChildren,\n EventEmitter,\n forwardRef,\n Input,\n NgModule,\n Output,\n QueryList,\n ChangeDetectionStrategy,\n HostBinding,\n booleanAttribute,\n} from '@angular/core';\n\nimport { EuiButtonComponent } from '@eui/components/eui-button';\n\n/**\n * @description\n * Component for grouping multiple buttons together with optional checkbox or radio button behavior.\n */\n@Component({\n selector: 'eui-button-group',\n template: '<ng-content/>',\n styleUrls: ['./eui-button-group.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiButtonGroupComponent implements AfterContentInit {\n /** CSS classes applied to the host element */\n @HostBinding('class')\n get cssClasses(): string {\n return 'eui-button-group';\n }\n\n /**\n * Whether the buttons should behave like checkboxes (multiple selection)\n * @default false\n */\n @Input({ transform: booleanAttribute }) isCheckboxButtons = false;\n\n /**\n * Whether the buttons should behave like radio buttons (single selection)\n * @default false\n */\n @Input({ transform: booleanAttribute }) isRadioButtons = false;\n\n /**\n * Event emitted when any button in the group is clicked\n * Emits the clicked EuiButtonComponent instance\n */\n @Output() buttonClick: EventEmitter<EuiButtonComponent> = new EventEmitter<EuiButtonComponent>();\n\n /**\n * Query list of all EuiButtonComponent instances within the group\n */\n @ContentChildren(forwardRef(() => EuiButtonComponent)) buttons: QueryList<EuiButtonComponent>;\n\n /**\n * Initializes button click subscriptions after content is initialized\n */\n ngAfterContentInit(): void {\n this.buttons.map((b: EuiButtonComponent) => {\n b.buttonClick.subscribe(() => {\n this.handleInnerButtonClick(b);\n });\n });\n }\n\n /**\n * Handles button click events based on group configuration\n * - For checkbox buttons: Toggles the clicked button's checked state\n * - For radio buttons: Sets the clicked button as checked and unchecks others\n * - Emits the buttonClick event with the clicked button instance\n *\n * @param button - The EuiButtonComponent that was clicked\n * @internal\n */\n private handleInnerButtonClick(button: EuiButtonComponent): void {\n try {\n if (button.isChecked && this.isCheckboxButtons) {\n button.isChecked = false;\n } else {\n if (this.isRadioButtons) {\n this.buttons.find((b) => b.id === button.id).isChecked = true;\n this.buttons.forEach((b) => {\n if (b.id !== button.id) {\n b.isChecked = false;\n }\n });\n } else if (this.isCheckboxButtons) {\n this.buttons.find((b) => b.id === button.id).isChecked = true;\n }\n }\n\n this.buttonClick.emit(button);\n } catch (e) {\n console.log(e);\n }\n }\n}\n\n/**\n * @deprecated Import the standalone {@link EUI_BUTTON_GROUP} instead.\n * This module is maintained for backward compatibility.\n *\n */\n@NgModule({\n imports: [EuiButtonGroupComponent],\n exports: [EuiButtonGroupComponent],\n})\nexport class EuiButtonGroupModule {}\n","import { EuiButtonGroupComponent } from './eui-button-group.component';\n\nexport * from './eui-button-group.component';\n\nexport const EUI_BUTTON_GROUP = [\n EuiButtonGroupComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-button-group.mjs","sources":["../../eui-button-group/eui-button-group.component.ts","../../eui-button-group/index.ts","../../eui-button-group/eui-components-eui-button-group.ts"],"sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChildren,\n EventEmitter,\n forwardRef,\n Input,\n NgModule,\n Output,\n QueryList,\n ChangeDetectionStrategy,\n HostBinding,\n booleanAttribute,\n} from '@angular/core';\n\nimport { EuiButtonComponent } from '@eui/components/eui-button';\n\n/**\n * @description\n * Component for grouping multiple buttons together with optional checkbox or radio button behavior.\n */\n@Component({\n selector: 'eui-button-group',\n template: '<ng-content/>',\n styleUrls: ['./eui-button-group.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiButtonGroupComponent implements AfterContentInit {\n /** CSS classes applied to the host element */\n @HostBinding('class')\n get cssClasses(): string {\n return 'eui-button-group';\n }\n\n /**\n * Whether the buttons should behave like checkboxes (multiple selection)\n * @default false\n */\n @Input({ transform: booleanAttribute }) isCheckboxButtons = false;\n\n /**\n * Whether the buttons should behave like radio buttons (single selection)\n * @default false\n */\n @Input({ transform: booleanAttribute }) isRadioButtons = false;\n\n /**\n * Event emitted when any button in the group is clicked\n * Emits the clicked EuiButtonComponent instance\n */\n @Output() buttonClick: EventEmitter<EuiButtonComponent> = new EventEmitter<EuiButtonComponent>();\n\n /**\n * Query list of all EuiButtonComponent instances within the group\n */\n @ContentChildren(forwardRef(() => EuiButtonComponent)) buttons: QueryList<EuiButtonComponent>;\n\n /**\n * Initializes button click subscriptions after content is initialized\n */\n ngAfterContentInit(): void {\n this.buttons.map((b: EuiButtonComponent) => {\n b.buttonClick.subscribe(() => {\n this.handleInnerButtonClick(b);\n });\n });\n }\n\n /**\n * Handles button click events based on group configuration\n * - For checkbox buttons: Toggles the clicked button's checked state\n * - For radio buttons: Sets the clicked button as checked and unchecks others\n * - Emits the buttonClick event with the clicked button instance\n *\n * @param button - The EuiButtonComponent that was clicked\n * @internal\n */\n private handleInnerButtonClick(button: EuiButtonComponent): void {\n try {\n if (button.isChecked && this.isCheckboxButtons) {\n button.isChecked = false;\n } else {\n if (this.isRadioButtons) {\n this.buttons.find((b) => b.id === button.id).isChecked = true;\n this.buttons.forEach((b) => {\n if (b.id !== button.id) {\n b.isChecked = false;\n }\n });\n } else if (this.isCheckboxButtons) {\n this.buttons.find((b) => b.id === button.id).isChecked = true;\n }\n }\n\n this.buttonClick.emit(button);\n } catch (e) {\n console.log(e);\n }\n }\n}\n\n/**\n * @deprecated Import the standalone {@link EUI_BUTTON_GROUP} instead.\n * This module is maintained for backward compatibility.\n *\n */\n@NgModule({\n imports: [EuiButtonGroupComponent],\n exports: [EuiButtonGroupComponent],\n})\nexport class EuiButtonGroupModule {}\n","import { EuiButtonGroupComponent } from './eui-button-group.component';\n\nexport * from './eui-button-group.component';\n\nexport const EUI_BUTTON_GROUP = [\n EuiButtonGroupComponent,\n] as const;\n\n// export { EuiButtonGroupComponent as EuiButtonGroup } from './eui-button-group.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAiBA;;;AAG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AE;gBAME,cAAc,EAAA,CAAA;sBAArD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAM5B,WAAW,EAAA,CAAA;sBAApB;gBAKsD,OAAO,EAAA,CAAA;sBAA7D,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,CAAC,MAAM,kBAAkB,CAAC;;AA8CzD;;;;AAIG;MAKU,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAApB,oBAAoB,EAAA,OAAA,EAAA,CAnFpB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAAvB,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAmFvB,oBAAoB,EAAA,CAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA;;;ACzGY,MAAA,gBAAgB,GAAG;IAC5B,uBAAuB;;AAG3B;;ACRA;;AAEG;;;;"}
|
@@ -196,10 +196,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
196
196
|
const EUI_BUTTON = [
|
197
197
|
EuiButtonComponent,
|
198
198
|
];
|
199
|
+
// export { EuiButtonComponent as EuiButton } from './eui-button.component';
|
199
200
|
|
200
201
|
/**
|
201
202
|
* Generated bundle index. Do not edit.
|
202
203
|
*/
|
203
204
|
|
204
|
-
export {
|
205
|
+
export { EUI_BUTTON, EuiButtonComponent, EuiButtonModule };
|
205
206
|
//# sourceMappingURL=eui-components-eui-button.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-button.mjs","sources":["../../eui-button/eui-button.component.ts","../../eui-button/eui-button.component.html","../../eui-button/index.ts","../../eui-button/eui-components-eui-button.ts"],"sourcesContent":["import {\n NgModule,\n Component,\n HostBinding,\n HostListener,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Renderer2,\n ElementRef,\n booleanAttribute,\n inject,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\n\n/**\n * @description\n * A versatile button component that supports various states, sizes, and visual styles.\n * Can be used as either a button or anchor element with consistent styling.\n */\n@Component({\n templateUrl: './eui-button.component.html',\n // eslint-disable-next-line\n selector: 'button[euiButton], a[euiButton]',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiBranding',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeVariant',\n 'euiOutline',\n 'euiRounded',\n 'euiResponsive',\n 'euiStart',\n 'euiEnd',\n ],\n },\n ],\n})\nexport class EuiButtonComponent {\n /**\n * @description\n * Computes and returns the CSS classes for the button 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-button'),\n this.euiBasicButton ? 'eui-button--basic eui--basic' : '',\n this.euiBlockButton ? 'eui-button--block' : '',\n this.euiIconButton ? 'eui-button--icon-only' : '',\n this.euiLineWrap ? 'eui-button--line-wrap' : '',\n ]\n .join(' ')\n .trim();\n }\n\n /**\n * @description Data attribute for e2e testing\n * @default eui-button\n */\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-button';\n\n /** @description ID attribute for the button element */\n @HostBinding('attr.id')\n @Input() id: string;\n\n /**\n * @description When true, applies basic styling without background\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiBasicButton = false;\n\n /**\n * @description When true, styles the button as a call-to-action\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiButtonCall = false;\n\n /**\n * @description When true, makes the button full-width\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiBlockButton = false;\n\n /**\n * @description When true, styles the button for icon-only content\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiIconButton = false;\n\n /**\n * @description When true, allows text content to wrap\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiLineWrap = false;\n\n /**\n * @description\n * Controls the checked state of the button\n * When true, applies accent styling\n */\n @Input()\n public get isChecked(): boolean {\n return this._isChecked;\n }\n public set isChecked(value: BooleanInput) {\n this.baseStatesDirective.euiAccent = coerceBooleanProperty(value);\n this._isChecked = coerceBooleanProperty(value);\n }\n\n /**\n * @description\n * Controls the disabled state of the button\n * When true, adds the disabled attribute and prevents interaction\n */\n @Input()\n public get euiDisabled(): boolean {\n return this._euiDisabled;\n }\n public set euiDisabled(value: BooleanInput) {\n this._euiDisabled = coerceBooleanProperty(value);\n if (this._euiDisabled) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'disabled', 'true');\n } else {\n this._renderer.removeAttribute(this._elementRef.nativeElement, 'disabled');\n }\n }\n\n /**\n * @description\n * Event emitted when the button is clicked\n * Emits the button component instance\n */\n @Output() buttonClick: EventEmitter<EuiButtonComponent> = new EventEmitter<EuiButtonComponent>();\n\n public baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n protected _renderer: Renderer2 = inject(Renderer2);\n protected _elementRef: ElementRef<HTMLButtonElement> = inject(ElementRef);\n private _isChecked = false;\n private _euiDisabled = false;\n\n /**\n * @description\n * Click event handler that emits the buttonClick event\n * @private\n */\n @HostListener('click')\n protected onClick(): void {\n this.buttonClick.emit(this);\n }\n}\n\n/**\n * @description\n * Module that provides the EuiButton component.\n *\n * @deprecated Use {@link EUI_BUTTON} instead\n */\n@NgModule({\n imports: [EuiButtonComponent],\n exports: [EuiButtonComponent],\n})\nexport class EuiButtonModule {}\n","<span class=\"eui-button__container\">\n <ng-content></ng-content>\n</span>\n","import { EuiButtonComponent } from './eui-button.component';\n\nexport * from './eui-button.component';\n\nexport const EUI_BUTTON = [\n EuiButtonComponent,\n] as const;\n\nexport { EuiButtonComponent as EButton } from './eui-button.component';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAkBA;;;;AAIG;MAgCU,kBAAkB,CAAA;AA/B/B,IAAA,WAAA,GAAA;AAmDI;;;AAGG;QACoC,IAAO,CAAA,OAAA,GAAG,YAAY;AAM7D;;;AAGG;QACqC,IAAc,CAAA,cAAA,GAAG,KAAK;AAE9D;;;AAGG;QACqC,IAAa,CAAA,aAAA,GAAG,KAAK;AAE7D;;;AAGG;QACqC,IAAc,CAAA,cAAA,GAAG,KAAK;AAE9D;;;AAGG;QACqC,IAAa,CAAA,aAAA,GAAG,KAAK;AAE7D;;;AAGG;QACqC,IAAW,CAAA,WAAA,GAAG,KAAK;AAkC3D;;;;AAIG;AACO,QAAA,IAAA,CAAA,WAAW,GAAqC,IAAI,YAAY,EAAsB;AAEzF,QAAA,IAAA,CAAA,mBAAmB,GAAwB,MAAM,CAAC,mBAAmB,CAAC;AACnE,QAAA,IAAA,CAAA,SAAS,GAAc,MAAM,CAAC,SAAS,CAAC;AACxC,QAAA,IAAA,CAAA,WAAW,GAAkC,MAAM,CAAC,UAAU,CAAC;QACjE,IAAU,CAAA,UAAA,GAAG,KAAK;QAClB,IAAY,CAAA,YAAA,GAAG,KAAK;AAW/B;AAjHG;;;;;AAKG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,YAAY,CAAC;YACpD,IAAI,CAAC,cAAc,GAAG,8BAA8B,GAAG,EAAE;YACzD,IAAI,CAAC,cAAc,GAAG,mBAAmB,GAAG,EAAE;YAC9C,IAAI,CAAC,aAAa,GAAG,uBAAuB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;AAKG;MAKU,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAf,eAAe,EAAA,OAAA,EAAA,CA9Hf,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAAlB,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GA8HlB,eAAe,EAAA,CAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA;;;AE/KY,MAAA,UAAU,GAAG;IACtB,kBAAkB;;;ACLtB;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-button.mjs","sources":["../../eui-button/eui-button.component.ts","../../eui-button/eui-button.component.html","../../eui-button/index.ts","../../eui-button/eui-components-eui-button.ts"],"sourcesContent":["import {\n NgModule,\n Component,\n HostBinding,\n HostListener,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n Renderer2,\n ElementRef,\n booleanAttribute,\n inject,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\n\n/**\n * @description\n * A versatile button component that supports various states, sizes, and visual styles.\n * Can be used as either a button or anchor element with consistent styling.\n */\n@Component({\n templateUrl: './eui-button.component.html',\n // eslint-disable-next-line\n selector: 'button[euiButton], a[euiButton]',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiBranding',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeVariant',\n 'euiOutline',\n 'euiRounded',\n 'euiResponsive',\n 'euiStart',\n 'euiEnd',\n ],\n },\n ],\n})\nexport class EuiButtonComponent {\n /**\n * @description\n * Computes and returns the CSS classes for the button 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-button'),\n this.euiBasicButton ? 'eui-button--basic eui--basic' : '',\n this.euiBlockButton ? 'eui-button--block' : '',\n this.euiIconButton ? 'eui-button--icon-only' : '',\n this.euiLineWrap ? 'eui-button--line-wrap' : '',\n ]\n .join(' ')\n .trim();\n }\n\n /**\n * @description Data attribute for e2e testing\n * @default eui-button\n */\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-button';\n\n /** @description ID attribute for the button element */\n @HostBinding('attr.id')\n @Input() id: string;\n\n /**\n * @description When true, applies basic styling without background\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiBasicButton = false;\n\n /**\n * @description When true, styles the button as a call-to-action\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiButtonCall = false;\n\n /**\n * @description When true, makes the button full-width\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiBlockButton = false;\n\n /**\n * @description When true, styles the button for icon-only content\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiIconButton = false;\n\n /**\n * @description When true, allows text content to wrap\n * @default false\n */\n @Input({ transform: booleanAttribute }) euiLineWrap = false;\n\n /**\n * @description\n * Controls the checked state of the button\n * When true, applies accent styling\n */\n @Input()\n public get isChecked(): boolean {\n return this._isChecked;\n }\n public set isChecked(value: BooleanInput) {\n this.baseStatesDirective.euiAccent = coerceBooleanProperty(value);\n this._isChecked = coerceBooleanProperty(value);\n }\n\n /**\n * @description\n * Controls the disabled state of the button\n * When true, adds the disabled attribute and prevents interaction\n */\n @Input()\n public get euiDisabled(): boolean {\n return this._euiDisabled;\n }\n public set euiDisabled(value: BooleanInput) {\n this._euiDisabled = coerceBooleanProperty(value);\n if (this._euiDisabled) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'disabled', 'true');\n } else {\n this._renderer.removeAttribute(this._elementRef.nativeElement, 'disabled');\n }\n }\n\n /**\n * @description\n * Event emitted when the button is clicked\n * Emits the button component instance\n */\n @Output() buttonClick: EventEmitter<EuiButtonComponent> = new EventEmitter<EuiButtonComponent>();\n\n public baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n protected _renderer: Renderer2 = inject(Renderer2);\n protected _elementRef: ElementRef<HTMLButtonElement> = inject(ElementRef);\n private _isChecked = false;\n private _euiDisabled = false;\n\n /**\n * @description\n * Click event handler that emits the buttonClick event\n * @private\n */\n @HostListener('click')\n protected onClick(): void {\n this.buttonClick.emit(this);\n }\n}\n\n/**\n * @description\n * Module that provides the EuiButton component.\n *\n * @deprecated Use {@link EUI_BUTTON} instead\n */\n@NgModule({\n imports: [EuiButtonComponent],\n exports: [EuiButtonComponent],\n})\nexport class EuiButtonModule {}\n","<span class=\"eui-button__container\">\n <ng-content></ng-content>\n</span>\n","import { EuiButtonComponent } from './eui-button.component';\n\nexport * from './eui-button.component';\n\nexport const EUI_BUTTON = [\n EuiButtonComponent,\n] as const;\n\n// export { EuiButtonComponent as EuiButton } from './eui-button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAkBA;;;;AAIG;MAgCU,kBAAkB,CAAA;AA/B/B,IAAA,WAAA,GAAA;AAmDI;;;AAGG;QACoC,IAAO,CAAA,OAAA,GAAG,YAAY;AAM7D;;;AAGG;QACqC,IAAc,CAAA,cAAA,GAAG,KAAK;AAE9D;;;AAGG;QACqC,IAAa,CAAA,aAAA,GAAG,KAAK;AAE7D;;;AAGG;QACqC,IAAc,CAAA,cAAA,GAAG,KAAK;AAE9D;;;AAGG;QACqC,IAAa,CAAA,aAAA,GAAG,KAAK;AAE7D;;;AAGG;QACqC,IAAW,CAAA,WAAA,GAAG,KA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ROUP = [
|
48
48
|
EuiChipGroupComponent,
|
49
49
|
];
|
50
|
+
// export { EuiChipGroupComponent as EuiChipGroup } from './eui-chip-group.component';
|
50
51
|
|
51
52
|
/**
|
52
53
|
* Generated bundle index. Do not edit.
|
53
54
|
*/
|
54
55
|
|
55
|
-
export {
|
56
|
+
export { EUI_CHIP_GROUP, EuiChipGroupComponent, EuiChipGroupModule };
|
56
57
|
//# sourceMappingURL=eui-components-eui-chip-group.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-chip-group.mjs","sources":["../../eui-chip-group/eui-chip-group.component.ts","../../eui-chip-group/index.ts","../../eui-chip-group/eui-components-eui-chip-group.ts"],"sourcesContent":["import { Component, NgModule, ChangeDetectionStrategy, HostBinding } from '@angular/core';\n\n/**\n * A component that groups chip elements together.\n *\n */\n@Component({\n selector: 'eui-chip-group',\n template:'<ng-content/>',\n styleUrls: ['./eui-chip-group.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiChipGroupComponent {\n /**\n * Returns the CSS classes for the component.\n * This binds the 'eui-chip-group' class to the host element.\n *\n * @returns {string} The CSS class name\n */\n @HostBinding('class')\n get cssClasses(): string {\n return 'eui-chip-group';\n }\n}\n\n/**\n * Module that exports the EuiChipGroupComponent.\n * Import this module to use the chip group component in your application.\n *\n * @deprecated Use {@link EUI_CHIP_GROUP} instead.\n */\n@NgModule({\n imports: [EuiChipGroupComponent],\n exports: [EuiChipGroupComponent],\n})\nexport class EuiChipGroupModule {}\n","import { EuiChipGroupComponent } from './eui-chip-group.component';\n\nexport * from './eui-chip-group.component';\n\nexport const EUI_CHIP_GROUP = [\n EuiChipGroupComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-chip-group.mjs","sources":["../../eui-chip-group/eui-chip-group.component.ts","../../eui-chip-group/index.ts","../../eui-chip-group/eui-components-eui-chip-group.ts"],"sourcesContent":["import { Component, NgModule, ChangeDetectionStrategy, HostBinding } from '@angular/core';\n\n/**\n * A component that groups chip elements together.\n *\n */\n@Component({\n selector: 'eui-chip-group',\n template:'<ng-content/>',\n styleUrls: ['./eui-chip-group.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiChipGroupComponent {\n /**\n * Returns the CSS classes for the component.\n * This binds the 'eui-chip-group' class to the host element.\n *\n * @returns {string} The CSS class name\n */\n @HostBinding('class')\n get cssClasses(): string {\n return 'eui-chip-group';\n }\n}\n\n/**\n * Module that exports the EuiChipGroupComponent.\n * Import this module to use the chip group component in your application.\n *\n * @deprecated Use {@link EUI_CHIP_GROUP} instead.\n */\n@NgModule({\n imports: [EuiChipGroupComponent],\n exports: [EuiChipGroupComponent],\n})\nexport class EuiChipGroupModule {}\n","import { EuiChipGroupComponent } from './eui-chip-group.component';\n\nexport * from './eui-chip-group.component';\n\nexport const EUI_CHIP_GROUP = [\n EuiChipGroupComponent,\n] as const;\n\n// export { EuiChipGroupComponent as EuiChipGroup } from './eui-chip-group.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;;AAGG;MAOU,qBAAqB,CAAA;AAC9B;;;;;AAKG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,gBAAgB;;8GATlB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,gIAJrB,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,seAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EACjB,QAAA,EAAA,eAAe,EAEP,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,seAAA,CAAA,EAAA;8BAU3C,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;AAMxB;;;;;AAKG;MAKU,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAlB,kBAAkB,EAAA,OAAA,EAAA,CAvBlB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAArB,qBAAqB,CAAA,EAAA,CAAA,CAAA;+GAuBrB,kBAAkB,EAAA,CAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA;;;AC9BY,MAAA,cAAc,GAAG;IAC1B,qBAAqB;;AAGzB;;ACRA;;AAEG;;;;"}
|
@@ -110,7 +110,7 @@ class EuiChipComponent {
|
|
110
110
|
}
|
111
111
|
}
|
112
112
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: EuiChipComponent, deps: [{ token: i0.ElementRef }, { token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
113
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.8", type: EuiChipComponent, isStandalone: true, 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-
|
113
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.8", type: EuiChipComponent, isStandalone: true, 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-flat)}: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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "iconUrl", "fillColor", "size", "ariaLabel", "tabindex", "hasNoPadding", "hasFocusHoverColor", "hasFocusHoverBg", "euiRounded", "euiDisabled"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
114
114
|
}
|
115
115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImport: i0, type: EuiChipComponent, decorators: [{
|
116
116
|
type: Component,
|
@@ -135,7 +135,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
135
135
|
'euiDisabled',
|
136
136
|
],
|
137
137
|
},
|
138
|
-
], 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-
|
138
|
+
], 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-flat)}: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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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-flat);--_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"] }]
|
139
139
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.BaseStatesDirective }], propDecorators: { cssClasses: [{
|
140
140
|
type: HostBinding,
|
141
141
|
args: ['class']
|
@@ -221,10 +221,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
221
221
|
const EUI_CHIP = [
|
222
222
|
EuiChipComponent,
|
223
223
|
];
|
224
|
+
// export { EuiChipComponent as EuiChipV2 } from './eui-chip.component';
|
224
225
|
|
225
226
|
/**
|
226
227
|
* Generated bundle index. Do not edit.
|
227
228
|
*/
|
228
229
|
|
229
|
-
export {
|
230
|
+
export { EUI_CHIP, EuiChip, EuiChipComponent, EuiChipModule, EuiChipTooltip };
|
230
231
|
//# sourceMappingURL=eui-components-eui-chip.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-chip.mjs","sources":["../../eui-chip/eui-chip.component.ts","../../eui-chip/eui-chip.component.html","../../eui-chip/models/eui-chip.model.ts","../../eui-chip/eui-chip.module.ts","../../eui-chip/index.ts","../../eui-chip/eui-components-eui-chip.ts"],"sourcesContent":["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 { EUI_ICON, EuiIconSvgComponent } from '@eui/components/eui-icon';\n\nimport { EuiChip } from './models/eui-chip.model';\nimport { NgIf } from '@angular/common';\nimport { EUI_ICON_BUTTON } from '@eui/components/eui-icon-button';\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 imports: [\n NgIf,\n ...EUI_ICON,\n ...EUI_ICON_BUTTON,\n ],\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","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 { NgModule } from '@angular/core';\n\nimport { EuiChipComponent } from './eui-chip.component';\n\n/**\n * @description\n * Module that provides the EuiChip component and its dependencies\n * \n * @deprecated Use {@link EUI_CHIP} instead. \n */\n@NgModule({\n imports: [EuiChipComponent],\n exports: [EuiChipComponent],\n})\nexport class EuiChipModule {}\n","import { EuiChipComponent } from './eui-chip.component';\n\nexport * from './models/eui-chip.model';\nexport * from './eui-chip.component';\nexport * from './eui-chip.module';\n\nexport const EUI_CHIP = [\n EuiChipComponent,\n] as const;\n\nexport { EuiChip as IChip } from './models/eui-chip.model';\nexport { EuiChipComponent as Chip } from './eui-chip.component';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAuBA;;;;AAIG;MA8BU,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,IAAI,CAAA,IAAA,GAAG,QAAQ;AACzC;;;;AAIG;QACsC,IAAS,CAAA,SAAA,GAAG,cAAc;AAEnE;;;;AAIG;QAGH,IAAO,CAAA,OAAA,GAAG,UAAU;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S;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;;ACvBD;;;;;AAKG;MAKU,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAb,aAAa,EAAA,OAAA,EAAA,CAHZ,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAChB,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,YAHZ,gBAAgB,CAAA,EAAA,CAAA,CAAA;;2FAGjB,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,gBAAgB,CAAC;oBAC3B,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA;;;ACPY,MAAA,QAAQ,GAAG;IACpB,gBAAgB;;;ACPpB;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-chip.mjs","sources":["../../eui-chip/eui-chip.component.ts","../../eui-chip/eui-chip.component.html","../../eui-chip/models/eui-chip.model.ts","../../eui-chip/eui-chip.module.ts","../../eui-chip/index.ts","../../eui-chip/eui-components-eui-chip.ts"],"sourcesContent":["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 { EUI_ICON, EuiIconSvgComponent } from '@eui/components/eui-icon';\n\nimport { EuiChip } from './models/eui-chip.model';\nimport { NgIf } from '@angular/common';\nimport { EUI_ICON_BUTTON } from '@eui/components/eui-icon-button';\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 imports: [\n NgIf,\n ...EUI_ICON,\n ...EUI_ICON_BUTTON,\n ],\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","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 { NgModule } from '@angular/core';\n\nimport { EuiChipComponent } from './eui-chip.component';\n\n/**\n * @description\n * Module that provides the EuiChip component and its dependencies\n * \n * @deprecated Use {@link EUI_CHIP} instead. \n */\n@NgModule({\n imports: [EuiChipComponent],\n exports: [EuiChipComponent],\n})\nexport class EuiChipModule {}\n","import { EuiChipComponent } from './eui-chip.component';\n\nexport * from './models/eui-chip.model';\nexport * from './eui-chip.component';\nexport * from './eui-chip.module';\n\nexport const EUI_CHIP = [\n EuiChipComponent,\n] as const;\n\n// export { EuiChipComponent as EuiChipV2 } from './eui-chip.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';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AAA,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,YAHZ,gBAAgB,CAAA,EAAA,CAAA,CAAA;;2FAGjB,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,gBAAgB,CAAC;oBAC3B,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA;;;ACPY,MAAA,QAAQ,GAAG;IACpB,gBAAgB;;AAGpB;;ACVA;;AAEG;;;;"}
|
@@ -129,10 +129,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
129
129
|
const EUI_DIMMER = [
|
130
130
|
EuiDimmerComponent,
|
131
131
|
];
|
132
|
+
// export { EuiDimmerComponent as EuiDimmer } from './dimmer.component';
|
132
133
|
|
133
134
|
/**
|
134
135
|
* Generated bundle index. Do not edit.
|
135
136
|
*/
|
136
137
|
|
137
|
-
export {
|
138
|
+
export { EUI_DIMMER, EuiDimmerComponent, EuiDimmerModule };
|
138
139
|
//# sourceMappingURL=eui-components-eui-dimmer.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-dimmer.mjs","sources":["../../eui-dimmer/dimmer.component.ts","../../eui-dimmer/dimmer.module.ts","../../eui-dimmer/index.ts","../../eui-dimmer/eui-components-eui-dimmer.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\nimport { Event as NavigationEvent, NavigationStart, Router } from '@angular/router';\nimport { filter } from 'rxjs/operators';\n\nimport { EuiAppShellService } from '@eui/core';\n\n/**\n * EuiDimmerComponent provides a dimming overlay on the page.\n *\n * The dimmer can be manually activated by setting `isDimmerActive` to true,\n * or automatically controlled via browser navigation events.\n *\n */\n@Component({\n selector: 'eui-dimmer',\n template: '',\n changeDetection: ChangeDetectionStrategy.Default,\n styleUrls: ['./dimmer.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiDimmerComponent {\n /**\n * Gets the active state of the dimmer.\n *\n * @returns {boolean} True if dimmer is active, false otherwise.\n */\n @Input()\n get isDimmerActive(): boolean {\n return this._isDimmerActive;\n }\n /**\n * Sets the active state of the dimmer.\n *\n * @param {BooleanInput} value - The value to set for the dimmer active state.\n */\n set isDimmerActive(value: BooleanInput) {\n this._isDimmerActive = coerceBooleanProperty(value);\n }\n\n /**\n * Gets the CSS classes to apply to the host element.\n * Adds the 'eui-dimmer--active' class when the dimmer is active.\n *\n * @returns {string} The CSS classes as a space-separated string.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return ['eui-dimmer', this._isDimmerActive ? 'eui-dimmer--active' : ''].join(' ').trim();\n }\n\n /**\n * E2E testing attribute for the component.\n */\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-dimmer';\n\n /** The active state of the dimmer. */\n private _isDimmerActive: true | false = false;\n\n /** Debug flag to control logging. */\n private _DEBUG: true | false = false;\n\n /**\n * Creates an instance of EuiDimmerComponent.\n *\n * Listens to router navigation events to handle dimmer state during navigation,\n * particularly when the user navigates back in browser history.\n *\n * @param {EuiAppShellService} asService - The app shell service for dimmer state management.\n * @param {Router} router - The Angular router service for navigation event monitoring.\n */\n constructor(\n public asService: EuiAppShellService,\n router: Router,\n ) {\n // The events stream contains all the navigation events including the NavigationStart event\n // which gives information about what initiated the navigation sequence\n router.events.pipe(filter((event: NavigationEvent) => event instanceof NavigationStart)).subscribe((event: NavigationStart) => {\n if (this._DEBUG) {\n console.group('NavigationStart Event');\n // Every navigation sequence is given a unique ID.\n console.log('navigation id:', event.id);\n console.log('route:', event.url);\n // The 'navigationTrigger' will be one of:\n // - imperative : ie. user clicked on a link\n // - popstate : browser controlled change such as Back button which gets a new, unique ID\n // - hashchange\n // @See: https://angular.io/api/router/NavigationStart\n console.log('trigger:', event.navigationTrigger);\n // The 'restoredState' property is defined when the navigation event is triggered by a 'popstate' event\n // It will contain the ID of the previous navigation event from which the browser is returning\n }\n if (event.restoredState) {\n this.asService.setDimmerActiveState(false);\n this._isDimmerActive = false;\n if (this._DEBUG) {\n console.warn('restoring navigation id:', event.restoredState.navigationId);\n }\n }\n if (this._DEBUG) {\n console.groupEnd();\n }\n });\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { EuiDimmerComponent } from './dimmer.component';\n\n/**\n * Module for the EuiDimmer component.\n *\n * This module provides the EuiDimmerComponent which creates a dimming overlay\n * that can be used during loading states or navigation transitions.\n *\n * @deprecated Use {@link EUI_DIMMER} directly instead.\n */\n@NgModule({\n imports: [EuiDimmerComponent],\n exports: [EuiDimmerComponent],\n})\nexport class EuiDimmerModule {}\n","import { EuiDimmerComponent } from './dimmer.component';\n\nexport * from './dimmer.component';\nexport * from './dimmer.module';\n\nexport const EUI_DIMMER = [\n EuiDimmerComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-dimmer.mjs","sources":["../../eui-dimmer/dimmer.component.ts","../../eui-dimmer/dimmer.module.ts","../../eui-dimmer/index.ts","../../eui-dimmer/eui-components-eui-dimmer.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\nimport { Event as NavigationEvent, NavigationStart, Router } from '@angular/router';\nimport { filter } from 'rxjs/operators';\n\nimport { EuiAppShellService } from '@eui/core';\n\n/**\n * EuiDimmerComponent provides a dimming overlay on the page.\n *\n * The dimmer can be manually activated by setting `isDimmerActive` to true,\n * or automatically controlled via browser navigation events.\n *\n */\n@Component({\n selector: 'eui-dimmer',\n template: '',\n changeDetection: ChangeDetectionStrategy.Default,\n styleUrls: ['./dimmer.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiDimmerComponent {\n /**\n * Gets the active state of the dimmer.\n *\n * @returns {boolean} True if dimmer is active, false otherwise.\n */\n @Input()\n get isDimmerActive(): boolean {\n return this._isDimmerActive;\n }\n /**\n * Sets the active state of the dimmer.\n *\n * @param {BooleanInput} value - The value to set for the dimmer active state.\n */\n set isDimmerActive(value: BooleanInput) {\n this._isDimmerActive = coerceBooleanProperty(value);\n }\n\n /**\n * Gets the CSS classes to apply to the host element.\n * Adds the 'eui-dimmer--active' class when the dimmer is active.\n *\n * @returns {string} The CSS classes as a space-separated string.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return ['eui-dimmer', this._isDimmerActive ? 'eui-dimmer--active' : ''].join(' ').trim();\n }\n\n /**\n * E2E testing attribute for the component.\n */\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-dimmer';\n\n /** The active state of the dimmer. */\n private _isDimmerActive: true | false = false;\n\n /** Debug flag to control logging. */\n private _DEBUG: true | false = false;\n\n /**\n * Creates an instance of EuiDimmerComponent.\n *\n * Listens to router navigation events to handle dimmer state during navigation,\n * particularly when the user navigates back in browser history.\n *\n * @param {EuiAppShellService} asService - The app shell service for dimmer state management.\n * @param {Router} router - The Angular router service for navigation event monitoring.\n */\n constructor(\n public asService: EuiAppShellService,\n router: Router,\n ) {\n // The events stream contains all the navigation events including the NavigationStart event\n // which gives information about what initiated the navigation sequence\n router.events.pipe(filter((event: NavigationEvent) => event instanceof NavigationStart)).subscribe((event: NavigationStart) => {\n if (this._DEBUG) {\n console.group('NavigationStart Event');\n // Every navigation sequence is given a unique ID.\n console.log('navigation id:', event.id);\n console.log('route:', event.url);\n // The 'navigationTrigger' will be one of:\n // - imperative : ie. user clicked on a link\n // - popstate : browser controlled change such as Back button which gets a new, unique ID\n // - hashchange\n // @See: https://angular.io/api/router/NavigationStart\n console.log('trigger:', event.navigationTrigger);\n // The 'restoredState' property is defined when the navigation event is triggered by a 'popstate' event\n // It will contain the ID of the previous navigation event from which the browser is returning\n }\n if (event.restoredState) {\n this.asService.setDimmerActiveState(false);\n this._isDimmerActive = false;\n if (this._DEBUG) {\n console.warn('restoring navigation id:', event.restoredState.navigationId);\n }\n }\n if (this._DEBUG) {\n console.groupEnd();\n }\n });\n }\n}\n","import { NgModule } from '@angular/core';\n\nimport { EuiDimmerComponent } from './dimmer.component';\n\n/**\n * Module for the EuiDimmer component.\n *\n * This module provides the EuiDimmerComponent which creates a dimming overlay\n * that can be used during loading states or navigation transitions.\n *\n * @deprecated Use {@link EUI_DIMMER} directly instead.\n */\n@NgModule({\n imports: [EuiDimmerComponent],\n exports: [EuiDimmerComponent],\n})\nexport class EuiDimmerModule {}\n","import { EuiDimmerComponent } from './dimmer.component';\n\nexport * from './dimmer.component';\nexport * from './dimmer.module';\n\nexport const EUI_DIMMER = [\n EuiDimmerComponent,\n] as const;\n\n// export { EuiDimmerComponent as EuiDimmer } from './dimmer.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA;;;;;;AAMG;MAQU,kBAAkB,CAAA;AAC3B;;;;AAIG;AACH,IAAA,IACI,cAAc,GAAA;QACd,OAAO,IAAI,CAAC,eAAe;;AAE/B;;;;AAIG;IACH,IAAI,cAAc,CAAC,KAAmB,EAAA;AAClC,QAAA,IAAI,CAAC,eAAe,GAAG,qBAAqB,CAAC,KAAK,CAAC;;AAGvD;;;;;AAKG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,eAAe,GAAG,oBAAoB,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAc5F;;;;;;;;AAQG;IACH,WACW,CAAA,SAA6B,EACpC,MAAc,EAAA;QADP,IAAS,CAAA,SAAA,GAAT,SAAS;AArBpB;;AAEG;QACoC,IAAO,CAAA,OAAA,GA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T = [
|
143
143
|
EuiDisableContentComponent,
|
144
144
|
];
|
145
|
+
// export { EuiDisableContentComponent as EuiDisableContent } from './eui-disable-content.component';
|
145
146
|
|
146
147
|
/**
|
147
148
|
* Generated bundle index. Do not edit.
|
148
149
|
*/
|
149
150
|
|
150
|
-
export {
|
151
|
+
export { EUI_DISABLE_CONTENT, EuiDisableContentComponent, EuiDisableContentModule };
|
151
152
|
//# sourceMappingURL=eui-components-eui-disable-content.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-disable-content.mjs","sources":["../../eui-disable-content/eui-disable-content.component.ts","../../eui-disable-content/index.ts","../../eui-disable-content/eui-components-eui-disable-content.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n effect,\n ElementRef,\n HostListener,\n inject,\n input,\n NgModule,\n OnChanges,\n Renderer2,\n SimpleChange,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiGrowlService } from '@eui/core';\n\n/**\n * @description\n * Component that provides functionality to disable content and show a visual overlay.\n * When disabled, it adds a semi-transparent overlay and handles focus management.\n */\n@Component({\n selector: 'eui-disable-content',\n template: '<ng-content/>',\n styleUrls: ['./eui-disable-content.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiDisableContentComponent implements OnChanges {\n /**\n * Text to display in an eui-growl (type info) notification when clicking\n * the disabled content.\n */\n disabledText = input('');\n\n /**\n * Controls whether the content is disabled. If disabled, a semi-transparent\n * overlay with spinner is shown.\n */\n isDisabled = input(null, { transform: booleanAttribute });\n\n /** Stores the last active element before disabling */\n private lastActiveElement: HTMLElement = null;\n /** Reference to the component's element */\n private elRef: ElementRef = inject(ElementRef);\n /** Service for displaying growl notifications */\n private growlService: EuiGrowlService = inject(EuiGrowlService);\n /** Renderer for DOM manipulations */\n private renderer: Renderer2 = inject(Renderer2);\n\n /**\n * Initializes the component and sets up an effect to handle disabled state changes\n */\n constructor() {\n effect(() => {\n const disabled = this.isDisabled();\n if(disabled) {\n this.renderer.addClass(this.elRef.nativeElement, 'eui-disable-content--disabled');\n } else {\n this.renderer.removeClass(this.elRef.nativeElement, 'eui-disable-content--disabled');\n }\n });\n }\n\n /**\n * Handles changes to component inputs\n * @param changes Object containing changed properties\n */\n ngOnChanges(changes: SimpleChanges): void {\n if(changes['isDisabled']) {\n const change: SimpleChange = changes['isDisabled'];\n const isBlocking = change.currentValue && !change.previousValue;\n\n if (isBlocking) {\n const activeElement = this.getActiveElement();\n this.desactivateElement(activeElement);\n } else {\n this.reactivateElement();\n }\n }\n }\n\n /**\n * Checks if the component is about to enter a blocked state\n * @param change The change object to evaluate\n * @returns True if the component is transitioning to blocked state\n * @deprecated It will become private in the next major version.\n * @internal\n */\n isAboutToBlock(change: SimpleChange): boolean {\n return change && change.currentValue && !change.previousValue;\n }\n\n /**\n * Stores the currently active element before disabling\n * @param activeElement The element to deactivate\n * @deprecated It will become private in the next major version.\n * @internal\n */\n desactivateElement(activeElement: HTMLElement): void {\n if (activeElement) {\n this.lastActiveElement = activeElement;\n } else {\n this.lastActiveElement = null;\n }\n }\n\n /**\n * Reactivates the last active element\n * @deprecated It will become private in the next major version.\n * @internal\n */\n reactivateElement(): void {\n if (this.lastActiveElement) {\n // TODO CHECK\n }\n }\n\n /**\n * Gets the currently focused element within the component\n * @returns The focused HTML element or null\n * @deprecated It will become private in the next major version.\n * @internal\n */\n getActiveElement(): HTMLElement {\n return this.elRef.nativeElement.querySelector(':focus');\n }\n\n /**\n * Handles click events on the disabled content\n * Shows a growl notification if content is disabled and has disabled text\n * @deprecated It will become private in the next major version.\n * @internal\n */\n @HostListener('click')\n protected onClick(): void {\n if (this.isDisabled() && this.disabledText()) {\n this.growlService.growlInfo(this.disabledText());\n }\n }\n}\n\n/**\n * Module that declares and exports the EuiDisableContentComponent\n *\n * @deprecated Use the {@link EUI_DISABLE_CONTENT} directly instead of this module.\n */\n@NgModule({\n imports: [EuiDisableContentComponent],\n exports: [EuiDisableContentComponent],\n})\nexport class EuiDisableContentModule {}\n","import { EuiDisableContentComponent } from './eui-disable-content.component';\n\nexport * from './eui-disable-content.component';\n\nexport const EUI_DISABLE_CONTENT = [\n EuiDisableContentComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-disable-content.mjs","sources":["../../eui-disable-content/eui-disable-content.component.ts","../../eui-disable-content/index.ts","../../eui-disable-content/eui-components-eui-disable-content.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n effect,\n ElementRef,\n HostListener,\n inject,\n input,\n NgModule,\n OnChanges,\n Renderer2,\n SimpleChange,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiGrowlService } from '@eui/core';\n\n/**\n * @description\n * Component that provides functionality to disable content and show a visual overlay.\n * When disabled, it adds a semi-transparent overlay and handles focus management.\n */\n@Component({\n selector: 'eui-disable-content',\n template: '<ng-content/>',\n styleUrls: ['./eui-disable-content.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiDisableContentComponent implements OnChanges {\n /**\n * Text to display in an eui-growl (type info) notification when clicking\n * the disabled content.\n */\n disabledText = input('');\n\n /**\n * Controls whether the content is disabled. If disabled, a semi-transparent\n * overlay with spinner is shown.\n */\n isDisabled = input(null, { transform: booleanAttribute });\n\n /** Stores the last active element before disabling */\n private lastActiveElement: HTMLElement = null;\n /** Reference to the component's element */\n private elRef: ElementRef = inject(ElementRef);\n /** Service for displaying growl notifications */\n private growlService: EuiGrowlService = inject(EuiGrowlService);\n /** Renderer for DOM manipulations */\n private renderer: Renderer2 = inject(Renderer2);\n\n /**\n * Initializes the component and sets up an effect to handle disabled state changes\n */\n constructor() {\n effect(() => {\n const disabled = this.isDisabled();\n if(disabled) {\n this.renderer.addClass(this.elRef.nativeElement, 'eui-disable-content--disabled');\n } else {\n this.renderer.removeClass(this.elRef.nativeElement, 'eui-disable-content--disabled');\n }\n });\n }\n\n /**\n * Handles changes to component inputs\n * @param changes Object containing changed properties\n */\n ngOnChanges(changes: SimpleChanges): void {\n if(changes['isDisabled']) {\n const change: SimpleChange = changes['isDisabled'];\n const isBlocking = change.currentValue && !change.previousValue;\n\n if (isBlocking) {\n const activeElement = this.getActiveElement();\n this.desactivateElement(activeElement);\n } else {\n this.reactivateElement();\n }\n }\n }\n\n /**\n * Checks if the component is about to enter a blocked state\n * @param change The change object to evaluate\n * @returns True if the component is transitioning to blocked state\n * @deprecated It will become private in the next major version.\n * @internal\n */\n isAboutToBlock(change: SimpleChange): boolean {\n return change && change.currentValue && !change.previousValue;\n }\n\n /**\n * Stores the currently active element before disabling\n * @param activeElement The element to deactivate\n * @deprecated It will become private in the next major version.\n * @internal\n */\n desactivateElement(activeElement: HTMLElement): void {\n if (activeElement) {\n this.lastActiveElement = activeElement;\n } else {\n this.lastActiveElement = null;\n }\n }\n\n /**\n * Reactivates the last active element\n * @deprecated It will become private in the next major version.\n * @internal\n */\n reactivateElement(): void {\n if (this.lastActiveElement) {\n // TODO CHECK\n }\n }\n\n /**\n * Gets the currently focused element within the component\n * @returns The focused HTML element or null\n * @deprecated It will become private in the next major version.\n * @internal\n */\n getActiveElement(): HTMLElement {\n return this.elRef.nativeElement.querySelector(':focus');\n }\n\n /**\n * Handles click events on the disabled content\n * Shows a growl notification if content is disabled and has disabled text\n * @deprecated It will become private in the next major version.\n * @internal\n */\n @HostListener('click')\n protected onClick(): void {\n if (this.isDisabled() && this.disabledText()) {\n this.growlService.growlInfo(this.disabledText());\n }\n }\n}\n\n/**\n * Module that declares and exports the EuiDisableContentComponent\n *\n * @deprecated Use the {@link EUI_DISABLE_CONTENT} directly instead of this module.\n */\n@NgModule({\n imports: [EuiDisableContentComponent],\n exports: [EuiDisableContentComponent],\n})\nexport class EuiDisableContentModule {}\n","import { EuiDisableContentComponent } from './eui-disable-content.component';\n\nexport * from './eui-disable-content.component';\n\nexport const EUI_DISABLE_CONTENT = [\n EuiDisableContentComponent,\n] as const;\n\n// export { EuiDisableContentComponent as EuiDisableContent } from './eui-disable-content.component';\n","/**\n * Generated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A,qBAAqB,EACrB,QAAA,EAAA,eAAe,EAEV,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,MAAA,EAAA,CAAA,6ZAAA,CAAA,EAAA;wDA6G3B,OAAO,EAAA,CAAA;sBADhB,YAAY;uBAAC,OAAO;;AAQzB;;;;AAIG;MAKU,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAvB,uBAAuB,EAAA,OAAA,EAAA,CA3HvB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAA1B,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GA2H1B,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACxC,iBAAA;;;AClJY,MAAA,mBAAmB,GAAG;IAC/B,0BAA0B;;AAG9B;;ACRA;;AAEG;;;;"}
|
@@ -108,10 +108,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
108
108
|
const EUI_FEEDBACK_MESSAGE = [
|
109
109
|
EuiFeedbackMessageComponent,
|
110
110
|
];
|
111
|
+
// export { EuiFeedbackMessageComponent as EuiFeedbackMessage } from './eui-feedback-message.component';
|
111
112
|
|
112
113
|
/**
|
113
114
|
* Generated bundle index. Do not edit.
|
114
115
|
*/
|
115
116
|
|
116
|
-
export {
|
117
|
+
export { EUI_FEEDBACK_MESSAGE, EuiFeedbackMessageComponent, EuiFeedbackMessageModule };
|
117
118
|
//# sourceMappingURL=eui-components-eui-feedback-message.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-feedback-message.mjs","sources":["../../eui-feedback-message/eui-feedback-message.component.ts","../../eui-feedback-message/eui-feedback-message.component.html","../../eui-feedback-message/eui-feedback-message.module.ts","../../eui-feedback-message/index.ts","../../eui-feedback-message/eui-components-eui-feedback-message.ts"],"sourcesContent":["import { Component, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EUI_ICON_STATE } from '@eui/components/eui-icon-state';\n\n/**\n * @description\n * A feedback message component that displays various types of feedback to users.\n * Supports different states (primary, secondary, info, etc.) and can be muted.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'eui-feedback-message',\n templateUrl: './eui-feedback-message.component.html',\n styleUrls: ['./styles/_index.scss'],\n imports: [\n ...EUI_ICON_STATE,\n ],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiInfo',\n 'euiWarning',\n 'euiSuccess',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n ],\n },\n ],\n})\nexport class EuiFeedbackMessageComponent {\n /**\n * @description\n * Computes and returns the CSS classes for the feedback message component.\n * Combines base state classes with muted state if applicable.\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-feedback-message'),\n this.isMuted ? 'eui-feedback-message--muted' : '',\n ].join(' ').trim();\n }\n\n /**\n * @description\n * Type attribute bound to the host element.\n * Used to identify the component type in the DOM.\n *\n * @protected\n */\n @HostBinding('attr.type') protected type = 'MessageFeedback';\n\n /**\n * @description\n * Controls whether the feedback message should be displayed in a muted state.\n * When true, the message will have reduced visual prominence. The status\n * icon won't show before the message.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isMuted = false;\n\n /**\n * @description\n * Instance of BaseStatesDirective used to manage component states.\n * Injected using the inject function.\n *\n * @protected\n */\n protected baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n}\n","@if (!isMuted) {\n <eui-icon-state [euiVariant]=\"baseStatesDirective.euiVariant\" />\n}\n<div class=\"eui-feedback-message__content\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\nimport { EuiFeedbackMessageComponent } from './eui-feedback-message.component';\n\n/**\n * @description\n * Module that provides the EuiFeedbackMessage component.\n * Includes necessary dependencies and exports the component for use in other modules.\n *\n * @deprecated Use {@link EUI_FEEDBACK_MESSAGE} instead.\n *\n */\n@NgModule({\n imports: [EuiFeedbackMessageComponent],\n exports: [EuiFeedbackMessageComponent],\n})\nexport class EuiFeedbackMessageModule {}\n","import { EuiFeedbackMessageComponent } from './eui-feedback-message.component';\n\nexport * from './eui-feedback-message.component';\nexport * from './eui-feedback-message.module';\n\nexport const EUI_FEEDBACK_MESSAGE = [\n EuiFeedbackMessageComponent,\n] as const;\n\
|
1
|
+
{"version":3,"file":"eui-components-eui-feedback-message.mjs","sources":["../../eui-feedback-message/eui-feedback-message.component.ts","../../eui-feedback-message/eui-feedback-message.component.html","../../eui-feedback-message/eui-feedback-message.module.ts","../../eui-feedback-message/index.ts","../../eui-feedback-message/eui-components-eui-feedback-message.ts"],"sourcesContent":["import { Component, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EUI_ICON_STATE } from '@eui/components/eui-icon-state';\n\n/**\n * @description\n * A feedback message component that displays various types of feedback to users.\n * Supports different states (primary, secondary, info, etc.) and can be muted.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'eui-feedback-message',\n templateUrl: './eui-feedback-message.component.html',\n styleUrls: ['./styles/_index.scss'],\n imports: [\n ...EUI_ICON_STATE,\n ],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiInfo',\n 'euiWarning',\n 'euiSuccess',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n ],\n },\n ],\n})\nexport class EuiFeedbackMessageComponent {\n /**\n * @description\n * Computes and returns the CSS classes for the feedback message component.\n * Combines base state classes with muted state if applicable.\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-feedback-message'),\n this.isMuted ? 'eui-feedback-message--muted' : '',\n ].join(' ').trim();\n }\n\n /**\n * @description\n * Type attribute bound to the host element.\n * Used to identify the component type in the DOM.\n *\n * @protected\n */\n @HostBinding('attr.type') protected type = 'MessageFeedback';\n\n /**\n * @description\n * Controls whether the feedback message should be displayed in a muted state.\n * When true, the message will have reduced visual prominence. The status\n * icon won't show before the message.\n *\n * @default false\n */\n @Input({ transform: booleanAttribute }) isMuted = false;\n\n /**\n * @description\n * Instance of BaseStatesDirective used to manage component states.\n * Injected using the inject function.\n *\n * @protected\n */\n protected baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n}\n","@if (!isMuted) {\n <eui-icon-state [euiVariant]=\"baseStatesDirective.euiVariant\" />\n}\n<div class=\"eui-feedback-message__content\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\nimport { EuiFeedbackMessageComponent } from './eui-feedback-message.component';\n\n/**\n * @description\n * Module that provides the EuiFeedbackMessage component.\n * Includes necessary dependencies and exports the component for use in other modules.\n *\n * @deprecated Use {@link EUI_FEEDBACK_MESSAGE} instead.\n *\n */\n@NgModule({\n imports: [EuiFeedbackMessageComponent],\n exports: [EuiFeedbackMessageComponent],\n})\nexport class EuiFeedbackMessageModule {}\n","import { EuiFeedbackMessageComponent } from './eui-feedback-message.component';\n\nexport * from './eui-feedback-message.component';\nexport * from './eui-feedback-message.module';\n\nexport const EUI_FEEDBACK_MESSAGE = [\n EuiFeedbackMessageComponent,\n] as const;\n\n// export { EuiFeedbackMessageComponent as EuiFeedbackMessage } from './eui-feedback-message.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAIA;;;;AAIG;MAyBU,2BAA2B,CAAA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