@eui/mobile-core 17.0.0-next.1 → 17.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/docs/components/EuiMUserProfileActionComponent.html +2 -2
- package/docs/components/EuiMUserProfileAvatarComponent.html +2 -2
- package/docs/components/EuiMUserProfileInfosComponent.html +2 -2
- package/docs/components/EuiMUserProfileInfosItemComponent.html +2 -2
- package/docs/components/EuimAboutComponent.html +766 -0
- package/docs/components/EuimAlertMessageComponent.html +7 -7
- package/docs/components/EuimAppComponent.html +2 -2
- package/docs/components/EuimAvatarComponent.html +2 -2
- package/docs/components/EuimAvatarIconComponent.html +2 -2
- package/docs/components/EuimBadgeComponent.html +3 -3
- package/docs/components/{EuimAppSidebarComponent.html → EuimChangelogComponent.html} +18 -33
- package/docs/components/EuimChipSelectorComponent.html +274 -22
- package/docs/components/EuimContactSupportComponent.html +276 -0
- package/docs/components/EuimDataSummaryColComponent.html +2 -2
- package/docs/components/EuimDataSummaryComponent.html +3 -3
- package/docs/components/EuimEmptyListPlaceholderComponent.html +6 -6
- package/docs/components/EuimHeaderDetailsComponent.html +3 -3
- package/docs/components/EuimLabelComponent.html +7 -7
- package/docs/components/EuimLanguageListComponent.html +3 -3
- package/docs/components/EuimLanguageSelectorComponent.html +4 -4
- package/docs/components/EuimLegalNoticeComponent.html +276 -0
- package/docs/components/EuimMediaHeaderComponent.html +4 -4
- package/docs/components/EuimMessageComponent.html +3 -3
- package/docs/components/EuimMessageTitleComponent.html +2 -2
- package/docs/components/EuimMultiselectComponent.html +4 -4
- package/docs/components/EuimMultiselectFilterComponent.html +36 -2
- package/docs/components/EuimMultiselectInfoComponent.html +2 -2
- package/docs/components/EuimMultiselectListComponent.html +2 -2
- package/docs/components/EuimMultiselectToolbarComponent.html +4 -4
- package/docs/components/EuimNotificationItemComponent.html +3 -3
- package/docs/components/EuimOpenSourceLicencesComponent.html +276 -0
- package/docs/components/EuimPdfWrapperComponent.html +828 -0
- package/docs/components/{EuimAppSidebarHeaderComponent.html → EuimPrivacyStatementComponent.html} +8 -8
- package/docs/components/EuimScrollerXComponent.html +2 -2
- package/docs/components/EuimSidebarComponent.html +2 -2
- package/docs/components/EuimSidebarContentComponent.html +2 -2
- package/docs/components/EuimSkeletonListComponent.html +3 -3
- package/docs/components/EuimSkeletonListItemComponent.html +8 -8
- package/docs/components/EuimSlideInfoScreenComponent.html +2 -2
- package/docs/components/EuimSliderInfoScreenComponent.html +8 -30
- package/docs/components/EuimSpinnerComponent.html +2 -2
- package/docs/components/EuimSpinnerDescriptionComponent.html +2 -2
- package/docs/components/EuimSpinnerMessageComponent.html +2 -2
- package/docs/components/EuimToolbarActionItemsComponent.html +2 -2
- package/docs/components/EuimToolbarComponent.html +5 -5
- package/docs/components/EuimToolbarTitleComponent.html +2 -2
- package/docs/components/EuimUserProfileComponent.html +2 -2
- package/docs/dependencies.html +14 -2
- package/docs/directives/BaseStatesDirective.html +17 -491
- package/docs/directives/EuimChipSelectorItemDirective.html +24 -1
- package/docs/directives/EuimDataSummaryColLabelDirective.html +1 -1
- package/docs/index.html +4 -12
- package/docs/js/menu-wc.js +244 -232
- package/docs/js/menu-wc_es5.js +4 -5
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/typealiases.html +0 -21
- package/docs/miscellaneous/variables.html +31 -113
- package/docs/modules/{EuimAppSidebarModule.html → EuimAboutModule.html} +42 -6
- package/docs/modules/EuimAlertMessageModule.html +32 -2
- package/docs/modules/EuimAllModule.html +6 -54
- package/docs/modules/EuimAppModule.html +0 -3
- package/docs/modules/EuimAvatarModule.html +32 -2
- package/docs/modules/EuimDataSummaryModule.html +32 -2
- package/docs/modules/EuimHeaderDetailsModule.html +32 -2
- package/docs/modules/EuimLanguageSelectorModule.html +0 -3
- package/docs/modules/EuimMediaHeaderModule.html +32 -2
- package/docs/modules/EuimMessageModule.html +32 -2
- package/docs/modules/EuimMultiselectModule.html +32 -2
- package/docs/modules/{EuimMenuModule.html → EuimPdfWrapperModule.html} +29 -15
- package/docs/modules/EuimSkeletonListItemModule.html +32 -2
- package/docs/modules/EuimSkeletonListModule.html +32 -2
- package/docs/modules/EuimSliderInfoScreenModule.html +32 -2
- package/docs/modules/EuimUserProfileModule.html +32 -2
- package/docs/modules.html +16 -100
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +12 -31
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs +2 -9
- package/esm2022/lib/components/base-states.directive.mjs +40 -266
- package/esm2022/lib/components/euim-about/euim-about.component.mjs +75 -0
- package/esm2022/lib/components/euim-about/euim-about.module.mjs +71 -0
- package/esm2022/lib/components/euim-about/euim-changelog/euim-changelog.component.mjs +20 -0
- package/esm2022/lib/components/euim-about/euim-contact-support/euim-contact-support.component.mjs +11 -0
- package/esm2022/lib/components/euim-about/euim-legal-notice/euim-legal-notice.component.mjs +11 -0
- package/esm2022/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.mjs +11 -0
- package/esm2022/lib/components/euim-about/euim-privacy-statement/euim-privacy-statement.component.mjs +11 -0
- package/esm2022/lib/components/euim-about/index.mjs +8 -0
- package/esm2022/lib/components/euim-alert-message/euim-alert-messsage.component.mjs +14 -53
- package/esm2022/lib/components/euim-avatar/euim-avatar.component.mjs +2 -2
- package/esm2022/lib/components/euim-badge/euim-badge.component.mjs +6 -8
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.mjs +6 -9
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.component.mjs +111 -55
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.mjs +3 -3
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.component.mjs +5 -6
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.mjs +12 -21
- package/esm2022/lib/components/euim-media-header/euim-media-header.component.mjs +6 -11
- package/esm2022/lib/components/euim-message/euim-message.component.mjs +10 -16
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.mjs +1 -7
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.mjs +21 -1
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.mjs +10 -15
- package/esm2022/lib/components/euim-multiselect/euim-multiselect.component.mjs +7 -12
- package/esm2022/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.component.mjs +86 -0
- package/esm2022/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.module.mjs +43 -0
- package/esm2022/lib/components/euim-pdf-wrapper/index.mjs +3 -0
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.component.mjs +3 -3
- package/esm2022/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.mjs +15 -28
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.mjs +16 -34
- package/esm2022/lib/components/euim-spinner/euim-spinner.component.mjs +2 -2
- package/esm2022/lib/components/index.mjs +3 -9
- package/esm2022/lib/components/layout/euim-app/euim-app.module.mjs +1 -5
- package/esm2022/lib/components/layout/euim-app/index.mjs +1 -2
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.component.mjs +2 -3
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-list.component.mjs +6 -7
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.component.mjs +3 -4
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.module.mjs +1 -5
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.mjs +1 -1
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.component.mjs +9 -17
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.mjs +1 -1
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.mjs +1 -1
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.component.mjs +1 -1
- package/esm2022/lib/euim-all.module.mjs +6 -38
- package/fesm2022/eui-mobile-core.mjs +731 -1557
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/lib/components/atoms/euim-label/euim-label.component.d.ts +9 -6
- package/lib/components/atoms/euim-label/euim-label.component.d.ts.map +1 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts +1 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts.map +1 -1
- package/lib/components/base-states.directive.d.ts +35 -92
- package/lib/components/base-states.directive.d.ts.map +1 -1
- package/lib/components/euim-about/euim-about.component.d.ts +30 -0
- package/lib/components/euim-about/euim-about.component.d.ts.map +1 -0
- package/lib/components/euim-about/euim-about.module.d.ts +20 -0
- package/lib/components/euim-about/euim-about.module.d.ts.map +1 -0
- package/lib/components/euim-about/euim-changelog/euim-changelog.component.d.ts +7 -0
- package/lib/components/euim-about/euim-changelog/euim-changelog.component.d.ts.map +1 -0
- package/lib/components/euim-about/euim-contact-support/euim-contact-support.component.d.ts +6 -0
- package/lib/components/euim-about/euim-contact-support/euim-contact-support.component.d.ts.map +1 -0
- package/lib/components/euim-about/euim-legal-notice/euim-legal-notice.component.d.ts +6 -0
- package/lib/components/euim-about/euim-legal-notice/euim-legal-notice.component.d.ts.map +1 -0
- package/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.d.ts +6 -0
- package/lib/components/euim-about/euim-opensource-licences/euim-opensource-licences.component.d.ts.map +1 -0
- package/lib/components/euim-about/euim-privacy-statement/euim-privacy-statement.component.d.ts +6 -0
- package/lib/components/euim-about/euim-privacy-statement/euim-privacy-statement.component.d.ts.map +1 -0
- package/lib/components/euim-about/index.d.ts +8 -0
- package/lib/components/euim-about/index.d.ts.map +1 -0
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts +7 -5
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts.map +1 -1
- package/lib/components/euim-badge/euim-badge.component.d.ts +1 -1
- package/lib/components/euim-badge/euim-badge.component.d.ts.map +1 -1
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts +3 -2
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts.map +1 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts +22 -10
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts.map +1 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.d.ts +1 -1
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts +1 -1
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts.map +1 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts +6 -4
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts.map +1 -1
- package/lib/components/euim-media-header/euim-media-header.component.d.ts +2 -2
- package/lib/components/euim-media-header/euim-media-header.component.d.ts.map +1 -1
- package/lib/components/euim-message/euim-message.component.d.ts +1 -1
- package/lib/components/euim-message/euim-message.component.d.ts.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.d.ts.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts +1 -0
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.d.ts +2 -2
- package/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.d.ts.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect.component.d.ts +2 -2
- package/lib/components/euim-multiselect/euim-multiselect.component.d.ts.map +1 -1
- package/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.component.d.ts +25 -0
- package/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.component.d.ts.map +1 -0
- package/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.module.d.ts +13 -0
- package/lib/components/euim-pdf-wrapper/euim-pdf-wrapper.module.d.ts.map +1 -0
- package/lib/components/euim-pdf-wrapper/index.d.ts +3 -0
- package/lib/components/euim-pdf-wrapper/index.d.ts.map +1 -0
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.d.ts +10 -6
- package/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.d.ts.map +1 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts +10 -5
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts.map +1 -1
- package/lib/components/index.d.ts +2 -8
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/layout/euim-app/euim-app.module.d.ts +2 -3
- package/lib/components/layout/euim-app/euim-app.module.d.ts.map +1 -1
- package/lib/components/layout/euim-app/index.d.ts +0 -1
- package/lib/components/layout/euim-app/index.d.ts.map +1 -1
- package/lib/components/layout/euim-header-details/euim-header-details.component.d.ts +1 -1
- package/lib/components/layout/euim-header-details/euim-header-details.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts +2 -2
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.module.d.ts +3 -4
- package/lib/components/layout/euim-language-selector/euim-language-selector.module.d.ts.map +1 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.d.ts.map +1 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts +6 -4
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.component.d.ts.map +1 -1
- package/lib/euim-all.module.d.ts +26 -34
- package/lib/euim-all.module.d.ts.map +1 -1
- package/package.json +4 -1
- package/docs/classes/EuimStepperChangeEvent.html +0 -311
- package/docs/components/EuimAppSidebarFooterComponent.html +0 -392
- package/docs/components/EuimAppSidebarMenuComponent.html +0 -433
- package/docs/components/EuimControlFeedbackComponent.html +0 -510
- package/docs/components/EuimFieldSetComponent.html +0 -392
- package/docs/components/EuimFieldsetActionsComponent.html +0 -388
- package/docs/components/EuimFieldsetLegendComponent.html +0 -388
- package/docs/components/EuimInfoScreenComponent.html +0 -392
- package/docs/components/EuimMenuComponent.html +0 -642
- package/docs/components/EuimSlideComponent.html +0 -382
- package/docs/components/EuimSliderComponent.html +0 -1469
- package/docs/components/EuimStepperComponent.html +0 -529
- package/docs/directives/EuimInfoScreenContentDirective.html +0 -342
- package/docs/directives/EuimInfoScreenSubTitleDirective.html +0 -342
- package/docs/directives/EuimInfoScreenTitleDirective.html +0 -342
- package/docs/directives/EuimItemDividerDirective.html +0 -342
- package/docs/directives/EuimListHeaderDirective.html +0 -342
- package/docs/interfaces/ActionBtnNames.html +0 -344
- package/docs/interfaces/Badge.html +0 -317
- package/docs/interfaces/EuimMenuItem.html +0 -857
- package/docs/interfaces/EuimMenuSection.html +0 -362
- package/docs/interfaces/Notification.html +0 -317
- package/docs/modules/EuimControlFeedbackModule.html +0 -228
- package/docs/modules/EuimFieldsetModule.html +0 -228
- package/docs/modules/EuimInfoScreenModule.html +0 -228
- package/docs/modules/EuimItemDividerModule.html +0 -228
- package/docs/modules/EuimListHeaderModule.html +0 -228
- package/docs/modules/EuimSliderModule.html +0 -228
- package/docs/modules/EuimStepperComponentModule.html +0 -228
- package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.mjs +0 -39
- package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.module.mjs +0 -28
- package/esm2022/lib/components/atoms/euim-control-feedback/index.mjs +0 -3
- package/esm2022/lib/components/directives/euim-item-divider/euim-item-divider.directive.mjs +0 -22
- package/esm2022/lib/components/directives/euim-item-divider/euim-item-divider.module.mjs +0 -28
- package/esm2022/lib/components/directives/euim-item-divider/index.mjs +0 -3
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.directive.mjs +0 -22
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.module.mjs +0 -28
- package/esm2022/lib/components/directives/euim-list-header/index.mjs +0 -3
- package/esm2022/lib/components/directives/index.mjs +0 -5
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.mjs +0 -17
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.mjs +0 -17
- package/esm2022/lib/components/euim-fieldset/euim-fieldset.component.mjs +0 -17
- package/esm2022/lib/components/euim-fieldset/euim-fieldset.module.mjs +0 -39
- package/esm2022/lib/components/euim-fieldset/index.mjs +0 -5
- package/esm2022/lib/components/euim-menu/euim-menu.component.mjs +0 -48
- package/esm2022/lib/components/euim-menu/euim-menu.module.mjs +0 -44
- package/esm2022/lib/components/euim-menu/index.mjs +0 -4
- package/esm2022/lib/components/euim-menu/models/eui-menu-item.model.mjs +0 -2
- package/esm2022/lib/components/euim-slider/euim-slide/euim-slide.component.mjs +0 -26
- package/esm2022/lib/components/euim-slider/euim-slider.component.mjs +0 -174
- package/esm2022/lib/components/euim-slider/euim-slider.module.mjs +0 -35
- package/esm2022/lib/components/euim-slider/index.mjs +0 -4
- package/esm2022/lib/components/euim-stepper/euim-steper.module.mjs +0 -32
- package/esm2022/lib/components/euim-stepper/euim-stepper.component.mjs +0 -64
- package/esm2022/lib/components/euim-stepper/index.mjs +0 -3
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/index.mjs +0 -6
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-footer/sidebar-footer.component.mjs +0 -17
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-header/sidebar-header.component.mjs +0 -11
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-menu/sidebar-menu.component.mjs +0 -22
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.mjs +0 -19
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar.module.mjs +0 -48
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-content/euim-info-screen-content.directive.mjs +0 -19
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-sub-title/euim-info-screen-sub-title.directive.mjs +0 -19
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-title/euim-info-screen-title.directive.mjs +0 -19
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen.component.mjs +0 -20
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen.module.mjs +0 -43
- package/esm2022/lib/components/layout/euim-info-screen/index.mjs +0 -6
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.d.ts +0 -13
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.d.ts.map +0 -1
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.module.d.ts +0 -10
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.module.d.ts.map +0 -1
- package/lib/components/atoms/euim-control-feedback/index.d.ts +0 -3
- package/lib/components/atoms/euim-control-feedback/index.d.ts.map +0 -1
- package/lib/components/directives/euim-item-divider/euim-item-divider.directive.d.ts +0 -7
- package/lib/components/directives/euim-item-divider/euim-item-divider.directive.d.ts.map +0 -1
- package/lib/components/directives/euim-item-divider/euim-item-divider.module.d.ts +0 -10
- package/lib/components/directives/euim-item-divider/euim-item-divider.module.d.ts.map +0 -1
- package/lib/components/directives/euim-item-divider/index.d.ts +0 -3
- package/lib/components/directives/euim-item-divider/index.d.ts.map +0 -1
- package/lib/components/directives/euim-list-header/euim-list-header.directive.d.ts +0 -7
- 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 +0 -10
- 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 +0 -3
- package/lib/components/directives/euim-list-header/index.d.ts.map +0 -1
- package/lib/components/directives/index.d.ts +0 -5
- package/lib/components/directives/index.d.ts.map +0 -1
- package/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.d.ts +0 -7
- package/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.d.ts.map +0 -1
- package/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.d.ts +0 -7
- package/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.d.ts.map +0 -1
- package/lib/components/euim-fieldset/euim-fieldset.component.d.ts +0 -7
- package/lib/components/euim-fieldset/euim-fieldset.component.d.ts.map +0 -1
- package/lib/components/euim-fieldset/euim-fieldset.module.d.ts +0 -12
- package/lib/components/euim-fieldset/euim-fieldset.module.d.ts.map +0 -1
- package/lib/components/euim-fieldset/index.d.ts +0 -5
- package/lib/components/euim-fieldset/index.d.ts.map +0 -1
- package/lib/components/euim-menu/euim-menu.component.d.ts +0 -17
- package/lib/components/euim-menu/euim-menu.component.d.ts.map +0 -1
- package/lib/components/euim-menu/euim-menu.module.d.ts +0 -14
- package/lib/components/euim-menu/euim-menu.module.d.ts.map +0 -1
- package/lib/components/euim-menu/index.d.ts +0 -4
- package/lib/components/euim-menu/index.d.ts.map +0 -1
- package/lib/components/euim-menu/models/eui-menu-item.model.d.ts +0 -30
- package/lib/components/euim-menu/models/eui-menu-item.model.d.ts.map +0 -1
- package/lib/components/euim-slider/euim-slide/euim-slide.component.d.ts +0 -7
- package/lib/components/euim-slider/euim-slide/euim-slide.component.d.ts.map +0 -1
- package/lib/components/euim-slider/euim-slider.component.d.ts +0 -46
- package/lib/components/euim-slider/euim-slider.component.d.ts.map +0 -1
- package/lib/components/euim-slider/euim-slider.module.d.ts +0 -11
- package/lib/components/euim-slider/euim-slider.module.d.ts.map +0 -1
- package/lib/components/euim-slider/index.d.ts +0 -4
- package/lib/components/euim-slider/index.d.ts.map +0 -1
- package/lib/components/euim-stepper/euim-steper.module.d.ts +0 -11
- package/lib/components/euim-stepper/euim-steper.module.d.ts.map +0 -1
- package/lib/components/euim-stepper/euim-stepper.component.d.ts +0 -21
- package/lib/components/euim-stepper/euim-stepper.component.d.ts.map +0 -1
- package/lib/components/euim-stepper/index.d.ts +0 -3
- package/lib/components/euim-stepper/index.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/index.d.ts +0 -6
- package/lib/components/layout/euim-app/euim-app-sidebar/index.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-footer/sidebar-footer.component.d.ts +0 -7
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-footer/sidebar-footer.component.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-header/sidebar-header.component.d.ts +0 -6
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-header/sidebar-header.component.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts +0 -11
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.d.ts +0 -9
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.d.ts.map +0 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.module.d.ts +0 -15
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.module.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen-content/euim-info-screen-content.directive.d.ts +0 -7
- package/lib/components/layout/euim-info-screen/euim-info-screen-content/euim-info-screen-content.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen-sub-title/euim-info-screen-sub-title.directive.d.ts +0 -7
- package/lib/components/layout/euim-info-screen/euim-info-screen-sub-title/euim-info-screen-sub-title.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen-title/euim-info-screen-title.directive.d.ts +0 -7
- package/lib/components/layout/euim-info-screen/euim-info-screen-title/euim-info-screen-title.directive.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen.component.d.ts +0 -7
- package/lib/components/layout/euim-info-screen/euim-info-screen.component.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen.module.d.ts +0 -13
- package/lib/components/layout/euim-info-screen/euim-info-screen.module.d.ts.map +0 -1
- package/lib/components/layout/euim-info-screen/index.d.ts +0 -6
- package/lib/components/layout/euim-info-screen/index.d.ts.map +0 -1
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { coerceBoolean } from '@eui/base';
|
|
2
2
|
export * from '@eui/base';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, EventEmitter, Output, ContentChildren, ViewChild, HostListener, ContentChild } from '@angular/core';
|
|
4
|
+
import { Injectable, booleanAttribute, Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, EventEmitter, Output, ContentChildren, ViewChild, HostListener, ContentChild } from '@angular/core';
|
|
5
5
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
6
|
-
import
|
|
7
|
-
import * as i2 from '@angular/common';
|
|
6
|
+
import * as i2$1 from '@angular/common';
|
|
8
7
|
import { CommonModule } from '@angular/common';
|
|
9
8
|
import * as i1 from '@ionic/angular';
|
|
10
9
|
import { IonicModule } from '@ionic/angular';
|
|
11
|
-
import * as i1$2 from '@angular/router';
|
|
12
|
-
import { RouterModule, NavigationEnd } from '@angular/router';
|
|
13
10
|
import { EclLanguageService, EclDefaultLanguageService } from '@eui/ecl';
|
|
14
|
-
import * as i2
|
|
11
|
+
import * as i2 from '@eui/core';
|
|
15
12
|
import { EuiEuLanguages } from '@eui/core';
|
|
16
13
|
import { takeUntil, distinctUntilKeyChanged } from 'rxjs/operators';
|
|
17
14
|
import * as i1$1 from '@ngx-translate/core';
|
|
18
15
|
import { TranslateModule } from '@ngx-translate/core';
|
|
16
|
+
import * as i1$2 from '@angular/router';
|
|
17
|
+
import { NavigationEnd, RouterModule } from '@angular/router';
|
|
18
|
+
import * as i2$2 from 'ng2-pdf-viewer';
|
|
19
|
+
import { PdfViewerModule } from 'ng2-pdf-viewer';
|
|
20
|
+
import * as i3 from '@meddv/ngx-pinch-zoom';
|
|
21
|
+
import { PinchZoomModule } from '@meddv/ngx-pinch-zoom';
|
|
22
|
+
import { __decorate } from 'tslib';
|
|
23
|
+
import * as i2$3 from 'angularx-qrcode';
|
|
24
|
+
import { QRCodeModule } from 'angularx-qrcode';
|
|
19
25
|
|
|
20
26
|
const initialState = {
|
|
21
27
|
isLanguageListVisible: false,
|
|
@@ -51,67 +57,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
51
57
|
|
|
52
58
|
class BaseStatesDirective {
|
|
53
59
|
constructor() {
|
|
54
|
-
// COLORS
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Will be removed in v17.
|
|
57
|
-
* Please use {@link color} property instead
|
|
58
|
-
*/
|
|
59
|
-
this.euimPrimary = false;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Will be removed in v17.
|
|
62
|
-
* Please use {@link color} property instead
|
|
63
|
-
*/
|
|
64
|
-
this.euimSecondary = false;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated Will be removed in v17.
|
|
67
|
-
* Please use {@link color} property instead
|
|
68
|
-
*/
|
|
69
|
-
this.euimInfo = false;
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated Will be removed in v17.
|
|
72
|
-
* Please use {@link color} property instead
|
|
73
|
-
*/
|
|
74
|
-
this.euimSuccess = false;
|
|
75
|
-
/**
|
|
76
|
-
* @deprecated Will be removed in v17.
|
|
77
|
-
* Please use {@link color} property instead
|
|
78
|
-
*/
|
|
79
|
-
this.euimWarning = false;
|
|
80
|
-
/**
|
|
81
|
-
* @deprecated Will be removed in v17.
|
|
82
|
-
* Please use {@link color} property instead
|
|
83
|
-
*/
|
|
84
|
-
this.euimDanger = false;
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated Will be removed in v17.
|
|
87
|
-
* Please use {@link color} property instead
|
|
88
|
-
*/
|
|
89
|
-
this.euimAccent = false;
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated Will be removed in v17.
|
|
92
|
-
* Please use {@link color} property instead
|
|
93
|
-
*/
|
|
94
|
-
this.euimDefault = false;
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated Will be removed in v17.
|
|
97
|
-
* Please use {@link color} property instead
|
|
98
|
-
*/
|
|
99
|
-
this.euimDark = false;
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated Will be removed in v17.
|
|
102
|
-
* Please use {@link color} property instead
|
|
103
|
-
*/
|
|
104
|
-
this.euimWhite = false;
|
|
105
|
-
/**
|
|
106
|
-
* @deprecated Will be removed in v17.
|
|
107
|
-
* Please use {@link color} property instead
|
|
108
|
-
*/
|
|
109
|
-
this.euimLight = false;
|
|
110
|
-
/**
|
|
111
|
-
* @deprecated Will be removed in v17.
|
|
112
|
-
* Please use {@link color} property instead
|
|
113
|
-
*/
|
|
114
|
-
this.euimClear = false;
|
|
115
60
|
// STATES
|
|
116
61
|
this.euimDisabled = false;
|
|
117
62
|
// POSITION
|
|
@@ -134,70 +79,14 @@ class BaseStatesDirective {
|
|
|
134
79
|
this.euimSize4XL = false;
|
|
135
80
|
this.euimSize5XL = false;
|
|
136
81
|
this._euimSizeVariant = '';
|
|
137
|
-
this._euimVariant = '';
|
|
138
|
-
this._variant = '';
|
|
139
82
|
this._color = '';
|
|
140
83
|
}
|
|
141
|
-
|
|
142
|
-
* @deprecated Will be removed in v17.
|
|
143
|
-
* Please use {@link color} property instead
|
|
144
|
-
*/
|
|
145
|
-
get euimVariant() {
|
|
146
|
-
return this._euimVariant;
|
|
147
|
-
}
|
|
148
|
-
set euimVariant(value) {
|
|
149
|
-
this.euimPrimary = value === 'primary';
|
|
150
|
-
this.euimSecondary = value === 'secondary';
|
|
151
|
-
this.euimWarning = value === 'warning';
|
|
152
|
-
this.euimInfo = value === 'info';
|
|
153
|
-
this.euimSuccess = value === 'success';
|
|
154
|
-
this.euimDanger = value === 'danger';
|
|
155
|
-
this.euimAccent = value === 'accent';
|
|
156
|
-
this.euimDefault = value === 'default';
|
|
157
|
-
this.euimDark = value === 'dark';
|
|
158
|
-
this.euimWhite = value === 'white';
|
|
159
|
-
this._euimVariant = value;
|
|
160
|
-
this.euimLight = value === 'light';
|
|
161
|
-
this.euimClear = value === 'clear';
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated will be removed in eUIMobile17. Please use {@link euimVariant} instead
|
|
165
|
-
*/
|
|
166
|
-
get variant() {
|
|
167
|
-
return this._variant;
|
|
168
|
-
}
|
|
169
|
-
set variant(value) {
|
|
170
|
-
this.euimPrimary = value === 'primary';
|
|
171
|
-
this.euimSecondary = value === 'secondary';
|
|
172
|
-
this.euimWarning = value === 'warning';
|
|
173
|
-
this.euimInfo = value === 'info';
|
|
174
|
-
this.euimSuccess = value === 'success';
|
|
175
|
-
this.euimDanger = value === 'danger';
|
|
176
|
-
this.euimAccent = value === 'accent';
|
|
177
|
-
this.euimDefault = value === 'default';
|
|
178
|
-
this.euimDark = value === 'dark';
|
|
179
|
-
this.euimWhite = value === 'white';
|
|
180
|
-
this._variant = value;
|
|
181
|
-
this.euimLight = value === 'light';
|
|
182
|
-
this.euimClear = value === 'clear';
|
|
183
|
-
}
|
|
84
|
+
// COLORS
|
|
184
85
|
get color() {
|
|
185
86
|
return this._color;
|
|
186
87
|
}
|
|
187
88
|
set color(value) {
|
|
188
|
-
this.euimPrimary = value === 'primary';
|
|
189
|
-
this.euimSecondary = value === 'secondary';
|
|
190
|
-
this.euimWarning = value === 'warning';
|
|
191
|
-
this.euimInfo = value === 'info';
|
|
192
|
-
this.euimSuccess = value === 'success';
|
|
193
|
-
this.euimDanger = value === 'danger';
|
|
194
|
-
this.euimAccent = value === 'accent';
|
|
195
|
-
this.euimDefault = value === 'default';
|
|
196
|
-
this.euimDark = value === 'dark';
|
|
197
|
-
this.euimWhite = value === 'white';
|
|
198
89
|
this._color = value;
|
|
199
|
-
this.euimLight = value === 'light';
|
|
200
|
-
this.euimClear = value === 'clear';
|
|
201
90
|
}
|
|
202
91
|
get euimSizeVariant() {
|
|
203
92
|
return this._euimSizeVariant;
|
|
@@ -218,16 +107,7 @@ class BaseStatesDirective {
|
|
|
218
107
|
getCssClasses(rootClass) {
|
|
219
108
|
return [
|
|
220
109
|
rootClass,
|
|
221
|
-
this.
|
|
222
|
-
this.euimSecondary ? `${rootClass}--secondary` : '',
|
|
223
|
-
this.euimInfo ? `${rootClass}--info` : '',
|
|
224
|
-
this.euimSuccess ? `${rootClass}--success` : '',
|
|
225
|
-
this.euimWarning ? `${rootClass}--warning` : '',
|
|
226
|
-
this.euimDanger ? `${rootClass}--danger` : '',
|
|
227
|
-
this.euimAccent ? `${rootClass}--accent` : '',
|
|
228
|
-
this.euimDefault ? `${rootClass}--default` : '',
|
|
229
|
-
this.euimDark ? `${rootClass}--dark` : '',
|
|
230
|
-
this.euimWhite ? `${rootClass}--white` : '',
|
|
110
|
+
this.color ? `${rootClass}--${this.color}` : '',
|
|
231
111
|
this.euimSize2XS ? `${rootClass}--size-2xs` : '',
|
|
232
112
|
this.euimSizeXS ? `${rootClass}--size-xs` : '',
|
|
233
113
|
this.euimSizeS ? `${rootClass}--size-s` : '',
|
|
@@ -250,95 +130,8 @@ class BaseStatesDirective {
|
|
|
250
130
|
.trim();
|
|
251
131
|
}
|
|
252
132
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BaseStatesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
253
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
133
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.0", type: BaseStatesDirective, isStandalone: true, selector: "[euimBase]", inputs: { color: "color", euimDisabled: ["euimDisabled", "euimDisabled", booleanAttribute], euimPositionTopEnd: ["euimPositionTopEnd", "euimPositionTopEnd", booleanAttribute], euimFontBold: ["euimFontBold", "euimFontBold", booleanAttribute], euimFontRegular: ["euimFontRegular", "euimFontRegular", booleanAttribute], euimFontBoldItalic: ["euimFontBoldItalic", "euimFontBoldItalic", booleanAttribute], euimFontItalic: ["euimFontItalic", "euimFontItalic", booleanAttribute], euimFontLight: ["euimFontLight", "euimFontLight", booleanAttribute], euimSize2XS: ["euimSize2XS", "euimSize2XS", booleanAttribute], euimSizeXS: ["euimSizeXS", "euimSizeXS", booleanAttribute], euimSizeS: ["euimSizeS", "euimSizeS", booleanAttribute], euimSizeM: ["euimSizeM", "euimSizeM", booleanAttribute], euimSizeL: ["euimSizeL", "euimSizeL", booleanAttribute], euimSizeXL: ["euimSizeXL", "euimSizeXL", booleanAttribute], euimSize2XL: ["euimSize2XL", "euimSize2XL", booleanAttribute], euimSize3XL: ["euimSize3XL", "euimSize3XL", booleanAttribute], euimSize4XL: ["euimSize4XL", "euimSize4XL", booleanAttribute], euimSize5XL: ["euimSize5XL", "euimSize5XL", booleanAttribute], euimSizeVariant: "euimSizeVariant" }, host: { properties: { "attr.aria-disabled": "this.euimDisabled.toString()" } }, ngImport: i0 }); }
|
|
254
134
|
}
|
|
255
|
-
__decorate([
|
|
256
|
-
coerceBoolean
|
|
257
|
-
], BaseStatesDirective.prototype, "euimPrimary", void 0);
|
|
258
|
-
__decorate([
|
|
259
|
-
coerceBoolean
|
|
260
|
-
], BaseStatesDirective.prototype, "euimSecondary", void 0);
|
|
261
|
-
__decorate([
|
|
262
|
-
coerceBoolean
|
|
263
|
-
], BaseStatesDirective.prototype, "euimInfo", void 0);
|
|
264
|
-
__decorate([
|
|
265
|
-
coerceBoolean
|
|
266
|
-
], BaseStatesDirective.prototype, "euimSuccess", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
coerceBoolean
|
|
269
|
-
], BaseStatesDirective.prototype, "euimWarning", void 0);
|
|
270
|
-
__decorate([
|
|
271
|
-
coerceBoolean
|
|
272
|
-
], BaseStatesDirective.prototype, "euimDanger", void 0);
|
|
273
|
-
__decorate([
|
|
274
|
-
coerceBoolean
|
|
275
|
-
], BaseStatesDirective.prototype, "euimAccent", void 0);
|
|
276
|
-
__decorate([
|
|
277
|
-
coerceBoolean
|
|
278
|
-
], BaseStatesDirective.prototype, "euimDefault", void 0);
|
|
279
|
-
__decorate([
|
|
280
|
-
coerceBoolean
|
|
281
|
-
], BaseStatesDirective.prototype, "euimDark", void 0);
|
|
282
|
-
__decorate([
|
|
283
|
-
coerceBoolean
|
|
284
|
-
], BaseStatesDirective.prototype, "euimWhite", void 0);
|
|
285
|
-
__decorate([
|
|
286
|
-
coerceBoolean
|
|
287
|
-
], BaseStatesDirective.prototype, "euimLight", void 0);
|
|
288
|
-
__decorate([
|
|
289
|
-
coerceBoolean
|
|
290
|
-
], BaseStatesDirective.prototype, "euimClear", void 0);
|
|
291
|
-
__decorate([
|
|
292
|
-
coerceBoolean
|
|
293
|
-
], BaseStatesDirective.prototype, "euimDisabled", void 0);
|
|
294
|
-
__decorate([
|
|
295
|
-
coerceBoolean
|
|
296
|
-
], BaseStatesDirective.prototype, "euimPositionTopEnd", void 0);
|
|
297
|
-
__decorate([
|
|
298
|
-
coerceBoolean
|
|
299
|
-
], BaseStatesDirective.prototype, "euimFontBold", void 0);
|
|
300
|
-
__decorate([
|
|
301
|
-
coerceBoolean
|
|
302
|
-
], BaseStatesDirective.prototype, "euimFontRegular", void 0);
|
|
303
|
-
__decorate([
|
|
304
|
-
coerceBoolean
|
|
305
|
-
], BaseStatesDirective.prototype, "euimFontBoldItalic", void 0);
|
|
306
|
-
__decorate([
|
|
307
|
-
coerceBoolean
|
|
308
|
-
], BaseStatesDirective.prototype, "euimFontItalic", void 0);
|
|
309
|
-
__decorate([
|
|
310
|
-
coerceBoolean
|
|
311
|
-
], BaseStatesDirective.prototype, "euimFontLight", void 0);
|
|
312
|
-
__decorate([
|
|
313
|
-
coerceBoolean
|
|
314
|
-
], BaseStatesDirective.prototype, "euimSize2XS", void 0);
|
|
315
|
-
__decorate([
|
|
316
|
-
coerceBoolean
|
|
317
|
-
], BaseStatesDirective.prototype, "euimSizeXS", void 0);
|
|
318
|
-
__decorate([
|
|
319
|
-
coerceBoolean
|
|
320
|
-
], BaseStatesDirective.prototype, "euimSizeS", void 0);
|
|
321
|
-
__decorate([
|
|
322
|
-
coerceBoolean
|
|
323
|
-
], BaseStatesDirective.prototype, "euimSizeM", void 0);
|
|
324
|
-
__decorate([
|
|
325
|
-
coerceBoolean
|
|
326
|
-
], BaseStatesDirective.prototype, "euimSizeL", void 0);
|
|
327
|
-
__decorate([
|
|
328
|
-
coerceBoolean
|
|
329
|
-
], BaseStatesDirective.prototype, "euimSizeXL", void 0);
|
|
330
|
-
__decorate([
|
|
331
|
-
coerceBoolean
|
|
332
|
-
], BaseStatesDirective.prototype, "euimSize2XL", void 0);
|
|
333
|
-
__decorate([
|
|
334
|
-
coerceBoolean
|
|
335
|
-
], BaseStatesDirective.prototype, "euimSize3XL", void 0);
|
|
336
|
-
__decorate([
|
|
337
|
-
coerceBoolean
|
|
338
|
-
], BaseStatesDirective.prototype, "euimSize4XL", void 0);
|
|
339
|
-
__decorate([
|
|
340
|
-
coerceBoolean
|
|
341
|
-
], BaseStatesDirective.prototype, "euimSize5XL", void 0);
|
|
342
135
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: BaseStatesDirective, decorators: [{
|
|
343
136
|
type: Directive,
|
|
344
137
|
args: [{
|
|
@@ -350,70 +143,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
350
143
|
'[attr.aria-disabled]': 'this.euimDisabled.toString()',
|
|
351
144
|
},
|
|
352
145
|
}]
|
|
353
|
-
}], propDecorators: {
|
|
354
|
-
type: Input
|
|
355
|
-
}], euimSecondary: [{
|
|
356
|
-
type: Input
|
|
357
|
-
}], euimInfo: [{
|
|
358
|
-
type: Input
|
|
359
|
-
}], euimSuccess: [{
|
|
360
|
-
type: Input
|
|
361
|
-
}], euimWarning: [{
|
|
362
|
-
type: Input
|
|
363
|
-
}], euimDanger: [{
|
|
364
|
-
type: Input
|
|
365
|
-
}], euimAccent: [{
|
|
366
|
-
type: Input
|
|
367
|
-
}], euimDefault: [{
|
|
368
|
-
type: Input
|
|
369
|
-
}], euimDark: [{
|
|
370
|
-
type: Input
|
|
371
|
-
}], euimWhite: [{
|
|
372
|
-
type: Input
|
|
373
|
-
}], euimLight: [{
|
|
374
|
-
type: Input
|
|
375
|
-
}], euimClear: [{
|
|
376
|
-
type: Input
|
|
377
|
-
}], euimVariant: [{
|
|
378
|
-
type: Input
|
|
379
|
-
}], variant: [{
|
|
380
|
-
type: Input
|
|
381
|
-
}], color: [{
|
|
146
|
+
}], propDecorators: { color: [{
|
|
382
147
|
type: Input
|
|
383
148
|
}], euimDisabled: [{
|
|
384
|
-
type: Input
|
|
149
|
+
type: Input,
|
|
150
|
+
args: [{ transform: booleanAttribute }]
|
|
385
151
|
}], euimPositionTopEnd: [{
|
|
386
|
-
type: Input
|
|
152
|
+
type: Input,
|
|
153
|
+
args: [{ transform: booleanAttribute }]
|
|
387
154
|
}], euimFontBold: [{
|
|
388
|
-
type: Input
|
|
155
|
+
type: Input,
|
|
156
|
+
args: [{ transform: booleanAttribute }]
|
|
389
157
|
}], euimFontRegular: [{
|
|
390
|
-
type: Input
|
|
158
|
+
type: Input,
|
|
159
|
+
args: [{ transform: booleanAttribute }]
|
|
391
160
|
}], euimFontBoldItalic: [{
|
|
392
|
-
type: Input
|
|
161
|
+
type: Input,
|
|
162
|
+
args: [{ transform: booleanAttribute }]
|
|
393
163
|
}], euimFontItalic: [{
|
|
394
|
-
type: Input
|
|
164
|
+
type: Input,
|
|
165
|
+
args: [{ transform: booleanAttribute }]
|
|
395
166
|
}], euimFontLight: [{
|
|
396
|
-
type: Input
|
|
167
|
+
type: Input,
|
|
168
|
+
args: [{ transform: booleanAttribute }]
|
|
397
169
|
}], euimSize2XS: [{
|
|
398
|
-
type: Input
|
|
170
|
+
type: Input,
|
|
171
|
+
args: [{ transform: booleanAttribute }]
|
|
399
172
|
}], euimSizeXS: [{
|
|
400
|
-
type: Input
|
|
173
|
+
type: Input,
|
|
174
|
+
args: [{ transform: booleanAttribute }]
|
|
401
175
|
}], euimSizeS: [{
|
|
402
|
-
type: Input
|
|
176
|
+
type: Input,
|
|
177
|
+
args: [{ transform: booleanAttribute }]
|
|
403
178
|
}], euimSizeM: [{
|
|
404
|
-
type: Input
|
|
179
|
+
type: Input,
|
|
180
|
+
args: [{ transform: booleanAttribute }]
|
|
405
181
|
}], euimSizeL: [{
|
|
406
|
-
type: Input
|
|
182
|
+
type: Input,
|
|
183
|
+
args: [{ transform: booleanAttribute }]
|
|
407
184
|
}], euimSizeXL: [{
|
|
408
|
-
type: Input
|
|
185
|
+
type: Input,
|
|
186
|
+
args: [{ transform: booleanAttribute }]
|
|
409
187
|
}], euimSize2XL: [{
|
|
410
|
-
type: Input
|
|
188
|
+
type: Input,
|
|
189
|
+
args: [{ transform: booleanAttribute }]
|
|
411
190
|
}], euimSize3XL: [{
|
|
412
|
-
type: Input
|
|
191
|
+
type: Input,
|
|
192
|
+
args: [{ transform: booleanAttribute }]
|
|
413
193
|
}], euimSize4XL: [{
|
|
414
|
-
type: Input
|
|
194
|
+
type: Input,
|
|
195
|
+
args: [{ transform: booleanAttribute }]
|
|
415
196
|
}], euimSize5XL: [{
|
|
416
|
-
type: Input
|
|
197
|
+
type: Input,
|
|
198
|
+
args: [{ transform: booleanAttribute }]
|
|
417
199
|
}], euimSizeVariant: [{
|
|
418
200
|
type: Input
|
|
419
201
|
}] } });
|
|
@@ -440,35 +222,14 @@ class EuimLabelComponent {
|
|
|
440
222
|
].join(' ');
|
|
441
223
|
}
|
|
442
224
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLabelComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
443
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
225
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.0", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: { euimLabelTruncateWithLines: "euimLabelTruncateWithLines", euimLabelTitle: ["euimLabelTitle", "euimLabelTitle", booleanAttribute], euimLabelSubTitle: ["euimLabelSubTitle", "euimLabelSubTitle", booleanAttribute], euimLabelMeta: ["euimLabelMeta", "euimLabelMeta", booleanAttribute], euimLabelTruncate: ["euimLabelTruncate", "euimLabelTruncate", booleanAttribute] }, host: { properties: { "style.--euimLabelTruncateWithLines": "this.euimLabelTruncateWithLines", "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimSize2XS", "euimSize2XS", "euimSizeXS", "euimSizeXS", "euimSizeS", "euimSizeS", "euimSizeM", "euimSizeM", "euimSizeL", "euimSizeL", "euimSizeXL", "euimSizeXL", "euimSize2XL", "euimSize2XL", "euimSize3XL", "euimSize3XL", "euimSize4XL", "euimSize4XL", "color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-130)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-130)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
444
226
|
}
|
|
445
|
-
__decorate([
|
|
446
|
-
coerceBoolean
|
|
447
|
-
], EuimLabelComponent.prototype, "euimLabelTitle", void 0);
|
|
448
|
-
__decorate([
|
|
449
|
-
coerceBoolean
|
|
450
|
-
], EuimLabelComponent.prototype, "euimLabelSubTitle", void 0);
|
|
451
|
-
__decorate([
|
|
452
|
-
coerceBoolean
|
|
453
|
-
], EuimLabelComponent.prototype, "euimLabelMeta", void 0);
|
|
454
|
-
__decorate([
|
|
455
|
-
coerceBoolean
|
|
456
|
-
], EuimLabelComponent.prototype, "euimLabelTruncate", void 0);
|
|
457
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLabelComponent, decorators: [{
|
|
458
228
|
type: Component,
|
|
459
229
|
args: [{ selector: 'div[euimLabel], p[euimLabel], span[euimLabel], euim-label', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
460
230
|
{
|
|
461
231
|
directive: BaseStatesDirective,
|
|
462
232
|
inputs: [
|
|
463
|
-
'euimInfo',
|
|
464
|
-
'euimSuccess',
|
|
465
|
-
'euimWarning',
|
|
466
|
-
'euimDanger',
|
|
467
|
-
'euimPrimary',
|
|
468
|
-
'euimSecondary',
|
|
469
|
-
'euimDefault',
|
|
470
|
-
'euimDark',
|
|
471
|
-
'euimAccent',
|
|
472
233
|
'euimSize2XS',
|
|
473
234
|
'euimSizeXS',
|
|
474
235
|
'euimSizeS',
|
|
@@ -481,20 +242,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
481
242
|
'color',
|
|
482
243
|
],
|
|
483
244
|
},
|
|
484
|
-
], styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-
|
|
245
|
+
], styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-130)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-130)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"] }]
|
|
485
246
|
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { euimLabelTruncateWithLines: [{
|
|
486
247
|
type: HostBinding,
|
|
487
248
|
args: ['style.--euimLabelTruncateWithLines']
|
|
488
249
|
}, {
|
|
489
250
|
type: Input
|
|
490
251
|
}], euimLabelTitle: [{
|
|
491
|
-
type: Input
|
|
252
|
+
type: Input,
|
|
253
|
+
args: [{ transform: booleanAttribute }]
|
|
492
254
|
}], euimLabelSubTitle: [{
|
|
493
|
-
type: Input
|
|
255
|
+
type: Input,
|
|
256
|
+
args: [{ transform: booleanAttribute }]
|
|
494
257
|
}], euimLabelMeta: [{
|
|
495
|
-
type: Input
|
|
258
|
+
type: Input,
|
|
259
|
+
args: [{ transform: booleanAttribute }]
|
|
496
260
|
}], euimLabelTruncate: [{
|
|
497
|
-
type: Input
|
|
261
|
+
type: Input,
|
|
262
|
+
args: [{ transform: booleanAttribute }]
|
|
498
263
|
}], cssClasses: [{
|
|
499
264
|
type: HostBinding,
|
|
500
265
|
args: ['class']
|
|
@@ -523,64 +288,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
523
288
|
}]
|
|
524
289
|
}] });
|
|
525
290
|
|
|
526
|
-
class EuimControlFeedbackComponent {
|
|
527
|
-
get cssClasses() {
|
|
528
|
-
return this.getCssClasses();
|
|
529
|
-
}
|
|
530
|
-
constructor(baseStatesDirective) {
|
|
531
|
-
this.baseStatesDirective = baseStatesDirective;
|
|
532
|
-
}
|
|
533
|
-
getCssClasses() {
|
|
534
|
-
return [
|
|
535
|
-
this.baseStatesDirective.getCssClasses('euim-control-feedback'),
|
|
536
|
-
].join(' ');
|
|
537
|
-
}
|
|
538
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
539
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimControlFeedbackComponent, selector: "euim-control-feedback", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimVariant", "euimVariant", "color", "color"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-control-feedback{display:block;font-size:var(--eui-base-font-size-xs);padding-left:var(--eui-base-spacing-m)}.euim-control-feedback--info{color:var(--eui-base-color-info-100)}.euim-control-feedback--success{color:var(--eui-base-color-success-100)}.euim-control-feedback--warning{color:var(--eui-base-color-warning-100)}.euim-control-feedback--danger{color:var(--eui-base-color-danger-100)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
540
|
-
}
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackComponent, decorators: [{
|
|
542
|
-
type: Component,
|
|
543
|
-
args: [{ selector: 'euim-control-feedback', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
544
|
-
{
|
|
545
|
-
directive: BaseStatesDirective,
|
|
546
|
-
inputs: [
|
|
547
|
-
'euimInfo',
|
|
548
|
-
'euimSuccess',
|
|
549
|
-
'euimWarning',
|
|
550
|
-
'euimDanger',
|
|
551
|
-
'euimVariant',
|
|
552
|
-
'color',
|
|
553
|
-
],
|
|
554
|
-
},
|
|
555
|
-
], template: "<ng-content></ng-content>\n", styles: [".euim-control-feedback{display:block;font-size:var(--eui-base-font-size-xs);padding-left:var(--eui-base-spacing-m)}.euim-control-feedback--info{color:var(--eui-base-color-info-100)}.euim-control-feedback--success{color:var(--eui-base-color-success-100)}.euim-control-feedback--warning{color:var(--eui-base-color-warning-100)}.euim-control-feedback--danger{color:var(--eui-base-color-danger-100)}\n"] }]
|
|
556
|
-
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { cssClasses: [{
|
|
557
|
-
type: HostBinding,
|
|
558
|
-
args: ['class']
|
|
559
|
-
}] } });
|
|
560
|
-
|
|
561
|
-
class EuimControlFeedbackModule {
|
|
562
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
563
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackModule, declarations: [EuimControlFeedbackComponent], imports: [CommonModule,
|
|
564
|
-
IonicModule], exports: [EuimControlFeedbackComponent] }); }
|
|
565
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackModule, imports: [CommonModule,
|
|
566
|
-
IonicModule] }); }
|
|
567
|
-
}
|
|
568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimControlFeedbackModule, decorators: [{
|
|
569
|
-
type: NgModule,
|
|
570
|
-
args: [{
|
|
571
|
-
imports: [
|
|
572
|
-
CommonModule,
|
|
573
|
-
IonicModule,
|
|
574
|
-
],
|
|
575
|
-
exports: [
|
|
576
|
-
EuimControlFeedbackComponent,
|
|
577
|
-
],
|
|
578
|
-
declarations: [
|
|
579
|
-
EuimControlFeedbackComponent,
|
|
580
|
-
],
|
|
581
|
-
}]
|
|
582
|
-
}] });
|
|
583
|
-
|
|
584
291
|
class EuimNotificationItemComponent {
|
|
585
292
|
get cssClasses() {
|
|
586
293
|
return this.getCssClasses();
|
|
@@ -594,7 +301,7 @@ class EuimNotificationItemComponent {
|
|
|
594
301
|
].join(' ');
|
|
595
302
|
}
|
|
596
303
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimNotificationItemComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
597
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimNotificationItemComponent, selector: "euim-notification-item", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
304
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimNotificationItemComponent, selector: "euim-notification-item", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "", styles: [".euim-notification-item{display:block;border-radius:50%;width:var(--eui-base-spacing-xs);height:var(--eui-base-spacing-xs)}.euim-notification-item--primary{background:var(--eui-base-color-primary-100)}.euim-notification-item--secondary{background:var(--eui-base-color-grey-50)}.euim-notification-item--info{background:var(--eui-base-color-info-100)}.euim-notification-item--success{background:var(--eui-base-color-success-100)}.euim-notification-item--warning{background:var(--eui-base-color-warning-100)}.euim-notification-item--danger{background:var(--eui-base-color-danger-100)}.euim-notification-item--accent{background:var(--eui-base-color-accent-100)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
598
305
|
}
|
|
599
306
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimNotificationItemComponent, decorators: [{
|
|
600
307
|
type: Component,
|
|
@@ -602,13 +309,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
602
309
|
{
|
|
603
310
|
directive: BaseStatesDirective,
|
|
604
311
|
inputs: [
|
|
605
|
-
'euimInfo',
|
|
606
|
-
'euimSuccess',
|
|
607
|
-
'euimWarning',
|
|
608
|
-
'euimDanger',
|
|
609
|
-
'euimPrimary',
|
|
610
|
-
'euimSecondary',
|
|
611
|
-
'euimAccent',
|
|
612
312
|
'color',
|
|
613
313
|
],
|
|
614
314
|
},
|
|
@@ -698,200 +398,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
698
398
|
args: ['class']
|
|
699
399
|
}] } });
|
|
700
400
|
|
|
701
|
-
/**
|
|
702
|
-
* @deprecated It is removed. Use {@link euim-sidebar} instead.
|
|
703
|
-
*/
|
|
704
|
-
class EuimMenuComponent {
|
|
705
|
-
constructor(navCtrl) {
|
|
706
|
-
this.navCtrl = navCtrl;
|
|
707
|
-
this.isChanged = false;
|
|
708
|
-
this.itemClick = new EventEmitter();
|
|
709
|
-
this.items = [];
|
|
710
|
-
}
|
|
711
|
-
onItemClick(event, idx, item) {
|
|
712
|
-
if (item && item.url) {
|
|
713
|
-
if (item.url.indexOf('http') > -1) {
|
|
714
|
-
window.open(item.url, '_blank');
|
|
715
|
-
}
|
|
716
|
-
else {
|
|
717
|
-
this.navCtrl.navigateRoot(item.url).then();
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
this.itemClick.emit(item);
|
|
721
|
-
}
|
|
722
|
-
isColorDirectiveShown(item, color) {
|
|
723
|
-
return item.notification?.color === color;
|
|
724
|
-
}
|
|
725
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuComponent, deps: [{ token: i1.NavController }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
726
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimMenuComponent, selector: "euim-menu", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<ion-list>\n <ng-container *ngFor=\"let section of items\">\n <li class=\"euim-menu__section\">\n <ion-item-divider *ngIf=\"section.sectionName\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{section.sectionName}}</p>\n </ion-item-divider>\n <ion-menu-toggle auto-hide=\"true\" *ngFor=\"let item of section.items; let j = index\">\n <ion-item (click)=\"onItemClick($event, j, item)\" *ngIf=\"item.label\"\n [lines]=\"item.lines ? item.lines : 'none'\" button [detail]=\"item.detailArrow\"\n class=\"euim-menu__section-item\">\n <euim-avatar-icon *ngIf=\"item.avatarColor\" size=\"s\" variant=\"rounded\" [color]=\"item.avatarColor\">\n <ion-icon *ngIf=\"item.icon\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n </euim-avatar-icon>\n <ion-icon *ngIf=\"item.icon && !item.avatarColor\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n <div>\n <p class=\"euim-menu__section-item-label\" euimLabel [euimSizeM]=\"true\" [euimDark]=\"true\">{{item.label}}</p>\n <p class=\"euim-menu__section-item-sublabel\" euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.sublabel}}</p>\n </div>\n\n <ion-badge *ngIf=\"item.badge\" [color]=\"item.badge.color\" slot=\"end\">\n {{item.badge.value}}</ion-badge>\n <euim-notification-item *ngIf=\"item.notification && !item.notification.count\"\n slot=\"end\"\n [euimSuccess]=\"isColorDirectiveShown(item, 'success')\"\n [euimWarning]=\"isColorDirectiveShown(item, 'warning')\"\n [euimDanger]=\"isColorDirectiveShown(item, 'danger')\"\n [euimInfo]=\"isColorDirectiveShown(item, 'info')\"\n [euimPrimary]=\"isColorDirectiveShown(item, 'primary')\"\n [euimSecondary]=\"isColorDirectiveShown(item, 'secondary')\"\n [euimAccent]=\"isColorDirectiveShown(item, 'accent')\"\n ></euim-notification-item>\n <ion-note class=\"euim-menu__metadata\" slot=\"end\" *ngIf=\"item.metadata\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.metadata}}</p>\n </ion-note>\n </ion-item>\n </ion-menu-toggle>\n </li>\n </ng-container>\n</ion-list>\n", styles: [".euim-menu__section-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-m)}.euim-menu__section-item::part(detail-icon){color:var(--eui-base-color-grey-50);font-size:var(--eui-base-font-size-2xl);opacity:1;margin-left:var(--eui-base-spacing-xs)}.euim-menu__section-item-label,.euim-menu__section-item-sublabel{margin-left:var(--eui-base-spacing-m)}.euim-menu__metadata{margin:auto 0 auto var(--eui-base-spacing-s);padding:0}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.IonBadge, selector: "ion-badge", inputs: ["color", "mode"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i1.IonNote, selector: "ion-note", inputs: ["color", "mode"] }, { kind: "component", type: EuimAvatarIconComponent, selector: "euim-avatar-icon", inputs: ["color", "size", "fill", "variant", "borderColor"] }, { kind: "component", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }, { kind: "component", type: EuimNotificationItemComponent, selector: "euim-notification-item" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
727
|
-
}
|
|
728
|
-
__decorate([
|
|
729
|
-
coerceBoolean
|
|
730
|
-
], EuimMenuComponent.prototype, "isChanged", void 0);
|
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuComponent, decorators: [{
|
|
732
|
-
type: Component,
|
|
733
|
-
args: [{ selector: 'euim-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-list>\n <ng-container *ngFor=\"let section of items\">\n <li class=\"euim-menu__section\">\n <ion-item-divider *ngIf=\"section.sectionName\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{section.sectionName}}</p>\n </ion-item-divider>\n <ion-menu-toggle auto-hide=\"true\" *ngFor=\"let item of section.items; let j = index\">\n <ion-item (click)=\"onItemClick($event, j, item)\" *ngIf=\"item.label\"\n [lines]=\"item.lines ? item.lines : 'none'\" button [detail]=\"item.detailArrow\"\n class=\"euim-menu__section-item\">\n <euim-avatar-icon *ngIf=\"item.avatarColor\" size=\"s\" variant=\"rounded\" [color]=\"item.avatarColor\">\n <ion-icon *ngIf=\"item.icon\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n </euim-avatar-icon>\n <ion-icon *ngIf=\"item.icon && !item.avatarColor\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n <div>\n <p class=\"euim-menu__section-item-label\" euimLabel [euimSizeM]=\"true\" [euimDark]=\"true\">{{item.label}}</p>\n <p class=\"euim-menu__section-item-sublabel\" euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.sublabel}}</p>\n </div>\n\n <ion-badge *ngIf=\"item.badge\" [color]=\"item.badge.color\" slot=\"end\">\n {{item.badge.value}}</ion-badge>\n <euim-notification-item *ngIf=\"item.notification && !item.notification.count\"\n slot=\"end\"\n [euimSuccess]=\"isColorDirectiveShown(item, 'success')\"\n [euimWarning]=\"isColorDirectiveShown(item, 'warning')\"\n [euimDanger]=\"isColorDirectiveShown(item, 'danger')\"\n [euimInfo]=\"isColorDirectiveShown(item, 'info')\"\n [euimPrimary]=\"isColorDirectiveShown(item, 'primary')\"\n [euimSecondary]=\"isColorDirectiveShown(item, 'secondary')\"\n [euimAccent]=\"isColorDirectiveShown(item, 'accent')\"\n ></euim-notification-item>\n <ion-note class=\"euim-menu__metadata\" slot=\"end\" *ngIf=\"item.metadata\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.metadata}}</p>\n </ion-note>\n </ion-item>\n </ion-menu-toggle>\n </li>\n </ng-container>\n</ion-list>\n", styles: [".euim-menu__section-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-m)}.euim-menu__section-item::part(detail-icon){color:var(--eui-base-color-grey-50);font-size:var(--eui-base-font-size-2xl);opacity:1;margin-left:var(--eui-base-spacing-xs)}.euim-menu__section-item-label,.euim-menu__section-item-sublabel{margin-left:var(--eui-base-spacing-m)}.euim-menu__metadata{margin:auto 0 auto var(--eui-base-spacing-s);padding:0}\n"] }]
|
|
734
|
-
}], ctorParameters: () => [{ type: i1.NavController }], propDecorators: { isChanged: [], itemClick: [{
|
|
735
|
-
type: Output
|
|
736
|
-
}], items: [{
|
|
737
|
-
type: Input
|
|
738
|
-
}] } });
|
|
739
|
-
|
|
740
|
-
class EuimAvatarIconModule {
|
|
741
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
742
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, declarations: [EuimAvatarIconComponent], imports: [CommonModule,
|
|
743
|
-
IonicModule], exports: [EuimAvatarIconComponent] }); }
|
|
744
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, imports: [CommonModule,
|
|
745
|
-
IonicModule] }); }
|
|
746
|
-
}
|
|
747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, decorators: [{
|
|
748
|
-
type: NgModule,
|
|
749
|
-
args: [{
|
|
750
|
-
imports: [
|
|
751
|
-
CommonModule,
|
|
752
|
-
IonicModule,
|
|
753
|
-
],
|
|
754
|
-
exports: [
|
|
755
|
-
EuimAvatarIconComponent,
|
|
756
|
-
],
|
|
757
|
-
declarations: [
|
|
758
|
-
EuimAvatarIconComponent,
|
|
759
|
-
],
|
|
760
|
-
}]
|
|
761
|
-
}] });
|
|
762
|
-
|
|
763
|
-
class EuimMenuModule {
|
|
764
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
765
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuModule, declarations: [EuimMenuComponent], imports: [CommonModule,
|
|
766
|
-
RouterModule,
|
|
767
|
-
IonicModule,
|
|
768
|
-
EuimAvatarIconModule,
|
|
769
|
-
EuimLabelModule,
|
|
770
|
-
EuimNotificationItemModule], exports: [EuimMenuComponent] }); }
|
|
771
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuModule, imports: [CommonModule,
|
|
772
|
-
RouterModule,
|
|
773
|
-
IonicModule,
|
|
774
|
-
EuimAvatarIconModule,
|
|
775
|
-
EuimLabelModule,
|
|
776
|
-
EuimNotificationItemModule] }); }
|
|
777
|
-
}
|
|
778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMenuModule, decorators: [{
|
|
779
|
-
type: NgModule,
|
|
780
|
-
args: [{
|
|
781
|
-
imports: [
|
|
782
|
-
CommonModule,
|
|
783
|
-
RouterModule,
|
|
784
|
-
IonicModule,
|
|
785
|
-
EuimAvatarIconModule,
|
|
786
|
-
EuimLabelModule,
|
|
787
|
-
EuimNotificationItemModule,
|
|
788
|
-
],
|
|
789
|
-
declarations: [
|
|
790
|
-
EuimMenuComponent,
|
|
791
|
-
],
|
|
792
|
-
exports: [
|
|
793
|
-
EuimMenuComponent,
|
|
794
|
-
],
|
|
795
|
-
}]
|
|
796
|
-
}] });
|
|
797
|
-
|
|
798
|
-
class EuimAppSidebarComponent {
|
|
799
|
-
constructor() {
|
|
800
|
-
this.ionMenuId = 'main';
|
|
801
|
-
}
|
|
802
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
803
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAppSidebarComponent, selector: "euim-app-sidebar", inputs: { ionMenuId: "ionMenuId", sidebarItems: "sidebarItems" }, ngImport: i0, template: "<ion-menu contentId=\"{{ionMenuId}}\" menuId=\"{{ionMenuId}}\" side=\"start\">\n <ion-toolbar>\n <ng-content select=\"euim-app-sidebar-header\"></ng-content>\n </ion-toolbar>\n <ion-content>\n <ng-content select=\"euim-app-sidebar-menu\"></ng-content>\n </ion-content>\n <ion-footer>\n <ng-content select=\"euim-app-sidebar-footer\"></ng-content>\n </ion-footer>\n</ion-menu>\n", dependencies: [{ kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i1.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonMenu, selector: "ion-menu", inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }] }); }
|
|
804
|
-
}
|
|
805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarComponent, decorators: [{
|
|
806
|
-
type: Component,
|
|
807
|
-
args: [{ selector: 'euim-app-sidebar', template: "<ion-menu contentId=\"{{ionMenuId}}\" menuId=\"{{ionMenuId}}\" side=\"start\">\n <ion-toolbar>\n <ng-content select=\"euim-app-sidebar-header\"></ng-content>\n </ion-toolbar>\n <ion-content>\n <ng-content select=\"euim-app-sidebar-menu\"></ng-content>\n </ion-content>\n <ion-footer>\n <ng-content select=\"euim-app-sidebar-footer\"></ng-content>\n </ion-footer>\n</ion-menu>\n" }]
|
|
808
|
-
}], propDecorators: { ionMenuId: [{
|
|
809
|
-
type: Input
|
|
810
|
-
}], sidebarItems: [{
|
|
811
|
-
type: Input
|
|
812
|
-
}] } });
|
|
813
|
-
|
|
814
|
-
class EuimAppSidebarHeaderComponent {
|
|
815
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
816
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAppSidebarHeaderComponent, selector: "euim-app-sidebar-header", ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
817
|
-
}
|
|
818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarHeaderComponent, decorators: [{
|
|
819
|
-
type: Component,
|
|
820
|
-
args: [{ selector: 'euim-app-sidebar-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n" }]
|
|
821
|
-
}] });
|
|
822
|
-
|
|
823
|
-
class EuimAppSidebarMenuComponent {
|
|
824
|
-
constructor() {
|
|
825
|
-
this.itemClick = new EventEmitter();
|
|
826
|
-
}
|
|
827
|
-
onItemClick(item) {
|
|
828
|
-
this.itemClick.emit(item);
|
|
829
|
-
}
|
|
830
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
831
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAppSidebarMenuComponent, selector: "euim-app-sidebar-menu", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<euim-menu (itemClick)=\"onItemClick($event)\"\n [items]=\"items\"></euim-menu>\n", dependencies: [{ kind: "component", type: EuimMenuComponent, selector: "euim-menu", inputs: ["items"], outputs: ["itemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
832
|
-
}
|
|
833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarMenuComponent, decorators: [{
|
|
834
|
-
type: Component,
|
|
835
|
-
args: [{ selector: 'euim-app-sidebar-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<euim-menu (itemClick)=\"onItemClick($event)\"\n [items]=\"items\"></euim-menu>\n" }]
|
|
836
|
-
}], propDecorators: { items: [{
|
|
837
|
-
type: Input
|
|
838
|
-
}], itemClick: [{
|
|
839
|
-
type: Output
|
|
840
|
-
}] } });
|
|
841
|
-
|
|
842
|
-
class EuimAppSidebarFooterComponent {
|
|
843
|
-
constructor() {
|
|
844
|
-
this.className = 'euim-app-sidebar-footer';
|
|
845
|
-
}
|
|
846
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
847
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAppSidebarFooterComponent, selector: "euim-app-sidebar-footer", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
848
|
-
}
|
|
849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarFooterComponent, decorators: [{
|
|
850
|
-
type: Component,
|
|
851
|
-
args: [{ selector: 'euim-app-sidebar-footer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n" }]
|
|
852
|
-
}], propDecorators: { className: [{
|
|
853
|
-
type: HostBinding,
|
|
854
|
-
args: ['class']
|
|
855
|
-
}] } });
|
|
856
|
-
|
|
857
|
-
const COMPONENTS$e = [
|
|
858
|
-
EuimAppSidebarComponent,
|
|
859
|
-
EuimAppSidebarHeaderComponent,
|
|
860
|
-
EuimAppSidebarFooterComponent,
|
|
861
|
-
EuimAppSidebarMenuComponent,
|
|
862
|
-
];
|
|
863
|
-
class EuimAppSidebarModule {
|
|
864
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
865
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarModule, declarations: [EuimAppSidebarComponent,
|
|
866
|
-
EuimAppSidebarHeaderComponent,
|
|
867
|
-
EuimAppSidebarFooterComponent,
|
|
868
|
-
EuimAppSidebarMenuComponent], imports: [CommonModule, RouterModule,
|
|
869
|
-
EuimMenuModule,
|
|
870
|
-
IonicModule], exports: [EuimAppSidebarComponent,
|
|
871
|
-
EuimAppSidebarHeaderComponent,
|
|
872
|
-
EuimAppSidebarFooterComponent,
|
|
873
|
-
EuimAppSidebarMenuComponent] }); }
|
|
874
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarModule, imports: [CommonModule, RouterModule,
|
|
875
|
-
EuimMenuModule,
|
|
876
|
-
IonicModule] }); }
|
|
877
|
-
}
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppSidebarModule, decorators: [{
|
|
879
|
-
type: NgModule,
|
|
880
|
-
args: [{
|
|
881
|
-
imports: [
|
|
882
|
-
CommonModule, RouterModule,
|
|
883
|
-
EuimMenuModule,
|
|
884
|
-
IonicModule,
|
|
885
|
-
],
|
|
886
|
-
declarations: [
|
|
887
|
-
...COMPONENTS$e,
|
|
888
|
-
],
|
|
889
|
-
exports: [
|
|
890
|
-
...COMPONENTS$e,
|
|
891
|
-
],
|
|
892
|
-
}]
|
|
893
|
-
}] });
|
|
894
|
-
|
|
895
401
|
class EuimEmptyListPlaceholderComponent {
|
|
896
402
|
get cssClasses() {
|
|
897
403
|
return this.getCssClasses();
|
|
@@ -905,20 +411,11 @@ class EuimEmptyListPlaceholderComponent {
|
|
|
905
411
|
].join(' ');
|
|
906
412
|
}
|
|
907
413
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimEmptyListPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
908
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
414
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimEmptyListPlaceholderComponent, selector: "euim-empty-list-placeholder", inputs: { message: "message", icon: "icon", description: "description", button: "button", euimMarginTopLarge: ["euimMarginTopLarge", "euimMarginTopLarge", booleanAttribute], euimMarginTopSmall: ["euimMarginTopSmall", "euimMarginTopSmall", booleanAttribute], euimMarginBottomSmall: ["euimMarginBottomSmall", "euimMarginBottomSmall", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: "@if (icon) {\n <ion-icon [name]=\"icon\" size=\"large\" class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n}\n@if ((!icon && !message && !description)) {\n <ion-icon name=\"search-sharp\" size=\"large\"\n class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n}\n@if (message || (!icon && !message && !description)) {\n <div class=\"euim-empty-list-placeholder__message\">\n {{ message || 'euim.empty-list-placeholder.message' | translate }}\n </div>\n}\n@if (description || (!icon && !message && !description)) {\n <div class=\"euim-empty-list-placeholder__description\">\n {{ description || 'euim.empty-list-placeholder.description' | translate }}\n </div>\n}\n<ng-content></ng-content>", styles: [".euim-empty-list-placeholder{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:var(--eui-base-spacing-2xs);justify-content:center;justify-items:center;align-items:center;margin:auto}.euim-empty-list-placeholder--margin-top-large{margin-top:calc(9 * var(--eui-base-spacing-m))}.euim-empty-list-placeholder--margin-top-small{margin-top:var(--eui-base-spacing-m)}.euim-empty-list-placeholder--margin-bottom-small{margin-bottom:var(--eui-base-spacing-m)}.euim-empty-list-placeholder__icon{color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}\n"], dependencies: [{ kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
909
415
|
}
|
|
910
|
-
__decorate([
|
|
911
|
-
coerceBoolean
|
|
912
|
-
], EuimEmptyListPlaceholderComponent.prototype, "euimMarginTopLarge", void 0);
|
|
913
|
-
__decorate([
|
|
914
|
-
coerceBoolean
|
|
915
|
-
], EuimEmptyListPlaceholderComponent.prototype, "euimMarginTopSmall", void 0);
|
|
916
|
-
__decorate([
|
|
917
|
-
coerceBoolean
|
|
918
|
-
], EuimEmptyListPlaceholderComponent.prototype, "euimMarginBottomSmall", void 0);
|
|
919
416
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimEmptyListPlaceholderComponent, decorators: [{
|
|
920
417
|
type: Component,
|
|
921
|
-
args: [{ selector: 'euim-empty-list-placeholder', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-icon
|
|
418
|
+
args: [{ selector: 'euim-empty-list-placeholder', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (icon) {\n <ion-icon [name]=\"icon\" size=\"large\" class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n}\n@if ((!icon && !message && !description)) {\n <ion-icon name=\"search-sharp\" size=\"large\"\n class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n}\n@if (message || (!icon && !message && !description)) {\n <div class=\"euim-empty-list-placeholder__message\">\n {{ message || 'euim.empty-list-placeholder.message' | translate }}\n </div>\n}\n@if (description || (!icon && !message && !description)) {\n <div class=\"euim-empty-list-placeholder__description\">\n {{ description || 'euim.empty-list-placeholder.description' | translate }}\n </div>\n}\n<ng-content></ng-content>", styles: [".euim-empty-list-placeholder{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:var(--eui-base-spacing-2xs);justify-content:center;justify-items:center;align-items:center;margin:auto}.euim-empty-list-placeholder--margin-top-large{margin-top:calc(9 * var(--eui-base-spacing-m))}.euim-empty-list-placeholder--margin-top-small{margin-top:var(--eui-base-spacing-m)}.euim-empty-list-placeholder--margin-bottom-small{margin-bottom:var(--eui-base-spacing-m)}.euim-empty-list-placeholder__icon{color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}\n"] }]
|
|
922
419
|
}], propDecorators: { message: [{
|
|
923
420
|
type: Input
|
|
924
421
|
}], icon: [{
|
|
@@ -928,11 +425,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
928
425
|
}], button: [{
|
|
929
426
|
type: Input
|
|
930
427
|
}], euimMarginTopLarge: [{
|
|
931
|
-
type: Input
|
|
428
|
+
type: Input,
|
|
429
|
+
args: [{ transform: booleanAttribute }]
|
|
932
430
|
}], euimMarginTopSmall: [{
|
|
933
|
-
type: Input
|
|
431
|
+
type: Input,
|
|
432
|
+
args: [{ transform: booleanAttribute }]
|
|
934
433
|
}], euimMarginBottomSmall: [{
|
|
935
|
-
type: Input
|
|
434
|
+
type: Input,
|
|
435
|
+
args: [{ transform: booleanAttribute }]
|
|
936
436
|
}], cssClasses: [{
|
|
937
437
|
type: HostBinding,
|
|
938
438
|
args: ['class']
|
|
@@ -1014,13 +514,13 @@ class EuimLanguageListComponent {
|
|
|
1014
514
|
}
|
|
1015
515
|
});
|
|
1016
516
|
}
|
|
1017
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageListComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TranslateService }, { token: i2
|
|
1018
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
517
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageListComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TranslateService }, { token: i2.EuiAppShellService }, { token: EuimAppService }, { token: i1.ModalController }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
518
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimLanguageListComponent, selector: "euim-language-list", ngImport: i0, template: "<ion-header>\n <ion-toolbar color=\"primary\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onClose()\">\n <ion-icon name=\"close-sharp\" 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 <ion-toolbar color=\"primary\" class=\"euim-language-selector__search\">\n <ion-searchbar (ionChange)=\"handleChange($event)\"></ion-searchbar>\n </ion-toolbar>\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\n || firstElementFromNonEUList?.code === item.code) {\n <ion-item-divider>\n {{ (firstElementFromEUList?.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 ? 'none' : 'inset'\">\n <euim-avatar-icon fill=\"solid\" slot=\"start\" variant=\"rounded\" class=\"euim-language-selector__avatar\">\n <ion-icon name=\"language-sharp\" class=\"euim-language-selector__internal-icon\"></ion-icon>\n </euim-avatar-icon>\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-sharp\" 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: "component", type: i1.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: i1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "mode", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "component", type: i1.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "directive", type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "component", type: EuimAvatarIconComponent, selector: "euim-avatar-icon", inputs: ["color", "size", "fill", "variant", "borderColor"] }, { kind: "component", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }, { kind: "component", type: EuimEmptyListPlaceholderComponent, selector: "euim-empty-list-placeholder", inputs: ["message", "icon", "description", "button", "euimMarginTopLarge", "euimMarginTopSmall", "euimMarginBottomSmall"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1019
519
|
}
|
|
1020
520
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageListComponent, decorators: [{
|
|
1021
521
|
type: Component,
|
|
1022
|
-
args: [{ selector: 'euim-language-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-header>\n
|
|
1023
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }, { type: i2
|
|
522
|
+
args: [{ selector: 'euim-language-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-header>\n <ion-toolbar color=\"primary\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onClose()\">\n <ion-icon name=\"close-sharp\" 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 <ion-toolbar color=\"primary\" class=\"euim-language-selector__search\">\n <ion-searchbar (ionChange)=\"handleChange($event)\"></ion-searchbar>\n </ion-toolbar>\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\n || firstElementFromNonEUList?.code === item.code) {\n <ion-item-divider>\n {{ (firstElementFromEUList?.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 ? 'none' : 'inset'\">\n <euim-avatar-icon fill=\"solid\" slot=\"start\" variant=\"rounded\" class=\"euim-language-selector__avatar\">\n <ion-icon name=\"language-sharp\" class=\"euim-language-selector__internal-icon\"></ion-icon>\n </euim-avatar-icon>\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-sharp\" 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" }]
|
|
523
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }, { type: i2.EuiAppShellService }, { type: EuimAppService }, { type: i1.ModalController }, { type: i1.Platform }] });
|
|
1024
524
|
|
|
1025
525
|
class EuimLanguageSelectorComponent {
|
|
1026
526
|
constructor(cd, translateService, appShellService, appService, modalCtrl, baseStatesDirective) {
|
|
@@ -1030,7 +530,7 @@ class EuimLanguageSelectorComponent {
|
|
|
1030
530
|
this.appService = appService;
|
|
1031
531
|
this.modalCtrl = modalCtrl;
|
|
1032
532
|
this.baseStatesDirective = baseStatesDirective;
|
|
1033
|
-
this._euimPrimary = this.baseStatesDirective.
|
|
533
|
+
this._euimPrimary = this.baseStatesDirective.color === 'primary';
|
|
1034
534
|
this.destroy$ = new Subject();
|
|
1035
535
|
}
|
|
1036
536
|
get cssClasses() {
|
|
@@ -1040,213 +540,61 @@ class EuimLanguageSelectorComponent {
|
|
|
1040
540
|
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('languages')).subscribe((state) => {
|
|
1041
541
|
this.languages = (state.languages) ?
|
|
1042
542
|
EuiEuLanguages.getOrderedLanguages(state.languages) :
|
|
1043
|
-
EuiEuLanguages.getLanguages();
|
|
1044
|
-
this.cd.detectChanges();
|
|
1045
|
-
});
|
|
1046
|
-
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('activeLanguage')).subscribe((state) => {
|
|
1047
|
-
this.selectedLanguage = {
|
|
1048
|
-
code: state.activeLanguage,
|
|
1049
|
-
label: this.getLanguageLabel(state.activeLanguage),
|
|
1050
|
-
};
|
|
1051
|
-
this.cd.detectChanges();
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
ngOnDestroy() {
|
|
1055
|
-
this.destroy$.next(true);
|
|
1056
|
-
this.destroy$.unsubscribe();
|
|
1057
|
-
}
|
|
1058
|
-
async onShowLanguageList() {
|
|
1059
|
-
const modal = await this.modalCtrl.create({
|
|
1060
|
-
component: EuimLanguageListComponent,
|
|
1061
|
-
});
|
|
1062
|
-
await modal.present();
|
|
1063
|
-
}
|
|
1064
|
-
getLanguageLabel(languageCode) {
|
|
1065
|
-
for (const language of this.languages) {
|
|
1066
|
-
if (language.code === languageCode) {
|
|
1067
|
-
return language.label;
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
return;
|
|
1071
|
-
}
|
|
1072
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TranslateService }, { token: i2$1.EuiAppShellService }, { token: EuimAppService }, { token: i1.ModalController }, { token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1073
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimLanguageSelectorComponent, selector: "euim-language-selector", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimPrimary", "euimPrimary", "color", "color"] }], ngImport: i0, template: "<ion-button (click)=\"onShowLanguageList()\">\n <ion-icon class=\"euim-language-selector__icon {{_euimPrimary ? 'euim-language-selector__icon--primary' : ''}}\"\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 {{_euimPrimary ? 'euim-language-selector__text--primary' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector__text{font:normal normal 400 .75rem/1rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}.euim-language-selector__avatar{background-color:var(--eui-base-color-grey-15)}.euim-language-selector__internal-icon{color:var(--eui-base-color-grey-100)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-base-spacing-m))}\n"], dependencies: [{ kind: "component", type: i1.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: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1074
|
-
}
|
|
1075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageSelectorComponent, decorators: [{
|
|
1076
|
-
type: Component,
|
|
1077
|
-
args: [{ selector: 'euim-language-selector', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
1078
|
-
{
|
|
1079
|
-
directive: BaseStatesDirective,
|
|
1080
|
-
inputs: [
|
|
1081
|
-
'euimPrimary',
|
|
1082
|
-
'color',
|
|
1083
|
-
],
|
|
1084
|
-
},
|
|
1085
|
-
], template: "<ion-button (click)=\"onShowLanguageList()\">\n <ion-icon class=\"euim-language-selector__icon {{_euimPrimary ? 'euim-language-selector__icon--primary' : ''}}\"\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 {{_euimPrimary ? 'euim-language-selector__text--primary' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector__text{font:normal normal 400 .75rem/1rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}.euim-language-selector__avatar{background-color:var(--eui-base-color-grey-15)}.euim-language-selector__internal-icon{color:var(--eui-base-color-grey-100)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-base-spacing-m))}\n"] }]
|
|
1086
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }, { type: i2$1.EuiAppShellService }, { type: EuimAppService }, { type: i1.ModalController }, { type: BaseStatesDirective }], propDecorators: { cssClasses: [{
|
|
1087
|
-
type: HostBinding,
|
|
1088
|
-
args: ['class']
|
|
1089
|
-
}] } });
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* @deprecated It will be removed on v17 release. Use {@link ion-list-header} instead.
|
|
1093
|
-
*/
|
|
1094
|
-
class EuimListHeaderDirective {
|
|
1095
|
-
constructor() {
|
|
1096
|
-
this.className = 'euim-list-divider';
|
|
1097
|
-
}
|
|
1098
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1099
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimListHeaderDirective, selector: "[euimListHeader]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
1100
|
-
}
|
|
1101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderDirective, decorators: [{
|
|
1102
|
-
type: Directive,
|
|
1103
|
-
args: [{
|
|
1104
|
-
selector: '[euimListHeader]',
|
|
1105
|
-
}]
|
|
1106
|
-
}], propDecorators: { className: [{
|
|
1107
|
-
type: HostBinding,
|
|
1108
|
-
args: ['class']
|
|
1109
|
-
}] } });
|
|
1110
|
-
|
|
1111
|
-
class EuimListHeaderModule {
|
|
1112
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1113
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderModule, declarations: [EuimListHeaderDirective], imports: [CommonModule,
|
|
1114
|
-
IonicModule], exports: [EuimListHeaderDirective] }); }
|
|
1115
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderModule, imports: [CommonModule,
|
|
1116
|
-
IonicModule] }); }
|
|
1117
|
-
}
|
|
1118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimListHeaderModule, decorators: [{
|
|
1119
|
-
type: NgModule,
|
|
1120
|
-
args: [{
|
|
1121
|
-
imports: [
|
|
1122
|
-
CommonModule,
|
|
1123
|
-
IonicModule,
|
|
1124
|
-
],
|
|
1125
|
-
exports: [
|
|
1126
|
-
EuimListHeaderDirective,
|
|
1127
|
-
],
|
|
1128
|
-
declarations: [
|
|
1129
|
-
EuimListHeaderDirective,
|
|
1130
|
-
],
|
|
1131
|
-
}]
|
|
1132
|
-
}] });
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* @deprecated It will be removed on v17 release. Use {@link euimDivider} instead if there is a case with no separator. For all othere cases ion-item-divider will be used.
|
|
1136
|
-
*/
|
|
1137
|
-
class EuimItemDividerDirective {
|
|
1138
|
-
constructor() {
|
|
1139
|
-
this.className = 'euim-item-divider';
|
|
1140
|
-
}
|
|
1141
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1142
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimItemDividerDirective, selector: "[euimItemDivider]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
1143
|
-
}
|
|
1144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerDirective, decorators: [{
|
|
1145
|
-
type: Directive,
|
|
1146
|
-
args: [{
|
|
1147
|
-
selector: '[euimItemDivider]',
|
|
1148
|
-
}]
|
|
1149
|
-
}], propDecorators: { className: [{
|
|
1150
|
-
type: HostBinding,
|
|
1151
|
-
args: ['class']
|
|
1152
|
-
}] } });
|
|
1153
|
-
|
|
1154
|
-
class EuimItemDividerModule {
|
|
1155
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1156
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerModule, declarations: [EuimItemDividerDirective], imports: [CommonModule,
|
|
1157
|
-
IonicModule], exports: [EuimItemDividerDirective] }); }
|
|
1158
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerModule, imports: [CommonModule,
|
|
1159
|
-
IonicModule] }); }
|
|
1160
|
-
}
|
|
1161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimItemDividerModule, decorators: [{
|
|
1162
|
-
type: NgModule,
|
|
1163
|
-
args: [{
|
|
1164
|
-
imports: [
|
|
1165
|
-
CommonModule,
|
|
1166
|
-
IonicModule,
|
|
1167
|
-
],
|
|
1168
|
-
exports: [
|
|
1169
|
-
EuimItemDividerDirective,
|
|
1170
|
-
],
|
|
1171
|
-
declarations: [
|
|
1172
|
-
EuimItemDividerDirective,
|
|
1173
|
-
],
|
|
1174
|
-
}]
|
|
1175
|
-
}] });
|
|
1176
|
-
|
|
1177
|
-
class EuimDividerDirective {
|
|
1178
|
-
get cssClasses() {
|
|
1179
|
-
return this.getCssClasses('euim-divider');
|
|
1180
|
-
}
|
|
1181
|
-
getCssClasses(rootClass) {
|
|
1182
|
-
return [
|
|
1183
|
-
rootClass,
|
|
1184
|
-
this.lines ? `${rootClass}--lines-${this.lines}` : '',
|
|
1185
|
-
].join(' ').trim();
|
|
1186
|
-
}
|
|
1187
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1188
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimDividerDirective, selector: "[euimDivider]", inputs: { lines: "lines" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0 }); }
|
|
1189
|
-
}
|
|
1190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerDirective, decorators: [{
|
|
1191
|
-
type: Directive,
|
|
1192
|
-
args: [{
|
|
1193
|
-
selector: '[euimDivider]',
|
|
1194
|
-
}]
|
|
1195
|
-
}], propDecorators: { lines: [{
|
|
1196
|
-
type: Input
|
|
1197
|
-
}], cssClasses: [{
|
|
1198
|
-
type: HostBinding,
|
|
1199
|
-
args: ['class']
|
|
1200
|
-
}] } });
|
|
1201
|
-
|
|
1202
|
-
class EuimDividerModule {
|
|
1203
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1204
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, declarations: [EuimDividerDirective], imports: [CommonModule,
|
|
1205
|
-
IonicModule], exports: [EuimDividerDirective] }); }
|
|
1206
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, imports: [CommonModule,
|
|
1207
|
-
IonicModule] }); }
|
|
1208
|
-
}
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, decorators: [{
|
|
1210
|
-
type: NgModule,
|
|
1211
|
-
args: [{
|
|
1212
|
-
imports: [
|
|
1213
|
-
CommonModule,
|
|
1214
|
-
IonicModule,
|
|
1215
|
-
],
|
|
1216
|
-
exports: [
|
|
1217
|
-
EuimDividerDirective,
|
|
1218
|
-
],
|
|
1219
|
-
declarations: [
|
|
1220
|
-
EuimDividerDirective,
|
|
1221
|
-
],
|
|
1222
|
-
}]
|
|
1223
|
-
}] });
|
|
1224
|
-
|
|
1225
|
-
class EuimSkeletonTextAvatarDirective {
|
|
1226
|
-
constructor() {
|
|
1227
|
-
this.className = 'euim-skeleton-text-avatar';
|
|
543
|
+
EuiEuLanguages.getLanguages();
|
|
544
|
+
this.cd.detectChanges();
|
|
545
|
+
});
|
|
546
|
+
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('activeLanguage')).subscribe((state) => {
|
|
547
|
+
this.selectedLanguage = {
|
|
548
|
+
code: state.activeLanguage,
|
|
549
|
+
label: this.getLanguageLabel(state.activeLanguage),
|
|
550
|
+
};
|
|
551
|
+
this.cd.detectChanges();
|
|
552
|
+
});
|
|
1228
553
|
}
|
|
1229
|
-
|
|
1230
|
-
|
|
554
|
+
ngOnDestroy() {
|
|
555
|
+
this.destroy$.next(true);
|
|
556
|
+
this.destroy$.unsubscribe();
|
|
557
|
+
}
|
|
558
|
+
async onShowLanguageList() {
|
|
559
|
+
const modal = await this.modalCtrl.create({
|
|
560
|
+
component: EuimLanguageListComponent,
|
|
561
|
+
});
|
|
562
|
+
await modal.present();
|
|
563
|
+
}
|
|
564
|
+
getLanguageLabel(languageCode) {
|
|
565
|
+
for (const language of this.languages) {
|
|
566
|
+
if (language.code === languageCode) {
|
|
567
|
+
return language.label;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageSelectorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TranslateService }, { token: i2.EuiAppShellService }, { token: EuimAppService }, { token: i1.ModalController }, { token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
573
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimLanguageSelectorComponent, selector: "euim-language-selector", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ion-button (click)=\"onShowLanguageList()\">\n <ion-icon class=\"euim-language-selector__icon {{_euimPrimary ? 'euim-language-selector__icon--primary' : ''}}\"\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 {{_euimPrimary ? 'euim-language-selector__text--primary' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector__text{font:normal normal 400 .75rem/1rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}.euim-language-selector__avatar{background-color:var(--eui-base-color-grey-15)}.euim-language-selector__internal-icon{color:var(--eui-base-color-grey-100)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-base-spacing-m))}\n"], dependencies: [{ kind: "component", type: i1.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: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1231
574
|
}
|
|
1232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type:
|
|
1233
|
-
type:
|
|
1234
|
-
args: [{
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLanguageSelectorComponent, decorators: [{
|
|
576
|
+
type: Component,
|
|
577
|
+
args: [{ selector: 'euim-language-selector', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
578
|
+
{
|
|
579
|
+
directive: BaseStatesDirective,
|
|
580
|
+
inputs: [
|
|
581
|
+
'color',
|
|
582
|
+
],
|
|
583
|
+
},
|
|
584
|
+
], template: "<ion-button (click)=\"onShowLanguageList()\">\n <ion-icon class=\"euim-language-selector__icon {{_euimPrimary ? 'euim-language-selector__icon--primary' : ''}}\"\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 {{_euimPrimary ? 'euim-language-selector__text--primary' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector__text{font:normal normal 400 .75rem/1rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}.euim-language-selector__avatar{background-color:var(--eui-base-color-grey-15)}.euim-language-selector__internal-icon{color:var(--eui-base-color-grey-100)}.euim-language-selector__search{display:contents}.euim-language-selector__empty-placeholder{display:block;height:auto;margin-top:calc(9 * var(--eui-base-spacing-m))}\n"] }]
|
|
585
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }, { type: i2.EuiAppShellService }, { type: EuimAppService }, { type: i1.ModalController }, { type: BaseStatesDirective }], propDecorators: { cssClasses: [{
|
|
1238
586
|
type: HostBinding,
|
|
1239
587
|
args: ['class']
|
|
1240
588
|
}] } });
|
|
1241
589
|
|
|
1242
|
-
class
|
|
1243
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type:
|
|
1244
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type:
|
|
1245
|
-
IonicModule], exports: [
|
|
1246
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type:
|
|
590
|
+
class EuimAvatarIconModule {
|
|
591
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
592
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, declarations: [EuimAvatarIconComponent], imports: [CommonModule,
|
|
593
|
+
IonicModule], exports: [EuimAvatarIconComponent] }); }
|
|
594
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, imports: [CommonModule,
|
|
1247
595
|
IonicModule] }); }
|
|
1248
596
|
}
|
|
1249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type:
|
|
597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarIconModule, decorators: [{
|
|
1250
598
|
type: NgModule,
|
|
1251
599
|
args: [{
|
|
1252
600
|
imports: [
|
|
@@ -1254,10 +602,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1254
602
|
IonicModule,
|
|
1255
603
|
],
|
|
1256
604
|
exports: [
|
|
1257
|
-
|
|
605
|
+
EuimAvatarIconComponent,
|
|
1258
606
|
],
|
|
1259
607
|
declarations: [
|
|
1260
|
-
|
|
608
|
+
EuimAvatarIconComponent,
|
|
1261
609
|
],
|
|
1262
610
|
}]
|
|
1263
611
|
}] });
|
|
@@ -1295,7 +643,6 @@ class EuimLanguageSelectorModule {
|
|
|
1295
643
|
IonicModule,
|
|
1296
644
|
EuimAvatarIconModule,
|
|
1297
645
|
EuimLabelModule,
|
|
1298
|
-
EuimItemDividerModule,
|
|
1299
646
|
EuimEmptyListPlaceholderModule,
|
|
1300
647
|
TranslateModule], exports: [EuimLanguageSelectorComponent,
|
|
1301
648
|
EuimLanguageListComponent] }); }
|
|
@@ -1305,7 +652,6 @@ class EuimLanguageSelectorModule {
|
|
|
1305
652
|
IonicModule,
|
|
1306
653
|
EuimAvatarIconModule,
|
|
1307
654
|
EuimLabelModule,
|
|
1308
|
-
EuimItemDividerModule,
|
|
1309
655
|
EuimEmptyListPlaceholderModule,
|
|
1310
656
|
TranslateModule] }); }
|
|
1311
657
|
}
|
|
@@ -1317,7 +663,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1317
663
|
IonicModule,
|
|
1318
664
|
EuimAvatarIconModule,
|
|
1319
665
|
EuimLabelModule,
|
|
1320
|
-
EuimItemDividerModule,
|
|
1321
666
|
EuimEmptyListPlaceholderModule,
|
|
1322
667
|
TranslateModule,
|
|
1323
668
|
],
|
|
@@ -1339,11 +684,9 @@ class EuimAppModule {
|
|
|
1339
684
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1340
685
|
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAppModule, declarations: [EuimAppComponent], imports: [CommonModule,
|
|
1341
686
|
IonicModule,
|
|
1342
|
-
EuimAppSidebarModule,
|
|
1343
687
|
EuimLanguageSelectorModule], exports: [EuimAppComponent] }); }
|
|
1344
688
|
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppModule, imports: [CommonModule,
|
|
1345
689
|
IonicModule,
|
|
1346
|
-
EuimAppSidebarModule,
|
|
1347
690
|
EuimLanguageSelectorModule] }); }
|
|
1348
691
|
}
|
|
1349
692
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAppModule, decorators: [{
|
|
@@ -1352,7 +695,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1352
695
|
imports: [
|
|
1353
696
|
CommonModule,
|
|
1354
697
|
IonicModule,
|
|
1355
|
-
EuimAppSidebarModule,
|
|
1356
698
|
EuimLanguageSelectorModule,
|
|
1357
699
|
],
|
|
1358
700
|
exports: [
|
|
@@ -1435,7 +777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1435
777
|
type: HostBinding
|
|
1436
778
|
}] } });
|
|
1437
779
|
|
|
1438
|
-
const COMPONENTS$
|
|
780
|
+
const COMPONENTS$c = [
|
|
1439
781
|
EuimUserProfileComponent,
|
|
1440
782
|
EuiMUserProfileAvatarComponent,
|
|
1441
783
|
EuiMUserProfileInfosComponent,
|
|
@@ -1465,10 +807,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1465
807
|
IonicModule,
|
|
1466
808
|
],
|
|
1467
809
|
exports: [
|
|
1468
|
-
...COMPONENTS$
|
|
810
|
+
...COMPONENTS$c,
|
|
1469
811
|
],
|
|
1470
812
|
declarations: [
|
|
1471
|
-
...COMPONENTS$
|
|
813
|
+
...COMPONENTS$c,
|
|
1472
814
|
],
|
|
1473
815
|
}]
|
|
1474
816
|
}] });
|
|
@@ -1491,28 +833,22 @@ class EuimToolbarComponent {
|
|
|
1491
833
|
this.backButtonClick.emit(event);
|
|
1492
834
|
}
|
|
1493
835
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1494
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
836
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.0", type: EuimToolbarComponent, selector: "euim-toolbar", inputs: { hasBackButton: ["hasBackButton", "hasBackButton", booleanAttribute], backButtonDefaultHref: "backButtonDefaultHref", hasSidebarTrigger: ["hasSidebarTrigger", "hasSidebarTrigger", booleanAttribute], hasLanguageSelector: ["hasLanguageSelector", "hasLanguageSelector", booleanAttribute] }, outputs: { backButtonClick: "backButtonClick" }, host: { properties: { "className": "this.className" } }, ngImport: i0, template: "<ion-buttons slot=\"start\">\n <ion-menu-button *ngIf=\"hasSidebarTrigger\"></ion-menu-button>\n <ion-back-button (pointerdown)=\"onBackButtonClick($event)\"\n *ngIf=\"hasBackButton\"\n defaultHref=\"{{backButtonDefaultHref}}\"></ion-back-button>\n <ng-content></ng-content>\n</ion-buttons>\n<ion-title class=\"euim-toolbar__title-container\">\n <ng-content select=\"euim-toolbar-title\"></ng-content>\n</ion-title>\n<ion-buttons slot=\"end\">\n <ng-content select=\"euim-toolbar-action-items\"></ng-content>\n <ng-container *ngIf=\"hasLanguageSelector\">\n <euim-language-selector></euim-language-selector>\n </ng-container>\n</ion-buttons>\n", styles: [".euim-toolbar{display:flex;align-items:center}.euim-toolbar__title-container{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.IonBackButton, selector: "ion-back-button", inputs: ["color", "defaultHref", "disabled", "icon", "mode", "routerAnimation", "text", "type"] }, { kind: "component", type: i1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1.IonMenuButton, selector: "ion-menu-button", inputs: ["autoHide", "color", "disabled", "menu", "mode", "type"] }, { kind: "component", type: i1.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "directive", type: i1.IonBackButtonDelegate, selector: "ion-back-button", inputs: ["defaultHref", "routerAnimation"] }, { kind: "component", type: EuimLanguageSelectorComponent, selector: "euim-language-selector" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1495
837
|
}
|
|
1496
|
-
__decorate([
|
|
1497
|
-
coerceBoolean
|
|
1498
|
-
], EuimToolbarComponent.prototype, "hasBackButton", void 0);
|
|
1499
|
-
__decorate([
|
|
1500
|
-
coerceBoolean
|
|
1501
|
-
], EuimToolbarComponent.prototype, "hasSidebarTrigger", void 0);
|
|
1502
|
-
__decorate([
|
|
1503
|
-
coerceBoolean
|
|
1504
|
-
], EuimToolbarComponent.prototype, "hasLanguageSelector", void 0);
|
|
1505
838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimToolbarComponent, decorators: [{
|
|
1506
839
|
type: Component,
|
|
1507
840
|
args: [{ selector: 'euim-toolbar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-buttons slot=\"start\">\n <ion-menu-button *ngIf=\"hasSidebarTrigger\"></ion-menu-button>\n <ion-back-button (pointerdown)=\"onBackButtonClick($event)\"\n *ngIf=\"hasBackButton\"\n defaultHref=\"{{backButtonDefaultHref}}\"></ion-back-button>\n <ng-content></ng-content>\n</ion-buttons>\n<ion-title class=\"euim-toolbar__title-container\">\n <ng-content select=\"euim-toolbar-title\"></ng-content>\n</ion-title>\n<ion-buttons slot=\"end\">\n <ng-content select=\"euim-toolbar-action-items\"></ng-content>\n <ng-container *ngIf=\"hasLanguageSelector\">\n <euim-language-selector></euim-language-selector>\n </ng-container>\n</ion-buttons>\n", styles: [".euim-toolbar{display:flex;align-items:center}.euim-toolbar__title-container{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:flex;align-items:center}\n"] }]
|
|
1508
841
|
}], propDecorators: { hasBackButton: [{
|
|
1509
|
-
type: Input
|
|
842
|
+
type: Input,
|
|
843
|
+
args: [{ transform: booleanAttribute }]
|
|
1510
844
|
}], backButtonDefaultHref: [{
|
|
1511
845
|
type: Input
|
|
1512
846
|
}], hasSidebarTrigger: [{
|
|
1513
|
-
type: Input
|
|
847
|
+
type: Input,
|
|
848
|
+
args: [{ transform: booleanAttribute }]
|
|
1514
849
|
}], hasLanguageSelector: [{
|
|
1515
|
-
type: Input
|
|
850
|
+
type: Input,
|
|
851
|
+
args: [{ transform: booleanAttribute }]
|
|
1516
852
|
}], backButtonClick: [{
|
|
1517
853
|
type: Output
|
|
1518
854
|
}], className: [{
|
|
@@ -1705,7 +1041,7 @@ class EuimHeaderDetailsComponent {
|
|
|
1705
1041
|
].join(' ');
|
|
1706
1042
|
}
|
|
1707
1043
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimHeaderDetailsComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1708
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimHeaderDetailsComponent, selector: "euim-header-details", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
1044
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimHeaderDetailsComponent, selector: "euim-header-details", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-header-details{padding:var(--eui-base-spacing-m);display:block;text-align:center;background-color:var(--eui-base-color-grey-5);border-bottom:1px solid var(--eui-base-color-grey-20)}.euim-header-details--primary{background-color:var(--eui-base-color-primary-100);border-bottom:none}.euim-header-details--primary .euim-header-details__title,.euim-header-details--primary .euim-header-details__meta{color:var(--eui-base-color-white)}.euim-header-details__title{font:var(--eui-base-font-m);margin-bottom:var(--eui-base-spacing-2xs);color:var(--eui-base-color-grey-100)}.euim-header-details__meta{color:var(--eui-base-color-grey-75);font:var(--eui-base-font-s)}.euim-header-details__icon{display:inline-block;margin-bottom:var(--eui-base-spacing-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1709
1045
|
}
|
|
1710
1046
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimHeaderDetailsComponent, decorators: [{
|
|
1711
1047
|
type: Component,
|
|
@@ -1713,7 +1049,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1713
1049
|
{
|
|
1714
1050
|
directive: BaseStatesDirective,
|
|
1715
1051
|
inputs: [
|
|
1716
|
-
'euimPrimary',
|
|
1717
1052
|
'color',
|
|
1718
1053
|
],
|
|
1719
1054
|
},
|
|
@@ -1774,7 +1109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1774
1109
|
args: ['class']
|
|
1775
1110
|
}] } });
|
|
1776
1111
|
|
|
1777
|
-
const COMPONENTS$
|
|
1112
|
+
const COMPONENTS$b = [
|
|
1778
1113
|
EuimHeaderDetailsComponent,
|
|
1779
1114
|
EuimHeaderDetailsTitleDirective,
|
|
1780
1115
|
EuimHeaderDetailsMetaDirective,
|
|
@@ -1794,110 +1129,6 @@ class EuimHeaderDetailsModule {
|
|
|
1794
1129
|
IonicModule] }); }
|
|
1795
1130
|
}
|
|
1796
1131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimHeaderDetailsModule, decorators: [{
|
|
1797
|
-
type: NgModule,
|
|
1798
|
-
args: [{
|
|
1799
|
-
imports: [
|
|
1800
|
-
CommonModule,
|
|
1801
|
-
IonicModule,
|
|
1802
|
-
],
|
|
1803
|
-
exports: [
|
|
1804
|
-
...COMPONENTS$c,
|
|
1805
|
-
],
|
|
1806
|
-
declarations: [
|
|
1807
|
-
...COMPONENTS$c,
|
|
1808
|
-
],
|
|
1809
|
-
}]
|
|
1810
|
-
}] });
|
|
1811
|
-
|
|
1812
|
-
/**
|
|
1813
|
-
* @deprecated It was removed in v16. Use {@link euim-slider-info-screen} instead.
|
|
1814
|
-
*/
|
|
1815
|
-
class EuimInfoScreenComponent {
|
|
1816
|
-
constructor() {
|
|
1817
|
-
this.className = 'euim-info-screen';
|
|
1818
|
-
}
|
|
1819
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1820
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimInfoScreenComponent, selector: "euim-info-screen", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-info-screen__title{@eui-font (3xl);font-weight:700;color:var(--eui-base-color-grey-100);margin-top:var(--eui-base-spacing-l);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l)}.euim-info-screen__sub-title{color:var(--eui-base-color-grey-75);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);@eui-font (l);}.euim-info-screen__content{color:var(--eui-base-color-grey-100);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);@eui-font (l);}.euim-info-screen__title+.euim-info-screen__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-info-screen__sub-title+.euim-info-screen__content,title+.euim-info-screen__content{margin-top:var(--eui-base-spacing-m)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1821
|
-
}
|
|
1822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenComponent, decorators: [{
|
|
1823
|
-
type: Component,
|
|
1824
|
-
args: [{ selector: 'euim-info-screen', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".euim-info-screen__title{@eui-font (3xl);font-weight:700;color:var(--eui-base-color-grey-100);margin-top:var(--eui-base-spacing-l);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l)}.euim-info-screen__sub-title{color:var(--eui-base-color-grey-75);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);@eui-font (l);}.euim-info-screen__content{color:var(--eui-base-color-grey-100);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);@eui-font (l);}.euim-info-screen__title+.euim-info-screen__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-info-screen__sub-title+.euim-info-screen__content,title+.euim-info-screen__content{margin-top:var(--eui-base-spacing-m)}\n"] }]
|
|
1825
|
-
}], propDecorators: { className: [{
|
|
1826
|
-
type: HostBinding,
|
|
1827
|
-
args: ['class']
|
|
1828
|
-
}] } });
|
|
1829
|
-
|
|
1830
|
-
class EuimInfoScreenContentDirective {
|
|
1831
|
-
constructor() {
|
|
1832
|
-
this.className = 'euim-info-screen__content';
|
|
1833
|
-
}
|
|
1834
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1835
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimInfoScreenContentDirective, selector: "[euimInfoScreenContent]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
1836
|
-
}
|
|
1837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenContentDirective, decorators: [{
|
|
1838
|
-
type: Directive,
|
|
1839
|
-
args: [{
|
|
1840
|
-
selector: '[euimInfoScreenContent]',
|
|
1841
|
-
}]
|
|
1842
|
-
}], propDecorators: { className: [{
|
|
1843
|
-
type: HostBinding,
|
|
1844
|
-
args: ['class']
|
|
1845
|
-
}] } });
|
|
1846
|
-
|
|
1847
|
-
class EuimInfoScreenTitleDirective {
|
|
1848
|
-
constructor() {
|
|
1849
|
-
this.className = 'euim-info-screen__title';
|
|
1850
|
-
}
|
|
1851
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1852
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimInfoScreenTitleDirective, selector: "[euimInfoScreenTitle]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
1853
|
-
}
|
|
1854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenTitleDirective, decorators: [{
|
|
1855
|
-
type: Directive,
|
|
1856
|
-
args: [{
|
|
1857
|
-
selector: '[euimInfoScreenTitle]',
|
|
1858
|
-
}]
|
|
1859
|
-
}], propDecorators: { className: [{
|
|
1860
|
-
type: HostBinding,
|
|
1861
|
-
args: ['class']
|
|
1862
|
-
}] } });
|
|
1863
|
-
|
|
1864
|
-
class EuimInfoScreenSubTitleDirective {
|
|
1865
|
-
constructor() {
|
|
1866
|
-
this.className = 'euim-info-screen__sub-title';
|
|
1867
|
-
}
|
|
1868
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenSubTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1869
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimInfoScreenSubTitleDirective, selector: "[euimInfoScreenSubTitle]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
1870
|
-
}
|
|
1871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenSubTitleDirective, decorators: [{
|
|
1872
|
-
type: Directive,
|
|
1873
|
-
args: [{
|
|
1874
|
-
selector: '[euimInfoScreenSubTitle]',
|
|
1875
|
-
}]
|
|
1876
|
-
}], propDecorators: { className: [{
|
|
1877
|
-
type: HostBinding,
|
|
1878
|
-
args: ['class']
|
|
1879
|
-
}] } });
|
|
1880
|
-
|
|
1881
|
-
const COMPONENTS$b = [
|
|
1882
|
-
EuimInfoScreenComponent,
|
|
1883
|
-
EuimInfoScreenTitleDirective,
|
|
1884
|
-
EuimInfoScreenContentDirective,
|
|
1885
|
-
EuimInfoScreenSubTitleDirective,
|
|
1886
|
-
];
|
|
1887
|
-
class EuimInfoScreenModule {
|
|
1888
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1889
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenModule, declarations: [EuimInfoScreenComponent,
|
|
1890
|
-
EuimInfoScreenTitleDirective,
|
|
1891
|
-
EuimInfoScreenContentDirective,
|
|
1892
|
-
EuimInfoScreenSubTitleDirective], imports: [CommonModule,
|
|
1893
|
-
IonicModule], exports: [EuimInfoScreenComponent,
|
|
1894
|
-
EuimInfoScreenTitleDirective,
|
|
1895
|
-
EuimInfoScreenContentDirective,
|
|
1896
|
-
EuimInfoScreenSubTitleDirective] }); }
|
|
1897
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenModule, imports: [CommonModule,
|
|
1898
|
-
IonicModule] }); }
|
|
1899
|
-
}
|
|
1900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimInfoScreenModule, decorators: [{
|
|
1901
1132
|
type: NgModule,
|
|
1902
1133
|
args: [{
|
|
1903
1134
|
imports: [
|
|
@@ -1926,7 +1157,7 @@ class EuimBadgeComponent {
|
|
|
1926
1157
|
].join(' ').trim();
|
|
1927
1158
|
}
|
|
1928
1159
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimBadgeComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1929
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimBadgeComponent, selector: "euim-badge", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
1160
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimBadgeComponent, selector: "euim-badge", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimPositionTopEnd", "euimPositionTopEnd", "euimSizeM", "euimSizeM", "euimSizeS", "euimSizeS", "euimSizeL", "euimSizeL", "color", "color"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:50px;height:var(--eui-base-spacing-l);min-width:var(--eui-base-spacing-l);padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs);color:var(--eui-base-color-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--eui-base-font-size-s)!important;line-height:var(--eui-base-font-size-m)!important;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;box-sizing:border-box;letter-spacing:normal}.euim-avatar-icon{position:relative;overflow:visible}.euim-avatar-icon .euim-badge--position-top-end{position:absolute;right:-6px;top:-6px}ion-button .euim-badge--position-top-end,ion-tab-button span .euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-s));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-l.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-l.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-s));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-m.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-m.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-xs));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-s.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-s.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-2xs));left:var(--eui-base-spacing-s)}ion-button::part(native){overflow:visible}ion-tab-button span{position:relative}ion-tab-button span ion-icon{font-size:var(--eui-base-font-size-2xl)}.euim-badge--info{background:var(--eui-base-color-info-100)}.euim-badge--success{background:var(--eui-base-color-success-100)}.euim-badge--warning{background:var(--eui-base-color-warning-100)}.euim-badge--danger{background:var(--eui-base-color-danger-100)}.euim-badge--default{background:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-100)}.euim-badge--size-s{min-width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);padding:0 var(--eui-base-spacing-2xs);font-size:var(--eui-base-font-size-xs)!important;line-height:var(--eui-base-font-size-m)!important}.euim-badge--size-m{min-width:calc(var(--eui-base-spacing-m) + var(--eui-base-spacing-2xs));height:calc(var(--eui-base-spacing-m) + var(--eui-base-spacing-2xs));padding:calc(var(--eui-base-spacing-2xs) / 2) calc(var(--eui-base-spacing-s) / 2);font-size:var(--eui-base-font-size-xs)!important;line-height:var(--eui-base-font-size-m)!important}.euim-badge--size-l{height:var(--eui-base-spacing-l);min-width:var(--eui-base-spacing-l);padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs);font-size:var(--eui-base-font-size-s)!important;line-height:var(--eui-base-font-size-m)!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1930
1161
|
}
|
|
1931
1162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimBadgeComponent, decorators: [{
|
|
1932
1163
|
type: Component,
|
|
@@ -1934,16 +1165,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1934
1165
|
{
|
|
1935
1166
|
directive: BaseStatesDirective,
|
|
1936
1167
|
inputs: [
|
|
1937
|
-
'euimDanger',
|
|
1938
|
-
'euimWarning',
|
|
1939
|
-
'euimInfo',
|
|
1940
|
-
'euimSuccess',
|
|
1941
|
-
'euimDefault',
|
|
1942
1168
|
'euimPositionTopEnd',
|
|
1169
|
+
'euimSizeM',
|
|
1170
|
+
'euimSizeS',
|
|
1171
|
+
'euimSizeL',
|
|
1943
1172
|
'color',
|
|
1944
1173
|
],
|
|
1945
1174
|
},
|
|
1946
|
-
], template: "<ng-content></ng-content>\n", styles: [".euim-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:50px;height:var(--eui-base-spacing-l);min-width:var(--eui-base-spacing-l);padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs);color:var(--eui-base-color-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--eui-base-font-size-s)!important;line-height:var(--eui-base-font-size-m)!important;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;box-sizing:border-box;letter-spacing:normal}.euim-avatar-icon{position:relative;overflow:visible}.euim-avatar-icon .euim-badge--position-top-end{position:absolute;right:-6px;top:-6px}ion-button
|
|
1175
|
+
], template: "<ng-content></ng-content>\n", styles: [".euim-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:50px;height:var(--eui-base-spacing-l);min-width:var(--eui-base-spacing-l);padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs);color:var(--eui-base-color-white);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--eui-base-font-size-s)!important;line-height:var(--eui-base-font-size-m)!important;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;box-sizing:border-box;letter-spacing:normal}.euim-avatar-icon{position:relative;overflow:visible}.euim-avatar-icon .euim-badge--position-top-end{position:absolute;right:-6px;top:-6px}ion-button .euim-badge--position-top-end,ion-tab-button span .euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-s));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-l.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-l.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-s));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-m.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-m.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-xs));left:var(--eui-base-spacing-s)}ion-button .euim-badge--size-s.euim-badge--position-top-end,ion-tab-button span .euim-badge--size-s.euim-badge--position-top-end{position:absolute;top:calc(-1 * var(--eui-base-spacing-2xs));left:var(--eui-base-spacing-s)}ion-button::part(native){overflow:visible}ion-tab-button span{position:relative}ion-tab-button span ion-icon{font-size:var(--eui-base-font-size-2xl)}.euim-badge--info{background:var(--eui-base-color-info-100)}.euim-badge--success{background:var(--eui-base-color-success-100)}.euim-badge--warning{background:var(--eui-base-color-warning-100)}.euim-badge--danger{background:var(--eui-base-color-danger-100)}.euim-badge--default{background:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-100)}.euim-badge--size-s{min-width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);padding:0 var(--eui-base-spacing-2xs);font-size:var(--eui-base-font-size-xs)!important;line-height:var(--eui-base-font-size-m)!important}.euim-badge--size-m{min-width:calc(var(--eui-base-spacing-m) + var(--eui-base-spacing-2xs));height:calc(var(--eui-base-spacing-m) + var(--eui-base-spacing-2xs));padding:calc(var(--eui-base-spacing-2xs) / 2) calc(var(--eui-base-spacing-s) / 2);font-size:var(--eui-base-font-size-xs)!important;line-height:var(--eui-base-font-size-m)!important}.euim-badge--size-l{height:var(--eui-base-spacing-l);min-width:var(--eui-base-spacing-l);padding:var(--eui-base-spacing-2xs) var(--eui-base-spacing-xs);font-size:var(--eui-base-font-size-s)!important;line-height:var(--eui-base-font-size-m)!important}\n"] }]
|
|
1947
1176
|
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { cssClasses: [{
|
|
1948
1177
|
type: HostBinding,
|
|
1949
1178
|
args: ['class']
|
|
@@ -1974,16 +1203,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
1974
1203
|
|
|
1975
1204
|
class EuimMessageComponent {
|
|
1976
1205
|
get icon() {
|
|
1977
|
-
if (this.baseStatesDirective.
|
|
1206
|
+
if (this.baseStatesDirective.color === 'warning') {
|
|
1978
1207
|
return 'alert-circle';
|
|
1979
1208
|
}
|
|
1980
|
-
if (this.baseStatesDirective.
|
|
1209
|
+
if (this.baseStatesDirective.color === 'danger') {
|
|
1981
1210
|
return 'close-circle';
|
|
1982
1211
|
}
|
|
1983
|
-
if (this.baseStatesDirective.
|
|
1212
|
+
if (this.baseStatesDirective.color === 'success') {
|
|
1984
1213
|
return 'checkmark-circle';
|
|
1985
1214
|
}
|
|
1986
|
-
if (this.baseStatesDirective.
|
|
1215
|
+
if (this.baseStatesDirective.color === 'info' || (this.baseStatesDirective.color !== 'warning' && this.baseStatesDirective.color !== 'danger' && this.baseStatesDirective.color !== 'success' && this.baseStatesDirective.color !== 'info')) {
|
|
1987
1216
|
return 'information-circle';
|
|
1988
1217
|
}
|
|
1989
1218
|
}
|
|
@@ -1996,14 +1225,14 @@ class EuimMessageComponent {
|
|
|
1996
1225
|
getCssClasses() {
|
|
1997
1226
|
return [
|
|
1998
1227
|
this.baseStatesDirective.getCssClasses('euim-message'),
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
1228
|
+
this.baseStatesDirective.color !== 'warning' &&
|
|
1229
|
+
this.baseStatesDirective.color !== 'danger' &&
|
|
1230
|
+
this.baseStatesDirective.color !== 'success' &&
|
|
1231
|
+
this.baseStatesDirective.color !== 'info' ? 'euim-message--info' : '',
|
|
2003
1232
|
].join(' ');
|
|
2004
1233
|
}
|
|
2005
1234
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMessageComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2006
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimMessageComponent, selector: "euim-message", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
1235
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimMessageComponent, selector: "euim-message", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<div class=\"euim-message__wrappericon\">\n <ion-icon [name]=\"icon\" class=\"euim-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-message__wrapper\">\n <ng-content select=\"euim-message-title\"></ng-content>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-message{border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;padding:0;margin:0 0 var(--eui-base-spacing-xs)}\n"], dependencies: [{ kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2007
1236
|
}
|
|
2008
1237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMessageComponent, decorators: [{
|
|
2009
1238
|
type: Component,
|
|
@@ -2011,13 +1240,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2011
1240
|
{
|
|
2012
1241
|
directive: BaseStatesDirective,
|
|
2013
1242
|
inputs: [
|
|
2014
|
-
'euimInfo',
|
|
2015
|
-
'euimSuccess',
|
|
2016
|
-
'euimWarning',
|
|
2017
|
-
'euimDanger',
|
|
2018
|
-
'euimVariant',
|
|
2019
1243
|
'color',
|
|
2020
|
-
'variant',
|
|
2021
1244
|
],
|
|
2022
1245
|
},
|
|
2023
1246
|
], template: "<div class=\"euim-message__wrappericon\">\n <ion-icon [name]=\"icon\" class=\"euim-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-message__wrapper\">\n <ng-content select=\"euim-message-title\"></ng-content>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-message{border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;padding:0;margin:0 0 var(--eui-base-spacing-xs)}\n"] }]
|
|
@@ -2069,177 +1292,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2069
1292
|
}]
|
|
2070
1293
|
}] });
|
|
2071
1294
|
|
|
2072
|
-
class EuimStepperChangeEvent {
|
|
2073
|
-
constructor(currentStep) {
|
|
2074
|
-
this.currentStep = currentStep;
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
class EuimStepperComponent {
|
|
2078
|
-
constructor() {
|
|
2079
|
-
this.currentStep = 1;
|
|
2080
|
-
this.stepsCount = 5;
|
|
2081
|
-
this.isPreviousDisabled = true;
|
|
2082
|
-
this.isNextDisabled = false;
|
|
2083
|
-
this.previous = new EventEmitter();
|
|
2084
|
-
this.next = new EventEmitter();
|
|
2085
|
-
}
|
|
2086
|
-
onPrevious() {
|
|
2087
|
-
if (this.currentStep > 1) {
|
|
2088
|
-
this.currentStep -= 1;
|
|
2089
|
-
}
|
|
2090
|
-
this.updateActionsState();
|
|
2091
|
-
this.previous.emit(new EuimStepperChangeEvent(this.currentStep));
|
|
2092
|
-
}
|
|
2093
|
-
onNext() {
|
|
2094
|
-
if (this.currentStep < this.stepsCount) {
|
|
2095
|
-
this.currentStep += 1;
|
|
2096
|
-
}
|
|
2097
|
-
this.updateActionsState();
|
|
2098
|
-
this.next.emit(new EuimStepperChangeEvent(this.currentStep));
|
|
2099
|
-
}
|
|
2100
|
-
updateActionsState() {
|
|
2101
|
-
this.isPreviousDisabled = this.currentStep <= 1;
|
|
2102
|
-
this.isNextDisabled = this.currentStep >= this.stepsCount;
|
|
2103
|
-
}
|
|
2104
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2105
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimStepperComponent, selector: "euim-stepper", inputs: { currentStep: "currentStep", stepsCount: "stepsCount", isPreviousDisabled: "isPreviousDisabled", isNextDisabled: "isNextDisabled" }, outputs: { previous: "previous", next: "next" }, ngImport: i0, template: "<ion-footer>\n <ion-footer fill=\"clear\">\n <ion-toolbar color=\"light\">\n <ion-row class=\"ion-align-items-center\">\n <ion-col class=\"ion-text-start\">\n <ion-button\n (click)=\"onPrevious()\"\n [disabled]=\"isPreviousDisabled\"\n fill=\"clear\"\n size=\"small\">\n <ion-icon name=\"chevron-back-outline\" slot=\"start\"></ion-icon>\n <ion-label>{{ 'euim.stepper.previous' | translate }}</ion-label>\n </ion-button>\n </ion-col>\n\n <ion-col class=\"ion-text-center\">\n <ion-label color=\"primary\">\n {{ currentStep }} {{ 'euim.stepper.of' | translate }} {{stepsCount }}\n </ion-label>\n </ion-col>\n\n <ion-col class=\"ion-text-end\">\n <ion-button\n (click)=\"onNext()\"\n [disabled]=\"isNextDisabled\"\n fill=\"clear\"\n size=\"small\">\n <ion-label>{{ 'euim.stepper.next' | translate }}</ion-label>\n <ion-icon name=\"chevron-forward-outline\" slot=\"end\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-toolbar>\n </ion-footer>\n</ion-footer>\n", dependencies: [{ kind: "component", type: i1.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: i1.IonCol, selector: "ion-col", inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"] }, { kind: "component", type: i1.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonRow, selector: "ion-row" }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2106
|
-
}
|
|
2107
|
-
__decorate([
|
|
2108
|
-
coerceBoolean
|
|
2109
|
-
], EuimStepperComponent.prototype, "isPreviousDisabled", void 0);
|
|
2110
|
-
__decorate([
|
|
2111
|
-
coerceBoolean
|
|
2112
|
-
], EuimStepperComponent.prototype, "isNextDisabled", void 0);
|
|
2113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponent, decorators: [{
|
|
2114
|
-
type: Component,
|
|
2115
|
-
args: [{ selector: 'euim-stepper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-footer>\n <ion-footer fill=\"clear\">\n <ion-toolbar color=\"light\">\n <ion-row class=\"ion-align-items-center\">\n <ion-col class=\"ion-text-start\">\n <ion-button\n (click)=\"onPrevious()\"\n [disabled]=\"isPreviousDisabled\"\n fill=\"clear\"\n size=\"small\">\n <ion-icon name=\"chevron-back-outline\" slot=\"start\"></ion-icon>\n <ion-label>{{ 'euim.stepper.previous' | translate }}</ion-label>\n </ion-button>\n </ion-col>\n\n <ion-col class=\"ion-text-center\">\n <ion-label color=\"primary\">\n {{ currentStep }} {{ 'euim.stepper.of' | translate }} {{stepsCount }}\n </ion-label>\n </ion-col>\n\n <ion-col class=\"ion-text-end\">\n <ion-button\n (click)=\"onNext()\"\n [disabled]=\"isNextDisabled\"\n fill=\"clear\"\n size=\"small\">\n <ion-label>{{ 'euim.stepper.next' | translate }}</ion-label>\n <ion-icon name=\"chevron-forward-outline\" slot=\"end\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-toolbar>\n </ion-footer>\n</ion-footer>\n" }]
|
|
2116
|
-
}], propDecorators: { currentStep: [{
|
|
2117
|
-
type: Input
|
|
2118
|
-
}], stepsCount: [{
|
|
2119
|
-
type: Input
|
|
2120
|
-
}], isPreviousDisabled: [{
|
|
2121
|
-
type: Input
|
|
2122
|
-
}], isNextDisabled: [{
|
|
2123
|
-
type: Input
|
|
2124
|
-
}], previous: [{
|
|
2125
|
-
type: Output
|
|
2126
|
-
}], next: [{
|
|
2127
|
-
type: Output
|
|
2128
|
-
}] } });
|
|
2129
|
-
|
|
2130
|
-
class EuimStepperComponentModule {
|
|
2131
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2132
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponentModule, declarations: [EuimStepperComponent], imports: [CommonModule,
|
|
2133
|
-
IonicModule,
|
|
2134
|
-
TranslateModule], exports: [EuimStepperComponent] }); }
|
|
2135
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponentModule, imports: [CommonModule,
|
|
2136
|
-
IonicModule,
|
|
2137
|
-
TranslateModule] }); }
|
|
2138
|
-
}
|
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimStepperComponentModule, decorators: [{
|
|
2140
|
-
type: NgModule,
|
|
2141
|
-
args: [{
|
|
2142
|
-
imports: [
|
|
2143
|
-
CommonModule,
|
|
2144
|
-
IonicModule,
|
|
2145
|
-
TranslateModule,
|
|
2146
|
-
],
|
|
2147
|
-
exports: [
|
|
2148
|
-
EuimStepperComponent,
|
|
2149
|
-
],
|
|
2150
|
-
declarations: [
|
|
2151
|
-
EuimStepperComponent,
|
|
2152
|
-
],
|
|
2153
|
-
}]
|
|
2154
|
-
}] });
|
|
2155
|
-
|
|
2156
|
-
class EuimFieldSetComponent {
|
|
2157
|
-
constructor() {
|
|
2158
|
-
this.className = 'euim-fieldset';
|
|
2159
|
-
}
|
|
2160
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2161
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimFieldSetComponent, selector: "euim-fieldset", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<div>\n <div class=\"euim-fieldset__header\">\n <ng-content select=\"euim-fieldset-legend\"></ng-content>\n <ng-content select=\"euim-fieldset-actions\"></ng-content>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-fieldset{display:block}.euim-fieldset__header{display:flex;align-items:center;justify-content:space-between;padding-top:var(--eui-base-spacing-m);border-bottom:1px solid var(--eui-base-color-grey-20);width:100%}.euim-fieldset-legend{display:flex;align-items:center;@eui-font (xl);margin-bottom:var(--eui-base-spacing-xs)}.euim-fieldset-legend ion-icon{margin-right:var(--eui-base-spacing-xs)}.euim-fieldset-actions{display:flex;align-items:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2162
|
-
}
|
|
2163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldSetComponent, decorators: [{
|
|
2164
|
-
type: Component,
|
|
2165
|
-
args: [{ selector: 'euim-fieldset', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div>\n <div class=\"euim-fieldset__header\">\n <ng-content select=\"euim-fieldset-legend\"></ng-content>\n <ng-content select=\"euim-fieldset-actions\"></ng-content>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-fieldset{display:block}.euim-fieldset__header{display:flex;align-items:center;justify-content:space-between;padding-top:var(--eui-base-spacing-m);border-bottom:1px solid var(--eui-base-color-grey-20);width:100%}.euim-fieldset-legend{display:flex;align-items:center;@eui-font (xl);margin-bottom:var(--eui-base-spacing-xs)}.euim-fieldset-legend ion-icon{margin-right:var(--eui-base-spacing-xs)}.euim-fieldset-actions{display:flex;align-items:center}\n"] }]
|
|
2166
|
-
}], propDecorators: { className: [{
|
|
2167
|
-
type: HostBinding,
|
|
2168
|
-
args: ['class']
|
|
2169
|
-
}] } });
|
|
2170
|
-
|
|
2171
|
-
class EuimFieldsetLegendComponent {
|
|
2172
|
-
constructor() {
|
|
2173
|
-
this.className = 'euim-fieldset-legend';
|
|
2174
|
-
}
|
|
2175
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2176
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimFieldsetLegendComponent, selector: "euim-fieldset-legend", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2177
|
-
}
|
|
2178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetLegendComponent, decorators: [{
|
|
2179
|
-
type: Component,
|
|
2180
|
-
args: [{ selector: 'euim-fieldset-legend', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n" }]
|
|
2181
|
-
}], propDecorators: { className: [{
|
|
2182
|
-
type: HostBinding,
|
|
2183
|
-
args: ['class']
|
|
2184
|
-
}] } });
|
|
2185
|
-
|
|
2186
|
-
class EuimFieldsetActionsComponent {
|
|
2187
|
-
constructor() {
|
|
2188
|
-
this.className = 'euim-fieldset-actions';
|
|
2189
|
-
}
|
|
2190
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2191
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimFieldsetActionsComponent, selector: "euim-fieldset-actions", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2192
|
-
}
|
|
2193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetActionsComponent, decorators: [{
|
|
2194
|
-
type: Component,
|
|
2195
|
-
args: [{ selector: 'euim-fieldset-actions', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n" }]
|
|
2196
|
-
}], propDecorators: { className: [{
|
|
2197
|
-
type: HostBinding,
|
|
2198
|
-
args: ['class']
|
|
2199
|
-
}] } });
|
|
2200
|
-
|
|
2201
|
-
const COMPONENTS$9 = [
|
|
2202
|
-
EuimFieldSetComponent,
|
|
2203
|
-
EuimFieldsetLegendComponent,
|
|
2204
|
-
EuimFieldsetActionsComponent,
|
|
2205
|
-
];
|
|
2206
|
-
class EuimFieldsetModule {
|
|
2207
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2208
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetModule, declarations: [EuimFieldSetComponent,
|
|
2209
|
-
EuimFieldsetLegendComponent,
|
|
2210
|
-
EuimFieldsetActionsComponent], imports: [CommonModule,
|
|
2211
|
-
IonicModule], exports: [EuimFieldSetComponent,
|
|
2212
|
-
EuimFieldsetLegendComponent,
|
|
2213
|
-
EuimFieldsetActionsComponent] }); }
|
|
2214
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetModule, imports: [CommonModule,
|
|
2215
|
-
IonicModule] }); }
|
|
2216
|
-
}
|
|
2217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimFieldsetModule, decorators: [{
|
|
2218
|
-
type: NgModule,
|
|
2219
|
-
args: [{
|
|
2220
|
-
imports: [
|
|
2221
|
-
CommonModule,
|
|
2222
|
-
IonicModule,
|
|
2223
|
-
],
|
|
2224
|
-
exports: [
|
|
2225
|
-
...COMPONENTS$9,
|
|
2226
|
-
],
|
|
2227
|
-
declarations: [
|
|
2228
|
-
...COMPONENTS$9,
|
|
2229
|
-
],
|
|
2230
|
-
}]
|
|
2231
|
-
}] });
|
|
2232
|
-
|
|
2233
1295
|
class EuimSpinnerComponent {
|
|
2234
1296
|
constructor() {
|
|
2235
1297
|
this.className = 'euim-spinner';
|
|
2236
1298
|
}
|
|
2237
1299
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2238
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimSpinnerComponent, selector: "euim-spinner", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ion-spinner class=\"euim-spinner__icon\">\n</ion-spinner>\n<ng-content>\n</ng-content>\n\n\n", styles: [".euim-spinner{width:100%;margin:0;padding:0}.euim-spinner__icon{width:100%;height:var(--eui-base-spacing-2xl);color:var(--eui-base-color-primary)}.euim-spinner--size-2xs{font-size:var(--eui-base-font-size-2xs)}.euim-spinner--size-xs{font-size:var(--eui-base-font-size-xs)}.euim-spinner--size-s{font-size:var(--eui-base-font-size-s)}.euim-spinner--size-m{font-size:var(--eui-base-font-size-m)}.euim-spinner--size-l{font-size:var(--eui-base-font-size-l)}.euim-spinner--size-xl{font-size:var(--eui-base-font-size-xl)}.euim-spinner--size-2xl{font-size:var(--eui-base-font-size-2xl)}.euim-spinner--size-3xl{font-size:var(--eui-base-font-size-3xl)}.euim-spinner--size-4xl{font-size:var(--eui-base-font-size-4xl)}.euim-spinner--primary{color:var(--eui-base-color-primary-100)}.euim-spinner--secondary{color:var(--eui-base-color-grey-50)}.euim-spinner--info{color:var(--eui-base-color-info-100)}.euim-spinner--success{color:var(--eui-base-color-success-100)}.euim-spinner--warning{color:var(--eui-base-color-warning-100)}.euim-spinner--danger{color:var(--eui-base-color-danger-100)}.euim-spinner--accent{color:var(--eui-base-color-accent-100)}.euim-spinner-message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;display:flex;justify-content:center;color:var(--eui-base-color-grey-75)}.euim-spinner-description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);display:flex;justify-content:center;color:var(--eui-base-color-grey-75);margin-top:var(--eui-base-spacing-2xs)}\n"], dependencies: [{ kind: "component", type: i1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1300
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimSpinnerComponent, selector: "euim-spinner", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ion-spinner class=\"euim-spinner__icon\">\n</ion-spinner>\n<ng-content>\n</ng-content>\n\n\n", styles: [".euim-spinner{width:100%;margin:0;padding:0}.euim-spinner__icon{width:100%;height:var(--eui-base-spacing-2xl);color:var(--eui-base-color-primary-100)}.euim-spinner--size-2xs{font-size:var(--eui-base-font-size-2xs)}.euim-spinner--size-xs{font-size:var(--eui-base-font-size-xs)}.euim-spinner--size-s{font-size:var(--eui-base-font-size-s)}.euim-spinner--size-m{font-size:var(--eui-base-font-size-m)}.euim-spinner--size-l{font-size:var(--eui-base-font-size-l)}.euim-spinner--size-xl{font-size:var(--eui-base-font-size-xl)}.euim-spinner--size-2xl{font-size:var(--eui-base-font-size-2xl)}.euim-spinner--size-3xl{font-size:var(--eui-base-font-size-3xl)}.euim-spinner--size-4xl{font-size:var(--eui-base-font-size-4xl)}.euim-spinner--primary{color:var(--eui-base-color-primary-100)}.euim-spinner--secondary{color:var(--eui-base-color-grey-50)}.euim-spinner--info{color:var(--eui-base-color-info-100)}.euim-spinner--success{color:var(--eui-base-color-success-100)}.euim-spinner--warning{color:var(--eui-base-color-warning-100)}.euim-spinner--danger{color:var(--eui-base-color-danger-100)}.euim-spinner--accent{color:var(--eui-base-color-accent-100)}.euim-spinner-message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;display:flex;justify-content:center;color:var(--eui-base-color-grey-75)}.euim-spinner-description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);display:flex;justify-content:center;color:var(--eui-base-color-grey-75);margin-top:var(--eui-base-spacing-2xs)}\n"], dependencies: [{ kind: "component", type: i1.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
2239
1301
|
}
|
|
2240
1302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSpinnerComponent, decorators: [{
|
|
2241
1303
|
type: Component,
|
|
2242
|
-
args: [{ selector: 'euim-spinner', encapsulation: ViewEncapsulation.None, template: "<ion-spinner class=\"euim-spinner__icon\">\n</ion-spinner>\n<ng-content>\n</ng-content>\n\n\n", styles: [".euim-spinner{width:100%;margin:0;padding:0}.euim-spinner__icon{width:100%;height:var(--eui-base-spacing-2xl);color:var(--eui-base-color-primary)}.euim-spinner--size-2xs{font-size:var(--eui-base-font-size-2xs)}.euim-spinner--size-xs{font-size:var(--eui-base-font-size-xs)}.euim-spinner--size-s{font-size:var(--eui-base-font-size-s)}.euim-spinner--size-m{font-size:var(--eui-base-font-size-m)}.euim-spinner--size-l{font-size:var(--eui-base-font-size-l)}.euim-spinner--size-xl{font-size:var(--eui-base-font-size-xl)}.euim-spinner--size-2xl{font-size:var(--eui-base-font-size-2xl)}.euim-spinner--size-3xl{font-size:var(--eui-base-font-size-3xl)}.euim-spinner--size-4xl{font-size:var(--eui-base-font-size-4xl)}.euim-spinner--primary{color:var(--eui-base-color-primary-100)}.euim-spinner--secondary{color:var(--eui-base-color-grey-50)}.euim-spinner--info{color:var(--eui-base-color-info-100)}.euim-spinner--success{color:var(--eui-base-color-success-100)}.euim-spinner--warning{color:var(--eui-base-color-warning-100)}.euim-spinner--danger{color:var(--eui-base-color-danger-100)}.euim-spinner--accent{color:var(--eui-base-color-accent-100)}.euim-spinner-message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;display:flex;justify-content:center;color:var(--eui-base-color-grey-75)}.euim-spinner-description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);display:flex;justify-content:center;color:var(--eui-base-color-grey-75);margin-top:var(--eui-base-spacing-2xs)}\n"] }]
|
|
1304
|
+
args: [{ selector: 'euim-spinner', encapsulation: ViewEncapsulation.None, template: "<ion-spinner class=\"euim-spinner__icon\">\n</ion-spinner>\n<ng-content>\n</ng-content>\n\n\n", styles: [".euim-spinner{width:100%;margin:0;padding:0}.euim-spinner__icon{width:100%;height:var(--eui-base-spacing-2xl);color:var(--eui-base-color-primary-100)}.euim-spinner--size-2xs{font-size:var(--eui-base-font-size-2xs)}.euim-spinner--size-xs{font-size:var(--eui-base-font-size-xs)}.euim-spinner--size-s{font-size:var(--eui-base-font-size-s)}.euim-spinner--size-m{font-size:var(--eui-base-font-size-m)}.euim-spinner--size-l{font-size:var(--eui-base-font-size-l)}.euim-spinner--size-xl{font-size:var(--eui-base-font-size-xl)}.euim-spinner--size-2xl{font-size:var(--eui-base-font-size-2xl)}.euim-spinner--size-3xl{font-size:var(--eui-base-font-size-3xl)}.euim-spinner--size-4xl{font-size:var(--eui-base-font-size-4xl)}.euim-spinner--primary{color:var(--eui-base-color-primary-100)}.euim-spinner--secondary{color:var(--eui-base-color-grey-50)}.euim-spinner--info{color:var(--eui-base-color-info-100)}.euim-spinner--success{color:var(--eui-base-color-success-100)}.euim-spinner--warning{color:var(--eui-base-color-warning-100)}.euim-spinner--danger{color:var(--eui-base-color-danger-100)}.euim-spinner--accent{color:var(--eui-base-color-accent-100)}.euim-spinner-message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;display:flex;justify-content:center;color:var(--eui-base-color-grey-75)}.euim-spinner-description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);display:flex;justify-content:center;color:var(--eui-base-color-grey-75);margin-top:var(--eui-base-spacing-2xs)}\n"] }]
|
|
2243
1305
|
}], propDecorators: { className: [{
|
|
2244
1306
|
type: HostBinding,
|
|
2245
1307
|
args: ['class']
|
|
@@ -2336,11 +1398,8 @@ class EuimMediaHeaderComponent {
|
|
|
2336
1398
|
].join(' ').trim();
|
|
2337
1399
|
}
|
|
2338
1400
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMediaHeaderComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2339
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1401
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimMediaHeaderComponent, selector: "euim-media-header", inputs: { euimNoGradient: ["euimNoGradient", "euimNoGradient", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimSizeM", "euimSizeM", "euimSizeS", "euimSizeS", "euimSizeL", "euimSizeL"] }], ngImport: i0, template: "<ng-content select=\"[euimMediaHeaderImage]\"></ng-content>\n@if (!euimNoGradient) {\n <div class=\"euim-media-header__gradient\">\n </div>\n}\n<div class=\"euim-media-header__text\">\n <ng-content></ng-content>\n</div>\n", styles: [".euim-media-header{position:relative;display:flex}.euim-media-header__text{position:absolute;bottom:var(--eui-base-spacing-m);color:#fff;padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-m)}.euim-media-header__text .euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__text .euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__gradient{width:100%;height:100%;background:linear-gradient(to bottom,#fff0,#000);background-blend-mode:multiply;background-size:100%;position:absolute;inset:0}.euim-media-header__image{width:100%;height:100%;object-fit:cover}.euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__title+.euim-media-header__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-media-header__size-s{height:calc(var(--eui-base-spacing-m) * 8)}.euim-media-header__size-m{height:calc(var(--eui-base-spacing-m) * 16)}.euim-media-header__size-l{height:calc(var(--eui-base-spacing-m) * 25)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2340
1402
|
}
|
|
2341
|
-
__decorate([
|
|
2342
|
-
coerceBoolean
|
|
2343
|
-
], EuimMediaHeaderComponent.prototype, "euimNoGradient", void 0);
|
|
2344
1403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMediaHeaderComponent, decorators: [{
|
|
2345
1404
|
type: Component,
|
|
2346
1405
|
args: [{ selector: 'euim-media-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
@@ -2352,9 +1411,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2352
1411
|
'euimSizeL',
|
|
2353
1412
|
],
|
|
2354
1413
|
},
|
|
2355
|
-
], template: "<ng-content select=\"[euimMediaHeaderImage]\"></ng-content>\n
|
|
1414
|
+
], template: "<ng-content select=\"[euimMediaHeaderImage]\"></ng-content>\n@if (!euimNoGradient) {\n <div class=\"euim-media-header__gradient\">\n </div>\n}\n<div class=\"euim-media-header__text\">\n <ng-content></ng-content>\n</div>\n", styles: [".euim-media-header{position:relative;display:flex}.euim-media-header__text{position:absolute;bottom:var(--eui-base-spacing-m);color:#fff;padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-m)}.euim-media-header__text .euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__text .euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__gradient{width:100%;height:100%;background:linear-gradient(to bottom,#fff0,#000);background-blend-mode:multiply;background-size:100%;position:absolute;inset:0}.euim-media-header__image{width:100%;height:100%;object-fit:cover}.euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__title+.euim-media-header__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-media-header__size-s{height:calc(var(--eui-base-spacing-m) * 8)}.euim-media-header__size-m{height:calc(var(--eui-base-spacing-m) * 16)}.euim-media-header__size-l{height:calc(var(--eui-base-spacing-m) * 25)}\n"] }]
|
|
2356
1415
|
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { euimNoGradient: [{
|
|
2357
|
-
type: Input
|
|
1416
|
+
type: Input,
|
|
1417
|
+
args: [{ transform: booleanAttribute }]
|
|
2358
1418
|
}], cssClasses: [{
|
|
2359
1419
|
type: HostBinding,
|
|
2360
1420
|
args: ['class']
|
|
@@ -2411,7 +1471,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2411
1471
|
args: ['class']
|
|
2412
1472
|
}] } });
|
|
2413
1473
|
|
|
2414
|
-
const COMPONENTS$
|
|
1474
|
+
const COMPONENTS$9 = [
|
|
2415
1475
|
EuimMediaHeaderComponent,
|
|
2416
1476
|
EuimMediaHeaderTitleDirective,
|
|
2417
1477
|
EuimMediaHeaderSubTitleDirective,
|
|
@@ -2438,10 +1498,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2438
1498
|
IonicModule,
|
|
2439
1499
|
],
|
|
2440
1500
|
exports: [
|
|
2441
|
-
...COMPONENTS$
|
|
1501
|
+
...COMPONENTS$9,
|
|
2442
1502
|
],
|
|
2443
1503
|
declarations: [
|
|
2444
|
-
...COMPONENTS$
|
|
1504
|
+
...COMPONENTS$9,
|
|
2445
1505
|
],
|
|
2446
1506
|
}]
|
|
2447
1507
|
}] });
|
|
@@ -2459,7 +1519,7 @@ class EuimDataSummaryColLabelDirective {
|
|
|
2459
1519
|
].join(' ').trim();
|
|
2460
1520
|
}
|
|
2461
1521
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDataSummaryColLabelDirective, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2462
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimDataSummaryColLabelDirective, selector: "[euimDataSummaryColLabel]", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
1522
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimDataSummaryColLabelDirective, selector: "[euimDataSummaryColLabel]", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0 }); }
|
|
2463
1523
|
}
|
|
2464
1524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDataSummaryColLabelDirective, decorators: [{
|
|
2465
1525
|
type: Directive,
|
|
@@ -2469,7 +1529,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2469
1529
|
{
|
|
2470
1530
|
directive: BaseStatesDirective,
|
|
2471
1531
|
inputs: [
|
|
2472
|
-
'
|
|
1532
|
+
'color',
|
|
2473
1533
|
],
|
|
2474
1534
|
},
|
|
2475
1535
|
],
|
|
@@ -2519,18 +1579,18 @@ class EuimDataSummaryComponent {
|
|
|
2519
1579
|
ngAfterContentInit() {
|
|
2520
1580
|
if (this.euimDataSummaryColLabelComponent
|
|
2521
1581
|
&& this.euimDataSummaryColValueComponent) {
|
|
2522
|
-
if (this.baseStatesDirective.
|
|
1582
|
+
if (this.baseStatesDirective.color) {
|
|
2523
1583
|
this.euimDataSummaryColLabelComponent.forEach(item => {
|
|
2524
|
-
item.baseStatesDirective.
|
|
1584
|
+
item.baseStatesDirective.color = 'primary';
|
|
2525
1585
|
});
|
|
2526
1586
|
this.euimDataSummaryColValueComponent.forEach(item => {
|
|
2527
|
-
item.baseStatesDirective.
|
|
1587
|
+
item.baseStatesDirective.color = 'primary';
|
|
2528
1588
|
});
|
|
2529
1589
|
}
|
|
2530
1590
|
}
|
|
2531
1591
|
}
|
|
2532
1592
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDataSummaryComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2533
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimDataSummaryComponent, selector: "euim-data-summary", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euimDataSummaryColLabelComponent", predicate: EuimDataSummaryColLabelDirective, descendants: true }, { propertyName: "euimDataSummaryColValueComponent", predicate: EuimDataSummaryColValueDirective, descendants: true }], hostDirectives: [{ directive: BaseStatesDirective, inputs: ["
|
|
1593
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimDataSummaryComponent, selector: "euim-data-summary", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euimDataSummaryColLabelComponent", predicate: EuimDataSummaryColLabelDirective, descendants: true }, { propertyName: "euimDataSummaryColValueComponent", predicate: EuimDataSummaryColValueDirective, descendants: true }], hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-data-summary{display:flex;width:100%;padding:var(--eui-base-spacing-s);border-bottom:1px solid var(--eui-base-color-grey-20);border-top:1px solid var(--eui-base-color-grey-20)}.euim-data-summary--primary{background-color:var(--eui-base-color-primary-100);border-bottom:0;border-top:0}.euim-data-summary__col{width:100%;text-align:center}.euim-data-summary__col+.euim-data-summary__col{border-left:1px solid var(--eui-base-color-grey-20)}.euim-data-summary__col-label{color:var(--eui-base-color-grey-100);font:var(--eui-base-font-m);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs)}.euim-data-summary__col-label--primary{color:var(--eui-base-color-white)}.euim-data-summary__col-value{color:var(--eui-base-color-grey-75);font:var(--eui-base-font-s)}.euim-data-summary__col-value--primary{color:var(--eui-base-color-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2534
1594
|
}
|
|
2535
1595
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDataSummaryComponent, decorators: [{
|
|
2536
1596
|
type: Component,
|
|
@@ -2538,7 +1598,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2538
1598
|
{
|
|
2539
1599
|
directive: BaseStatesDirective,
|
|
2540
1600
|
inputs: [
|
|
2541
|
-
'euimPrimary',
|
|
2542
1601
|
'color',
|
|
2543
1602
|
],
|
|
2544
1603
|
},
|
|
@@ -2572,7 +1631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2572
1631
|
args: ['class']
|
|
2573
1632
|
}] } });
|
|
2574
1633
|
|
|
2575
|
-
const COMPONENTS$
|
|
1634
|
+
const COMPONENTS$8 = [
|
|
2576
1635
|
EuimDataSummaryComponent,
|
|
2577
1636
|
EuimDataSummaryColComponent,
|
|
2578
1637
|
EuimDataSummaryColLabelDirective,
|
|
@@ -2599,10 +1658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2599
1658
|
IonicModule,
|
|
2600
1659
|
],
|
|
2601
1660
|
exports: [
|
|
2602
|
-
...COMPONENTS$
|
|
1661
|
+
...COMPONENTS$8,
|
|
2603
1662
|
],
|
|
2604
1663
|
declarations: [
|
|
2605
|
-
...COMPONENTS$
|
|
1664
|
+
...COMPONENTS$8,
|
|
2606
1665
|
],
|
|
2607
1666
|
}]
|
|
2608
1667
|
}] });
|
|
@@ -2612,11 +1671,11 @@ class EuimAvatarComponent {
|
|
|
2612
1671
|
this.className = 'euim-avatar';
|
|
2613
1672
|
}
|
|
2614
1673
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2615
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAvatarComponent, selector: "euim-avatar", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1674
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimAvatarComponent, selector: "euim-avatar", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar__sub-icon .euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2616
1675
|
}
|
|
2617
1676
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAvatarComponent, decorators: [{
|
|
2618
1677
|
type: Component,
|
|
2619
|
-
args: [{ selector: 'euim-avatar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"] }]
|
|
1678
|
+
args: [{ selector: 'euim-avatar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar__sub-icon .euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"] }]
|
|
2620
1679
|
}], propDecorators: { className: [{
|
|
2621
1680
|
type: HostBinding,
|
|
2622
1681
|
args: ['class']
|
|
@@ -2656,7 +1715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2656
1715
|
args: ['class']
|
|
2657
1716
|
}] } });
|
|
2658
1717
|
|
|
2659
|
-
const COMPONENTS$
|
|
1718
|
+
const COMPONENTS$7 = [
|
|
2660
1719
|
EuimAvatarComponent,
|
|
2661
1720
|
EuimAvatarSubIconDirective,
|
|
2662
1721
|
EuimAvatarMainIconDirective,
|
|
@@ -2680,10 +1739,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2680
1739
|
IonicModule,
|
|
2681
1740
|
],
|
|
2682
1741
|
exports: [
|
|
2683
|
-
...COMPONENTS$
|
|
1742
|
+
...COMPONENTS$7,
|
|
2684
1743
|
],
|
|
2685
1744
|
declarations: [
|
|
2686
|
-
...COMPONENTS$
|
|
1745
|
+
...COMPONENTS$7,
|
|
2687
1746
|
],
|
|
2688
1747
|
}]
|
|
2689
1748
|
}] });
|
|
@@ -2704,29 +1763,8 @@ class EuimAlertMessageComponent {
|
|
|
2704
1763
|
}
|
|
2705
1764
|
}
|
|
2706
1765
|
setVariants() {
|
|
2707
|
-
if (this.baseStatesDirective.
|
|
2708
|
-
this._variant =
|
|
2709
|
-
}
|
|
2710
|
-
else if (this.baseStatesDirective.euimSuccess) {
|
|
2711
|
-
this._variant = 'success';
|
|
2712
|
-
}
|
|
2713
|
-
else if (this.baseStatesDirective.euimDanger) {
|
|
2714
|
-
this._variant = 'danger';
|
|
2715
|
-
}
|
|
2716
|
-
else if (this.baseStatesDirective.euimPrimary) {
|
|
2717
|
-
this._variant = 'primary';
|
|
2718
|
-
}
|
|
2719
|
-
else if (this.baseStatesDirective.euimDark) {
|
|
2720
|
-
this._variant = 'dark';
|
|
2721
|
-
}
|
|
2722
|
-
else if (this.baseStatesDirective.euimWarning) {
|
|
2723
|
-
this._variant = 'warning';
|
|
2724
|
-
}
|
|
2725
|
-
else if (this.baseStatesDirective.euimLight) {
|
|
2726
|
-
this._variant = 'light';
|
|
2727
|
-
}
|
|
2728
|
-
else if (this.baseStatesDirective.euimClear) {
|
|
2729
|
-
this._variant = 'clear';
|
|
1766
|
+
if (this.baseStatesDirective.color) {
|
|
1767
|
+
this._variant = this.baseStatesDirective.color;
|
|
2730
1768
|
}
|
|
2731
1769
|
}
|
|
2732
1770
|
get icon() {
|
|
@@ -2769,50 +1807,35 @@ class EuimAlertMessageComponent {
|
|
|
2769
1807
|
this.euimClose.emit();
|
|
2770
1808
|
}
|
|
2771
1809
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAlertMessageComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2772
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1810
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimAlertMessageComponent, selector: "euim-alert-message", inputs: { euimLabelTruncate: ["euimLabelTruncate", "euimLabelTruncate", booleanAttribute], hasIcon: ["hasIcon", "hasIcon", booleanAttribute], isCloseable: ["isCloseable", "isCloseable", booleanAttribute] }, outputs: { euimClose: "euimClose" }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["color", "color"] }], ngImport: i0, template: "@if (hasIcon && isVisible) {\n <div class=\"euim-alert-message__wrappericon\">\n @if (hasIcon) {\n <ion-icon [name]=\"icon\" class=\"euim-alert-message__icon\"></ion-icon>\n }\n </div>\n}\n@if (isVisible) {\n <div class=\"euim-alert-message__wrapper\">\n <div class=\"slotStart\">\n <ng-content select=\"[slotStart]\"></ng-content>\n </div>\n <div euimLabel [euimLabelTruncate]=\"euimLabelTruncate\">\n <ng-content></ng-content>\n </div>\n <div class=\"slotEnd\">\n <ng-content select=\"[slotEnd]\"></ng-content>\n </div>\n </div>\n}\n\n@if (isCloseable && isVisible) {\n <a role=\"button\" aria-label=\"Close Icon Button\" class=\"euim-alert-message__close\"\n (click)=\"onClose($event)\">\n <ion-icon name=\"close-sharp\" class=\"euim-alert-message__closeIcon\"></ion-icon>\n </a>\n}\n", styles: [".euim-alert-message{width:100%;display:flex;align-items:center;font:normal normal 400 .875rem/1rem var(--eui-base-font-family);padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-xs);padding-top:var(--eui-base-spacing-xs);padding-bottom:var(--eui-base-spacing-xs)}.euim-alert-message__wrapper{padding:0;margin:0;min-width:1px;display:flex;align-items:center;position:relative;flex-grow:1}.euim-alert-message .slotEnd{display:flex;align-items:center;margin-inline-start:auto;padding-left:var(--eui-base-spacing-xs)}.euim-alert-message .slotEnd ion-icon{width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);display:flex}.euim-alert-message [slotStart]{display:flex;align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__icon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__closeIcon{align-items:center;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message__wrappericon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__close{padding:0;margin:0;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message a{cursor:pointer}.euim-alert-message ion-badge[slotEnd]{display:flex}.euim-alert-message--danger{color:var(--eui-base-color-danger-120);background:var(--eui-base-color-danger-25)}.euim-alert-message--danger .euim-label{color:var(--eui-base-color-danger-120)}.euim-alert-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--danger ion-badge[slotEnd],.euim-alert-message--danger ion-button[slotEnd],.euim-alert-message--danger ion-chip[slotEnd]{--background: var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.euim-alert-message--danger ion-badge[slotEnd] ion-icon,.euim-alert-message--danger ion-button[slotEnd] ion-icon,.euim-alert-message--danger ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--danger [slotEnd] ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--info{color:var(--eui-base-color-info-120);background:var(--eui-base-color-info-25)}.euim-alert-message--info .euim-label{color:var(--eui-base-color-info-120)}.euim-alert-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--info ion-badge[slotEnd],.euim-alert-message--info ion-button[slotEnd],.euim-alert-message--info ion-chip[slotEnd]{--background: var(--eui-base-color-info-100);color:var(--eui-base-color-white)}.euim-alert-message--info ion-badge[slotEnd] ion-icon,.euim-alert-message--info ion-button[slotEnd] ion-icon,.euim-alert-message--info ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--info [slotEnd] ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--success{color:var(--eui-base-color-success-120);background:var(--eui-base-color-success-25)}.euim-alert-message--success .euim-label{color:var(--eui-base-color-success-120)}.euim-alert-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--success ion-badge[slotEnd],.euim-alert-message--success ion-button[slotEnd],.euim-alert-message--success ion-chip[slotEnd]{--background: var(--eui-base-color-success-100);color:var(--eui-base-color-white)}.euim-alert-message--success ion-badge[slotEnd] ion-icon,.euim-alert-message--success ion-button[slotEnd] ion-icon,.euim-alert-message--success ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--success [slotEnd] ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--warning{color:var(--eui-base-color-warning-140);background:var(--eui-base-color-warning-25)}.euim-alert-message--warning .euim-label{color:var(--eui-base-color-warning-140)}.euim-alert-message--warning ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--warning ion-badge[slotEnd],.euim-alert-message--warning ion-button[slotEnd],.euim-alert-message--warning ion-chip[slotEnd]{--background: var(--eui-base-color-warning-120);color:var(--eui-base-color-white)}.euim-alert-message--warning ion-badge[slotEnd] ion-icon,.euim-alert-message--warning ion-button[slotEnd] ion-icon,.euim-alert-message--warning ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--warning [slotEnd] ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--dark{color:var(--eui-base-color-white);background:var(--eui-base-color-grey-100)}.euim-alert-message--dark ion-icon,.euim-alert-message--dark .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--dark [slotEnd]{--background: var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-alert-message--primary{color:var(--eui-base-color-white);background:var(--eui-base-color-primary-100)}.euim-alert-message--primary ion-icon,.euim-alert-message--primary .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--primary [slotEnd]{--background: none;--border-color: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-5)}.euim-alert-message--light{color:var(--eui-base-color-grey-100);background:var(--eui-base-color-grey-5)}.euim-alert-message--light ion-icon,.euim-alert-message--light .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--light [slotEnd]{--background: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-100)}.euim-alert-message--default{color:var(--eui-base-color-black);background:none}.euim-alert-message--default ion-icon,.euim-alert-message--default .euim-label{color:var(--eui-base-color-black)}.euim-alert-message--clear{color:var(--eui-base-color-grey-100);background:none}.euim-alert-message--clear ion-icon,.euim-alert-message--clear .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--hidden{display:none}.euim-alert-message [slotEnd]{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-alert-message ion-badge[slotEnd]{padding-right:var(--eui-base-spacing-xs);padding-left:var(--eui-base-spacing-xs)}.euim-alert-message ion-badge[slotEnd] ion-icon{padding-left:var(--eui-base-spacing-2xs)}\n"], dependencies: [{ kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2773
1811
|
}
|
|
2774
|
-
__decorate([
|
|
2775
|
-
coerceBoolean
|
|
2776
|
-
], EuimAlertMessageComponent.prototype, "euimLabelTruncate", void 0);
|
|
2777
|
-
__decorate([
|
|
2778
|
-
coerceBoolean
|
|
2779
|
-
], EuimAlertMessageComponent.prototype, "hasIcon", void 0);
|
|
2780
|
-
__decorate([
|
|
2781
|
-
coerceBoolean
|
|
2782
|
-
], EuimAlertMessageComponent.prototype, "isCloseable", void 0);
|
|
2783
1812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAlertMessageComponent, decorators: [{
|
|
2784
1813
|
type: Component,
|
|
2785
1814
|
args: [{ selector: 'euim-alert-message', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
2786
1815
|
{
|
|
2787
1816
|
directive: BaseStatesDirective,
|
|
2788
1817
|
inputs: [
|
|
2789
|
-
'euimInfo',
|
|
2790
|
-
'euimSuccess',
|
|
2791
|
-
'euimWarning',
|
|
2792
|
-
'euimDanger',
|
|
2793
|
-
'euimPrimary',
|
|
2794
|
-
'euimDark',
|
|
2795
|
-
'euimLight',
|
|
2796
|
-
'euimClear',
|
|
2797
|
-
'euimVariant',
|
|
2798
1818
|
'color',
|
|
2799
1819
|
],
|
|
2800
1820
|
},
|
|
2801
|
-
], template: "<div class=\"euim-alert-message__wrappericon\"
|
|
1821
|
+
], template: "@if (hasIcon && isVisible) {\n <div class=\"euim-alert-message__wrappericon\">\n @if (hasIcon) {\n <ion-icon [name]=\"icon\" class=\"euim-alert-message__icon\"></ion-icon>\n }\n </div>\n}\n@if (isVisible) {\n <div class=\"euim-alert-message__wrapper\">\n <div class=\"slotStart\">\n <ng-content select=\"[slotStart]\"></ng-content>\n </div>\n <div euimLabel [euimLabelTruncate]=\"euimLabelTruncate\">\n <ng-content></ng-content>\n </div>\n <div class=\"slotEnd\">\n <ng-content select=\"[slotEnd]\"></ng-content>\n </div>\n </div>\n}\n\n@if (isCloseable && isVisible) {\n <a role=\"button\" aria-label=\"Close Icon Button\" class=\"euim-alert-message__close\"\n (click)=\"onClose($event)\">\n <ion-icon name=\"close-sharp\" class=\"euim-alert-message__closeIcon\"></ion-icon>\n </a>\n}\n", styles: [".euim-alert-message{width:100%;display:flex;align-items:center;font:normal normal 400 .875rem/1rem var(--eui-base-font-family);padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-xs);padding-top:var(--eui-base-spacing-xs);padding-bottom:var(--eui-base-spacing-xs)}.euim-alert-message__wrapper{padding:0;margin:0;min-width:1px;display:flex;align-items:center;position:relative;flex-grow:1}.euim-alert-message .slotEnd{display:flex;align-items:center;margin-inline-start:auto;padding-left:var(--eui-base-spacing-xs)}.euim-alert-message .slotEnd ion-icon{width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);display:flex}.euim-alert-message [slotStart]{display:flex;align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__icon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__closeIcon{align-items:center;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message__wrappericon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__close{padding:0;margin:0;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message a{cursor:pointer}.euim-alert-message ion-badge[slotEnd]{display:flex}.euim-alert-message--danger{color:var(--eui-base-color-danger-120);background:var(--eui-base-color-danger-25)}.euim-alert-message--danger .euim-label{color:var(--eui-base-color-danger-120)}.euim-alert-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--danger ion-badge[slotEnd],.euim-alert-message--danger ion-button[slotEnd],.euim-alert-message--danger ion-chip[slotEnd]{--background: var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.euim-alert-message--danger ion-badge[slotEnd] ion-icon,.euim-alert-message--danger ion-button[slotEnd] ion-icon,.euim-alert-message--danger ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--danger [slotEnd] ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--info{color:var(--eui-base-color-info-120);background:var(--eui-base-color-info-25)}.euim-alert-message--info .euim-label{color:var(--eui-base-color-info-120)}.euim-alert-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--info ion-badge[slotEnd],.euim-alert-message--info ion-button[slotEnd],.euim-alert-message--info ion-chip[slotEnd]{--background: var(--eui-base-color-info-100);color:var(--eui-base-color-white)}.euim-alert-message--info ion-badge[slotEnd] ion-icon,.euim-alert-message--info ion-button[slotEnd] ion-icon,.euim-alert-message--info ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--info [slotEnd] ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--success{color:var(--eui-base-color-success-120);background:var(--eui-base-color-success-25)}.euim-alert-message--success .euim-label{color:var(--eui-base-color-success-120)}.euim-alert-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--success ion-badge[slotEnd],.euim-alert-message--success ion-button[slotEnd],.euim-alert-message--success ion-chip[slotEnd]{--background: var(--eui-base-color-success-100);color:var(--eui-base-color-white)}.euim-alert-message--success ion-badge[slotEnd] ion-icon,.euim-alert-message--success ion-button[slotEnd] ion-icon,.euim-alert-message--success ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--success [slotEnd] ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--warning{color:var(--eui-base-color-warning-140);background:var(--eui-base-color-warning-25)}.euim-alert-message--warning .euim-label{color:var(--eui-base-color-warning-140)}.euim-alert-message--warning ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--warning ion-badge[slotEnd],.euim-alert-message--warning ion-button[slotEnd],.euim-alert-message--warning ion-chip[slotEnd]{--background: var(--eui-base-color-warning-120);color:var(--eui-base-color-white)}.euim-alert-message--warning ion-badge[slotEnd] ion-icon,.euim-alert-message--warning ion-button[slotEnd] ion-icon,.euim-alert-message--warning ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--warning [slotEnd] ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--dark{color:var(--eui-base-color-white);background:var(--eui-base-color-grey-100)}.euim-alert-message--dark ion-icon,.euim-alert-message--dark .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--dark [slotEnd]{--background: var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-alert-message--primary{color:var(--eui-base-color-white);background:var(--eui-base-color-primary-100)}.euim-alert-message--primary ion-icon,.euim-alert-message--primary .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--primary [slotEnd]{--background: none;--border-color: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-5)}.euim-alert-message--light{color:var(--eui-base-color-grey-100);background:var(--eui-base-color-grey-5)}.euim-alert-message--light ion-icon,.euim-alert-message--light .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--light [slotEnd]{--background: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-100)}.euim-alert-message--default{color:var(--eui-base-color-black);background:none}.euim-alert-message--default ion-icon,.euim-alert-message--default .euim-label{color:var(--eui-base-color-black)}.euim-alert-message--clear{color:var(--eui-base-color-grey-100);background:none}.euim-alert-message--clear ion-icon,.euim-alert-message--clear .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--hidden{display:none}.euim-alert-message [slotEnd]{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-alert-message ion-badge[slotEnd]{padding-right:var(--eui-base-spacing-xs);padding-left:var(--eui-base-spacing-xs)}.euim-alert-message ion-badge[slotEnd] ion-icon{padding-left:var(--eui-base-spacing-2xs)}\n"] }]
|
|
2802
1822
|
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { euimClose: [{
|
|
2803
1823
|
type: Output
|
|
2804
1824
|
}], euimLabelTruncate: [{
|
|
2805
|
-
type: Input
|
|
1825
|
+
type: Input,
|
|
1826
|
+
args: [{ transform: booleanAttribute }]
|
|
2806
1827
|
}], hasIcon: [{
|
|
2807
|
-
type: Input
|
|
1828
|
+
type: Input,
|
|
1829
|
+
args: [{ transform: booleanAttribute }]
|
|
2808
1830
|
}], isCloseable: [{
|
|
2809
|
-
type: Input
|
|
1831
|
+
type: Input,
|
|
1832
|
+
args: [{ transform: booleanAttribute }]
|
|
2810
1833
|
}], cssClasses: [{
|
|
2811
1834
|
type: HostBinding,
|
|
2812
1835
|
args: ['class']
|
|
2813
1836
|
}] } });
|
|
2814
1837
|
|
|
2815
|
-
const COMPONENTS$
|
|
1838
|
+
const COMPONENTS$6 = [
|
|
2816
1839
|
EuimAlertMessageComponent,
|
|
2817
1840
|
];
|
|
2818
1841
|
class EuimAlertMessageModule {
|
|
@@ -2833,231 +1856,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
2833
1856
|
EuimLabelModule,
|
|
2834
1857
|
],
|
|
2835
1858
|
exports: [
|
|
2836
|
-
...COMPONENTS$
|
|
2837
|
-
],
|
|
2838
|
-
declarations: [
|
|
2839
|
-
...COMPONENTS$5,
|
|
2840
|
-
],
|
|
2841
|
-
}]
|
|
2842
|
-
}] });
|
|
2843
|
-
|
|
2844
|
-
/**
|
|
2845
|
-
* @deprecated It was removed in v16. Use {@link euim-slider-info-screen} instead.
|
|
2846
|
-
*/
|
|
2847
|
-
class EuimSliderComponent {
|
|
2848
|
-
constructor(renderer, gestureCtrl, sliderElement, cdr) {
|
|
2849
|
-
this.renderer = renderer;
|
|
2850
|
-
this.gestureCtrl = gestureCtrl;
|
|
2851
|
-
this.sliderElement = sliderElement;
|
|
2852
|
-
this.cdr = cdr;
|
|
2853
|
-
this.actionClicked = new EventEmitter();
|
|
2854
|
-
this.lastStepActionClicked = new EventEmitter();
|
|
2855
|
-
this.leftBtnActionClicked = new EventEmitter();
|
|
2856
|
-
this.actionBtnNames = {
|
|
2857
|
-
actionBtnName: 'Skip',
|
|
2858
|
-
lastStepActionBtnName: 'Done',
|
|
2859
|
-
leftActionBtnName: 'Previous',
|
|
2860
|
-
};
|
|
2861
|
-
this.isLastItemReached = false;
|
|
2862
|
-
this.isLeftBtnVisible = false;
|
|
2863
|
-
this.isPreviousBtn = false;
|
|
2864
|
-
this.isNextBtn = false;
|
|
2865
|
-
this.isRightBtnVisible = true;
|
|
2866
|
-
this.className = 'euim-slider';
|
|
2867
|
-
this.slidesArray = [];
|
|
2868
|
-
this.currentSlide = 0;
|
|
2869
|
-
this.startX = 0;
|
|
2870
|
-
}
|
|
2871
|
-
onResize(event) {
|
|
2872
|
-
this.setSliderStyles();
|
|
2873
|
-
}
|
|
2874
|
-
ngAfterViewInit() {
|
|
2875
|
-
this.setSliderStyles();
|
|
2876
|
-
}
|
|
2877
|
-
ngOnInit() {
|
|
2878
|
-
const gesture = this.gestureCtrl.create({
|
|
2879
|
-
el: this.sliderElement.nativeElement,
|
|
2880
|
-
gestureName: 'on-gesture-end',
|
|
2881
|
-
onEnd: (event) => {
|
|
2882
|
-
this.handleTouchEnd(event);
|
|
2883
|
-
this.isPreviousButtonVisible();
|
|
2884
|
-
this.isNextButtonVisible();
|
|
2885
|
-
},
|
|
2886
|
-
});
|
|
2887
|
-
gesture.enable();
|
|
2888
|
-
this.isPreviousButtonVisible();
|
|
2889
|
-
this.isNextButtonVisible();
|
|
2890
|
-
}
|
|
2891
|
-
setSliderStyles() {
|
|
2892
|
-
const windowHeight = window.innerHeight;
|
|
2893
|
-
const paginationHeight = 60;
|
|
2894
|
-
const slideHeight = windowHeight - paginationHeight;
|
|
2895
|
-
this.slidesArray = this.slides.nativeElement.children;
|
|
2896
|
-
this.renderer.setStyle(this.slides.nativeElement, 'width', `${this.slidesArray.length * 100}%`);
|
|
2897
|
-
for (const slide of this.slidesArray) {
|
|
2898
|
-
this.renderer.setStyle(slide, 'width', `${100 / this.slidesArray.length}%`);
|
|
2899
|
-
this.renderer.setStyle(slide, 'maxHeight', `${slideHeight}px`);
|
|
2900
|
-
this.renderer.setStyle(slide, 'overflow', 'auto');
|
|
2901
|
-
}
|
|
2902
|
-
// to calculate the case when there is only one slide
|
|
2903
|
-
if (!this.isLastItemReached && this.slidesArray.length < 2) {
|
|
2904
|
-
this.isLastItemReached = true;
|
|
2905
|
-
}
|
|
2906
|
-
}
|
|
2907
|
-
isPreviousButtonVisible() {
|
|
2908
|
-
this.isLeftBtnVisible = this.currentSlide > 0 && this.isPreviousBtn;
|
|
2909
|
-
}
|
|
2910
|
-
isNextButtonVisible() {
|
|
2911
|
-
this.isRightBtnVisible = this.currentSlide !== this.slidesArray.length - 1 && this.isNextBtn;
|
|
2912
|
-
}
|
|
2913
|
-
handleTouchEnd(e) {
|
|
2914
|
-
const difference = -e.deltaX;
|
|
2915
|
-
if (difference > 0 && this.currentSlide < this.slidesArray.length - 1) {
|
|
2916
|
-
this.currentSlide++;
|
|
2917
|
-
this.isLastItemReached = false;
|
|
2918
|
-
}
|
|
2919
|
-
else if (difference < 0 && this.currentSlide > 0) {
|
|
2920
|
-
this.currentSlide--;
|
|
2921
|
-
this.isLastItemReached = false;
|
|
2922
|
-
}
|
|
2923
|
-
this.isLastItemReached = this.currentSlide === this.slidesArray.length - 1;
|
|
2924
|
-
this.renderer.setStyle(this.slides.nativeElement, 'transform', `translateX(-${this.currentSlide * 100 / this.slidesArray.length}%)`);
|
|
2925
|
-
this.cdr.detectChanges();
|
|
2926
|
-
}
|
|
2927
|
-
goToSlide(index) {
|
|
2928
|
-
this.currentSlide = index;
|
|
2929
|
-
this.renderer.setStyle(this.slides.nativeElement, 'transform', `translateX(-${this.currentSlide * 100 / this.slidesArray.length}%)`);
|
|
2930
|
-
this.isPreviousButtonVisible();
|
|
2931
|
-
this.isNextButtonVisible();
|
|
2932
|
-
}
|
|
2933
|
-
goToPreviousSlide() {
|
|
2934
|
-
if (this.currentSlide > 0) {
|
|
2935
|
-
this.currentSlide--;
|
|
2936
|
-
this.renderer.setStyle(this.slides.nativeElement, 'transform', `translateX(-${this.currentSlide * 100 / this.slidesArray.length}%)`);
|
|
2937
|
-
}
|
|
2938
|
-
this.isPreviousButtonVisible();
|
|
2939
|
-
this.isNextButtonVisible();
|
|
2940
|
-
}
|
|
2941
|
-
goToNextSlide() {
|
|
2942
|
-
if (this.currentSlide < this.slidesArray.length - 1) {
|
|
2943
|
-
this.currentSlide++;
|
|
2944
|
-
this.renderer.setStyle(this.slides.nativeElement, 'transform', `translateX(-${this.currentSlide * 100 / this.slidesArray.length}%)`);
|
|
2945
|
-
}
|
|
2946
|
-
this.isPreviousButtonVisible();
|
|
2947
|
-
this.isNextButtonVisible();
|
|
2948
|
-
}
|
|
2949
|
-
onAction(event) {
|
|
2950
|
-
if (this.isNextBtn) {
|
|
2951
|
-
this.goToNextSlide();
|
|
2952
|
-
return;
|
|
2953
|
-
}
|
|
2954
|
-
this.actionClicked.emit(event);
|
|
2955
|
-
}
|
|
2956
|
-
onLastStepAction(event) {
|
|
2957
|
-
this.lastStepActionClicked.emit(event);
|
|
2958
|
-
}
|
|
2959
|
-
onLeftBtnAction(event) {
|
|
2960
|
-
if (this.isPreviousBtn) {
|
|
2961
|
-
this.goToPreviousSlide();
|
|
2962
|
-
return;
|
|
2963
|
-
}
|
|
2964
|
-
this.leftBtnActionClicked.emit(event);
|
|
2965
|
-
}
|
|
2966
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderComponent, deps: [{ token: i0.Renderer2 }, { token: i1.GestureController }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2967
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimSliderComponent, selector: "euim-slider", inputs: { actionBtnNames: "actionBtnNames", isLeftBtnVisible: "isLeftBtnVisible", isPreviousBtn: "isPreviousBtn", isNextBtn: "isNextBtn" }, outputs: { actionClicked: "actionClicked", lastStepActionClicked: "lastStepActionClicked", leftBtnActionClicked: "leftBtnActionClicked" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "slides", first: true, predicate: ["slides"], descendants: true, static: true }], ngImport: i0, template: "<div #sliderElement class=\"euim-slider__slider-container\">\n <div #slides class=\"euim-slider__slides\">\n <ng-content></ng-content>\n </div>\n <div class=\"euim-slider__pagination-container\">\n <ion-button (click)=\"onLeftBtnAction($event)\" *ngIf=isLeftBtnVisible class=\"euim-slider__action-button euim-slider__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftActionBtnName}}</ion-button>\n <div class=\"euim-slider__pagination\">\n <span (click)=\"goToSlide(i)\" *ngFor=\"let slide of slidesArray; let i = index\"\n [ngClass]=\"{ 'active': currentSlide === i }\"\n class=\"euim-slider__span\"></span>\n </div>\n <ion-button (click)=\"onAction($event)\" *ngIf=\"!isLastItemReached && !isNextBtn || isNextBtn && isRightBtnVisible\" class=\"euim-slider__action-button euim-slider__action-button--right\"\n fill=\"clear\">{{actionBtnNames.actionBtnName}}</ion-button>\n <ion-button (click)=\"onLastStepAction($event)\" *ngIf=isLastItemReached class=\"euim-slider__action-button euim-slider__action-button--right\"\n fill=\"clear\">{{actionBtnNames.lastStepActionBtnName}}</ion-button>\n </div>\n</div>\n", styles: [".euim-slider__slider-container{overflow:hidden;position:relative;height:100vh}.euim-slider__slides{display:flex;transition:all .5s ease;width:100%}.euim-slider__slide{width:100%}.euim-slider__pagination-container{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;height:60px}.euim-slider__pagination{display:flex}.euim-slider__span{width:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);height:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);border-radius:50%;cursor:pointer;border:1px solid var(--eui-base-color-primary)}.euim-slider__span:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.euim-slider__span.active{background-color:var(--eui-base-color-primary)}.euim-slider__action-button{position:absolute;color:var(--eui-base-color-primary);font-weight:700;top:50%;transform:translateY(-50%)}.euim-slider__action-button::part(native){padding:0 var(--eui-base-spacing-m)}.euim-slider__action-button--right{right:0;margin:0 var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-m)}.euim-slider__action-button--left{margin:0 var(--eui-base-spacing-m) 0 var(--eui-base-spacing-xs);left:0}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }] }); }
|
|
2968
|
-
}
|
|
2969
|
-
__decorate([
|
|
2970
|
-
coerceBoolean
|
|
2971
|
-
], EuimSliderComponent.prototype, "isLastItemReached", void 0);
|
|
2972
|
-
__decorate([
|
|
2973
|
-
coerceBoolean
|
|
2974
|
-
], EuimSliderComponent.prototype, "isLeftBtnVisible", void 0);
|
|
2975
|
-
__decorate([
|
|
2976
|
-
coerceBoolean
|
|
2977
|
-
], EuimSliderComponent.prototype, "isPreviousBtn", void 0);
|
|
2978
|
-
__decorate([
|
|
2979
|
-
coerceBoolean
|
|
2980
|
-
], EuimSliderComponent.prototype, "isNextBtn", void 0);
|
|
2981
|
-
__decorate([
|
|
2982
|
-
coerceBoolean
|
|
2983
|
-
], EuimSliderComponent.prototype, "isRightBtnVisible", void 0);
|
|
2984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderComponent, decorators: [{
|
|
2985
|
-
type: Component,
|
|
2986
|
-
args: [{ selector: 'euim-slider', template: "<div #sliderElement class=\"euim-slider__slider-container\">\n <div #slides class=\"euim-slider__slides\">\n <ng-content></ng-content>\n </div>\n <div class=\"euim-slider__pagination-container\">\n <ion-button (click)=\"onLeftBtnAction($event)\" *ngIf=isLeftBtnVisible class=\"euim-slider__action-button euim-slider__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftActionBtnName}}</ion-button>\n <div class=\"euim-slider__pagination\">\n <span (click)=\"goToSlide(i)\" *ngFor=\"let slide of slidesArray; let i = index\"\n [ngClass]=\"{ 'active': currentSlide === i }\"\n class=\"euim-slider__span\"></span>\n </div>\n <ion-button (click)=\"onAction($event)\" *ngIf=\"!isLastItemReached && !isNextBtn || isNextBtn && isRightBtnVisible\" class=\"euim-slider__action-button euim-slider__action-button--right\"\n fill=\"clear\">{{actionBtnNames.actionBtnName}}</ion-button>\n <ion-button (click)=\"onLastStepAction($event)\" *ngIf=isLastItemReached class=\"euim-slider__action-button euim-slider__action-button--right\"\n fill=\"clear\">{{actionBtnNames.lastStepActionBtnName}}</ion-button>\n </div>\n</div>\n", styles: [".euim-slider__slider-container{overflow:hidden;position:relative;height:100vh}.euim-slider__slides{display:flex;transition:all .5s ease;width:100%}.euim-slider__slide{width:100%}.euim-slider__pagination-container{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;height:60px}.euim-slider__pagination{display:flex}.euim-slider__span{width:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);height:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);border-radius:50%;cursor:pointer;border:1px solid var(--eui-base-color-primary)}.euim-slider__span:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.euim-slider__span.active{background-color:var(--eui-base-color-primary)}.euim-slider__action-button{position:absolute;color:var(--eui-base-color-primary);font-weight:700;top:50%;transform:translateY(-50%)}.euim-slider__action-button::part(native){padding:0 var(--eui-base-spacing-m)}.euim-slider__action-button--right{right:0;margin:0 var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-m)}.euim-slider__action-button--left{margin:0 var(--eui-base-spacing-m) 0 var(--eui-base-spacing-xs);left:0}\n"] }]
|
|
2987
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i1.GestureController }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { slides: [{
|
|
2988
|
-
type: ViewChild,
|
|
2989
|
-
args: ['slides', { static: true }]
|
|
2990
|
-
}], actionClicked: [{
|
|
2991
|
-
type: Output
|
|
2992
|
-
}], lastStepActionClicked: [{
|
|
2993
|
-
type: Output
|
|
2994
|
-
}], leftBtnActionClicked: [{
|
|
2995
|
-
type: Output
|
|
2996
|
-
}], actionBtnNames: [{
|
|
2997
|
-
type: Input
|
|
2998
|
-
}], isLastItemReached: [], isLeftBtnVisible: [{
|
|
2999
|
-
type: Input
|
|
3000
|
-
}], isPreviousBtn: [{
|
|
3001
|
-
type: Input
|
|
3002
|
-
}], isNextBtn: [{
|
|
3003
|
-
type: Input
|
|
3004
|
-
}], isRightBtnVisible: [], className: [{
|
|
3005
|
-
type: HostBinding,
|
|
3006
|
-
args: ['class']
|
|
3007
|
-
}], onResize: [{
|
|
3008
|
-
type: HostListener,
|
|
3009
|
-
args: ['window:resize', ['$event']]
|
|
3010
|
-
}] } });
|
|
3011
|
-
|
|
3012
|
-
class EuimSlideComponent {
|
|
3013
|
-
constructor() {
|
|
3014
|
-
this.className = 'euim-slider__slide';
|
|
3015
|
-
}
|
|
3016
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSlideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3017
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimSlideComponent, selector: "euim-slide", host: { properties: { "class": "this.className" } }, ngImport: i0, template: `
|
|
3018
|
-
<div #slide>
|
|
3019
|
-
<ng-content></ng-content>
|
|
3020
|
-
</div>`, isInline: true }); }
|
|
3021
|
-
}
|
|
3022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSlideComponent, decorators: [{
|
|
3023
|
-
type: Component,
|
|
3024
|
-
args: [{
|
|
3025
|
-
selector: 'euim-slide',
|
|
3026
|
-
template: `
|
|
3027
|
-
<div #slide>
|
|
3028
|
-
<ng-content></ng-content>
|
|
3029
|
-
</div>`,
|
|
3030
|
-
}]
|
|
3031
|
-
}], propDecorators: { className: [{
|
|
3032
|
-
type: HostBinding,
|
|
3033
|
-
args: ['class']
|
|
3034
|
-
}] } });
|
|
3035
|
-
|
|
3036
|
-
const COMPONENTS$4 = [
|
|
3037
|
-
EuimSliderComponent,
|
|
3038
|
-
EuimSlideComponent,
|
|
3039
|
-
];
|
|
3040
|
-
class EuimSliderModule {
|
|
3041
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3042
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderModule, declarations: [EuimSliderComponent,
|
|
3043
|
-
EuimSlideComponent], imports: [CommonModule,
|
|
3044
|
-
IonicModule], exports: [EuimSliderComponent,
|
|
3045
|
-
EuimSlideComponent] }); }
|
|
3046
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderModule, imports: [CommonModule,
|
|
3047
|
-
IonicModule] }); }
|
|
3048
|
-
}
|
|
3049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderModule, decorators: [{
|
|
3050
|
-
type: NgModule,
|
|
3051
|
-
args: [{
|
|
3052
|
-
imports: [
|
|
3053
|
-
CommonModule,
|
|
3054
|
-
IonicModule,
|
|
3055
|
-
],
|
|
3056
|
-
exports: [
|
|
3057
|
-
...COMPONENTS$4,
|
|
1859
|
+
...COMPONENTS$6,
|
|
3058
1860
|
],
|
|
3059
1861
|
declarations: [
|
|
3060
|
-
...COMPONENTS$
|
|
1862
|
+
...COMPONENTS$6,
|
|
3061
1863
|
],
|
|
3062
1864
|
}]
|
|
3063
1865
|
}] });
|
|
@@ -3186,32 +1988,11 @@ class EuimSliderInfoScreenComponent {
|
|
|
3186
1988
|
this.leftActionClicked.emit(event);
|
|
3187
1989
|
}
|
|
3188
1990
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderInfoScreenComponent, deps: [{ token: i0.Renderer2 }, { token: i1.GestureController }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3189
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1991
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimSliderInfoScreenComponent, selector: "euim-slider-info-screen", inputs: { isCarousel: ["isCarousel", "isCarousel", booleanAttribute], showLeftBtn: ["showLeftBtn", "showLeftBtn", booleanAttribute], showRightBtn: ["showRightBtn", "showRightBtn", booleanAttribute], isPreviousBtn: ["isPreviousBtn", "isPreviousBtn", booleanAttribute], isNextBtn: ["isNextBtn", "isNextBtn", booleanAttribute], actionBtnNames: "actionBtnNames" }, outputs: { rightActionClicked: "rightActionClicked", lastStepActionClicked: "lastStepActionClicked", leftActionClicked: "leftActionClicked" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "slides", first: true, predicate: ["slides"], descendants: true, static: true }], ngImport: i0, template: "<div #sliderElement class=\"euim-slider-info-screen__slider-container\">\n <div #slides class=\"euim-slider-info-screen__slides\">\n <ng-content></ng-content>\n </div>\n @if (showLeftBtn || showRightBtn || isCarousel || isLastItemReached){\n <div class=\"euim-slider-info-screen__pagination-container\">\n @if (showLeftBtn && !showLeftBtnAsPrevious && !isPreviousBtn) {\n <ion-button (click)=\"onLeftBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftBtnName}}</ion-button>\n }\n @if (showLeftBtnAsPrevious) {\n <ion-button (click)=\"onLeftBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftBtnName}}</ion-button>\n }\n @if (isCarousel){\n <div class=\"euim-slider-info-screen__pagination\">\n <span (click)=\"goToSlide(i)\" *ngFor=\"let slide of slidesArray; let i = index\"\n [ngClass]=\"{ 'active': currentSlide === i }\"\n class=\"euim-slider-info-screen__span\"></span>\n </div>\n }\n @if (!isLastItemReached && !isNextBtn || isNextBtn && showRightBtn) {\n <ion-button (click)=\"onRightBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--right\"\n fill=\"clear\">{{actionBtnNames.rightBtnName}}</ion-button>\n }\n\n @if (isLastItemReached) {\n <ion-button (click)=\"onLastStepAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--right\"\n fill=\"clear\">{{actionBtnNames.lastStepActionBtnName}}</ion-button>\n }\n </div>\n }\n\n</div>\n", styles: [".euim-slider-info-screen__slider-container{overflow:hidden;position:relative;height:100vh}.euim-slider-info-screen__slides{display:flex;transition:all .5s ease;height:100%;width:100%}.euim-slider-info-screen__slide{width:100%;height:100%}.euim-slider-info-screen__pagination-container{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;height:60px}.euim-slider-info-screen__pagination{display:flex}.euim-slider-info-screen__span{width:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);height:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);border-radius:50%;cursor:pointer;border:1px solid var(--eui-base-color-primary-100)}.euim-slider-info-screen__span:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.euim-slider-info-screen__span.active{background-color:var(--eui-base-color-primary-100)}.euim-slider-info-screen__action-button{position:absolute;color:var(--eui-base-color-primary-100);font-weight:700;top:50%;transform:translateY(-50%)}.euim-slider-info-screen__action-button::part(native){padding:0 var(--eui-base-spacing-m)}.euim-slider-info-screen__action-button--right{right:0;margin:0 var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-m)}.euim-slider-info-screen__action-button--left{margin:0 var(--eui-base-spacing-m) 0 var(--eui-base-spacing-xs);left:0}.euim-slider-info-screen__title{font:normal normal 400 1.75rem/2rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-100);margin-top:var(--eui-base-spacing-l);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l)}.euim-slider-info-screen__sub-title{color:var(--eui-base-color-grey-75);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);font:normal normal 400 1.125rem/1.5rem var(--eui-base-font-family)}.euim-slider-info-screen__content{color:var(--eui-base-color-grey-100);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);font:normal normal 400 1.125rem/1.5rem var(--eui-base-font-family)}.euim-slider-info-screen__title+.euim-slider-info-screen__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-slider-info-screen__sub-title+.euim-slider-info-screen__content,title+.euim-slider-info-screen__content{margin-top:var(--eui-base-spacing-m)}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
3190
1992
|
}
|
|
3191
|
-
__decorate([
|
|
3192
|
-
coerceBoolean
|
|
3193
|
-
], EuimSliderInfoScreenComponent.prototype, "isLastItemReached", void 0);
|
|
3194
|
-
__decorate([
|
|
3195
|
-
coerceBoolean
|
|
3196
|
-
], EuimSliderInfoScreenComponent.prototype, "isCarousel", void 0);
|
|
3197
|
-
__decorate([
|
|
3198
|
-
coerceBoolean
|
|
3199
|
-
], EuimSliderInfoScreenComponent.prototype, "showLeftBtn", void 0);
|
|
3200
|
-
__decorate([
|
|
3201
|
-
coerceBoolean
|
|
3202
|
-
], EuimSliderInfoScreenComponent.prototype, "showRightBtn", void 0);
|
|
3203
|
-
__decorate([
|
|
3204
|
-
coerceBoolean
|
|
3205
|
-
], EuimSliderInfoScreenComponent.prototype, "isPreviousBtn", void 0);
|
|
3206
|
-
__decorate([
|
|
3207
|
-
coerceBoolean
|
|
3208
|
-
], EuimSliderInfoScreenComponent.prototype, "isNextBtn", void 0);
|
|
3209
|
-
__decorate([
|
|
3210
|
-
coerceBoolean
|
|
3211
|
-
], EuimSliderInfoScreenComponent.prototype, "showLeftBtnAsPrevious", void 0);
|
|
3212
1993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSliderInfoScreenComponent, decorators: [{
|
|
3213
1994
|
type: Component,
|
|
3214
|
-
args: [{ selector: 'euim-slider-info-screen', encapsulation: ViewEncapsulation.None, template: "<div #sliderElement class=\"euim-slider-info-screen__slider-container\">\n <div #slides class=\"euim-slider-info-screen__slides\">\n <ng-content></ng-content>\n </div>\n <div class=\"euim-slider-info-screen__pagination-container\"
|
|
1995
|
+
args: [{ selector: 'euim-slider-info-screen', encapsulation: ViewEncapsulation.None, template: "<div #sliderElement class=\"euim-slider-info-screen__slider-container\">\n <div #slides class=\"euim-slider-info-screen__slides\">\n <ng-content></ng-content>\n </div>\n @if (showLeftBtn || showRightBtn || isCarousel || isLastItemReached){\n <div class=\"euim-slider-info-screen__pagination-container\">\n @if (showLeftBtn && !showLeftBtnAsPrevious && !isPreviousBtn) {\n <ion-button (click)=\"onLeftBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftBtnName}}</ion-button>\n }\n @if (showLeftBtnAsPrevious) {\n <ion-button (click)=\"onLeftBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--left\"\n fill=\"clear\">{{actionBtnNames.leftBtnName}}</ion-button>\n }\n @if (isCarousel){\n <div class=\"euim-slider-info-screen__pagination\">\n <span (click)=\"goToSlide(i)\" *ngFor=\"let slide of slidesArray; let i = index\"\n [ngClass]=\"{ 'active': currentSlide === i }\"\n class=\"euim-slider-info-screen__span\"></span>\n </div>\n }\n @if (!isLastItemReached && !isNextBtn || isNextBtn && showRightBtn) {\n <ion-button (click)=\"onRightBtnAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--right\"\n fill=\"clear\">{{actionBtnNames.rightBtnName}}</ion-button>\n }\n\n @if (isLastItemReached) {\n <ion-button (click)=\"onLastStepAction($event)\" class=\"euim-slider-info-screen__action-button euim-slider-info-screen__action-button--right\"\n fill=\"clear\">{{actionBtnNames.lastStepActionBtnName}}</ion-button>\n }\n </div>\n }\n\n</div>\n", styles: [".euim-slider-info-screen__slider-container{overflow:hidden;position:relative;height:100vh}.euim-slider-info-screen__slides{display:flex;transition:all .5s ease;height:100%;width:100%}.euim-slider-info-screen__slide{width:100%;height:100%}.euim-slider-info-screen__pagination-container{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;height:60px}.euim-slider-info-screen__pagination{display:flex}.euim-slider-info-screen__span{width:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);height:calc(var(--eui-base-spacing-xs) + var(--eui-base-spacing-2xs) / 2);border-radius:50%;cursor:pointer;border:1px solid var(--eui-base-color-primary-100)}.euim-slider-info-screen__span:not(:last-child){margin-right:var(--eui-base-spacing-xs)}.euim-slider-info-screen__span.active{background-color:var(--eui-base-color-primary-100)}.euim-slider-info-screen__action-button{position:absolute;color:var(--eui-base-color-primary-100);font-weight:700;top:50%;transform:translateY(-50%)}.euim-slider-info-screen__action-button::part(native){padding:0 var(--eui-base-spacing-m)}.euim-slider-info-screen__action-button--right{right:0;margin:0 var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-m)}.euim-slider-info-screen__action-button--left{margin:0 var(--eui-base-spacing-m) 0 var(--eui-base-spacing-xs);left:0}.euim-slider-info-screen__title{font:normal normal 400 1.75rem/2rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-100);margin-top:var(--eui-base-spacing-l);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l)}.euim-slider-info-screen__sub-title{color:var(--eui-base-color-grey-75);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);font:normal normal 400 1.125rem/1.5rem var(--eui-base-font-family)}.euim-slider-info-screen__content{color:var(--eui-base-color-grey-100);padding-left:var(--eui-base-spacing-l);padding-right:var(--eui-base-spacing-l);font:normal normal 400 1.125rem/1.5rem var(--eui-base-font-family)}.euim-slider-info-screen__title+.euim-slider-info-screen__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-slider-info-screen__sub-title+.euim-slider-info-screen__content,title+.euim-slider-info-screen__content{margin-top:var(--eui-base-spacing-m)}\n"] }]
|
|
3215
1996
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i1.GestureController }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { slides: [{
|
|
3216
1997
|
type: ViewChild,
|
|
3217
1998
|
args: ['slides', { static: true }]
|
|
@@ -3221,19 +2002,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3221
2002
|
type: Output
|
|
3222
2003
|
}], leftActionClicked: [{
|
|
3223
2004
|
type: Output
|
|
3224
|
-
}],
|
|
3225
|
-
type: Input
|
|
2005
|
+
}], isCarousel: [{
|
|
2006
|
+
type: Input,
|
|
2007
|
+
args: [{ transform: booleanAttribute }]
|
|
3226
2008
|
}], showLeftBtn: [{
|
|
3227
|
-
type: Input
|
|
2009
|
+
type: Input,
|
|
2010
|
+
args: [{ transform: booleanAttribute }]
|
|
3228
2011
|
}], showRightBtn: [{
|
|
3229
|
-
type: Input
|
|
2012
|
+
type: Input,
|
|
2013
|
+
args: [{ transform: booleanAttribute }]
|
|
3230
2014
|
}], isPreviousBtn: [{
|
|
3231
|
-
type: Input
|
|
2015
|
+
type: Input,
|
|
2016
|
+
args: [{ transform: booleanAttribute }]
|
|
3232
2017
|
}], isNextBtn: [{
|
|
3233
|
-
type: Input
|
|
2018
|
+
type: Input,
|
|
2019
|
+
args: [{ transform: booleanAttribute }]
|
|
3234
2020
|
}], actionBtnNames: [{
|
|
3235
2021
|
type: Input
|
|
3236
|
-
}],
|
|
2022
|
+
}], className: [{
|
|
3237
2023
|
type: HostBinding,
|
|
3238
2024
|
args: ['class']
|
|
3239
2025
|
}], onResize: [{
|
|
@@ -3316,7 +2102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3316
2102
|
args: ['class']
|
|
3317
2103
|
}] } });
|
|
3318
2104
|
|
|
3319
|
-
const COMPONENTS$
|
|
2105
|
+
const COMPONENTS$5 = [
|
|
3320
2106
|
EuimSliderInfoScreenComponent,
|
|
3321
2107
|
EuimSlideInfoScreenComponent,
|
|
3322
2108
|
EuimSliderInfoScreenContentDirective,
|
|
@@ -3346,10 +2132,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3346
2132
|
IonicModule,
|
|
3347
2133
|
],
|
|
3348
2134
|
exports: [
|
|
3349
|
-
...COMPONENTS$
|
|
2135
|
+
...COMPONENTS$5,
|
|
3350
2136
|
],
|
|
3351
2137
|
declarations: [
|
|
3352
|
-
...COMPONENTS$
|
|
2138
|
+
...COMPONENTS$5,
|
|
3353
2139
|
],
|
|
3354
2140
|
}]
|
|
3355
2141
|
}] });
|
|
@@ -3396,15 +2182,13 @@ class EuimChipSelectorItemDirective {
|
|
|
3396
2182
|
constructor(renderer, el) {
|
|
3397
2183
|
this.renderer = renderer;
|
|
3398
2184
|
this.el = el;
|
|
2185
|
+
this.clickEventAdded = false;
|
|
3399
2186
|
this.euimChipSelectorAll = false;
|
|
3400
2187
|
this.className = 'euim-chip-selector__item';
|
|
3401
2188
|
}
|
|
3402
2189
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChipSelectorItemDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3403
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2190
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.3.0", type: EuimChipSelectorItemDirective, selector: "[euimChipSelectorItem]", inputs: { id: "id", euimChipSelectorAll: ["euimChipSelectorAll", "euimChipSelectorAll", booleanAttribute] }, host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
3404
2191
|
}
|
|
3405
|
-
__decorate([
|
|
3406
|
-
coerceBoolean
|
|
3407
|
-
], EuimChipSelectorItemDirective.prototype, "euimChipSelectorAll", void 0);
|
|
3408
2192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChipSelectorItemDirective, decorators: [{
|
|
3409
2193
|
type: Directive,
|
|
3410
2194
|
args: [{
|
|
@@ -3413,7 +2197,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3413
2197
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { id: [{
|
|
3414
2198
|
type: Input
|
|
3415
2199
|
}], euimChipSelectorAll: [{
|
|
3416
|
-
type: Input
|
|
2200
|
+
type: Input,
|
|
2201
|
+
args: [{ transform: booleanAttribute }]
|
|
3417
2202
|
}], className: [{
|
|
3418
2203
|
type: HostBinding,
|
|
3419
2204
|
args: ['class']
|
|
@@ -3422,21 +2207,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3422
2207
|
class EuimChipSelectorComponent {
|
|
3423
2208
|
constructor() {
|
|
3424
2209
|
this.backgroundColor = 'primary';
|
|
3425
|
-
/**
|
|
3426
|
-
* @deprecated Will be removed in v17.
|
|
3427
|
-
* Please use {@link color} property instead
|
|
3428
|
-
*/
|
|
3429
|
-
this.chipColor = 'white';
|
|
3430
2210
|
this.color = 'white';
|
|
3431
2211
|
this.chipSelectedColor = 'white';
|
|
3432
2212
|
this.chipFill = 'default';
|
|
3433
2213
|
this.sourceData = [];
|
|
3434
2214
|
this.selectedChips = [];
|
|
3435
2215
|
this.isMultiSelectionMode = false;
|
|
2216
|
+
this.euimKeepSelection = false;
|
|
2217
|
+
this.hasSearchbar = false;
|
|
3436
2218
|
this.filterData = new EventEmitter();
|
|
3437
2219
|
this.clickItems = new EventEmitter();
|
|
3438
2220
|
this.filteredData = [...this.sourceData];
|
|
3439
2221
|
this.filterConditions = [];
|
|
2222
|
+
this.searchInput = '';
|
|
2223
|
+
this.isEmitEvent = true;
|
|
2224
|
+
this.clickEventHandled = false;
|
|
3440
2225
|
}
|
|
3441
2226
|
get cssClasses() {
|
|
3442
2227
|
return this.getCssClasses();
|
|
@@ -3445,14 +2230,36 @@ class EuimChipSelectorComponent {
|
|
|
3445
2230
|
this.setCssItemClasses();
|
|
3446
2231
|
}
|
|
3447
2232
|
ngAfterContentInit() {
|
|
2233
|
+
this.subscribeToChanges();
|
|
3448
2234
|
this.updateChipsAndFilterDataAfterInit();
|
|
3449
2235
|
this.updateChipsAndFilters();
|
|
3450
2236
|
}
|
|
2237
|
+
ngOnDestroy() {
|
|
2238
|
+
if (this.euimChipSelectorItemSubscription) {
|
|
2239
|
+
this.euimChipSelectorItemSubscription.unsubscribe();
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
subscribeToChanges() {
|
|
2243
|
+
if (this.euimChipSelectorItemSubscription) {
|
|
2244
|
+
this.euimChipSelectorItemSubscription.unsubscribe();
|
|
2245
|
+
}
|
|
2246
|
+
this.euimChipSelectorItemSubscription = this.euimChipSelectorItemComponent.changes.subscribe(() => {
|
|
2247
|
+
this.setCssItemClasses();
|
|
2248
|
+
this.updateChipsAndFilterDataAfterInit(this.isEmitEvent = false);
|
|
2249
|
+
this.updateChipsAndFilters();
|
|
2250
|
+
});
|
|
2251
|
+
}
|
|
3451
2252
|
ngOnChanges(changes) {
|
|
3452
2253
|
if (this.euimChipSelectorItemComponent && this.euimChipSelectorItemComponent.length > 0 &&
|
|
3453
2254
|
changes.selectedChips.currentValue && changes.selectedChips.currentValue.length === 1 &&
|
|
3454
|
-
changes.selectedChips.currentValue.every((value
|
|
2255
|
+
changes.selectedChips.currentValue.every((value) => value === '0')) {
|
|
3455
2256
|
this.clearFiltersAndSelectAll();
|
|
2257
|
+
return;
|
|
2258
|
+
}
|
|
2259
|
+
if (this.euimChipSelectorItemComponent && this.euimChipSelectorItemComponent.length > 0 &&
|
|
2260
|
+
changes.selectedChips.currentValue && !changes.selectedChips.currentValue.every((value) => value === '0')) {
|
|
2261
|
+
this.updateChipsAndFilterDataAfterInit();
|
|
2262
|
+
return;
|
|
3456
2263
|
}
|
|
3457
2264
|
}
|
|
3458
2265
|
getCssClasses() {
|
|
@@ -3470,36 +2277,51 @@ class EuimChipSelectorComponent {
|
|
|
3470
2277
|
});
|
|
3471
2278
|
}
|
|
3472
2279
|
getCssItemClasses() {
|
|
3473
|
-
let currentColor = 'white';
|
|
3474
|
-
// if color property is different from default one (white) than use chip color
|
|
3475
|
-
// means using the deprecated chipColor property,
|
|
3476
|
-
// needed as in V18 will be removed chipColor
|
|
3477
|
-
if (this.chipColor === 'white' && this.color != 'white') {
|
|
3478
|
-
currentColor = this.color;
|
|
3479
|
-
}
|
|
3480
|
-
else {
|
|
3481
|
-
currentColor = this.chipColor;
|
|
3482
|
-
}
|
|
3483
2280
|
return [
|
|
3484
2281
|
this.chipFill ? `euim-chip-selector__item--fill-${this.chipFill}` : '',
|
|
3485
|
-
|
|
2282
|
+
this.color ? `euim-chip-selector__item--color-${this.color}` : '',
|
|
3486
2283
|
].join(' ');
|
|
3487
2284
|
}
|
|
3488
2285
|
updateChipsAndFilters() {
|
|
3489
2286
|
this.euimChipSelectorItemComponent.forEach(chip => {
|
|
3490
|
-
chip.
|
|
3491
|
-
|
|
3492
|
-
if (!this.
|
|
3493
|
-
this.
|
|
2287
|
+
if (!chip.clickEventAdded) {
|
|
2288
|
+
chip.el.nativeElement.addEventListener('click', () => {
|
|
2289
|
+
if (!this.clickEventHandled) {
|
|
2290
|
+
this.clickEventHandled = true;
|
|
2291
|
+
this.euimChipSelectorItemComponent.forEach(innerChip => {
|
|
2292
|
+
if (!this.isMultiSelectionMode || (this.isMultiSelectionMode && innerChip.euimChipSelectorAll)) {
|
|
2293
|
+
this.removeSelectedStyles(innerChip.el.nativeElement);
|
|
2294
|
+
}
|
|
2295
|
+
});
|
|
2296
|
+
this.addSelectedStyles(chip.el.nativeElement);
|
|
2297
|
+
this.onFilterChange(chip.id?.toString(), chip.euimChipSelectorAll, chip.el.nativeElement);
|
|
2298
|
+
this.filterData.emit(this.filteredData);
|
|
2299
|
+
this.clickItems.emit(this.selectedChips);
|
|
2300
|
+
this.clickEventHandled = false;
|
|
3494
2301
|
}
|
|
3495
2302
|
});
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
this.filterData.emit(this.filteredData);
|
|
3499
|
-
this.clickItems.emit(this.selectedChips);
|
|
3500
|
-
});
|
|
2303
|
+
chip.clickEventAdded = true;
|
|
2304
|
+
}
|
|
3501
2305
|
});
|
|
3502
2306
|
}
|
|
2307
|
+
applyFilter(filterCondition, isAllFilter, multipleFilterConditions) {
|
|
2308
|
+
let filteredData = [...this.sourceData];
|
|
2309
|
+
if (isAllFilter) {
|
|
2310
|
+
filteredData = this.filterBySearch(filteredData, this.searchInput);
|
|
2311
|
+
}
|
|
2312
|
+
else {
|
|
2313
|
+
if (this.isMultiSelectionMode || multipleFilterConditions.length > 0) {
|
|
2314
|
+
filteredData = this.filterByMultipleConditions(filteredData, multipleFilterConditions);
|
|
2315
|
+
}
|
|
2316
|
+
else {
|
|
2317
|
+
filteredData = this.filterByCondition(filteredData, filterCondition);
|
|
2318
|
+
}
|
|
2319
|
+
if (this.euimKeepSelection && this.searchInput !== '') {
|
|
2320
|
+
filteredData = this.filterBySearch(filteredData, this.searchInput);
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
this.filteredData = filteredData;
|
|
2324
|
+
}
|
|
3503
2325
|
clearFiltersAndSelectAll() {
|
|
3504
2326
|
this.clearAllSelections();
|
|
3505
2327
|
let isFirstElement = true;
|
|
@@ -3512,16 +2334,14 @@ class EuimChipSelectorComponent {
|
|
|
3512
2334
|
this.filterData.emit(this.sourceData);
|
|
3513
2335
|
this.clickItems.emit(this.selectedChips);
|
|
3514
2336
|
}
|
|
3515
|
-
updateChipsAndFilterDataAfterInit() {
|
|
2337
|
+
updateChipsAndFilterDataAfterInit(isEmitEvent) {
|
|
3516
2338
|
this.euimChipSelectorItemComponent.forEach(chip => {
|
|
3517
2339
|
this.removeSelectedStyles(chip.el.nativeElement);
|
|
3518
2340
|
if (chip.id === undefined && chip.euimChipSelectorAll) {
|
|
3519
2341
|
chip.id = 0;
|
|
3520
2342
|
}
|
|
3521
|
-
});
|
|
3522
|
-
this.euimChipSelectorItemComponent.forEach((chip) => {
|
|
3523
2343
|
const chipId = chip.id;
|
|
3524
|
-
if (chipId && this.selectedChips.includes(chipId)) {
|
|
2344
|
+
if (chipId && this.selectedChips.includes(chipId.toString())) {
|
|
3525
2345
|
this.addSelectedStyles(chip.el.nativeElement);
|
|
3526
2346
|
this.applyFilter(null, chip.euimChipSelectorAll, this.selectedChips);
|
|
3527
2347
|
this.filterData.emit(this.filteredData);
|
|
@@ -3530,10 +2350,11 @@ class EuimChipSelectorComponent {
|
|
|
3530
2350
|
this.addSelectedStyles(chip.el.nativeElement);
|
|
3531
2351
|
this.selectedChips = ['0'];
|
|
3532
2352
|
this.filterData.emit(this.sourceData);
|
|
3533
|
-
this.clickItems.emit(this.selectedChips);
|
|
3534
2353
|
}
|
|
3535
2354
|
});
|
|
3536
|
-
|
|
2355
|
+
if (isEmitEvent !== false) {
|
|
2356
|
+
this.clickItems.emit(this.selectedChips);
|
|
2357
|
+
}
|
|
3537
2358
|
}
|
|
3538
2359
|
onFilterChange(filterCondition, isFilterAll, item) {
|
|
3539
2360
|
if (this.isMultiSelectionMode) {
|
|
@@ -3545,18 +2366,19 @@ class EuimChipSelectorComponent {
|
|
|
3545
2366
|
this.applyFilter(filterCondition, isFilterAll, this.filterConditions);
|
|
3546
2367
|
this.filterData.emit(this.filteredData);
|
|
3547
2368
|
}
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
2369
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2370
|
+
handleChange(event) {
|
|
2371
|
+
this.searchInput = event.detail.value.toLowerCase();
|
|
2372
|
+
let filteredData = [...this.sourceData];
|
|
2373
|
+
if (this.euimKeepSelection) {
|
|
2374
|
+
filteredData = this.filterByChips(filteredData, this.selectedChips);
|
|
2375
|
+
filteredData = this.filterBySearch(filteredData, this.searchInput);
|
|
3552
2376
|
}
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
return;
|
|
2377
|
+
else {
|
|
2378
|
+
filteredData = this.filterBySearch(filteredData, this.searchInput);
|
|
3556
2379
|
}
|
|
3557
|
-
this.filteredData =
|
|
3558
|
-
|
|
3559
|
-
});
|
|
2380
|
+
this.filteredData = filteredData;
|
|
2381
|
+
this.filterData.emit(this.filteredData);
|
|
3560
2382
|
}
|
|
3561
2383
|
addSelectedStyles(item) {
|
|
3562
2384
|
item.classList.add(`euim-chip-selector__item-selected--color-${this.chipSelectedColor}`);
|
|
@@ -3599,19 +2421,32 @@ class EuimChipSelectorComponent {
|
|
|
3599
2421
|
this.filterConditions = [];
|
|
3600
2422
|
this.selectedChips = ['0'];
|
|
3601
2423
|
}
|
|
2424
|
+
filterBySearch(data, searchInput) {
|
|
2425
|
+
if (!searchInput)
|
|
2426
|
+
return data;
|
|
2427
|
+
return data.filter(obj => obj.title.toLowerCase().includes(searchInput));
|
|
2428
|
+
}
|
|
2429
|
+
filterByChips(data, selectedChips) {
|
|
2430
|
+
if (selectedChips[0] === '0')
|
|
2431
|
+
return data;
|
|
2432
|
+
return data.filter(item => selectedChips.includes(item.filterId));
|
|
2433
|
+
}
|
|
2434
|
+
filterByCondition(data, filterCondition) {
|
|
2435
|
+
return data.filter(item => item.filterId === filterCondition);
|
|
2436
|
+
}
|
|
2437
|
+
filterByMultipleConditions(data, multipleFilterConditions) {
|
|
2438
|
+
if (multipleFilterConditions.length === 0)
|
|
2439
|
+
return data;
|
|
2440
|
+
return data.filter(item => multipleFilterConditions.includes(item.filterId));
|
|
2441
|
+
}
|
|
3602
2442
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChipSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3603
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2443
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimChipSelectorComponent, selector: "euim-chip-selector", inputs: { backgroundColor: "backgroundColor", color: "color", chipSelectedColor: "chipSelectedColor", chipFill: "chipFill", sourceData: "sourceData", selectedChips: "selectedChips", isMultiSelectionMode: ["isMultiSelectionMode", "isMultiSelectionMode", booleanAttribute], euimKeepSelection: ["euimKeepSelection", "euimKeepSelection", booleanAttribute], hasSearchbar: ["hasSearchbar", "hasSearchbar", booleanAttribute] }, outputs: { filterData: "filterData", clickItems: "clickItems" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euimChipSelectorItemComponent", predicate: EuimChipSelectorItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (hasSearchbar) {\n <ion-searchbar (ionChange)=\"handleChange($event)\"\n class=\"euim-chip-selector__searchbar\"></ion-searchbar>\n}\n<euim-scroller-x>\n <ng-content></ng-content>\n</euim-scroller-x>\n\n", styles: [".euim-chip-selector{padding:var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs);display:flex;justify-content:center;flex-direction:column}.euim-chip-selector ion-chip{margin:0 var(--eui-base-spacing-xs) 0 0}.euim-chip-selector ion-searchbar{padding-inline-start:0;padding-top:0;padding-bottom:var(--eui-base-spacing-s)}.euim-chip-selector__item--fill-default,.euim-chip-selector--fill-solid{border:none}.euim-chip-selector__item--fill-outline{background-color:transparent!important;border-width:1px;border-style:solid}.euim-chip-selector__item--fill-clear{background-color:transparent!important;border:none}.euim-chip-selector__item--fill-outline-solid{border-width:1px;border-style:solid}.euim-chip-selector--background-color-primary{background-color:var(--eui-base-color-primary-100)}.euim-chip-selector__item--color-success{background-color:var(--eui-base-color-success-25);border-color:var(--eui-base-color-success-25);color:var(--eui-base-color-success-100)}.euim-chip-selector__item--color-success.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-success-50)}.euim-chip-selector__item--color-warning{background-color:var(--eui-base-color-warning-25);border-color:var(--eui-base-color-warning-25);color:var(--eui-base-color-warning-140)}.euim-chip-selector__item--color-warning.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-warning-50)}.euim-chip-selector__item--color-danger{background-color:var(--eui-base-color-danger-25);border-color:var(--eui-base-color-danger-25);color:var(--eui-base-color-danger-100)}.euim-chip-selector__item--color-danger.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-danger-50)}.euim-chip-selector__item--color-primary{background-color:var(--eui-base-color-primary-25);border-color:var(--eui-base-color-primary-25);color:var(--eui-base-color-primary-100)}.euim-chip-selector__item--color-primary.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-primary-50)}.euim-chip-selector__item--color-info{background-color:var(--eui-base-color-info-25);border-color:var(--eui-base-color-info-25);color:var(--eui-base-color-info-100)}.euim-chip-selector__item--color-info.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-info-50)}.euim-chip-selector__item--color-dark{background-color:var(--eui-base-color-grey-100);border-color:var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-chip-selector__item--color-dark.euim-chip-selector__item--fill-outline{color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-white{background-color:var(--eui-base-color-white);border-color:var(--eui-base-color-white);color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-white.euim-chip-selector__item--fill-outline{color:var(--eui-base-color-white)}.euim-chip-selector__item--color-default{background-color:var(--eui-base-grey-15);border-color:var(--eui-base-color-grey-15);color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-default.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-grey-50)}ion-chip.euim-chip-selector__item-selected--color-white{background-color:var(--eui-base-color-white)!important;border-color:var(--eui-base-color-white)!important;color:var(--eui-base-color-grey-100)!important}ion-chip.euim-chip-selector__item-selected--color-dark{background-color:var(--eui-base-color-grey-100)!important;border-color:var(--eui-base-color-grey-100)!important;color:var(--eui-base-color-white)!important}\n"], dependencies: [{ kind: "component", type: i1.IonSearchbar, selector: "ion-searchbar", inputs: ["animated", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "mode", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"] }, { kind: "directive", type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "component", type: EuimScrollerXComponent, selector: "euim-scroller-x" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3604
2444
|
}
|
|
3605
|
-
__decorate([
|
|
3606
|
-
coerceBoolean
|
|
3607
|
-
], EuimChipSelectorComponent.prototype, "isMultiSelectionMode", void 0);
|
|
3608
2445
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChipSelectorComponent, decorators: [{
|
|
3609
2446
|
type: Component,
|
|
3610
|
-
args: [{ selector: 'euim-chip-selector', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<euim-scroller-x>\n
|
|
2447
|
+
args: [{ selector: 'euim-chip-selector', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (hasSearchbar) {\n <ion-searchbar (ionChange)=\"handleChange($event)\"\n class=\"euim-chip-selector__searchbar\"></ion-searchbar>\n}\n<euim-scroller-x>\n <ng-content></ng-content>\n</euim-scroller-x>\n\n", styles: [".euim-chip-selector{padding:var(--eui-base-spacing-xs) 0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs);display:flex;justify-content:center;flex-direction:column}.euim-chip-selector ion-chip{margin:0 var(--eui-base-spacing-xs) 0 0}.euim-chip-selector ion-searchbar{padding-inline-start:0;padding-top:0;padding-bottom:var(--eui-base-spacing-s)}.euim-chip-selector__item--fill-default,.euim-chip-selector--fill-solid{border:none}.euim-chip-selector__item--fill-outline{background-color:transparent!important;border-width:1px;border-style:solid}.euim-chip-selector__item--fill-clear{background-color:transparent!important;border:none}.euim-chip-selector__item--fill-outline-solid{border-width:1px;border-style:solid}.euim-chip-selector--background-color-primary{background-color:var(--eui-base-color-primary-100)}.euim-chip-selector__item--color-success{background-color:var(--eui-base-color-success-25);border-color:var(--eui-base-color-success-25);color:var(--eui-base-color-success-100)}.euim-chip-selector__item--color-success.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-success-50)}.euim-chip-selector__item--color-warning{background-color:var(--eui-base-color-warning-25);border-color:var(--eui-base-color-warning-25);color:var(--eui-base-color-warning-140)}.euim-chip-selector__item--color-warning.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-warning-50)}.euim-chip-selector__item--color-danger{background-color:var(--eui-base-color-danger-25);border-color:var(--eui-base-color-danger-25);color:var(--eui-base-color-danger-100)}.euim-chip-selector__item--color-danger.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-danger-50)}.euim-chip-selector__item--color-primary{background-color:var(--eui-base-color-primary-25);border-color:var(--eui-base-color-primary-25);color:var(--eui-base-color-primary-100)}.euim-chip-selector__item--color-primary.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-primary-50)}.euim-chip-selector__item--color-info{background-color:var(--eui-base-color-info-25);border-color:var(--eui-base-color-info-25);color:var(--eui-base-color-info-100)}.euim-chip-selector__item--color-info.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-info-50)}.euim-chip-selector__item--color-dark{background-color:var(--eui-base-color-grey-100);border-color:var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-chip-selector__item--color-dark.euim-chip-selector__item--fill-outline{color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-white{background-color:var(--eui-base-color-white);border-color:var(--eui-base-color-white);color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-white.euim-chip-selector__item--fill-outline{color:var(--eui-base-color-white)}.euim-chip-selector__item--color-default{background-color:var(--eui-base-grey-15);border-color:var(--eui-base-color-grey-15);color:var(--eui-base-color-grey-100)}.euim-chip-selector__item--color-default.euim-chip-selector__item--fill-outline{border-color:var(--eui-base-color-grey-50)}ion-chip.euim-chip-selector__item-selected--color-white{background-color:var(--eui-base-color-white)!important;border-color:var(--eui-base-color-white)!important;color:var(--eui-base-color-grey-100)!important}ion-chip.euim-chip-selector__item-selected--color-dark{background-color:var(--eui-base-color-grey-100)!important;border-color:var(--eui-base-color-grey-100)!important;color:var(--eui-base-color-white)!important}\n"] }]
|
|
3611
2448
|
}], propDecorators: { backgroundColor: [{
|
|
3612
2449
|
type: Input
|
|
3613
|
-
}], chipColor: [{
|
|
3614
|
-
type: Input
|
|
3615
2450
|
}], color: [{
|
|
3616
2451
|
type: Input
|
|
3617
2452
|
}], chipSelectedColor: [{
|
|
@@ -3623,7 +2458,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3623
2458
|
}], selectedChips: [{
|
|
3624
2459
|
type: Input
|
|
3625
2460
|
}], isMultiSelectionMode: [{
|
|
3626
|
-
type: Input
|
|
2461
|
+
type: Input,
|
|
2462
|
+
args: [{ transform: booleanAttribute }]
|
|
2463
|
+
}], euimKeepSelection: [{
|
|
2464
|
+
type: Input,
|
|
2465
|
+
args: [{ transform: booleanAttribute }]
|
|
2466
|
+
}], hasSearchbar: [{
|
|
2467
|
+
type: Input,
|
|
2468
|
+
args: [{ transform: booleanAttribute }]
|
|
3627
2469
|
}], filterData: [{
|
|
3628
2470
|
type: Output
|
|
3629
2471
|
}], clickItems: [{
|
|
@@ -3690,23 +2532,8 @@ class EuimSkeletonListItemComponent {
|
|
|
3690
2532
|
.trim();
|
|
3691
2533
|
}
|
|
3692
2534
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonListItemComponent, deps: [{ token: BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3693
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2535
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimSkeletonListItemComponent, selector: "euim-skeleton-list-item", inputs: { hasAvatar: ["hasAvatar", "hasAvatar", booleanAttribute], hasTitle: ["hasTitle", "hasTitle", booleanAttribute], hasSubtitle: ["hasSubtitle", "hasSubtitle", booleanAttribute], hasMetaLine: ["hasMetaLine", "hasMetaLine", booleanAttribute], isAnimated: ["isAnimated", "isAnimated", booleanAttribute], avatarType: "avatarType", separator: "separator", titleWidth: "titleWidth", subTitleWidth: "subTitleWidth", metaLineWidth: "metaLineWidth" }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: BaseStatesDirective, inputs: ["euimSize2XL", "euimSize2XL", "euimSizeL", "euimSizeL"] }], ngImport: i0, template: "<ion-item button [lines]=\"separator\">\n @if (hasAvatar) {\n <ion-thumbnail slot=\"start\">\n <ion-skeleton-text [animated]=\"true\"></ion-skeleton-text>\n </ion-thumbnail>\n }\n <ion-label>\n @if (hasTitle) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"titleWidth || '80%'\"></ion-skeleton-text>\n }\n @if (hasSubtitle) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"subTitleWidth || '60%'\"></ion-skeleton-text>\n }\n @if (hasMetaLine) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"metaLineWidth || '40%'\"></ion-skeleton-text>\n }\n </ion-label>\n</ion-item>\n", styles: [".euim-skeleton-list-item ion-label ion-skeleton-text{margin-bottom:var(--eui-base-spacing-xs)}.euim-skeleton-list-item ion-thumbnail{width:var(--eui-base-spacing-2xl);height:var(--eui-base-spacing-2xl)}.euim-skeleton-list-item--size-l ion-thumbnail{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-skeleton-list-item--size-2xl ion-thumbnail{width:var(--eui-base-spacing-2xl);height:var(--eui-base-spacing-2xl)}.euim-skeleton-list-item ion-thumbnail{--border-radius: 50%}.euim-skeleton-list-item--square ion-thumbnail{--border-radius: 0}\n"], dependencies: [{ kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonSkeletonText, selector: "ion-skeleton-text", inputs: ["animated"] }, { kind: "component", type: i1.IonThumbnail, selector: "ion-thumbnail" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3694
2536
|
}
|
|
3695
|
-
__decorate([
|
|
3696
|
-
coerceBoolean
|
|
3697
|
-
], EuimSkeletonListItemComponent.prototype, "hasAvatar", void 0);
|
|
3698
|
-
__decorate([
|
|
3699
|
-
coerceBoolean
|
|
3700
|
-
], EuimSkeletonListItemComponent.prototype, "hasTitle", void 0);
|
|
3701
|
-
__decorate([
|
|
3702
|
-
coerceBoolean
|
|
3703
|
-
], EuimSkeletonListItemComponent.prototype, "hasSubtitle", void 0);
|
|
3704
|
-
__decorate([
|
|
3705
|
-
coerceBoolean
|
|
3706
|
-
], EuimSkeletonListItemComponent.prototype, "hasMetaLine", void 0);
|
|
3707
|
-
__decorate([
|
|
3708
|
-
coerceBoolean
|
|
3709
|
-
], EuimSkeletonListItemComponent.prototype, "isAnimated", void 0);
|
|
3710
2537
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonListItemComponent, decorators: [{
|
|
3711
2538
|
type: Component,
|
|
3712
2539
|
args: [{ selector: 'euim-skeleton-list-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
@@ -3717,20 +2544,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3717
2544
|
'euimSizeL',
|
|
3718
2545
|
],
|
|
3719
2546
|
},
|
|
3720
|
-
], template: "<ion-item button [lines]=\"separator\">\n <ion-thumbnail
|
|
2547
|
+
], template: "<ion-item button [lines]=\"separator\">\n @if (hasAvatar) {\n <ion-thumbnail slot=\"start\">\n <ion-skeleton-text [animated]=\"true\"></ion-skeleton-text>\n </ion-thumbnail>\n }\n <ion-label>\n @if (hasTitle) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"titleWidth || '80%'\"></ion-skeleton-text>\n }\n @if (hasSubtitle) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"subTitleWidth || '60%'\"></ion-skeleton-text>\n }\n @if (hasMetaLine) {\n <ion-skeleton-text [animated]=\"isAnimated\"\n [style.width]=\"metaLineWidth || '40%'\"></ion-skeleton-text>\n }\n </ion-label>\n</ion-item>\n", styles: [".euim-skeleton-list-item ion-label ion-skeleton-text{margin-bottom:var(--eui-base-spacing-xs)}.euim-skeleton-list-item ion-thumbnail{width:var(--eui-base-spacing-2xl);height:var(--eui-base-spacing-2xl)}.euim-skeleton-list-item--size-l ion-thumbnail{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-skeleton-list-item--size-2xl ion-thumbnail{width:var(--eui-base-spacing-2xl);height:var(--eui-base-spacing-2xl)}.euim-skeleton-list-item ion-thumbnail{--border-radius: 50%}.euim-skeleton-list-item--square ion-thumbnail{--border-radius: 0}\n"] }]
|
|
3721
2548
|
}], ctorParameters: () => [{ type: BaseStatesDirective }], propDecorators: { cssClasses: [{
|
|
3722
2549
|
type: HostBinding,
|
|
3723
2550
|
args: ['class']
|
|
3724
2551
|
}], hasAvatar: [{
|
|
3725
|
-
type: Input
|
|
2552
|
+
type: Input,
|
|
2553
|
+
args: [{ transform: booleanAttribute }]
|
|
3726
2554
|
}], hasTitle: [{
|
|
3727
|
-
type: Input
|
|
2555
|
+
type: Input,
|
|
2556
|
+
args: [{ transform: booleanAttribute }]
|
|
3728
2557
|
}], hasSubtitle: [{
|
|
3729
|
-
type: Input
|
|
2558
|
+
type: Input,
|
|
2559
|
+
args: [{ transform: booleanAttribute }]
|
|
3730
2560
|
}], hasMetaLine: [{
|
|
3731
|
-
type: Input
|
|
2561
|
+
type: Input,
|
|
2562
|
+
args: [{ transform: booleanAttribute }]
|
|
3732
2563
|
}], isAnimated: [{
|
|
3733
|
-
type: Input
|
|
2564
|
+
type: Input,
|
|
2565
|
+
args: [{ transform: booleanAttribute }]
|
|
3734
2566
|
}], avatarType: [{
|
|
3735
2567
|
type: Input
|
|
3736
2568
|
}], separator: [{
|
|
@@ -3743,7 +2575,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3743
2575
|
type: Input
|
|
3744
2576
|
}] } });
|
|
3745
2577
|
|
|
3746
|
-
const COMPONENTS$
|
|
2578
|
+
const COMPONENTS$4 = [
|
|
3747
2579
|
EuimSkeletonListItemComponent,
|
|
3748
2580
|
];
|
|
3749
2581
|
class EuimSkeletonListItemModule {
|
|
@@ -3761,10 +2593,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3761
2593
|
IonicModule,
|
|
3762
2594
|
],
|
|
3763
2595
|
exports: [
|
|
3764
|
-
...COMPONENTS$
|
|
2596
|
+
...COMPONENTS$4,
|
|
3765
2597
|
],
|
|
3766
2598
|
declarations: [
|
|
3767
|
-
...COMPONENTS$
|
|
2599
|
+
...COMPONENTS$4,
|
|
3768
2600
|
],
|
|
3769
2601
|
}]
|
|
3770
2602
|
}] });
|
|
@@ -3794,11 +2626,11 @@ class EuimSkeletonListComponent {
|
|
|
3794
2626
|
return Array.from({ length: this.items });
|
|
3795
2627
|
}
|
|
3796
2628
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3797
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2629
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimSkeletonListComponent, selector: "euim-skeleton-list", inputs: { items: "items" }, queries: [{ propertyName: "skeletonListItem", first: true, predicate: EuimSkeletonListItemComponent, descendants: true }], ngImport: i0, template: "@for (item of itemsArray; track item) {\n @if (!skeletonListItem) {\n <euim-skeleton-list-item></euim-skeleton-list-item>\n }\n @if (skeletonListItem) {\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n }\n}\n\n", dependencies: [{ kind: "directive", type: i2$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "component", type: EuimSkeletonListItemComponent, selector: "euim-skeleton-list-item", inputs: ["hasAvatar", "hasTitle", "hasSubtitle", "hasMetaLine", "isAnimated", "avatarType", "separator", "titleWidth", "subTitleWidth", "metaLineWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3798
2630
|
}
|
|
3799
2631
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonListComponent, decorators: [{
|
|
3800
2632
|
type: Component,
|
|
3801
|
-
args: [{ selector: 'euim-skeleton-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "
|
|
2633
|
+
args: [{ selector: 'euim-skeleton-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "@for (item of itemsArray; track item) {\n @if (!skeletonListItem) {\n <euim-skeleton-list-item></euim-skeleton-list-item>\n }\n @if (skeletonListItem) {\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n }\n}\n\n" }]
|
|
3802
2634
|
}], propDecorators: { items: [{
|
|
3803
2635
|
type: Input
|
|
3804
2636
|
}], skeletonListItem: [{
|
|
@@ -3806,7 +2638,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3806
2638
|
args: [EuimSkeletonListItemComponent]
|
|
3807
2639
|
}] } });
|
|
3808
2640
|
|
|
3809
|
-
const COMPONENTS$
|
|
2641
|
+
const COMPONENTS$3 = [
|
|
3810
2642
|
EuimSkeletonListComponent,
|
|
3811
2643
|
];
|
|
3812
2644
|
class EuimSkeletonListModule {
|
|
@@ -3827,10 +2659,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3827
2659
|
EuimSkeletonListItemModule,
|
|
3828
2660
|
],
|
|
3829
2661
|
exports: [
|
|
3830
|
-
...COMPONENTS$
|
|
2662
|
+
...COMPONENTS$3,
|
|
3831
2663
|
],
|
|
3832
2664
|
declarations: [
|
|
3833
|
-
...COMPONENTS$
|
|
2665
|
+
...COMPONENTS$3,
|
|
3834
2666
|
],
|
|
3835
2667
|
}]
|
|
3836
2668
|
}] });
|
|
@@ -3894,14 +2726,11 @@ class EuimMultiselectComponent {
|
|
|
3894
2726
|
}
|
|
3895
2727
|
}
|
|
3896
2728
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMultiselectComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3897
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2729
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimMultiselectComponent, selector: "euim-multiselect", inputs: { currentDataProvider: "currentDataProvider", toolbarTitle: "toolbarTitle", euimKeepSelection: ["euimKeepSelection", "euimKeepSelection", booleanAttribute] }, host: { properties: { "class": "this.className" } }, usesOnChanges: true, ngImport: i0, template: "<ion-header>\n <ion-toolbar color=\"light\" class=\"euim-multiselect__toolbar\">\n <ng-content select=\"euim-multiselect-toolbar\"></ng-content>\n <ion-toolbar color=\"light\">\n <ng-content select=\"euim-multiselect-filter\"></ng-content>\n </ion-toolbar>\n </ion-toolbar>\n</ion-header>\n\n@if (currentDataProvider?.length > 0) {\n <ng-content select=\"euim-multiselect-list\">\n </ng-content>\n}\n\n@if (currentDataProvider?.length === 0) {\n <ng-content select=\"euim-empty-list-placeholder\">\n </ng-content>\n}\n\n\n\n", styles: [".euim-multiselect__toolbar{color:var(--eui-base-color-grey-100)}.euim-multiselect__toolbar--title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700}\n"], dependencies: [{ kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3898
2730
|
}
|
|
3899
|
-
__decorate([
|
|
3900
|
-
coerceBoolean
|
|
3901
|
-
], EuimMultiselectComponent.prototype, "euimKeepSelection", void 0);
|
|
3902
2731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMultiselectComponent, decorators: [{
|
|
3903
2732
|
type: Component,
|
|
3904
|
-
args: [{ selector: 'euim-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-header>\n
|
|
2733
|
+
args: [{ selector: 'euim-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-header>\n <ion-toolbar color=\"light\" class=\"euim-multiselect__toolbar\">\n <ng-content select=\"euim-multiselect-toolbar\"></ng-content>\n <ion-toolbar color=\"light\">\n <ng-content select=\"euim-multiselect-filter\"></ng-content>\n </ion-toolbar>\n </ion-toolbar>\n</ion-header>\n\n@if (currentDataProvider?.length > 0) {\n <ng-content select=\"euim-multiselect-list\">\n </ng-content>\n}\n\n@if (currentDataProvider?.length === 0) {\n <ng-content select=\"euim-empty-list-placeholder\">\n </ng-content>\n}\n\n\n\n", styles: [".euim-multiselect__toolbar{color:var(--eui-base-color-grey-100)}.euim-multiselect__toolbar--title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700}\n"] }]
|
|
3905
2734
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { className: [{
|
|
3906
2735
|
type: HostBinding,
|
|
3907
2736
|
args: ['class']
|
|
@@ -3910,7 +2739,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
3910
2739
|
}], toolbarTitle: [{
|
|
3911
2740
|
type: Input
|
|
3912
2741
|
}], euimKeepSelection: [{
|
|
3913
|
-
type: Input
|
|
2742
|
+
type: Input,
|
|
2743
|
+
args: [{ transform: booleanAttribute }]
|
|
3914
2744
|
}] } });
|
|
3915
2745
|
|
|
3916
2746
|
class EuimMultiselectFilterComponent {
|
|
@@ -3934,11 +2764,31 @@ class EuimMultiselectFilterComponent {
|
|
|
3934
2764
|
else {
|
|
3935
2765
|
this.multiselect.currentDataProvider =
|
|
3936
2766
|
this.multiselect.initialDataProvider;
|
|
2767
|
+
this.applyStatusToSelectAllCheckControl();
|
|
3937
2768
|
}
|
|
3938
2769
|
}
|
|
3939
2770
|
else {
|
|
3940
2771
|
this.multiselect.currentDataProvider =
|
|
3941
2772
|
this.multiselect.initialDataProvider?.filter(item => this.filterByFieldsNames.some(fieldName => item[fieldName].toString().toLowerCase().includes(query)));
|
|
2773
|
+
if (this.multiselect.euimKeepSelection) {
|
|
2774
|
+
this.applyStatusToSelectAllCheckControl();
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
applyStatusToSelectAllCheckControl() {
|
|
2779
|
+
const isSelectAll = this.multiselect.currentDataProvider?.every((item) => item.selected);
|
|
2780
|
+
this.multiselect.indeterminate = !isSelectAll && this.multiselect.currentDataProvider?.some((item) => item.selected);
|
|
2781
|
+
if (!this.multiselect.indeterminate) {
|
|
2782
|
+
this.multiselect.selectAll = isSelectAll;
|
|
2783
|
+
if (isSelectAll) {
|
|
2784
|
+
this.multiselect.numberOfSelected = this.multiselect.currentDataProvider?.length;
|
|
2785
|
+
}
|
|
2786
|
+
else {
|
|
2787
|
+
this.multiselect.numberOfSelected = 0;
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
else {
|
|
2791
|
+
this.multiselect.numberOfSelected = this.multiselect.countSelectedItems();
|
|
3942
2792
|
}
|
|
3943
2793
|
}
|
|
3944
2794
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMultiselectFilterComponent, deps: [{ token: EuimMultiselectComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -3964,15 +2814,9 @@ class EuimMultiselectAllDirective {
|
|
|
3964
2814
|
this.euimMulti.indeterminate = false;
|
|
3965
2815
|
if (event.detail.checked) {
|
|
3966
2816
|
this.euimMulti.numberOfSelected = this.euimMulti.currentDataProvider?.length;
|
|
3967
|
-
if (this.euimMulti.euimKeepSelection) {
|
|
3968
|
-
this.euimMulti.initialDataProvider?.forEach((item) => (item.selected = true));
|
|
3969
|
-
}
|
|
3970
2817
|
}
|
|
3971
2818
|
else {
|
|
3972
2819
|
this.euimMulti.numberOfSelected = 0;
|
|
3973
|
-
if (this.euimMulti.euimKeepSelection) {
|
|
3974
|
-
this.euimMulti.initialDataProvider?.forEach((item) => (item.selected = false));
|
|
3975
|
-
}
|
|
3976
2820
|
}
|
|
3977
2821
|
}
|
|
3978
2822
|
get indeterminate() {
|
|
@@ -4104,28 +2948,26 @@ class EuimMultiselectToolbarComponent {
|
|
|
4104
2948
|
this.cancel.emit(true);
|
|
4105
2949
|
}
|
|
4106
2950
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMultiselectToolbarComponent, deps: [{ token: EuimMultiselectComponent }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4107
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2951
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimMultiselectToolbarComponent, selector: "euim-multiselect-toolbar", inputs: { toolbarTitle: "toolbarTitle", euimCustomRender: ["euimCustomRender", "euimCustomRender", booleanAttribute] }, outputs: { cancel: "cancel", confirm: "confirm" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "@if (!euimCustomRender) {\n <euim-toolbar\n [hasBackButton]=\"false\" [hasSidebarTrigger]=\"false\" >\n <ion-button (click)=\"onCancelClick()\">\n <ion-icon name=\"close-sharp\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n <ng-content select=\"ion-button\"></ng-content>\n <euim-toolbar-title class=\"euim-multiselect__toolbar--title\">\n {{toolbarTitle}}\n </euim-toolbar-title>\n <euim-toolbar-action-items>\n <ion-button (click)=\"onConfirm()\">\n <ion-icon name=\"checkmark-sharp\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </euim-toolbar-action-items>\n </euim-toolbar>\n}\n@if (euimCustomRender) {\n <ng-content></ng-content>\n}\n\n", dependencies: [{ kind: "component", type: i1.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: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: EuimToolbarComponent, selector: "euim-toolbar", inputs: ["hasBackButton", "backButtonDefaultHref", "hasSidebarTrigger", "hasLanguageSelector"], outputs: ["backButtonClick"] }, { kind: "component", type: EuimToolbarTitleComponent, selector: "euim-toolbar-title" }, { kind: "component", type: EuimToolbarActionItemsComponent, selector: "euim-toolbar-action-items" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4108
2952
|
}
|
|
4109
|
-
__decorate([
|
|
4110
|
-
coerceBoolean
|
|
4111
|
-
], EuimMultiselectToolbarComponent.prototype, "euimCustomRender", void 0);
|
|
4112
2953
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimMultiselectToolbarComponent, decorators: [{
|
|
4113
2954
|
type: Component,
|
|
4114
|
-
args: [{ selector: 'euim-multiselect-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<euim-toolbar\n
|
|
2955
|
+
args: [{ selector: 'euim-multiselect-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "@if (!euimCustomRender) {\n <euim-toolbar\n [hasBackButton]=\"false\" [hasSidebarTrigger]=\"false\" >\n <ion-button (click)=\"onCancelClick()\">\n <ion-icon name=\"close-sharp\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n <ng-content select=\"ion-button\"></ng-content>\n <euim-toolbar-title class=\"euim-multiselect__toolbar--title\">\n {{toolbarTitle}}\n </euim-toolbar-title>\n <euim-toolbar-action-items>\n <ion-button (click)=\"onConfirm()\">\n <ion-icon name=\"checkmark-sharp\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </euim-toolbar-action-items>\n </euim-toolbar>\n}\n@if (euimCustomRender) {\n <ng-content></ng-content>\n}\n\n" }]
|
|
4115
2956
|
}], ctorParameters: () => [{ type: EuimMultiselectComponent }], propDecorators: { className: [{
|
|
4116
2957
|
type: HostBinding,
|
|
4117
2958
|
args: ['class']
|
|
4118
2959
|
}], toolbarTitle: [{
|
|
4119
2960
|
type: Input
|
|
4120
2961
|
}], euimCustomRender: [{
|
|
4121
|
-
type: Input
|
|
2962
|
+
type: Input,
|
|
2963
|
+
args: [{ transform: booleanAttribute }]
|
|
4122
2964
|
}], cancel: [{
|
|
4123
2965
|
type: Output
|
|
4124
2966
|
}], confirm: [{
|
|
4125
2967
|
type: Output
|
|
4126
2968
|
}] } });
|
|
4127
2969
|
|
|
4128
|
-
const COMPONENTS = [
|
|
2970
|
+
const COMPONENTS$2 = [
|
|
4129
2971
|
EuimMultiselectComponent,
|
|
4130
2972
|
EuimMultiselectFilterComponent,
|
|
4131
2973
|
EuimMultiselectListComponent,
|
|
@@ -4175,6 +3017,282 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
4175
3017
|
EuimEmptyListPlaceholderModule,
|
|
4176
3018
|
TranslateModule,
|
|
4177
3019
|
],
|
|
3020
|
+
exports: [
|
|
3021
|
+
...COMPONENTS$2,
|
|
3022
|
+
],
|
|
3023
|
+
declarations: [
|
|
3024
|
+
...COMPONENTS$2,
|
|
3025
|
+
],
|
|
3026
|
+
}]
|
|
3027
|
+
}] });
|
|
3028
|
+
|
|
3029
|
+
class EuimPdfWrapperComponent {
|
|
3030
|
+
constructor(alertService) {
|
|
3031
|
+
this.alertService = alertService;
|
|
3032
|
+
this.page = 1;
|
|
3033
|
+
this.zoom = 1;
|
|
3034
|
+
this.loading = true;
|
|
3035
|
+
this.errorMessage = '';
|
|
3036
|
+
this.showDefaultError = true;
|
|
3037
|
+
setTimeout(() => {
|
|
3038
|
+
if (this.showDefaultError) {
|
|
3039
|
+
this.loading = false;
|
|
3040
|
+
this.alertService.create({ header: 'PDF could not be loaded.' }).then();
|
|
3041
|
+
}
|
|
3042
|
+
}, 15000);
|
|
3043
|
+
}
|
|
3044
|
+
onLoaded(pdf) {
|
|
3045
|
+
this.showDefaultError = false;
|
|
3046
|
+
this.loading = false;
|
|
3047
|
+
this.pdf = pdf;
|
|
3048
|
+
}
|
|
3049
|
+
onError() {
|
|
3050
|
+
this.showDefaultError = false;
|
|
3051
|
+
this.loading = false;
|
|
3052
|
+
this.errorMessage = 'File could not be loaded.';
|
|
3053
|
+
}
|
|
3054
|
+
onDownload() {
|
|
3055
|
+
this.pdf.getData().then((u8) => {
|
|
3056
|
+
const blob = new Blob([u8.buffer], {
|
|
3057
|
+
type: 'application/pdf',
|
|
3058
|
+
});
|
|
3059
|
+
// Create a download link
|
|
3060
|
+
const downloadLink = document.createElement('a');
|
|
3061
|
+
downloadLink.href = window.URL.createObjectURL(blob);
|
|
3062
|
+
// dtm downloadLink.download = this.title;
|
|
3063
|
+
// Append the link to the body
|
|
3064
|
+
document.body.appendChild(downloadLink);
|
|
3065
|
+
// Programmatically trigger a click on the link
|
|
3066
|
+
downloadLink.click();
|
|
3067
|
+
// Remove the link from the DOM
|
|
3068
|
+
document.body.removeChild(downloadLink);
|
|
3069
|
+
});
|
|
3070
|
+
}
|
|
3071
|
+
onZoomIn() {
|
|
3072
|
+
this.zoom += 0.5;
|
|
3073
|
+
this.page = 2;
|
|
3074
|
+
}
|
|
3075
|
+
onZoomOut() {
|
|
3076
|
+
if (this.zoom > 1) {
|
|
3077
|
+
this.zoom -= 0.5;
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
onResetZoom() {
|
|
3081
|
+
this.zoom = 1;
|
|
3082
|
+
}
|
|
3083
|
+
// async onDismissModal() {
|
|
3084
|
+
// await this.modalCtrl.dismiss();
|
|
3085
|
+
// }
|
|
3086
|
+
nextPage() {
|
|
3087
|
+
if (this.page < this.pdf.numPages) {
|
|
3088
|
+
this.page++;
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
prevPage() {
|
|
3092
|
+
if (this.page > 1) {
|
|
3093
|
+
this.page--;
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperComponent, deps: [{ token: i1.AlertController }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3097
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimPdfWrapperComponent, selector: "euim-pdf-wrapper", inputs: { url: "url", page: "page" }, ngImport: i0, template: "<div>\n @if (loading) {\n <euim-spinner>\n <div euimSpinnerMessage>Loading PDF...</div>\n </euim-spinner>\n }\n @if (errorMessage) {\n <div>{{errorMessage}}</div>\n }\n</div>\n\n\n<pinch-zoom>\n <div style=\"display: block;width: 500px; height: 500px\">\n <pdf-viewer [src]=\"url\"\n [zoom]=\"zoom\"\n [original-size]=\"true\"\n [autoresize]=\"false\"\n (after-load-complete)=\"onLoaded($event)\"\n (error)=\"onError()\"\n [page]=\"page\"\n style=\"width: 100%; height: 100%\"></pdf-viewer>\n </div>\n</pinch-zoom>\n\n<ion-footer>\n <ion-toolbar color=\"primary\" class=\"pdf-preview-modal__footer\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onDownload()\" [disabled]=\"!pdf\">\n <ion-icon name=\"download-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </ion-buttons>\n <ion-buttons class=\"pdf-preview-modal__footer-zoom-container\">\n <ion-button (click)=\"onZoomOut()\" [disabled]=\"zoom === 1\">\n <ion-icon name=\"remove-circle-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n <ion-button (click)=\"onResetZoom()\">\n ZOOM\n </ion-button>\n <ion-button (click)=\"onZoomIn()\">\n <ion-icon name=\"add-circle-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n\n\n <ion-button (click)=\"prevPage()\">\n Prev\n </ion-button>\n {{page}}\n <ion-button (click)=\"nextPage()\">\n Next\n </ion-button>\n\n </ion-buttons>\n </ion-toolbar>\n</ion-footer>\n", styles: [""], dependencies: [{ kind: "component", type: i1.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: i1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1.IonFooter, selector: "ion-footer", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: i2$2.PdfViewerComponent, selector: "pdf-viewer", inputs: ["src", "c-maps-url", "page", "render-text", "render-text-mode", "original-size", "show-all", "stick-to-page", "zoom", "zoom-scale", "rotation", "external-link-target", "autoresize", "fit-to-page", "show-borders"], outputs: ["after-load-complete", "page-rendered", "pages-initialized", "text-layer-rendered", "error", "on-progress", "pageChange"] }, { kind: "component", type: i3.PinchZoomComponent, selector: "pinch-zoom, [pinch-zoom]", inputs: ["properties", "transition-duration", "transitionDuration", "double-tap", "doubleTap", "double-tap-scale", "doubleTapScale", "auto-zoom-out", "autoZoomOut", "limit-zoom", "limitZoom", "disabled", "disablePan", "overflow", "zoomControlScale", "disableZoomControl", "backgroundColor", "limitPan", "minPanScale", "minScale", "listeners", "wheel", "autoHeight", "wheelZoomFactor", "draggableImage"], exportAs: ["pinchZoom"] }, { kind: "component", type: EuimSpinnerComponent, selector: "euim-spinner" }, { kind: "component", type: EuimSpinnerMessageComponent, selector: "[euimSpinnerMessage]" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
3098
|
+
}
|
|
3099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperComponent, decorators: [{
|
|
3100
|
+
type: Component,
|
|
3101
|
+
args: [{ selector: 'euim-pdf-wrapper', encapsulation: ViewEncapsulation.None, template: "<div>\n @if (loading) {\n <euim-spinner>\n <div euimSpinnerMessage>Loading PDF...</div>\n </euim-spinner>\n }\n @if (errorMessage) {\n <div>{{errorMessage}}</div>\n }\n</div>\n\n\n<pinch-zoom>\n <div style=\"display: block;width: 500px; height: 500px\">\n <pdf-viewer [src]=\"url\"\n [zoom]=\"zoom\"\n [original-size]=\"true\"\n [autoresize]=\"false\"\n (after-load-complete)=\"onLoaded($event)\"\n (error)=\"onError()\"\n [page]=\"page\"\n style=\"width: 100%; height: 100%\"></pdf-viewer>\n </div>\n</pinch-zoom>\n\n<ion-footer>\n <ion-toolbar color=\"primary\" class=\"pdf-preview-modal__footer\">\n <ion-buttons slot=\"start\">\n <ion-button (click)=\"onDownload()\" [disabled]=\"!pdf\">\n <ion-icon name=\"download-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n </ion-buttons>\n <ion-buttons class=\"pdf-preview-modal__footer-zoom-container\">\n <ion-button (click)=\"onZoomOut()\" [disabled]=\"zoom === 1\">\n <ion-icon name=\"remove-circle-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n <ion-button (click)=\"onResetZoom()\">\n ZOOM\n </ion-button>\n <ion-button (click)=\"onZoomIn()\">\n <ion-icon name=\"add-circle-outline\" slot=\"icon-only\"></ion-icon>\n </ion-button>\n\n\n <ion-button (click)=\"prevPage()\">\n Prev\n </ion-button>\n {{page}}\n <ion-button (click)=\"nextPage()\">\n Next\n </ion-button>\n\n </ion-buttons>\n </ion-toolbar>\n</ion-footer>\n" }]
|
|
3102
|
+
}], ctorParameters: () => [{ type: i1.AlertController }], propDecorators: { url: [{
|
|
3103
|
+
type: Input
|
|
3104
|
+
}], page: [{
|
|
3105
|
+
type: Input
|
|
3106
|
+
}] } });
|
|
3107
|
+
|
|
3108
|
+
const COMPONENTS$1 = [
|
|
3109
|
+
EuimPdfWrapperComponent,
|
|
3110
|
+
];
|
|
3111
|
+
class EuimPdfWrapperModule {
|
|
3112
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3113
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperModule, declarations: [EuimPdfWrapperComponent], imports: [CommonModule,
|
|
3114
|
+
IonicModule,
|
|
3115
|
+
PdfViewerModule,
|
|
3116
|
+
PinchZoomModule,
|
|
3117
|
+
EuimSpinnerComponentModule], exports: [EuimPdfWrapperComponent] }); }
|
|
3118
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperModule, imports: [CommonModule,
|
|
3119
|
+
IonicModule,
|
|
3120
|
+
PdfViewerModule,
|
|
3121
|
+
PinchZoomModule,
|
|
3122
|
+
EuimSpinnerComponentModule] }); }
|
|
3123
|
+
}
|
|
3124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPdfWrapperModule, decorators: [{
|
|
3125
|
+
type: NgModule,
|
|
3126
|
+
args: [{
|
|
3127
|
+
imports: [
|
|
3128
|
+
CommonModule,
|
|
3129
|
+
IonicModule,
|
|
3130
|
+
PdfViewerModule,
|
|
3131
|
+
PinchZoomModule,
|
|
3132
|
+
EuimSpinnerComponentModule,
|
|
3133
|
+
],
|
|
3134
|
+
exports: [
|
|
3135
|
+
...COMPONENTS$1,
|
|
3136
|
+
],
|
|
3137
|
+
declarations: [
|
|
3138
|
+
...COMPONENTS$1,
|
|
3139
|
+
],
|
|
3140
|
+
}]
|
|
3141
|
+
}] });
|
|
3142
|
+
|
|
3143
|
+
class EuimChangelogComponent {
|
|
3144
|
+
constructor() {
|
|
3145
|
+
this.changeLogs = [];
|
|
3146
|
+
}
|
|
3147
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChangelogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3148
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimChangelogComponent, selector: "euim-changelog", inputs: { changeLogs: "changeLogs" }, ngImport: i0, template: "<div class=\"euim-changelog\">\n\n <ion-header>\n <ion-toolbar color=\"primary\">\n <euim-toolbar>\n <euim-toolbar-title>Change Log</euim-toolbar-title>\n </euim-toolbar>\n </ion-toolbar>\n </ion-header>\n\n <ion-content [fullscreen]=\"true\" scroll-y=\"false\">\n <ion-list>\n <ion-accordion-group [multiple]=\"true\" value=\"about\">\n @for (logItem of changeLogs; track logItem) {\n <ng-container>\n <ion-accordion value=\"about\">\n <ion-item button slot=\"header\" lines=\"full\" class=\"euim-changelog__expanded-border\">\n <ion-icon name=\"build-outline\"></ion-icon>\n <ion-label>\n <div class=\"euim-changelog__euimLabelTitle\" euimLabel euimLabelTitle><strong>{{logItem.version }}</strong></div>\n </ion-label>\n </ion-item>\n <ion-list slot=\"content\">\n <ion-item-divider>\n <ion-label>New features</ion-label>\n </ion-item-divider>\n @for (feature of logItem.features; track feature) {\n <ion-item lines=\"none\" class=\"euim-changelog__item\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ feature }}\n </div>\n </ion-item> }\n <ion-item-divider>\n <ion-label>Improvements</ion-label>\n </ion-item-divider>\n @for (improvement of logItem.improvements; track improvement) {\n <ion-item lines=\"none\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ improvement}}\n </div>\n </ion-item> }\n <ion-item-divider>\n <ion-label>Bugfixes</ion-label>\n </ion-item-divider>\n @for (bugfix of logItem.bugfixes; track bugfix) {\n <ion-item lines=\"none\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ bugfix }}\n </div>\n </ion-item> }\n </ion-list>\n </ion-accordion>\n </ng-container> }\n </ion-accordion-group>\n </ion-list>\n </ion-content>\n</div>\n", styles: [".euim-changelog__euimLabelTitle{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);justify-content:space-between;margin-left:var(--eui-base-spacing-m)}.euim-changelog__bullet-point{display:inline-block;background-color:var(--eui-base-color-grey-100);width:var(--eui-base-spacing-2xs);height:var(--eui-base-spacing-2xs);border-radius:50%;margin-right:var(--eui-base-spacing-s)}.euim-changelog__label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);white-space:wrap;color:var(--eui-base-color-grey-120);min-height:0px!important}\n"], dependencies: [{ kind: "component", type: i1.IonAccordion, selector: "ion-accordion", inputs: ["disabled", "mode", "readonly", "toggleIcon", "toggleIconSlot", "value"] }, { kind: "component", type: i1.IonAccordionGroup, selector: "ion-accordion-group", inputs: ["animated", "disabled", "expand", "mode", "multiple", "readonly", "value"] }, { kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: EuimToolbarComponent, selector: "euim-toolbar", inputs: ["hasBackButton", "backButtonDefaultHref", "hasSidebarTrigger", "hasLanguageSelector"], outputs: ["backButtonClick"] }, { kind: "component", type: EuimToolbarTitleComponent, selector: "euim-toolbar-title" }, { kind: "component", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }] }); }
|
|
3149
|
+
}
|
|
3150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimChangelogComponent, decorators: [{
|
|
3151
|
+
type: Component,
|
|
3152
|
+
args: [{ selector: 'euim-changelog', template: "<div class=\"euim-changelog\">\n\n <ion-header>\n <ion-toolbar color=\"primary\">\n <euim-toolbar>\n <euim-toolbar-title>Change Log</euim-toolbar-title>\n </euim-toolbar>\n </ion-toolbar>\n </ion-header>\n\n <ion-content [fullscreen]=\"true\" scroll-y=\"false\">\n <ion-list>\n <ion-accordion-group [multiple]=\"true\" value=\"about\">\n @for (logItem of changeLogs; track logItem) {\n <ng-container>\n <ion-accordion value=\"about\">\n <ion-item button slot=\"header\" lines=\"full\" class=\"euim-changelog__expanded-border\">\n <ion-icon name=\"build-outline\"></ion-icon>\n <ion-label>\n <div class=\"euim-changelog__euimLabelTitle\" euimLabel euimLabelTitle><strong>{{logItem.version }}</strong></div>\n </ion-label>\n </ion-item>\n <ion-list slot=\"content\">\n <ion-item-divider>\n <ion-label>New features</ion-label>\n </ion-item-divider>\n @for (feature of logItem.features; track feature) {\n <ion-item lines=\"none\" class=\"euim-changelog__item\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ feature }}\n </div>\n </ion-item> }\n <ion-item-divider>\n <ion-label>Improvements</ion-label>\n </ion-item-divider>\n @for (improvement of logItem.improvements; track improvement) {\n <ion-item lines=\"none\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ improvement}}\n </div>\n </ion-item> }\n <ion-item-divider>\n <ion-label>Bugfixes</ion-label>\n </ion-item-divider>\n @for (bugfix of logItem.bugfixes; track bugfix) {\n <ion-item lines=\"none\">\n <div class=\"euim-changelog__label\" euimLabel><span class=\"euim-changelog__bullet-point\"></span>{{ bugfix }}\n </div>\n </ion-item> }\n </ion-list>\n </ion-accordion>\n </ng-container> }\n </ion-accordion-group>\n </ion-list>\n </ion-content>\n</div>\n", styles: [".euim-changelog__euimLabelTitle{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);justify-content:space-between;margin-left:var(--eui-base-spacing-m)}.euim-changelog__bullet-point{display:inline-block;background-color:var(--eui-base-color-grey-100);width:var(--eui-base-spacing-2xs);height:var(--eui-base-spacing-2xs);border-radius:50%;margin-right:var(--eui-base-spacing-s)}.euim-changelog__label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);white-space:wrap;color:var(--eui-base-color-grey-120);min-height:0px!important}\n"] }]
|
|
3153
|
+
}], propDecorators: { changeLogs: [{
|
|
3154
|
+
type: Input
|
|
3155
|
+
}] } });
|
|
3156
|
+
|
|
3157
|
+
class EuimPrivacyStatementComponent {
|
|
3158
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPrivacyStatementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3159
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimPrivacyStatementComponent, selector: "euim-privacy-statement", ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3160
|
+
}
|
|
3161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimPrivacyStatementComponent, decorators: [{
|
|
3162
|
+
type: Component,
|
|
3163
|
+
args: [{ selector: 'euim-privacy-statement', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>" }]
|
|
3164
|
+
}] });
|
|
3165
|
+
|
|
3166
|
+
class EuimContactSupportComponent {
|
|
3167
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimContactSupportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3168
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimContactSupportComponent, selector: "euim-contact-support", ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3169
|
+
}
|
|
3170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimContactSupportComponent, decorators: [{
|
|
3171
|
+
type: Component,
|
|
3172
|
+
args: [{ selector: 'euim-contact-support', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>" }]
|
|
3173
|
+
}] });
|
|
3174
|
+
|
|
3175
|
+
class EuimLegalNoticeComponent {
|
|
3176
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLegalNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3177
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimLegalNoticeComponent, selector: "euim-legal-notice", ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3178
|
+
}
|
|
3179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLegalNoticeComponent, decorators: [{
|
|
3180
|
+
type: Component,
|
|
3181
|
+
args: [{ selector: 'euim-legal-notice', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>" }]
|
|
3182
|
+
}] });
|
|
3183
|
+
|
|
3184
|
+
class EuimOpenSourceLicencesComponent {
|
|
3185
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimOpenSourceLicencesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3186
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: EuimOpenSourceLicencesComponent, selector: "euim-opensource-licences", ngImport: i0, template: "<ng-content></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3187
|
+
}
|
|
3188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimOpenSourceLicencesComponent, decorators: [{
|
|
3189
|
+
type: Component,
|
|
3190
|
+
args: [{ selector: 'euim-opensource-licences', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>" }]
|
|
3191
|
+
}] });
|
|
3192
|
+
|
|
3193
|
+
class EuimAboutComponent {
|
|
3194
|
+
constructor() {
|
|
3195
|
+
this.showCode = false;
|
|
3196
|
+
this.logoUrl = '';
|
|
3197
|
+
this.changelogExists = false;
|
|
3198
|
+
this.privacyStatementExists = false;
|
|
3199
|
+
this.contactSupportExists = false;
|
|
3200
|
+
this.legalNoticeExists = false;
|
|
3201
|
+
this.openSourceLicencesExists = false;
|
|
3202
|
+
}
|
|
3203
|
+
toggleQRCode() {
|
|
3204
|
+
this.showCode = !this.showCode;
|
|
3205
|
+
}
|
|
3206
|
+
ngAfterContentInit() {
|
|
3207
|
+
this.changelogExists = !!this.changelog;
|
|
3208
|
+
this.privacyStatementExists = !!this.privacyStatement;
|
|
3209
|
+
this.contactSupportExists = !!this.contactSupport;
|
|
3210
|
+
this.legalNoticeExists = !!this.legalNotice;
|
|
3211
|
+
this.openSourceLicencesExists = !!this.openSourceLicences;
|
|
3212
|
+
}
|
|
3213
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3214
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimAboutComponent, selector: "euim-about", inputs: { showCode: "showCode", version: "version", releaseDate: "releaseDate", qrCodeUrl: "qrCodeUrl", logoUrl: "logoUrl" }, queries: [{ propertyName: "changelog", first: true, predicate: EuimChangelogComponent, descendants: true }, { propertyName: "privacyStatement", first: true, predicate: EuimPrivacyStatementComponent, descendants: true }, { propertyName: "contactSupport", first: true, predicate: EuimContactSupportComponent, descendants: true }, { propertyName: "legalNotice", first: true, predicate: EuimLegalNoticeComponent, descendants: true }, { propertyName: "openSourceLicences", first: true, predicate: EuimOpenSourceLicencesComponent, descendants: true }], ngImport: i0, template: "<div class=\"euim-about\">\r\n <ion-header>\r\n <ion-toolbar color=\"primary\">\r\n <euim-toolbar>\r\n <euim-toolbar-title>About</euim-toolbar-title>\r\n <euim-toolbar-action-items>\r\n <ion-label (click)=\"toggleQRCode()\" class=\"euim-about__toolbar-action-items\">\r\n {{ showCode ? 'HIDE QR CODE' : 'SHOW QR CODE' }}\r\n </ion-label>\r\n </euim-toolbar-action-items>\r\n </euim-toolbar>\r\n </ion-toolbar>\r\n\r\n <euim-header-details color=\"primary\">\r\n <div euimHeaderDetailsIcon>\r\n @if (showCode) {\r\n <qrcode [qrdata]=\"qrCodeUrl\" [allowEmptyString]=\"true\" [cssClass]=\"'center'\"\r\n [elementType]=\"'svg'\" [errorCorrectionLevel]=\"'M'\" [margin]=\"4\" [scale]=\"1\" [width]=\"160\"></qrcode> }\r\n @if (!showCode) {\r\n <img [src]=\"logoUrl\" alt=\"Image\" /> }\r\n </div>\r\n <div euimHeaderDetailsTitle>eUI / mobile</div>\r\n <div euimHeaderDetailsMeta>version {{version}}</div>\r\n <div euimHeaderDetailsMeta>Built on {{releaseDate}}</div>\r\n </euim-header-details>\r\n </ion-header>\r\n\r\n <ion-list>\r\n <ion-list-header>ABOUT THIS APP</ion-list-header>\r\n @if (changelogExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"build-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Change Log</div>\r\n </ion-item>\r\n }\r\n @if (privacyStatementExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"finger-print-sharp\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Privacy Statement</div>\r\n </ion-item>\r\n }\r\n @if (openSourceLicencesExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"ribbon-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Open source Licences</div>\r\n </ion-item> }\r\n @if (legalNoticeExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"library-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Legal Notice</div>\r\n </ion-item> }\r\n @if (contactSupportExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"mail-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Contact & Support</div>\r\n </ion-item> }\r\n </ion-list>\r\n</div>\r\n", styles: [".euim-about{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about euim-toolbar-title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.euim-about euim-toolbar-action-items ion-label{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about ion-label{padding-inline-end:var(--eui-base-spacing-m)}.euim-about__label{min-height:var(--eui-base-spacing-2xs);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}\n"], dependencies: [{ kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonListHeader, selector: "ion-list-header", inputs: ["color", "lines", "mode"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: i2$3.QRCodeComponent, selector: "qrcode", inputs: ["allowEmptyString", "colorDark", "colorLight", "cssClass", "elementType", "errorCorrectionLevel", "margin", "qrdata", "scale", "version", "width"] }, { kind: "component", type: EuimToolbarComponent, selector: "euim-toolbar", inputs: ["hasBackButton", "backButtonDefaultHref", "hasSidebarTrigger", "hasLanguageSelector"], outputs: ["backButtonClick"] }, { kind: "component", type: EuimToolbarTitleComponent, selector: "euim-toolbar-title" }, { kind: "component", type: EuimToolbarActionItemsComponent, selector: "euim-toolbar-action-items" }, { kind: "component", type: EuimHeaderDetailsComponent, selector: "euim-header-details" }, { kind: "directive", type: EuimHeaderDetailsTitleDirective, selector: "[euimHeaderDetailsTitle]" }, { kind: "directive", type: EuimHeaderDetailsMetaDirective, selector: "[euimHeaderDetailsMeta]" }, { kind: "directive", type: EuimHeaderDetailsIconDirective, selector: "[euimHeaderDetailsIcon]" }, { kind: "component", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }] }); }
|
|
3215
|
+
}
|
|
3216
|
+
__decorate([
|
|
3217
|
+
coerceBoolean
|
|
3218
|
+
], EuimAboutComponent.prototype, "showCode", void 0);
|
|
3219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutComponent, decorators: [{
|
|
3220
|
+
type: Component,
|
|
3221
|
+
args: [{ selector: 'euim-about', template: "<div class=\"euim-about\">\r\n <ion-header>\r\n <ion-toolbar color=\"primary\">\r\n <euim-toolbar>\r\n <euim-toolbar-title>About</euim-toolbar-title>\r\n <euim-toolbar-action-items>\r\n <ion-label (click)=\"toggleQRCode()\" class=\"euim-about__toolbar-action-items\">\r\n {{ showCode ? 'HIDE QR CODE' : 'SHOW QR CODE' }}\r\n </ion-label>\r\n </euim-toolbar-action-items>\r\n </euim-toolbar>\r\n </ion-toolbar>\r\n\r\n <euim-header-details color=\"primary\">\r\n <div euimHeaderDetailsIcon>\r\n @if (showCode) {\r\n <qrcode [qrdata]=\"qrCodeUrl\" [allowEmptyString]=\"true\" [cssClass]=\"'center'\"\r\n [elementType]=\"'svg'\" [errorCorrectionLevel]=\"'M'\" [margin]=\"4\" [scale]=\"1\" [width]=\"160\"></qrcode> }\r\n @if (!showCode) {\r\n <img [src]=\"logoUrl\" alt=\"Image\" /> }\r\n </div>\r\n <div euimHeaderDetailsTitle>eUI / mobile</div>\r\n <div euimHeaderDetailsMeta>version {{version}}</div>\r\n <div euimHeaderDetailsMeta>Built on {{releaseDate}}</div>\r\n </euim-header-details>\r\n </ion-header>\r\n\r\n <ion-list>\r\n <ion-list-header>ABOUT THIS APP</ion-list-header>\r\n @if (changelogExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"build-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Change Log</div>\r\n </ion-item>\r\n }\r\n @if (privacyStatementExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"finger-print-sharp\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Privacy Statement</div>\r\n </ion-item>\r\n }\r\n @if (openSourceLicencesExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"ribbon-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Open source Licences</div>\r\n </ion-item> }\r\n @if (legalNoticeExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"library-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Legal Notice</div>\r\n </ion-item> }\r\n @if (contactSupportExists) {\r\n <ion-item class=\"euim-about__item\">\r\n <ion-icon name=\"mail-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel class=\"euim-about__label\">Contact & Support</div>\r\n </ion-item> }\r\n </ion-list>\r\n</div>\r\n", styles: [".euim-about{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about euim-toolbar-title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.euim-about euim-toolbar-action-items ion-label{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about ion-label{padding-inline-end:var(--eui-base-spacing-m)}.euim-about__label{min-height:var(--eui-base-spacing-2xs);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}\n"] }]
|
|
3222
|
+
}], propDecorators: { changelog: [{
|
|
3223
|
+
type: ContentChild,
|
|
3224
|
+
args: [EuimChangelogComponent]
|
|
3225
|
+
}], privacyStatement: [{
|
|
3226
|
+
type: ContentChild,
|
|
3227
|
+
args: [EuimPrivacyStatementComponent]
|
|
3228
|
+
}], contactSupport: [{
|
|
3229
|
+
type: ContentChild,
|
|
3230
|
+
args: [EuimContactSupportComponent]
|
|
3231
|
+
}], legalNotice: [{
|
|
3232
|
+
type: ContentChild,
|
|
3233
|
+
args: [EuimLegalNoticeComponent]
|
|
3234
|
+
}], openSourceLicences: [{
|
|
3235
|
+
type: ContentChild,
|
|
3236
|
+
args: [EuimOpenSourceLicencesComponent]
|
|
3237
|
+
}], showCode: [{
|
|
3238
|
+
type: Input
|
|
3239
|
+
}], version: [{
|
|
3240
|
+
type: Input
|
|
3241
|
+
}], releaseDate: [{
|
|
3242
|
+
type: Input
|
|
3243
|
+
}], qrCodeUrl: [{
|
|
3244
|
+
type: Input
|
|
3245
|
+
}], logoUrl: [{
|
|
3246
|
+
type: Input
|
|
3247
|
+
}] } });
|
|
3248
|
+
|
|
3249
|
+
const COMPONENTS = [
|
|
3250
|
+
EuimAboutComponent,
|
|
3251
|
+
EuimChangelogComponent,
|
|
3252
|
+
EuimPrivacyStatementComponent,
|
|
3253
|
+
EuimOpenSourceLicencesComponent,
|
|
3254
|
+
EuimLegalNoticeComponent,
|
|
3255
|
+
EuimContactSupportComponent,
|
|
3256
|
+
];
|
|
3257
|
+
class EuimAboutModule {
|
|
3258
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3259
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutModule, declarations: [EuimAboutComponent,
|
|
3260
|
+
EuimChangelogComponent,
|
|
3261
|
+
EuimPrivacyStatementComponent,
|
|
3262
|
+
EuimOpenSourceLicencesComponent,
|
|
3263
|
+
EuimLegalNoticeComponent,
|
|
3264
|
+
EuimContactSupportComponent], imports: [CommonModule,
|
|
3265
|
+
IonicModule,
|
|
3266
|
+
QRCodeModule,
|
|
3267
|
+
EuimToolbarComponentModule,
|
|
3268
|
+
EuimHeaderDetailsModule,
|
|
3269
|
+
EuimLabelModule,
|
|
3270
|
+
EuimAvatarIconModule], exports: [EuimAboutComponent,
|
|
3271
|
+
EuimChangelogComponent,
|
|
3272
|
+
EuimPrivacyStatementComponent,
|
|
3273
|
+
EuimOpenSourceLicencesComponent,
|
|
3274
|
+
EuimLegalNoticeComponent,
|
|
3275
|
+
EuimContactSupportComponent] }); }
|
|
3276
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutModule, imports: [CommonModule,
|
|
3277
|
+
IonicModule,
|
|
3278
|
+
QRCodeModule,
|
|
3279
|
+
EuimToolbarComponentModule,
|
|
3280
|
+
EuimHeaderDetailsModule,
|
|
3281
|
+
EuimLabelModule,
|
|
3282
|
+
EuimAvatarIconModule] }); }
|
|
3283
|
+
}
|
|
3284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutModule, decorators: [{
|
|
3285
|
+
type: NgModule,
|
|
3286
|
+
args: [{
|
|
3287
|
+
imports: [
|
|
3288
|
+
CommonModule,
|
|
3289
|
+
IonicModule,
|
|
3290
|
+
QRCodeModule,
|
|
3291
|
+
EuimToolbarComponentModule,
|
|
3292
|
+
EuimHeaderDetailsModule,
|
|
3293
|
+
EuimLabelModule,
|
|
3294
|
+
EuimAvatarIconModule,
|
|
3295
|
+
],
|
|
4178
3296
|
exports: [
|
|
4179
3297
|
...COMPONENTS,
|
|
4180
3298
|
],
|
|
@@ -4184,32 +3302,114 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
4184
3302
|
}]
|
|
4185
3303
|
}] });
|
|
4186
3304
|
|
|
3305
|
+
class EuimDividerDirective {
|
|
3306
|
+
get cssClasses() {
|
|
3307
|
+
return this.getCssClasses('euim-divider');
|
|
3308
|
+
}
|
|
3309
|
+
getCssClasses(rootClass) {
|
|
3310
|
+
return [
|
|
3311
|
+
rootClass,
|
|
3312
|
+
this.lines ? `${rootClass}--lines-${this.lines}` : '',
|
|
3313
|
+
].join(' ').trim();
|
|
3314
|
+
}
|
|
3315
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3316
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimDividerDirective, selector: "[euimDivider]", inputs: { lines: "lines" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0 }); }
|
|
3317
|
+
}
|
|
3318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerDirective, decorators: [{
|
|
3319
|
+
type: Directive,
|
|
3320
|
+
args: [{
|
|
3321
|
+
selector: '[euimDivider]',
|
|
3322
|
+
}]
|
|
3323
|
+
}], propDecorators: { lines: [{
|
|
3324
|
+
type: Input
|
|
3325
|
+
}], cssClasses: [{
|
|
3326
|
+
type: HostBinding,
|
|
3327
|
+
args: ['class']
|
|
3328
|
+
}] } });
|
|
3329
|
+
|
|
3330
|
+
class EuimDividerModule {
|
|
3331
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3332
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, declarations: [EuimDividerDirective], imports: [CommonModule,
|
|
3333
|
+
IonicModule], exports: [EuimDividerDirective] }); }
|
|
3334
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, imports: [CommonModule,
|
|
3335
|
+
IonicModule] }); }
|
|
3336
|
+
}
|
|
3337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimDividerModule, decorators: [{
|
|
3338
|
+
type: NgModule,
|
|
3339
|
+
args: [{
|
|
3340
|
+
imports: [
|
|
3341
|
+
CommonModule,
|
|
3342
|
+
IonicModule,
|
|
3343
|
+
],
|
|
3344
|
+
exports: [
|
|
3345
|
+
EuimDividerDirective,
|
|
3346
|
+
],
|
|
3347
|
+
declarations: [
|
|
3348
|
+
EuimDividerDirective,
|
|
3349
|
+
],
|
|
3350
|
+
}]
|
|
3351
|
+
}] });
|
|
3352
|
+
|
|
3353
|
+
class EuimSkeletonTextAvatarDirective {
|
|
3354
|
+
constructor() {
|
|
3355
|
+
this.className = 'euim-skeleton-text-avatar';
|
|
3356
|
+
}
|
|
3357
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3358
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimSkeletonTextAvatarDirective, selector: "[euimSkeletonTextAvatar]", host: { properties: { "class": "this.className" } }, ngImport: i0 }); }
|
|
3359
|
+
}
|
|
3360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarDirective, decorators: [{
|
|
3361
|
+
type: Directive,
|
|
3362
|
+
args: [{
|
|
3363
|
+
selector: '[euimSkeletonTextAvatar]',
|
|
3364
|
+
}]
|
|
3365
|
+
}], propDecorators: { className: [{
|
|
3366
|
+
type: HostBinding,
|
|
3367
|
+
args: ['class']
|
|
3368
|
+
}] } });
|
|
3369
|
+
|
|
3370
|
+
class EuimSkeletonTextAvatarModule {
|
|
3371
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3372
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarModule, declarations: [EuimSkeletonTextAvatarDirective], imports: [CommonModule,
|
|
3373
|
+
IonicModule], exports: [EuimSkeletonTextAvatarDirective] }); }
|
|
3374
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarModule, imports: [CommonModule,
|
|
3375
|
+
IonicModule] }); }
|
|
3376
|
+
}
|
|
3377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimSkeletonTextAvatarModule, decorators: [{
|
|
3378
|
+
type: NgModule,
|
|
3379
|
+
args: [{
|
|
3380
|
+
imports: [
|
|
3381
|
+
CommonModule,
|
|
3382
|
+
IonicModule,
|
|
3383
|
+
],
|
|
3384
|
+
exports: [
|
|
3385
|
+
EuimSkeletonTextAvatarDirective,
|
|
3386
|
+
],
|
|
3387
|
+
declarations: [
|
|
3388
|
+
EuimSkeletonTextAvatarDirective,
|
|
3389
|
+
],
|
|
3390
|
+
}]
|
|
3391
|
+
}] });
|
|
3392
|
+
|
|
4187
3393
|
const MODULES = [
|
|
4188
3394
|
// Layout
|
|
4189
3395
|
EuimAppModule,
|
|
4190
|
-
EuimAppSidebarModule,
|
|
4191
3396
|
// Components
|
|
4192
3397
|
EuimEmptyListPlaceholderModule,
|
|
4193
3398
|
EuimLanguageSelectorModule,
|
|
4194
|
-
EuimStepperComponentModule,
|
|
4195
3399
|
EuimUserProfileModule,
|
|
4196
3400
|
EuimMessageModule,
|
|
4197
3401
|
EuimSkeletonListItemModule,
|
|
4198
3402
|
EuimSkeletonListModule,
|
|
4199
3403
|
EuimAvatarIconModule,
|
|
4200
3404
|
EuimLabelModule,
|
|
4201
|
-
EuimMenuModule,
|
|
4202
3405
|
EuimAlertMessageModule,
|
|
4203
|
-
|
|
4204
|
-
EuimFieldsetModule,
|
|
3406
|
+
EuimAboutModule,
|
|
4205
3407
|
EuimToolbarComponentModule,
|
|
4206
3408
|
EuimNotificationItemModule,
|
|
4207
3409
|
EuimMediaHeaderModule,
|
|
4208
3410
|
EuimDataSummaryModule,
|
|
4209
3411
|
EuimHeaderDetailsModule,
|
|
4210
3412
|
EuimAvatarModule,
|
|
4211
|
-
EuimInfoScreenModule,
|
|
4212
|
-
EuimSliderModule,
|
|
4213
3413
|
EuimSliderInfoScreenModule,
|
|
4214
3414
|
EuimScrollerXComponentModule,
|
|
4215
3415
|
EuimChipSelectorComponentModule,
|
|
@@ -4217,9 +3417,7 @@ const MODULES = [
|
|
|
4217
3417
|
EuimSidebarModule,
|
|
4218
3418
|
EuimMultiselectModule,
|
|
4219
3419
|
// Directives
|
|
4220
|
-
EuimListHeaderModule,
|
|
4221
3420
|
EuimSpinnerComponentModule,
|
|
4222
|
-
EuimItemDividerModule,
|
|
4223
3421
|
EuimDividerModule,
|
|
4224
3422
|
EuimSkeletonTextAvatarModule,
|
|
4225
3423
|
];
|
|
@@ -4228,29 +3426,23 @@ class EuimAllModule {
|
|
|
4228
3426
|
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0", ngImport: i0, type: EuimAllModule, imports: [
|
|
4229
3427
|
// Layout
|
|
4230
3428
|
EuimAppModule,
|
|
4231
|
-
EuimAppSidebarModule,
|
|
4232
3429
|
// Components
|
|
4233
3430
|
EuimEmptyListPlaceholderModule,
|
|
4234
3431
|
EuimLanguageSelectorModule,
|
|
4235
|
-
EuimStepperComponentModule,
|
|
4236
3432
|
EuimUserProfileModule,
|
|
4237
3433
|
EuimMessageModule,
|
|
4238
3434
|
EuimSkeletonListItemModule,
|
|
4239
3435
|
EuimSkeletonListModule,
|
|
4240
3436
|
EuimAvatarIconModule,
|
|
4241
3437
|
EuimLabelModule,
|
|
4242
|
-
EuimMenuModule,
|
|
4243
3438
|
EuimAlertMessageModule,
|
|
4244
|
-
|
|
4245
|
-
EuimFieldsetModule,
|
|
3439
|
+
EuimAboutModule,
|
|
4246
3440
|
EuimToolbarComponentModule,
|
|
4247
3441
|
EuimNotificationItemModule,
|
|
4248
3442
|
EuimMediaHeaderModule,
|
|
4249
3443
|
EuimDataSummaryModule,
|
|
4250
3444
|
EuimHeaderDetailsModule,
|
|
4251
3445
|
EuimAvatarModule,
|
|
4252
|
-
EuimInfoScreenModule,
|
|
4253
|
-
EuimSliderModule,
|
|
4254
3446
|
EuimSliderInfoScreenModule,
|
|
4255
3447
|
EuimScrollerXComponentModule,
|
|
4256
3448
|
EuimChipSelectorComponentModule,
|
|
@@ -4258,36 +3450,28 @@ class EuimAllModule {
|
|
|
4258
3450
|
EuimSidebarModule,
|
|
4259
3451
|
EuimMultiselectModule,
|
|
4260
3452
|
// Directives
|
|
4261
|
-
EuimListHeaderModule,
|
|
4262
3453
|
EuimSpinnerComponentModule,
|
|
4263
|
-
EuimItemDividerModule,
|
|
4264
3454
|
EuimDividerModule,
|
|
4265
3455
|
EuimSkeletonTextAvatarModule], exports: [
|
|
4266
3456
|
// Layout
|
|
4267
3457
|
EuimAppModule,
|
|
4268
|
-
EuimAppSidebarModule,
|
|
4269
3458
|
// Components
|
|
4270
3459
|
EuimEmptyListPlaceholderModule,
|
|
4271
3460
|
EuimLanguageSelectorModule,
|
|
4272
|
-
EuimStepperComponentModule,
|
|
4273
3461
|
EuimUserProfileModule,
|
|
4274
3462
|
EuimMessageModule,
|
|
4275
3463
|
EuimSkeletonListItemModule,
|
|
4276
3464
|
EuimSkeletonListModule,
|
|
4277
3465
|
EuimAvatarIconModule,
|
|
4278
3466
|
EuimLabelModule,
|
|
4279
|
-
EuimMenuModule,
|
|
4280
3467
|
EuimAlertMessageModule,
|
|
4281
|
-
|
|
4282
|
-
EuimFieldsetModule,
|
|
3468
|
+
EuimAboutModule,
|
|
4283
3469
|
EuimToolbarComponentModule,
|
|
4284
3470
|
EuimNotificationItemModule,
|
|
4285
3471
|
EuimMediaHeaderModule,
|
|
4286
3472
|
EuimDataSummaryModule,
|
|
4287
3473
|
EuimHeaderDetailsModule,
|
|
4288
3474
|
EuimAvatarModule,
|
|
4289
|
-
EuimInfoScreenModule,
|
|
4290
|
-
EuimSliderModule,
|
|
4291
3475
|
EuimSliderInfoScreenModule,
|
|
4292
3476
|
EuimScrollerXComponentModule,
|
|
4293
3477
|
EuimChipSelectorComponentModule,
|
|
@@ -4295,37 +3479,29 @@ class EuimAllModule {
|
|
|
4295
3479
|
EuimSidebarModule,
|
|
4296
3480
|
EuimMultiselectModule,
|
|
4297
3481
|
// Directives
|
|
4298
|
-
EuimListHeaderModule,
|
|
4299
3482
|
EuimSpinnerComponentModule,
|
|
4300
|
-
EuimItemDividerModule,
|
|
4301
3483
|
EuimDividerModule,
|
|
4302
3484
|
EuimSkeletonTextAvatarModule] }); }
|
|
4303
3485
|
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAllModule, imports: [MODULES,
|
|
4304
3486
|
// Layout
|
|
4305
3487
|
EuimAppModule,
|
|
4306
|
-
EuimAppSidebarModule,
|
|
4307
3488
|
// Components
|
|
4308
3489
|
EuimEmptyListPlaceholderModule,
|
|
4309
3490
|
EuimLanguageSelectorModule,
|
|
4310
|
-
EuimStepperComponentModule,
|
|
4311
3491
|
EuimUserProfileModule,
|
|
4312
3492
|
EuimMessageModule,
|
|
4313
3493
|
EuimSkeletonListItemModule,
|
|
4314
3494
|
EuimSkeletonListModule,
|
|
4315
3495
|
EuimAvatarIconModule,
|
|
4316
3496
|
EuimLabelModule,
|
|
4317
|
-
EuimMenuModule,
|
|
4318
3497
|
EuimAlertMessageModule,
|
|
4319
|
-
|
|
4320
|
-
EuimFieldsetModule,
|
|
3498
|
+
EuimAboutModule,
|
|
4321
3499
|
EuimToolbarComponentModule,
|
|
4322
3500
|
EuimNotificationItemModule,
|
|
4323
3501
|
EuimMediaHeaderModule,
|
|
4324
3502
|
EuimDataSummaryModule,
|
|
4325
3503
|
EuimHeaderDetailsModule,
|
|
4326
3504
|
EuimAvatarModule,
|
|
4327
|
-
EuimInfoScreenModule,
|
|
4328
|
-
EuimSliderModule,
|
|
4329
3505
|
EuimSliderInfoScreenModule,
|
|
4330
3506
|
EuimScrollerXComponentModule,
|
|
4331
3507
|
EuimChipSelectorComponentModule,
|
|
@@ -4333,9 +3509,7 @@ class EuimAllModule {
|
|
|
4333
3509
|
EuimSidebarModule,
|
|
4334
3510
|
EuimMultiselectModule,
|
|
4335
3511
|
// Directives
|
|
4336
|
-
EuimListHeaderModule,
|
|
4337
3512
|
EuimSpinnerComponentModule,
|
|
4338
|
-
EuimItemDividerModule,
|
|
4339
3513
|
EuimDividerModule,
|
|
4340
3514
|
EuimSkeletonTextAvatarModule] }); }
|
|
4341
3515
|
}
|
|
@@ -4357,5 +3531,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
4357
3531
|
* Generated bundle index. Do not edit.
|
|
4358
3532
|
*/
|
|
4359
3533
|
|
|
4360
|
-
export { BaseStatesDirective, EuiMUserProfileActionComponent, EuiMUserProfileAvatarComponent, EuiMUserProfileInfosComponent, EuiMUserProfileInfosItemComponent, EuimAlertMessageComponent, EuimAlertMessageModule, EuimAllModule, EuimAppComponent, EuimAppModule, EuimAppService,
|
|
3534
|
+
export { BaseStatesDirective, EuiMUserProfileActionComponent, EuiMUserProfileAvatarComponent, EuiMUserProfileInfosComponent, EuiMUserProfileInfosItemComponent, EuimAboutComponent, EuimAboutModule, EuimAlertMessageComponent, EuimAlertMessageModule, EuimAllModule, EuimAppComponent, EuimAppModule, EuimAppService, EuimAvatarComponent, EuimAvatarIconComponent, EuimAvatarIconModule, EuimAvatarMainIconDirective, EuimAvatarModule, EuimAvatarSubIconDirective, EuimBadgeComponent, EuimBadgeModule, EuimChangelogComponent, EuimChipSelectorComponent, EuimChipSelectorComponentModule, EuimChipSelectorItemDirective, EuimContactSupportComponent, EuimDataSummaryColComponent, EuimDataSummaryColLabelDirective, EuimDataSummaryColValueDirective, EuimDataSummaryComponent, EuimDataSummaryModule, EuimDividerDirective, EuimDividerModule, EuimEmptyListPlaceholderComponent, EuimEmptyListPlaceholderModule, EuimHeaderDetailsComponent, EuimHeaderDetailsIconDirective, EuimHeaderDetailsMetaDirective, EuimHeaderDetailsModule, EuimHeaderDetailsTitleDirective, EuimLabelComponent, EuimLabelModule, EuimLanguageListComponent, EuimLanguageSelectorComponent, EuimLanguageSelectorModule, EuimLegalNoticeComponent, EuimMediaHeaderComponent, EuimMediaHeaderImageDirective, EuimMediaHeaderModule, EuimMediaHeaderSubTitleDirective, EuimMediaHeaderTitleDirective, EuimMessageComponent, EuimMessageModule, EuimMessageTitleComponent, EuimMultiselectAllDirective, EuimMultiselectComponent, EuimMultiselectFilterComponent, EuimMultiselectInfoComponent, EuimMultiselectListComponent, EuimMultiselectModule, EuimMultiselectSelectFieldDirective, EuimMultiselectToolbarComponent, EuimNotificationItemComponent, EuimNotificationItemModule, EuimOpenSourceLicencesComponent, EuimPdfWrapperComponent, EuimPdfWrapperModule, EuimPrivacyStatementComponent, EuimScrollerXComponent, EuimScrollerXComponentModule, EuimSidebarComponent, EuimSidebarContentComponent, EuimSidebarModule, EuimSkeletonListComponent, EuimSkeletonListItemComponent, EuimSkeletonListItemModule, EuimSkeletonListModule, EuimSkeletonTextAvatarDirective, EuimSkeletonTextAvatarModule, EuimSlideInfoScreenComponent, EuimSliderInfoScreenComponent, EuimSliderInfoScreenContentDirective, EuimSliderInfoScreenModule, EuimSliderInfoScreenSubTitleDirective, EuimSliderInfoScreenTitleDirective, EuimSpinnerComponent, EuimSpinnerComponentModule, EuimSpinnerDescriptionComponent, EuimSpinnerMessageComponent, EuimToolbarActionItemsComponent, EuimToolbarComponent, EuimToolbarComponentModule, EuimToolbarTitleComponent, EuimUserProfileComponent, EuimUserProfileModule };
|
|
4361
3535
|
//# sourceMappingURL=eui-mobile-core.mjs.map
|