@eui/ecl 22.0.0-alpha.20 → 22.0.0-alpha.22
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 +24 -0
- package/docs/components/EclAccordionSummaryComponent.html +1 -1
- package/docs/components/EclAddToCalendarComponent.html +1 -1
- package/docs/components/EclAnimatedNumbersComponent.html +1 -1
- package/docs/components/EclAnimatedNumbersItemComponent.html +1 -1
- package/docs/components/EclAppComponent.html +1 -1
- package/docs/components/EclBannerComponent.html +1 -1
- package/docs/components/EclBlockquoteComponent.html +1 -1
- package/docs/components/EclBreadcrumbComponent.html +1 -1
- package/docs/components/EclBreadcrumbSegmentComponent.html +1 -1
- package/docs/components/EclButtonComponent.html +1 -1
- package/docs/components/EclCardBodyComponent.html +1 -1
- package/docs/components/EclCardComponent.html +1 -1
- package/docs/components/EclCarouselComponent.html +1 -1
- package/docs/components/EclCarouselItemComponent.html +1 -1
- package/docs/components/EclCategoryFilterComponent.html +1 -1
- package/docs/components/EclCategoryFilterItemComponent.html +1 -1
- package/docs/components/EclCategoryFilterListComponent.html +1 -1
- package/docs/components/EclCheckboxHelpComponent.html +1 -1
- package/docs/components/EclCheckboxLabelComponent.html +1 -1
- package/docs/components/EclContentBlockComponent.html +1 -1
- package/docs/components/EclContentItemComponent.html +1 -1
- package/docs/components/EclDateBlockComponent.html +1 -1
- package/docs/components/EclDescriptionListDefinitionComponent.html +1 -1
- package/docs/components/EclExpandableComponent.html +1 -1
- package/docs/components/EclFactFiguresComponent.html +1 -1
- package/docs/components/EclFactFiguresItemComponent.html +1 -1
- package/docs/components/EclFactFiguresViewAllComponent.html +1 -1
- package/docs/components/EclFeaturedComponent.html +1 -1
- package/docs/components/EclFeaturedItemComponent.html +1 -1
- package/docs/components/EclFeaturedItemDescriptionComponent.html +1 -1
- package/docs/components/EclFileComponent.html +1 -1
- package/docs/components/EclFileItemComponent.html +1 -1
- package/docs/components/EclFileItemsComponent.html +1 -1
- package/docs/components/EclFileListsComponent.html +1 -1
- package/docs/components/EclFormGroupComponent.html +1 -1
- package/docs/components/EclFormLabelComponent.html +1 -1
- package/docs/components/EclGalleryComponent.html +1 -1
- package/docs/components/EclGalleryFooterComponent.html +1 -1
- package/docs/components/EclGalleryItemComponent.html +1 -1
- package/docs/components/EclHighlightBoxComponent.html +1 -1
- package/docs/components/EclHighlightedSearchComponent.html +1 -1
- package/docs/components/EclIconComponent.html +1 -1
- package/docs/components/EclIndicatorComponent-1.html +1 -1
- package/docs/components/EclIndicatorComponent.html +1 -1
- package/docs/components/EclInpageNavigationComponent.html +1 -1
- package/docs/components/EclInpageNavigationItemComponent.html +1 -1
- package/docs/components/EclLayoutWrapperComponent.html +1 -1
- package/docs/components/EclListIllustrationComponent.html +1 -1
- package/docs/components/EclListIllustrationItemComponent.html +1 -1
- package/docs/components/EclLoadingIndicatorComponent.html +1 -1
- package/docs/components/EclMediaContainerComponent.html +1 -1
- package/docs/components/EclMegaMenuComponent.html +1 -1
- package/docs/components/EclMegaMenuFeaturedComponent.html +1 -1
- package/docs/components/EclMegaMenuInfoComponent.html +1 -1
- package/docs/components/EclMegaMenuItemComponent.html +1 -1
- package/docs/components/EclMegaMenuSubitemComponent.html +1 -1
- package/docs/components/EclMenuComponent.html +1 -1
- package/docs/components/EclMenuItemComponent.html +1 -1
- package/docs/components/EclMenuMegaComponent.html +1 -1
- package/docs/components/EclMenuMegaItemComponent.html +1 -1
- package/docs/components/EclModalBodyComponent.html +1 -1
- package/docs/components/EclModalComponent.html +1 -1
- package/docs/components/EclModalFooterComponent.html +1 -1
- package/docs/components/EclModalHeaderComponent.html +1 -1
- package/docs/components/EclMultiselectComponent.html +1 -1
- package/docs/components/EclMultiselectDropdownComponent.html +4 -4
- package/docs/components/EclMultiselectInputComponent.html +1 -1
- package/docs/components/EclMultiselectOptgroupComponent.html +1 -1
- package/docs/components/EclMultiselectOptionComponent.html +1 -1
- package/docs/components/EclNavigationListComponent.html +5 -106
- package/docs/components/EclNavigationListItemComponent.html +15 -87
- package/docs/components/EclNewsTickerComponent.html +5 -40
- package/docs/components/EclNewsTickerItemComponent.html +6 -153
- package/docs/components/EclNotificationComponent.html +5 -122
- package/docs/components/EclPageHeaderComponent.html +5 -48
- package/docs/components/EclPageHeaderDescriptionContainerComponent.html +1 -1
- package/docs/components/EclPageHeaderExpandableComponent.html +5 -46
- package/docs/components/EclPageHeaderNextComponent.html +5 -48
- package/docs/components/EclPageHeaderSectionComponent.html +5 -117
- package/docs/components/EclPageHeaderSectionInfoComponent.html +5 -117
- package/docs/components/EclPageSummaryComponent.html +2 -15
- package/docs/components/EclPaginationComponent.html +5 -180
- package/docs/components/EclPaginationItemComponent.html +67 -184
- package/docs/components/EclPopoverComponent.html +1 -1
- package/docs/components/EclQuizCardComponent.html +1 -1
- package/docs/components/EclQuizComponent.html +1 -1
- package/docs/components/EclRadioHelpComponent.html +1 -1
- package/docs/components/EclRadioLabelComponent.html +1 -1
- package/docs/components/EclRangeBubbleComponent.html +1 -1
- package/docs/components/EclRangeValueComponent.html +1 -1
- package/docs/components/EclRatingFieldComponent.html +1 -1
- package/docs/components/EclSearchFormComponent.html +1 -1
- package/docs/components/EclSelectContainerComponent.html +1 -1
- package/docs/components/EclSiteFooterComponent.html +1 -1
- package/docs/components/EclSiteFooterCoownerComponent.html +1 -1
- package/docs/components/EclSiteFooterCoreComponent.html +1 -1
- package/docs/components/EclSiteFooterFeedbackComponent.html +1 -1
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +1 -1
- package/docs/components/EclSiteFooterRowCommonComponent.html +1 -1
- package/docs/components/EclSiteHeaderActionComponent.html +1 -1
- package/docs/components/EclSiteHeaderBannerTopComponent.html +1 -1
- package/docs/components/EclSiteHeaderComponent.html +1 -1
- package/docs/components/EclSiteHeaderCustomActionComponent.html +1 -1
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +1 -1
- package/docs/components/EclSiteHeaderLanguageComponent.html +1 -1
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +1 -1
- package/docs/components/EclSiteHeaderLoginComponent.html +1 -1
- package/docs/components/EclSiteHeaderNotificationComponent.html +1 -1
- package/docs/components/EclSiteHeaderSearchComponent.html +1 -1
- package/docs/components/EclSloganTickerComponent.html +1 -1
- package/docs/components/EclSocialMediaFollowComponent.html +1 -1
- package/docs/components/EclSocialMediaFollowItemComponent.html +1 -1
- package/docs/components/EclSplashPageComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageContainerComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageLinkComponent.html +1 -1
- package/docs/components/EclSpotlightComponent.html +1 -1
- package/docs/components/EclSpotlightLinkComponent.html +1 -1
- package/docs/components/EclStickyContainerComponent.html +1 -1
- package/docs/components/EclStoryCardComponent.html +1 -1
- package/docs/components/EclStoryCardGridDetailsComponent.html +1 -1
- package/docs/components/EclStoryCardItemComponent.html +1 -1
- package/docs/components/EclTabComponent.html +1 -1
- package/docs/components/EclTabLabelComponent.html +1 -1
- package/docs/components/EclTableSortButtonComponent.html +1 -1
- package/docs/components/EclTabsComponent.html +1 -1
- package/docs/components/EclTagComponent.html +1 -1
- package/docs/components/EclTextMediaComponent.html +1 -1
- package/docs/components/EclTimelineComponent.html +1 -1
- package/docs/components/EclTimelineItemComponent.html +1 -1
- package/docs/components/EclTimelineItemTogglerComponent.html +1 -1
- package/docs/directives/EclContainerDirective.html +0 -118
- package/docs/directives/EclNavigationListImageDirective.html +0 -39
- package/docs/directives/EclNavigationListPictureDirective.html +0 -39
- package/docs/directives/EclNewsTickerIconDirective.html +0 -116
- package/docs/directives/EclNotificationIconDirective.html +0 -61
- package/docs/directives/EclNotificationLinkDirective.html +0 -61
- package/docs/directives/EclNotificationTitleDirective.html +0 -45
- package/docs/directives/EclPageHeaderBackgroundImageDirective.html +0 -118
- package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +0 -118
- package/docs/directives/EclPageHeaderContainerDirective.html +0 -118
- package/docs/directives/EclPageHeaderDescriptionDirective.html +0 -118
- package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +0 -118
- package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +0 -118
- package/docs/directives/EclPageHeaderExpandableHeaderDirective.html +0 -45
- package/docs/directives/EclPageHeaderInfoDirective.html +0 -118
- package/docs/directives/EclPageHeaderMetaDirective.html +0 -118
- package/docs/directives/EclPageHeaderMetaItemDirective.html +0 -99
- package/docs/directives/EclPageHeaderTitleDirective.html +0 -47
- package/docs/directives/EclPaginationListDirective.html +0 -116
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclPageSummaryComponent.md +1 -1
- package/docs/json/EclPaginationItemComponent.md +3 -3
- package/docs/json/documentation.json +631 -2084
- package/docs/llms.txt +7 -53
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +27 -17
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +54 -65
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +19 -34
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs +23 -28
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +90 -200
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-summary.mjs +3 -8
- package/fesm2022/eui-ecl-components-ecl-page-summary.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs +28 -56
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-multiselect.d.ts +2 -1
- package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-navigation-list.d.ts +10 -10
- package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-news-ticker.d.ts +4 -8
- package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-header.d.ts +0 -68
- package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-summary.d.ts +1 -2
- package/types/eui-ecl-components-ecl-page-summary.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-pagination.d.ts +4 -21
- package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
package/docs/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# eui documentation
|
|
2
2
|
|
|
3
|
-
> Generated by compodoc 2.0.0 at 2026-09-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-09-25T12:13:20.628Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -1766,7 +1766,7 @@ Properties:
|
|
|
1766
1766
|
- `isShowToolbar: unknown = computed(() => this.isSubmitOnApply() || this._selectedItems().length > 0)` — Controls the visibility of the multiselect toolbar. Always visible when isSubmitOnApply is true so the user can submit the form.
|
|
1767
1767
|
- `isSubmitOnApply: unknown = signal(false)` — When true, the Apply button acts as a submit button (type="submit") instead of a regular button.
|
|
1768
1768
|
- `multiOptionComponents: QueryList<EclMultiselectOptionComponent>`
|
|
1769
|
-
- `multiOptionDirectives:
|
|
1769
|
+
- `multiOptionDirectives: unknown = signal<EclMultiselectOptionDirective[]>([])` — List of option directives currently rendered in the dropdown.
|
|
1770
1770
|
- `optionsCount: number = 0` — Total number of options available in the dropdown list.
|
|
1771
1771
|
- `searchInput: unknown = viewChild<ElementRef>('searchInput')`
|
|
1772
1772
|
- `selectAllCheckbox: unknown = viewChild<ElementRef>('selectAllCheckbox')`
|
|
@@ -1910,9 +1910,6 @@ Inputs:
|
|
|
1910
1910
|
- `e2eAttr: any`
|
|
1911
1911
|
- `tabindex: number`
|
|
1912
1912
|
|
|
1913
|
-
Properties:
|
|
1914
|
-
- `listItems: unknown = contentChildren(forwardRef(() => EclNavigationListItemComponent))` — The list of navigation list items.
|
|
1915
|
-
|
|
1916
1913
|
Methods:
|
|
1917
1914
|
- `getCssClasses(rootClass: string): string`
|
|
1918
1915
|
|
|
@@ -1931,7 +1928,7 @@ Inputs:
|
|
|
1931
1928
|
|
|
1932
1929
|
Properties:
|
|
1933
1930
|
- `eclContentBlock: unknown = contentChild(forwardRef(() => EclContentBlockComponent))`
|
|
1934
|
-
- `hasBorder: unknown = true`
|
|
1931
|
+
- `hasBorder: unknown = computed(() => this.parent?.hasBorders() ?? true)` — Whether this item renders a border. Derived from the parent navigation list's 'hasBorders' input; defaults to 'true' when the item is used without a parent.
|
|
1935
1932
|
- `role: string = 'article'` — The role of the underlying HTML element is 'article', should not be changed.
|
|
1936
1933
|
|
|
1937
1934
|
Methods:
|
|
@@ -2114,9 +2111,6 @@ Inputs:
|
|
|
2114
2111
|
- `e2eAttr: any`
|
|
2115
2112
|
- `tabindex: number`
|
|
2116
2113
|
|
|
2117
|
-
Properties:
|
|
2118
|
-
- `className: string = 'ecl-page-header__section-description'` — CSS classes applied to the host.
|
|
2119
|
-
|
|
2120
2114
|
Methods:
|
|
2121
2115
|
- `getCssClasses(rootClass: string): string`
|
|
2122
2116
|
|
|
@@ -2130,16 +2124,13 @@ Inputs:
|
|
|
2130
2124
|
- `e2eAttr: any`
|
|
2131
2125
|
- `tabindex: number`
|
|
2132
2126
|
|
|
2133
|
-
Properties:
|
|
2134
|
-
- `className: string = 'ecl-page-header__section-info ecl-container'` — CSS classes applied to the host.
|
|
2135
|
-
|
|
2136
2127
|
Methods:
|
|
2137
2128
|
- `getCssClasses(rootClass: string): string`
|
|
2138
2129
|
|
|
2139
2130
|
### EclPageSummaryComponent
|
|
2140
2131
|
|
|
2141
2132
|
File: `packages/ecl/components/ecl-page-summary/ecl-page-summary.component.ts`
|
|
2142
|
-
Selector: `
|
|
2133
|
+
Selector: `section[eclPageSummary]`
|
|
2143
2134
|
Deprecated: (deprecated: The ` ` element selector is deprecated. Use ` ` instead to align with ECL's semantic HTML structure.)
|
|
2144
2135
|
|
|
2145
2136
|
Description: ECL Page Summary component. Displays a page summary section with an optional icon and title. Example : \<section eclPageSummary eclTitle="Page title"\> \<p\>Summary description content.\</p\> \</section\> Use \<section eclPageSummary\> instead to align with ECL's semantic HTML structure.
|
|
@@ -2173,10 +2164,8 @@ Outputs:
|
|
|
2173
2164
|
- `page: EclPaginationEvent` — Emits a pagination event each time the page changes.
|
|
2174
2165
|
|
|
2175
2166
|
Properties:
|
|
2176
|
-
- `cmpClass: unknown = true` — Adds the ecl-pagination class to the host element.
|
|
2177
2167
|
- `eclPaginationList: unknown = contentChild(EclPaginationListDirective)` — Reference to the pagination list directive inside the component's content.
|
|
2178
2168
|
- `model: unknown = EuiPagination.create()` — Internal pagination model storing pagination data and logic.
|
|
2179
|
-
- `role: string = 'navigation'` — Sets the ARIA role to indicate navigation.
|
|
2180
2169
|
|
|
2181
2170
|
Methods:
|
|
2182
2171
|
- `isModeAuto(): boolean` — Checks if the component is in automatic mode.
|
|
@@ -2191,17 +2180,17 @@ File: `packages/ecl/components/ecl-pagination/ecl-pagination-item.component.ts`
|
|
|
2191
2180
|
Selector: `li[eclPaginationItem]`
|
|
2192
2181
|
|
|
2193
2182
|
Inputs:
|
|
2194
|
-
- `isTruncated: boolean = false` — Adds the ecl-pagination\_\_item--truncation class when true.
|
|
2195
|
-
- `pagesCount: string` — Total number of pages displayed by the pagination component.
|
|
2196
|
-
- `routerLink: string | any[] = null` — Router navigation link for Angular routing.
|
|
2197
2183
|
- `ariaLabel: string = undefined` — Value for the aria-label attribute used for accessibility.
|
|
2198
2184
|
- `href: string = null` — Href link for navigation.
|
|
2199
2185
|
- `isCurrent: boolean = undefined` — Adds the ecl-pagination\_\_item--current class when true.
|
|
2200
2186
|
- `isNext: boolean = undefined` — Adds the ecl-pagination\_\_item--next class when true.
|
|
2201
2187
|
- `isPrevious: boolean = undefined` — Adds the ecl-pagination\_\_item--previous class when true.
|
|
2188
|
+
- `isTruncated: boolean = false` — Adds the ecl-pagination\_\_item--truncation class when true.
|
|
2202
2189
|
- `label: string = undefined` — Text content of the pagination item.
|
|
2190
|
+
- `pagesCount: string` — Total number of pages displayed by the pagination component.
|
|
2203
2191
|
- `queryParams: Params | null = null` — Query parameters for the router link.
|
|
2204
2192
|
- `queryParamsHandling: QueryParamsHandling = null` — Determines how query parameters are handled during navigation.
|
|
2193
|
+
- `routerLink: string | any[] | null = null` — Router navigation link for Angular routing.
|
|
2205
2194
|
- `class: string`
|
|
2206
2195
|
- `e2eAttr: any`
|
|
2207
2196
|
- `tabindex: number`
|
|
@@ -2211,7 +2200,6 @@ Outputs:
|
|
|
2211
2200
|
|
|
2212
2201
|
Properties:
|
|
2213
2202
|
- `el: unknown = inject(ElementRef)`
|
|
2214
|
-
- `role: string = 'listitem'` — Sets the role attribute for accessibility.
|
|
2215
2203
|
|
|
2216
2204
|
Methods:
|
|
2217
2205
|
- `geti18nPageAriaLabelKey(): string` — Returns the i18n translation key for the ARIA label.
|
|
@@ -3779,9 +3767,6 @@ Inputs:
|
|
|
3779
3767
|
- `e2eAttr: any`
|
|
3780
3768
|
- `tabindex: number`
|
|
3781
3769
|
|
|
3782
|
-
Properties:
|
|
3783
|
-
- `className: string = 'ecl-container'` — Applies 'ecl-container' class to the host. 'ecl-container'
|
|
3784
|
-
|
|
3785
3770
|
Methods:
|
|
3786
3771
|
- `getCssClasses(rootClass: string): string`
|
|
3787
3772
|
|
|
@@ -5189,9 +5174,6 @@ Inputs:
|
|
|
5189
5174
|
- `e2eAttr: any`
|
|
5190
5175
|
- `tabindex: number`
|
|
5191
5176
|
|
|
5192
|
-
Properties:
|
|
5193
|
-
- `hasClass: unknown = true` — Adds the ecl-news-ticker\_\_icon class to the host element.
|
|
5194
|
-
|
|
5195
5177
|
Methods:
|
|
5196
5178
|
- `getCssClasses(rootClass: string): string`
|
|
5197
5179
|
|
|
@@ -5279,9 +5261,6 @@ Inputs:
|
|
|
5279
5261
|
- `e2eAttr: any`
|
|
5280
5262
|
- `tabindex: number`
|
|
5281
5263
|
|
|
5282
|
-
Properties:
|
|
5283
|
-
- `className: string = 'ecl-page-header__background'` — Applies 'ecl-page-header\_\_background' class to the host. 'ecl-page-header\_\_background'
|
|
5284
|
-
|
|
5285
5264
|
Methods:
|
|
5286
5265
|
- `getCssClasses(rootClass: string): string`
|
|
5287
5266
|
|
|
@@ -5297,9 +5276,6 @@ Inputs:
|
|
|
5297
5276
|
- `e2eAttr: any`
|
|
5298
5277
|
- `tabindex: number`
|
|
5299
5278
|
|
|
5300
|
-
Properties:
|
|
5301
|
-
- `className: string = 'ecl-picture ecl-page-header__picture-background'` — Applies 'ecl-picture ecl-page-header\_\_picture-background' classes to the host. 'ecl-picture ecl-page-header\_\_picture-background'
|
|
5302
|
-
|
|
5303
5279
|
Methods:
|
|
5304
5280
|
- `getCssClasses(rootClass: string): string`
|
|
5305
5281
|
|
|
@@ -5313,9 +5289,6 @@ Inputs:
|
|
|
5313
5289
|
- `e2eAttr: any`
|
|
5314
5290
|
- `tabindex: number`
|
|
5315
5291
|
|
|
5316
|
-
Properties:
|
|
5317
|
-
- `className: string = 'ecl-page-header__container'` — Applies 'ecl-page-header\_\_container' class to the host. 'ecl-page-header\_\_container'
|
|
5318
|
-
|
|
5319
5292
|
Methods:
|
|
5320
5293
|
- `getCssClasses(rootClass: string): string`
|
|
5321
5294
|
|
|
@@ -5331,9 +5304,6 @@ Inputs:
|
|
|
5331
5304
|
- `e2eAttr: any`
|
|
5332
5305
|
- `tabindex: number`
|
|
5333
5306
|
|
|
5334
|
-
Properties:
|
|
5335
|
-
- `className: string = 'ecl-page-header__description'` — Applies 'ecl-page-header\_\_description' class to the host. 'ecl-page-header\_\_description'
|
|
5336
|
-
|
|
5337
5307
|
Methods:
|
|
5338
5308
|
- `getCssClasses(rootClass: string): string`
|
|
5339
5309
|
|
|
@@ -5349,9 +5319,6 @@ Inputs:
|
|
|
5349
5319
|
- `e2eAttr: any`
|
|
5350
5320
|
- `tabindex: number`
|
|
5351
5321
|
|
|
5352
|
-
Properties:
|
|
5353
|
-
- `className: string = 'ecl-picture ecl-page-header__picture-thumbnail'` — Applies 'ecl-picture ecl-page-header\_\_picture-thumbnail' classes to the host. 'ecl-picture ecl-page-header\_\_picture-thumbnail'
|
|
5354
|
-
|
|
5355
5322
|
Methods:
|
|
5356
5323
|
- `getCssClasses(rootClass: string): string`
|
|
5357
5324
|
|
|
@@ -5367,9 +5334,6 @@ Inputs:
|
|
|
5367
5334
|
- `e2eAttr: any`
|
|
5368
5335
|
- `tabindex: number`
|
|
5369
5336
|
|
|
5370
|
-
Properties:
|
|
5371
|
-
- `className: string = 'ecl-page-header__description-thumbnail'` — Applies 'ecl-page-header\_\_description-thumbnail' class to the host. 'ecl-page-header\_\_description-thumbnail'
|
|
5372
|
-
|
|
5373
5337
|
Methods:
|
|
5374
5338
|
- `getCssClasses(rootClass: string): string`
|
|
5375
5339
|
|
|
@@ -5400,9 +5364,6 @@ Inputs:
|
|
|
5400
5364
|
- `e2eAttr: any`
|
|
5401
5365
|
- `tabindex: number`
|
|
5402
5366
|
|
|
5403
|
-
Properties:
|
|
5404
|
-
- `className: string = 'ecl-page-header__info'` — Applies 'ecl-page-header\_\_info' class to the host. 'ecl-page-header\_\_info'
|
|
5405
|
-
|
|
5406
5367
|
Methods:
|
|
5407
5368
|
- `getCssClasses(rootClass: string): string`
|
|
5408
5369
|
|
|
@@ -5418,9 +5379,6 @@ Inputs:
|
|
|
5418
5379
|
- `e2eAttr: any`
|
|
5419
5380
|
- `tabindex: number`
|
|
5420
5381
|
|
|
5421
|
-
Properties:
|
|
5422
|
-
- `className: string = 'ecl-page-header__meta'` — Applies 'ecl-page-header\_\_meta' class to the host. 'ecl-page-header\_\_meta'
|
|
5423
|
-
|
|
5424
5382
|
Methods:
|
|
5425
5383
|
- `getCssClasses(rootClass: string): string`
|
|
5426
5384
|
|
|
@@ -5437,7 +5395,6 @@ Inputs:
|
|
|
5437
5395
|
- `tabindex: number`
|
|
5438
5396
|
|
|
5439
5397
|
Properties:
|
|
5440
|
-
- `className: string = 'ecl-page-header__meta-item'` — Applies 'ecl-page-header\_\_meta-item' class to the host. 'ecl-page-header\_\_meta-item'
|
|
5441
5398
|
- `eclIcon: unknown = contentChild(EclIconComponent)`
|
|
5442
5399
|
|
|
5443
5400
|
Methods:
|
|
@@ -5476,9 +5433,6 @@ Inputs:
|
|
|
5476
5433
|
- `e2eAttr: any`
|
|
5477
5434
|
- `tabindex: number`
|
|
5478
5435
|
|
|
5479
|
-
Properties:
|
|
5480
|
-
- `hasClass: unknown = true` — Adds the ecl-pagination\_\_list class to the host element.
|
|
5481
|
-
|
|
5482
5436
|
Methods:
|
|
5483
5437
|
- `getCssClasses(rootClass: string): string`
|
|
5484
5438
|
|
package/docs/properties.html
CHANGED
|
@@ -267,7 +267,8 @@ class EclMultiselectOptionComponent extends ECLBaseDirective {
|
|
|
267
267
|
this.optionKeydown = output();
|
|
268
268
|
this.display = 'flex';
|
|
269
269
|
this._id = '';
|
|
270
|
-
this._checked = false
|
|
270
|
+
this._checked = signal(false, /* @ts-ignore */
|
|
271
|
+
...(ngDevMode ? [{ debugName: "_checked" }] : /* istanbul ignore next */ []));
|
|
271
272
|
this._value = '';
|
|
272
273
|
this.renderer = inject(Renderer2);
|
|
273
274
|
}
|
|
@@ -284,10 +285,10 @@ class EclMultiselectOptionComponent extends ECLBaseDirective {
|
|
|
284
285
|
* Indicates whether the option is selected.
|
|
285
286
|
*/
|
|
286
287
|
get isChecked() {
|
|
287
|
-
return this._checked;
|
|
288
|
+
return this._checked();
|
|
288
289
|
}
|
|
289
290
|
set isChecked(value) {
|
|
290
|
-
this._checked
|
|
291
|
+
this._checked.set(value);
|
|
291
292
|
}
|
|
292
293
|
/**
|
|
293
294
|
* Returns the unique identifier for the option.
|
|
@@ -507,7 +508,8 @@ class EclMultiselectDropdownComponent extends ECLBaseDirective {
|
|
|
507
508
|
/**
|
|
508
509
|
* List of option directives currently rendered in the dropdown.
|
|
509
510
|
*/
|
|
510
|
-
this.multiOptionDirectives = []
|
|
511
|
+
this.multiOptionDirectives = signal([], /* @ts-ignore */
|
|
512
|
+
...(ngDevMode ? [{ debugName: "multiOptionDirectives" }] : /* istanbul ignore next */ []));
|
|
511
513
|
/**
|
|
512
514
|
* Total number of options available in the dropdown list.
|
|
513
515
|
*/
|
|
@@ -561,18 +563,26 @@ class EclMultiselectDropdownComponent extends ECLBaseDirective {
|
|
|
561
563
|
});
|
|
562
564
|
}
|
|
563
565
|
ngAfterViewInit() {
|
|
566
|
+
// Apply the current option state once, in case the option components are already
|
|
567
|
+
// present when this hook runs (their arrival does not always emit a changes event).
|
|
568
|
+
if (this.multiOptionComponents.length > 0) {
|
|
569
|
+
this.applyOptionState();
|
|
570
|
+
}
|
|
564
571
|
this.multiOptionComponents.changes.pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
565
|
-
|
|
566
|
-
this.resetComponent();
|
|
567
|
-
this.writeValues(this.values);
|
|
568
|
-
this.isWriteValueCalled = false;
|
|
569
|
-
}
|
|
570
|
-
else {
|
|
571
|
-
this.initSelectedOptions();
|
|
572
|
-
}
|
|
573
|
-
this.optionsCount = this.getAvailableOptions() ? this.getAvailableOptions().length : 0;
|
|
572
|
+
this.applyOptionState();
|
|
574
573
|
});
|
|
575
574
|
}
|
|
575
|
+
applyOptionState() {
|
|
576
|
+
if (this.isWriteValueCalled) {
|
|
577
|
+
this.resetComponent();
|
|
578
|
+
this.writeValues(this.values);
|
|
579
|
+
this.isWriteValueCalled = false;
|
|
580
|
+
}
|
|
581
|
+
else {
|
|
582
|
+
this.initSelectedOptions();
|
|
583
|
+
}
|
|
584
|
+
this.optionsCount = this.getAvailableOptions() ? this.getAvailableOptions().length : 0;
|
|
585
|
+
}
|
|
576
586
|
ngOnDestroy() {
|
|
577
587
|
this.destroy$.next(true);
|
|
578
588
|
this.destroy$.unsubscribe();
|
|
@@ -958,7 +968,7 @@ class EclMultiselectDropdownComponent extends ECLBaseDirective {
|
|
|
958
968
|
useExisting: forwardRef(() => EclMultiselectDropdownComponent),
|
|
959
969
|
multi: true,
|
|
960
970
|
},
|
|
961
|
-
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }, { propertyName: "eclMultiselectInput", first: true, predicate: ["eclMultiselectInput"], descendants: true, isSignal: true }, { propertyName: "selectAllCheckbox", first: true, predicate: ["selectAllCheckbox"], descendants: true, isSignal: true }, { propertyName: "closeBtn", first: true, predicate: ["closeBtn"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "clearAllBtn", first: true, predicate: ["clearAllBtn"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "multiOptionComponents", predicate: EclMultiselectOptionComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div eclMultiselectInput #eclMultiselectInput [inputPlaceholder]=\"mainInputPlaceholder\" [selectedItems]=\"selectedItems()\"\n (mainInputClick)=\"onClickMainInput($event)\" (mainInputKeydown)=\"onKeydownMainInput($event)\" [isDisabled]=\"disabled\"\n [ariaDescribedby]=\"ariaDescribedby\" [toggleLabel]=\"toggleLabel\" [ariaControls]=\"dropdownId\" [isInvalid]=\"isInvalid\"\n [isDropdownExpanded]=\"isShowMultiselectDropdown\" [eclSize]=\"eclSize\" [toggleId]=\"toggleId\" [counterLabel]=\"counterLabel\"></div>\n<div\n [style.display]=\"isShowMultiselectDropdown ? 'block' : 'none'\"\n class=\"ecl-select__multiple-dropdown ecl-select__container ecl-select__container--{{eclSize}}\"\n [id]=\"dropdownId\">\n @if(hasSearchBox) {\n <input class=\"ecl-text-input\" type=\"search\" #searchInput [placeholder]=\"searchFieldPlaceholder()\"\n (input)=\"onSearch($event.target)\" (keydown.enter)=\"onEnterSearch($event)\" [attr.aria-label]=\"searchFieldPlaceholder\"\n (keydown.arrowup)=\"onArrowUpSearch($event)\" (keydown.arrowdown)=\"onArrowDownSearch($event)\" />\n }\n @if(hasSelectAll) {\n <div eclCheckbox [isDisabled]=\"isSelectAllDisabled\" class=\"ecl-select__multiple-all\">\n <input eclCheckboxInput #selectAllCheckbox [id]=\"selectAllId\" type=\"checkbox\" [attr.disabled]=\"isSelectAllDisabled\"\n (click)=\"onSelectAll()\" (keydown.arrowup)=\"onArrowUpSelectAll($event)\"\n (keydown.arrowdown)=\"onArrowDownSelectAll($event)\" (keydown.enter)=\"onEnterSelectAll($event)\" />\n <label [for]=\"selectAllId\" eclCheckboxLabel> {{ 'ecl.multiselect.SELECT-ALL' | translate }} ({{ optionsCount }})\n </label>\n </div>\n }\n <div class=\"ecl-select__multiple-options\" aria-live=\"polite\">\n @for (item of multiOptionDirectives; track item.label()) {\n @if (item.isOptGroup()) {\n <fieldset eclMultiselectOptgroup [label]=\"item.label()\">\n @for (elem of item.eclOptionItems(); track elem.label()) {\n <div\n eclMultiselectOption\n [value]=\"elem.value()\"\n [label]=\"elem.label()\"\n [disabled]=\"elem.disabled\"\n [isChecked]=\"elem.selected\"\n [class]=\"elem.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n </fieldset>\n } @else if (!item.isOptGroup()) {\n <div\n eclMultiselectOption\n [value]=\"item.value()\"\n [label]=\"item.label()\"\n [disabled]=\"item.disabled\"\n [isChecked]=\"item.selected\"\n [class]=\"item.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n }\n\n\n @if (isShowNoResultsFound) {\n <div class=\"ecl-select__multiple-no-results\">\n <span>{{ 'ecl.multiselect.NO-RESULTS-FOUND' | translate }}</span>\n </div>\n }\n\n </div>\n @if (isShowToolbar()) {\n <div class=\"ecl-select-multiple-toolbar\">\n <button\n eclButton\n variant=\"primary\"\n #closeBtn\n [type]=\"isSubmitOnApply() ? 'submit' : 'button'\"\n (keydown.arrowup)=\"onArrowUpClose($event)\"\n (keydown.arrowDown)=\"onArrowDownClose($event)\"\n (keydown.tab)=\"onTabClose($event)\"\n (click)=\"onClickClose($event)\">\n {{ 'ecl.common.APPLY' | translate }}\n </button>\n <button\n eclButton\n variant=\"tertiary\"\n #clearAllBtn\n (keydown.arrowup)=\"onArrowUpClear($event)\"\n (keydown.arrowDown)=\"onArrowDownClear($event)\"\n (keydown.tab)=\"onTabClear($event)\"\n (keydown.enter)=\"onEnterClear($event)\"\n (click)=\"onClickClearAll($event)\">\n {{ 'ecl.multiselect.CLEAR-ALL' | translate }}\n </button>\n </div>\n }\n</div>\n", dependencies: [{ kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "component", type: EclMultiselectOptionComponent, selector: "div[eclMultiselectOption]", inputs: ["value", "label", "disabled", "isChecked"], outputs: ["optionClick", "optionKeydown"] }, { kind: "component", type: EclMultiselectOptgroupComponent, selector: "fieldset[eclMultiselectOptgroup]", inputs: ["label"] }, { kind: "component", type: EclMultiselectInputComponent, selector: "div[eclMultiselectInput]", inputs: ["eclSize", "counterLabel", "toggleId", "toggleLabel", "isDisabled", "isInvalid", "inputPlaceholder", "selectedItems", "isDropdownExpanded", "ariaControls", "ariaDescribedby"], outputs: ["mainInputClick", "mainInputKeydown"] }, { kind: "component", type: i1$1.EclCheckboxLabelComponent, selector: "label[eclCheckboxLabel]", inputs: ["isInvalid", "isDisabled", "isRequired"] }, { kind: "directive", type: i1$1.EclCheckboxInputDirective, selector: "input[eclCheckboxInput]" }, { kind: "directive", type: i1$1.EclCheckboxDirective, selector: "[eclCheckbox]", inputs: ["isDisabled", "isInvalid", "isSingle"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
971
|
+
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }, { propertyName: "eclMultiselectInput", first: true, predicate: ["eclMultiselectInput"], descendants: true, isSignal: true }, { propertyName: "selectAllCheckbox", first: true, predicate: ["selectAllCheckbox"], descendants: true, isSignal: true }, { propertyName: "closeBtn", first: true, predicate: ["closeBtn"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "clearAllBtn", first: true, predicate: ["clearAllBtn"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "multiOptionComponents", predicate: EclMultiselectOptionComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div eclMultiselectInput #eclMultiselectInput [inputPlaceholder]=\"mainInputPlaceholder\" [selectedItems]=\"selectedItems()\"\n (mainInputClick)=\"onClickMainInput($event)\" (mainInputKeydown)=\"onKeydownMainInput($event)\" [isDisabled]=\"disabled\"\n [ariaDescribedby]=\"ariaDescribedby\" [toggleLabel]=\"toggleLabel\" [ariaControls]=\"dropdownId\" [isInvalid]=\"isInvalid\"\n [isDropdownExpanded]=\"isShowMultiselectDropdown\" [eclSize]=\"eclSize\" [toggleId]=\"toggleId\" [counterLabel]=\"counterLabel\"></div>\n<div\n [style.display]=\"isShowMultiselectDropdown ? 'block' : 'none'\"\n class=\"ecl-select__multiple-dropdown ecl-select__container ecl-select__container--{{eclSize}}\"\n [id]=\"dropdownId\">\n @if(hasSearchBox) {\n <input class=\"ecl-text-input\" type=\"search\" #searchInput [placeholder]=\"searchFieldPlaceholder()\"\n (input)=\"onSearch($event.target)\" (keydown.enter)=\"onEnterSearch($event)\" [attr.aria-label]=\"searchFieldPlaceholder()\"\n (keydown.arrowup)=\"onArrowUpSearch($event)\" (keydown.arrowdown)=\"onArrowDownSearch($event)\" />\n }\n @if(hasSelectAll) {\n <div eclCheckbox [isDisabled]=\"isSelectAllDisabled\" class=\"ecl-select__multiple-all\">\n <input eclCheckboxInput #selectAllCheckbox [id]=\"selectAllId\" type=\"checkbox\" [attr.disabled]=\"isSelectAllDisabled\"\n (click)=\"onSelectAll()\" (keydown.arrowup)=\"onArrowUpSelectAll($event)\"\n (keydown.arrowdown)=\"onArrowDownSelectAll($event)\" (keydown.enter)=\"onEnterSelectAll($event)\" />\n <label [for]=\"selectAllId\" eclCheckboxLabel> {{ 'ecl.multiselect.SELECT-ALL' | translate }} ({{ optionsCount }})\n </label>\n </div>\n }\n <div class=\"ecl-select__multiple-options\" aria-live=\"polite\">\n @for (item of multiOptionDirectives(); track item.label()) {\n @if (item.isOptGroup()) {\n <fieldset eclMultiselectOptgroup [label]=\"item.label()\">\n @for (elem of item.eclOptionItems(); track elem.label()) {\n <div\n eclMultiselectOption\n [value]=\"elem.value()\"\n [label]=\"elem.label()\"\n [disabled]=\"elem.disabled\"\n [isChecked]=\"elem.selected\"\n [class]=\"elem.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n </fieldset>\n } @else if (!item.isOptGroup()) {\n <div\n eclMultiselectOption\n [value]=\"item.value()\"\n [label]=\"item.label()\"\n [disabled]=\"item.disabled\"\n [isChecked]=\"item.selected\"\n [class]=\"item.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n }\n\n\n @if (isShowNoResultsFound) {\n <div class=\"ecl-select__multiple-no-results\">\n <span>{{ 'ecl.multiselect.NO-RESULTS-FOUND' | translate }}</span>\n </div>\n }\n\n </div>\n @if (isShowToolbar()) {\n <div class=\"ecl-select-multiple-toolbar\">\n <button\n eclButton\n variant=\"primary\"\n #closeBtn\n [type]=\"isSubmitOnApply() ? 'submit' : 'button'\"\n (keydown.arrowup)=\"onArrowUpClose($event)\"\n (keydown.arrowDown)=\"onArrowDownClose($event)\"\n (keydown.tab)=\"onTabClose($event)\"\n (click)=\"onClickClose($event)\">\n {{ 'ecl.common.APPLY' | translate }}\n </button>\n <button\n eclButton\n variant=\"tertiary\"\n #clearAllBtn\n (keydown.arrowup)=\"onArrowUpClear($event)\"\n (keydown.arrowDown)=\"onArrowDownClear($event)\"\n (keydown.tab)=\"onTabClear($event)\"\n (keydown.enter)=\"onEnterClear($event)\"\n (click)=\"onClickClearAll($event)\">\n {{ 'ecl.multiselect.CLEAR-ALL' | translate }}\n </button>\n </div>\n }\n</div>\n", dependencies: [{ kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "component", type: EclMultiselectOptionComponent, selector: "div[eclMultiselectOption]", inputs: ["value", "label", "disabled", "isChecked"], outputs: ["optionClick", "optionKeydown"] }, { kind: "component", type: EclMultiselectOptgroupComponent, selector: "fieldset[eclMultiselectOptgroup]", inputs: ["label"] }, { kind: "component", type: EclMultiselectInputComponent, selector: "div[eclMultiselectInput]", inputs: ["eclSize", "counterLabel", "toggleId", "toggleLabel", "isDisabled", "isInvalid", "inputPlaceholder", "selectedItems", "isDropdownExpanded", "ariaControls", "ariaDescribedby"], outputs: ["mainInputClick", "mainInputKeydown"] }, { kind: "component", type: i1$1.EclCheckboxLabelComponent, selector: "label[eclCheckboxLabel]", inputs: ["isInvalid", "isDisabled", "isRequired"] }, { kind: "directive", type: i1$1.EclCheckboxInputDirective, selector: "input[eclCheckboxInput]" }, { kind: "directive", type: i1$1.EclCheckboxDirective, selector: "[eclCheckbox]", inputs: ["isDisabled", "isInvalid", "isSingle"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
962
972
|
}
|
|
963
973
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclMultiselectDropdownComponent, decorators: [{
|
|
964
974
|
type: Component,
|
|
@@ -975,7 +985,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
975
985
|
'(keyup.escape)': 'onEscapeKey()',
|
|
976
986
|
'(document:click)': 'onKeyUp($event)',
|
|
977
987
|
'[attr.disabled]': 'disabled || undefined',
|
|
978
|
-
}, template: "<div eclMultiselectInput #eclMultiselectInput [inputPlaceholder]=\"mainInputPlaceholder\" [selectedItems]=\"selectedItems()\"\n (mainInputClick)=\"onClickMainInput($event)\" (mainInputKeydown)=\"onKeydownMainInput($event)\" [isDisabled]=\"disabled\"\n [ariaDescribedby]=\"ariaDescribedby\" [toggleLabel]=\"toggleLabel\" [ariaControls]=\"dropdownId\" [isInvalid]=\"isInvalid\"\n [isDropdownExpanded]=\"isShowMultiselectDropdown\" [eclSize]=\"eclSize\" [toggleId]=\"toggleId\" [counterLabel]=\"counterLabel\"></div>\n<div\n [style.display]=\"isShowMultiselectDropdown ? 'block' : 'none'\"\n class=\"ecl-select__multiple-dropdown ecl-select__container ecl-select__container--{{eclSize}}\"\n [id]=\"dropdownId\">\n @if(hasSearchBox) {\n <input class=\"ecl-text-input\" type=\"search\" #searchInput [placeholder]=\"searchFieldPlaceholder()\"\n (input)=\"onSearch($event.target)\" (keydown.enter)=\"onEnterSearch($event)\" [attr.aria-label]=\"searchFieldPlaceholder\"\n (keydown.arrowup)=\"onArrowUpSearch($event)\" (keydown.arrowdown)=\"onArrowDownSearch($event)\" />\n }\n @if(hasSelectAll) {\n <div eclCheckbox [isDisabled]=\"isSelectAllDisabled\" class=\"ecl-select__multiple-all\">\n <input eclCheckboxInput #selectAllCheckbox [id]=\"selectAllId\" type=\"checkbox\" [attr.disabled]=\"isSelectAllDisabled\"\n (click)=\"onSelectAll()\" (keydown.arrowup)=\"onArrowUpSelectAll($event)\"\n (keydown.arrowdown)=\"onArrowDownSelectAll($event)\" (keydown.enter)=\"onEnterSelectAll($event)\" />\n <label [for]=\"selectAllId\" eclCheckboxLabel> {{ 'ecl.multiselect.SELECT-ALL' | translate }} ({{ optionsCount }})\n </label>\n </div>\n }\n <div class=\"ecl-select__multiple-options\" aria-live=\"polite\">\n @for (item of multiOptionDirectives; track item.label()) {\n @if (item.isOptGroup()) {\n <fieldset eclMultiselectOptgroup [label]=\"item.label()\">\n @for (elem of item.eclOptionItems(); track elem.label()) {\n <div\n eclMultiselectOption\n [value]=\"elem.value()\"\n [label]=\"elem.label()\"\n [disabled]=\"elem.disabled\"\n [isChecked]=\"elem.selected\"\n [class]=\"elem.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n </fieldset>\n } @else if (!item.isOptGroup()) {\n <div\n eclMultiselectOption\n [value]=\"item.value()\"\n [label]=\"item.label()\"\n [disabled]=\"item.disabled\"\n [isChecked]=\"item.selected\"\n [class]=\"item.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n }\n\n\n @if (isShowNoResultsFound) {\n <div class=\"ecl-select__multiple-no-results\">\n <span>{{ 'ecl.multiselect.NO-RESULTS-FOUND' | translate }}</span>\n </div>\n }\n\n </div>\n @if (isShowToolbar()) {\n <div class=\"ecl-select-multiple-toolbar\">\n <button\n eclButton\n variant=\"primary\"\n #closeBtn\n [type]=\"isSubmitOnApply() ? 'submit' : 'button'\"\n (keydown.arrowup)=\"onArrowUpClose($event)\"\n (keydown.arrowDown)=\"onArrowDownClose($event)\"\n (keydown.tab)=\"onTabClose($event)\"\n (click)=\"onClickClose($event)\">\n {{ 'ecl.common.APPLY' | translate }}\n </button>\n <button\n eclButton\n variant=\"tertiary\"\n #clearAllBtn\n (keydown.arrowup)=\"onArrowUpClear($event)\"\n (keydown.arrowDown)=\"onArrowDownClear($event)\"\n (keydown.tab)=\"onTabClear($event)\"\n (keydown.enter)=\"onEnterClear($event)\"\n (click)=\"onClickClearAll($event)\">\n {{ 'ecl.multiselect.CLEAR-ALL' | translate }}\n </button>\n </div>\n }\n</div>\n" }]
|
|
988
|
+
}, template: "<div eclMultiselectInput #eclMultiselectInput [inputPlaceholder]=\"mainInputPlaceholder\" [selectedItems]=\"selectedItems()\"\n (mainInputClick)=\"onClickMainInput($event)\" (mainInputKeydown)=\"onKeydownMainInput($event)\" [isDisabled]=\"disabled\"\n [ariaDescribedby]=\"ariaDescribedby\" [toggleLabel]=\"toggleLabel\" [ariaControls]=\"dropdownId\" [isInvalid]=\"isInvalid\"\n [isDropdownExpanded]=\"isShowMultiselectDropdown\" [eclSize]=\"eclSize\" [toggleId]=\"toggleId\" [counterLabel]=\"counterLabel\"></div>\n<div\n [style.display]=\"isShowMultiselectDropdown ? 'block' : 'none'\"\n class=\"ecl-select__multiple-dropdown ecl-select__container ecl-select__container--{{eclSize}}\"\n [id]=\"dropdownId\">\n @if(hasSearchBox) {\n <input class=\"ecl-text-input\" type=\"search\" #searchInput [placeholder]=\"searchFieldPlaceholder()\"\n (input)=\"onSearch($event.target)\" (keydown.enter)=\"onEnterSearch($event)\" [attr.aria-label]=\"searchFieldPlaceholder()\"\n (keydown.arrowup)=\"onArrowUpSearch($event)\" (keydown.arrowdown)=\"onArrowDownSearch($event)\" />\n }\n @if(hasSelectAll) {\n <div eclCheckbox [isDisabled]=\"isSelectAllDisabled\" class=\"ecl-select__multiple-all\">\n <input eclCheckboxInput #selectAllCheckbox [id]=\"selectAllId\" type=\"checkbox\" [attr.disabled]=\"isSelectAllDisabled\"\n (click)=\"onSelectAll()\" (keydown.arrowup)=\"onArrowUpSelectAll($event)\"\n (keydown.arrowdown)=\"onArrowDownSelectAll($event)\" (keydown.enter)=\"onEnterSelectAll($event)\" />\n <label [for]=\"selectAllId\" eclCheckboxLabel> {{ 'ecl.multiselect.SELECT-ALL' | translate }} ({{ optionsCount }})\n </label>\n </div>\n }\n <div class=\"ecl-select__multiple-options\" aria-live=\"polite\">\n @for (item of multiOptionDirectives(); track item.label()) {\n @if (item.isOptGroup()) {\n <fieldset eclMultiselectOptgroup [label]=\"item.label()\">\n @for (elem of item.eclOptionItems(); track elem.label()) {\n <div\n eclMultiselectOption\n [value]=\"elem.value()\"\n [label]=\"elem.label()\"\n [disabled]=\"elem.disabled\"\n [isChecked]=\"elem.selected\"\n [class]=\"elem.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n </fieldset>\n } @else if (!item.isOptGroup()) {\n <div\n eclMultiselectOption\n [value]=\"item.value()\"\n [label]=\"item.label()\"\n [disabled]=\"item.disabled\"\n [isChecked]=\"item.selected\"\n [class]=\"item.class\"\n (optionClick)=\"onOptionSelected($event)\"\n (optionKeydown)=\"onKeydownOption($event)\"></div>\n }\n }\n\n\n @if (isShowNoResultsFound) {\n <div class=\"ecl-select__multiple-no-results\">\n <span>{{ 'ecl.multiselect.NO-RESULTS-FOUND' | translate }}</span>\n </div>\n }\n\n </div>\n @if (isShowToolbar()) {\n <div class=\"ecl-select-multiple-toolbar\">\n <button\n eclButton\n variant=\"primary\"\n #closeBtn\n [type]=\"isSubmitOnApply() ? 'submit' : 'button'\"\n (keydown.arrowup)=\"onArrowUpClose($event)\"\n (keydown.arrowDown)=\"onArrowDownClose($event)\"\n (keydown.tab)=\"onTabClose($event)\"\n (click)=\"onClickClose($event)\">\n {{ 'ecl.common.APPLY' | translate }}\n </button>\n <button\n eclButton\n variant=\"tertiary\"\n #clearAllBtn\n (keydown.arrowup)=\"onArrowUpClear($event)\"\n (keydown.arrowDown)=\"onArrowDownClear($event)\"\n (keydown.tab)=\"onTabClear($event)\"\n (keydown.enter)=\"onEnterClear($event)\"\n (click)=\"onClickClearAll($event)\">\n {{ 'ecl.multiselect.CLEAR-ALL' | translate }}\n </button>\n </div>\n }\n</div>\n" }]
|
|
979
989
|
}], ctorParameters: () => [], propDecorators: { searchInput: [{ type: i0.ViewChild, args: ['searchInput', { isSignal: true }] }], eclMultiselectInput: [{ type: i0.ViewChild, args: ['eclMultiselectInput', { isSignal: true }] }], selectAllCheckbox: [{ type: i0.ViewChild, args: ['selectAllCheckbox', { isSignal: true }] }], closeBtn: [{ type: i0.ViewChild, args: ['closeBtn', { ...{ read: ElementRef }, isSignal: true }] }], clearAllBtn: [{ type: i0.ViewChild, args: ['clearAllBtn', { ...{ read: ElementRef }, isSignal: true }] }], multiOptionComponents: [{
|
|
980
990
|
type: ViewChildren,
|
|
981
991
|
args: [EclMultiselectOptionComponent]
|
|
@@ -1226,7 +1236,7 @@ class EclMultiselectComponent extends ECLBaseDirective {
|
|
|
1226
1236
|
const diff = this.differ.diff(this.eclOptionItems());
|
|
1227
1237
|
if (diff) {
|
|
1228
1238
|
if (this.multiselectComponent) {
|
|
1229
|
-
this.multiselectComponent.multiOptionDirectives
|
|
1239
|
+
this.multiselectComponent.multiOptionDirectives.set(Array.from(this.eclOptionItems()));
|
|
1230
1240
|
}
|
|
1231
1241
|
}
|
|
1232
1242
|
}
|
|
@@ -1314,7 +1324,7 @@ class EclMultiselectComponent extends ECLBaseDirective {
|
|
|
1314
1324
|
}
|
|
1315
1325
|
attachOptions() {
|
|
1316
1326
|
setTimeout(() => {
|
|
1317
|
-
this.multiselectComponent.multiOptionDirectives
|
|
1327
|
+
this.multiselectComponent.multiOptionDirectives.set(Array.from(this.eclOptionItems()));
|
|
1318
1328
|
});
|
|
1319
1329
|
}
|
|
1320
1330
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclMultiselectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|