@eui/mobile-core 18.1.4 → 19.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +135 -17
- package/docs/changelog.html +145 -17
- package/docs/components/EuiMUserProfileActionComponent.html +7 -6
- package/docs/components/EuiMUserProfileAvatarComponent.html +7 -6
- package/docs/components/EuiMUserProfileInfosComponent.html +7 -6
- package/docs/components/EuiMUserProfileInfosItemComponent.html +7 -6
- package/docs/components/EuimAboutComponent.html +7 -7
- package/docs/components/EuimAboutContentLoadingComponent.html +7 -6
- package/docs/components/EuimAlertMessageComponent.html +7 -6
- package/docs/components/EuimAppComponent.html +7 -6
- package/docs/components/EuimAvatarBadgeComponent.html +7 -6
- package/docs/components/EuimAvatarComponent.html +7 -6
- package/docs/components/EuimAvatarIconComponent.html +7 -6
- package/docs/components/EuimAvatarIconSubComponent.html +7 -6
- package/docs/components/EuimAvatarImageComponent.html +7 -6
- package/docs/components/EuimAvatarTextComponent.html +7 -6
- package/docs/components/EuimBadgeComponent.html +7 -6
- package/docs/components/EuimCardComponent.html +7 -7
- package/docs/components/EuimCardListComponent.html +7 -6
- package/docs/components/EuimChangelogComponent.html +7 -6
- package/docs/components/EuimChipSelectorComponent.html +7 -7
- package/docs/components/EuimDataSummaryColComponent.html +7 -6
- package/docs/components/EuimDataSummaryComponent.html +7 -13
- package/docs/components/EuimEmptyListPlaceholderComponent.html +7 -6
- package/docs/components/EuimHeaderDetailsComponent.html +7 -6
- package/docs/components/EuimHelpSupportComponent.html +7 -7
- package/docs/components/EuimHelperTextComponent.html +7 -6
- package/docs/components/EuimLabelComponent.html +7 -6
- package/docs/components/EuimLanguageListComponent.html +7 -6
- package/docs/components/EuimLanguageSelectorComponent.html +7 -6
- package/docs/components/EuimMediaHeaderComponent.html +7 -6
- package/docs/components/EuimMessageComponent.html +7 -6
- package/docs/components/EuimMessageTitleComponent.html +7 -6
- package/docs/components/EuimMultiselectComponent.html +7 -6
- package/docs/components/EuimMultiselectFilterComponent.html +7 -6
- package/docs/components/EuimMultiselectInfoComponent.html +7 -6
- package/docs/components/EuimMultiselectListComponent.html +7 -6
- package/docs/components/EuimMultiselectToolbarComponent.html +7 -6
- package/docs/components/EuimNotificationItemComponent.html +7 -6
- package/docs/components/EuimOpenSourceLicencesComponent.html +7 -6
- package/docs/components/EuimPdfViewerComponent.html +7 -6
- package/docs/components/EuimScrollerXComponent.html +7 -6
- package/docs/components/EuimSidebarComponent.html +7 -7
- package/docs/components/EuimSidebarContentComponent.html +7 -6
- package/docs/components/EuimSkeletonListComponent.html +7 -6
- package/docs/components/EuimSkeletonListItemComponent.html +7 -6
- package/docs/components/EuimSlideInfoScreenComponent.html +7 -6
- package/docs/components/EuimSliderInfoScreenComponent.html +7 -6
- package/docs/components/EuimSpinnerComponent.html +7 -6
- package/docs/components/EuimSpinnerDescriptionComponent.html +7 -6
- package/docs/components/EuimSpinnerMessageComponent.html +7 -6
- package/docs/components/EuimToolbarActionItemsComponent.html +7 -6
- package/docs/components/EuimToolbarComponent.html +7 -6
- package/docs/components/EuimToolbarDatepickerComponent.html +7 -7
- package/docs/components/EuimToolbarQrcodeComponent.html +8 -7
- package/docs/components/EuimToolbarTitleComponent.html +7 -6
- package/docs/components/EuimUserProfileComponent.html +7 -6
- package/docs/dependencies.html +7 -6
- package/docs/directives/BaseStatesDirective.html +7 -6
- package/docs/directives/EuimAlignCenterDirective.html +7 -6
- package/docs/directives/EuimAlignTopDirective.html +7 -6
- package/docs/directives/EuimAvatarMainIconDirective.html +7 -6
- package/docs/directives/EuimAvatarSubIconDirective.html +7 -6
- package/docs/directives/EuimCardImageDirective.html +7 -6
- package/docs/directives/EuimChipSelectorItemDirective.html +7 -6
- package/docs/directives/EuimDataSummaryColLabelDirective.html +7 -6
- package/docs/directives/EuimDataSummaryColValueDirective.html +7 -6
- package/docs/directives/EuimDividerDirective.html +7 -6
- package/docs/directives/EuimEmptyListPlaceholderIconDirective.html +7 -6
- package/docs/directives/EuimEmptyListPlaceholderSubtitleDirective.html +7 -6
- package/docs/directives/EuimEmptyListPlaceholderTitleDirective.html +7 -6
- package/docs/directives/EuimFooterTransparentDirective.html +7 -6
- package/docs/directives/EuimHeaderDetailsIconDirective.html +7 -6
- package/docs/directives/EuimHeaderDetailsMetaDirective.html +7 -6
- package/docs/directives/EuimHeaderDetailsTitleDirective.html +7 -6
- package/docs/directives/EuimListHeaderDirective.html +7 -6
- package/docs/directives/EuimListItemNoPaddingsDirective.html +7 -6
- package/docs/directives/EuimMediaHeaderCustomContentDirective.html +7 -6
- package/docs/directives/EuimMediaHeaderImageDirective.html +7 -6
- package/docs/directives/EuimMediaHeaderSubTitleDirective.html +7 -6
- package/docs/directives/EuimMediaHeaderTitleDirective.html +7 -6
- package/docs/directives/EuimMinWidthDirective.html +7 -6
- package/docs/directives/EuimMultiselectAllDirective.html +7 -6
- package/docs/directives/EuimMultiselectSelectFieldDirective.html +7 -6
- package/docs/directives/EuimReadOnlyFormDirective.html +7 -6
- package/docs/directives/EuimReadOnlyFormLabelDirective.html +7 -6
- package/docs/directives/EuimReadOnlyFormValueDirective.html +7 -6
- package/docs/directives/EuimSidebarFooterNoBordersDirective.html +7 -6
- package/docs/directives/EuimSkeletonTextAvatarDirective.html +7 -6
- package/docs/directives/EuimSliderInfoScreenContentDirective.html +7 -6
- package/docs/directives/EuimSliderInfoScreenSubTitleDirective.html +7 -6
- package/docs/directives/EuimSliderInfoScreenTitleDirective.html +7 -6
- package/docs/directives/EuimToolbarDatepickerDatetimeDirective.html +7 -6
- package/docs/directives/EuimToolbarTransparentDirective.html +7 -6
- package/docs/index.html +7 -6
- package/docs/injectables/EuimAppService.html +7 -6
- package/docs/interfaces/ActionBtnsIconsNames.html +7 -6
- package/docs/interfaces/ActionBtnsNames.html +7 -6
- package/docs/interfaces/FilteredData.html +7 -6
- package/docs/interfaces/HelpAndSupportItem.html +7 -6
- package/docs/interfaces/Item.html +7 -6
- package/docs/interfaces/MenuItem.html +7 -6
- package/docs/interfaces/UIState.html +7 -6
- package/docs/js/libs/bootstrap-native.js +1 -1
- package/docs/js/menu.js +10 -11
- package/docs/js/search/search-lunr.js +6 -8
- package/docs/js/search/search.js +107 -102
- package/docs/js/search/search_index.js +2 -2
- package/docs/license.html +7 -6
- package/docs/miscellaneous/typealiases.html +7 -6
- package/docs/miscellaneous/variables.html +7 -6
- package/docs/modules/EuimAboutModule.html +7 -6
- package/docs/modules/EuimAlertMessageModule.html +7 -6
- package/docs/modules/EuimAllModule.html +7 -6
- package/docs/modules/EuimAppModule.html +7 -6
- package/docs/modules/EuimAvatarModule.html +7 -6
- package/docs/modules/EuimBadgeModule.html +7 -6
- package/docs/modules/EuimCardListModule.html +7 -6
- package/docs/modules/EuimCardModule.html +7 -6
- package/docs/modules/EuimChipSelectorComponentModule.html +7 -6
- package/docs/modules/EuimDataSummaryModule.html +7 -6
- package/docs/modules/EuimDividerModule.html +7 -6
- package/docs/modules/EuimEmptyListPlaceholderModule.html +7 -6
- package/docs/modules/EuimHeaderDetailsModule.html +7 -6
- package/docs/modules/EuimLabelModule.html +7 -6
- package/docs/modules/EuimLanguageSelectorModule.html +7 -6
- package/docs/modules/EuimListHeaderModule.html +7 -6
- package/docs/modules/EuimMediaHeaderModule.html +7 -6
- package/docs/modules/EuimMessageModule.html +7 -6
- package/docs/modules/EuimMultiselectModule.html +7 -6
- package/docs/modules/EuimNotificationItemModule.html +7 -6
- package/docs/modules/EuimPdfViewerModule.html +7 -6
- package/docs/modules/EuimScrollerXComponentModule.html +7 -6
- package/docs/modules/EuimSidebarModule.html +7 -6
- package/docs/modules/EuimSkeletonListItemModule.html +7 -6
- package/docs/modules/EuimSkeletonListModule.html +7 -6
- package/docs/modules/EuimSkeletonTextAvatarModule.html +7 -6
- package/docs/modules/EuimSliderInfoScreenModule.html +7 -6
- package/docs/modules/EuimSpinnerComponentModule.html +7 -6
- package/docs/modules/EuimToolbarComponentModule.html +7 -6
- package/docs/modules/EuimToolbarDatepickerModule.html +7 -6
- package/docs/modules/EuimToolbarQrcodeModule.html +7 -6
- package/docs/modules/EuimUserProfileModule.html +7 -6
- package/docs/modules.html +7 -6
- package/docs/properties.html +8 -7
- package/docs/styles/compodoc.css +11 -8
- package/fesm2022/eui-mobile-core.mjs +746 -891
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/lib/components/atoms/euim-label/euim-label.component.d.ts +0 -1
- package/lib/components/atoms/euim-label/euim-label.module.d.ts +0 -1
- package/lib/components/atoms/euim-label/index.d.ts +0 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts +0 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.module.d.ts +0 -1
- package/lib/components/atoms/euim-notification-item/index.d.ts +0 -1
- package/lib/components/base-states.directive.d.ts +0 -1
- package/lib/components/directives/euim-align-center/euim-align-center.directive.d.ts +0 -1
- package/lib/components/directives/euim-align-top/euim-align-top.directive.d.ts +0 -1
- package/lib/components/directives/euim-divider/euim-divider.directive.d.ts +0 -1
- package/lib/components/directives/euim-divider/euim-divider.module.d.ts +0 -1
- package/lib/components/directives/euim-divider/index.d.ts +0 -1
- package/lib/components/directives/euim-footer-transparent/euim-footer-transparent.directive.d.ts +0 -1
- package/lib/components/directives/euim-list-header/euim-list-header.directive.d.ts +0 -1
- package/lib/components/directives/euim-list-header/euim-list-header.module.d.ts +0 -1
- package/lib/components/directives/euim-list-header/index.d.ts +0 -1
- package/lib/components/directives/euim-list-item/euim-list-item.directive.d.ts +0 -1
- package/lib/components/directives/euim-min-width/euim-min-width.directive.d.ts +0 -1
- package/lib/components/directives/euim-sidebar-footer/euim-sidebar-footer.directive.d.ts +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.directive.d.ts +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.module.d.ts +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/index.d.ts +0 -1
- package/lib/components/directives/euim-toolbar-transparent/euim-toolbar-transparent.directive.d.ts +0 -1
- package/lib/components/euim-about/euim-about-content-loading/euim-about-content-loading.component.d.ts +0 -1
- package/lib/components/euim-about/euim-about.component.d.ts +0 -1
- package/lib/components/euim-about/euim-about.module.d.ts +0 -1
- package/lib/components/euim-about/euim-changelog/euim-changelog.component.d.ts +0 -1
- package/lib/components/euim-about/euim-help-support/euim-help-support.component.d.ts +0 -1
- package/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.d.ts +0 -1
- package/lib/components/euim-about/index.d.ts +0 -1
- package/lib/components/euim-alert-message/euim-alert-message.module.d.ts +0 -1
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts +0 -1
- package/lib/components/euim-alert-message/index.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar-badge/euim-avatar-badge.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar-icon/euim-avatar-icon.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar-icon-sub/euim-avatar-icon-sub.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar-image/euim-avatar-image.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar-text/euim-avatar-text.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar.component.d.ts +0 -1
- package/lib/components/euim-avatar/euim-avatar.module.d.ts +0 -1
- package/lib/components/euim-avatar/index.d.ts +0 -1
- package/lib/components/euim-badge/euim-badge.component.d.ts +0 -1
- package/lib/components/euim-badge/euim-badge.module.d.ts +0 -1
- package/lib/components/euim-badge/index.d.ts +0 -1
- package/lib/components/euim-card/euim-card-image/euim-card-image.directive.d.ts +0 -1
- package/lib/components/euim-card/euim-card.component.d.ts +0 -1
- package/lib/components/euim-card/euim-card.module.d.ts +0 -1
- package/lib/components/euim-card/index.d.ts +0 -1
- package/lib/components/euim-card-list/euim-card-list.component.d.ts +0 -1
- package/lib/components/euim-card-list/euim-card-list.module.d.ts +0 -1
- package/lib/components/euim-card-list/index.d.ts +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.module.d.ts +0 -1
- package/lib/components/euim-chip-selector/index.d.ts +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col/euim-data-summary-col.component.d.ts +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.d.ts +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.d.ts +0 -1
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts +0 -1
- package/lib/components/euim-data-summary/euim-data-summary.module.d.ts +0 -1
- package/lib/components/euim-data-summary/index.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-icon.directive.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-subtitle.directive.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-title.directive.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.module.d.ts +0 -1
- package/lib/components/euim-empty-list-placeholder/index.d.ts +0 -1
- package/lib/components/euim-helper-text/euim-helper-text.component.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header-custom-content/euim-media-header-content.directive.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header-image/euim-media-header-image.directive.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header-sub-title/euim-media-header-sub-title.directive.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header-title/euim-media-header-title.directive.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header.component.d.ts +0 -1
- package/lib/components/euim-media-header/euim-media-header.module.d.ts +0 -1
- package/lib/components/euim-media-header/index.d.ts +0 -1
- package/lib/components/euim-message/euim-message-title/euim-message-title.component.d.ts +0 -1
- package/lib/components/euim-message/euim-message.component.d.ts +0 -1
- package/lib/components/euim-message/euim-message.module.d.ts +0 -1
- package/lib/components/euim-message/index.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-info/euim-multiselect-info.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-list/euim-multiselect-list.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-select-field/euim-multiselect-select-field.directive.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect.module.d.ts +0 -1
- package/lib/components/euim-multiselect/index.d.ts +0 -1
- package/lib/components/euim-pdf-viewer/euim-pdf-viewer.component.d.ts +0 -1
- package/lib/components/euim-pdf-viewer/euim-pdf-viewer.module.d.ts +0 -1
- package/lib/components/euim-pdf-viewer/index.d.ts +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form-label/euim-read-only-form-label.directive.d.ts +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form-value/euim-read-only-form-value.directive.d.ts +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form.directive.d.ts +0 -1
- package/lib/components/euim-scroller-x/euim-scroller-x.component.d.ts +0 -1
- package/lib/components/euim-scroller-x/euim-scroller-x.module.d.ts +0 -1
- package/lib/components/euim-scroller-x/index.d.ts +0 -1
- package/lib/components/euim-skeleton-list/euim-skeleton-list.component.d.ts +0 -1
- package/lib/components/euim-skeleton-list/euim-skeleton-list.module.d.ts +0 -1
- package/lib/components/euim-skeleton-list/index.d.ts +0 -1
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.d.ts +0 -1
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.module.d.ts +0 -1
- package/lib/components/euim-skeleton-list-item/index.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slide-info-screen/euim-slide-info-screen.component.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-content/euim-slider-info-screen-content.directive.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-sub-title/euim-slider-info-screen-sub-title.directive.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-title/euim-slider-info-screen-title.directive.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.module.d.ts +0 -1
- package/lib/components/euim-slider-info-screen/index.d.ts +0 -1
- package/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.d.ts +0 -1
- package/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.d.ts +0 -1
- package/lib/components/euim-spinner/euim-spinner.component.d.ts +0 -1
- package/lib/components/euim-spinner/euim-spinner.module.d.ts +0 -1
- package/lib/components/euim-spinner/index.d.ts +0 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.d.ts +0 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.d.ts +0 -1
- package/lib/components/euim-toolbar-datepicker/index.d.ts +0 -1
- package/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.component.d.ts +0 -1
- package/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.module.d.ts +0 -1
- package/lib/components/euim-toolbar-qrcode/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/layout/euim-app/euim-app.component.d.ts +0 -1
- package/lib/components/layout/euim-app/euim-app.module.d.ts +0 -1
- package/lib/components/layout/euim-app/index.d.ts +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-icon/euim-header-details-icon.directive.d.ts +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-meta/euim-header-details-meta.directive.d.ts +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-title/euim-header-details-title.directive.d.ts +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details.component.d.ts +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details.module.d.ts +0 -1
- package/lib/components/layout/euim-header-details/index.d.ts +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.module.d.ts +0 -1
- package/lib/components/layout/euim-language-selector/index.d.ts +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar-content/euim-sidebar-content.component.d.ts +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar.component.d.ts +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar.module.d.ts +0 -1
- package/lib/components/layout/euim-sidebar/index.d.ts +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.d.ts +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.d.ts +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.module.d.ts +0 -1
- package/lib/components/layout/euim-toolbar/index.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.component.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.module.d.ts +0 -1
- package/lib/components/layout/euim-user-profile/index.d.ts +0 -1
- package/lib/euim-all.module.d.ts +0 -1
- package/lib/services/euim-app.service.d.ts +0 -1
- package/lib/services/index.d.ts +0 -1
- package/package.json +9 -11
- package/esm2022/eui-mobile-core.mjs +0 -5
- package/esm2022/index.mjs +0 -5
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +0 -76
- package/esm2022/lib/components/atoms/euim-label/euim-label.module.mjs +0 -19
- package/esm2022/lib/components/atoms/euim-label/index.mjs +0 -7
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs +0 -35
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.module.mjs +0 -19
- package/esm2022/lib/components/atoms/euim-notification-item/index.mjs +0 -7
- package/esm2022/lib/components/base-states.directive.mjs +0 -145
- package/esm2022/lib/components/directives/euim-align-center/euim-align-center.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-align-top/euim-align-top.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-divider/euim-divider.directive.mjs +0 -29
- package/esm2022/lib/components/directives/euim-divider/euim-divider.module.mjs +0 -19
- package/esm2022/lib/components/directives/euim-divider/index.mjs +0 -7
- package/esm2022/lib/components/directives/euim-footer-transparent/euim-footer-transparent.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.directive.mjs +0 -29
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.module.mjs +0 -19
- package/esm2022/lib/components/directives/euim-list-header/index.mjs +0 -7
- package/esm2022/lib/components/directives/euim-list-item/euim-list-item.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-min-width/euim-min-width.directive.mjs +0 -24
- package/esm2022/lib/components/directives/euim-sidebar-footer/euim-sidebar-footer.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.directive.mjs +0 -18
- package/esm2022/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.module.mjs +0 -19
- package/esm2022/lib/components/directives/euim-skeleton-text-avatar/index.mjs +0 -7
- package/esm2022/lib/components/directives/euim-toolbar-transparent/euim-toolbar-transparent.directive.mjs +0 -60
- package/esm2022/lib/components/euim-about/euim-about-content-loading/euim-about-content-loading.component.mjs +0 -28
- package/esm2022/lib/components/euim-about/euim-about.component.mjs +0 -24
- package/esm2022/lib/components/euim-about/euim-about.module.mjs +0 -58
- package/esm2022/lib/components/euim-about/euim-changelog/euim-changelog.component.mjs +0 -21
- package/esm2022/lib/components/euim-about/euim-help-support/euim-help-support.component.mjs +0 -74
- package/esm2022/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.mjs +0 -27
- package/esm2022/lib/components/euim-about/index.mjs +0 -19
- package/esm2022/lib/components/euim-alert-message/euim-alert-message.module.mjs +0 -19
- package/esm2022/lib/components/euim-alert-message/euim-alert-messsage.component.mjs +0 -99
- package/esm2022/lib/components/euim-alert-message/index.mjs +0 -7
- package/esm2022/lib/components/euim-avatar/euim-avatar-badge/euim-avatar-badge.component.mjs +0 -23
- package/esm2022/lib/components/euim-avatar/euim-avatar-icon/euim-avatar-icon.component.mjs +0 -15
- package/esm2022/lib/components/euim-avatar/euim-avatar-icon-sub/euim-avatar-icon-sub.component.mjs +0 -42
- package/esm2022/lib/components/euim-avatar/euim-avatar-image/euim-avatar-image.component.mjs +0 -18
- package/esm2022/lib/components/euim-avatar/euim-avatar-text/euim-avatar-text.component.mjs +0 -26
- package/esm2022/lib/components/euim-avatar/euim-avatar.component.mjs +0 -42
- package/esm2022/lib/components/euim-avatar/euim-avatar.module.mjs +0 -48
- package/esm2022/lib/components/euim-avatar/index.mjs +0 -22
- package/esm2022/lib/components/euim-badge/euim-badge.component.mjs +0 -40
- package/esm2022/lib/components/euim-badge/euim-badge.module.mjs +0 -19
- package/esm2022/lib/components/euim-badge/index.mjs +0 -7
- package/esm2022/lib/components/euim-card/euim-card-image/euim-card-image.directive.mjs +0 -30
- package/esm2022/lib/components/euim-card/euim-card.component.mjs +0 -50
- package/esm2022/lib/components/euim-card/euim-card.module.mjs +0 -20
- package/esm2022/lib/components/euim-card/index.mjs +0 -10
- package/esm2022/lib/components/euim-card-list/euim-card-list.component.mjs +0 -26
- package/esm2022/lib/components/euim-card-list/euim-card-list.module.mjs +0 -19
- package/esm2022/lib/components/euim-card-list/index.mjs +0 -7
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.mjs +0 -33
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.component.mjs +0 -334
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.module.mjs +0 -20
- package/esm2022/lib/components/euim-chip-selector/index.mjs +0 -10
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col/euim-data-summary-col.component.mjs +0 -19
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.mjs +0 -39
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.mjs +0 -31
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.component.mjs +0 -58
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.module.mjs +0 -30
- package/esm2022/lib/components/euim-data-summary/index.mjs +0 -16
- package/esm2022/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-icon.directive.mjs +0 -18
- package/esm2022/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-subtitle.directive.mjs +0 -18
- package/esm2022/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-title.directive.mjs +0 -18
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.mjs +0 -66
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.module.mjs +0 -38
- package/esm2022/lib/components/euim-empty-list-placeholder/index.mjs +0 -16
- package/esm2022/lib/components/euim-helper-text/euim-helper-text.component.mjs +0 -37
- package/esm2022/lib/components/euim-media-header/euim-media-header-custom-content/euim-media-header-content.directive.mjs +0 -18
- package/esm2022/lib/components/euim-media-header/euim-media-header-image/euim-media-header-image.directive.mjs +0 -18
- package/esm2022/lib/components/euim-media-header/euim-media-header-sub-title/euim-media-header-sub-title.directive.mjs +0 -18
- package/esm2022/lib/components/euim-media-header/euim-media-header-title/euim-media-header-title.directive.mjs +0 -18
- package/esm2022/lib/components/euim-media-header/euim-media-header.component.mjs +0 -62
- package/esm2022/lib/components/euim-media-header/euim-media-header.module.mjs +0 -43
- package/esm2022/lib/components/euim-media-header/index.mjs +0 -18
- package/esm2022/lib/components/euim-message/euim-message-title/euim-message-title.component.mjs +0 -14
- package/esm2022/lib/components/euim-message/euim-message.component.mjs +0 -56
- package/esm2022/lib/components/euim-message/euim-message.module.mjs +0 -20
- package/esm2022/lib/components/euim-message/index.mjs +0 -10
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.mjs +0 -49
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.mjs +0 -70
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-info/euim-multiselect-info.component.mjs +0 -28
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-list/euim-multiselect-list.component.mjs +0 -24
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-select-field/euim-multiselect-select-field.directive.mjs +0 -57
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.mjs +0 -48
- package/esm2022/lib/components/euim-multiselect/euim-multiselect.component.mjs +0 -93
- package/esm2022/lib/components/euim-multiselect/euim-multiselect.module.mjs +0 -57
- package/esm2022/lib/components/euim-multiselect/index.mjs +0 -25
- package/esm2022/lib/components/euim-pdf-viewer/euim-pdf-viewer.component.mjs +0 -169
- package/esm2022/lib/components/euim-pdf-viewer/euim-pdf-viewer.module.mjs +0 -19
- package/esm2022/lib/components/euim-pdf-viewer/index.mjs +0 -7
- package/esm2022/lib/components/euim-read-only-form/euim-read-only-form-label/euim-read-only-form-label.directive.mjs +0 -18
- package/esm2022/lib/components/euim-read-only-form/euim-read-only-form-value/euim-read-only-form-value.directive.mjs +0 -18
- package/esm2022/lib/components/euim-read-only-form/euim-read-only-form.directive.mjs +0 -18
- package/esm2022/lib/components/euim-scroller-x/euim-scroller-x.component.mjs +0 -15
- package/esm2022/lib/components/euim-scroller-x/euim-scroller-x.module.mjs +0 -19
- package/esm2022/lib/components/euim-scroller-x/index.mjs +0 -7
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.component.mjs +0 -41
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.module.mjs +0 -19
- package/esm2022/lib/components/euim-skeleton-list/index.mjs +0 -7
- package/esm2022/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.mjs +0 -77
- package/esm2022/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.module.mjs +0 -19
- package/esm2022/lib/components/euim-skeleton-list-item/index.mjs +0 -7
- package/esm2022/lib/components/euim-slider-info-screen/euim-slide-info-screen/euim-slide-info-screen.component.mjs +0 -25
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-content/euim-slider-info-screen-content.directive.mjs +0 -30
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-sub-title/euim-slider-info-screen-sub-title.directive.mjs +0 -18
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-title/euim-slider-info-screen-title.directive.mjs +0 -18
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.mjs +0 -216
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.module.mjs +0 -43
- package/esm2022/lib/components/euim-slider-info-screen/index.mjs +0 -19
- package/esm2022/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.mjs +0 -16
- package/esm2022/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.mjs +0 -16
- package/esm2022/lib/components/euim-spinner/euim-spinner.component.mjs +0 -32
- package/esm2022/lib/components/euim-spinner/euim-spinner.module.mjs +0 -33
- package/esm2022/lib/components/euim-spinner/index.mjs +0 -13
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.mjs +0 -78
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.mjs +0 -204
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.mjs +0 -19
- package/esm2022/lib/components/euim-toolbar-datepicker/index.mjs +0 -7
- package/esm2022/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.component.mjs +0 -23
- package/esm2022/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.module.mjs +0 -19
- package/esm2022/lib/components/euim-toolbar-qrcode/index.mjs +0 -7
- package/esm2022/lib/components/index.mjs +0 -45
- package/esm2022/lib/components/layout/euim-app/euim-app.component.mjs +0 -22
- package/esm2022/lib/components/layout/euim-app/euim-app.module.mjs +0 -19
- package/esm2022/lib/components/layout/euim-app/index.mjs +0 -7
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-icon/euim-header-details-icon.directive.mjs +0 -18
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-meta/euim-header-details-meta.directive.mjs +0 -18
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-title/euim-header-details-title.directive.mjs +0 -18
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.component.mjs +0 -40
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.module.mjs +0 -22
- package/esm2022/lib/components/layout/euim-header-details/index.mjs +0 -16
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-list.component.mjs +0 -107
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.component.mjs +0 -129
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.module.mjs +0 -25
- package/esm2022/lib/components/layout/euim-language-selector/index.mjs +0 -10
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar-content/euim-sidebar-content.component.mjs +0 -95
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar.component.mjs +0 -65
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar.module.mjs +0 -25
- package/esm2022/lib/components/layout/euim-sidebar/index.mjs +0 -10
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.mjs +0 -14
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.mjs +0 -32
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.component.mjs +0 -66
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.module.mjs +0 -27
- package/esm2022/lib/components/layout/euim-toolbar/index.mjs +0 -13
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.mjs +0 -16
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.mjs +0 -14
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.mjs +0 -26
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.mjs +0 -14
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.component.mjs +0 -26
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.module.mjs +0 -44
- package/esm2022/lib/components/layout/euim-user-profile/index.mjs +0 -19
- package/esm2022/lib/euim-all.module.mjs +0 -227
- package/esm2022/lib/services/euim-app.service.mjs +0 -36
- package/esm2022/lib/services/index.mjs +0 -2
- package/eui-mobile-core.d.ts.map +0 -1
- package/index.d.ts.map +0 -1
- package/lib/components/atoms/euim-label/euim-label.component.d.ts.map +0 -1
- package/lib/components/atoms/euim-label/euim-label.module.d.ts.map +0 -1
- package/lib/components/atoms/euim-label/index.d.ts.map +0 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts.map +0 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.module.d.ts.map +0 -1
- package/lib/components/atoms/euim-notification-item/index.d.ts.map +0 -1
- package/lib/components/base-states.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-align-center/euim-align-center.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-align-top/euim-align-top.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-divider/euim-divider.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-divider/euim-divider.module.d.ts.map +0 -1
- package/lib/components/directives/euim-divider/index.d.ts.map +0 -1
- package/lib/components/directives/euim-footer-transparent/euim-footer-transparent.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-list-header/euim-list-header.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-list-header/euim-list-header.module.d.ts.map +0 -1
- package/lib/components/directives/euim-list-header/index.d.ts.map +0 -1
- package/lib/components/directives/euim-list-item/euim-list-item.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-min-width/euim-min-width.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-sidebar-footer/euim-sidebar-footer.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.module.d.ts.map +0 -1
- package/lib/components/directives/euim-skeleton-text-avatar/index.d.ts.map +0 -1
- package/lib/components/directives/euim-toolbar-transparent/euim-toolbar-transparent.directive.d.ts.map +0 -1
- package/lib/components/euim-about/euim-about-content-loading/euim-about-content-loading.component.d.ts.map +0 -1
- package/lib/components/euim-about/euim-about.component.d.ts.map +0 -1
- package/lib/components/euim-about/euim-about.module.d.ts.map +0 -1
- package/lib/components/euim-about/euim-changelog/euim-changelog.component.d.ts.map +0 -1
- package/lib/components/euim-about/euim-help-support/euim-help-support.component.d.ts.map +0 -1
- package/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.d.ts.map +0 -1
- package/lib/components/euim-about/index.d.ts.map +0 -1
- package/lib/components/euim-alert-message/euim-alert-message.module.d.ts.map +0 -1
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts.map +0 -1
- package/lib/components/euim-alert-message/index.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar-badge/euim-avatar-badge.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar-icon/euim-avatar-icon.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar-icon-sub/euim-avatar-icon-sub.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar-image/euim-avatar-image.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar-text/euim-avatar-text.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar.component.d.ts.map +0 -1
- package/lib/components/euim-avatar/euim-avatar.module.d.ts.map +0 -1
- package/lib/components/euim-avatar/index.d.ts.map +0 -1
- package/lib/components/euim-badge/euim-badge.component.d.ts.map +0 -1
- package/lib/components/euim-badge/euim-badge.module.d.ts.map +0 -1
- package/lib/components/euim-badge/index.d.ts.map +0 -1
- package/lib/components/euim-card/euim-card-image/euim-card-image.directive.d.ts.map +0 -1
- package/lib/components/euim-card/euim-card.component.d.ts.map +0 -1
- package/lib/components/euim-card/euim-card.module.d.ts.map +0 -1
- package/lib/components/euim-card/index.d.ts.map +0 -1
- package/lib/components/euim-card-list/euim-card-list.component.d.ts.map +0 -1
- package/lib/components/euim-card-list/euim-card-list.module.d.ts.map +0 -1
- package/lib/components/euim-card-list/index.d.ts.map +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts.map +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts.map +0 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.module.d.ts.map +0 -1
- package/lib/components/euim-chip-selector/index.d.ts.map +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col/euim-data-summary-col.component.d.ts.map +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.d.ts.map +0 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.d.ts.map +0 -1
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts.map +0 -1
- package/lib/components/euim-data-summary/euim-data-summary.module.d.ts.map +0 -1
- package/lib/components/euim-data-summary/index.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-icon.directive.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-subtitle.directive.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/directives/euim-empty-list-placeholder-title.directive.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.module.d.ts.map +0 -1
- package/lib/components/euim-empty-list-placeholder/index.d.ts.map +0 -1
- package/lib/components/euim-helper-text/euim-helper-text.component.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header-custom-content/euim-media-header-content.directive.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header-image/euim-media-header-image.directive.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header-sub-title/euim-media-header-sub-title.directive.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header-title/euim-media-header-title.directive.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header.component.d.ts.map +0 -1
- package/lib/components/euim-media-header/euim-media-header.module.d.ts.map +0 -1
- package/lib/components/euim-media-header/index.d.ts.map +0 -1
- package/lib/components/euim-message/euim-message-title/euim-message-title.component.d.ts.map +0 -1
- package/lib/components/euim-message/euim-message.component.d.ts.map +0 -1
- package/lib/components/euim-message/euim-message.module.d.ts.map +0 -1
- package/lib/components/euim-message/index.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-info/euim-multiselect-info.component.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-list/euim-multiselect-list.component.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-select-field/euim-multiselect-select-field.directive.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect.component.d.ts.map +0 -1
- package/lib/components/euim-multiselect/euim-multiselect.module.d.ts.map +0 -1
- package/lib/components/euim-multiselect/index.d.ts.map +0 -1
- package/lib/components/euim-pdf-viewer/euim-pdf-viewer.component.d.ts.map +0 -1
- package/lib/components/euim-pdf-viewer/euim-pdf-viewer.module.d.ts.map +0 -1
- package/lib/components/euim-pdf-viewer/index.d.ts.map +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form-label/euim-read-only-form-label.directive.d.ts.map +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form-value/euim-read-only-form-value.directive.d.ts.map +0 -1
- package/lib/components/euim-read-only-form/euim-read-only-form.directive.d.ts.map +0 -1
- package/lib/components/euim-scroller-x/euim-scroller-x.component.d.ts.map +0 -1
- package/lib/components/euim-scroller-x/euim-scroller-x.module.d.ts.map +0 -1
- package/lib/components/euim-scroller-x/index.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list/euim-skeleton-list.component.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list/euim-skeleton-list.module.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list/index.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.module.d.ts.map +0 -1
- package/lib/components/euim-skeleton-list-item/index.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slide-info-screen/euim-slide-info-screen.component.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-content/euim-slider-info-screen-content.directive.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-sub-title/euim-slider-info-screen-sub-title.directive.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen-title/euim-slider-info-screen-title.directive.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.module.d.ts.map +0 -1
- package/lib/components/euim-slider-info-screen/index.d.ts.map +0 -1
- package/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.d.ts.map +0 -1
- package/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.d.ts.map +0 -1
- package/lib/components/euim-spinner/euim-spinner.component.d.ts.map +0 -1
- package/lib/components/euim-spinner/euim-spinner.module.d.ts.map +0 -1
- package/lib/components/euim-spinner/index.d.ts.map +0 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.d.ts +0 -19
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.d.ts.map +0 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.d.ts.map +0 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.d.ts.map +0 -1
- package/lib/components/euim-toolbar-datepicker/index.d.ts.map +0 -1
- package/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.component.d.ts.map +0 -1
- package/lib/components/euim-toolbar-qrcode/euim-toolbar-qrcode.module.d.ts.map +0 -1
- package/lib/components/euim-toolbar-qrcode/index.d.ts.map +0 -1
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app.component.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app.module.d.ts.map +0 -1
- package/lib/components/layout/euim-app/index.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-icon/euim-header-details-icon.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-meta/euim-header-details-meta.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details-title/euim-header-details-title.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details.component.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/euim-header-details.module.d.ts.map +0 -1
- package/lib/components/layout/euim-header-details/index.d.ts.map +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts.map +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts.map +0 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.module.d.ts.map +0 -1
- package/lib/components/layout/euim-language-selector/index.d.ts.map +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar-content/euim-sidebar-content.component.d.ts.map +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar.component.d.ts.map +0 -1
- package/lib/components/layout/euim-sidebar/euim-sidebar.module.d.ts.map +0 -1
- package/lib/components/layout/euim-sidebar/index.d.ts.map +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.d.ts.map +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.d.ts.map +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts.map +0 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.module.d.ts.map +0 -1
- package/lib/components/layout/euim-toolbar/index.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.component.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.module.d.ts.map +0 -1
- package/lib/components/layout/euim-user-profile/index.d.ts.map +0 -1
- package/lib/euim-all.module.d.ts.map +0 -1
- package/lib/services/euim-app.service.d.ts.map +0 -1
- package/lib/services/index.d.ts.map +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { EuimHeaderDetailsComponent } from './euim-header-details.component';
|
|
3
|
-
import { EuimHeaderDetailsMetaDirective } from './euim-header-details-meta/euim-header-details-meta.directive';
|
|
4
|
-
import { EuimHeaderDetailsTitleDirective } from './euim-header-details-title/euim-header-details-title.directive';
|
|
5
|
-
import { EuimHeaderDetailsIconDirective } from './euim-header-details-icon/euim-header-details-icon.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use {@link EUIM_HEADER_DETAILS} instead.
|
|
9
|
-
*/
|
|
10
|
-
export class EuimHeaderDetailsModule {
|
|
11
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimHeaderDetailsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: EuimHeaderDetailsModule, imports: [EuimHeaderDetailsComponent, EuimHeaderDetailsTitleDirective, EuimHeaderDetailsMetaDirective, EuimHeaderDetailsIconDirective], exports: [EuimHeaderDetailsComponent, EuimHeaderDetailsTitleDirective, EuimHeaderDetailsMetaDirective, EuimHeaderDetailsIconDirective] });
|
|
13
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimHeaderDetailsModule });
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimHeaderDetailsModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
imports: [EuimHeaderDetailsComponent, EuimHeaderDetailsTitleDirective, EuimHeaderDetailsMetaDirective, EuimHeaderDetailsIconDirective],
|
|
19
|
-
exports: [EuimHeaderDetailsComponent, EuimHeaderDetailsTitleDirective, EuimHeaderDetailsMetaDirective, EuimHeaderDetailsIconDirective],
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1oZWFkZXItZGV0YWlscy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2V1aW0taGVhZGVyLWRldGFpbHMvZXVpbS1oZWFkZXItZGV0YWlscy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSwrREFBK0QsQ0FBQztBQUMvRyxPQUFPLEVBQUUsK0JBQStCLEVBQUUsTUFBTSxpRUFBaUUsQ0FBQztBQUNsSCxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSwrREFBK0QsQ0FBQzs7QUFFL0c7O0dBRUc7QUFLSCxNQUFNLE9BQU8sdUJBQXVCOzJIQUF2Qix1QkFBdUI7NEhBQXZCLHVCQUF1QixZQUh0QiwwQkFBMEIsRUFBRSwrQkFBK0IsRUFBRSw4QkFBOEIsRUFBRSw4QkFBOEIsYUFD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tcbiAgICBpbXBvcnRzOiBbRXVpbUhlYWRlckRldGFpbHNDb21wb25lbnQsIEV1aW1IZWFkZXJEZXRhaWxzVGl0bGVEaXJlY3RpdmUsIEV1aW1IZWFkZXJEZXRhaWxzTWV0YURpcmVjdGl2ZSwgRXVpbUhlYWRlckRldGFpbHNJY29uRGlyZWN0aXZlXSxcbiAgICBleHBvcnRzOiBbRXVpbUhlYWRlckRldGFpbHNDb21wb25lbnQsIEV1aW1IZWFkZXJEZXRhaWxzVGl0bGVEaXJlY3RpdmUsIEV1aW1IZWFkZXJEZXRhaWxzTWV0YURpcmVjdGl2ZSwgRXVpbUhlYWRlckRldGFpbHNJY29uRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgRXVpbUhlYWRlckRldGFpbHNNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EuimHeaderDetailsComponent } from './euim-header-details.component';
|
|
2
|
-
import { EuimHeaderDetailsMetaDirective } from './euim-header-details-meta/euim-header-details-meta.directive';
|
|
3
|
-
import { EuimHeaderDetailsTitleDirective } from './euim-header-details-title/euim-header-details-title.directive';
|
|
4
|
-
import { EuimHeaderDetailsIconDirective } from './euim-header-details-icon/euim-header-details-icon.directive';
|
|
5
|
-
export * from './euim-header-details.module';
|
|
6
|
-
export * from './euim-header-details.component';
|
|
7
|
-
export * from './euim-header-details-title/euim-header-details-title.directive';
|
|
8
|
-
export * from './euim-header-details-meta/euim-header-details-meta.directive';
|
|
9
|
-
export * from './euim-header-details-icon/euim-header-details-icon.directive';
|
|
10
|
-
export const EUIM_HEADER_DETAILS = [
|
|
11
|
-
EuimHeaderDetailsComponent,
|
|
12
|
-
EuimHeaderDetailsMetaDirective,
|
|
13
|
-
EuimHeaderDetailsTitleDirective,
|
|
14
|
-
EuimHeaderDetailsIconDirective,
|
|
15
|
-
];
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoi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9ldWltLWhlYWRlci1kZXRhaWxzLXRpdGxlLmRpcmVjdGl2ZSc7XG5pbXBvcnQgeyBFdWltSGVhZGVyRGV0YWlsc0ljb25EaXJlY3RpdmUgfSBmcm9tICcuL2V1aW0taGVhZGVyLWRldGFpbHMtaWNvbi9ldWltLWhlYWRlci1kZXRhaWxzLWljb24uZGlyZWN0aXZlJztcblxuZXhwb3J0ICogZnJvbSAnLi9ldWltLWhlYWRlci1kZXRhaWxzLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2V1aW0taGVhZGVyLWRldGFpbHMuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZXVpbS1oZWFkZXItZGV0YWlscy10aXRsZS9ldWltLWhlYWRlci1kZXRhaWxzLXRpdGxlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2V1aW0taGVhZGVyLWRldGFpbHMtbWV0YS9ldWltLWhlYWRlci1kZXRhaWxzLW1ldGEuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vZXVpbS1oZWFkZXItZGV0YWlscy1pY29uL2V1aW0taGVhZGVyLWRldGFpbHMtaWNvbi5kaXJlY3RpdmUnO1xuXG5leHBvcnQgY29uc3QgRVVJTV9IRUFERVJfREVUQUlMUyA9IFtcbiAgICBFdWltSGVhZGVyRGV0YWlsc0NvbXBvbmVudCxcbiAgICBFdWltSGVhZGVyRGV0YWlsc01ldGFEaXJlY3RpdmUsXG4gICAgRXVpbUhlYWRlckRldGFpbHNUaXRsZURpcmVjdGl2ZSxcbiAgICBFdWltSGVhZGVyRGV0YWlsc0ljb25EaXJlY3RpdmUsXG5dIGFzIGNvbnN0O1xuIl19
|
package/esm2022/lib/components/layout/euim-language-selector/euim-language-list.component.mjs
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { EuiAppShellService, EuiEuLanguages, I18nService } from '@eui/core';
|
|
3
|
-
import { EuimLabelModule } from '../../atoms/euim-label';
|
|
4
|
-
import { EuimAppService } from '../../../services';
|
|
5
|
-
import { ModalController } from '@ionic/angular';
|
|
6
|
-
import { IonicModule } from '@ionic/angular';
|
|
7
|
-
import { EuimAvatarModule } from '../../euim-avatar';
|
|
8
|
-
import { EuimEmptyListPlaceholderModule } from '../../euim-empty-list-placeholder';
|
|
9
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@eui/core";
|
|
12
|
-
import * as i2 from "../../../services";
|
|
13
|
-
import * as i3 from "@ionic/angular";
|
|
14
|
-
import * as i4 from "../../euim-avatar/euim-avatar.component";
|
|
15
|
-
import * as i5 from "../../euim-avatar/euim-avatar-icon/euim-avatar-icon.component";
|
|
16
|
-
import * as i6 from "../../atoms/euim-label/euim-label.component";
|
|
17
|
-
import * as i7 from "../../euim-empty-list-placeholder/euim-empty-list-placeholder.component";
|
|
18
|
-
import * as i8 from "@ngx-translate/core";
|
|
19
|
-
export class EuimLanguageListComponent {
|
|
20
|
-
appShellService;
|
|
21
|
-
appService;
|
|
22
|
-
modalCtrl;
|
|
23
|
-
i18nService;
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
26
|
-
*/
|
|
27
|
-
name;
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated will be removed in eUI Mobile v19. Use nonEULanguageList[0] instead.
|
|
30
|
-
*/
|
|
31
|
-
firstElementFromNonEUList;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated will be removed in eUI Mobile v19. Use euLanguageList[0] instead.
|
|
34
|
-
*/
|
|
35
|
-
firstElementFromEUList;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated will be removed in eUI Mobile v19. Use isLastElementOfArray() function instead.
|
|
38
|
-
*/
|
|
39
|
-
lastElementFromEUList;
|
|
40
|
-
languages;
|
|
41
|
-
selectedLanguage;
|
|
42
|
-
euLanguageList;
|
|
43
|
-
nonEULanguageList;
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated
|
|
46
|
-
* will become private in eUI Mobile v19.
|
|
47
|
-
*/
|
|
48
|
-
languagesSortedByEUAndNonEU;
|
|
49
|
-
results;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
52
|
-
*/
|
|
53
|
-
isKeyboardShown;
|
|
54
|
-
hasSearchbar;
|
|
55
|
-
constructor(
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
58
|
-
*/
|
|
59
|
-
appShellService,
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
62
|
-
*/
|
|
63
|
-
appService, modalCtrl, i18nService) {
|
|
64
|
-
this.appShellService = appShellService;
|
|
65
|
-
this.appService = appService;
|
|
66
|
-
this.modalCtrl = modalCtrl;
|
|
67
|
-
this.i18nService = i18nService;
|
|
68
|
-
}
|
|
69
|
-
ngOnInit() {
|
|
70
|
-
this.setLanguages();
|
|
71
|
-
}
|
|
72
|
-
onLanguageSelected(language) {
|
|
73
|
-
this.i18nService.updateState({ activeLang: language.code });
|
|
74
|
-
this.modalCtrl.dismiss(null, 'cancel');
|
|
75
|
-
}
|
|
76
|
-
isLastElementOfArray(array, element) {
|
|
77
|
-
if (array.length === 0) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
return array[array.length - 1] === element;
|
|
81
|
-
}
|
|
82
|
-
setLanguages() {
|
|
83
|
-
this.euLanguageList =
|
|
84
|
-
EuiEuLanguages.getOrderedLanguages(EuiEuLanguages.filterEULanguages(this.languages));
|
|
85
|
-
this.nonEULanguageList =
|
|
86
|
-
[...EuiEuLanguages.getOrderedLanguages(EuiEuLanguages.filterNonEULanguages(this.languages))];
|
|
87
|
-
this.languagesSortedByEUAndNonEU = [...this.euLanguageList, ...this.nonEULanguageList];
|
|
88
|
-
this.results = [...this.languagesSortedByEUAndNonEU];
|
|
89
|
-
}
|
|
90
|
-
onClose() {
|
|
91
|
-
return this.modalCtrl.dismiss(null, 'cancel');
|
|
92
|
-
}
|
|
93
|
-
handleChange(event) {
|
|
94
|
-
const query = event.target.value.toLowerCase();
|
|
95
|
-
this.results = this.languagesSortedByEUAndNonEU.filter(d => {
|
|
96
|
-
return d.code.toLowerCase().indexOf(query) > -1 ||
|
|
97
|
-
d.label.toLowerCase().indexOf(query) > -1;
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageListComponent, deps: [{ token: i1.EuiAppShellService }, { token: i2.EuimAppService }, { token: i3.ModalController }, { token: i1.I18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: EuimLanguageListComponent, isStandalone: true, selector: "euim-language-list", ngImport: i0, template: "<ion-header>\n <ion-toolbar color=\"branding\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onClose()\">\n <ion-icon name=\"close\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </ion-buttons>\n <ion-title> {{'euim.language-list.SELECT-LANGUAGE' | translate }}</ion-title>\n </ion-toolbar>\n @if (hasSearchbar) {\n <ion-toolbar color=\"branding\" class=\"euim-language-selector__search\">\n <ion-searchbar (ionInput)=\"handleChange($event)\"></ion-searchbar>\n </ion-toolbar>\n }\n</ion-header>\n<ion-content>\n @if (results.length > 0) {\n <ion-list>\n @for (item of results; track item) {\n @if (firstElementFromEUList?.code === item.code || firstElementFromNonEUList?.code === item.code || euLanguageList[0]?.code === item.code\n || nonEULanguageList[0]?.code === item.code) {\n <ion-item-divider>\n {{ (firstElementFromEUList?.code === item.code || euLanguageList[0]?.code === item.code)\n ? ('euim.language-list.EU-LANGUAGES' | translate)\n : 'euim.language-list.NON-EU-LANGUAGES' | translate }}\n </ion-item-divider>\n }\n <ion-item button (click)=\"onLanguageSelected(item)\" [lines]=\"lastElementFromEUList === item || isLastElementOfArray(euLanguageList, item) || isLastElementOfArray(nonEULanguageList, item) ? 'none' : 'inset'\">\n <euim-avatar fill=\"solid\" slot=\"start\" variant=\"rounded\" class=\"euim-language-selector__avatar\">\n <euim-avatar-icon>\n <ion-icon name=\"language\" class=\"euim-language-selector__internal-icon\"></ion-icon>\n </euim-avatar-icon>\n </euim-avatar>\n <ion-label>\n <div euimLabel euimLabelTitle>{{item.label}}</div>\n <div euimLabel euimLabelMeta class=\"eui-u-text-uppercase\">\n {{item.code}}\n </div>\n </ion-label>\n @if (selectedLanguage?.code===item.code) {\n <ion-buttons>\n <ion-button fill=\"clear\" >\n <ion-icon name=\"checkmark\" slot=\"icon-only\" color=\"primary\"></ion-icon>\n </ion-button>\n </ion-buttons>\n }\n </ion-item>\n }\n </ion-list>\n }\n @if (results.length < 1) {\n <euim-empty-list-placeholder euimMarginTopLarge\n class=\"euim-language-selector__empty-placeholder\">\n </euim-empty-list-placeholder>\n }\n</ion-content>\n\n", dependencies: [{ kind: "ngmodule", type: EuimAvatarModule }, { kind: "component", type: i4.EuimAvatarComponent, selector: "euim-avatar", inputs: ["color", "size", "fill", "variant", "borderColor"] }, { kind: "component", type: i5.EuimAvatarIconComponent, selector: "euim-avatar-icon" }, { kind: "ngmodule", type: EuimLabelModule }, { kind: "component", type: i6.EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate", "euimLabelTextWrap"] }, { kind: "ngmodule", type: IonicModule }, { kind: "component", type: i3.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i3.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i3.IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i3.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i3.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i3.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i3.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i3.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocapitalize", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "component", type: i3.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i3.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i3.TextValueAccessor, selector: "ion-input:not([type=number]),ion-input-otp[type=text],ion-textarea,ion-searchbar" }, { kind: "ngmodule", type: EuimEmptyListPlaceholderModule }, { kind: "component", type: i7.EuimEmptyListPlaceholderComponent, selector: "euim-empty-list-placeholder", inputs: ["message", "icon", "description", "button", "euimMarginTopLarge", "euimMarginTopSmall", "euimMarginBottomSmall"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
102
|
-
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageListComponent, decorators: [{
|
|
104
|
-
type: Component,
|
|
105
|
-
args: [{ selector: 'euim-language-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [EuimAvatarModule, EuimLabelModule, IonicModule, EuimEmptyListPlaceholderModule, TranslateModule], template: "<ion-header>\n <ion-toolbar color=\"branding\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onClose()\">\n <ion-icon name=\"close\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </ion-buttons>\n <ion-title> {{'euim.language-list.SELECT-LANGUAGE' | translate }}</ion-title>\n </ion-toolbar>\n @if (hasSearchbar) {\n <ion-toolbar color=\"branding\" class=\"euim-language-selector__search\">\n <ion-searchbar (ionInput)=\"handleChange($event)\"></ion-searchbar>\n </ion-toolbar>\n }\n</ion-header>\n<ion-content>\n @if (results.length > 0) {\n <ion-list>\n @for (item of results; track item) {\n @if (firstElementFromEUList?.code === item.code || firstElementFromNonEUList?.code === item.code || euLanguageList[0]?.code === item.code\n || nonEULanguageList[0]?.code === item.code) {\n <ion-item-divider>\n {{ (firstElementFromEUList?.code === item.code || euLanguageList[0]?.code === item.code)\n ? ('euim.language-list.EU-LANGUAGES' | translate)\n : 'euim.language-list.NON-EU-LANGUAGES' | translate }}\n </ion-item-divider>\n }\n <ion-item button (click)=\"onLanguageSelected(item)\" [lines]=\"lastElementFromEUList === item || isLastElementOfArray(euLanguageList, item) || isLastElementOfArray(nonEULanguageList, item) ? 'none' : 'inset'\">\n <euim-avatar fill=\"solid\" slot=\"start\" variant=\"rounded\" class=\"euim-language-selector__avatar\">\n <euim-avatar-icon>\n <ion-icon name=\"language\" class=\"euim-language-selector__internal-icon\"></ion-icon>\n </euim-avatar-icon>\n </euim-avatar>\n <ion-label>\n <div euimLabel euimLabelTitle>{{item.label}}</div>\n <div euimLabel euimLabelMeta class=\"eui-u-text-uppercase\">\n {{item.code}}\n </div>\n </ion-label>\n @if (selectedLanguage?.code===item.code) {\n <ion-buttons>\n <ion-button fill=\"clear\" >\n <ion-icon name=\"checkmark\" slot=\"icon-only\" color=\"primary\"></ion-icon>\n </ion-button>\n </ion-buttons>\n }\n </ion-item>\n }\n </ion-list>\n }\n @if (results.length < 1) {\n <euim-empty-list-placeholder euimMarginTopLarge\n class=\"euim-language-selector__empty-placeholder\">\n </euim-empty-list-placeholder>\n }\n</ion-content>\n\n" }]
|
|
106
|
-
}], ctorParameters: () => [{ type: i1.EuiAppShellService }, { type: i2.EuimAppService }, { type: i3.ModalController }, { type: i1.I18nService }] });
|
|
107
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1sYW5ndWFnZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9sYXlvdXQvZXVpbS1sYW5ndWFnZS1zZWxlY3Rvci9ldWltLWxhbmd1YWdlLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dC9ldWltLWxhbmd1YWdlLXNlbGVjdG9yL2V1aW0tbGFuZ3VhZ2UtbGlzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxjQUFjLEVBQWUsV0FBVyxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM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IiA+XG4gICAgICAgICAgICAgICAgPGlvbi1pY29uIG5hbWU9XCJjaGVja21hcmtcIiBzbG90PVwiaWNvbi1vbmx5XCIgY29sb3I9XCJwcmltYXJ5XCI+PC9pb24taWNvbj5cbiAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxuICAgICAgICAgICAgPC9pb24tYnV0dG9ucz5cbiAgICAgICAgICB9XG4gICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICB9XG4gICAgPC9pb24tbGlzdD5cbiAgfVxuICBAaWYgKHJlc3VsdHMubGVuZ3RoIDwgMSkge1xuICAgIDxldWltLWVtcHR5LWxpc3QtcGxhY2Vob2xkZXIgZXVpbU1hcmdpblRvcExhcmdlXG4gICAgICBjbGFzcz1cImV1aW0tbGFuZ3VhZ2Utc2VsZWN0b3JfX2VtcHR5LXBsYWNlaG9sZGVyXCI+XG4gICAgPC9ldWltLWVtcHR5LWxpc3QtcGxhY2Vob2xkZXI+XG4gIH1cbjwvaW9uLWNvbnRlbnQ+XG5cbiJdfQ==
|
package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.component.mjs
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Input, booleanAttribute, ChangeDetectionStrategy, Inject, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { getI18nServiceConfig } from '@eui/base';
|
|
3
|
-
import { EuiAppShellService, EuiEuLanguages, I18nService, GLOBAL_CONFIG_TOKEN } from '@eui/core';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
|
-
import { Subject, startWith } from 'rxjs';
|
|
6
|
-
import { EuimAppService } from '../../../services';
|
|
7
|
-
import { ModalController } from '@ionic/angular';
|
|
8
|
-
import { EuimLanguageListComponent } from './euim-language-list.component';
|
|
9
|
-
import { BaseStatesDirective } from '../../base-states.directive';
|
|
10
|
-
import { IonicModule } from '@ionic/angular';
|
|
11
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "@eui/core";
|
|
14
|
-
import * as i2 from "../../../services";
|
|
15
|
-
import * as i3 from "@ionic/angular";
|
|
16
|
-
import * as i4 from "../../base-states.directive";
|
|
17
|
-
export class EuimLanguageSelectorComponent {
|
|
18
|
-
cd;
|
|
19
|
-
appShellService;
|
|
20
|
-
appService;
|
|
21
|
-
i18nService;
|
|
22
|
-
modalCtrl;
|
|
23
|
-
baseStatesDirective;
|
|
24
|
-
baseGlobalConfig;
|
|
25
|
-
hasSearchbar = true;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated will be removed in eUI Mobile v20. _euimBranding instead.
|
|
28
|
-
*/
|
|
29
|
-
_euimPrimary;
|
|
30
|
-
_euimBranding;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated
|
|
33
|
-
* will become private in eUI Mobile v19.
|
|
34
|
-
*/
|
|
35
|
-
languages;
|
|
36
|
-
config;
|
|
37
|
-
selectedLanguage;
|
|
38
|
-
destroy$ = new Subject();
|
|
39
|
-
constructor(cd,
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
42
|
-
*/
|
|
43
|
-
appShellService,
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated will be removed in eUI Mobile v19.
|
|
46
|
-
*/
|
|
47
|
-
appService, i18nService, modalCtrl, baseStatesDirective, baseGlobalConfig) {
|
|
48
|
-
this.cd = cd;
|
|
49
|
-
this.appShellService = appShellService;
|
|
50
|
-
this.appService = appService;
|
|
51
|
-
this.i18nService = i18nService;
|
|
52
|
-
this.modalCtrl = modalCtrl;
|
|
53
|
-
this.baseStatesDirective = baseStatesDirective;
|
|
54
|
-
this.baseGlobalConfig = baseGlobalConfig;
|
|
55
|
-
this.config = getI18nServiceConfig(this.baseGlobalConfig.i18n.i18nService);
|
|
56
|
-
this._euimPrimary = this.baseStatesDirective.color === 'primary';
|
|
57
|
-
this._euimBranding = this.baseStatesDirective.color === 'branding';
|
|
58
|
-
}
|
|
59
|
-
get cssClasses() {
|
|
60
|
-
return this.baseStatesDirective.getCssClasses('euim-language-selector');
|
|
61
|
-
}
|
|
62
|
-
ngOnInit() {
|
|
63
|
-
this.getAllLanguages();
|
|
64
|
-
this.i18nService.getState()
|
|
65
|
-
.pipe(startWith({ activeLang: this.config.defaultLanguage }), takeUntil(this.destroy$))
|
|
66
|
-
.subscribe((state) => {
|
|
67
|
-
this.selectedLanguage = {
|
|
68
|
-
code: state.activeLang,
|
|
69
|
-
label: this.getLanguageLabel(state.activeLang),
|
|
70
|
-
};
|
|
71
|
-
this.cd.detectChanges();
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
ngOnDestroy() {
|
|
75
|
-
this.destroy$.next(true);
|
|
76
|
-
this.destroy$.unsubscribe();
|
|
77
|
-
}
|
|
78
|
-
async onShowLanguageList() {
|
|
79
|
-
const modal = await this.modalCtrl.create({
|
|
80
|
-
component: EuimLanguageListComponent,
|
|
81
|
-
componentProps: {
|
|
82
|
-
selectedLanguage: this.selectedLanguage,
|
|
83
|
-
languages: this.languages,
|
|
84
|
-
hasSearchbar: this.hasSearchbar,
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
await modal.present();
|
|
88
|
-
}
|
|
89
|
-
getAllLanguages() {
|
|
90
|
-
this.languages = (this.config.languages.length > 1) ?
|
|
91
|
-
EuiEuLanguages.getOrderedLanguages(this.config.languages) :
|
|
92
|
-
EuiEuLanguages.getLanguages();
|
|
93
|
-
}
|
|
94
|
-
getLanguageLabel(languageCode) {
|
|
95
|
-
for (const language of this.languages) {
|
|
96
|
-
if (language.code === languageCode) {
|
|
97
|
-
return language.label;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.EuiAppShellService }, { token: i2.EuimAppService }, { token: i1.I18nService }, { token: i3.ModalController }, { token: i4.BaseStatesDirective }, { token: GLOBAL_CONFIG_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
103
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.13", type: EuimLanguageSelectorComponent, isStandalone: true, selector: "euim-language-selector", inputs: { hasSearchbar: ["hasSearchbar", "hasSearchbar", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ion-button (click)=\"onShowLanguageList()\" fill=\"clear\" shape=\"round\">\n <ion-icon class=\"euim-language-selector__icon {{_euimBranding || _euimPrimary ? 'euim-language-selector__icon--branding' : ''}}\"\n slot=\"icon-only\"\n src='data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\">\n <path\n d=\"M 21.00,0.00\n C 22.66,-0.00 24.00,1.34 24.00,3.00\n 24.00,3.00 24.00,17.00 24.00,17.00\n 24.00,18.66 22.66,20.00 21.00,20.00\n 21.00,20.00 3.00,20.00 3.00,20.00\n 1.34,20.00 0.00,18.66 0.00,17.00\n 0.00,17.00 0.00,3.00 0.00,3.00\n 0.00,1.34 1.34,0.00 3.00,0.00\n 3.00,0.00 21.00,0.00 21.00,0.00 Z\n M 9.66,12.34\n C 9.66,12.34 15.31,18.00 15.31,18.00\n 15.31,18.00 9.66,23.66 9.66,23.66\n 9.66,23.66 4.00,18.00 4.00,18.00\n 4.00,18.00 9.66,12.34 9.66,12.34 Z\" />\n </svg>'>\n </ion-icon>\n\n <span class=\"euim-language-selector__text {{_euimBranding || _euimPrimary ? 'euim-language-selector__text--branding' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector span.euim-language-selector__text{font:var(--eui-f-xs-bold-compact);margin-bottom:var(--eui-s-2xs);position:absolute;color:var(--eui-c-branding)}.euim-language-selector span.euim-language-selector__text--branding,.euim-language-selector__icon{color:var(--eui-c-branding-contrast)}.euim-language-selector__icon--branding{color:var(--eui-c-branding)}.euim-language-selector__internal-icon{color:var(--eui-c-neutral)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-s-m))}\n"], dependencies: [{ kind: "ngmodule", type: IonicModule }, { kind: "component", type: i3.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "ngmodule", type: TranslateModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
104
|
-
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorComponent, decorators: [{
|
|
106
|
-
type: Component,
|
|
107
|
-
args: [{ selector: 'euim-language-selector', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
108
|
-
{
|
|
109
|
-
directive: BaseStatesDirective,
|
|
110
|
-
inputs: [
|
|
111
|
-
'color',
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
], standalone: true, imports: [
|
|
115
|
-
IonicModule,
|
|
116
|
-
TranslateModule,
|
|
117
|
-
EuimLanguageListComponent,
|
|
118
|
-
], template: "<ion-button (click)=\"onShowLanguageList()\" fill=\"clear\" shape=\"round\">\n <ion-icon class=\"euim-language-selector__icon {{_euimBranding || _euimPrimary ? 'euim-language-selector__icon--branding' : ''}}\"\n slot=\"icon-only\"\n src='data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\">\n <path\n d=\"M 21.00,0.00\n C 22.66,-0.00 24.00,1.34 24.00,3.00\n 24.00,3.00 24.00,17.00 24.00,17.00\n 24.00,18.66 22.66,20.00 21.00,20.00\n 21.00,20.00 3.00,20.00 3.00,20.00\n 1.34,20.00 0.00,18.66 0.00,17.00\n 0.00,17.00 0.00,3.00 0.00,3.00\n 0.00,1.34 1.34,0.00 3.00,0.00\n 3.00,0.00 21.00,0.00 21.00,0.00 Z\n M 9.66,12.34\n C 9.66,12.34 15.31,18.00 15.31,18.00\n 15.31,18.00 9.66,23.66 9.66,23.66\n 9.66,23.66 4.00,18.00 4.00,18.00\n 4.00,18.00 9.66,12.34 9.66,12.34 Z\" />\n </svg>'>\n </ion-icon>\n\n <span class=\"euim-language-selector__text {{_euimBranding || _euimPrimary ? 'euim-language-selector__text--branding' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector span.euim-language-selector__text{font:var(--eui-f-xs-bold-compact);margin-bottom:var(--eui-s-2xs);position:absolute;color:var(--eui-c-branding)}.euim-language-selector span.euim-language-selector__text--branding,.euim-language-selector__icon{color:var(--eui-c-branding-contrast)}.euim-language-selector__icon--branding{color:var(--eui-c-branding)}.euim-language-selector__internal-icon{color:var(--eui-c-neutral)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-s-m))}\n"] }]
|
|
119
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.EuiAppShellService }, { type: i2.EuimAppService }, { type: i1.I18nService }, { type: i3.ModalController }, { type: i4.BaseStatesDirective }, { type: undefined, decorators: [{
|
|
120
|
-
type: Inject,
|
|
121
|
-
args: [GLOBAL_CONFIG_TOKEN]
|
|
122
|
-
}] }], propDecorators: { hasSearchbar: [{
|
|
123
|
-
type: Input,
|
|
124
|
-
args: [{ transform: booleanAttribute }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KT1cIm9uU2hvd0xhbmd1YWdlTGlzdCgpXCIgZmlsbD1cImNsZWFyXCIgc2hhcGU9XCJyb3VuZFwiPlxuICAgIDxpb24taWNvbiBjbGFzcz1cImV1aW0tbGFuZ3VhZ2Utc2VsZWN0b3JfX2ljb24ge3tfZXVpbUJyYW5kaW5nIHx8IF9ldWltUHJpbWFyeSA/ICdldWltLWxhbmd1YWdlLXNlbGVjdG9yX19pY29uLS1icmFuZGluZycgOiAnJ319XCJcbiAgICAgICAgICAgICAgc2xvdD1cImljb24tb25seVwiXG4gICAgICAgICAgICAgIHNyYz0nZGF0YTppbWFnZS9zdmcreG1sO3V0ZjgsPHN2ZyB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCJcbiAgICAgICAgICAgICAgdmlld0JveD1cIjAgMCAyNCAyNFwiPlxuICAgICAgICAgICAgICAgIDxwYXRoXG4gICAgICAgICAgICAgICAgICAgIGQ9XCJNIDIxLjAwLDAuMDBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDIDIyLjY2LC0wLjAwIDI0LjAwLDEuMzQgMjQuMDAsMy4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMjQuMDAsMy4wMCAyNC4wMCwxNy4wMCAyNC4wMCwxNy4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMjQuMDAsMTguNjYgMjIuNjYsMjAuMDAgMjEuMDAsMjAuMDBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDIxLjAwLDIwLjAwIDMuMDAsMjAuMDAgMy4wMCwyMC4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMS4zNCwyMC4wMCAwLjAwLDE4LjY2IDAuMDAsMTcuMDBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDAuMDAsMTcuMDAgMC4wMCwzLjAwIDAuMDAsMy4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMC4wMCwxLjM0IDEuMzQsMC4wMCAzLjAwLDAuMDBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDMuMDAsMC4wMCAyMS4wMCwwLjAwIDIxLjAwLDAuMDAgWlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE0gOS42NiwxMi4zNFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEMgOS42NiwxMi4zNCAxNS4zMSwxOC4wMCAxNS4zMSwxOC4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgMTUuMzEsMTguMDAgOS42NiwyMy42NiA5LjY2LDIzLjY2XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA5LjY2LDIzLjY2IDQuMDAsMTguMDAgNC4wMCwxOC4wMFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgNC4wMCwxOC4wMCA5LjY2LDEyLjM0IDkuNjYsMTIuMzQgWlwiIC8+XG4gICAgICAgICAgICAgICAgPC9zdmc+Jz5cbiAgICA8L2lvbi1pY29uPlxuXG4gICAgPHNwYW4gY2xhc3M9XCJldWltLWxhbmd1YWdlLXNlbGVjdG9yX190ZXh0IHt7X2V1aW1CcmFuZGluZyB8fCBfZXVpbVByaW1hcnkgPyAnZXVpbS1sYW5ndWFnZS1zZWxlY3Rvcl9fdGV4dC0tYnJhbmRpbmcnIDogJyd9fVwiPlxuICAgICAgICB7eyBzZWxlY3RlZExhbmd1YWdlPy5jb2RlPy50b1VwcGVyQ2FzZSgpIH19XG4gICAgPC9zcGFuPlxuPC9pb24tYnV0dG9uPlxuIl19
|
package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.module.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { EuimLanguageSelectorComponent } from './euim-language-selector.component';
|
|
3
|
-
import { EuimLanguageListComponent } from './euim-language-list.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use {@link EUIM_LANGUAGE_SELECTOR} instead.
|
|
7
|
-
*/
|
|
8
|
-
export class EuimLanguageSelectorModule {
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorModule, imports: [EuimLanguageSelectorComponent,
|
|
11
|
-
EuimLanguageListComponent], exports: [EuimLanguageSelectorComponent, EuimLanguageListComponent] });
|
|
12
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorModule, imports: [EuimLanguageSelectorComponent,
|
|
13
|
-
EuimLanguageListComponent] });
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimLanguageSelectorModule, decorators: [{
|
|
16
|
-
type: NgModule,
|
|
17
|
-
args: [{
|
|
18
|
-
imports: [
|
|
19
|
-
EuimLanguageSelectorComponent,
|
|
20
|
-
EuimLanguageListComponent,
|
|
21
|
-
],
|
|
22
|
-
exports: [EuimLanguageSelectorComponent, EuimLanguageListComponent],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1sYW5ndWFnZS1zZWxlY3Rvci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2V1aW0tbGFuZ3VhZ2Utc2VsZWN0b3IvZXVpbS1sYW5ndWFnZS1zZW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nRzOiBbXG4gICAgICAgIEV1aW1MYW5ndWFnZVNlbGVjdG9yQ29tcG9uZW50LFxuICAgICAgICBFdWltTGFuZ3VhZ2VMaXN0Q29tcG9uZW50LFxuICAgIF0sXG4gICAgZXhwb3J0czogW0V1aW1MYW5ndWFnZVNlbGVjdG9yQ29tcG9uZW50LCBFdWltTGFuZ3VhZ2VMaXN0Q29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgRXVpbUxhbmd1YWdlU2VsZWN0b3JNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EuimLanguageSelectorComponent } from './euim-language-selector.component';
|
|
2
|
-
import { EuimLanguageListComponent } from './euim-language-list.component';
|
|
3
|
-
export * from './euim-language-selector.module';
|
|
4
|
-
export * from './euim-language-selector.component';
|
|
5
|
-
export * from './euim-language-list.component';
|
|
6
|
-
export const EUIM_LANGUAGE_SELECTOR = [
|
|
7
|
-
EuimLanguageSelectorComponent,
|
|
8
|
-
EuimLanguageListComponent,
|
|
9
|
-
];
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2V1aW0tbGFuZ3VhZ2Utc2VsZWN0b3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDbkYsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFFM0UsY0FBYyxpQ0FBaUMsQ0FBQztBQUNoRCxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsZ0NBQWdDLENBQUM7QUFFL0MsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUc7SUFDbEMsNkJBQTZCO0lBQzdCLHlCQUF5QjtDQUNuQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRXVpbUxhbmd1YWdlU2VsZWN0b3JDb21wb25lbnQgfSBmcm9tICcuL2V1aW0tbGFuZ3VhZ2Utc2VsZWN0b3IuY29tcG9uZW50JztcbmltcG9ydCB7IEV1aW1MYW5ndWFnZUxpc3RDb21wb25lbnQgfSBmcm9tICcuL2V1aW0tbGFuZ3VhZ2UtbGlzdC5jb21wb25lbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2V1aW0tbGFuZ3VhZ2Utc2VsZWN0b3IubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vZXVpbS1sYW5ndWFnZS1zZWxlY3Rvci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9ldWltLWxhbmd1YWdlLWxpc3QuY29tcG9uZW50JztcblxuZXhwb3J0IGNvbnN0IEVVSU1fTEFOR1VBR0VfU0VMRUNUT1IgPSBbXG4gICAgRXVpbUxhbmd1YWdlU2VsZWN0b3JDb21wb25lbnQsXG4gICAgRXVpbUxhbmd1YWdlTGlzdENvbXBvbmVudCxcbl0gYXMgY29uc3Q7XG4iXX0=
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ViewChild, Output, EventEmitter, Component, HostBinding, Input, booleanAttribute } from '@angular/core';
|
|
2
|
-
import { I18nService, EuiAppShellService } from '@eui/core';
|
|
3
|
-
import { NavController, MenuController } from '@ionic/angular';
|
|
4
|
-
// import { IonList, IonSearchbar, IonMenuToggle } from '@ionic/angular/standalone';
|
|
5
|
-
import { IonicModule, IonSearchbar } from '@ionic/angular';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@eui/core";
|
|
9
|
-
import * as i2 from "@ionic/angular";
|
|
10
|
-
import * as i3 from "@angular/common";
|
|
11
|
-
export class EuimSidebarContentComponent {
|
|
12
|
-
i18nService;
|
|
13
|
-
asService;
|
|
14
|
-
menuCtrl;
|
|
15
|
-
navCtrl;
|
|
16
|
-
className = 'euim-sidebar-content';
|
|
17
|
-
sidebarItems = [];
|
|
18
|
-
ionMenuId = 'main';
|
|
19
|
-
hasSearchbar = false;
|
|
20
|
-
isSearchbarSticky = false;
|
|
21
|
-
sidebarItemsFilter = new EventEmitter();
|
|
22
|
-
searchbar;
|
|
23
|
-
filteredItems = [];
|
|
24
|
-
query = '';
|
|
25
|
-
constructor(i18nService, asService, menuCtrl, navCtrl) {
|
|
26
|
-
this.i18nService = i18nService;
|
|
27
|
-
this.asService = asService;
|
|
28
|
-
this.menuCtrl = menuCtrl;
|
|
29
|
-
this.navCtrl = navCtrl;
|
|
30
|
-
i18nService.init().subscribe();
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
this.sortSidebarItems();
|
|
34
|
-
if (this.hasSearchbar) {
|
|
35
|
-
this.filteredItems = [...this.sidebarItems];
|
|
36
|
-
this.sidebarItemsFilter.emit(this.filteredItems);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
handleInput(event) {
|
|
40
|
-
this.query = event.detail.value.toLowerCase();
|
|
41
|
-
this.filteredItems = this.filterMenuItems(this.sidebarItems, this.query);
|
|
42
|
-
this.sidebarItemsFilter.emit(this.filteredItems);
|
|
43
|
-
if (this.query === '') {
|
|
44
|
-
this.sidebarItemsFilter.emit(this.sidebarItems);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
closeMenu() {
|
|
48
|
-
if (!this.hasSearchbar)
|
|
49
|
-
return;
|
|
50
|
-
this.menuCtrl.close().then(() => {
|
|
51
|
-
this.sidebarItemsFilter.emit(this.sidebarItems);
|
|
52
|
-
this.query = '';
|
|
53
|
-
this.searchbar.value = '';
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
sortSidebarItems() {
|
|
57
|
-
this.sidebarItems.sort((a, b) => {
|
|
58
|
-
if (a.group === b.group) {
|
|
59
|
-
return a.label.localeCompare(b.label);
|
|
60
|
-
}
|
|
61
|
-
return a.group - b.group;
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
filterMenuItems(items, searchPhrase) {
|
|
65
|
-
return items.filter(component => {
|
|
66
|
-
const labelMatch = component.label?.toLowerCase().includes(searchPhrase);
|
|
67
|
-
const typeMatch = component.type?.toLowerCase().includes(searchPhrase);
|
|
68
|
-
return labelMatch || typeMatch;
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimSidebarContentComponent, deps: [{ token: i1.I18nService }, { token: i1.EuiAppShellService }, { token: i2.MenuController }, { token: i2.NavController }], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: EuimSidebarContentComponent, isStandalone: true, selector: "euim-sidebar-content", inputs: { sidebarItems: "sidebarItems", ionMenuId: "ionMenuId", hasSearchbar: ["hasSearchbar", "hasSearchbar", booleanAttribute], isSearchbarSticky: ["isSearchbarSticky", "isSearchbarSticky", booleanAttribute] }, outputs: { sidebarItemsFilter: "sidebarItemsFilter" }, host: { properties: { "className": "this.className" } }, viewQueries: [{ propertyName: "searchbar", first: true, predicate: IonSearchbar, descendants: true }], ngImport: i0, template: "<ion-list class=\"euim-sidebar-content__list\">\n @if (hasSearchbar) {\n <div class=\"euim-sidebar-content__searchbar\" [ngClass]=\"{ 'euim-sidebar-content__searchbar--sticky': isSearchbarSticky }\">\n <ion-searchbar (ionInput)=\"handleInput($event)\"></ion-searchbar>\n </div>\n }\n <ion-menu-toggle auto-hide=\"true\" (click)=\"closeMenu()\" menu=\"{{ionMenuId}}\">\n <ng-content></ng-content>\n </ion-menu-toggle>\n</ion-list>\n\n", dependencies: [{ kind: "ngmodule", type: IonicModule }, { kind: "component", type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i2.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i2.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocapitalize", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "maxlength", "minlength", "mode", "name", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-input-otp[type=text],ion-textarea,ion-searchbar" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
73
|
-
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimSidebarContentComponent, decorators: [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ selector: 'euim-sidebar-content', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [IonicModule, CommonModule], template: "<ion-list class=\"euim-sidebar-content__list\">\n @if (hasSearchbar) {\n <div class=\"euim-sidebar-content__searchbar\" [ngClass]=\"{ 'euim-sidebar-content__searchbar--sticky': isSearchbarSticky }\">\n <ion-searchbar (ionInput)=\"handleInput($event)\"></ion-searchbar>\n </div>\n }\n <ion-menu-toggle auto-hide=\"true\" (click)=\"closeMenu()\" menu=\"{{ionMenuId}}\">\n <ng-content></ng-content>\n </ion-menu-toggle>\n</ion-list>\n\n" }]
|
|
77
|
-
}], ctorParameters: () => [{ type: i1.I18nService }, { type: i1.EuiAppShellService }, { type: i2.MenuController }, { type: i2.NavController }], propDecorators: { className: [{
|
|
78
|
-
type: HostBinding
|
|
79
|
-
}], sidebarItems: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], ionMenuId: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], hasSearchbar: [{
|
|
84
|
-
type: Input,
|
|
85
|
-
args: [{ transform: booleanAttribute }]
|
|
86
|
-
}], isSearchbarSticky: [{
|
|
87
|
-
type: Input,
|
|
88
|
-
args: [{ transform: booleanAttribute }]
|
|
89
|
-
}], sidebarItemsFilter: [{
|
|
90
|
-
type: Output
|
|
91
|
-
}], searchbar: [{
|
|
92
|
-
type: ViewChild,
|
|
93
|
-
args: [IonSearchbar, { static: false }]
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1zaWRlYmFyLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dC9ldWltLXNpZGViYXIvZXVpbS1zaWRlYmFyLWNvbnRlbnQvZXVpbS1zaWRlYmFyLWNvbnRlbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2xheW91dC9ldWltLXNpZGViYXIvZXVpbS1zaWRlYmFyLWNvbnRlbnQvZXVpbS1zaWRlYmFyLWNvbnRlbnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFVLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xKLE9BQU8sRUFBRSxXQUFXLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDNUQsT0FBTyxFQUFFLGFBQWEs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LW1lbnUtdG9nZ2xlIGF1dG8taGlkZT1cInRydWVcIiAoY2xpY2spPVwiY2xvc2VNZW51KClcIiBtZW51PVwie3tpb25NZW51SWR9fVwiPlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9pb24tbWVudS10b2dnbGU+XG48L2lvbi1saXN0PlxuXG4iXX0=
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ContentChild, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { Router, NavigationEnd } from '@angular/router';
|
|
3
|
-
import { MenuController } from '@ionic/angular';
|
|
4
|
-
import { EuimSidebarContentComponent } from './euim-sidebar-content/euim-sidebar-content.component';
|
|
5
|
-
import { RouterModule } from '@angular/router';
|
|
6
|
-
import { IonicModule } from '@ionic/angular';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/router";
|
|
9
|
-
import * as i2 from "@ionic/angular";
|
|
10
|
-
export class EuimSidebarComponent {
|
|
11
|
-
router;
|
|
12
|
-
menuCtrl;
|
|
13
|
-
sidebarContent;
|
|
14
|
-
className = 'euim-sidebar';
|
|
15
|
-
ionMenuId = 'main';
|
|
16
|
-
routerPath = 'home';
|
|
17
|
-
constructor(router, menuCtrl) {
|
|
18
|
-
this.router = router;
|
|
19
|
-
this.menuCtrl = menuCtrl;
|
|
20
|
-
}
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.router.events.subscribe(event => {
|
|
23
|
-
const path = `/${this.routerPath}`;
|
|
24
|
-
if (event instanceof NavigationEnd) {
|
|
25
|
-
if (this.router.url === path) {
|
|
26
|
-
this.menuCtrl.close(this.ionMenuId);
|
|
27
|
-
setTimeout(() => {
|
|
28
|
-
this.menuCtrl.swipeGesture(true, this.ionMenuId);
|
|
29
|
-
}, 1000);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.menuCtrl.close(this.ionMenuId);
|
|
33
|
-
setTimeout(() => {
|
|
34
|
-
this.menuCtrl.swipeGesture(false, this.ionMenuId);
|
|
35
|
-
}, 1000);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
ngAfterContentInit() {
|
|
41
|
-
if (this.sidebarContent && this.ionMenuId) {
|
|
42
|
-
this.sidebarContent.ionMenuId = this.ionMenuId;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimSidebarComponent, deps: [{ token: i1.Router }, { token: i2.MenuController }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: EuimSidebarComponent, isStandalone: true, selector: "euim-sidebar", inputs: { ionMenuId: "ionMenuId", routerPath: "routerPath" }, host: { properties: { "className": "this.className" } }, queries: [{ propertyName: "sidebarContent", first: true, predicate: EuimSidebarContentComponent, descendants: true }], ngImport: i0, template: "<ion-menu contentId=\"{{ionMenuId}}\" menuId=\"{{ionMenuId}}\" slot=\"start\">\n <ng-content></ng-content>\n <ion-content>\n <ng-content select=\"euim-sidebar-content\"></ng-content>\n </ion-content>\n</ion-menu>\n", styles: [".euim-sidebar-footer--no-borders.footer-md{box-shadow:none}.euim-sidebar ion-header.header-md{box-shadow:none}.euim-sidebar ion-footer ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content{height:100%}.euim-sidebar-content__list{height:auto;padding:0;position:relative}.euim-sidebar-content__searchbar--sticky{position:sticky;top:0;z-index:var(--eui-zi-sticky)}.euim-sidebar-content ion-item euim-avatar:first-child{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content ion-item .euim-avatar--color-success{background-color:var(--eui-c-success-dark)}.euim-sidebar-content ion-item .euim-avatar--color-danger{background-color:var(--eui-c-danger-dark)}.euim-sidebar-content ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content ion-note[slot=end]{padding:var(--eui-s-m) 0 var(--eui-s-m)}.euim-sidebar-content ion-item::part(detail-icon){width:var(--eui-s-m);height:var(--eui-s-m);opacity:1;color:var(--eui-c-neutral-lighter);margin-left:var(--eui-s-xs)}\n"], dependencies: [{ kind: "ngmodule", type: IonicModule }, { kind: "component", type: i2.IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i2.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "ngmodule", type: RouterModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimSidebarComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{ selector: 'euim-sidebar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
|
51
|
-
IonicModule,
|
|
52
|
-
RouterModule,
|
|
53
|
-
EuimSidebarContentComponent,
|
|
54
|
-
], template: "<ion-menu contentId=\"{{ionMenuId}}\" menuId=\"{{ionMenuId}}\" slot=\"start\">\n <ng-content></ng-content>\n <ion-content>\n <ng-content select=\"euim-sidebar-content\"></ng-content>\n </ion-content>\n</ion-menu>\n", styles: [".euim-sidebar-footer--no-borders.footer-md{box-shadow:none}.euim-sidebar ion-header.header-md{box-shadow:none}.euim-sidebar ion-footer ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content{height:100%}.euim-sidebar-content__list{height:auto;padding:0;position:relative}.euim-sidebar-content__searchbar--sticky{position:sticky;top:0;z-index:var(--eui-zi-sticky)}.euim-sidebar-content ion-item euim-avatar:first-child{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content ion-item .euim-avatar--color-success{background-color:var(--eui-c-success-dark)}.euim-sidebar-content ion-item .euim-avatar--color-danger{background-color:var(--eui-c-danger-dark)}.euim-sidebar-content ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-sidebar-content ion-note[slot=end]{padding:var(--eui-s-m) 0 var(--eui-s-m)}.euim-sidebar-content ion-item::part(detail-icon){width:var(--eui-s-m);height:var(--eui-s-m);opacity:1;color:var(--eui-c-neutral-lighter);margin-left:var(--eui-s-xs)}\n"] }]
|
|
55
|
-
}], ctorParameters: () => [{ type: i1.Router }, { type: i2.MenuController }], propDecorators: { sidebarContent: [{
|
|
56
|
-
type: ContentChild,
|
|
57
|
-
args: [EuimSidebarContentComponent]
|
|
58
|
-
}], className: [{
|
|
59
|
-
type: HostBinding
|
|
60
|
-
}], ionMenuId: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], routerPath: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}] } });
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1zaWRlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9sYXlvdXQvZXVpbS1zaWRlYmFyL2V1aW0tc2lkZWJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvbGF5b3V0L2V1aW0tc2lkZWJhci9ldWltLXNpZGViYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFlBQVksRUFBb0IsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQVUsTUFBTSxlQ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TW9kdWxlLFxuICAgICAgICBFdWltU2lkZWJhckNvbnRlbnRDb21wb25lbnQsXG4gICAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRXVpbVNpZGViYXJDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQsIEFmdGVyQ29udGVudEluaXQge1xuICAgIEBDb250ZW50Q2hpbGQoRXVpbVNpZGViYXJDb250ZW50Q29tcG9uZW50KSBzaWRlYmFyQ29udGVudDogRXVpbVNpZGViYXJDb250ZW50Q29tcG9uZW50O1xuICAgIEBIb3N0QmluZGluZygpIGNsYXNzTmFtZSA9ICdldWltLXNpZGViYXInO1xuXG4gICAgQElucHV0KCkgaW9uTWVudUlkID0gJ21haW4nO1xuICAgIEBJbnB1dCgpIHJvdXRlclBhdGggPSAnaG9tZSc7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJvdXRlcjogUm91dGVyLCBwdWJsaWMgbWVudUN0cmw6IE1lbnVDb250cm9sbGVyKSB7fVxuXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgICAgIHRoaXMucm91dGVyLmV2ZW50cy5zdWJzY3JpYmUoZXZlbnQgPT4ge1xuICAgICAgICAgICAgY29uc3QgcGF0aCA9IGAvJHt0aGlzLnJvdXRlclBhdGh9YFxuICAgICAgICAgICAgaWYgKGV2ZW50IGluc3RhbmNlb2YgTmF2aWdhdGlvbkVuZCkge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLnJvdXRlci51cmwgPT09IHBhdGgpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5tZW51Q3RybC5jbG9zZSh0aGlzLmlvbk1lbnVJZCk7XG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5tZW51Q3RybC5zd2lwZUdlc3R1cmUodHJ1ZSwgdGhpcy5pb25NZW51SWQpO1xuICAgICAgICAgICAgICAgICAgICB9LCAxMDAwKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLm1lbnVDdHJsLmNsb3NlKHRoaXMuaW9uTWVudUlkKTtcbiAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm1lbnVDdHJsLnN3aXBlR2VzdHVyZShmYWxzZSwgdGhpcy5pb25NZW51SWQpO1xuICAgICAgICAgICAgICAgICAgICB9LCAxMDAwKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIG5nQWZ0ZXJDb250ZW50SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuc2lkZWJhckNvbnRlbnQgJiYgdGhpcy5pb25NZW51SWQpIHtcbiAgICAgICAgICAgIHRoaXMuc2lkZWJhckNvbnRlbnQuaW9uTWVudUlkID0gdGhpcy5pb25NZW51SWQ7XG4gICAgICAgIH1cbiAgICB9XG59XG4iLCI8aW9uLW1lbnUgY29udGVudElkPVwie3tpb25NZW51SWR9fVwiIG1lbnVJZD1cInt7aW9uTWVudUlkfX1cIiBzbG90PVwic3RhcnRcIj5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPGlvbi1jb250ZW50PlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJldWltLXNpZGViYXItY29udGVudFwiPjwvbmctY29udGVudD5cbiAgICA8L2lvbi1jb250ZW50PlxuPC9pb24tbWVudT5cbiJdfQ==
|