@eui/core 22.0.0-alpha.61 → 22.0.0-alpha.62
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/CHANGELOG.md +15 -0
- package/docs/changelog.html +10 -0
- package/docs/interfaces/Edit-1.html +1 -1
- package/docs/interfaces/Edit-10.html +395 -0
- package/docs/interfaces/Edit-11.html +395 -0
- package/docs/interfaces/Edit-12.html +395 -0
- package/docs/interfaces/Edit-13.html +395 -0
- package/docs/interfaces/Edit-14.html +395 -0
- package/docs/interfaces/Edit-15.html +395 -0
- package/docs/interfaces/Edit-16.html +395 -0
- package/docs/interfaces/Edit-2.html +1 -1
- package/docs/interfaces/Edit-3.html +1 -1
- package/docs/interfaces/Edit-4.html +1 -1
- package/docs/interfaces/Edit-5.html +395 -0
- package/docs/interfaces/Edit-6.html +395 -0
- package/docs/interfaces/Edit-7.html +395 -0
- package/docs/interfaces/Edit-8.html +395 -0
- package/docs/interfaces/Edit-9.html +395 -0
- package/docs/interfaces/Edit.html +1 -1
- package/docs/interfaces/RemovedAttr.html +414 -0
- package/docs/interfaces/RemovedIdentifier.html +363 -0
- package/docs/interfaces/RemovedTag.html +363 -0
- package/docs/interfaces/Schema-10.html +14 -1
- package/docs/interfaces/Schema-11.html +14 -1
- package/docs/interfaces/Schema-12.html +14 -1
- package/docs/interfaces/Schema-13.html +24 -1
- package/docs/interfaces/Schema-14.html +14 -1
- package/docs/interfaces/Schema-15.html +12 -1
- package/docs/interfaces/Schema-16.html +20 -1
- package/docs/interfaces/Schema-17.html +1 -1
- package/docs/interfaces/Schema-18.html +1 -1
- package/docs/interfaces/Schema-19.html +1 -1
- package/docs/interfaces/Schema-2.html +1 -52
- package/docs/interfaces/Schema-20.html +1 -1
- package/docs/interfaces/Schema-21.html +1 -1
- package/docs/interfaces/Schema-22.html +1 -1
- package/docs/interfaces/Schema-23.html +1 -1
- package/docs/interfaces/Schema-24.html +368 -0
- package/docs/interfaces/Schema-25.html +368 -0
- package/docs/interfaces/Schema-26.html +368 -0
- package/docs/interfaces/Schema-27.html +368 -0
- package/docs/interfaces/Schema-28.html +368 -0
- package/docs/interfaces/Schema-29.html +368 -0
- package/docs/interfaces/Schema-3.html +64 -1
- package/docs/interfaces/Schema-30.html +368 -0
- package/docs/interfaces/Schema-31.html +368 -0
- package/docs/interfaces/Schema-32.html +368 -0
- package/docs/interfaces/Schema-33.html +368 -0
- package/docs/interfaces/Schema-34.html +368 -0
- package/docs/interfaces/Schema-35.html +368 -0
- package/docs/interfaces/Schema-36.html +368 -0
- package/docs/interfaces/Schema-4.html +13 -13
- package/docs/interfaces/Schema-5.html +24 -1
- package/docs/interfaces/Schema-6.html +19 -1
- package/docs/interfaces/Schema-7.html +14 -1
- package/docs/interfaces/Schema-8.html +21 -1
- package/docs/interfaces/Schema-9.html +13 -1
- package/docs/interfaces/SelectorMapping.html +395 -0
- package/docs/js/menu-wc.js +87 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +37136 -20743
- package/docs/llms.txt +728 -28
- package/docs/miscellaneous/functions.html +12985 -1445
- package/docs/miscellaneous/variables.html +3369 -1404
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/migrations.json +185 -0
- package/package.json +2 -2
- package/schematics/collection.json +65 -0
- package/schematics/migrate-all/index.js +13 -0
- package/schematics/migrate-all/index.js.map +1 -1
- package/schematics/migrate-ecl-breadcrumb/index.d.ts +16 -0
- package/schematics/migrate-ecl-breadcrumb/index.js +179 -0
- package/schematics/migrate-ecl-breadcrumb/index.js.map +1 -0
- package/schematics/migrate-ecl-breadcrumb/schema.json +18 -0
- package/schematics/migrate-ecl-file/index.d.ts +25 -0
- package/schematics/migrate-ecl-file/index.js +261 -0
- package/schematics/migrate-ecl-file/index.js.map +1 -0
- package/schematics/migrate-ecl-file/schema.json +18 -0
- package/schematics/migrate-ecl-icon/index.d.ts +21 -0
- package/schematics/migrate-ecl-icon/index.js +254 -0
- package/schematics/migrate-ecl-icon/index.js.map +1 -0
- package/schematics/migrate-ecl-icon/schema.json +18 -0
- package/schematics/migrate-ecl-inpage-navigation/index.d.ts +17 -0
- package/schematics/migrate-ecl-inpage-navigation/index.js +179 -0
- package/schematics/migrate-ecl-inpage-navigation/index.js.map +1 -0
- package/schematics/migrate-ecl-inpage-navigation/schema.json +18 -0
- package/schematics/migrate-ecl-link/index.d.ts +24 -0
- package/schematics/migrate-ecl-link/index.js +295 -0
- package/schematics/migrate-ecl-link/index.js.map +1 -0
- package/schematics/migrate-ecl-link/schema.json +18 -0
- package/schematics/migrate-ecl-page-header/index.d.ts +16 -0
- package/schematics/migrate-ecl-page-header/index.js +179 -0
- package/schematics/migrate-ecl-page-header/index.js.map +1 -0
- package/schematics/migrate-ecl-page-header/schema.json +18 -0
- package/schematics/migrate-ecl-page-summary/index.d.ts +17 -0
- package/schematics/migrate-ecl-page-summary/index.js +179 -0
- package/schematics/migrate-ecl-page-summary/index.js.map +1 -0
- package/schematics/migrate-ecl-page-summary/schema.json +18 -0
- package/schematics/migrate-ecl-pagination/index.d.ts +17 -0
- package/schematics/migrate-ecl-pagination/index.js +179 -0
- package/schematics/migrate-ecl-pagination/index.js.map +1 -0
- package/schematics/migrate-ecl-pagination/schema.json +18 -0
- package/schematics/migrate-ecl-quiz/index.d.ts +17 -0
- package/schematics/migrate-ecl-quiz/index.js +192 -0
- package/schematics/migrate-ecl-quiz/index.js.map +1 -0
- package/schematics/migrate-ecl-quiz/schema.json +18 -0
- package/schematics/migrate-ecl-removed-components/index.d.ts +27 -0
- package/schematics/migrate-ecl-removed-components/index.js +233 -0
- package/schematics/migrate-ecl-removed-components/index.js.map +1 -0
- package/schematics/migrate-ecl-removed-components/schema.json +18 -0
- package/schematics/migrate-ecl-site-footer/index.d.ts +17 -0
- package/schematics/migrate-ecl-site-footer/index.js +179 -0
- package/schematics/migrate-ecl-site-footer/index.js.map +1 -0
- package/schematics/migrate-ecl-site-footer/schema.json +18 -0
- package/schematics/migrate-ecl-tabs/index.d.ts +15 -0
- package/schematics/migrate-ecl-tabs/index.js +180 -0
- package/schematics/migrate-ecl-tabs/index.js.map +1 -0
- package/schematics/migrate-ecl-tabs/schema.json +18 -0
- package/schematics/migrate-ecl-timeline/index.d.ts +22 -0
- package/schematics/migrate-ecl-timeline/index.js +184 -0
- package/schematics/migrate-ecl-timeline/index.js.map +1 -0
- package/schematics/migrate-ecl-timeline/schema.json +18 -0
- package/schematics/migrate-to-signals/ecl-signal-map.d.ts +17 -0
- package/schematics/migrate-to-signals/ecl-signal-map.js +342 -0
- package/schematics/migrate-to-signals/ecl-signal-map.js.map +1 -0
- package/schematics/migrate-to-signals/index.d.ts +3 -2
- package/schematics/migrate-to-signals/index.js +29 -19
- package/schematics/migrate-to-signals/index.js.map +1 -1
- package/schematics/migrate-to-signals/schema.json +19 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "MigrateEclTimelineSchema",
|
|
3
|
+
"title": "Migrate ecl-timeline element selectors to attribute selectors",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"path": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "The path to scan for files.",
|
|
9
|
+
"default": "./",
|
|
10
|
+
"visible": true
|
|
11
|
+
},
|
|
12
|
+
"dryRun": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"default": false,
|
|
15
|
+
"description": "Whether to run in dry-run mode without making actual changes."
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated map of ECL component classes whose input()/model()/viewChild()/
|
|
3
|
+
* viewChildren()/contentChild()/contentChildren() properties are signal-backed
|
|
4
|
+
* in v22.x.
|
|
5
|
+
*
|
|
6
|
+
* Key: class name (e.g. 'EclBannerComponent')
|
|
7
|
+
* Value: set of PUBLIC property names that are signals (call them: comp.prop()).
|
|
8
|
+
*
|
|
9
|
+
* Generated by migrate-to-signals/generate-ecl-signal-map.js — do not edit by hand.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ECL_SIGNAL_MAP: Record<string, ReadonlySet<string>>;
|
|
12
|
+
/**
|
|
13
|
+
* Map of component/directive selectors to their class names.
|
|
14
|
+
* Used to resolve @ViewChild('selector') to the correct class in ECL_SIGNAL_MAP.
|
|
15
|
+
* Ambiguous selectors (shared by multiple classes) are excluded.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ECL_SELECTOR_TO_CLASS: Record<string, string>;
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Auto-generated map of ECL component classes whose input()/model()/viewChild()/
|
|
4
|
+
* viewChildren()/contentChild()/contentChildren() properties are signal-backed
|
|
5
|
+
* in v22.x.
|
|
6
|
+
*
|
|
7
|
+
* Key: class name (e.g. 'EclBannerComponent')
|
|
8
|
+
* Value: set of PUBLIC property names that are signals (call them: comp.prop()).
|
|
9
|
+
*
|
|
10
|
+
* Generated by migrate-to-signals/generate-ecl-signal-map.js — do not edit by hand.
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.ECL_SELECTOR_TO_CLASS = exports.ECL_SIGNAL_MAP = void 0;
|
|
14
|
+
exports.ECL_SIGNAL_MAP = {
|
|
15
|
+
EclAccordionDirective: new Set(['isSidebar', 'sidebarBreakpoint']),
|
|
16
|
+
EclAddToCalendarComponent: new Set(['calendarDates', 'calendarLocation', 'calendarTime', 'eclTitle', 'isFullWidth']),
|
|
17
|
+
EclAnimatedNumbersComponent: new Set(['hasContentColor', 'hasDarkBackground', 'hasLeftBorder', 'isFullWidth', 'sourcesLabel']),
|
|
18
|
+
EclAnimatedNumbersItemComponent: new Set(['category', 'description', 'eclValue', 'prefix', 'prefixLabel', 'sourcesLabel', 'suffix', 'suffixLabel']),
|
|
19
|
+
EclAppComponent: new Set(['eclSiteHeaderLanguage']),
|
|
20
|
+
EclBannerComponent: new Set(['bannerContainer', 'bannerFooter', 'boxBackground', 'copyright', 'eclBannerImage', 'eclBannerVideo', 'eclLinkComponents', 'eclSize', 'fontColor', 'fontSize', 'fontWeight', 'hasOverlay', 'horizontalAlignment', 'isFullWidth', 'pauseBtn', 'playBtn', 'verticalAlignment']),
|
|
21
|
+
EclBannerImageDirective: new Set(['eclImageAnchor']),
|
|
22
|
+
EclBlockquoteComponent: new Set(['author', 'cite']),
|
|
23
|
+
EclBreadcrumbComponent: new Set(['eclBreadcrumbContainer', 'eclEllipsisSegment', 'eclSegments', 'ellipsisAriaLabel', 'ellipsisLabel', 'isExpanded']),
|
|
24
|
+
EclBreadcrumbSegmentComponent: new Set(['href', 'isCurrentPage', 'isEllipsis', 'queryParams', 'queryParamsHandling', 'routerLink']),
|
|
25
|
+
EclButtonComponent: new Set(['containerStyleClass', 'eclStyle', 'iconComponents', 'indicator', 'isIconOnly', 'size', 'variant']),
|
|
26
|
+
EclCardComponent: new Set(['eclCardImage', 'eclContentBlock', 'eclContentBlockTitle']),
|
|
27
|
+
EclCardPictureDirective: new Set(['hasZoom']),
|
|
28
|
+
EclCarouselComponent: new Set(['ariaLabel', 'carouselContainerElement', 'isAutoplay', 'playInterval', 'slides']),
|
|
29
|
+
EclCarouselItemComponent: new Set(['banner', 'isCurrentInput', 'teaserText']),
|
|
30
|
+
EclCategoryFilterComponent: new Set(['ariaLabel', 'currentItemId', 'eclCategoryFilterItemsAll', 'eclCategoryList']),
|
|
31
|
+
EclCategoryFilterItemComponent: new Set(['eclCategoryList', 'href', 'idInput']),
|
|
32
|
+
EclCategoryFilterListComponent: new Set(['eclCategoryFilterItems']),
|
|
33
|
+
EclCheckboxDirective: new Set(['eclCheckboxHelpComponent', 'eclCheckboxLabelComponent', 'eclFormLabelDirective', 'eclHelpBlockDirective', 'isDisabledInput', 'isInvalidInput', 'isSingle']),
|
|
34
|
+
EclCheckboxHelpComponent: new Set(['isDisabledInput']),
|
|
35
|
+
EclCheckboxLabelComponent: new Set(['isRequired']),
|
|
36
|
+
EclContentBlockSecondaryMetasDirective: new Set(['isHorizontal']),
|
|
37
|
+
EclContentBlockTitleDirective: new Set(['eclLink']),
|
|
38
|
+
EclContentItemComponent: new Set(['eclContentBlock', 'eclContentBlockTitle', 'eclContentItemImage', 'eclContentItemPicture', 'eclDateBlock', 'hasDivider']),
|
|
39
|
+
EclContentItemPictureDirective: new Set(['hasZoom', 'position', 'size']),
|
|
40
|
+
EclDateBlockComponent: new Set(['date', 'dateFormat', 'datetimeInput', 'day', 'month', 'monthTitle', 'variant', 'year']),
|
|
41
|
+
EclDatePickerDuetDirective: new Set(['dateAdapter', 'eclSize', 'isInvalid', 'placeholder']),
|
|
42
|
+
EclDescriptionListDefinitionComponent: new Set(['variant']),
|
|
43
|
+
EclDescriptionListDirective: new Set(['eclListItems', 'isHorizontal', 'maxVisibleItems']),
|
|
44
|
+
EclExpandableComponent: new Set(['collapsedLabel', 'expandedLabel', 'isExpanded']),
|
|
45
|
+
EclFactFiguresComponent: new Set(['columns', 'fontSize', 'isCentered', 'items', 'sourcesLabel']),
|
|
46
|
+
EclFactFiguresItemComponent: new Set(['eclIconComponents', 'eclTitle', 'eclValue', 'sourcesLabel']),
|
|
47
|
+
EclFactFiguresViewAllComponent: new Set(['eclLink']),
|
|
48
|
+
EclFeaturedComponent: new Set(['horizontalAlign', 'isDynamicImage', 'isLinkHighlighted', 'position', 'variant', 'verticalAlign']),
|
|
49
|
+
EclFeaturedItemComponent: new Set(['eclMicroTitle', 'eclTitle', 'id', 'links', 'mediaContainer']),
|
|
50
|
+
EclFeaturedMediaAnchorDirective: new Set(['eclFeaturedMediaAnchor']),
|
|
51
|
+
EclFeedbackMessageDirective: new Set(['eclIconComponents']),
|
|
52
|
+
EclFileComponent: new Set(['description', 'fileIcon', 'id', 'labelInfo', 'langId', 'language', 'primaryMeta', 'toggleAriaLabel']),
|
|
53
|
+
EclFileItemComponent: new Set(['eclTitle', 'langDetail', 'meta', 'metaId', 'titleId']),
|
|
54
|
+
EclFileItemsComponent: new Set(['id', 'isExpanded']),
|
|
55
|
+
EclFileUploadDirective: new Set(['disabled', 'id', 'isInvalid', 'multiple', 'variant']),
|
|
56
|
+
EclFormGroupComponent: new Set(['eclRange']),
|
|
57
|
+
EclFormLabelComponent: new Set(['isDisabled', 'isHidden', 'isInvalid', 'isOptional', 'isRequired']),
|
|
58
|
+
EclGalleryComponent: new Set(['columns', 'gridTemplate', 'isFullWidth', 'isGrid', 'isNoOverlay', 'isOpenInFullScreenPossible', 'isShareable', 'isShowTitleOnHover', 'maxVisibleItems', 'ratio']),
|
|
59
|
+
EclGalleryFooterComponent: new Set(['infoId']),
|
|
60
|
+
EclGalleryItemComponent: new Set(['ariaLabel', 'description', 'galleryPicture', 'icon', 'isShareable', 'itemId', 'mediaChild', 'mediaType', 'meta', 'publicationDate', 'srVideoAudioDescription', 'src', 'title', 'titleAlwaysVisible', 'videoLength']),
|
|
61
|
+
EclGalleryMediaDirective: new Set(['hasZoom', 'poster']),
|
|
62
|
+
EclGalleryThumbnailDirective: new Set(['hasZoom']),
|
|
63
|
+
EclHelpBlockDirective: new Set(['isDisabled']),
|
|
64
|
+
EclHighlightedSearchComponent: new Set(['description', 'eclTitle', 'formExtraAttributes', 'helperText', 'placeholder', 'searchButtonLabel', 'suggestionLabel']),
|
|
65
|
+
EclIconComponent: new Set(['ariaHidden', 'ariaLabelledby', 'color', 'focusable', 'icon', 'iconSet', 'isFlipHorizontal', 'role', 'size', 'svgEl', 'title', 'transform']),
|
|
66
|
+
EclInpageNavigationComponent: new Set(['eclNavigationLinkItems', 'eclNavigationList', 'eclTitle', 'marginBottom', 'marginTop', 'navTittle', 'offsetTop', 'toggleWrapper', 'togglerButton']),
|
|
67
|
+
EclInpageNavigationItemComponent: new Set(['isActive', 'label', 'link', 'sectionId']),
|
|
68
|
+
EclLabelDirective: new Set(['variant']),
|
|
69
|
+
EclLayoutWrapperComponent: new Set(['columns', 'direction', 'forcedColumn', 'fullHeight', 'infoPosition']),
|
|
70
|
+
EclLinkDirective: new Set(['eclIconComponents', 'extraAttributes', 'isBranded', 'isIconOnly', 'isInverted', 'variant']),
|
|
71
|
+
EclListIllustrationComponent: new Set(['counterStart', 'eclIllustrationItems', 'fontSize', 'hasDividers', 'horizontalColumns', 'isCentered', 'isIconInline', 'isZebra', 'variant']),
|
|
72
|
+
EclListIllustrationImageDirective: new Set(['size']),
|
|
73
|
+
EclListIllustrationItemComponent: new Set(['eclIllustrationIcon', 'eclIllustrationPicture', 'eclTitle', 'eclValue']),
|
|
74
|
+
EclListIllustrationPictureDirective: new Set(['eclIllustrationImage', 'isSquare']),
|
|
75
|
+
EclLoadingIndicatorComponent: new Set(['isCentered', 'isVisible', 'size', 'variant']),
|
|
76
|
+
EclMediaContainerComponent: new Set(['captionPosition', 'eclAutoplay', 'eclButtons', 'eclMediaContainerItem', 'expandable', 'isFullWidth', 'pauseButton', 'playButton']),
|
|
77
|
+
EclMediaContainerIframeDirective: new Set(['height', 'width']),
|
|
78
|
+
EclMediaContainerItemDirective: new Set(['contentIframe', 'ratio']),
|
|
79
|
+
EclMegaMenuFeaturedComponent: new Set(['featuredItems', 'links', 'megaMenuFeaturedScrollable', 'title', 'titleId']),
|
|
80
|
+
EclMegaMenuFeaturedListItemDirective: new Set(['isCombo', 'isImageOnly']),
|
|
81
|
+
EclMegaMenuInfoComponent: new Set(['linkItem', 'title', 'titleId']),
|
|
82
|
+
EclMegaMenuItemComponent: new Set(['currentAriaLabel', 'eclMegaMenuFeatured', 'eclMegaMenuSublist', 'href', 'isCurrentPage', 'isOneLevelOnly', 'isPromotional', 'label', 'linkExtraAttributes', 'queryParams', 'queryParamsHandling', 'routerLink', 'target']),
|
|
83
|
+
EclMegaMenuSubitemComponent: new Set(['buttonId', 'eclMegaMenuFeatured', 'externalIconTitle', 'href', 'isExternal', 'isSeeAll', 'label', 'linkExtraAttributes', 'megaMenuLevel2', 'queryParams', 'queryParamsHandling', 'routerLink', 'submenu', 'target']),
|
|
84
|
+
EclMegaMenuSublistDirective: new Set(['spacer', 'submenuItems']),
|
|
85
|
+
EclMenuComponent: new Set(['maxLines']),
|
|
86
|
+
EclMenuItemComponent: new Set(['href', 'id', 'isCurrentInput', 'label', 'linkExtraAttributes', 'queryParams', 'queryParamsHandling', 'routerLink', 'submenu', 'target', 'toggleAriaLabel']),
|
|
87
|
+
EclMenuMegaComponent: new Set(['eclMenuMegaItems']),
|
|
88
|
+
EclMenuMegaItemComponent: new Set(['href', 'id', 'isCurrentInput', 'isSeeAll', 'label', 'linkExtraAttributes', 'queryParams', 'queryParamsHandling', 'routerLink', 'target']),
|
|
89
|
+
EclModalCloseDirective: new Set(['eclModalResult', 'eclModalRole']),
|
|
90
|
+
EclModalComponent: new Set(['eclModalBody', 'eclModalCloseComponents', 'eclModalHeader', 'size', 'variant']),
|
|
91
|
+
EclModalFooterComponent: new Set(['buttonComponents']),
|
|
92
|
+
EclModalHeaderComponent: new Set(['closeButton']),
|
|
93
|
+
EclModalTriggerDirective: new Set(['eclModalTriggerFor']),
|
|
94
|
+
EclMultiselectComponent: new Set(['ariaDescribedby', 'counterLabel', 'disabled', 'eclOptionItems', 'eclPlaceholder', 'eclSize', 'hasSearchBox', 'hasSelectAll', 'id', 'isInvalid', 'isSubmitOnApply', 'toggleLabel']),
|
|
95
|
+
EclMultiselectInputComponent: new Set(['ariaControls', 'ariaDescribedby', 'counterLabel', 'eclSize', 'inputPlaceholder', 'isDisabled', 'isDropdownExpanded', 'isInvalid', 'selectedItemsLabels', 'toggleId', 'toggleLabel']),
|
|
96
|
+
EclMultiselectOptgroupComponent: new Set(['label']),
|
|
97
|
+
EclMultiselectOptionComponent: new Set(['disabled', 'isChecked', 'label', 'value']),
|
|
98
|
+
EclMultiselectOptionDirective: new Set(['disabled', 'eclOptionItems', 'label', 'selected', 'value']),
|
|
99
|
+
EclNavigationListComponent: new Set(['columns', 'hasBorders']),
|
|
100
|
+
EclNavigationListItemComponent: new Set(['eclContentBlock', 'variant']),
|
|
101
|
+
EclNewsTickerComponent: new Set(['firstHiddenItem', 'isAutoplay', 'lastHiddenItem', 'newsTickerItems', 'pauseBtn', 'playBtn', 'slidesContainer']),
|
|
102
|
+
EclNewsTickerItemComponent: new Set(['eclLink', 'projectedIcon']),
|
|
103
|
+
EclNotificationComponent: new Set(['isCloseable', 'isVisibleInput', 'notificationCustomIcon', 'notificationTitle', 'variant']),
|
|
104
|
+
EclNotificationLinkDirective: new Set(['eclLinkItems']),
|
|
105
|
+
EclPageHeaderComponent: new Set(['descriptionPosition', 'eclBreadcrumbComponent', 'hasBackground', 'picturePosition']),
|
|
106
|
+
EclPageHeaderDescriptionContainerComponent: new Set(['position']),
|
|
107
|
+
EclPageHeaderMetaItemDirective: new Set(['eclIcon']),
|
|
108
|
+
EclPageHeaderTitleDirective: new Set(['isTitleVisible']),
|
|
109
|
+
EclPageSummaryComponent: new Set(['eclTitle', 'hasIcon', 'id']),
|
|
110
|
+
EclPaginationComponent: new Set(['currentPage', 'eclPaginationList', 'mode', 'pageSize', 'pageWindowSize', 'totalItems']),
|
|
111
|
+
EclPaginationItemComponent: new Set(['ariaLabel', 'href', 'isCurrent', 'isNext', 'isPrevious', 'isTruncated', 'label', 'pagesCount', 'queryParams', 'queryParamsHandling', 'routerLink']),
|
|
112
|
+
EclPopoverComponent: new Set(['eclPopoverContainerElement', 'eclPopoverScrollableElement', 'eclPopoverToggle']),
|
|
113
|
+
EclQuizCardComponent: new Set(['answer', 'answerTitle', 'icon', 'iconSize', 'id', 'imageAlt', 'imageDisplay', 'imageSrc', 'options', 'question']),
|
|
114
|
+
EclQuizComponent: new Set(['eclDescription', 'eclTitle', 'hasBackground', 'isFullWidth', 'variant']),
|
|
115
|
+
EclRadioDirective: new Set(['disabledInput', 'eclRadioLabelComponent', 'invalidInput', 'isBinary']),
|
|
116
|
+
EclRadioLabelComponent: new Set(['isDisabled', 'isInvalid']),
|
|
117
|
+
EclRangeDirective: new Set(['eclSize', 'hasValueLabel', 'isInvalid', 'rangeValueId', 'value']),
|
|
118
|
+
EclRatingFieldComponent: new Set(['disabled', 'name', 'numberOfStars', 'rating']),
|
|
119
|
+
EclSearchFormComponent: new Set(['buttonExtraClassses', 'inputExtraClassses', 'inputId', 'label', 'placeholder', 'searchButtonIcon', 'searchButtonLabel', 'searchInputText']),
|
|
120
|
+
EclSelectContainerComponent: new Set(['disabled', 'eclSize', 'isInvalid', 'toggleLabel']),
|
|
121
|
+
EclSelectDirective: new Set(['disabled', 'eclSize', 'isInvalid', 'toggleLabel']),
|
|
122
|
+
EclSiteFooterComponent: new Set(['a11yStatementRef', 'isCore']),
|
|
123
|
+
EclSiteFooterCoownerComponent: new Set(['eclTitle']),
|
|
124
|
+
EclSiteFooterCoownerItemDirective: new Set(['eclLinks']),
|
|
125
|
+
EclSiteFooterCoownerListDirective: new Set(['eclFooterCoownerListItems']),
|
|
126
|
+
EclSiteFooterCoreComponent: new Set(['languageCode']),
|
|
127
|
+
EclSiteFooterFeedbackComponent: new Set(['description']),
|
|
128
|
+
EclSiteFooterFixedContentEUComponent: new Set(['a11yStatementRef', 'content', 'ecLogoLanguageCode', 'isCore', 'languageCode']),
|
|
129
|
+
EclSiteFooterListDirective: new Set(['isInline']),
|
|
130
|
+
EclSiteFooterRowCommonComponent: new Set(['a11yStatementRef', 'isCore', 'languageCode']),
|
|
131
|
+
EclSiteFooterSectionDirective: new Set(['variant']),
|
|
132
|
+
EclSiteFooterTitleDirective: new Set(['isSeparator']),
|
|
133
|
+
EclSiteHeaderComponent: new Set(['bannerHeader', 'eclHeaderImage', 'eclHeaderLink', 'eclLanguageComponent', 'eclLoginComponent', 'eclMegaMenuComponent', 'eclMenuComponent', 'eclNotificationComponent', 'eclSearchComponent', 'isSiteNameMobileOnly', 'languageCode', 'logoSize', 'siteHeaderHeader', 'siteName', 'topContainerElement']),
|
|
134
|
+
EclSiteHeaderCustomActionLinkDirective: new Set(['href', 'routerLink']),
|
|
135
|
+
EclSiteHeaderCustomActionTitleDirective: new Set(['id']),
|
|
136
|
+
EclSiteHeaderLanguagePopoverComponent: new Set(['euColumnsCount', 'euLanguages', 'isFull', 'isHidden', 'isPushLeft', 'isPushRight', 'isStack', 'languageArrowPosition', 'languageCode', 'leftPosition', 'nonEuColumnsCount', 'nonEuLanguages', 'rightPosition']),
|
|
137
|
+
EclSiteHeaderLoginComponent: new Set(['isLoggedIn']),
|
|
138
|
+
EclSiteHeaderSearchComponent: new Set(['searchButtonLabel', 'searchInputPlaceholder', 'searchInputText']),
|
|
139
|
+
EclSliderPagerComponent: new Set(['activeIndex', 'dotAriaLabels', 'dotExtraClasses', 'dotIndices', 'dotsExtraClasses', 'isNextDisabled', 'isPlaying', 'isPrevDisabled', 'nextExtraClasses', 'pauseExtraClasses', 'playExtraClasses', 'prevExtraClasses', 'size', 'variant']),
|
|
140
|
+
EclSloganTickerComponent: new Set(['eclAriaLabel']),
|
|
141
|
+
EclSocialMediaFollowComponent: new Set(['description', 'horizontalAlignment', 'isIconOnly', 'isVertical']),
|
|
142
|
+
EclSocialMediaFollowItemComponent: new Set(['extraAttributes', 'href', 'icon', 'iconSet', 'isInverted', 'routerLink', 'size', 'target']),
|
|
143
|
+
EclSocialMediaFollowLinkDirective: new Set(['eclIcon']),
|
|
144
|
+
EclSplashPageLanguageCategoryComponent: new Set(['title']),
|
|
145
|
+
EclSplashPageLanguageContainerComponent: new Set(['title']),
|
|
146
|
+
EclSplashPageLanguageLinkComponent: new Set(['lang']),
|
|
147
|
+
EclSpotlightComponent: new Set(['copyright', 'fontSize', 'hasAnchor', 'header', 'spotlightLink', 'spotlightTitle']),
|
|
148
|
+
EclStickyContainerComponent: new Set(['isEnabled', 'marginBottom', 'marginTop']),
|
|
149
|
+
EclStoryCardComponent: new Set(['autoplayDelay', 'eclDescription', 'eclId', 'eclTitle', 'isAutoplay', 'variant']),
|
|
150
|
+
EclStoryCardGridDetailsComponent: new Set(['author', 'description', 'eclTitle', 'linkRef', 'role', 'source', 'teaserLabel']),
|
|
151
|
+
EclStoryCardItemComponent: new Set(['gridTitle', 'pictureRef']),
|
|
152
|
+
EclTabComponent: new Set(['anchorExtraClasses', 'contentTemplate', 'id', 'isActive', 'isHidden']),
|
|
153
|
+
EclTableCellDirective: new Set(['eclTableCellHeader', 'isGroup']),
|
|
154
|
+
EclTableCellGroupDirective: new Set(['eclTableCellGroup']),
|
|
155
|
+
EclTableDirective: new Set(['eclTableHeaders', 'id', 'isSimple', 'isZebra']),
|
|
156
|
+
EclTableHeadDirective: new Set(['eclTableHeaders']),
|
|
157
|
+
EclTableHeaderDirective: new Set(['eclFilterable', 'eclSortable', 'filterLabel', 'id', 'scope', 'sortButtonAriaLabel']),
|
|
158
|
+
EclTabsComponent: new Set(['bodyClass']),
|
|
159
|
+
EclTagComponent: new Set(['isWrapped', 'variant']),
|
|
160
|
+
EclTextAreaDirective: new Set(['eclSize', 'isInvalid']),
|
|
161
|
+
EclTextInputDirective: new Set(['eclSize', 'isInvalid', 'type']),
|
|
162
|
+
EclTextMediaComponent: new Set(['mediaPosition', 'variant']),
|
|
163
|
+
EclTextMediaMediaAnchorDirective: new Set(['anchor']),
|
|
164
|
+
EclTimelineItemComponent: new Set(['collapseLabel', 'eclLink', 'expandLabel', 'isCollapsed', 'isHeadline', 'isToggler', 'isTogglerExpanded', 'toggleGroup']),
|
|
165
|
+
EclTooltipDirective: new Set(['eclTooltip', 'isInverted']),
|
|
166
|
+
EclUnorderedListDirective: new Set(['isDivider', 'isNoMarker']),
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Map of component/directive selectors to their class names.
|
|
170
|
+
* Used to resolve @ViewChild('selector') to the correct class in ECL_SIGNAL_MAP.
|
|
171
|
+
* Ambiguous selectors (shared by multiple classes) are excluded.
|
|
172
|
+
*/
|
|
173
|
+
exports.ECL_SELECTOR_TO_CLASS = {
|
|
174
|
+
'[eclBlockquote]': 'EclBlockquoteComponent',
|
|
175
|
+
'[eclCheckboxHelp]': 'EclCheckboxHelpComponent',
|
|
176
|
+
'[eclCheckbox]': 'EclCheckboxDirective',
|
|
177
|
+
'[eclContentBlockSecondaryMetas]': 'EclContentBlockSecondaryMetasDirective',
|
|
178
|
+
'[eclContentBlockTitle]': 'EclContentBlockTitleDirective',
|
|
179
|
+
'[eclContentItemPicture]': 'EclContentItemPictureDirective',
|
|
180
|
+
'[eclDescriptionListDefinition]': 'EclDescriptionListDefinitionComponent',
|
|
181
|
+
'[eclDescriptionList]': 'EclDescriptionListDirective',
|
|
182
|
+
'[eclFeaturedMediaAnchor]': 'EclFeaturedMediaAnchorDirective',
|
|
183
|
+
'[eclFeedbackMessage]': 'EclFeedbackMessageDirective',
|
|
184
|
+
'[eclFileUpload]': 'EclFileUploadDirective',
|
|
185
|
+
'[eclFormGroup]': 'EclFormGroupComponent',
|
|
186
|
+
'[eclFormLabel]': 'EclFormLabelComponent',
|
|
187
|
+
'[eclGalleryImage]': 'EclGalleryMediaDirective',
|
|
188
|
+
'[eclGalleryMedia]': 'EclGalleryMediaDirective',
|
|
189
|
+
'[eclHelpBlock]': 'EclHelpBlockDirective',
|
|
190
|
+
'[eclLabel]': 'EclLabelDirective',
|
|
191
|
+
'[eclLink]': 'EclLinkDirective',
|
|
192
|
+
'[eclMediaContainerItem]': 'EclMediaContainerItemDirective',
|
|
193
|
+
'[eclMegaMenuFeaturedListItem]': 'EclMegaMenuFeaturedListItemDirective',
|
|
194
|
+
'[eclModalClose]': 'EclModalCloseDirective',
|
|
195
|
+
'[eclModalFooter]': 'EclModalFooterComponent',
|
|
196
|
+
'[eclModalHeader]': 'EclModalHeaderComponent',
|
|
197
|
+
'[eclModalTriggerFor]': 'EclModalTriggerDirective',
|
|
198
|
+
'[eclNotificationLink]': 'EclNotificationLinkDirective',
|
|
199
|
+
'[eclPageHeaderMetaItem]': 'EclPageHeaderMetaItemDirective',
|
|
200
|
+
'[eclPageHeaderTitle]': 'EclPageHeaderTitleDirective',
|
|
201
|
+
'[eclRadioLabel]': 'EclRadioLabelComponent',
|
|
202
|
+
'[eclRadio]': 'EclRadioDirective',
|
|
203
|
+
'[eclSiteFooterCoownerItem]': 'EclSiteFooterCoownerItemDirective',
|
|
204
|
+
'[eclSiteFooterCoownerList]': 'EclSiteFooterCoownerListDirective',
|
|
205
|
+
'[eclSiteFooterList]': 'EclSiteFooterListDirective',
|
|
206
|
+
'[eclSiteFooterSection]': 'EclSiteFooterSectionDirective',
|
|
207
|
+
'[eclSiteFooterTitle]': 'EclSiteFooterTitleDirective',
|
|
208
|
+
'[eclSocialMediaFollowLink]': 'EclSocialMediaFollowLinkDirective',
|
|
209
|
+
'[eclSplashPageLanguageContainer]': 'EclSplashPageLanguageContainerComponent',
|
|
210
|
+
'[eclStoryCardGridDetails]': 'EclStoryCardGridDetailsComponent',
|
|
211
|
+
'[eclTableCellGroup]': 'EclTableCellGroupDirective',
|
|
212
|
+
'[eclTableCell]': 'EclTableCellDirective',
|
|
213
|
+
'[eclTableHead]': 'EclTableHeadDirective',
|
|
214
|
+
'[eclTableHeader]': 'EclTableHeaderDirective',
|
|
215
|
+
'[eclTable]': 'EclTableDirective',
|
|
216
|
+
'[eclTag]': 'EclTagComponent',
|
|
217
|
+
'[eclTooltip]': 'EclTooltipDirective',
|
|
218
|
+
'[eclUnorderedList]': 'EclUnorderedListDirective',
|
|
219
|
+
'a[eclButton]': 'EclButtonComponent',
|
|
220
|
+
'a[eclSiteHeaderCustomActionLink]': 'EclSiteHeaderCustomActionLinkDirective',
|
|
221
|
+
'a[eclSplashPageLanguageLink]': 'EclSplashPageLanguageLinkComponent',
|
|
222
|
+
'article[eclCard]': 'EclCardComponent',
|
|
223
|
+
'article[eclFeatured]': 'EclFeaturedComponent',
|
|
224
|
+
'article[eclTextMedia]': 'EclTextMediaComponent',
|
|
225
|
+
'button[ecl-button]': 'EclButtonComponent',
|
|
226
|
+
'button[eclButton]': 'EclButtonComponent',
|
|
227
|
+
'dialog[eclModal]': 'EclModalComponent',
|
|
228
|
+
'div[eclAccordion]': 'EclAccordionDirective',
|
|
229
|
+
'div[eclAddToCalendar]': 'EclAddToCalendarComponent',
|
|
230
|
+
'div[eclAnimatedNumbers]': 'EclAnimatedNumbersComponent',
|
|
231
|
+
'div[eclFactFiguresItem]': 'EclFactFiguresItemComponent',
|
|
232
|
+
'div[eclFactFigures]': 'EclFactFiguresComponent',
|
|
233
|
+
'div[eclFeaturedItem]': 'EclFeaturedItemComponent',
|
|
234
|
+
'div[eclLayoutWrapper]': 'EclLayoutWrapperComponent',
|
|
235
|
+
'div[eclMegaMenuFeatured]': 'EclMegaMenuFeaturedComponent',
|
|
236
|
+
'div[eclMegaMenuInfo]': 'EclMegaMenuInfoComponent',
|
|
237
|
+
'div[eclMultiselectInput]': 'EclMultiselectInputComponent',
|
|
238
|
+
'div[eclMultiselectOption]': 'EclMultiselectOptionComponent',
|
|
239
|
+
'div[eclPageHeaderDescriptionContainer]': 'EclPageHeaderDescriptionContainerComponent',
|
|
240
|
+
'div[eclPageHeader]': 'EclPageHeaderComponent',
|
|
241
|
+
'div[eclSiteFooterCoowner]': 'EclSiteFooterCoownerComponent',
|
|
242
|
+
'div[eclSiteFooterCore]': 'EclSiteFooterCoreComponent',
|
|
243
|
+
'div[eclSiteFooterFeedback]': 'EclSiteFooterFeedbackComponent',
|
|
244
|
+
'div[eclSiteFooterRowCommon]': 'EclSiteFooterRowCommonComponent',
|
|
245
|
+
'div[eclSiteHeaderCustomActionTitle]': 'EclSiteHeaderCustomActionTitleDirective',
|
|
246
|
+
'div[eclSplashPageLanguageCategory]': 'EclSplashPageLanguageCategoryComponent',
|
|
247
|
+
'div[eclTab]': 'EclTabComponent',
|
|
248
|
+
'div[eclTabs]': 'EclTabsComponent',
|
|
249
|
+
'duet-date-picker[eclDatePicker]': 'EclDatePickerDuetDirective',
|
|
250
|
+
'ecl-app': 'EclAppComponent',
|
|
251
|
+
'ecl-banner': 'EclBannerComponent',
|
|
252
|
+
'ecl-card': 'EclCardComponent',
|
|
253
|
+
'ecl-carousel': 'EclCarouselComponent',
|
|
254
|
+
'ecl-carousel-item': 'EclCarouselItemComponent',
|
|
255
|
+
'ecl-category-filter': 'EclCategoryFilterComponent',
|
|
256
|
+
'ecl-category-filter-item': 'EclCategoryFilterItemComponent',
|
|
257
|
+
'ecl-category-filter-list': 'EclCategoryFilterListComponent',
|
|
258
|
+
'ecl-content-item': 'EclContentItemComponent',
|
|
259
|
+
'ecl-expandable': 'EclExpandableComponent',
|
|
260
|
+
'ecl-fact-figures': 'EclFactFiguresComponent',
|
|
261
|
+
'ecl-fact-figures-item': 'EclFactFiguresItemComponent',
|
|
262
|
+
'ecl-fact-figures-view-all': 'EclFactFiguresViewAllComponent',
|
|
263
|
+
'ecl-featured': 'EclFeaturedComponent',
|
|
264
|
+
'ecl-featured-item': 'EclFeaturedItemComponent',
|
|
265
|
+
'ecl-file': 'EclFileComponent',
|
|
266
|
+
'ecl-file-item': 'EclFileItemComponent',
|
|
267
|
+
'ecl-file-items': 'EclFileItemsComponent',
|
|
268
|
+
'ecl-form-group': 'EclFormGroupComponent',
|
|
269
|
+
'ecl-gallery': 'EclGalleryComponent',
|
|
270
|
+
'ecl-gallery-footer': 'EclGalleryFooterComponent',
|
|
271
|
+
'ecl-gallery-item': 'EclGalleryItemComponent',
|
|
272
|
+
'ecl-highlighted-search': 'EclHighlightedSearchComponent',
|
|
273
|
+
'ecl-icon': 'EclIconComponent',
|
|
274
|
+
'ecl-inpage-navigation': 'EclInpageNavigationComponent',
|
|
275
|
+
'ecl-list-illustration': 'EclListIllustrationComponent',
|
|
276
|
+
'ecl-list-illustration-item': 'EclListIllustrationItemComponent',
|
|
277
|
+
'ecl-loading-indicator': 'EclLoadingIndicatorComponent',
|
|
278
|
+
'ecl-media-container': 'EclMediaContainerComponent',
|
|
279
|
+
'ecl-menu': 'EclMenuComponent',
|
|
280
|
+
'ecl-menu-item': 'EclMenuItemComponent',
|
|
281
|
+
'ecl-menu-mega': 'EclMenuMegaComponent',
|
|
282
|
+
'ecl-menu-mega-item': 'EclMenuMegaItemComponent',
|
|
283
|
+
'ecl-navigation-list': 'EclNavigationListComponent',
|
|
284
|
+
'ecl-navigation-list-item': 'EclNavigationListItemComponent',
|
|
285
|
+
'ecl-news-ticker': 'EclNewsTickerComponent',
|
|
286
|
+
'ecl-news-ticker-item': 'EclNewsTickerItemComponent',
|
|
287
|
+
'ecl-notification': 'EclNotificationComponent',
|
|
288
|
+
'ecl-pagination': 'EclPaginationComponent',
|
|
289
|
+
'ecl-popover': 'EclPopoverComponent',
|
|
290
|
+
'ecl-rating-field': 'EclRatingFieldComponent',
|
|
291
|
+
'ecl-search-form': 'EclSearchFormComponent',
|
|
292
|
+
'ecl-select-container': 'EclSelectContainerComponent',
|
|
293
|
+
'ecl-site-footer-fixed-content-eu': 'EclSiteFooterFixedContentEUComponent',
|
|
294
|
+
'ecl-site-header': 'EclSiteHeaderComponent',
|
|
295
|
+
'ecl-site-header-language-popover': 'EclSiteHeaderLanguagePopoverComponent',
|
|
296
|
+
'ecl-site-header-login': 'EclSiteHeaderLoginComponent',
|
|
297
|
+
'ecl-site-header-search': 'EclSiteHeaderSearchComponent',
|
|
298
|
+
'ecl-slider-pager': 'EclSliderPagerComponent',
|
|
299
|
+
'ecl-slogan-ticker': 'EclSloganTickerComponent',
|
|
300
|
+
'ecl-social-media-follow': 'EclSocialMediaFollowComponent',
|
|
301
|
+
'ecl-social-media-follow-item': 'EclSocialMediaFollowItemComponent',
|
|
302
|
+
'ecl-sticky-container': 'EclStickyContainerComponent',
|
|
303
|
+
'ecl-tag': 'EclTagComponent',
|
|
304
|
+
'fieldset[eclMultiselectOptgroup]': 'EclMultiselectOptgroupComponent',
|
|
305
|
+
'footer[eclSiteFooter]': 'EclSiteFooterComponent',
|
|
306
|
+
'iframe[eclMediaContainerIframe]': 'EclMediaContainerIframeDirective',
|
|
307
|
+
'img[eclBannerImage]': 'EclBannerImageDirective',
|
|
308
|
+
'img[eclListIllustrationImage]': 'EclListIllustrationImageDirective',
|
|
309
|
+
'img[eclMediaContainerImage]': 'EclMediaContainerItemDirective',
|
|
310
|
+
'img[eclTextMediaImgAnchor]': 'EclTextMediaMediaAnchorDirective',
|
|
311
|
+
'input[eclRange]': 'EclRangeDirective',
|
|
312
|
+
'input[eclTextInput]': 'EclTextInputDirective',
|
|
313
|
+
'label[eclCheckboxLabel]': 'EclCheckboxLabelComponent',
|
|
314
|
+
'li[eclAnimatedNumbersItem]': 'EclAnimatedNumbersItemComponent',
|
|
315
|
+
'li[eclBreadcrumbSegment]': 'EclBreadcrumbSegmentComponent',
|
|
316
|
+
'li[eclInpageNavigationItem]': 'EclInpageNavigationItemComponent',
|
|
317
|
+
'li[eclListIllustrationItem]': 'EclListIllustrationItemComponent',
|
|
318
|
+
'li[eclMegaMenuItem]': 'EclMegaMenuItemComponent',
|
|
319
|
+
'li[eclMegaMenuSubitem]': 'EclMegaMenuSubitemComponent',
|
|
320
|
+
'li[eclPaginationItem]': 'EclPaginationItemComponent',
|
|
321
|
+
'li[eclQuizCard]': 'EclQuizCardComponent',
|
|
322
|
+
'li[eclStoryCardItem]': 'EclStoryCardItemComponent',
|
|
323
|
+
'li[eclTimelineItem]': 'EclTimelineItemComponent',
|
|
324
|
+
'nav[eclBreadcrumb]': 'EclBreadcrumbComponent',
|
|
325
|
+
'ol[eclListIllustration]': 'EclListIllustrationComponent',
|
|
326
|
+
'optgroup[eclMultiselectOptgroup]': 'EclMultiselectOptionDirective',
|
|
327
|
+
'option[eclMultiselectOption]': 'EclMultiselectOptionDirective',
|
|
328
|
+
'picture[eclCardPicture]': 'EclCardPictureDirective',
|
|
329
|
+
'picture[eclGalleryThumbnail]': 'EclGalleryThumbnailDirective',
|
|
330
|
+
'picture[eclListIllustrationPicture]': 'EclListIllustrationPictureDirective',
|
|
331
|
+
'section[eclPageSummary]': 'EclPageSummaryComponent',
|
|
332
|
+
'section[eclQuiz]': 'EclQuizComponent',
|
|
333
|
+
'section[eclSpotlight]': 'EclSpotlightComponent',
|
|
334
|
+
'section[eclStoryCard]': 'EclStoryCardComponent',
|
|
335
|
+
'select[eclMultiselect]': 'EclMultiselectComponent',
|
|
336
|
+
'select[eclSelect]': 'EclSelectDirective',
|
|
337
|
+
'textarea[eclTextArea]': 'EclTextAreaDirective',
|
|
338
|
+
'time[eclDateBlock]': 'EclDateBlockComponent',
|
|
339
|
+
'ul[eclListIllustration]': 'EclListIllustrationComponent',
|
|
340
|
+
'ul[eclMegaMenuSublist]': 'EclMegaMenuSublistDirective',
|
|
341
|
+
};
|
|
342
|
+
//# sourceMappingURL=ecl-signal-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecl-signal-map.js","sourceRoot":"","sources":["../../../schematics/migrate-to-signals/ecl-signal-map.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEU,QAAA,cAAc,GAAwC;IACjE,qBAAqB,EAAE,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC;IAClE,yBAAyB,EAAE,IAAI,GAAG,CAAC,CAAC,eAAe,EAAE,kBAAkB,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IACpH,2BAA2B,EAAE,IAAI,GAAG,CAAC,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,CAAC,CAAC;IAC9H,+BAA+B,EAAE,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC;IACnJ,eAAe,EAAE,IAAI,GAAG,CAAC,CAAC,uBAAuB,CAAC,CAAC;IACnD,kBAAkB,EAAE,IAAI,GAAG,CAAC,CAAC,iBAAiB,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EA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EAAE,yBAAyB;IACnD,mBAAmB,EAAE,oBAAoB;IACzC,uBAAuB,EAAE,sBAAsB;IAC/C,oBAAoB,EAAE,uBAAuB;IAC7C,yBAAyB,EAAE,8BAA8B;IACzD,wBAAwB,EAAE,6BAA6B;CACxD,CAAC"}
|
|
@@ -4,9 +4,10 @@ interface Schema {
|
|
|
4
4
|
dryRun?: boolean;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
* Migrates consumer code that accesses EUI component instances
|
|
7
|
+
* Migrates consumer code that accesses EUI or ECL component instances
|
|
8
|
+
* programmatically.
|
|
8
9
|
*
|
|
9
|
-
* When EUI migrated @Input() → input(), @ViewChild() → viewChild(), and
|
|
10
|
+
* When EUI/ECL migrated @Input() → input(), @ViewChild() → viewChild(), and
|
|
10
11
|
* @ContentChild() → contentChild(), properties that were plain class fields
|
|
11
12
|
* became signal getters. Consumers who access them via @ViewChild need to
|
|
12
13
|
* change `comp.prop` to `comp.prop()`.
|
|
@@ -38,10 +38,20 @@ const compiler_1 = require("@angular/compiler");
|
|
|
38
38
|
const ts = __importStar(require("typescript"));
|
|
39
39
|
const dry_run_1 = require("../utils/dry-run");
|
|
40
40
|
const signal_map_1 = require("./signal-map");
|
|
41
|
+
const ecl_signal_map_1 = require("./ecl-signal-map");
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Combined EUI + ECL signal maps. The migration logic is identical for both
|
|
44
|
+
* libraries (plain field → signal getter), so the maps are merged and the rest
|
|
45
|
+
* of the engine treats them uniformly. EUI and ECL class names don't collide
|
|
46
|
+
* (Eui* vs Ecl* prefixes), and the selector namespaces are disjoint.
|
|
47
|
+
*/
|
|
48
|
+
const EUI_SIGNAL_MAP = { ...signal_map_1.EUI_SIGNAL_MAP, ...ecl_signal_map_1.ECL_SIGNAL_MAP };
|
|
49
|
+
const EUI_SELECTOR_TO_CLASS = { ...signal_map_1.EUI_SELECTOR_TO_CLASS, ...ecl_signal_map_1.ECL_SELECTOR_TO_CLASS };
|
|
50
|
+
/**
|
|
51
|
+
* Migrates consumer code that accesses EUI or ECL component instances
|
|
52
|
+
* programmatically.
|
|
43
53
|
*
|
|
44
|
-
* When EUI migrated @Input() → input(), @ViewChild() → viewChild(), and
|
|
54
|
+
* When EUI/ECL migrated @Input() → input(), @ViewChild() → viewChild(), and
|
|
45
55
|
* @ContentChild() → contentChild(), properties that were plain class fields
|
|
46
56
|
* became signal getters. Consumers who access them via @ViewChild need to
|
|
47
57
|
* change `comp.prop` to `comp.prop()`.
|
|
@@ -95,7 +105,7 @@ function migrateToSignals(options = {}) {
|
|
|
95
105
|
}
|
|
96
106
|
/** Quick check: does the file reference any EUI class name from the signal map? */
|
|
97
107
|
function hasEuiReference(source) {
|
|
98
|
-
for (const className of Object.keys(
|
|
108
|
+
for (const className of Object.keys(EUI_SIGNAL_MAP)) {
|
|
99
109
|
if (source.includes(className))
|
|
100
110
|
return true;
|
|
101
111
|
}
|
|
@@ -155,22 +165,22 @@ function collectEuiReferences(sourceFile, source, templateRefMap) {
|
|
|
155
165
|
// Class property declarations
|
|
156
166
|
if (ts.isPropertyDeclaration(node) && node.name && ts.isIdentifier(node.name)) {
|
|
157
167
|
const euiClass = resolveEuiClassName(node, sourceFile, templateRefMap);
|
|
158
|
-
if (euiClass &&
|
|
159
|
-
refs.set(node.name.text,
|
|
168
|
+
if (euiClass && EUI_SIGNAL_MAP[euiClass]) {
|
|
169
|
+
refs.set(node.name.text, EUI_SIGNAL_MAP[euiClass]);
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
// Variable declarations (const x: EuiXxxComponent = ...)
|
|
163
173
|
if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name)) {
|
|
164
174
|
const typeName = getTypeAnnotationName(node.type);
|
|
165
|
-
if (typeName &&
|
|
166
|
-
refs.set(node.name.text,
|
|
175
|
+
if (typeName && EUI_SIGNAL_MAP[typeName]) {
|
|
176
|
+
refs.set(node.name.text, EUI_SIGNAL_MAP[typeName]);
|
|
167
177
|
}
|
|
168
178
|
}
|
|
169
179
|
// Parameter declarations (method(ref: EuiXxxComponent))
|
|
170
180
|
if (ts.isParameter(node) && ts.isIdentifier(node.name)) {
|
|
171
181
|
const typeName = getTypeAnnotationName(node.type);
|
|
172
|
-
if (typeName &&
|
|
173
|
-
refs.set(node.name.text,
|
|
182
|
+
if (typeName && EUI_SIGNAL_MAP[typeName]) {
|
|
183
|
+
refs.set(node.name.text, EUI_SIGNAL_MAP[typeName]);
|
|
174
184
|
}
|
|
175
185
|
}
|
|
176
186
|
ts.forEachChild(node, visitDirect);
|
|
@@ -202,13 +212,13 @@ function collectEuiReferences(sourceFile, source, templateRefMap) {
|
|
|
202
212
|
function resolveEuiClassName(node, sourceFile, templateRefMap) {
|
|
203
213
|
// Check type annotation first
|
|
204
214
|
const typeName = getTypeAnnotationName(node.type);
|
|
205
|
-
if (typeName &&
|
|
215
|
+
if (typeName && EUI_SIGNAL_MAP[typeName]) {
|
|
206
216
|
return typeName;
|
|
207
217
|
}
|
|
208
218
|
// Check generic type argument: ElementRef<EuiXxxComponent>
|
|
209
219
|
if (node.type && ts.isTypeReferenceNode(node.type) && node.type.typeArguments?.length) {
|
|
210
220
|
const genericArg = getTypeAnnotationName(node.type.typeArguments[0]);
|
|
211
|
-
if (genericArg &&
|
|
221
|
+
if (genericArg && EUI_SIGNAL_MAP[genericArg]) {
|
|
212
222
|
return genericArg;
|
|
213
223
|
}
|
|
214
224
|
}
|
|
@@ -228,14 +238,14 @@ function resolveEuiClassName(node, sourceFile, templateRefMap) {
|
|
|
228
238
|
if (args.length > 0) {
|
|
229
239
|
const firstArg = args[0];
|
|
230
240
|
// @ViewChild(EuiXxxComponent) — class reference
|
|
231
|
-
if (ts.isIdentifier(firstArg) &&
|
|
241
|
+
if (ts.isIdentifier(firstArg) && EUI_SIGNAL_MAP[firstArg.text]) {
|
|
232
242
|
return firstArg.text;
|
|
233
243
|
}
|
|
234
244
|
// @ViewChild('refName') — string template ref, resolve via template
|
|
235
245
|
if (ts.isStringLiteralLike(firstArg)) {
|
|
236
246
|
const refName = firstArg.text;
|
|
237
247
|
const euiClass = templateRefMap.get(refName);
|
|
238
|
-
if (euiClass &&
|
|
248
|
+
if (euiClass && EUI_SIGNAL_MAP[euiClass]) {
|
|
239
249
|
return euiClass;
|
|
240
250
|
}
|
|
241
251
|
}
|
|
@@ -456,8 +466,8 @@ function collectTemplateRefs(nodes, refMap) {
|
|
|
456
466
|
function resolveElementToEuiClass(element) {
|
|
457
467
|
const tag = element.name;
|
|
458
468
|
// Direct tag match: eui-alert, eui-dialog, etc.
|
|
459
|
-
if (
|
|
460
|
-
return
|
|
469
|
+
if (EUI_SELECTOR_TO_CLASS[tag]) {
|
|
470
|
+
return EUI_SELECTOR_TO_CLASS[tag];
|
|
461
471
|
}
|
|
462
472
|
// Attribute selector match: check all attributes against known patterns
|
|
463
473
|
const allAttrNames = [
|
|
@@ -467,13 +477,13 @@ function resolveElementToEuiClass(element) {
|
|
|
467
477
|
for (const attrName of allAttrNames) {
|
|
468
478
|
// Try tag[attr] pattern first (e.g. 'button[euiButton]', 'input[euiAutocomplete]')
|
|
469
479
|
const tagAttrSelector = `${tag}[${attrName}]`;
|
|
470
|
-
if (
|
|
471
|
-
return
|
|
480
|
+
if (EUI_SELECTOR_TO_CLASS[tagAttrSelector]) {
|
|
481
|
+
return EUI_SELECTOR_TO_CLASS[tagAttrSelector];
|
|
472
482
|
}
|
|
473
483
|
// Try [attr] pattern (e.g. '[euiTooltip]', '[euiLoading]')
|
|
474
484
|
const attrSelector = `[${attrName}]`;
|
|
475
|
-
if (
|
|
476
|
-
return
|
|
485
|
+
if (EUI_SELECTOR_TO_CLASS[attrSelector]) {
|
|
486
|
+
return EUI_SELECTOR_TO_CLASS[attrSelector];
|
|
477
487
|
}
|
|
478
488
|
}
|
|
479
489
|
return null;
|