@eui/ecl 19.3.1-snapshot-1749804823673 → 19.3.1-snapshot-1750681705601
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/components/ecl-checkbox/ecl-checkbox-help.component.d.ts +9 -0
- package/components/ecl-checkbox/ecl-checkbox-help.component.d.ts.map +1 -1
- package/components/ecl-checkbox/ecl-checkbox-input.directive.d.ts +21 -1
- package/components/ecl-checkbox/ecl-checkbox-input.directive.d.ts.map +1 -1
- package/components/ecl-checkbox/ecl-checkbox-label.component.d.ts +15 -0
- package/components/ecl-checkbox/ecl-checkbox-label.component.d.ts.map +1 -1
- package/components/ecl-checkbox/ecl-checkbox.directive.d.ts +27 -0
- package/components/ecl-checkbox/ecl-checkbox.directive.d.ts.map +1 -1
- package/components/ecl-date-picker/ecl-date-picker.directive.d.ts +63 -0
- package/components/ecl-date-picker/ecl-date-picker.directive.d.ts.map +1 -1
- package/components/ecl-date-picker/events/ecl-date-picker-date-picked.event.d.ts +3 -0
- package/components/ecl-date-picker/events/ecl-date-picker-date-picked.event.d.ts.map +1 -1
- package/components/ecl-featured/ecl-featured-item-description.component.d.ts +4 -0
- package/components/ecl-featured/ecl-featured-item-description.component.d.ts.map +1 -1
- package/components/ecl-featured/ecl-featured-item-footer.component.d.ts +3 -0
- package/components/ecl-featured/ecl-featured-item-footer.component.d.ts.map +1 -1
- package/components/ecl-featured/ecl-featured-item-link.directive.d.ts +9 -0
- package/components/ecl-featured/ecl-featured-item-link.directive.d.ts.map +1 -1
- package/components/ecl-featured/ecl-featured-item.component.d.ts +3 -0
- package/components/ecl-featured/ecl-featured-item.component.d.ts.map +1 -1
- package/components/ecl-featured/ecl-featured.component.d.ts +12 -0
- package/components/ecl-featured/ecl-featured.component.d.ts.map +1 -1
- package/components/ecl-feedback-message/ecl-feedback-message.directive.d.ts +17 -0
- package/components/ecl-feedback-message/ecl-feedback-message.directive.d.ts.map +1 -1
- package/components/ecl-file-upload/ecl-file-upload.directive.d.ts +49 -0
- package/components/ecl-file-upload/ecl-file-upload.directive.d.ts.map +1 -1
- package/components/ecl-file-upload/events/ecl-file-upload-file-selected.event.d.ts +8 -0
- package/components/ecl-file-upload/events/ecl-file-upload-file-selected.event.d.ts.map +1 -1
- package/components/ecl-gallery/ecl-gallery-footer.component.d.ts +6 -0
- package/components/ecl-gallery/ecl-gallery-footer.component.d.ts.map +1 -1
- package/components/ecl-gallery/ecl-gallery-item.component.d.ts +27 -0
- package/components/ecl-gallery/ecl-gallery-item.component.d.ts.map +1 -1
- package/components/ecl-gallery/ecl-gallery-media.directive.d.ts +18 -0
- package/components/ecl-gallery/ecl-gallery-media.directive.d.ts.map +1 -1
- package/components/ecl-gallery/ecl-gallery.component.d.ts +65 -0
- package/components/ecl-gallery/ecl-gallery.component.d.ts.map +1 -1
- package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts +27 -0
- package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts.map +1 -1
- package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts +6 -0
- package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts.map +1 -1
- package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts +31 -0
- package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts.map +1 -1
- package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts +4 -0
- package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts.map +1 -1
- package/components/ecl-rating-field/ecl-rating-field.component.d.ts +37 -1
- package/components/ecl-rating-field/ecl-rating-field.component.d.ts.map +1 -1
- package/components/ecl-search-form/ecl-search-form.component.d.ts +22 -0
- package/components/ecl-search-form/ecl-search-form.component.d.ts.map +1 -1
- package/components/ecl-select/ecl-select-container.component.d.ts +16 -0
- package/components/ecl-select/ecl-select-container.component.d.ts.map +1 -1
- package/components/ecl-select/ecl-select.directive.d.ts +25 -1
- package/components/ecl-select/ecl-select.directive.d.ts.map +1 -1
- package/components/ecl-tag/ecl-tag-icon.directive.d.ts +8 -0
- package/components/ecl-tag/ecl-tag-icon.directive.d.ts.map +1 -1
- package/components/ecl-tag/ecl-tag-set.directive.d.ts +15 -0
- package/components/ecl-tag/ecl-tag-set.directive.d.ts.map +1 -1
- package/components/ecl-tag/ecl-tag.component.d.ts +23 -0
- package/components/ecl-tag/ecl-tag.component.d.ts.map +1 -1
- package/components/ecl-tag/events/ecl-tag-remove.event.d.ts +3 -0
- package/components/ecl-tag/events/ecl-tag-remove.event.d.ts.map +1 -1
- package/components/ecl-text-area/ecl-text-area.directive.d.ts +12 -0
- package/components/ecl-text-area/ecl-text-area.directive.d.ts.map +1 -1
- package/components/ecl-text-input/ecl-text-input.directive.d.ts +15 -0
- package/components/ecl-text-input/ecl-text-input.directive.d.ts.map +1 -1
- package/components/ecl-timeline/ecl-timeline-item-label.directive.d.ts +8 -0
- package/components/ecl-timeline/ecl-timeline-item-label.directive.d.ts.map +1 -1
- package/components/ecl-timeline/ecl-timeline-item-title.directive.d.ts +8 -0
- package/components/ecl-timeline/ecl-timeline-item-title.directive.d.ts.map +1 -1
- package/components/ecl-timeline/ecl-timeline-item-toggler.component.d.ts +11 -0
- package/components/ecl-timeline/ecl-timeline-item-toggler.component.d.ts.map +1 -1
- package/components/ecl-timeline/ecl-timeline-item.component.d.ts +58 -0
- package/components/ecl-timeline/ecl-timeline-item.component.d.ts.map +1 -1
- package/components/ecl-timeline/ecl-timeline.component.d.ts +28 -0
- package/components/ecl-timeline/ecl-timeline.component.d.ts.map +1 -1
- package/components/ecl-timeline/events/ecl-timeline-item-toggle.event.d.ts +18 -1
- package/components/ecl-timeline/events/ecl-timeline-item-toggle.event.d.ts.map +1 -1
- package/docs/classes/EclDatePickerDatePickedEvent.html +7 -0
- package/docs/classes/EclFileUploadFileSelectedEvent.html +11 -0
- package/docs/classes/EclTagRemoveEvent.html +7 -0
- package/docs/classes/EclTimelineItemToggleEvent.html +19 -0
- package/docs/components/EclCheckboxHelpComponent.html +30 -0
- package/docs/components/EclCheckboxLabelComponent.html +42 -0
- package/docs/components/EclFeaturedComponent.html +36 -0
- package/docs/components/EclFeaturedItemComponent.html +7 -0
- package/docs/components/EclFeaturedItemDescriptionComponent.html +8 -0
- package/docs/components/EclFeaturedItemFooterComponent.html +7 -0
- package/docs/components/EclGalleryComponent.html +153 -0
- package/docs/components/EclGalleryFooterComponent.html +13 -0
- package/docs/components/EclGalleryItemComponent.html +78 -0
- package/docs/components/EclInpageNavigationComponent.html +49 -0
- package/docs/components/EclInpageNavigationItemComponent.html +66 -0
- package/docs/components/EclRatingFieldComponent.html +79 -13
- package/docs/components/EclSearchFormComponent.html +49 -0
- package/docs/components/EclSelectContainerComponent.html +48 -0
- package/docs/components/EclTagComponent.html +36 -0
- package/docs/components/EclTimelineComponent.html +46 -0
- package/docs/components/EclTimelineItemComponent.html +110 -0
- package/docs/components/EclTimelineItemTogglerComponent.html +24 -0
- package/docs/dependencies.html +2 -2
- package/docs/directives/EclCheckboxDirective.html +66 -0
- package/docs/directives/EclCheckboxInputDirective.html +30 -0
- package/docs/directives/EclDatePickerDirective.html +128 -0
- package/docs/directives/EclFeaturedItemFooterLinkDirective.html +7 -0
- package/docs/directives/EclFeaturedItemFooterPictureDirective.html +7 -0
- package/docs/directives/EclFeaturedItemLinkDirective.html +7 -0
- package/docs/directives/EclFeedbackMessageDirective.html +33 -0
- package/docs/directives/EclFileUploadDirective.html +178 -0
- package/docs/directives/EclGalleryMediaDirective.html +36 -0
- package/docs/directives/EclGalleryPictureDirective.html +7 -0
- package/docs/directives/EclGalleryThumbnailDirective.html +7 -0
- package/docs/directives/EclInpageNavigationListDirective.html +19 -0
- package/docs/directives/EclSelectDirective.html +54 -1
- package/docs/directives/EclTagIconExternalDirective.html +27 -0
- package/docs/directives/EclTagSetDirective.html +27 -0
- package/docs/directives/EclTagSetItemDirective.html +20 -0
- package/docs/directives/EclTextAreaDirective.html +47 -0
- package/docs/directives/EclTextInputDirective.html +53 -0
- package/docs/directives/EclTimelineItemLabelDirective.html +27 -0
- package/docs/directives/EclTimelineItemTitleDirective.html +27 -0
- package/docs/injectables/EclInpageNavigationService.html +2 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +13 -1
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +54 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +70 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs +29 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +13 -0
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +48 -0
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs +108 -0
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +59 -0
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +34 -3
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs +19 -0
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-select.mjs +40 -0
- package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs +45 -0
- package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs +12 -0
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs +15 -0
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs +111 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
- package/fesm2022/eui-ecl-core.mjs.map +1 -1
- package/fesm2022/eui-ecl.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,12 +20,24 @@ export declare class EclGalleryPictureImage {
|
|
|
20
20
|
alt?: string;
|
|
21
21
|
loading?: string;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Manages image/video for the thumbnail in the gallery. Adding some styling and functionality.
|
|
25
|
+
*/
|
|
23
26
|
export declare class EclGalleryMediaDirective extends ECLBaseDirective implements OnInit {
|
|
24
27
|
private el;
|
|
28
|
+
/**
|
|
29
|
+
* To be used when there is no thimbnail added. Instead the 'poster' attribute in the <video> element is used
|
|
30
|
+
*/
|
|
25
31
|
poster: string;
|
|
32
|
+
/**
|
|
33
|
+
* When this is true, on mousehover the image will be zoomed.
|
|
34
|
+
*/
|
|
26
35
|
hasZoom: boolean;
|
|
27
36
|
sources: Array<EclGalleryMediaSource>;
|
|
28
37
|
tracks: Array<EclGalleryMediaTrack>;
|
|
38
|
+
/**
|
|
39
|
+
* Applies the ECL classes for the component.
|
|
40
|
+
*/
|
|
29
41
|
get cssClasses(): string;
|
|
30
42
|
isVideo: boolean;
|
|
31
43
|
constructor(el: ElementRef);
|
|
@@ -37,6 +49,9 @@ export declare class EclGalleryMediaDirective extends ECLBaseDirective implement
|
|
|
37
49
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclGalleryMediaDirective, "[eclGalleryMedia], [eclGalleryImage]", never, { "poster": { "alias": "poster"; "required": false; }; "hasZoom": { "alias": "hasZoom"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
50
|
static ngAcceptInputType_hasZoom: unknown;
|
|
39
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Adds styling and functionality for gallery picture component.
|
|
54
|
+
*/
|
|
40
55
|
export declare class EclGalleryPictureDirective extends ECLBaseDirective {
|
|
41
56
|
private el;
|
|
42
57
|
private cd;
|
|
@@ -50,6 +65,9 @@ export declare class EclGalleryPictureDirective extends ECLBaseDirective {
|
|
|
50
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclGalleryPictureDirective, never>;
|
|
51
66
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclGalleryPictureDirective, "picture[eclGalleryPicture]", never, {}, {}, never, never, false, never>;
|
|
52
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Applies classes for the gallery thumbnail.
|
|
70
|
+
*/
|
|
53
71
|
export declare class EclGalleryThumbnailDirective extends ECLBaseDirective {
|
|
54
72
|
get cssClasses(): string;
|
|
55
73
|
hasZoom: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-gallery-media.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-gallery/ecl-gallery-media.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,UAAU,EAAsB,MAAM,EAAqC,MAAM,eAAe,CAAC;AACxI,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAAa,qBAAqB;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,oBAAoB;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,uBAAuB;IAChC,MAAM,CAAC,EAAG,MAAM,CAAC;IACjB,KAAK,CAAC,EAAG,MAAM,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAC/B,GAAG,CAAC,EAAG,MAAM,CAAC;IACd,GAAG,CAAC,EAAG,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAIa,wBAAyB,SAAQ,gBAAiB,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"ecl-gallery-media.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-gallery/ecl-gallery-media.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,UAAU,EAAsB,MAAM,EAAqC,MAAM,eAAe,CAAC;AACxI,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAAa,qBAAqB;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa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4B;IAwBpC,OAAO,CAAC,cAAc;yCA3Cb,0BAA0B;2CAA1B,0BAA0B;CA8CtC;AAED;;GAEG;AACH,qBAIa,4BAA6B,SAAQ,gBAAgB;IAC9D,IACI,UAAU,IAAI,MAAM,CAEvB;IAC+E,OAAO,UAAS;yCALvF,4BAA4B;2CAA5B,4BAA4B;sCAOw93c,OAAQ;CADxg4c"}
|
|
@@ -9,30 +9,79 @@ import { EclGalleryFullScreenEvent } from './events';
|
|
|
9
9
|
import { EclGalleryHideEvent } from './events';
|
|
10
10
|
import { EclGalleryShowEvent } from './events';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* This component represents a collection of images or videos and allows a user to browse them.
|
|
14
|
+
*/
|
|
12
15
|
export declare class EclGalleryComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy, OnInit {
|
|
13
16
|
private cdkBreakpointObserver;
|
|
14
17
|
private platformId;
|
|
15
18
|
isOpenInFullScreenPossible: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* If the items in the gallery can be shared. I.e. if the link for sharing will be present for each item.
|
|
21
|
+
*/
|
|
16
22
|
isShareable: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* If set to true, the gallery will have 100 view width.
|
|
25
|
+
*/
|
|
17
26
|
isFullWidth: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* If set to true, no overlay will be displayed when user clicks on an image.
|
|
29
|
+
*/
|
|
18
30
|
isNoOverlay: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If set to false, no title will be displayed when user hover on a gallery item.
|
|
33
|
+
*/
|
|
19
34
|
isShowTitleOnHover: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Number of gallery items to be displayed by default. The rest can be displayed with the 'View all' button.
|
|
37
|
+
*/
|
|
20
38
|
maxVisibleItems: number;
|
|
39
|
+
/**
|
|
40
|
+
* If set to true, a specific class will be applied, so the gallery thumbnails are displayed as a grid, all with same size.
|
|
41
|
+
*/
|
|
21
42
|
isGrid: boolean;
|
|
22
43
|
columns: 2 | 3 | 4 | number;
|
|
44
|
+
/**
|
|
45
|
+
* This property can be used with 'isGrid' property set to true. By default gridTemplate is 0 and all the thimbnails have same size.
|
|
46
|
+
* If another template value is set, some additional formatting is applied and the thumbnails will have different sizes.
|
|
47
|
+
*/
|
|
23
48
|
gridTemplate: '0' | '1' | '2' | '3' | '4' | string;
|
|
49
|
+
/**
|
|
50
|
+
* The ratio that will be applied to the gallery thumbnails.
|
|
51
|
+
*/
|
|
24
52
|
ratio: '3-1' | '3-2' | string;
|
|
53
|
+
/**
|
|
54
|
+
* Emits event when user clicks on an item to expand it.
|
|
55
|
+
*/
|
|
25
56
|
show: EventEmitter<EclGalleryShowEvent>;
|
|
57
|
+
/**
|
|
58
|
+
* Emits event when an expanded item is closed.
|
|
59
|
+
*/
|
|
26
60
|
hide: EventEmitter<EclGalleryHideEvent>;
|
|
61
|
+
/**
|
|
62
|
+
* Emits event when an item is opened in full screen.
|
|
63
|
+
*/
|
|
27
64
|
openFullScreen: EventEmitter<EclGalleryFullScreenEvent>;
|
|
65
|
+
/**
|
|
66
|
+
* Emits event when an item is shared.
|
|
67
|
+
*/
|
|
28
68
|
share: EventEmitter<EclGalleryShareEvent>;
|
|
69
|
+
/**
|
|
70
|
+
* Emits event when user is browsing items, opened in an overlay.
|
|
71
|
+
*/
|
|
29
72
|
itemSwitch: EventEmitter<EclGalleryItemEvent>;
|
|
30
73
|
galleryItems: QueryList<EclGalleryItemComponent>;
|
|
31
74
|
galleryFooter: EclGalleryFooterComponent;
|
|
32
75
|
overlayChild: ElementRef;
|
|
33
76
|
headerChild: ElementRef;
|
|
34
77
|
footerChild: ElementRef;
|
|
78
|
+
/**
|
|
79
|
+
* Applies specific clases to the component, related to the component properties values.
|
|
80
|
+
*/
|
|
35
81
|
get cssClasses(): string;
|
|
82
|
+
/**
|
|
83
|
+
* The default role of the component is 'region' and should not be changed.
|
|
84
|
+
*/
|
|
36
85
|
role: string;
|
|
37
86
|
isDialogVisible: boolean;
|
|
38
87
|
isMobile: boolean;
|
|
@@ -51,9 +100,25 @@ export declare class EclGalleryComponent extends ECLBaseDirective implements Aft
|
|
|
51
100
|
ngOnInit(): void;
|
|
52
101
|
ngAfterContentInit(): void;
|
|
53
102
|
ngOnDestroy(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Emit 'itemSwitch' event, when switching to the previous item. Event contains the new current item.
|
|
105
|
+
* @param evt
|
|
106
|
+
*/
|
|
54
107
|
onPrevious(evt: MouseEvent): void;
|
|
108
|
+
/**
|
|
109
|
+
* Emit 'itemSwitch' event, when switching to the next item. Event contains the new current item.
|
|
110
|
+
* @param evt
|
|
111
|
+
*/
|
|
55
112
|
onNext(evt: MouseEvent): void;
|
|
113
|
+
/**
|
|
114
|
+
* Emit 'hide' event, when closing item dialog.
|
|
115
|
+
* @param evt
|
|
116
|
+
*/
|
|
56
117
|
onClose(evt: MouseEvent): void;
|
|
118
|
+
/**
|
|
119
|
+
* On pressing 'esc' key - close the item dialog and emit 'hide' event.
|
|
120
|
+
* @param event
|
|
121
|
+
*/
|
|
57
122
|
onEscapeKeydownHandler(event: KeyboardEvent): void;
|
|
58
123
|
onFullScreenOpen(evt: MouseEvent): void;
|
|
59
124
|
onShare(evt: MouseEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-gallery.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-gallery/ecl-gallery.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACH,gBAAgB,EAIhB,UAAU,EACV,YAAY,EAKZ,SAAS,EACT,MAAM,EAGN,SAAS,EAIZ,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8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-7,20 +7,47 @@ export declare class EclInpageNavigationItemClickEvent extends EclBaseEvent {
|
|
|
7
7
|
sectionElementId: string;
|
|
8
8
|
constructor(sectionElementId: string);
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Represent a single navigation item. contains the link, that activates/scrolls to the new current paragraph of the page.
|
|
12
|
+
*/
|
|
10
13
|
export declare class EclInpageNavigationItemComponent extends ECLBaseDirective {
|
|
11
14
|
cmpClass: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The role of the component is 'listitem', should not be changed.
|
|
17
|
+
*/
|
|
12
18
|
role: string;
|
|
19
|
+
/**
|
|
20
|
+
* The label that is displayed in the items list.
|
|
21
|
+
*/
|
|
13
22
|
label: string;
|
|
14
23
|
sectionId: string;
|
|
15
24
|
isActive: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Emited when user clicks on the item.
|
|
27
|
+
*/
|
|
16
28
|
itemClick: EventEmitter<EclInpageNavigationItemClickEvent>;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when on keyboard navigation, user clicks the arrow-up.
|
|
31
|
+
*/
|
|
17
32
|
itemArrowUp: EventEmitter<any>;
|
|
33
|
+
/**
|
|
34
|
+
* Emitted when on keyboard navigation, user clicks the arrow-down.
|
|
35
|
+
*/
|
|
18
36
|
itemArrowDown: EventEmitter<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when on keyboard navigation, user clicks the TAB.
|
|
39
|
+
*/
|
|
19
40
|
itemTab: EventEmitter<Event>;
|
|
41
|
+
/**
|
|
42
|
+
* Emitted when on keyboard navigation, user clicks the ENTER.
|
|
43
|
+
*/
|
|
20
44
|
itemEnter: EventEmitter<any>;
|
|
21
45
|
link: EclLinkDirective;
|
|
22
46
|
constructor(el: ElementRef);
|
|
23
47
|
onItemClick(evt: MouseEvent): void;
|
|
48
|
+
/**
|
|
49
|
+
* Returns page element/paragraph, that is associated with this item from the navigation list.
|
|
50
|
+
*/
|
|
24
51
|
get sectionElement(): HTMLElement;
|
|
25
52
|
onArrowUp(evt: Event): void;
|
|
26
53
|
onArrowDown(evt: Event): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-inpage-navigation-item.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,YAAY,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAEhE,qBAAa,iCAAkC,SAAQ,YAAY;IAC5C,gBAAgB,EAAE,MAAM;gBAAxB,gBAAgB,EAAE,MAAM;CAG9C;
|
|
1
|
+
{"version":3,"file":"ecl-inpage-navigation-item.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,YAAY,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAEhE,qBAAa,iCAAkC,SAAQ,YAAY;IAC5C,gBAAgB,EAAE,MAAM;gBAAxB,gBAAgB,EAAE,MAAM;CAG9C;AACD;;GAEG;AAEH,qBAYa,gCAAiC,SAAQ,gBAAgB;IAChB,QAAQ,UAAQ;IAClE;;OAEG;IACuB,IAAI,SAAc;IAE5C;;OAEG;IACM,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IACwC,QAAQ,EAAE,OAAO,CAAC;IAErF;;OAEG;IACO,SAAS,kDAAyD;IAC5E;;OAEG;IACO,WAAW,oBAAsB;IAC3C;;OAEG;IACO,aAAa,oBAAsB;IAC7C;;OAEG;IACO,OAAO,sBAA6B;IAC9C;;OAEG;IACO,SAAS,oBAAsB;IAEZ,IAAI,EAAE,gBAAgB,CAAA;gBAEvC,EAAE,EAAE,UAAU;IAO1B,WAAW,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAOlC;;OAEG;IACH,IAAI,cAAc,IAAI,WAAW,CAEhC;IAED,SAAS,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAK3B,WAAW,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAK7B,KAAK,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAIvB,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;yCA5EhB,gCAAgC;2CAAhC,gCAAgC;CAiF5C"}
|
|
@@ -2,10 +2,16 @@ import { AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
3
3
|
import { EclInpageNavigationService } from './services/ecl-inpage-navigation.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* The parent list component, that contains navigation items links.
|
|
7
|
+
*/
|
|
5
8
|
export declare class EclInpageNavigationListDirective extends ECLBaseDirective implements AfterContentInit, OnDestroy {
|
|
6
9
|
private eclInpageNavigationService;
|
|
7
10
|
el: ElementRef;
|
|
8
11
|
hasClass: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* If the dropdown is visible in mobile view.
|
|
14
|
+
*/
|
|
9
15
|
isVisible: boolean;
|
|
10
16
|
maxHeight: any;
|
|
11
17
|
private destroy$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-inpage-navigation-list.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,UAAU,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;;AAEtF,qBAKa,gCAAiC,SAAQ,gBAAiB,YAAW,gBAAgB,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"ecl-inpage-navigation-list.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAa,UAAU,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;;AAEtF;;GAEG;AACH,qBAKa,gCAAiC,SAAQ,gBAAiB,YAAW,gBAAgB,EAAE,SAAS;IAU7F,OAAO,CAAC,0BAA0B;IAAqC,EAAE,EAAE,UAAU;IAT/C,QAAQ,UAAQ;IAClE;;OAEG;IACwD,SAAS,UAAS;IACzC,SAAS,MAAQ;IAErD,OAAO,CAAC,QAAQ,CAA4C;gBAExC,0BAA0B,EAAE,0BAA0B,EAAS,EAAE,EAAE,UAAU;IAIjG,kBAAkB,IAAI,IAAI;IAM1B,WAAW,IAAI,IAAI;yCApBV,gCAAgC;2CAAhC,gCAAgC;CAwB5C"}
|
|
@@ -12,6 +12,12 @@ export declare class EclInpageNavigationSectionEnterEvent extends EclBaseEvent {
|
|
|
12
12
|
sectionId: string;
|
|
13
13
|
constructor(sectionId: string);
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* The in-page navigation is a vertical menu containing (anchored) links to H2-headings on long content pages.
|
|
17
|
+
* It gives the user an overview of the page contents and has a fixed position (does not move while scrolling) at either the left
|
|
18
|
+
* side of a page on desktop or top-bar on mobile. This component helps users scan of the page quickly contents and may potentially
|
|
19
|
+
* reduce vertical scrolling, allowing users to easily jump straight to the segment of the page.
|
|
20
|
+
*/
|
|
15
21
|
export declare class EclInpageNavigationComponent extends ECLBaseDirective implements OnInit, OnDestroy, DoCheck {
|
|
16
22
|
private eclRtlService;
|
|
17
23
|
eclThemeService: EclThemeService;
|
|
@@ -22,8 +28,14 @@ export declare class EclInpageNavigationComponent extends ECLBaseDirective imple
|
|
|
22
28
|
private viewportRuler;
|
|
23
29
|
private eclInpageNavigationService;
|
|
24
30
|
eclTitle: string;
|
|
31
|
+
/**
|
|
32
|
+
* Used to calculate component's position.
|
|
33
|
+
*/
|
|
25
34
|
marginTop: number;
|
|
26
35
|
marginBottom: number;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the offset from the top of the page (for example if there is a toolbar or header). Used to calculate scrolling behaviour.
|
|
38
|
+
*/
|
|
27
39
|
offsetTop: number;
|
|
28
40
|
togglerButton: ElementRef<HTMLButtonElement>;
|
|
29
41
|
toggleWrapper: ElementRef<HTMLDivElement>;
|
|
@@ -32,9 +44,15 @@ export declare class EclInpageNavigationComponent extends ECLBaseDirective imple
|
|
|
32
44
|
*/
|
|
33
45
|
listContainer: ElementRef<HTMLUListElement>;
|
|
34
46
|
navTittle: ElementRef<HTMLDivElement>;
|
|
47
|
+
/**
|
|
48
|
+
* This event will be emitted, when onscroll a new section becomes active.
|
|
49
|
+
*/
|
|
35
50
|
sectionEnter: EventEmitter<EclInpageNavigationSectionEnterEvent>;
|
|
36
51
|
eclNavigationLinkItems: QueryList<EclInpageNavigationItemComponent>;
|
|
37
52
|
eclNavigationList: EclInpageNavigationListDirective;
|
|
53
|
+
/**
|
|
54
|
+
* Used for the mobile view, where user can select a section from the dropdown.
|
|
55
|
+
*/
|
|
38
56
|
isButtonExpanded: boolean;
|
|
39
57
|
currentSectionElement: HTMLElement;
|
|
40
58
|
isRtl: boolean;
|
|
@@ -51,13 +69,26 @@ export declare class EclInpageNavigationComponent extends ECLBaseDirective imple
|
|
|
51
69
|
ngOnInit(): void;
|
|
52
70
|
get hasNavigationList(): boolean;
|
|
53
71
|
get currentNavigationLinkItem(): EclInpageNavigationItemComponent;
|
|
72
|
+
/**
|
|
73
|
+
* the size of the arrow-down icon, used in mobile view. There are different sizes for EC and EU themes.
|
|
74
|
+
*/
|
|
54
75
|
get sizeIcon(): string;
|
|
55
76
|
get hasActiveSection(): boolean;
|
|
56
77
|
ngDoCheck(): void;
|
|
57
78
|
ngOnDestroy(): void;
|
|
79
|
+
/**
|
|
80
|
+
* On mobile view - handle the dropdown toggle.
|
|
81
|
+
*/
|
|
58
82
|
onExpandButtonClick(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Dropdown keyboard navigation on mobile view.
|
|
85
|
+
* @param evt
|
|
86
|
+
*/
|
|
59
87
|
onExpandButtonKeydown(evt: Event): void;
|
|
60
88
|
private handleRtlChangeState;
|
|
89
|
+
/**
|
|
90
|
+
* Set the height of the list with the navigation items in px. So in case the full list cannot be displayed, a scroll will appear.
|
|
91
|
+
*/
|
|
61
92
|
private setListHeight;
|
|
62
93
|
private onExpandButtonArrowDown;
|
|
63
94
|
private onExpandButtonTab;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-inpage-navigation.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,OAAO,EACP,UAAU,EACV,YAAY,EAEI,eAAe,EAC/B,MAAM,EACN,SAAS,EACT,MAAM,EAEN,SAAS,EAIZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiB,gBAAgB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;;AAEtF,qBAAa,oCAAqC,SAAQ,YAAY;IAC/C,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM;CAGvC;AAED,qBAca,4BAA6B,SAAQ,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"ecl-inpage-navigation.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,OAAO,EACP,UAAU,EACV,YAAY,EAEI,eAAe,EAC/B,MAAM,EACN,SAAS,EACT,MAAM,EAEN,SAAS,EAIZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAiB,gBAAgB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;;AAEtF,qBAAa,oCAAqC,SAAQ,YAAY;IAC/C,SAAS,EAAE,MAAM;gBAAjB,SAAS,EAAE,MAAM;CAGvC;AAED;;;;;GAKG;AACH,qBAca,4BAA6B,SAAQ,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO;IA2ChG,OAAO,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AAqB,EAAE,kBAAkB,EACzC,aAAa,EAAE,aAAa,EAC5B,0BAA0B,EAAE,0BAA0B;IAqBlE,QAAQ,IAAI,IAAI;IAIhB,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,yBAAyB,IAAI,gCAAgC,CAEhE;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAMrB;IAED,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED,SAAS,IAAI,IAAI;IASjB,WAAW,IAAI,IAAI;IAMnB;;OAEG;IACH,mBAAmB,IAAI,IAAI;IAK3B;;;OAGG;IACH,qBAAqB,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAavC,OAAO,CAAC,oBAAoB;IAM5B;;OAEG;IACH,OAAO,CAAC,aAAa;IAgCrB,OAAO,CAAC,uBAAuB;IAM/B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,iBAAiB;IA0BzB,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,oBAAoB;IAM5B,OAAO,CAAC,8BAA8B;IAUtC,OAAO,CAAC,wBAAwB;IAWhC,OAAO,CAAC,wBAAwB;yCA5SvB,4BAA4B;2CAA5B,4BAA4B;wCAqTgzoc,OAAQ;CADh2oc"}
|
|
@@ -4,6 +4,10 @@ export declare class EclInpageNavigationService {
|
|
|
4
4
|
eclInpageNavigationExpanded$: Observable<boolean>;
|
|
5
5
|
private eclInpageNavigationExpanded;
|
|
6
6
|
constructor();
|
|
7
|
+
/**
|
|
8
|
+
* When user clicks on arrow down button in mobile view.
|
|
9
|
+
* @param isExpanded
|
|
10
|
+
*/
|
|
7
11
|
eclInpageNavigationToggle(isExpanded: boolean): void;
|
|
8
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclInpageNavigationService, never>;
|
|
9
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<EclInpageNavigationService>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-inpage-navigation.service.d.ts","sourceRoot":"","sources":["../../../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;;AAE3C,qBACa,0BAA0B;IAE/B,4BAA4B,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO,CAAC,2BAA2B,CAA4C;;
|
|
1
|
+
{"version":3,"file":"ecl-inpage-navigation.service.d.ts","sourceRoot":"","sources":["../../../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;;AAE3C,qBACa,0BAA0B;IAE/B,4BAA4B,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO,CAAC,2BAA2B,CAA4C;;IAM/E;;;OAGG;IACA,yBAAyB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;yCAb3C,0BAA0B;6CAA1B,0BAA0B;CAgBtC"}
|
|
@@ -3,19 +3,55 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const ECL_RATINGFIELD_VALUE_ACCESSOR: Provider;
|
|
6
|
+
/**
|
|
7
|
+
* Component representing rating field, displayed with stars.
|
|
8
|
+
* Typically used when the user needs to evaluate something.
|
|
9
|
+
*/
|
|
6
10
|
export declare class EclRatingFieldComponent extends ECLBaseDirective implements ControlValueAccessor {
|
|
11
|
+
/**
|
|
12
|
+
* Name of the radio group. Also used for creating id for each radio button.
|
|
13
|
+
*/
|
|
7
14
|
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* How many stars should the rating have.
|
|
17
|
+
*/
|
|
8
18
|
numberOfStars: number;
|
|
19
|
+
/**
|
|
20
|
+
* The initial value, if any.
|
|
21
|
+
*/
|
|
9
22
|
rating: number;
|
|
23
|
+
/**
|
|
24
|
+
* Can be used to set disabled status.
|
|
25
|
+
*/
|
|
10
26
|
disabled: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The event to be emitted when rating is changed.
|
|
29
|
+
*/
|
|
11
30
|
ratingChange: EventEmitter<any>;
|
|
12
31
|
private onChange;
|
|
13
32
|
private onTouched;
|
|
14
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Array of numbers, from 1 to 'numberOfStars'
|
|
35
|
+
*/
|
|
15
36
|
get numbers(): Array<number>;
|
|
37
|
+
/**
|
|
38
|
+
* Applies the base class `ecl-rating-field` to the host element. Applies 'ecl-rating-field--disabled' class on condition.
|
|
39
|
+
*/
|
|
16
40
|
get cssClasses(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Method that sets the new rating and emit 'ratingChange' event, that includes the new rating number.
|
|
43
|
+
* @param rating - the new rating
|
|
44
|
+
*/
|
|
17
45
|
onRadioClick(rating: number): void;
|
|
46
|
+
/**
|
|
47
|
+
* Informs the component of any changes in the parent (ControlValueAccessor). Sets the new value for the 'rating' property.
|
|
48
|
+
* @param value
|
|
49
|
+
*/
|
|
18
50
|
writeValue(value: number): void;
|
|
51
|
+
/**
|
|
52
|
+
* Disable/enable component.
|
|
53
|
+
* @param isDisabled
|
|
54
|
+
*/
|
|
19
55
|
setDisabledState(isDisabled: boolean): void;
|
|
20
56
|
registerOnChange(fn: any): void;
|
|
21
57
|
registerOnTouched(fn: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-rating-field.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-rating-field/ecl-rating-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,YAAY,EAA2D,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAGjD,eAAO,MAAM,8BAA8B,EAAE,QAI5C,CAAC;AAMF,qBAMa,uBAAwB,SAAQ,gBAAiB,YAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"ecl-rating-field.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-rating-field/ecl-rating-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,YAAY,EAA2D,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAGjD,eAAO,MAAM,8BAA8B,EAAE,QAI5C,CAAC;AAMF;;;GAGG;AACH,qBAMa,uBAAwB,SAAQ,gBAAiB,YAAW,oBAAoB;IACzF;;OAEG;IACM,IAAI,SAAY;IACzB;;OAEG;IACoC,aAAa,SAAK;IACzD;;OAEG;IACoC,MAAM,EAAE,MAAM,CAAC;IACtD;;OAEG;IAGH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IAEO,YAAY,oBAA2B;IAGjD,OAAO,CAAC,QAAQ,CAA0B;IAC1C,OAAO,CAAC,SAAS,CAAoB;IAErC;;OAEG;IACH,IAAI,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,CAI3B;IAED;;MAEE;IACF,IACI,UAAU,IAAI,MAAM,CAEvB;IAED;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IASlC;;;OAGG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI/B;;;OAGG;IACH,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAK3C,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAK/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;yCAlFvB,uBAAuB;2CAAvB,uBAAuB;4CAsFwu8c,OAAQ;qCAAR,OAAQ;uCAA9a,OAAQ;CAD727c"}
|
|
@@ -5,22 +5,44 @@ import { EclThemeService } from '@eui/ecl/core';
|
|
|
5
5
|
import { EclSearchFormEvent } from './events/ecl-search-form.event';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const ECL_SEARCH_FORM_VALUE_ACCESSOR: Provider;
|
|
8
|
+
/**
|
|
9
|
+
* Component representing search field - input and button, in a responsive, styled layout.
|
|
10
|
+
*/
|
|
8
11
|
export declare class EclSearchFormComponent extends ECLBaseDirective implements ControlValueAccessor {
|
|
9
12
|
protected eclThemeService: EclThemeService;
|
|
13
|
+
/**
|
|
14
|
+
* The current/default search text.
|
|
15
|
+
*/
|
|
10
16
|
searchInputText: string;
|
|
11
17
|
placeholder: string;
|
|
12
18
|
searchButtonLabel: string;
|
|
13
19
|
searchButtonIcon: string;
|
|
14
20
|
buttonExtraClassses: string;
|
|
15
21
|
inputExtraClassses: string;
|
|
22
|
+
/**
|
|
23
|
+
* Applies the base class `ecl-search-form` to the host element.
|
|
24
|
+
*/
|
|
16
25
|
get cssClasses(): string;
|
|
17
26
|
role: string;
|
|
27
|
+
/**
|
|
28
|
+
* This event is emited, when user performs the search action. Includes the search text from the input field.
|
|
29
|
+
*/
|
|
18
30
|
search: EventEmitter<EclSearchFormEvent>;
|
|
19
31
|
private onChange;
|
|
20
32
|
private onTouched;
|
|
21
33
|
constructor(eclThemeService: EclThemeService);
|
|
34
|
+
/**
|
|
35
|
+
* Perform search when user clicks the search button. Emits the search event with the search text.
|
|
36
|
+
*/
|
|
22
37
|
onSearchClick(evt: Event): void;
|
|
38
|
+
/**
|
|
39
|
+
* Perform search when user clicks Enter when on the input field. Emits the search event with the search text.
|
|
40
|
+
*/
|
|
23
41
|
onEnterKeyDown(evt: Event): void;
|
|
42
|
+
/**
|
|
43
|
+
* Assigns the new input text value to the 'searchInputText' property, each time the input is changed.
|
|
44
|
+
* @param newValue
|
|
45
|
+
*/
|
|
24
46
|
onModelChange(newValue: string): void;
|
|
25
47
|
writeValue(value: any): void;
|
|
26
48
|
registerOnChange(fn: (_: any) => void): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-search-form.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-search-form/ecl-search-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAMZ,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAEpE,eAAO,MAAM,8BAA8B,EAAE,QAI5C,CAAC;AAMF,qBAMa,sBAAuB,SAAQ,gBAAiB,YAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"ecl-search-form.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-search-form/ecl-search-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,YAAY,EAMZ,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAEpE,eAAO,MAAM,8BAA8B,EAAE,QAI5C,CAAC;AAMF;;GAEG;AACH,qBAMa,sBAAuB,SAAQ,gBAAiB,YAAW,oBAAoB;IAiC5E,SAAS,CAAC,eAAe,EAAE,eAAe;IAhCtD;;MAEE;IACO,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,SAAY;IAC5B,mBAAmB,SAAM;IACzB,kBAAkB,SAAM;IAEjC;;MAEE;IACF,IACI,UAAU,IAAI,MAAM,CAEvB;IAEyB,IAAI,SAAY;IAE1C;;MAEE;IAGQ,MAAM,mCAA0C;IAG1D,OAAO,CAAC,QAAQ,CAA0B;IAE1C,OAAO,CAAC,SAAS,CAA0B;gBAErB,eAAe,EAAE,eAAe;IAItD;;MAEE;IACF,aAAa,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAK/B;;MAEE;IAEF,cAAc,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAKhC;;;OAGG;IACH,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAMrC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAK5B,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;IAK5C,iBAAiB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;yCA1EpC,sBAAsB;2CAAtB,sBAAsB;CA6ElC"}
|
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
2
2
|
import { EclThemeService } from '@eui/ecl/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Container component, which wraps the <select> component. Ataches custom select button with dropdown arrow.
|
|
6
|
+
*/
|
|
4
7
|
export declare class EclSelectContainerComponent extends ECLBaseDirective {
|
|
5
8
|
private eclThemeService;
|
|
9
|
+
/**
|
|
10
|
+
* Size/length of the field and the dropdown, can be 's', 'm' or 'l'. Default is 'm'.
|
|
11
|
+
* Same as the size of the main host element.
|
|
12
|
+
*/
|
|
6
13
|
eclSize: string;
|
|
7
14
|
disabled: boolean;
|
|
8
15
|
isInvalid: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Custom label for the arrow-down button. Set from the main host element.
|
|
18
|
+
*/
|
|
9
19
|
toggleLabel: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Adds specific classes for the container.
|
|
22
|
+
*/
|
|
10
23
|
get cssClasses(): string;
|
|
11
24
|
private ICON_SIZE_EC;
|
|
12
25
|
private ICON_SIZE_EU;
|
|
13
26
|
constructor(eclThemeService: EclThemeService);
|
|
27
|
+
/**
|
|
28
|
+
* Returns different icon sizes, depending if it's EU (s) or EC (xs) theme.
|
|
29
|
+
*/
|
|
14
30
|
get iconSize(): string;
|
|
15
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclSelectContainerComponent, never>;
|
|
16
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<EclSelectContainerComponent, "ecl-select-container", never, { "eclSize": { "alias": "eclSize"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "toggleLabel": { "alias": "toggleLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-select-container.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-select/ecl-select-container.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;;AAEhD,qBAKa,2BAA4B,SAAQ,gBAAgB;
|
|
1
|
+
{"version":3,"file":"ecl-select-container.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-select/ecl-select-container.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;;AAEhD;;GAEG;AACH,qBAKa,2BAA4B,SAAQ,gBAAgB;IA+BjD,OAAO,CAAC,eAAe;IA9BnC;;;OAGG;IACM,OAAO,SAAO;IACiB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IAC3D;;OAEG;IACM,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAErD;;OAEG;IACH,IACI,UAAU,IAAI,MAAM,CASvB;IAED,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,YAAY,CAAM;gBAEN,eAAe,EAAE,eAAe;IAIpD;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAMrB;yCA5CQ,2BAA2B;2CAA3B,2BAA2B;uCA8Cy4+c,OAAQ;wCAAR,OAAQ;CADx7+c"}
|
|
@@ -2,6 +2,9 @@ import { AfterContentInit, DoCheck, ElementRef, OnInit, Renderer2, ViewContainer
|
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* The default HTML <select> component, with some added styling and formatting according to ECL standards.
|
|
7
|
+
*/
|
|
5
8
|
export declare class EclSelectDirective extends ECLBaseDirective implements OnInit, DoCheck, AfterContentInit {
|
|
6
9
|
private ngControl;
|
|
7
10
|
private el;
|
|
@@ -9,17 +12,38 @@ export declare class EclSelectDirective extends ECLBaseDirective implements OnIn
|
|
|
9
12
|
private renderer;
|
|
10
13
|
disabled: boolean;
|
|
11
14
|
isInvalid: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Custom label for the arrow-down button.
|
|
17
|
+
*/
|
|
12
18
|
toggleLabel: string | undefined;
|
|
13
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Size/length of the field and the dropdown, can be 's', 'm' or 'l'. Default is 'm'.
|
|
21
|
+
*/
|
|
22
|
+
eclSize: 's' | 'm' | 'l';
|
|
14
23
|
private containerComponent;
|
|
15
24
|
private readonly OPTGROUP_TAG_NAME;
|
|
25
|
+
/**
|
|
26
|
+
* Applies the 'ecl-select' class to the main <select> component
|
|
27
|
+
*/
|
|
16
28
|
get cssClasses(): string;
|
|
17
29
|
get isDisabled(): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Adds 'ecl-select--invalid' class to the host element, in case the component has invalid status.
|
|
32
|
+
*/
|
|
18
33
|
get isInvalidState(): boolean;
|
|
19
34
|
constructor(ngControl: NgControl, el: ElementRef, viewContainerRef: ViewContainerRef, renderer: Renderer2);
|
|
35
|
+
/**
|
|
36
|
+
* Creates container component for the <select> and assigns default values to it's parameters.
|
|
37
|
+
*/
|
|
20
38
|
ngOnInit(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Handles the group options.
|
|
41
|
+
*/
|
|
21
42
|
ngAfterContentInit(): void;
|
|
22
43
|
ngDoCheck(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Sets custom 'aria-label' attribute for parent of the option group and for the children.
|
|
46
|
+
*/
|
|
23
47
|
private handleOptgroup;
|
|
24
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclSelectDirective, [{ optional: true; self: true; }, null, null, null]>;
|
|
25
49
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclSelectDirective, "select[eclSelect]", never, { "disabled": { "alias": "disabled"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "toggleLabel": { "alias": "toggleLabel"; "required": false; }; "eclSize": { "alias": "eclSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-select.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-select/ecl-select.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EACL,OAAO,EAAE,UAAU,EAAsB,MAAM,EAC1D,SAAS,EAAQ,gBAAgB,EAAoB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAGjD,qBAIa,kBAAmB,SAAQ,gBAAiB,YAAW,MAAM,EAAE,OAAO,EAAG,gBAAgB;
|
|
1
|
+
{"version":3,"file":"ecl-select.directive.d.ts","sourceRoot":"","sources":["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0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive to apply external icon styling inside an ECL tag.
|
|
5
|
+
* Adds specific CSS classes to render an "external" icon next to the tag content.
|
|
6
|
+
*/
|
|
3
7
|
export declare class EclTagIconExternalDirective extends ECLBaseDirective {
|
|
8
|
+
/**
|
|
9
|
+
* CSS classes applied to the host element.
|
|
10
|
+
* Adds `ecl-tag__icon ecl-tag__icon--external` to display the icon correctly.
|
|
11
|
+
*/
|
|
4
12
|
get cssClasses(): string;
|
|
5
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclTagIconExternalDirective, never>;
|
|
6
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclTagIconExternalDirective, "[eclTagIconExternal]", never, {}, {}, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-tag-icon.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-tag/ecl-tag-icon.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAIa,2BAA4B,SAAQ,gBAAgB;IAC7D,IACI,UAAU,IAAI,MAAM,CAEvB;
|
|
1
|
+
{"version":3,"file":"ecl-tag-icon.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-tag/ecl-tag-icon.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;;GAGG;AACH,qBAIa,2BAA4B,SAAQ,gBAAgB;IAC7D;;;OAGG;IACH,IACI,UAAU,IAAI,MAAM,CAEvB;yCARQ,2BAA2B;2CAA3B,2BAA2B;CASvC"}
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive to style a container as a set of tags.
|
|
5
|
+
* Adds the `ecl-tag-set` class to the host element.
|
|
6
|
+
*/
|
|
3
7
|
export declare class EclTagSetDirective extends ECLBaseDirective {
|
|
8
|
+
/**
|
|
9
|
+
* CSS classes applied to the host element.
|
|
10
|
+
* Adds `ecl-tag-set` to define the layout for a group of tags.
|
|
11
|
+
*/
|
|
4
12
|
get cssClasses(): string;
|
|
5
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclTagSetDirective, never>;
|
|
6
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclTagSetDirective, "[eclTagSet]", never, {}, {}, never, never, false, never>;
|
|
7
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Directive to mark an element as an individual item in a tag set.
|
|
18
|
+
* Adds the `ecl-tag-set__item` class to the host element.
|
|
19
|
+
*/
|
|
8
20
|
export declare class EclTagSetItemDirective extends ECLBaseDirective {
|
|
21
|
+
/**
|
|
22
|
+
* Adds the `ecl-tag-set__item` CSS class to the host element.
|
|
23
|
+
*/
|
|
9
24
|
hasClass: boolean;
|
|
10
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclTagSetItemDirective, never>;
|
|
11
26
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclTagSetItemDirective, "[eclTagSetItem]", never, {}, {}, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-tag-set.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-tag/ecl-tag-set.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAIa,kBAAmB,SAAQ,gBAAgB;IACpD,IACI,UAAU,IAAI,MAAM,CAEvB;
|
|
1
|
+
{"version":3,"file":"ecl-tag-set.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-tag/ecl-tag-set.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;;GAGG;AACH,qBAIa,kBAAmB,SAAQ,gBAAgB;IACpD;;;OAGG;IACH,IACI,UAAU,IAAI,MAAM,CAEvB;yCARQ,kBAAkB;2CAAlB,kBAAkB;CAS9B;AAED;;;GAGG;AACH,qBAIa,sBAAuB,SAAQ,gBAAgB;IACxD;;OAEG;IACqC,QAAQ,UAAQ;yCAJ/C,sBAAsB;2CAAtB,sBAAsB;CAKlC"}
|