@eui/ecl 22.0.0-alpha.35 → 22.0.0-alpha.37
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/changelog.html +47 -0
- package/docs/components/EclAccordionSummaryComponent.html +2 -2
- package/docs/components/EclAddToCalendarComponent.html +2 -2
- package/docs/components/EclAnimatedNumbersComponent.html +2 -2
- package/docs/components/EclAnimatedNumbersItemComponent.html +2 -2
- package/docs/components/EclAppComponent.html +2 -2
- package/docs/components/EclBannerComponent.html +2 -2
- package/docs/components/EclBlockquoteComponent.html +2 -2
- package/docs/components/EclBreadcrumbComponent.html +2 -2
- package/docs/components/EclBreadcrumbSegmentComponent.html +2 -2
- package/docs/components/EclButtonComponent.html +2 -2
- package/docs/components/EclCardBodyComponent.html +2 -2
- package/docs/components/EclCardComponent.html +2 -2
- package/docs/components/EclCarouselComponent.html +2 -2
- package/docs/components/EclCarouselItemComponent.html +2 -2
- package/docs/components/EclCategoryFilterComponent.html +2 -2
- package/docs/components/EclCategoryFilterItemComponent.html +2 -2
- package/docs/components/EclCategoryFilterListComponent.html +2 -2
- package/docs/components/EclCheckboxHelpComponent.html +2 -2
- package/docs/components/EclCheckboxLabelComponent.html +2 -2
- package/docs/components/EclContentBlockComponent.html +2 -2
- package/docs/components/EclContentItemComponent.html +2 -2
- package/docs/components/EclDateBlockComponent.html +2 -2
- package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
- package/docs/components/EclExpandableComponent.html +2 -2
- package/docs/components/EclFactFiguresComponent.html +2 -2
- package/docs/components/EclFactFiguresItemComponent.html +2 -2
- package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
- package/docs/components/EclFeaturedComponent.html +2 -2
- package/docs/components/EclFeaturedItemComponent.html +2 -2
- package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
- package/docs/components/EclFileComponent.html +2 -2
- package/docs/components/EclFileItemComponent.html +2 -2
- package/docs/components/EclFileItemsComponent.html +2 -2
- package/docs/components/EclFileListsComponent.html +2 -2
- package/docs/components/EclFormGroupComponent.html +2 -2
- package/docs/components/EclFormLabelComponent.html +2 -2
- package/docs/components/EclGalleryComponent.html +2 -2
- package/docs/components/EclGalleryFooterComponent.html +2 -2
- package/docs/components/EclGalleryItemComponent.html +2 -2
- package/docs/components/EclHighlightBoxComponent.html +2 -2
- package/docs/components/EclHighlightedSearchComponent.html +2 -2
- package/docs/components/EclIconComponent.html +2 -2
- package/docs/components/EclIndicatorComponent.html +2 -2
- package/docs/components/EclInpageNavigationComponent.html +2 -2
- package/docs/components/EclInpageNavigationItemComponent.html +2 -2
- package/docs/components/EclLayoutWrapperComponent.html +2 -2
- package/docs/components/EclListIllustrationComponent.html +2 -2
- package/docs/components/EclListIllustrationItemComponent.html +2 -2
- package/docs/components/EclLoadingIndicatorComponent.html +2 -2
- package/docs/components/EclMediaContainerComponent.html +2 -2
- package/docs/components/EclMegaMenuComponent.html +2 -2
- package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
- package/docs/components/EclMegaMenuInfoComponent.html +2 -2
- package/docs/components/EclMegaMenuItemComponent.html +2 -2
- package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
- package/docs/components/EclMenuComponent.html +2 -2
- package/docs/components/EclMenuItemComponent.html +2 -2
- package/docs/components/EclMenuMegaComponent.html +2 -2
- package/docs/components/EclMenuMegaItemComponent.html +2 -2
- package/docs/components/EclModalBodyComponent.html +2 -2
- package/docs/components/EclModalComponent.html +2 -2
- package/docs/components/EclModalFooterComponent.html +2 -2
- package/docs/components/EclModalHeaderComponent.html +2 -2
- package/docs/components/EclMultiselectComponent.html +2 -2
- package/docs/components/EclMultiselectDropdownComponent.html +2 -2
- package/docs/components/EclMultiselectInputComponent.html +2 -2
- package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
- package/docs/components/EclMultiselectOptionComponent.html +2 -2
- package/docs/components/EclNavigationListComponent.html +2 -2
- package/docs/components/EclNavigationListItemComponent.html +2 -2
- package/docs/components/EclNewsTickerComponent.html +2 -2
- package/docs/components/EclNewsTickerItemComponent.html +2 -2
- package/docs/components/EclNotificationComponent.html +2 -2
- package/docs/components/EclPageHeaderComponent.html +5 -115
- package/docs/components/EclPageHeaderDescriptionContainerComponent.html +2 -2
- package/docs/components/EclPageHeaderExpandableComponent.html +2 -2
- package/docs/components/EclPageHeaderSectionComponent.html +2 -2
- package/docs/components/EclPageHeaderSectionInfoComponent.html +2 -2
- package/docs/components/EclPageSummaryComponent.html +2 -2
- package/docs/components/EclPaginationComponent.html +2 -2
- package/docs/components/EclPaginationItemComponent.html +2 -2
- package/docs/components/EclPopoverComponent.html +2 -2
- package/docs/components/EclQuizCardComponent.html +2 -2
- package/docs/components/EclQuizComponent.html +2 -2
- package/docs/components/EclRadioHelpComponent.html +2 -2
- package/docs/components/EclRadioLabelComponent.html +2 -2
- package/docs/components/EclRangeBubbleComponent.html +2 -2
- package/docs/components/EclRangeValueComponent.html +2 -2
- package/docs/components/EclRatingFieldComponent.html +2 -2
- package/docs/components/EclSearchFormComponent.html +2 -2
- package/docs/components/EclSelectContainerComponent.html +2 -2
- package/docs/components/EclSiteFooterComponent.html +2 -2
- package/docs/components/EclSiteFooterCoownerComponent.html +2 -2
- package/docs/components/EclSiteFooterCoreComponent.html +2 -2
- package/docs/components/EclSiteFooterFeedbackComponent.html +2 -2
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
- package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
- package/docs/components/EclSiteHeaderActionComponent.html +2 -2
- package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
- package/docs/components/EclSiteHeaderComponent.html +2 -2
- package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
- package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
- package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
- package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
- package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
- package/docs/components/EclSloganTickerComponent.html +2 -2
- package/docs/components/EclSocialMediaFollowComponent.html +2 -2
- package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
- package/docs/components/EclSplashPageComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
- package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
- package/docs/components/EclSpotlightComponent.html +2 -2
- package/docs/components/EclSpotlightLinkComponent.html +2 -2
- package/docs/components/EclStickyContainerComponent.html +2 -2
- package/docs/components/EclStoryCardComponent.html +2 -2
- package/docs/components/EclStoryCardGridDetailsComponent.html +2 -2
- package/docs/components/EclStoryCardItemComponent.html +2 -2
- package/docs/components/EclTabComponent.html +2 -2
- package/docs/components/EclTabLabelComponent.html +2 -2
- package/docs/components/EclTableSortButtonComponent.html +2 -2
- package/docs/components/EclTabsComponent.html +2 -2
- package/docs/components/EclTagComponent.html +2 -2
- package/docs/components/EclTextMediaComponent.html +2 -2
- package/docs/components/EclTimelineComponent.html +2 -2
- package/docs/components/EclTimelineItemComponent.html +2 -2
- package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
- package/docs/directives/ECLBaseDirective.html +3 -3
- package/docs/directives/EclContainerDirective.html +1 -1
- package/docs/directives/EclPageHeaderBackgroundImageDirective.html +1 -1
- package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +1 -1
- package/docs/directives/EclPageHeaderContainerDirective.html +1 -1
- package/docs/directives/EclPageHeaderDescriptionDirective.html +1 -1
- package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +1 -1
- package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +1 -1
- package/docs/directives/EclPageHeaderExpandableHeaderDirective.html +1 -1
- package/docs/directives/EclPageHeaderInfoDirective.html +1 -1
- package/docs/directives/EclPageHeaderMetaDirective.html +1 -1
- package/docs/directives/EclPageHeaderMetaItemDirective.html +1 -1
- package/docs/directives/EclPageHeaderTitleDirective.html +1 -1
- package/docs/js/menu-wc.js +1 -10
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclIndicatorComponent.md +1 -1
- package/docs/json/EclIndicatorLabelDirective.md +1 -1
- package/docs/json/EclPageHeaderComponent.md +1 -1
- package/docs/json/documentation.json +72 -560
- package/docs/llms.txt +17 -60
- package/docs/miscellaneous/variables.html +20 -21
- package/docs/overview.html +2 -2
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs +4 -48
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +5 -75
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-link.d.ts +19 -43
- package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-header.d.ts +5 -42
- package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
- package/docs/components/EclIndicatorComponent-1.html +0 -458
- package/docs/components/EclPageHeaderNextComponent.html +0 -717
- package/docs/directives/EclIndicatorLabelDirective-1.html +0 -422
- package/docs/json/EclPageHeaderNextComponent.md +0 -18
package/docs/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# eui documentation
|
|
2
2
|
|
|
3
|
-
> Generated by compodoc 2.0.0 at 2026-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-10-01T14:10:28.447Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -1025,16 +1025,6 @@ Description: Component for indicating special content inside the ECL Button. Aut
|
|
|
1025
1025
|
Properties:
|
|
1026
1026
|
- `hasClass: unknown = true` — Applies the ecl-indicator CSS class.
|
|
1027
1027
|
|
|
1028
|
-
### EclIndicatorComponent
|
|
1029
|
-
|
|
1030
|
-
File: `packages/ecl/components/ecl-link/ecl-indicator/ecl-indicator.component.ts`
|
|
1031
|
-
Selector: `[eclIndicator]`
|
|
1032
|
-
|
|
1033
|
-
Description: Component for indicating special content inside the ECL Link. Automatically applies the ecl-indicator CSS class.
|
|
1034
|
-
|
|
1035
|
-
Properties:
|
|
1036
|
-
- `hasClass: unknown = true` — Applies the ecl-indicator CSS class.
|
|
1037
|
-
|
|
1038
1028
|
### EclInpageNavigationComponent
|
|
1039
1029
|
|
|
1040
1030
|
File: `packages/ecl/components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts`
|
|
@@ -1970,8 +1960,7 @@ Methods:
|
|
|
1970
1960
|
### EclPageHeaderComponent
|
|
1971
1961
|
|
|
1972
1962
|
File: `packages/ecl/components/ecl-page-header/ecl-page-header.component.ts`
|
|
1973
|
-
Selector: `
|
|
1974
|
-
Deprecated: (deprecated: Use `div[eclPageHeader]` instead. To be removed in v23.)
|
|
1963
|
+
Selector: `div[eclPageHeader]`
|
|
1975
1964
|
|
|
1976
1965
|
Description: ECL Page Header component, wraps header content and handles background images and breadcrumb styling.
|
|
1977
1966
|
|
|
@@ -1984,7 +1973,6 @@ Inputs:
|
|
|
1984
1973
|
- `tabindex: number`
|
|
1985
1974
|
|
|
1986
1975
|
Properties:
|
|
1987
|
-
- `eclBackgroundPicture: unknown = contentChild(EclPageHeaderBackgroundPictureDirective)` — Reference to the background picture directive, if present.
|
|
1988
1976
|
- `eclBreadcrumbComponent: unknown = contentChild(EclBreadcrumbComponent)` — Reference to the ECL breadcrumb inside the header.
|
|
1989
1977
|
|
|
1990
1978
|
Methods:
|
|
@@ -2025,27 +2013,6 @@ Methods:
|
|
|
2025
2013
|
- `onExpandButtonClick(): void`
|
|
2026
2014
|
- `getCssClasses(rootClass: string): string`
|
|
2027
2015
|
|
|
2028
|
-
### EclPageHeaderNextComponent
|
|
2029
|
-
|
|
2030
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-next/ecl-page-header-next.component.ts`
|
|
2031
|
-
Selector: `div[eclPageHeader]`
|
|
2032
|
-
|
|
2033
|
-
Description: ECL Page Header component, wraps header content and handles background images and breadcrumb styling.
|
|
2034
|
-
|
|
2035
|
-
Inputs:
|
|
2036
|
-
- `descriptionPosition: "top" | "bottom" = 'top'`
|
|
2037
|
-
- `hasBackground: boolean = false`
|
|
2038
|
-
- `picturePosition: "top" | "beside" | "bottom" = 'top'`
|
|
2039
|
-
- `class: string`
|
|
2040
|
-
- `e2eAttr: any`
|
|
2041
|
-
- `tabindex: number`
|
|
2042
|
-
|
|
2043
|
-
Properties:
|
|
2044
|
-
- `eclBreadcrumbComponent: unknown = contentChild(EclBreadcrumbComponent)` — Reference to the ECL breadcrumb inside the header.
|
|
2045
|
-
|
|
2046
|
-
Methods:
|
|
2047
|
-
- `getCssClasses(rootClass: string): string`
|
|
2048
|
-
|
|
2049
2016
|
### EclPageHeaderSectionComponent
|
|
2050
2017
|
|
|
2051
2018
|
File: `packages/ecl/components/ecl-page-header/ecl-page-header-section/ecl-page-header-section.component.ts`
|
|
@@ -3682,7 +3649,7 @@ Methods:
|
|
|
3682
3649
|
|
|
3683
3650
|
### EclContainerDirective
|
|
3684
3651
|
|
|
3685
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-info.directive.ts`
|
|
3652
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-info.directive.ts`
|
|
3686
3653
|
Selector: `[eclContainer]`
|
|
3687
3654
|
|
|
3688
3655
|
Inputs:
|
|
@@ -4513,16 +4480,6 @@ Description: Directive for indicating special content inside the ECL Button. Aut
|
|
|
4513
4480
|
Properties:
|
|
4514
4481
|
- `hasClass: unknown = true` — Applies the ecl-indicator\_\_label CSS class.
|
|
4515
4482
|
|
|
4516
|
-
### EclIndicatorLabelDirective
|
|
4517
|
-
|
|
4518
|
-
File: `packages/ecl/components/ecl-link/ecl-indicator/ecl-indicator.directive.ts`
|
|
4519
|
-
Selector: `[eclIndicatorLabel]`
|
|
4520
|
-
|
|
4521
|
-
Description: Directive for indicating special content inside the ECL Link. Automatically applies the ecl-indicator\_\_label CSS class.
|
|
4522
|
-
|
|
4523
|
-
Properties:
|
|
4524
|
-
- `hasClass: unknown = true` — Applies the ecl-indicator\_\_label CSS class.
|
|
4525
|
-
|
|
4526
4483
|
### EclInpageNavigationListDirective
|
|
4527
4484
|
|
|
4528
4485
|
File: `packages/ecl/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts`
|
|
@@ -5173,7 +5130,7 @@ Methods:
|
|
|
5173
5130
|
|
|
5174
5131
|
### EclPageHeaderBackgroundImageDirective
|
|
5175
5132
|
|
|
5176
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-background.directive.ts`
|
|
5133
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-background.directive.ts`
|
|
5177
5134
|
Selector: `[eclPageHeaderBackgroundImage]`
|
|
5178
5135
|
|
|
5179
5136
|
Description: Styles the background image inside the page header.
|
|
@@ -5188,7 +5145,7 @@ Methods:
|
|
|
5188
5145
|
|
|
5189
5146
|
### EclPageHeaderBackgroundPictureDirective
|
|
5190
5147
|
|
|
5191
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-background.directive.ts`
|
|
5148
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-background.directive.ts`
|
|
5192
5149
|
Selector: `[eclPageHeaderBackgroundPicture]`
|
|
5193
5150
|
|
|
5194
5151
|
Description: Styles the background picture inside the page header.
|
|
@@ -5203,7 +5160,7 @@ Methods:
|
|
|
5203
5160
|
|
|
5204
5161
|
### EclPageHeaderContainerDirective
|
|
5205
5162
|
|
|
5206
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-info.directive.ts`
|
|
5163
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-info.directive.ts`
|
|
5207
5164
|
Selector: `[eclPageHeaderContainer]`
|
|
5208
5165
|
|
|
5209
5166
|
Inputs:
|
|
@@ -5216,7 +5173,7 @@ Methods:
|
|
|
5216
5173
|
|
|
5217
5174
|
### EclPageHeaderDescriptionDirective
|
|
5218
5175
|
|
|
5219
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-description.directive.ts`
|
|
5176
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-description.directive.ts`
|
|
5220
5177
|
Selector: `p[eclPageHeaderDescription]`
|
|
5221
5178
|
|
|
5222
5179
|
Description: Styles the text description in the page header.
|
|
@@ -5231,7 +5188,7 @@ Methods:
|
|
|
5231
5188
|
|
|
5232
5189
|
### EclPageHeaderDescriptionPictureDirective
|
|
5233
5190
|
|
|
5234
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-description.directive.ts`
|
|
5191
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-description.directive.ts`
|
|
5235
5192
|
Selector: `[eclPageHeaderDescriptionPicture]`
|
|
5236
5193
|
|
|
5237
5194
|
Description: Styles a picture used in the page header description.
|
|
@@ -5246,7 +5203,7 @@ Methods:
|
|
|
5246
5203
|
|
|
5247
5204
|
### EclPageHeaderDescriptionThumbnailDirective
|
|
5248
5205
|
|
|
5249
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-description.directive.ts`
|
|
5206
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-description.directive.ts`
|
|
5250
5207
|
Selector: `[eclPageHeaderDescriptionThumbnail], img[eclPageHeaderDescriptionImage]`
|
|
5251
5208
|
|
|
5252
5209
|
Description: Styles a thumbnail or image in the page header description.
|
|
@@ -5261,7 +5218,7 @@ Methods:
|
|
|
5261
5218
|
|
|
5262
5219
|
### EclPageHeaderExpandableHeaderDirective
|
|
5263
5220
|
|
|
5264
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-title.directive.ts`
|
|
5221
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-title.directive.ts`
|
|
5265
5222
|
Selector: `[eclPageHeaderExpandableHeader]`
|
|
5266
5223
|
|
|
5267
5224
|
Description: Styles the header section for the page header expandable component.
|
|
@@ -5276,7 +5233,7 @@ Methods:
|
|
|
5276
5233
|
|
|
5277
5234
|
### EclPageHeaderInfoDirective
|
|
5278
5235
|
|
|
5279
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-info.directive.ts`
|
|
5236
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-info.directive.ts`
|
|
5280
5237
|
Selector: `[eclPageHeaderInfo]`
|
|
5281
5238
|
|
|
5282
5239
|
Description: Styles the info section in the page header.
|
|
@@ -5291,7 +5248,7 @@ Methods:
|
|
|
5291
5248
|
|
|
5292
5249
|
### EclPageHeaderMetaDirective
|
|
5293
5250
|
|
|
5294
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-meta.directive.ts`
|
|
5251
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-meta.directive.ts`
|
|
5295
5252
|
Selector: `[eclPageHeaderMeta]`
|
|
5296
5253
|
|
|
5297
5254
|
Description: Styles the meta section in the page header.
|
|
@@ -5306,7 +5263,7 @@ Methods:
|
|
|
5306
5263
|
|
|
5307
5264
|
### EclPageHeaderMetaItemDirective
|
|
5308
5265
|
|
|
5309
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-meta.directive.ts`
|
|
5266
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-meta.directive.ts`
|
|
5310
5267
|
Selector: `[eclPageHeaderMetaItem]`
|
|
5311
5268
|
|
|
5312
5269
|
Description: Styles individual meta items in the page header.
|
|
@@ -5324,7 +5281,7 @@ Methods:
|
|
|
5324
5281
|
|
|
5325
5282
|
### EclPageHeaderTitleDirective
|
|
5326
5283
|
|
|
5327
|
-
File: `packages/ecl/components/ecl-page-header/ecl-page-header-title.directive.ts`
|
|
5284
|
+
File: `packages/ecl/components/ecl-page-header/ecl-page-header-directives/ecl-page-header-title.directive.ts`
|
|
5328
5285
|
Selector: `[eclPageHeaderTitle]`
|
|
5329
5286
|
|
|
5330
5287
|
Description: Styles the title section in the page header.
|
|
@@ -7396,10 +7353,10 @@ Properties:
|
|
|
7396
7353
|
|
|
7397
7354
|
## Public variables
|
|
7398
7355
|
|
|
7399
|
-
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7400
|
-
Defined in `packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts`
|
|
7401
7356
|
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7402
7357
|
Defined in `packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts`
|
|
7358
|
+
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7359
|
+
Defined in `packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts`
|
|
7403
7360
|
- `ARROW_SIZE: string = '0.5rem'` — Half the arrow's own width, matching ECL's arrowSize .
|
|
7404
7361
|
Defined in `packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts`
|
|
7405
7362
|
- `AVAILABLE_NON_EU_LOGO_COUNTRY_CODES: string[] = ['ar', 'ca', 'is', 'jp', 'lb', 'no', 'ru', 'sw', 'tr', 'uk', 'zh'] as const`
|
|
@@ -7504,7 +7461,7 @@ Properties:
|
|
|
7504
7461
|
Defined in `packages/ecl/components/ecl-news-ticker/index.ts`
|
|
7505
7462
|
- `EUI_ECL_NOTIFICATION: unknown = [ EclNotificationComponent, EclNotificationTitleDirective, EclNotificationIconDirective, EclNotificationLinkDirective, ] as const`
|
|
7506
7463
|
Defined in `packages/ecl/components/ecl-notification/index.ts`
|
|
7507
|
-
- `EUI_ECL_PAGE_HEADER: unknown = [ EclPageHeaderComponent,
|
|
7464
|
+
- `EUI_ECL_PAGE_HEADER: unknown = [ EclPageHeaderComponent, EclPageHeaderContainerDirective, EclPageHeaderExpandableComponent, EclPageHeaderExpandableHeaderDirective, EclPageHeaderInfoDirective,…`
|
|
7508
7465
|
Defined in `packages/ecl/components/ecl-page-header/index.ts`
|
|
7509
7466
|
- `EUI_ECL_PAGE_INFORMATION: unknown = [ EclPageInformationDirective, ] as const`
|
|
7510
7467
|
Defined in `packages/ecl/components/ecl-page-information/index.ts`
|
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
<td class="col-md-4">
|
|
139
139
|
<ul class="index-list">
|
|
140
140
|
<li>
|
|
141
|
-
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/
|
|
141
|
+
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-language.component.ts)</span></a>
|
|
142
142
|
</li>
|
|
143
143
|
<li>
|
|
144
|
-
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/
|
|
144
|
+
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-login.component.ts)</span></a>
|
|
145
145
|
</li>
|
|
146
146
|
<li>
|
|
147
147
|
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-search.component.ts)</span></a>
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
</table>
|
|
412
412
|
</section>
|
|
413
413
|
|
|
414
|
-
<h3>packages/ecl/components/ecl-site-header/
|
|
414
|
+
<h3>packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts</h3>
|
|
415
415
|
<section data-compodoc="block-properties">
|
|
416
416
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
417
417
|
<tbody>
|
|
@@ -445,67 +445,67 @@
|
|
|
445
445
|
|
|
446
446
|
</tbody>
|
|
447
447
|
</table>
|
|
448
|
-
|
|
448
|
+
</section>
|
|
449
|
+
<h3>packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts</h3>
|
|
450
|
+
<section data-compodoc="block-properties">
|
|
451
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
449
452
|
<tbody>
|
|
450
453
|
<tr>
|
|
451
454
|
<td class="col-md-4">
|
|
452
|
-
<a name="
|
|
455
|
+
<a name="ARROW_SIZE"></a>
|
|
453
456
|
<span class="name">
|
|
454
|
-
<span ><b>
|
|
455
|
-
<a href="#
|
|
457
|
+
<span ><b>ARROW_SIZE</b></span>
|
|
458
|
+
<a href="#ARROW_SIZE"><span class="icon ion-ios-link"></span></a>
|
|
456
459
|
</span>
|
|
457
460
|
</td>
|
|
458
461
|
</tr>
|
|
459
462
|
<tr>
|
|
460
463
|
<td class="col-md-4">
|
|
461
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/
|
|
464
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
462
465
|
|
|
463
466
|
</td>
|
|
464
467
|
</tr>
|
|
465
468
|
<tr>
|
|
466
469
|
<td class="col-md-4">
|
|
467
|
-
<i>Default value : </i><code
|
|
470
|
+
<i>Default value : </i><code>'0.5rem'</code>
|
|
468
471
|
</td>
|
|
469
472
|
</tr>
|
|
470
473
|
|
|
471
474
|
<tr>
|
|
472
475
|
<td class="col-md-4">
|
|
473
|
-
<div class="io-description"><p>
|
|
476
|
+
<div class="io-description"><p>Half the arrow's own width, matching ECL's <code>arrowSize</code>.</p>
|
|
474
477
|
</div>
|
|
475
478
|
</td>
|
|
476
479
|
</tr>
|
|
477
480
|
|
|
478
481
|
</tbody>
|
|
479
482
|
</table>
|
|
480
|
-
|
|
481
|
-
<h3>packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts</h3>
|
|
482
|
-
<section data-compodoc="block-properties">
|
|
483
|
-
<h3></h3> <table class="table table-sm table-bordered">
|
|
483
|
+
<table class="table table-sm table-bordered">
|
|
484
484
|
<tbody>
|
|
485
485
|
<tr>
|
|
486
486
|
<td class="col-md-4">
|
|
487
|
-
<a name="
|
|
487
|
+
<a name="RESIZE_DEBOUNCE"></a>
|
|
488
488
|
<span class="name">
|
|
489
|
-
<span ><b>
|
|
490
|
-
<a href="#
|
|
489
|
+
<span ><b>RESIZE_DEBOUNCE</b></span>
|
|
490
|
+
<a href="#RESIZE_DEBOUNCE"><span class="icon ion-ios-link"></span></a>
|
|
491
491
|
</span>
|
|
492
492
|
</td>
|
|
493
493
|
</tr>
|
|
494
494
|
<tr>
|
|
495
495
|
<td class="col-md-4">
|
|
496
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/
|
|
496
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
497
497
|
|
|
498
498
|
</td>
|
|
499
499
|
</tr>
|
|
500
500
|
<tr>
|
|
501
501
|
<td class="col-md-4">
|
|
502
|
-
<i>Default value : </i><code
|
|
502
|
+
<i>Default value : </i><code>200</code>
|
|
503
503
|
</td>
|
|
504
504
|
</tr>
|
|
505
505
|
|
|
506
506
|
<tr>
|
|
507
507
|
<td class="col-md-4">
|
|
508
|
-
<div class="io-description"><p>
|
|
508
|
+
<div class="io-description"><p>Debounce for the resize recomputation, matching ECL's <code>handleResize</code>.</p>
|
|
509
509
|
</div>
|
|
510
510
|
</td>
|
|
511
511
|
</tr>
|
|
@@ -2406,7 +2406,6 @@
|
|
|
2406
2406
|
<td class="col-md-4">
|
|
2407
2407
|
<i>Default value : </i><code>[
|
|
2408
2408
|
EclPageHeaderComponent,
|
|
2409
|
-
EclPageHeaderNextComponent,
|
|
2410
2409
|
EclPageHeaderContainerDirective,
|
|
2411
2410
|
EclPageHeaderExpandableComponent,
|
|
2412
2411
|
EclPageHeaderExpandableHeaderDirective,
|
package/docs/overview.html
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
<div class="card text-center">
|
|
130
130
|
<div class="card-block">
|
|
131
131
|
<h4 class="card-title"><span class="icon ion-md-cog"></span></h4>
|
|
132
|
-
<p class="card-text">
|
|
132
|
+
<p class="card-text">129 Components</p>
|
|
133
133
|
</div>
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
<div class="card text-center">
|
|
138
138
|
<div class="card-block">
|
|
139
139
|
<h4 class="card-title"><span class="icon ion-md-code-working"></span></h4>
|
|
140
|
-
<p class="card-text">
|
|
140
|
+
<p class="card-text">212 Directives</p>
|
|
141
141
|
</div>
|
|
142
142
|
</div>
|
|
143
143
|
</div>
|
package/docs/properties.html
CHANGED
|
@@ -1,54 +1,10 @@
|
|
|
1
|
+
import { EclIndicatorComponent, EclIndicatorLabelDirective } from '@eui/ecl/components/ecl-button';
|
|
2
|
+
export { EclIndicatorComponent, EclIndicatorLabelDirective } from '@eui/ecl/components/ecl-button';
|
|
1
3
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { HostBinding,
|
|
4
|
+
import { HostBinding, Directive, inject, ElementRef, Renderer2, input, booleanAttribute, contentChildren, forwardRef, computed, effect } from '@angular/core';
|
|
3
5
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
6
|
import { EclIconComponent } from '@eui/ecl/components/ecl-icon';
|
|
5
7
|
|
|
6
|
-
/**
|
|
7
|
-
* Component for indicating special content inside the ECL Link.
|
|
8
|
-
* Automatically applies the `ecl-indicator` CSS class.
|
|
9
|
-
*/
|
|
10
|
-
class EclIndicatorComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
/**
|
|
13
|
-
* Applies the `ecl-indicator` CSS class.
|
|
14
|
-
*/
|
|
15
|
-
this.hasClass = true;
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: EclIndicatorComponent, isStandalone: true, selector: "[eclIndicator]", host: { properties: { "class.ecl-indicator": "this.hasClass" } }, ngImport: i0, template: "<span class=\"ecl-indicator__value\"><ng-content></ng-content></span>\n<ng-content select=\"[eclIndicatorLabel]\"></ng-content>" }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclIndicatorComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: '[eclIndicator]', template: "<span class=\"ecl-indicator__value\"><ng-content></ng-content></span>\n<ng-content select=\"[eclIndicatorLabel]\"></ng-content>" }]
|
|
23
|
-
}], propDecorators: { hasClass: [{
|
|
24
|
-
type: HostBinding,
|
|
25
|
-
args: ['class.ecl-indicator']
|
|
26
|
-
}] } });
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Directive for indicating special content inside the ECL Link.
|
|
30
|
-
* Automatically applies the `ecl-indicator__label` CSS class.
|
|
31
|
-
*/
|
|
32
|
-
class EclIndicatorLabelDirective {
|
|
33
|
-
constructor() {
|
|
34
|
-
/**
|
|
35
|
-
* Applies the `ecl-indicator__label` CSS class.
|
|
36
|
-
*/
|
|
37
|
-
this.hasClass = true;
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclIndicatorLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
40
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclIndicatorLabelDirective, isStandalone: true, selector: "[eclIndicatorLabel]", host: { properties: { "class.ecl-indicator__label": "this.hasClass" } }, ngImport: i0 }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclIndicatorLabelDirective, decorators: [{
|
|
43
|
-
type: Directive,
|
|
44
|
-
args: [{
|
|
45
|
-
selector: '[eclIndicatorLabel]',
|
|
46
|
-
}]
|
|
47
|
-
}], propDecorators: { hasClass: [{
|
|
48
|
-
type: HostBinding,
|
|
49
|
-
args: ['class.ecl-indicator__label']
|
|
50
|
-
}] } });
|
|
51
|
-
|
|
52
8
|
class EclLinkLabelDirective extends ECLBaseDirective {
|
|
53
9
|
get cssClasses() {
|
|
54
10
|
return [super.getCssClasses('ecl-link__label')].join(' ').trim();
|
|
@@ -221,5 +177,5 @@ const EUI_ECL_LINK = [
|
|
|
221
177
|
* Generated bundle index. Do not edit.
|
|
222
178
|
*/
|
|
223
179
|
|
|
224
|
-
export { EUI_ECL_LINK,
|
|
180
|
+
export { EUI_ECL_LINK, EclLinkDirective, EclLinkIconContainerDirective, EclLinkLabelDirective };
|
|
225
181
|
//# sourceMappingURL=eui-ecl-components-ecl-link.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-link.mjs","sources":["../../components/ecl-link/ecl-indicator/ecl-indicator.component.ts","../../components/ecl-link/ecl-indicator/ecl-indicator.component.html","../../components/ecl-link/ecl-indicator/ecl-indicator.directive.ts","../../components/ecl-link/ecl-link-label.directive.ts","../../components/ecl-link/ecl-link.directive.ts","../../components/ecl-link/index.ts","../../components/ecl-link/eui-ecl-components-ecl-link.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\n\n/**\n * Component for indicating special content inside the ECL Link.\n * Automatically applies the `ecl-indicator` CSS class.\n */\n@Component({\n selector: '[eclIndicator]',\n templateUrl: './ecl-indicator.component.html',\n})\nexport class EclIndicatorComponent {\n /**\n * Applies the `ecl-indicator` CSS class.\n */\n @HostBinding('class.ecl-indicator') hasClass = true;\n}\n","<span class=\"ecl-indicator__value\"><ng-content></ng-content></span>\n<ng-content select=\"[eclIndicatorLabel]\"></ng-content>","import { Directive, HostBinding } from '@angular/core';\n\n/**\n * Directive for indicating special content inside the ECL Link.\n * Automatically applies the `ecl-indicator__label` CSS class.\n */\n@Directive({\n selector: '[eclIndicatorLabel]',\n})\nexport class EclIndicatorLabelDirective {\n /**\n * Applies the `ecl-indicator__label` CSS class.\n */\n @HostBinding('class.ecl-indicator__label') hasClass = true;\n}\n","import { Directive, HostBinding } from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclLinkLabel]',\n})\nexport class EclLinkLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link__label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclLinkIconContainer]',\n})\nexport class EclLinkIconContainerDirective {\n @HostBinding('class.ecl-link__icon-container') hasClass = true;\n}\n","import { booleanAttribute, contentChildren, Directive, ElementRef, HostBinding, inject, input, Renderer2, effect, computed, forwardRef } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * 'eclLink' directive is used to add some styling to the defalt HTML anchor component. In order to comply with ECL standards.\n */\n@Directive({\n selector: '[eclLink]',\n})\nexport class EclLinkDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n renderer = inject(Renderer2);\n\n /**\n * Additional HTML attributes to be set on the link element.\n * Used e.g. by social-media-follow for passing extra_attributes.\n */\n extraAttributes = input<{ name: string; value?: string | null }[] | undefined>();\n\n /**\n * Property to style the component as 'inverted' (with dark background). Can be used alone or with 'standalone' variant.\n */\n isInverted = input(false, { transform: booleanAttribute });\n\n /**\n * Property to style the component if it consist only of an icon.\n */\n isIconOnly = input(false, { transform: booleanAttribute });\n\n /** Adds class for hightlighted link (works only with 'primary' variant)\n * @deprecated - to be removed in v23. Use variant='primary-highlight', as only primary variant can be highlighted.\n */\n isHighlight = input(false, { transform: booleanAttribute });\n\n /**\n * @deprecated - will be removed in v21. Deprecated on ECL side.\n */\n isNoVisited = input(false, { transform: booleanAttribute });\n\n isBranded = input(false, { transform: booleanAttribute });\n\n /**\n * With 'variant' property user can add some more specific styling to the <a> component.\n */\n variant = input<'standalone' | 'primary' | 'secondary' | 'secondary-neutral' | 'primary-neutral' | 'primary-highlight'>();\n\n eclIconComponents = contentChildren(forwardRef(() => EclIconComponent), { descendants: true });\n\n constructor() {\n super();\n effect(() => {\n const attrs = this.extraAttributes();\n if (attrs && attrs.length) {\n attrs.forEach((attr) => {\n if (attr?.name) {\n this.el.nativeElement.setAttribute(attr.name, attr.value ?? '');\n }\n });\n }\n });\n\n // Add 'ecl-link__icon' class to child icons reactively.\n effect(() => {\n const icons = this.eclIconComponents();\n if (icons?.length > 0) {\n icons.forEach((icn) => {\n icn.addExtraClass('ecl-link__icon');\n });\n }\n });\n }\n\n @HostBinding('class.ecl-link--inverted')\n get hostIsInverted(): boolean {\n return (!this.variant() || this.variant() === 'standalone') && this.isInverted();\n }\n\n @HostBinding('class.ecl-link--brand')\n get hostIsBranded(): boolean {\n return (!this.variant() || this.variant() === 'standalone') && this.isBranded();\n }\n\n @HostBinding('class.ecl-link--icon-only')\n get hostIsIconOnly(): boolean {\n return this.isIconOnly();\n }\n\n @HostBinding('class.ecl-link--icon')\n get hasIcon(): boolean {\n return this._hasIcon();\n }\n\n private _hasIcon = computed(() => {\n return this.eclIconComponents()?.length > 0;\n });\n\n /**\n * Adds speific ECL classes to the <a> component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n const variantClass = this.variant()\n ? (this.variant() === 'secondary' && this.isInverted()\n ? 'ecl-link--secondary-inverted'\n : `ecl-link--${this.variant()}`)\n : '';\n\n return [super.getCssClasses('ecl-link'),\n variantClass,\n (this.variant() === 'primary' && this.isHighlight()) ? 'ecl-link--primary-highlight' : '',\n ].join(' ').trim();\n }\n\n /**\n * Calls the native focus() method of the default HTML element.\n */\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n\n /**\n * Calls the native click() method of the default HTML element.\n */\n onClick(): void {\n this.el.nativeElement.click();\n }\n\n /**\n * Calls the native blur() method of the default HTML element.\n */\n onBlur(): void {\n this.el.nativeElement.blur();\n }\n}\n","import { EclIndicatorComponent } from './ecl-indicator/ecl-indicator.component';\nimport { EclIndicatorLabelDirective } from './ecl-indicator/ecl-indicator.directive';\nimport { EclLinkIconContainerDirective, EclLinkLabelDirective } from './ecl-link-label.directive';\nimport { EclLinkDirective } from './ecl-link.directive';\n\nexport * from './ecl-link.directive';\nexport * from './ecl-link-label.directive';\nexport * from './ecl-indicator/ecl-indicator.component';\nexport * from './ecl-indicator/ecl-indicator.directive';\n\nexport const EUI_ECL_LINK = [\n EclLinkDirective, EclLinkLabelDirective, EclLinkIconContainerDirective, EclIndicatorComponent,\n EclIndicatorLabelDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAEA;;;AAGG;MAKU,qBAAqB,CAAA;AAJlC,IAAA,WAAA,GAAA;AAKI;;AAEG;QACiC,IAAA,CAAA,QAAQ,GAAG,IAAI;AACtD,IAAA;8GALY,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,4ICVlC,iIACsD,E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.ts","../../components/ecl-link/ecl-link.directive.ts","../../components/ecl-link/index.ts","../../components/ecl-link/eui-ecl-components-ecl-link.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclLinkLabel]',\n})\nexport class EclLinkLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-link__label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclLinkIconContainer]',\n})\nexport class EclLinkIconContainerDirective {\n @HostBinding('class.ecl-link__icon-container') hasClass = true;\n}\n","import { booleanAttribute, contentChildren, Directive, ElementRef, HostBinding, inject, input, Renderer2, effect, computed, forwardRef } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * 'eclLink' directive is used to add some styling to the defalt HTML anchor component. In order to comply with ECL standards.\n */\n@Directive({\n selector: '[eclLink]',\n})\nexport class EclLinkDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n renderer = inject(Renderer2);\n\n /**\n * Additional HTML attributes to be set on the link element.\n * Used e.g. by social-media-follow for passing extra_attributes.\n */\n extraAttributes = input<{ name: string; value?: string | null }[] | undefined>();\n\n /**\n * Property to style the component as 'inverted' (with dark background). Can be used alone or with 'standalone' variant.\n */\n isInverted = input(false, { transform: booleanAttribute });\n\n /**\n * Property to style the component if it consist only of an icon.\n */\n isIconOnly = input(false, { transform: booleanAttribute });\n\n /** Adds class for hightlighted link (works only with 'primary' variant)\n * @deprecated - to be removed in v23. Use variant='primary-highlight', as only primary variant can be highlighted.\n */\n isHighlight = input(false, { transform: booleanAttribute });\n\n /**\n * @deprecated - will be removed in v21. Deprecated on ECL side.\n */\n isNoVisited = input(false, { transform: booleanAttribute });\n\n isBranded = input(false, { transform: booleanAttribute });\n\n /**\n * With 'variant' property user can add some more specific styling to the <a> component.\n */\n variant = input<'standalone' | 'primary' | 'secondary' | 'secondary-neutral' | 'primary-neutral' | 'primary-highlight'>();\n\n eclIconComponents = contentChildren(forwardRef(() => EclIconComponent), { descendants: true });\n\n constructor() {\n super();\n effect(() => {\n const attrs = this.extraAttributes();\n if (attrs && attrs.length) {\n attrs.forEach((attr) => {\n if (attr?.name) {\n this.el.nativeElement.setAttribute(attr.name, attr.value ?? '');\n }\n });\n }\n });\n\n // Add 'ecl-link__icon' class to child icons reactively.\n effect(() => {\n const icons = this.eclIconComponents();\n if (icons?.length > 0) {\n icons.forEach((icn) => {\n icn.addExtraClass('ecl-link__icon');\n });\n }\n });\n }\n\n @HostBinding('class.ecl-link--inverted')\n get hostIsInverted(): boolean {\n return (!this.variant() || this.variant() === 'standalone') && this.isInverted();\n }\n\n @HostBinding('class.ecl-link--brand')\n get hostIsBranded(): boolean {\n return (!this.variant() || this.variant() === 'standalone') && this.isBranded();\n }\n\n @HostBinding('class.ecl-link--icon-only')\n get hostIsIconOnly(): boolean {\n return this.isIconOnly();\n }\n\n @HostBinding('class.ecl-link--icon')\n get hasIcon(): boolean {\n return this._hasIcon();\n }\n\n private _hasIcon = computed(() => {\n return this.eclIconComponents()?.length > 0;\n });\n\n /**\n * Adds speific ECL classes to the <a> component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n const variantClass = this.variant()\n ? (this.variant() === 'secondary' && this.isInverted()\n ? 'ecl-link--secondary-inverted'\n : `ecl-link--${this.variant()}`)\n : '';\n\n return [super.getCssClasses('ecl-link'),\n variantClass,\n (this.variant() === 'primary' && this.isHighlight()) ? 'ecl-link--primary-highlight' : '',\n ].join(' ').trim();\n }\n\n /**\n * Calls the native focus() method of the default HTML element.\n */\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n\n /**\n * Calls the native click() method of the default HTML element.\n */\n onClick(): void {\n this.el.nativeElement.click();\n }\n\n /**\n * Calls the native blur() method of the default HTML element.\n */\n onBlur(): void {\n this.el.nativeElement.blur();\n }\n}\n","import { EclIndicatorComponent, EclIndicatorLabelDirective } from '@eui/ecl/components/ecl-button';\nimport { EclLinkIconContainerDirective, EclLinkLabelDirective } from './ecl-link-label.directive';\nimport { EclLinkDirective } from './ecl-link.directive';\n\nexport * from './ecl-link.directive';\nexport * from './ecl-link-label.directive';\n// The indicator component/directive are shared with ecl-button; re-exported here\n// so the ecl-link entry point keeps exposing them (non-breaking) while a single\n// EclIndicatorComponent class exists (avoids NG0912 component ID collision).\nexport { EclIndicatorComponent, EclIndicatorLabelDirective } from '@eui/ecl/components/ecl-button';\n\nexport const EUI_ECL_LINK = [\n EclLinkDirective, EclLinkLabelDirective, EclLinkIconContainerDirective, EclIndicatorComponent,\n EclIndicatorLabelDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAOM,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AACvD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACpE;8GAJS,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,gBAAgB;AAC7B,iBAAA;;sBAEI,WAAW;uBAAC,OAAO;;MASX,6BAA6B,CAAA;AAH1C,IAAA,WAAA,GAAA;QAImD,IAAA,CAAA,QAAQ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,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,qzCAqC4B,gBAAgB,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FArC5D,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,WAAW;AACxB,iBAAA;izBAsCuC,UAAU,CAAC,MAAM,gBAAgB,CAAC,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA;sBA0B5F,WAAW;uBAAC,0BAA0B;;sBAKtC,WAAW;uBAAC,uBAAuB;;sBAKnC,WAAW;uBAAC,2BAA2B;;sBAKvC,WAAW;uBAAC,sBAAsB;;sBAYlC,WAAW;uBAAC,OAAO;;;ACzFjB,MAAM,YAAY,GAAG;AACxB,IAAA,gBAAgB,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,qBAAqB;IAC7F,0BAA0B;;;ACb9B;;AAEG;;;;"}
|
|
@@ -272,7 +272,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
272
272
|
/**
|
|
273
273
|
* ECL Page Header component, wraps header content and handles background images and breadcrumb styling.
|
|
274
274
|
*/
|
|
275
|
-
class
|
|
275
|
+
class EclPageHeaderComponent extends ECLBaseDirective {
|
|
276
276
|
constructor() {
|
|
277
277
|
super(...arguments);
|
|
278
278
|
/**
|
|
@@ -314,10 +314,10 @@ class EclPageHeaderNextComponent extends ECLBaseDirective {
|
|
|
314
314
|
breadcrumb.class = this.BREADCRUMB_CLASS;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type:
|
|
318
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type:
|
|
317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclPageHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
318
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: EclPageHeaderComponent, isStandalone: true, selector: "div[eclPageHeader]", inputs: { hasBackground: { classPropertyName: "hasBackground", publicName: "hasBackground", isSignal: true, isRequired: false, transformFunction: null }, descriptionPosition: { classPropertyName: "descriptionPosition", publicName: "descriptionPosition", isSignal: true, isRequired: false, transformFunction: null }, picturePosition: { classPropertyName: "picturePosition", publicName: "picturePosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cssClasses" } }, queries: [{ propertyName: "eclBreadcrumbComponent", first: true, predicate: EclBreadcrumbComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>" }); }
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type:
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclPageHeaderComponent, decorators: [{
|
|
321
321
|
type: Component,
|
|
322
322
|
args: [{ selector: 'div[eclPageHeader]', imports: [], host: {
|
|
323
323
|
'[class]': 'cssClasses',
|
|
@@ -408,78 +408,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
408
408
|
}]
|
|
409
409
|
}] });
|
|
410
410
|
|
|
411
|
-
/**
|
|
412
|
-
* ECL Page Header component, wraps header content and handles background images and breadcrumb styling.
|
|
413
|
-
* @deprecated Use `div[eclPageHeader]` instead. To be removed in v23.
|
|
414
|
-
*/
|
|
415
|
-
class EclPageHeaderComponent extends ECLBaseDirective {
|
|
416
|
-
/**
|
|
417
|
-
* CSS classes applied to the host.
|
|
418
|
-
*
|
|
419
|
-
* @default 'ecl-page-header'
|
|
420
|
-
* Adds 'ecl-page-header--image' if a background picture exists
|
|
421
|
-
*/
|
|
422
|
-
get cssClasses() {
|
|
423
|
-
return [
|
|
424
|
-
super.getCssClasses('ecl-page-header'),
|
|
425
|
-
this.hasBackground() ? 'ecl-page-header--background' : '',
|
|
426
|
-
this.descriptionPosition() ? `ecl-page-header--description-${this.descriptionPosition()}` : '',
|
|
427
|
-
this.picturePosition() ? `ecl-page-header--picture-${this.picturePosition()}` : '',
|
|
428
|
-
this.hasPicture ? 'ecl-page-header--image' : '',
|
|
429
|
-
// this.colorMode() ? `ecl-color-mode--${this.colorMode()}` : '',
|
|
430
|
-
]
|
|
431
|
-
.join(' ')
|
|
432
|
-
.trim();
|
|
433
|
-
}
|
|
434
|
-
constructor() {
|
|
435
|
-
super();
|
|
436
|
-
/**
|
|
437
|
-
* Reference to the ECL breadcrumb inside the header.
|
|
438
|
-
*/
|
|
439
|
-
this.eclBreadcrumbComponent = contentChild(EclBreadcrumbComponent, /* @ts-ignore */
|
|
440
|
-
...(ngDevMode ? [{ debugName: "eclBreadcrumbComponent" }] : /* istanbul ignore next */ []));
|
|
441
|
-
/**
|
|
442
|
-
* Reference to the background picture directive, if present.
|
|
443
|
-
*/
|
|
444
|
-
this.eclBackgroundPicture = contentChild(EclPageHeaderBackgroundPictureDirective, /* @ts-ignore */
|
|
445
|
-
...(ngDevMode ? [{ debugName: "eclBackgroundPicture" }] : /* istanbul ignore next */ []));
|
|
446
|
-
// colorMode = input<string | null>(null);
|
|
447
|
-
this.hasBackground = input(false, { ...(ngDevMode ? { debugName: "hasBackground" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
448
|
-
this.descriptionPosition = input('top', /* @ts-ignore */
|
|
449
|
-
...(ngDevMode ? [{ debugName: "descriptionPosition" }] : /* istanbul ignore next */ []));
|
|
450
|
-
this.picturePosition = input('top', /* @ts-ignore */
|
|
451
|
-
...(ngDevMode ? [{ debugName: "picturePosition" }] : /* istanbul ignore next */ []));
|
|
452
|
-
this.BREADCRUMB_CLASS = 'ecl-page-header__breadcrumb';
|
|
453
|
-
console.warn('"ecl-page-header" selector is deprecated; use "div[eclPageHeader]" instead.');
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* Adds CSS class to the breadcrumb after content initialization.
|
|
457
|
-
*/
|
|
458
|
-
ngAfterContentInit() {
|
|
459
|
-
const eclBreadcrumbComponent = this.eclBreadcrumbComponent();
|
|
460
|
-
if (eclBreadcrumbComponent) {
|
|
461
|
-
eclBreadcrumbComponent.class = this.BREADCRUMB_CLASS;
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* True if a background picture exists.
|
|
466
|
-
*/
|
|
467
|
-
get hasPicture() {
|
|
468
|
-
return !!this.eclBackgroundPicture();
|
|
469
|
-
}
|
|
470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
471
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: EclPageHeaderComponent, isStandalone: true, selector: "ecl-page-header", inputs: { hasBackground: { classPropertyName: "hasBackground", publicName: "hasBackground", isSignal: true, isRequired: false, transformFunction: null }, descriptionPosition: { classPropertyName: "descriptionPosition", publicName: "descriptionPosition", isSignal: true, isRequired: false, transformFunction: null }, picturePosition: { classPropertyName: "picturePosition", publicName: "picturePosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cssClasses" } }, queries: [{ propertyName: "eclBreadcrumbComponent", first: true, predicate: EclBreadcrumbComponent, descendants: true, isSignal: true }, { propertyName: "eclBackgroundPicture", first: true, predicate: EclPageHeaderBackgroundPictureDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"[eclPageHeaderExpandable]\"></ng-content>\n@if(hasPicture){\n<div class=\"ecl-page-header__background-container\">\n <ng-content select=\"[eclPageHeaderBackgroundPicture]\"></ng-content>\n</div>\n}\n\n<div class=\"ecl-container\">\n <ng-container *ngTemplateOutlet=\"content\"> </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
472
|
-
}
|
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclPageHeaderComponent, decorators: [{
|
|
474
|
-
type: Component,
|
|
475
|
-
args: [{ selector: 'ecl-page-header', imports: [NgTemplateOutlet], host: {
|
|
476
|
-
'[class]': 'cssClasses',
|
|
477
|
-
}, template: "<ng-content select=\"[eclPageHeaderExpandable]\"></ng-content>\n@if(hasPicture){\n<div class=\"ecl-page-header__background-container\">\n <ng-content select=\"[eclPageHeaderBackgroundPicture]\"></ng-content>\n</div>\n}\n\n<div class=\"ecl-container\">\n <ng-container *ngTemplateOutlet=\"content\"> </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", styles: [":host{display:block}\n"] }]
|
|
478
|
-
}], ctorParameters: () => [], propDecorators: { eclBreadcrumbComponent: [{ type: i0.ContentChild, args: [i0.forwardRef(() => EclBreadcrumbComponent), { isSignal: true }] }], eclBackgroundPicture: [{ type: i0.ContentChild, args: [i0.forwardRef(() => EclPageHeaderBackgroundPictureDirective), { isSignal: true }] }], hasBackground: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasBackground", required: false }] }], descriptionPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "descriptionPosition", required: false }] }], picturePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "picturePosition", required: false }] }] } });
|
|
479
|
-
|
|
480
411
|
const EUI_ECL_PAGE_HEADER = [
|
|
481
412
|
EclPageHeaderComponent,
|
|
482
|
-
EclPageHeaderNextComponent,
|
|
483
413
|
EclPageHeaderContainerDirective,
|
|
484
414
|
EclPageHeaderExpandableComponent,
|
|
485
415
|
EclPageHeaderExpandableHeaderDirective,
|
|
@@ -502,5 +432,5 @@ const EUI_ECL_PAGE_HEADER = [
|
|
|
502
432
|
* Generated bundle index. Do not edit.
|
|
503
433
|
*/
|
|
504
434
|
|
|
505
|
-
export { EUI_ECL_PAGE_HEADER, EclContainerDirective, EclPageHeaderBackgroundImageDirective, EclPageHeaderBackgroundPictureDirective, EclPageHeaderComponent, EclPageHeaderContainerDirective, EclPageHeaderDescriptionContainerComponent, EclPageHeaderDescriptionDirective, EclPageHeaderDescriptionPictureDirective, EclPageHeaderDescriptionThumbnailDirective, EclPageHeaderExpandableComponent, EclPageHeaderExpandableHeaderDirective, EclPageHeaderInfoDirective, EclPageHeaderMetaDirective, EclPageHeaderMetaItemDirective,
|
|
435
|
+
export { EUI_ECL_PAGE_HEADER, EclContainerDirective, EclPageHeaderBackgroundImageDirective, EclPageHeaderBackgroundPictureDirective, EclPageHeaderComponent, EclPageHeaderContainerDirective, EclPageHeaderDescriptionContainerComponent, EclPageHeaderDescriptionDirective, EclPageHeaderDescriptionPictureDirective, EclPageHeaderDescriptionThumbnailDirective, EclPageHeaderExpandableComponent, EclPageHeaderExpandableHeaderDirective, EclPageHeaderInfoDirective, EclPageHeaderMetaDirective, EclPageHeaderMetaItemDirective, EclPageHeaderSectionComponent, EclPageHeaderSectionInfoComponent, EclPageHeaderTitleDirective };
|
|
506
436
|
//# sourceMappingURL=eui-ecl-components-ecl-page-header.mjs.map
|