@eui/ecl 22.0.0-alpha.2 → 22.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/changelog.html +618 -0
- package/docs/components/EclDateBlockComponent.html +0 -9
- package/docs/components/EclDescriptionListDefinitionComponent.html +6 -44
- package/docs/components/EclIconComponent.html +1 -1
- package/docs/components/EclListIllustrationComponent.html +0 -171
- package/docs/components/EclListIllustrationItemComponent.html +77 -83
- package/docs/components/EclLoadingIndicatorComponent.html +4 -91
- package/docs/components/EclMegaMenuComponent.html +5 -203
- package/docs/components/EclMegaMenuFeaturedComponent.html +10 -126
- package/docs/components/EclMegaMenuInfoComponent.html +0 -91
- package/docs/components/EclMegaMenuItemComponent.html +38 -115
- package/docs/components/EclMegaMenuSubitemComponent.html +4 -68
- package/docs/components/EclMenuItemComponent.html +46 -0
- package/docs/components/EclModalBodyComponent.html +4 -45
- package/docs/components/EclModalComponent.html +5 -178
- package/docs/components/EclModalFooterComponent.html +4 -45
- package/docs/components/EclModalHeaderComponent.html +9 -76
- package/docs/components/EclSiteFooterRowCommonComponent.html +1 -1
- package/docs/components/EclSiteHeaderLanguageComponent.html +5 -627
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +99 -440
- package/docs/components/EclSiteHeaderLoginComponent.html +9 -453
- package/docs/components/EclSiteHeaderSearchComponent.html +18 -470
- package/docs/components/EclSocialMediaFollowComponent.html +28 -39
- package/docs/components/EclSocialMediaFollowItemComponent.html +26 -129
- package/docs/components/EclStoryCardComponent.html +1 -1
- package/docs/directives/ECLClickOutsideDirective.html +3 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +6 -47
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +0 -116
- package/docs/directives/EclDividerDirective.html +0 -116
- package/docs/directives/EclFileUploadDirective.html +2 -390
- package/docs/directives/EclLabelDirective.html +0 -46
- package/docs/directives/EclLinkDirective.html +0 -39
- package/docs/directives/EclLoadingIndicatorLabelDirective.html +0 -61
- package/docs/directives/EclLoadingIndicatorOverlayDirective.html +0 -45
- package/docs/directives/EclMediaContainerCaptionDirective.html +0 -39
- package/docs/directives/EclMediaContainerCreditDirective.html +0 -39
- package/docs/directives/EclMediaContainerIframeDirective.html +13 -19
- package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +0 -39
- package/docs/directives/EclMediaContainerItemDirective.html +0 -39
- package/docs/directives/EclMediaContainerPictureDirective.html +0 -39
- package/docs/directives/EclMegaMenuContainerDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListItemDescriptionDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +0 -104
- package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +0 -39
- package/docs/directives/EclMegaMenuListDirective.html +0 -104
- package/docs/directives/EclMegaMenuSpacerDirective.html +0 -104
- package/docs/directives/EclMegaMenuSublistDirective.html +0 -165
- package/docs/directives/EclModalBodyFixedContentDirective.html +0 -61
- package/docs/directives/EclModalCloseDirective.html +1 -90
- package/docs/directives/EclModalTriggerDirective.html +1 -90
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclIconComponent.md +1 -1
- package/docs/json/EclMediaContainerIframeDirective.md +0 -1
- package/docs/json/EclSiteHeaderLanguagePopoverComponent.md +6 -6
- package/docs/json/EclSiteHeaderSearchComponent.md +1 -0
- package/docs/json/EclSocialMediaFollowComponent.md +1 -0
- package/docs/json/documentation.json +1261 -2880
- package/docs/llms.txt +31 -84
- package/docs/miscellaneous/variables.html +222 -41
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -13
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +13 -27
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +55 -9
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs +6 -6
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs +10 -13
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -30
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +44 -41
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +17 -20
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +36 -33
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +100 -159
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +16 -3
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs +94 -88
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +326 -261
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +17 -17
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-divider.d.ts +0 -4
- package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +25 -0
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-link.d.ts +2 -4
- package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list-illustration.d.ts +3 -3
- package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list.d.ts +9 -12
- package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-media-container.d.ts +7 -2
- package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts +12 -22
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +12 -1
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-modal.d.ts +20 -10
- package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +240 -216
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts +5 -3
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
|
@@ -137,6 +137,15 @@
|
|
|
137
137
|
<tr>
|
|
138
138
|
<td class="col-md-4">
|
|
139
139
|
<ul class="index-list">
|
|
140
|
+
<li>
|
|
141
|
+
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-language.component.ts)</span></a>
|
|
142
|
+
</li>
|
|
143
|
+
<li>
|
|
144
|
+
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-login.component.ts)</span></a>
|
|
145
|
+
</li>
|
|
146
|
+
<li>
|
|
147
|
+
<a href="#ARROW_SIZE" title="packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ARROW_SIZE</b> (packages/.../ecl-site-header-search.component.ts)</span></a>
|
|
148
|
+
</li>
|
|
140
149
|
<li>
|
|
141
150
|
<a href="#AVAILABLE_NON_EU_LOGO_COUNTRY_CODES" title="packages/ecl/core/utils/constants/constants.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>AVAILABLE_NON_EU_LOGO_COUNTRY_CODES</b> (packages/.../constants.ts)</span></a>
|
|
142
151
|
</li>
|
|
@@ -386,6 +395,12 @@
|
|
|
386
395
|
<li>
|
|
387
396
|
<a href="#noop" title="packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>noop</b> (packages/.../ecl-site-header-search.component.ts)</span></a>
|
|
388
397
|
</li>
|
|
398
|
+
<li>
|
|
399
|
+
<a href="#RESIZE_DEBOUNCE" title="packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RESIZE_DEBOUNCE</b> (packages/.../ecl-site-header-login.component.ts)</span></a>
|
|
400
|
+
</li>
|
|
401
|
+
<li>
|
|
402
|
+
<a href="#RESIZE_DEBOUNCE" title="packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RESIZE_DEBOUNCE</b> (packages/.../ecl-site-header-search.component.ts)</span></a>
|
|
403
|
+
</li>
|
|
389
404
|
<li>
|
|
390
405
|
<a href="#testBed" title="packages/ecl/test-setup.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>testBed</b> (packages/.../test-setup.ts)</span></a>
|
|
391
406
|
</li>
|
|
@@ -396,42 +411,51 @@
|
|
|
396
411
|
</table>
|
|
397
412
|
</section>
|
|
398
413
|
|
|
399
|
-
<h3>packages/ecl/
|
|
414
|
+
<h3>packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts</h3>
|
|
400
415
|
<section data-compodoc="block-properties">
|
|
401
416
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
402
417
|
<tbody>
|
|
403
418
|
<tr>
|
|
404
419
|
<td class="col-md-4">
|
|
405
|
-
<a name="
|
|
420
|
+
<a name="ARROW_SIZE"></a>
|
|
406
421
|
<span class="name">
|
|
407
|
-
<span ><b>
|
|
408
|
-
<a href="#
|
|
422
|
+
<span ><b>ARROW_SIZE</b></span>
|
|
423
|
+
<a href="#ARROW_SIZE"><span class="icon ion-ios-link"></span></a>
|
|
409
424
|
</span>
|
|
410
425
|
</td>
|
|
411
426
|
</tr>
|
|
412
427
|
<tr>
|
|
413
428
|
<td class="col-md-4">
|
|
414
|
-
<i>Type : </i>
|
|
429
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
415
430
|
|
|
416
431
|
</td>
|
|
417
432
|
</tr>
|
|
418
433
|
<tr>
|
|
419
434
|
<td class="col-md-4">
|
|
420
|
-
<i>Default value : </i><code
|
|
435
|
+
<i>Default value : </i><code>'0.5rem'</code>
|
|
421
436
|
</td>
|
|
422
437
|
</tr>
|
|
423
438
|
|
|
439
|
+
<tr>
|
|
440
|
+
<td class="col-md-4">
|
|
441
|
+
<div class="io-description"><p>Half the arrow's own width, matching ECL's <code>arrowSize</code>.</p>
|
|
442
|
+
</div>
|
|
443
|
+
</td>
|
|
444
|
+
</tr>
|
|
424
445
|
|
|
425
446
|
</tbody>
|
|
426
447
|
</table>
|
|
427
|
-
|
|
448
|
+
</section>
|
|
449
|
+
<h3>packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts</h3>
|
|
450
|
+
<section data-compodoc="block-properties">
|
|
451
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
428
452
|
<tbody>
|
|
429
453
|
<tr>
|
|
430
454
|
<td class="col-md-4">
|
|
431
|
-
<a name="
|
|
455
|
+
<a name="ARROW_SIZE"></a>
|
|
432
456
|
<span class="name">
|
|
433
|
-
<span ><b>
|
|
434
|
-
<a href="#
|
|
457
|
+
<span ><b>ARROW_SIZE</b></span>
|
|
458
|
+
<a href="#ARROW_SIZE"><span class="icon ion-ios-link"></span></a>
|
|
435
459
|
</span>
|
|
436
460
|
</td>
|
|
437
461
|
</tr>
|
|
@@ -443,57 +467,94 @@
|
|
|
443
467
|
</tr>
|
|
444
468
|
<tr>
|
|
445
469
|
<td class="col-md-4">
|
|
446
|
-
<i>Default value : </i><code>'
|
|
470
|
+
<i>Default value : </i><code>'0.5rem'</code>
|
|
447
471
|
</td>
|
|
448
472
|
</tr>
|
|
449
473
|
|
|
474
|
+
<tr>
|
|
475
|
+
<td class="col-md-4">
|
|
476
|
+
<div class="io-description"><p>Half the arrow's own width, matching ECL's <code>arrowSize</code>.</p>
|
|
477
|
+
</div>
|
|
478
|
+
</td>
|
|
479
|
+
</tr>
|
|
450
480
|
|
|
451
481
|
</tbody>
|
|
452
482
|
</table>
|
|
453
|
-
|
|
454
|
-
<h3>packages/ecl/components/ecl-highlighted-search/ecl-highlighted-search.component.ts</h3>
|
|
455
|
-
<section data-compodoc="block-properties">
|
|
456
|
-
<h3></h3> <table class="table table-sm table-bordered">
|
|
483
|
+
<table class="table table-sm table-bordered">
|
|
457
484
|
<tbody>
|
|
458
485
|
<tr>
|
|
459
486
|
<td class="col-md-4">
|
|
460
|
-
<a name="
|
|
487
|
+
<a name="RESIZE_DEBOUNCE"></a>
|
|
461
488
|
<span class="name">
|
|
462
|
-
<span ><b>
|
|
463
|
-
<a href="#
|
|
489
|
+
<span ><b>RESIZE_DEBOUNCE</b></span>
|
|
490
|
+
<a href="#RESIZE_DEBOUNCE"><span class="icon ion-ios-link"></span></a>
|
|
464
491
|
</span>
|
|
465
492
|
</td>
|
|
466
493
|
</tr>
|
|
467
494
|
<tr>
|
|
468
495
|
<td class="col-md-4">
|
|
469
|
-
<i>Type : </i> <code><a href="https://
|
|
496
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
470
497
|
|
|
471
498
|
</td>
|
|
472
499
|
</tr>
|
|
473
500
|
<tr>
|
|
474
501
|
<td class="col-md-4">
|
|
475
|
-
<i>Default value : </i><code>
|
|
476
|
-
provide: NG_VALUE_ACCESSOR,
|
|
477
|
-
useExisting: forwardRef(() => EclHighlightedSearchComponent),
|
|
478
|
-
multi: true,
|
|
479
|
-
}</code>
|
|
502
|
+
<i>Default value : </i><code>200</code>
|
|
480
503
|
</td>
|
|
481
504
|
</tr>
|
|
482
505
|
|
|
506
|
+
<tr>
|
|
507
|
+
<td class="col-md-4">
|
|
508
|
+
<div class="io-description"><p>Debounce for the resize recomputation, matching ECL's <code>handleResize</code>.</p>
|
|
509
|
+
</div>
|
|
510
|
+
</td>
|
|
511
|
+
</tr>
|
|
483
512
|
|
|
484
513
|
</tbody>
|
|
485
514
|
</table>
|
|
486
515
|
</section>
|
|
487
|
-
<h3>packages/ecl/components/ecl-
|
|
516
|
+
<h3>packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts</h3>
|
|
488
517
|
<section data-compodoc="block-properties">
|
|
489
518
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
490
519
|
<tbody>
|
|
491
520
|
<tr>
|
|
492
521
|
<td class="col-md-4">
|
|
493
|
-
<a name="
|
|
522
|
+
<a name="ARROW_SIZE"></a>
|
|
494
523
|
<span class="name">
|
|
495
|
-
<span ><b>
|
|
496
|
-
<a href="#
|
|
524
|
+
<span ><b>ARROW_SIZE</b></span>
|
|
525
|
+
<a href="#ARROW_SIZE"><span class="icon ion-ios-link"></span></a>
|
|
526
|
+
</span>
|
|
527
|
+
</td>
|
|
528
|
+
</tr>
|
|
529
|
+
<tr>
|
|
530
|
+
<td class="col-md-4">
|
|
531
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
532
|
+
|
|
533
|
+
</td>
|
|
534
|
+
</tr>
|
|
535
|
+
<tr>
|
|
536
|
+
<td class="col-md-4">
|
|
537
|
+
<i>Default value : </i><code>'0.5rem'</code>
|
|
538
|
+
</td>
|
|
539
|
+
</tr>
|
|
540
|
+
|
|
541
|
+
<tr>
|
|
542
|
+
<td class="col-md-4">
|
|
543
|
+
<div class="io-description"><p>Half the arrow's own width, matching ECL's <code>arrowSize</code>.</p>
|
|
544
|
+
</div>
|
|
545
|
+
</td>
|
|
546
|
+
</tr>
|
|
547
|
+
|
|
548
|
+
</tbody>
|
|
549
|
+
</table>
|
|
550
|
+
<table class="table table-sm table-bordered">
|
|
551
|
+
<tbody>
|
|
552
|
+
<tr>
|
|
553
|
+
<td class="col-md-4">
|
|
554
|
+
<a name="ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR"></a>
|
|
555
|
+
<span class="name">
|
|
556
|
+
<span ><b>ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR</b></span>
|
|
557
|
+
<a href="#ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR"><span class="icon ion-ios-link"></span></a>
|
|
497
558
|
</span>
|
|
498
559
|
</td>
|
|
499
560
|
</tr>
|
|
@@ -507,7 +568,7 @@
|
|
|
507
568
|
<td class="col-md-4">
|
|
508
569
|
<i>Default value : </i><code>{
|
|
509
570
|
provide: NG_VALUE_ACCESSOR,
|
|
510
|
-
useExisting: forwardRef(() =>
|
|
571
|
+
useExisting: forwardRef(() => EclSiteHeaderSearchComponent),
|
|
511
572
|
multi: true,
|
|
512
573
|
}</code>
|
|
513
574
|
</td>
|
|
@@ -536,25 +597,112 @@
|
|
|
536
597
|
<tr>
|
|
537
598
|
<td class="col-md-4">
|
|
538
599
|
<i>Default value : </i><code>(): void => {
|
|
539
|
-
/** empty
|
|
600
|
+
/** empty*/
|
|
540
601
|
}</code>
|
|
541
602
|
</td>
|
|
542
603
|
</tr>
|
|
543
604
|
|
|
544
605
|
|
|
606
|
+
</tbody>
|
|
607
|
+
</table>
|
|
608
|
+
<table class="table table-sm table-bordered">
|
|
609
|
+
<tbody>
|
|
610
|
+
<tr>
|
|
611
|
+
<td class="col-md-4">
|
|
612
|
+
<a name="RESIZE_DEBOUNCE"></a>
|
|
613
|
+
<span class="name">
|
|
614
|
+
<span ><b>RESIZE_DEBOUNCE</b></span>
|
|
615
|
+
<a href="#RESIZE_DEBOUNCE"><span class="icon ion-ios-link"></span></a>
|
|
616
|
+
</span>
|
|
617
|
+
</td>
|
|
618
|
+
</tr>
|
|
619
|
+
<tr>
|
|
620
|
+
<td class="col-md-4">
|
|
621
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
622
|
+
|
|
623
|
+
</td>
|
|
624
|
+
</tr>
|
|
625
|
+
<tr>
|
|
626
|
+
<td class="col-md-4">
|
|
627
|
+
<i>Default value : </i><code>200</code>
|
|
628
|
+
</td>
|
|
629
|
+
</tr>
|
|
630
|
+
|
|
631
|
+
<tr>
|
|
632
|
+
<td class="col-md-4">
|
|
633
|
+
<div class="io-description"><p>Debounce for the resize recomputation, matching ECL's <code>handleResize</code>.</p>
|
|
634
|
+
</div>
|
|
635
|
+
</td>
|
|
636
|
+
</tr>
|
|
637
|
+
|
|
545
638
|
</tbody>
|
|
546
639
|
</table>
|
|
547
640
|
</section>
|
|
548
|
-
<h3>packages/ecl/
|
|
641
|
+
<h3>packages/ecl/core/utils/constants/constants.ts</h3>
|
|
549
642
|
<section data-compodoc="block-properties">
|
|
550
643
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
551
644
|
<tbody>
|
|
552
645
|
<tr>
|
|
553
646
|
<td class="col-md-4">
|
|
554
|
-
<a name="
|
|
647
|
+
<a name="AVAILABLE_NON_EU_LOGO_COUNTRY_CODES"></a>
|
|
555
648
|
<span class="name">
|
|
556
|
-
<span ><b>
|
|
557
|
-
<a href="#
|
|
649
|
+
<span ><b>AVAILABLE_NON_EU_LOGO_COUNTRY_CODES</b></span>
|
|
650
|
+
<a href="#AVAILABLE_NON_EU_LOGO_COUNTRY_CODES"><span class="icon ion-ios-link"></span></a>
|
|
651
|
+
</span>
|
|
652
|
+
</td>
|
|
653
|
+
</tr>
|
|
654
|
+
<tr>
|
|
655
|
+
<td class="col-md-4">
|
|
656
|
+
<i>Type : </i> <code>string[]</code>
|
|
657
|
+
|
|
658
|
+
</td>
|
|
659
|
+
</tr>
|
|
660
|
+
<tr>
|
|
661
|
+
<td class="col-md-4">
|
|
662
|
+
<i>Default value : </i><code>['ar', 'ca', 'is', 'jp', 'lb', 'no', 'ru', 'sw', 'tr', 'uk', 'zh'] as const</code>
|
|
663
|
+
</td>
|
|
664
|
+
</tr>
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
</tbody>
|
|
668
|
+
</table>
|
|
669
|
+
<table class="table table-sm table-bordered">
|
|
670
|
+
<tbody>
|
|
671
|
+
<tr>
|
|
672
|
+
<td class="col-md-4">
|
|
673
|
+
<a name="DEFAULT_LOGO_COUNTRY_CODE"></a>
|
|
674
|
+
<span class="name">
|
|
675
|
+
<span ><b>DEFAULT_LOGO_COUNTRY_CODE</b></span>
|
|
676
|
+
<a href="#DEFAULT_LOGO_COUNTRY_CODE"><span class="icon ion-ios-link"></span></a>
|
|
677
|
+
</span>
|
|
678
|
+
</td>
|
|
679
|
+
</tr>
|
|
680
|
+
<tr>
|
|
681
|
+
<td class="col-md-4">
|
|
682
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
683
|
+
|
|
684
|
+
</td>
|
|
685
|
+
</tr>
|
|
686
|
+
<tr>
|
|
687
|
+
<td class="col-md-4">
|
|
688
|
+
<i>Default value : </i><code>'en'</code>
|
|
689
|
+
</td>
|
|
690
|
+
</tr>
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
</tbody>
|
|
694
|
+
</table>
|
|
695
|
+
</section>
|
|
696
|
+
<h3>packages/ecl/components/ecl-highlighted-search/ecl-highlighted-search.component.ts</h3>
|
|
697
|
+
<section data-compodoc="block-properties">
|
|
698
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
699
|
+
<tbody>
|
|
700
|
+
<tr>
|
|
701
|
+
<td class="col-md-4">
|
|
702
|
+
<a name="ECL_HIGHLIGHTED_SEARCH_VALUE_ACCESSOR"></a>
|
|
703
|
+
<span class="name">
|
|
704
|
+
<span ><b>ECL_HIGHLIGHTED_SEARCH_VALUE_ACCESSOR</b></span>
|
|
705
|
+
<a href="#ECL_HIGHLIGHTED_SEARCH_VALUE_ACCESSOR"><span class="icon ion-ios-link"></span></a>
|
|
558
706
|
</span>
|
|
559
707
|
</td>
|
|
560
708
|
</tr>
|
|
@@ -568,7 +716,40 @@
|
|
|
568
716
|
<td class="col-md-4">
|
|
569
717
|
<i>Default value : </i><code>{
|
|
570
718
|
provide: NG_VALUE_ACCESSOR,
|
|
571
|
-
useExisting: forwardRef(() =>
|
|
719
|
+
useExisting: forwardRef(() => EclHighlightedSearchComponent),
|
|
720
|
+
multi: true,
|
|
721
|
+
}</code>
|
|
722
|
+
</td>
|
|
723
|
+
</tr>
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
</tbody>
|
|
727
|
+
</table>
|
|
728
|
+
</section>
|
|
729
|
+
<h3>packages/ecl/components/ecl-rating-field/ecl-rating-field.component.ts</h3>
|
|
730
|
+
<section data-compodoc="block-properties">
|
|
731
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
732
|
+
<tbody>
|
|
733
|
+
<tr>
|
|
734
|
+
<td class="col-md-4">
|
|
735
|
+
<a name="ECL_RATINGFIELD_VALUE_ACCESSOR"></a>
|
|
736
|
+
<span class="name">
|
|
737
|
+
<span ><b>ECL_RATINGFIELD_VALUE_ACCESSOR</b></span>
|
|
738
|
+
<a href="#ECL_RATINGFIELD_VALUE_ACCESSOR"><span class="icon ion-ios-link"></span></a>
|
|
739
|
+
</span>
|
|
740
|
+
</td>
|
|
741
|
+
</tr>
|
|
742
|
+
<tr>
|
|
743
|
+
<td class="col-md-4">
|
|
744
|
+
<i>Type : </i> <code><a href="https://angular.dev/api/core/Provider" target="_blank" >Provider</a></code>
|
|
745
|
+
|
|
746
|
+
</td>
|
|
747
|
+
</tr>
|
|
748
|
+
<tr>
|
|
749
|
+
<td class="col-md-4">
|
|
750
|
+
<i>Default value : </i><code>{
|
|
751
|
+
provide: NG_VALUE_ACCESSOR,
|
|
752
|
+
useExisting: forwardRef(() => EclRatingFieldComponent),
|
|
572
753
|
multi: true,
|
|
573
754
|
}</code>
|
|
574
755
|
</td>
|
|
@@ -597,7 +778,7 @@
|
|
|
597
778
|
<tr>
|
|
598
779
|
<td class="col-md-4">
|
|
599
780
|
<i>Default value : </i><code>(): void => {
|
|
600
|
-
/** empty*/
|
|
781
|
+
/** empty */
|
|
601
782
|
}</code>
|
|
602
783
|
</td>
|
|
603
784
|
</tr>
|
|
@@ -606,16 +787,16 @@
|
|
|
606
787
|
</tbody>
|
|
607
788
|
</table>
|
|
608
789
|
</section>
|
|
609
|
-
<h3>packages/ecl/components/ecl-
|
|
790
|
+
<h3>packages/ecl/components/ecl-search-form/ecl-search-form.component.ts</h3>
|
|
610
791
|
<section data-compodoc="block-properties">
|
|
611
792
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
612
793
|
<tbody>
|
|
613
794
|
<tr>
|
|
614
795
|
<td class="col-md-4">
|
|
615
|
-
<a name="
|
|
796
|
+
<a name="ECL_SEARCH_FORM_VALUE_ACCESSOR"></a>
|
|
616
797
|
<span class="name">
|
|
617
|
-
<span ><b>
|
|
618
|
-
<a href="#
|
|
798
|
+
<span ><b>ECL_SEARCH_FORM_VALUE_ACCESSOR</b></span>
|
|
799
|
+
<a href="#ECL_SEARCH_FORM_VALUE_ACCESSOR"><span class="icon ion-ios-link"></span></a>
|
|
619
800
|
</span>
|
|
620
801
|
</td>
|
|
621
802
|
</tr>
|
|
@@ -629,7 +810,7 @@
|
|
|
629
810
|
<td class="col-md-4">
|
|
630
811
|
<i>Default value : </i><code>{
|
|
631
812
|
provide: NG_VALUE_ACCESSOR,
|
|
632
|
-
useExisting: forwardRef(() =>
|
|
813
|
+
useExisting: forwardRef(() => EclSearchFormComponent),
|
|
633
814
|
multi: true,
|
|
634
815
|
}</code>
|
|
635
816
|
</td>
|
package/docs/properties.html
CHANGED
|
@@ -109,11 +109,11 @@ class EclDateBlockComponent extends ECLBaseDirective {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclDateBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: EclDateBlockComponent, isStandalone: true, selector: "time[eclDateBlock]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateFormat: { classPropertyName: "dateFormat", publicName: "dateFormat", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, day: { classPropertyName: "day", publicName: "day", isSignal: true, isRequired: false, transformFunction: null }, month: { classPropertyName: "month", publicName: "month", isSignal: true, isRequired: false, transformFunction: null }, monthTitle: { classPropertyName: "monthTitle", publicName: "monthTitle", isSignal: true, isRequired: false, transformFunction: null }, year: { classPropertyName: "year", publicName: "year", isSignal: true, isRequired: false, transformFunction: null }, datetime: { classPropertyName: "datetime", publicName: "datetime", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.cssClasses", "attr.datetime": "this.datetime" } },
|
|
112
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: EclDateBlockComponent, isStandalone: true, selector: "time[eclDateBlock]", inputs: { date: { classPropertyName: "date", publicName: "date", isSignal: true, isRequired: false, transformFunction: null }, dateFormat: { classPropertyName: "dateFormat", publicName: "dateFormat", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, day: { classPropertyName: "day", publicName: "day", isSignal: true, isRequired: false, transformFunction: null }, month: { classPropertyName: "month", publicName: "month", isSignal: true, isRequired: false, transformFunction: null }, monthTitle: { classPropertyName: "monthTitle", publicName: "monthTitle", isSignal: true, isRequired: false, transformFunction: null }, year: { classPropertyName: "year", publicName: "year", isSignal: true, isRequired: false, transformFunction: null }, datetime: { classPropertyName: "datetime", publicName: "datetime", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.cssClasses", "attr.datetime": "this.datetime" } }, usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date() | date: dateFormat()) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day() || (date() | date: 'd') }}</span>\n<abbr [title]=\"monthTitle() || month() || (date() | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month() || (date() | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year() || (date() | date: 'yyyy') }}</span>\n", dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }] }); }
|
|
113
113
|
}
|
|
114
114
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclDateBlockComponent, decorators: [{
|
|
115
115
|
type: Component,
|
|
116
|
-
args: [{ selector: 'time[eclDateBlock]', imports: [DatePipe],
|
|
116
|
+
args: [{ selector: 'time[eclDateBlock]', imports: [DatePipe], template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date() | date: dateFormat()) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day() || (date() | date: 'd') }}</span>\n<abbr [title]=\"monthTitle() || month() || (date() | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month() || (date() | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year() || (date() | date: 'yyyy') }}</span>\n" }]
|
|
117
117
|
}], ctorParameters: () => [], propDecorators: { date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: false }] }], dateFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "dateFormat", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], day: [{ type: i0.Input, args: [{ isSignal: true, alias: "day", required: false }] }], month: [{ type: i0.Input, args: [{ isSignal: true, alias: "month", required: false }] }], monthTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "monthTitle", required: false }] }], year: [{ type: i0.Input, args: [{ isSignal: true, alias: "year", required: false }] }], cssClasses: [{
|
|
118
118
|
type: HostBinding,
|
|
119
119
|
args: ['class']
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/index.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate, DatePipe } from '@angular/common';\nimport { Component, Input, HostBinding, inject, input } from '@angular/core';\nimport '@angular/common/locales/global/bg';\nimport '@angular/common/locales/global/da';\nimport '@angular/common/locales/global/en';\nimport '@angular/common/locales/global/et';\nimport '@angular/common/locales/global/fr';\nimport '@angular/common/locales/global/hr';\nimport '@angular/common/locales/global/lv';\nimport '@angular/common/locales/global/hu';\nimport '@angular/common/locales/global/nl';\nimport '@angular/common/locales/global/pt';\nimport '@angular/common/locales/global/sk';\nimport '@angular/common/locales/global/fi';\nimport '@angular/common/locales/global/cs';\nimport '@angular/common/locales/global/de';\nimport '@angular/common/locales/global/el';\nimport '@angular/common/locales/global/es';\nimport '@angular/common/locales/global/ga';\nimport '@angular/common/locales/global/it';\nimport '@angular/common/locales/global/lt';\nimport '@angular/common/locales/global/mt';\nimport '@angular/common/locales/global/pl';\nimport '@angular/common/locales/global/ro';\nimport '@angular/common/locales/global/sl';\nimport '@angular/common/locales/global/sv';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component used to display a formatted date in a styled time element.\n * Designed for use within content components such as content blocks or items.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n imports: [DatePipe],\n
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/index.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate, DatePipe } from '@angular/common';\nimport { Component, Input, HostBinding, inject, input } from '@angular/core';\nimport '@angular/common/locales/global/bg';\nimport '@angular/common/locales/global/da';\nimport '@angular/common/locales/global/en';\nimport '@angular/common/locales/global/et';\nimport '@angular/common/locales/global/fr';\nimport '@angular/common/locales/global/hr';\nimport '@angular/common/locales/global/lv';\nimport '@angular/common/locales/global/hu';\nimport '@angular/common/locales/global/nl';\nimport '@angular/common/locales/global/pt';\nimport '@angular/common/locales/global/sk';\nimport '@angular/common/locales/global/fi';\nimport '@angular/common/locales/global/cs';\nimport '@angular/common/locales/global/de';\nimport '@angular/common/locales/global/el';\nimport '@angular/common/locales/global/es';\nimport '@angular/common/locales/global/ga';\nimport '@angular/common/locales/global/it';\nimport '@angular/common/locales/global/lt';\nimport '@angular/common/locales/global/mt';\nimport '@angular/common/locales/global/pl';\nimport '@angular/common/locales/global/ro';\nimport '@angular/common/locales/global/sl';\nimport '@angular/common/locales/global/sv';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component used to display a formatted date in a styled time element.\n * Designed for use within content components such as content blocks or items.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n imports: [DatePipe],\n})\nexport class EclDateBlockComponent extends ECLBaseDirective {\n /**\n * The date to be displayed. If not null, it's used to generate the `datetime` attribute and visual output.\n */\n readonly date = input<Date>(undefined);\n\n /**\n * The format to be used when rendering the date string (Angular DatePipe format).\n * Default is `'dd/M/yyyy'`.\n */\n readonly dateFormat = input('dd/M/yyyy');\n\n /**\n * Optional visual variant of the date block. Can be:\n * - `'ongoing'`: for ongoing events\n * - `'past'`: for past events\n * This changes styling only.\n */\n readonly variant = input<'ongoing' | 'past'>(null);\n\n /**\n * Explicit string for day part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n readonly day = input<string>(undefined);\n\n /**\n * Explicit string for month part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n readonly month = input<string>(undefined);\n\n /**\n * Explicit string used as an accessible or verbose label for the month (optional).\n */\n readonly monthTitle = input<string>(undefined);\n\n /**\n * Explicit string for year part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n readonly year = input<string>(undefined);\n\n locale = 'en';\n @HostBinding('class')\n get cssClasses(): string {\n const variant = this.variant();\n return [super.getCssClasses('ecl-date-block'), variant ? `ecl-date-block--${variant}` : ''].join(' ').trim();\n }\n\n /**\n * Sets the `datetime` attribute of the `<time>` element.\n * If not provided, it is derived from `date` and `dateFormat`.\n */\n @Input()\n @HostBinding('attr.datetime')\n get datetime(): string {\n return this.getDatetime();\n }\n set datetime(value) {\n this._datetime = value;\n }\n private _datetime: string = null;\n private translateService = inject(TranslateService);\n\n constructor() {\n super();\n const translateService = this.translateService;\n\n this.locale = translateService.currentLang();\n }\n\n private getDatetime(): string {\n return this._datetime || this.getFormattedDate(this.date(), this.dateFormat());\n }\n\n private getFormattedDate(date: Date, dateFormat: string): string {\n if (date) {\n return formatDate(date, dateFormat, this.translateService.currentLang());\n } else {\n return null;\n }\n }\n}\n","<span class=\"ecl-date-block__daytime\">{{ datetime || (date() | date: dateFormat()) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day() || (date() | date: 'd') }}</span>\n<abbr [title]=\"monthTitle() || month() || (date() | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month() || (date() | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year() || (date() | date: 'yyyy') }}</span>\n","import { EclDateBlockComponent } from './ecl-date-block.component';\n\nexport * from './ecl-date-block.component';\n\nexport const EUI_ECL_DATE_BLOCK = [\n EclDateBlockComponent,\n] as const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ACLzB;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -7,25 +7,18 @@ import { ECLBaseDirective } from '@eui/ecl/core';
|
|
|
7
7
|
* Adds the `ecl-separator` CSS class to the host element.
|
|
8
8
|
*/
|
|
9
9
|
class EclDividerDirective extends ECLBaseDirective {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
/**
|
|
13
|
-
* Binds the `ecl-separator` CSS class to the host `<hr>` element.
|
|
14
|
-
*/
|
|
15
|
-
this.hasClass = true;
|
|
16
|
-
}
|
|
17
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclDividerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclDividerDirective, isStandalone: true, selector: "hr[eclDivider]", host: {
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclDividerDirective, isStandalone: true, selector: "hr[eclDivider]", host: { classAttribute: "ecl-separator" }, usesInheritance: true, ngImport: i0 }); }
|
|
19
12
|
}
|
|
20
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclDividerDirective, decorators: [{
|
|
21
14
|
type: Directive,
|
|
22
15
|
args: [{
|
|
23
16
|
selector: 'hr[eclDivider]',
|
|
17
|
+
host: {
|
|
18
|
+
'class': 'ecl-separator',
|
|
19
|
+
},
|
|
24
20
|
}]
|
|
25
|
-
}]
|
|
26
|
-
type: HostBinding,
|
|
27
|
-
args: ['class.ecl-separator']
|
|
28
|
-
}] } });
|
|
21
|
+
}] });
|
|
29
22
|
|
|
30
23
|
const EUI_ECL_DIVIDER = [
|
|
31
24
|
EclDividerDirective,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-divider.mjs","sources":["../../components/ecl-divider/ecl-divider.directive.ts","../../components/ecl-divider/index.ts","../../components/ecl-divider/eui-ecl-components-ecl-divider.ts"],"sourcesContent":["import { Directive
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-divider.mjs","sources":["../../components/ecl-divider/ecl-divider.directive.ts","../../components/ecl-divider/index.ts","../../components/ecl-divider/eui-ecl-components-ecl-divider.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies ECL styling for horizontal separators (`<hr>` elements).\n * Adds the `ecl-separator` CSS class to the host element.\n */\n@Directive({\n selector: 'hr[eclDivider]',\n host: {\n 'class': 'ecl-separator',\n },\n})\nexport class EclDividerDirective extends ECLBaseDirective {}\n","import { EclDividerDirective } from './ecl-divider.directive';\n\nexport * from './ecl-divider.directive';\n\nexport const EUI_ECL_DIVIDER = [\n EclDividerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;AAGG;AAOG,MAAO,mBAAoB,SAAQ,gBAAgB,CAAA;8GAA5C,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACF,wBAAA,OAAO,EAAE,eAAe;AAC3B,qBAAA;AACJ,iBAAA;;;ACRM,MAAM,eAAe,GAAG;IAC3B,mBAAmB;;;ACLvB;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, input, booleanAttribute, output, ElementRef, Renderer2, PLATFORM_ID,
|
|
3
|
+
import { inject, input, booleanAttribute, output, ElementRef, Renderer2, PLATFORM_ID, Directive } from '@angular/core';
|
|
4
4
|
import { NgControl } from '@angular/forms';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
@@ -240,38 +240,24 @@ class EclFileUploadDirective extends ECLBaseDirective {
|
|
|
240
240
|
return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;
|
|
241
241
|
}
|
|
242
242
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
243
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclFileUploadDirective, isStandalone: true, selector: "[eclFileUpload]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, isInvalid: { classPropertyName: "isInvalid", publicName: "isInvalid", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filesSelected: "filesSelected" }, host: { listeners: { "click": "onClick($event)", "change": "onFilesSelected($event)" }, properties: { "attr.
|
|
243
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclFileUploadDirective, isStandalone: true, selector: "[eclFileUpload]", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, isInvalid: { classPropertyName: "isInvalid", publicName: "isInvalid", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filesSelected: "filesSelected" }, host: { listeners: { "click": "onClick($event)", "change": "onFilesSelected($event)" }, properties: { "attr.type": "type", "attr.id": "id()", "attr.disabled": "disabled() ? \"\" : null", "attr.multiple": "multiple() ? \"\" : null", "class": "cssClasses", "class.ecl-file-upload--invalid": "invalidState" } }, usesInheritance: true, ngImport: i0 }); }
|
|
244
244
|
}
|
|
245
245
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclFileUploadDirective, decorators: [{
|
|
246
246
|
type: Directive,
|
|
247
247
|
args: [{
|
|
248
248
|
selector: '[eclFileUpload]',
|
|
249
|
+
host: {
|
|
250
|
+
'[attr.type]': 'type',
|
|
251
|
+
'[attr.id]': 'id()',
|
|
252
|
+
'[attr.disabled]': 'disabled() ? "" : null',
|
|
253
|
+
'[attr.multiple]': 'multiple() ? "" : null',
|
|
254
|
+
'[class]': 'cssClasses',
|
|
255
|
+
'[class.ecl-file-upload--invalid]': 'invalidState',
|
|
256
|
+
'(click)': 'onClick($event)',
|
|
257
|
+
'(change)': 'onFilesSelected($event)',
|
|
258
|
+
},
|
|
249
259
|
}]
|
|
250
|
-
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], isInvalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInvalid", required: false }] }], id: [{
|
|
251
|
-
type: HostBinding,
|
|
252
|
-
args: ['attr.id']
|
|
253
|
-
}], disabled: [{
|
|
254
|
-
type: HostBinding,
|
|
255
|
-
args: ['attr.disabled']
|
|
256
|
-
}], multiple: [{
|
|
257
|
-
type: HostBinding,
|
|
258
|
-
args: ['attr.multiple']
|
|
259
|
-
}], filesSelected: [{ type: i0.Output, args: ["filesSelected"] }], type: [{
|
|
260
|
-
type: HostBinding,
|
|
261
|
-
args: ['attr.type']
|
|
262
|
-
}], cssClasses: [{
|
|
263
|
-
type: HostBinding,
|
|
264
|
-
args: ['class']
|
|
265
|
-
}], invalidState: [{
|
|
266
|
-
type: HostBinding,
|
|
267
|
-
args: ['class.ecl-file-upload--invalid']
|
|
268
|
-
}], onClick: [{
|
|
269
|
-
type: HostListener,
|
|
270
|
-
args: ['click', ['$event']]
|
|
271
|
-
}], onFilesSelected: [{
|
|
272
|
-
type: HostListener,
|
|
273
|
-
args: ['change', ['$event']]
|
|
274
|
-
}] } });
|
|
260
|
+
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], isInvalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInvalid", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], filesSelected: [{ type: i0.Output, args: ["filesSelected"] }] } });
|
|
275
261
|
|
|
276
262
|
const EUI_ECL_FILE_UPLOAD = [
|
|
277
263
|
EclFileUploadDirective,
|