@elementar-rt/components 0.6.55
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/README.md +49 -0
- package/action-required/index.d.ts +13 -0
- package/alert/index.d.ts +51 -0
- package/announcement/index.d.ts +45 -0
- package/avatar/index.d.ts +67 -0
- package/block-loader/index.d.ts +21 -0
- package/block-state/index.d.ts +33 -0
- package/brand-colors/index.d.ts +27 -0
- package/breadcrumbs/index.d.ts +104 -0
- package/card-overlay/index.d.ts +20 -0
- package/carousel/index.d.ts +75 -0
- package/code-highlighter/index.d.ts +18 -0
- package/color-picker/index.d.ts +92 -0
- package/color-scheme/index.d.ts +44 -0
- package/command-bar/index.d.ts +28 -0
- package/comment-editor/index.d.ts +194 -0
- package/comparison-slider/index.d.ts +51 -0
- package/confirm/index.d.ts +35 -0
- package/content-fade/index.d.ts +17 -0
- package/cookie-popup/index.d.ts +41 -0
- package/core/index.d.ts +252 -0
- package/country-select/index.d.ts +76 -0
- package/crop/index.d.ts +59 -0
- package/currency-select/index.d.ts +78 -0
- package/dashboard/index.d.ts +48 -0
- package/data-view/index.d.ts +127 -0
- package/date-format-select/index.d.ts +56 -0
- package/divider/index.d.ts +13 -0
- package/drawer/index.d.ts +35 -0
- package/emoji-picker/index.d.ts +49 -0
- package/expand/index.d.ts +26 -0
- package/fesm2022/elementar-rt-components-action-required.mjs +30 -0
- package/fesm2022/elementar-rt-components-action-required.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-alert.mjs +139 -0
- package/fesm2022/elementar-rt-components-alert.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-announcement.mjs +73 -0
- package/fesm2022/elementar-rt-components-announcement.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-avatar.mjs +234 -0
- package/fesm2022/elementar-rt-components-avatar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-block-loader.mjs +54 -0
- package/fesm2022/elementar-rt-components-block-loader.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-block-state.mjs +75 -0
- package/fesm2022/elementar-rt-components-block-state.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-brand-colors.mjs +78 -0
- package/fesm2022/elementar-rt-components-brand-colors.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-breadcrumbs.mjs +213 -0
- package/fesm2022/elementar-rt-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-card-overlay.mjs +55 -0
- package/fesm2022/elementar-rt-components-card-overlay.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-carousel.mjs +605 -0
- package/fesm2022/elementar-rt-components-carousel.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-code-highlighter.mjs +57 -0
- package/fesm2022/elementar-rt-components-code-highlighter.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-color-picker.mjs +708 -0
- package/fesm2022/elementar-rt-components-color-picker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-color-scheme.mjs +106 -0
- package/fesm2022/elementar-rt-components-color-scheme.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-command-bar.mjs +59 -0
- package/fesm2022/elementar-rt-components-command-bar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-comment-editor.mjs +1039 -0
- package/fesm2022/elementar-rt-components-comment-editor.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-comparison-slider.mjs +193 -0
- package/fesm2022/elementar-rt-components-comparison-slider.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-confirm.mjs +86 -0
- package/fesm2022/elementar-rt-components-confirm.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-content-fade.mjs +35 -0
- package/fesm2022/elementar-rt-components-content-fade.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-cookie-popup.mjs +109 -0
- package/fesm2022/elementar-rt-components-cookie-popup.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-core.mjs +837 -0
- package/fesm2022/elementar-rt-components-core.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-country-select.mjs +477 -0
- package/fesm2022/elementar-rt-components-country-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-crop.mjs +183 -0
- package/fesm2022/elementar-rt-components-crop.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-currency-select.mjs +384 -0
- package/fesm2022/elementar-rt-components-currency-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-dashboard.mjs +96 -0
- package/fesm2022/elementar-rt-components-dashboard.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-data-view.mjs +302 -0
- package/fesm2022/elementar-rt-components-data-view.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-date-format-select.mjs +136 -0
- package/fesm2022/elementar-rt-components-date-format-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-divider.mjs +31 -0
- package/fesm2022/elementar-rt-components-divider.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-drawer.mjs +131 -0
- package/fesm2022/elementar-rt-components-drawer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-emoji-picker.mjs +249 -0
- package/fesm2022/elementar-rt-components-emoji-picker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-expand.mjs +60 -0
- package/fesm2022/elementar-rt-components-expand.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-filter-builder.mjs +333 -0
- package/fesm2022/elementar-rt-components-filter-builder.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-AqEghjO_.mjs +123 -0
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-AqEghjO_.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-CUKmZGFq.mjs +22 -0
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-CUKmZGFq.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-DihIRWMt.mjs +40 -0
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-DihIRWMt.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-divider-content.component-CjlGcU3B.mjs +17 -0
- package/fesm2022/elementar-rt-components-form-renderer-divider-content.component-CjlGcU3B.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-image-content.component-0pL2Fk0H.mjs +17 -0
- package/fesm2022/elementar-rt-components-form-renderer-image-content.component-0pL2Fk0H.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-X2sKvj6J.mjs +33 -0
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-X2sKvj6J.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-DWXZAA3F.mjs +38 -0
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-DWXZAA3F.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-Cx9DZoD6.mjs +39 -0
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-Cx9DZoD6.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-text-content.component-BmFyUG06.mjs +24 -0
- package/fesm2022/elementar-rt-components-form-renderer-text-content.component-BmFyUG06.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-D9KmE049.mjs +37 -0
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-D9KmE049.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-BroP_Q4P.mjs +35 -0
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-BroP_Q4P.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-nGbtVi1_.mjs +22 -0
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-nGbtVi1_.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer.mjs +321 -0
- package/fesm2022/elementar-rt-components-form-renderer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-gauge.mjs +50 -0
- package/fesm2022/elementar-rt-components-gauge.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-icon.mjs +62 -0
- package/fesm2022/elementar-rt-components-icon.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-image-resizer.mjs +159 -0
- package/fesm2022/elementar-rt-components-image-resizer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-image-viewer.mjs +349 -0
- package/fesm2022/elementar-rt-components-image-viewer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-incidents.mjs +259 -0
- package/fesm2022/elementar-rt-components-incidents.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-inline-text-edit.mjs +181 -0
- package/fesm2022/elementar-rt-components-inline-text-edit.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-input-mask.mjs +180 -0
- package/fesm2022/elementar-rt-components-input-mask.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-input-validator.mjs +24 -0
- package/fesm2022/elementar-rt-components-input-validator.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-kanban-board.mjs +156 -0
- package/fesm2022/elementar-rt-components-kanban-board.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-layout.mjs +188 -0
- package/fesm2022/elementar-rt-components-layout.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-logo.mjs +43 -0
- package/fesm2022/elementar-rt-components-logo.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-marquee.mjs +79 -0
- package/fesm2022/elementar-rt-components-marquee.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-micro-chart.mjs +950 -0
- package/fesm2022/elementar-rt-components-micro-chart.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-navigation.mjs +379 -0
- package/fesm2022/elementar-rt-components-navigation.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-notifications.mjs +190 -0
- package/fesm2022/elementar-rt-components-notifications.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-number-input.mjs +288 -0
- package/fesm2022/elementar-rt-components-number-input.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-overlay-scrollbar.mjs +455 -0
- package/fesm2022/elementar-rt-components-overlay-scrollbar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-overlay.mjs +112 -0
- package/fesm2022/elementar-rt-components-overlay.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-page-loading-bar.mjs +79 -0
- package/fesm2022/elementar-rt-components-page-loading-bar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-panel.mjs +105 -0
- package/fesm2022/elementar-rt-components-panel.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-password-strength.mjs +474 -0
- package/fesm2022/elementar-rt-components-password-strength.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-phone-input.mjs +637 -0
- package/fesm2022/elementar-rt-components-phone-input.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-pin-input.mjs +197 -0
- package/fesm2022/elementar-rt-components-pin-input.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-popover.mjs +262 -0
- package/fesm2022/elementar-rt-components-popover.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-radio-card.mjs +102 -0
- package/fesm2022/elementar-rt-components-radio-card.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-rail-nav.mjs +84 -0
- package/fesm2022/elementar-rt-components-rail-nav.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-resizable-container.mjs +69 -0
- package/fesm2022/elementar-rt-components-resizable-container.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-screen-loader.mjs +27 -0
- package/fesm2022/elementar-rt-components-screen-loader.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-scroll-spy.mjs +165 -0
- package/fesm2022/elementar-rt-components-scroll-spy.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-segmented.mjs +153 -0
- package/fesm2022/elementar-rt-components-segmented.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-side-panel.mjs +110 -0
- package/fesm2022/elementar-rt-components-side-panel.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-sidebar.mjs +423 -0
- package/fesm2022/elementar-rt-components-sidebar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-signature-pad.mjs +452 -0
- package/fesm2022/elementar-rt-components-signature-pad.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-skeleton.mjs +56 -0
- package/fesm2022/elementar-rt-components-skeleton.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-splash-screen.mjs +91 -0
- package/fesm2022/elementar-rt-components-splash-screen.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-stepper.mjs +194 -0
- package/fesm2022/elementar-rt-components-stepper.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-suggestions.mjs +76 -0
- package/fesm2022/elementar-rt-components-suggestions.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-tab-panel.mjs +270 -0
- package/fesm2022/elementar-rt-components-tab-panel.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-text-editor.mjs +1025 -0
- package/fesm2022/elementar-rt-components-text-editor.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-thumbnail-maker.mjs +214 -0
- package/fesm2022/elementar-rt-components-thumbnail-maker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-timeline.mjs +122 -0
- package/fesm2022/elementar-rt-components-timeline.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-timezone-select.mjs +351 -0
- package/fesm2022/elementar-rt-components-timezone-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-upload.mjs +340 -0
- package/fesm2022/elementar-rt-components-upload.mjs.map +1 -0
- package/fesm2022/elementar-rt-components.mjs +6 -0
- package/fesm2022/elementar-rt-components.mjs.map +1 -0
- package/filter-builder/index.d.ts +107 -0
- package/form-renderer/index.d.ts +121 -0
- package/gauge/index.d.ts +21 -0
- package/icon/index.d.ts +17 -0
- package/image-resizer/index.d.ts +35 -0
- package/image-viewer/index.d.ts +63 -0
- package/incidents/index.d.ts +119 -0
- package/index.d.ts +2 -0
- package/inline-text-edit/index.d.ts +39 -0
- package/input-mask/index.d.ts +36 -0
- package/input-validator/index.d.ts +5 -0
- package/kanban-board/index.d.ts +68 -0
- package/layout/index.d.ts +75 -0
- package/logo/index.d.ts +21 -0
- package/marquee/index.d.ts +26 -0
- package/micro-chart/index.d.ts +193 -0
- package/navigation/index.d.ts +119 -0
- package/notifications/index.d.ts +84 -0
- package/number-input/index.d.ts +93 -0
- package/overlay/index.d.ts +12 -0
- package/overlay-scrollbar/index.d.ts +66 -0
- package/package.json +356 -0
- package/page-loading-bar/index.d.ts +20 -0
- package/panel/index.d.ts +43 -0
- package/password-strength/index.d.ts +109 -0
- package/phone-input/index.d.ts +94 -0
- package/pin-input/index.d.ts +48 -0
- package/popover/index.d.ts +75 -0
- package/radio-card/index.d.ts +37 -0
- package/rail-nav/index.d.ts +36 -0
- package/resizable-container/index.d.ts +21 -0
- package/screen-loader/index.d.ts +9 -0
- package/scroll-spy/index.d.ts +48 -0
- package/segmented/index.d.ts +54 -0
- package/side-panel/index.d.ts +42 -0
- package/sidebar/index.d.ts +143 -0
- package/signature-pad/index.d.ts +49 -0
- package/skeleton/index.d.ts +24 -0
- package/splash-screen/index.d.ts +31 -0
- package/stepper/index.d.ts +65 -0
- package/styles/_common.scss +776 -0
- package/styles/themes/cyan-orange.scss +41 -0
- package/styles/themes/default.scss +5 -0
- package/styles/themes/magenta-violet.scss +41 -0
- package/styles/themes/rose-red.scss +41 -0
- package/suggestions/index.d.ts +32 -0
- package/tab-panel/index.d.ts +96 -0
- package/text-editor/index.d.ts +191 -0
- package/thumbnail-maker/index.d.ts +35 -0
- package/timeline/index.d.ts +57 -0
- package/timezone-select/index.d.ts +72 -0
- package/upload/index.d.ts +134 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, inject, TemplateRef, Directive, contentChild } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class TimelineComponent {
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineComponent, isStandalone: true, selector: "emr-timeline", host: { classAttribute: "emr-timeline" }, exportAs: ["emrTimeline"], ngImport: i0, template: "<ng-content/>\r\n", styles: [":host{--emr-timeline-header-font-size: .875rem;--emr-timeline-header-padding: 0 0 calc(var(--spacing, .25rem) * 4) 0;--emr-timeline-header-height: calc(var(--spacing, .25rem) * 8);--emr-timeline-header-bg: transparent;--emr-timeline-header-color: var(--color-neutral-500);--emr-timeline-header-text-transform: uppercase;--emr-timeline-header-font-weight: 500;--emr-timeline-item-gap: calc(var(--spacing, .25rem) * 2.5);--emr-timeline-item-no-timestamp-offset-start: -.5rem;--emr-timeline-timestamp-font-size: var(--text-xs);--emr-timeline-timestamp-width: calc(var(--spacing, .25rem) * 12);--emr-timeline-timestamp-color: var(--color-neutral-500);--emr-timeline-timestamp-padding: 1px 0 0 0;--emr-timeline-item-content-padding: 0 0 calc(var(--spacing, .25rem) * 6) 0;--emr-timeline-title-font-size: .875rem;--emr-timeline-title-color: var(--color-neutral-800);--emr-timeline-title-font-weight: 500;--emr-timeline-item-attributes-padding: calc(var(--spacing, .25rem) * 1) 0 0 0;--emr-timeline-item-description-font-size: .875rem;--emr-timeline-item-description-color: var(--color-neutral-500);--emr-timeline-item-subtitle-font-size: .875rem;--emr-timeline-item-subtitle-color: var(--color-neutral-500);--emr-timeline-item-line-bg: var(--color-neutral-400);--emr-timeline-item-content-gap: calc(var(--spacing, .25rem) * 1);--emr-timeline-indicator-shape-size: calc(var(--spacing, .25rem) * 3);--emr-timeline-indicator-bg: white;--emr-timeline-indicator-border: 2px solid var(--color-neutral-400);--emr-timeline-indicator-offset: 6px;display:grid;grid-template-columns:auto 1fr;column-gap:16px}:host:has(.emr-timeline-timestamp){grid-template-columns:auto auto 1fr}:host-context(html.dark){--emr-timeline-item-line-bg: var(--color-neutral-600);--emr-timeline-header-color: var(--color-neutral-400);--emr-timeline-timestamp-color: var(--color-neutral-300);--emr-timeline-title-color: var(--color-neutral-200);--emr-timeline-item-description-color: var(--color-neutral-500);--emr-timeline-indicator-bg: var(--color-border);--emr-timeline-indicator-border: 2px solid var(--color-neutral-500)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{ selector: 'emr-timeline', exportAs: 'emrTimeline', host: {
|
|
12
|
+
'class': 'emr-timeline'
|
|
13
|
+
}, template: "<ng-content/>\r\n", styles: [":host{--emr-timeline-header-font-size: .875rem;--emr-timeline-header-padding: 0 0 calc(var(--spacing, .25rem) * 4) 0;--emr-timeline-header-height: calc(var(--spacing, .25rem) * 8);--emr-timeline-header-bg: transparent;--emr-timeline-header-color: var(--color-neutral-500);--emr-timeline-header-text-transform: uppercase;--emr-timeline-header-font-weight: 500;--emr-timeline-item-gap: calc(var(--spacing, .25rem) * 2.5);--emr-timeline-item-no-timestamp-offset-start: -.5rem;--emr-timeline-timestamp-font-size: var(--text-xs);--emr-timeline-timestamp-width: calc(var(--spacing, .25rem) * 12);--emr-timeline-timestamp-color: var(--color-neutral-500);--emr-timeline-timestamp-padding: 1px 0 0 0;--emr-timeline-item-content-padding: 0 0 calc(var(--spacing, .25rem) * 6) 0;--emr-timeline-title-font-size: .875rem;--emr-timeline-title-color: var(--color-neutral-800);--emr-timeline-title-font-weight: 500;--emr-timeline-item-attributes-padding: calc(var(--spacing, .25rem) * 1) 0 0 0;--emr-timeline-item-description-font-size: .875rem;--emr-timeline-item-description-color: var(--color-neutral-500);--emr-timeline-item-subtitle-font-size: .875rem;--emr-timeline-item-subtitle-color: var(--color-neutral-500);--emr-timeline-item-line-bg: var(--color-neutral-400);--emr-timeline-item-content-gap: calc(var(--spacing, .25rem) * 1);--emr-timeline-indicator-shape-size: calc(var(--spacing, .25rem) * 3);--emr-timeline-indicator-bg: white;--emr-timeline-indicator-border: 2px solid var(--color-neutral-400);--emr-timeline-indicator-offset: 6px;display:grid;grid-template-columns:auto 1fr;column-gap:16px}:host:has(.emr-timeline-timestamp){grid-template-columns:auto auto 1fr}:host-context(html.dark){--emr-timeline-item-line-bg: var(--color-neutral-600);--emr-timeline-header-color: var(--color-neutral-400);--emr-timeline-timestamp-color: var(--color-neutral-300);--emr-timeline-title-color: var(--color-neutral-200);--emr-timeline-item-description-color: var(--color-neutral-500);--emr-timeline-indicator-bg: var(--color-border);--emr-timeline-indicator-border: 2px solid var(--color-neutral-500)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
14
|
+
}] });
|
|
15
|
+
|
|
16
|
+
class TimelineHeaderComponent {
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineHeaderComponent, isStandalone: true, selector: "emr-timeline-header", host: { classAttribute: "emr-timeline-header" }, exportAs: ["emrTimelineHeader"], ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{text-transform:var(--emr-timeline-header-text-transform);font-size:var(--emr-timeline-header-font-size);background:var(--emr-timeline-header-bg);color:var(--emr-timeline-header-color);padding:var(--emr-timeline-header-padding);font-weight:var(--emr-timeline-header-font-weight);align-items:center;display:flex;flex:none;white-space:nowrap;grid-column:1/-1}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineHeaderComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: 'emr-timeline-header', exportAs: 'emrTimelineHeader', host: {
|
|
23
|
+
'class': 'emr-timeline-header'
|
|
24
|
+
}, template: "<ng-content></ng-content>\r\n", styles: [":host{text-transform:var(--emr-timeline-header-text-transform);font-size:var(--emr-timeline-header-font-size);background:var(--emr-timeline-header-bg);color:var(--emr-timeline-header-color);padding:var(--emr-timeline-header-padding);font-weight:var(--emr-timeline-header-font-weight);align-items:center;display:flex;flex:none;white-space:nowrap;grid-column:1/-1}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
25
|
+
}] });
|
|
26
|
+
|
|
27
|
+
class TimelineItemIndicatorDirective {
|
|
28
|
+
templateRef = inject(TemplateRef);
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineItemIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: TimelineItemIndicatorDirective, isStandalone: true, selector: "[emrTimelineItemIndicator]", exportAs: ["emrTimelineItemIndicator"], ngImport: i0 });
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineItemIndicatorDirective, decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: '[emrTimelineItemIndicator]',
|
|
36
|
+
exportAs: 'emrTimelineItemIndicator'
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
|
|
40
|
+
class TimelineItemComponent {
|
|
41
|
+
indicatorRef = contentChild(TimelineItemIndicatorDirective, ...(ngDevMode ? [{ debugName: "indicatorRef" }] : []));
|
|
42
|
+
get indicatorTemplateRef() {
|
|
43
|
+
return this.indicatorRef()?.templateRef;
|
|
44
|
+
}
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.10", type: TimelineItemComponent, isStandalone: true, selector: "emr-timeline-item", host: { classAttribute: "emr-timeline-item" }, queries: [{ propertyName: "indicatorRef", first: true, predicate: TimelineItemIndicatorDirective, descendants: true, isSignal: true }], exportAs: ["emrTimelineItem"], ngImport: i0, template: "<ng-content select=\"emr-timeline-timestamp\"/>\r\n\r\n@if (indicatorRef()) {\r\n <div class=\"line\">\r\n <div class=\"custom-indicator\">\r\n <ng-container [ngTemplateOutlet]=\"indicatorTemplateRef\"/>\r\n </div>\r\n </div>\r\n} @else {\r\n <div class=\"line\">\r\n <div class=\"indicator\">\r\n <div class=\"indicator-shape\"></div>\r\n </div>\r\n </div>\r\n}\r\n\r\n<div class=\"content\">\r\n <div class=\"content-inner\">\r\n <div class=\"content-header\">\r\n <ng-content select=\"emr-timeline-title\"/>\r\n <ng-content select=\"emr-timeline-subtitle\"/>\r\n <ng-content select=\"emr-timeline-description\"/>\r\n </div>\r\n <div class=\"content-body\">\r\n <ng-content select=\"emr-timeline-attributes\"/>\r\n <ng-content select=\"emr-timeline-content\"/>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:contents}:host:has(.emr-timeline-timestamp){margin-left:0}:host .indicator{z-index:1;top:var(--emr-timeline-indicator-offset);position:relative;display:flex;justify-content:center;align-items:center}:host .line{padding:0;position:relative;display:flex;align-items:start;justify-content:center}:host .line:after{content:\"\";position:absolute;background:var(--emr-timeline-item-line-bg);top:var(--emr-timeline-indicator-offset);left:50%;transform:translate(-50%);bottom:calc(var(--emr-timeline-indicator-offset) * -1);width:1px}:host .indicator-shape{flex:none;border-radius:99999px;width:var(--emr-timeline-indicator-shape-size);height:var(--emr-timeline-indicator-shape-size);background:var(--emr-timeline-indicator-bg);border:var(--emr-timeline-indicator-border)}:host:last-child .line:after{display:none}:host .custom-indicator{position:relative;width:max-content;z-index:1;line-height:0;top:3px}:host .content{padding:var(--emr-timeline-item-content-padding)}:host .content-inner{display:flex;flex-direction:column;gap:var(--emr-timeline-item-content-gap)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineItemComponent, decorators: [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'emr-timeline-item', exportAs: 'emrTimelineItem', host: {
|
|
51
|
+
'class': 'emr-timeline-item'
|
|
52
|
+
}, imports: [NgTemplateOutlet], template: "<ng-content select=\"emr-timeline-timestamp\"/>\r\n\r\n@if (indicatorRef()) {\r\n <div class=\"line\">\r\n <div class=\"custom-indicator\">\r\n <ng-container [ngTemplateOutlet]=\"indicatorTemplateRef\"/>\r\n </div>\r\n </div>\r\n} @else {\r\n <div class=\"line\">\r\n <div class=\"indicator\">\r\n <div class=\"indicator-shape\"></div>\r\n </div>\r\n </div>\r\n}\r\n\r\n<div class=\"content\">\r\n <div class=\"content-inner\">\r\n <div class=\"content-header\">\r\n <ng-content select=\"emr-timeline-title\"/>\r\n <ng-content select=\"emr-timeline-subtitle\"/>\r\n <ng-content select=\"emr-timeline-description\"/>\r\n </div>\r\n <div class=\"content-body\">\r\n <ng-content select=\"emr-timeline-attributes\"/>\r\n <ng-content select=\"emr-timeline-content\"/>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:contents}:host:has(.emr-timeline-timestamp){margin-left:0}:host .indicator{z-index:1;top:var(--emr-timeline-indicator-offset);position:relative;display:flex;justify-content:center;align-items:center}:host .line{padding:0;position:relative;display:flex;align-items:start;justify-content:center}:host .line:after{content:\"\";position:absolute;background:var(--emr-timeline-item-line-bg);top:var(--emr-timeline-indicator-offset);left:50%;transform:translate(-50%);bottom:calc(var(--emr-timeline-indicator-offset) * -1);width:1px}:host .indicator-shape{flex:none;border-radius:99999px;width:var(--emr-timeline-indicator-shape-size);height:var(--emr-timeline-indicator-shape-size);background:var(--emr-timeline-indicator-bg);border:var(--emr-timeline-indicator-border)}:host:last-child .line:after{display:none}:host .custom-indicator{position:relative;width:max-content;z-index:1;line-height:0;top:3px}:host .content{padding:var(--emr-timeline-item-content-padding)}:host .content-inner{display:flex;flex-direction:column;gap:var(--emr-timeline-item-content-gap)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
53
|
+
}], propDecorators: { indicatorRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => TimelineItemIndicatorDirective), { isSignal: true }] }] } });
|
|
54
|
+
|
|
55
|
+
class TimelineAttributesComponent {
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineAttributesComponent, isStandalone: true, selector: "emr-timeline-attributes", host: { classAttribute: "emr-timeline-attributes" }, exportAs: ["emrTimelineAttributes"], ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;padding:var(--emr-timeline-item-attributes-padding)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
58
|
+
}
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineAttributesComponent, decorators: [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{ selector: 'emr-timeline-attributes', exportAs: 'emrTimelineAttributes', host: {
|
|
62
|
+
'class': 'emr-timeline-attributes'
|
|
63
|
+
}, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;padding:var(--emr-timeline-item-attributes-padding)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
64
|
+
}] });
|
|
65
|
+
|
|
66
|
+
class TimelineDescriptionComponent {
|
|
67
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
68
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineDescriptionComponent, isStandalone: true, selector: "emr-timeline-description", host: { classAttribute: "emr-timeline-description" }, exportAs: ["emrTimelineDescription"], ngImport: i0, template: "<ng-content/>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-item-description-font-size);color:var(--emr-timeline-item-description-color)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineDescriptionComponent, decorators: [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{ selector: 'emr-timeline-description', exportAs: 'emrTimelineDescription', host: {
|
|
73
|
+
'class': 'emr-timeline-description'
|
|
74
|
+
}, template: "<ng-content/>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-item-description-font-size);color:var(--emr-timeline-item-description-color)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
75
|
+
}] });
|
|
76
|
+
|
|
77
|
+
class TimelineTimestampComponent {
|
|
78
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineTimestampComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineTimestampComponent, isStandalone: true, selector: "emr-timeline-timestamp", host: { classAttribute: "emr-timeline-timestamp" }, exportAs: ["emrTimelineTimestamp"], ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{font-size:var(--emr-timeline-timestamp-font-size);color:var(--emr-timeline-timestamp-color);padding:var(--emr-timeline-timestamp-padding);overflow:hidden;text-overflow:ellipsis;min-width:0;white-space:nowrap;vertical-align:top}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
80
|
+
}
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineTimestampComponent, decorators: [{
|
|
82
|
+
type: Component,
|
|
83
|
+
args: [{ selector: 'emr-timeline-timestamp', exportAs: 'emrTimelineTimestamp', host: {
|
|
84
|
+
'class': 'emr-timeline-timestamp'
|
|
85
|
+
}, template: "<ng-content></ng-content>\r\n", styles: [":host{font-size:var(--emr-timeline-timestamp-font-size);color:var(--emr-timeline-timestamp-color);padding:var(--emr-timeline-timestamp-padding);overflow:hidden;text-overflow:ellipsis;min-width:0;white-space:nowrap;vertical-align:top}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
86
|
+
}] });
|
|
87
|
+
|
|
88
|
+
class TimelineTitleComponent {
|
|
89
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineTitleComponent, isStandalone: true, selector: "emr-timeline-title", host: { classAttribute: "emr-timeline-title" }, exportAs: ["emrTimelineTitle"], ngImport: i0, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-title-font-size);color:var(--emr-timeline-title-color);font-weight:var(--emr-timeline-title-font-weight)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
91
|
+
}
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineTitleComponent, decorators: [{
|
|
93
|
+
type: Component,
|
|
94
|
+
args: [{ selector: 'emr-timeline-title', exportAs: 'emrTimelineTitle', host: {
|
|
95
|
+
'class': 'emr-timeline-title'
|
|
96
|
+
}, template: "<ng-content></ng-content>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-title-font-size);color:var(--emr-timeline-title-color);font-weight:var(--emr-timeline-title-font-weight)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
97
|
+
}] });
|
|
98
|
+
|
|
99
|
+
class TimelineSubtitleComponent {
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineSubtitleComponent, isStandalone: true, selector: "emr-timeline-subtitle", ngImport: i0, template: "<ng-content/>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-item-subtitle-font-size);color:var(--emr-timeline-item-subtitle-color)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] });
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineSubtitleComponent, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{ selector: 'emr-timeline-subtitle', imports: [], template: "<ng-content/>\r\n", styles: [":host{display:block;font-size:var(--emr-timeline-item-subtitle-font-size);color:var(--emr-timeline-item-subtitle-color)}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
106
|
+
}] });
|
|
107
|
+
|
|
108
|
+
class TimelineContentComponent {
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.10", type: TimelineContentComponent, isStandalone: true, selector: "emr-timeline-content", ngImport: i0, template: "<ng-content/>\r\n", styles: [":host{display:block}\n"] });
|
|
111
|
+
}
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimelineContentComponent, decorators: [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{ selector: 'emr-timeline-content', imports: [], template: "<ng-content/>\r\n", styles: [":host{display:block}\n"] }]
|
|
115
|
+
}] });
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Generated bundle index. Do not edit.
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
export { TimelineAttributesComponent, TimelineComponent, TimelineContentComponent, TimelineDescriptionComponent, TimelineHeaderComponent, TimelineItemComponent, TimelineItemIndicatorDirective, TimelineSubtitleComponent, TimelineTimestampComponent, TimelineTitleComponent };
|
|
122
|
+
//# sourceMappingURL=elementar-rt-components-timeline.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementar-rt-components-timeline.mjs","sources":["../../../projects/components/timeline/src/timeline/timeline.component.ts","../../../projects/components/timeline/src/timeline/timeline.component.html","../../../projects/components/timeline/src/timeline-header/timeline-header.component.ts","../../../projects/components/timeline/src/timeline-header/timeline-header.component.html","../../../projects/components/timeline/src/timeline-item-indicator.directive.ts","../../../projects/components/timeline/src/timeline-item/timeline-item.component.ts","../../../projects/components/timeline/src/timeline-item/timeline-item.component.html","../../../projects/components/timeline/src/timeline-attributes/timeline-attributes.component.ts","../../../projects/components/timeline/src/timeline-attributes/timeline-attributes.component.html","../../../projects/components/timeline/src/timeline-description/timeline-description.component.ts","../../../projects/components/timeline/src/timeline-description/timeline-description.component.html","../../../projects/components/timeline/src/timeline-timestamp/timeline-timestamp.component.ts","../../../projects/components/timeline/src/timeline-timestamp/timeline-timestamp.component.html","../../../projects/components/timeline/src/timeline-title/timeline-title.component.ts","../../../projects/components/timeline/src/timeline-title/timeline-title.component.html","../../../projects/components/timeline/src/timeline-subtitle/timeline-subtitle.component.ts","../../../projects/components/timeline/src/timeline-subtitle/timeline-subtitle.component.html","../../../projects/components/timeline/src/timeline-content/timeline-content.component.ts","../../../projects/components/timeline/src/timeline-content/timeline-content.component.html","../../../projects/components/timeline/elementar-rt-components-timeline.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline',\r\n exportAs: 'emrTimeline',\r\n templateUrl: './timeline.component.html',\r\n styleUrl: './timeline.component.scss',\r\n host: {\r\n 'class': 'emr-timeline'\r\n }\r\n})\r\nexport class TimelineComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-header',\r\n exportAs: 'emrTimelineHeader',\r\n templateUrl: './timeline-header.component.html',\r\n styleUrl: './timeline-header.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-header'\r\n }\r\n})\r\nexport class TimelineHeaderComponent {\r\n\r\n}\r\n","<ng-content></ng-content>\r\n","import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrTimelineItemIndicator]',\r\n exportAs: 'emrTimelineItemIndicator'\r\n})\r\nexport class TimelineItemIndicatorDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","import { Component, contentChild, TemplateRef } from '@angular/core';\r\nimport { TimelineItemIndicatorDirective } from '../timeline-item-indicator.directive';\r\nimport { NgTemplateOutlet } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'emr-timeline-item',\r\n exportAs: 'emrTimelineItem',\r\n templateUrl: './timeline-item.component.html',\r\n styleUrl: './timeline-item.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-item'\r\n },\r\n imports: [NgTemplateOutlet]\r\n})\r\nexport class TimelineItemComponent {\r\n readonly indicatorRef = contentChild(TimelineItemIndicatorDirective);\r\n\r\n get indicatorTemplateRef() {\r\n return this.indicatorRef()?.templateRef as TemplateRef<any>;\r\n }\r\n}\r\n","<ng-content select=\"emr-timeline-timestamp\"/>\r\n\r\n@if (indicatorRef()) {\r\n <div class=\"line\">\r\n <div class=\"custom-indicator\">\r\n <ng-container [ngTemplateOutlet]=\"indicatorTemplateRef\"/>\r\n </div>\r\n </div>\r\n} @else {\r\n <div class=\"line\">\r\n <div class=\"indicator\">\r\n <div class=\"indicator-shape\"></div>\r\n </div>\r\n </div>\r\n}\r\n\r\n<div class=\"content\">\r\n <div class=\"content-inner\">\r\n <div class=\"content-header\">\r\n <ng-content select=\"emr-timeline-title\"/>\r\n <ng-content select=\"emr-timeline-subtitle\"/>\r\n <ng-content select=\"emr-timeline-description\"/>\r\n </div>\r\n <div class=\"content-body\">\r\n <ng-content select=\"emr-timeline-attributes\"/>\r\n <ng-content select=\"emr-timeline-content\"/>\r\n </div>\r\n </div>\r\n</div>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-attributes',\r\n exportAs: 'emrTimelineAttributes',\r\n templateUrl: './timeline-attributes.component.html',\r\n styleUrl: './timeline-attributes.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-attributes'\r\n }\r\n})\r\nexport class TimelineAttributesComponent {\r\n\r\n}\r\n","<ng-content></ng-content>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-description',\r\n exportAs: 'emrTimelineDescription',\r\n templateUrl: './timeline-description.component.html',\r\n styleUrl: './timeline-description.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-description'\r\n }\r\n})\r\nexport class TimelineDescriptionComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-timestamp',\r\n exportAs: 'emrTimelineTimestamp',\r\n templateUrl: './timeline-timestamp.component.html',\r\n styleUrl: './timeline-timestamp.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-timestamp'\r\n }\r\n})\r\nexport class TimelineTimestampComponent {\r\n\r\n}\r\n","<ng-content></ng-content>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-title',\r\n exportAs: 'emrTimelineTitle',\r\n templateUrl: './timeline-title.component.html',\r\n styleUrl: './timeline-title.component.scss',\r\n host: {\r\n 'class': 'emr-timeline-title'\r\n }\r\n})\r\nexport class TimelineTitleComponent {\r\n\r\n}\r\n","<ng-content></ng-content>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-subtitle',\r\n imports: [],\r\n templateUrl: './timeline-subtitle.component.html',\r\n styleUrl: './timeline-subtitle.component.scss'\r\n})\r\nexport class TimelineSubtitleComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-timeline-content',\r\n imports: [],\r\n templateUrl: './timeline-content.component.html',\r\n styleUrl: './timeline-content.component.scss'\r\n})\r\nexport class TimelineContentComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAWa,iBAAiB,CAAA;wGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,6ICX9B,mBACA,EAAA,MAAA,EAAA,CAAA,8mEAAA,CAAA,EAAA,CAAA;;4FDUa,iBAAi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yB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,WACxB,EAAE,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,gMAAA,CAAA,EAAA;;;MEIA,wBAAwB,CAAA;wGAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,gFCRrC,mBACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA;;4FDOa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,WACvB,EAAE,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AEJb;;AAEG;;;;"}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, inject, LOCALE_ID, Renderer2, ElementRef, viewChild, signal, input, booleanAttribute, model, computed, effect, untracked, forwardRef, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { MatSelect, MatOption } from '@angular/material/select';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { NgControl, FormsModule } from '@angular/forms';
|
|
6
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
7
|
+
import { Subject } from 'rxjs';
|
|
8
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
9
|
+
import { MatIconButton } from '@angular/material/button';
|
|
10
|
+
import { MatIcon } from '@angular/material/icon';
|
|
11
|
+
|
|
12
|
+
class TimezoneUtils {
|
|
13
|
+
static _groupTimezoneIds(timezones) {
|
|
14
|
+
const grouped = {};
|
|
15
|
+
for (const tz of timezones) {
|
|
16
|
+
const parts = tz.split('/');
|
|
17
|
+
const groupName = parts[0];
|
|
18
|
+
if (!grouped[groupName]) {
|
|
19
|
+
grouped[groupName] = [];
|
|
20
|
+
}
|
|
21
|
+
grouped[groupName].push(tz);
|
|
22
|
+
}
|
|
23
|
+
for (const group in grouped) {
|
|
24
|
+
grouped[group].sort();
|
|
25
|
+
}
|
|
26
|
+
return grouped;
|
|
27
|
+
}
|
|
28
|
+
static _groupLocalizedTimezonesToArray(timezones) {
|
|
29
|
+
const intermediateGrouped = {};
|
|
30
|
+
for (const tz of timezones) {
|
|
31
|
+
const parts = tz.id.split('/');
|
|
32
|
+
const groupNameKey = parts[0]; // Use a different variable name to avoid confusion with the 'name' property of TimezoneGroup
|
|
33
|
+
if (!intermediateGrouped[groupNameKey]) {
|
|
34
|
+
intermediateGrouped[groupNameKey] = [];
|
|
35
|
+
}
|
|
36
|
+
intermediateGrouped[groupNameKey].push(tz);
|
|
37
|
+
}
|
|
38
|
+
const result = [];
|
|
39
|
+
const sortedGroupKeys = Object.keys(intermediateGrouped).sort();
|
|
40
|
+
for (const groupKey of sortedGroupKeys) {
|
|
41
|
+
const timezonesInGroup = intermediateGrouped[groupKey];
|
|
42
|
+
timezonesInGroup.sort((a, b) => a.name.localeCompare(b.name));
|
|
43
|
+
result.push({
|
|
44
|
+
name: groupKey, // Changed from groupName
|
|
45
|
+
timezones: timezonesInGroup,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return result;
|
|
49
|
+
}
|
|
50
|
+
static getAll(groupByName) {
|
|
51
|
+
let timezonesList;
|
|
52
|
+
if (typeof Intl.supportedValuesOf === 'function') {
|
|
53
|
+
try {
|
|
54
|
+
timezonesList = Intl.supportedValuesOf('timeZone');
|
|
55
|
+
}
|
|
56
|
+
catch (e) {
|
|
57
|
+
timezonesList = [];
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
timezonesList = [];
|
|
62
|
+
}
|
|
63
|
+
if (groupByName) {
|
|
64
|
+
return TimezoneUtils._groupTimezoneIds(timezonesList);
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
return [...timezonesList];
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
static _getSingleLocalizedName(id, locale, style, // Kept generic styles in param for flexibility if main name needs it
|
|
71
|
+
currentDate) {
|
|
72
|
+
try {
|
|
73
|
+
const formatter = new Intl.DateTimeFormat(locale, {
|
|
74
|
+
timeZone: id,
|
|
75
|
+
timeZoneName: style,
|
|
76
|
+
});
|
|
77
|
+
const parts = formatter.formatToParts(currentDate);
|
|
78
|
+
const tzNamePart = parts.find(part => part.type === 'timeZoneName');
|
|
79
|
+
return tzNamePart?.value;
|
|
80
|
+
}
|
|
81
|
+
catch (e) {
|
|
82
|
+
return undefined;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
static getLocalizedAll(locale, groupByName, timeZoneNameStyle = 'long') {
|
|
86
|
+
const ianaTimezoneIds = TimezoneUtils.getAll(false);
|
|
87
|
+
const localizedTimezones = [];
|
|
88
|
+
const currentDate = new Date();
|
|
89
|
+
for (const id of ianaTimezoneIds) {
|
|
90
|
+
const mainName = TimezoneUtils._getSingleLocalizedName(id, locale, timeZoneNameStyle, currentDate);
|
|
91
|
+
const tzObject = {
|
|
92
|
+
id: id,
|
|
93
|
+
name: mainName || id,
|
|
94
|
+
shortName: TimezoneUtils._getSingleLocalizedName(id, locale, 'short', currentDate),
|
|
95
|
+
offsetName: TimezoneUtils._getSingleLocalizedName(id, locale, 'longOffset', currentDate),
|
|
96
|
+
};
|
|
97
|
+
localizedTimezones.push(tzObject);
|
|
98
|
+
}
|
|
99
|
+
if (groupByName) {
|
|
100
|
+
return TimezoneUtils._groupLocalizedTimezonesToArray(localizedTimezones);
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
localizedTimezones.sort((a, b) => a.name.localeCompare(b.name));
|
|
104
|
+
return localizedTimezones;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
static ianaGroupToRegionCodeMap = {
|
|
108
|
+
'America': '019', // Americas (UN M49)
|
|
109
|
+
'Europe': '150', // Europe (UN M49)
|
|
110
|
+
'Asia': '142', // Asia (UN M49)
|
|
111
|
+
'Africa': '002', // Africa (UN M49)
|
|
112
|
+
'Australia': 'AU', // Australia (ISO 3166-1 alpha-2) - для группы IANA 'Australia'
|
|
113
|
+
'Pacific': '009', // Oceania (UN M49) - для группы IANA 'Pacific'
|
|
114
|
+
'Antarctica': 'AQ', // Antarctica (ISO 3166-1 alpha-2)
|
|
115
|
+
};
|
|
116
|
+
static _getLocalizedRegionDisplayName(ianaGroupName, locale) {
|
|
117
|
+
const regionCode = TimezoneUtils.ianaGroupToRegionCodeMap[ianaGroupName];
|
|
118
|
+
if (regionCode && typeof Intl.DisplayNames === 'function') {
|
|
119
|
+
try {
|
|
120
|
+
const displayNameService = new Intl.DisplayNames(locale, { type: 'region' });
|
|
121
|
+
return displayNameService.of(regionCode) || ianaGroupName; // Фоллбэк, если .of() вернет undefined/пусто
|
|
122
|
+
}
|
|
123
|
+
catch (e) {
|
|
124
|
+
// Ошибка (например, старая среда без поддержки этого кода для региона)
|
|
125
|
+
// console.warn(`Could not get display name for region code ${regionCode} in locale ${locale}:`, e);
|
|
126
|
+
return ianaGroupName; // Фоллбэк
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return ianaGroupName; // Фоллбэк, если нет сопоставления или Intl.DisplayNames не поддерживается
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
class FilterTimezonesPipe {
|
|
134
|
+
transform(value, searchTerm) {
|
|
135
|
+
if (!value) {
|
|
136
|
+
return value;
|
|
137
|
+
}
|
|
138
|
+
if (!searchTerm || searchTerm.trim() === '') {
|
|
139
|
+
return value;
|
|
140
|
+
}
|
|
141
|
+
const lowerSearchTerm = searchTerm.trim().toLowerCase();
|
|
142
|
+
const timezoneMatches = (timezone, term) => {
|
|
143
|
+
return (timezone.id.toLowerCase().includes(term) ||
|
|
144
|
+
timezone.name.toLowerCase().includes(term) ||
|
|
145
|
+
!!(timezone.shortName && timezone.shortName.toLowerCase().includes(term)) ||
|
|
146
|
+
!!(timezone.offsetName && timezone.offsetName.toLowerCase().includes(term)));
|
|
147
|
+
};
|
|
148
|
+
const resultGroups = [];
|
|
149
|
+
for (const group of value) { // Iterate directly over TimezoneGroup[]
|
|
150
|
+
const groupNameMatches = group.name.toLowerCase().includes(lowerSearchTerm);
|
|
151
|
+
const filteredTimezonesInGroup = group.timezones.filter(tz => timezoneMatches(tz, lowerSearchTerm));
|
|
152
|
+
// A group is included if its name matches OR it has matching timezones after filtering
|
|
153
|
+
if (groupNameMatches || filteredTimezonesInGroup.length > 0) {
|
|
154
|
+
resultGroups.push({
|
|
155
|
+
...group,
|
|
156
|
+
timezones: filteredTimezonesInGroup // Always use the filtered list of timezones for the group
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return resultGroups;
|
|
161
|
+
}
|
|
162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: FilterTimezonesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
163
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: FilterTimezonesPipe, isStandalone: true, name: "filterTimezones" });
|
|
164
|
+
}
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: FilterTimezonesPipe, decorators: [{
|
|
166
|
+
type: Pipe,
|
|
167
|
+
args: [{
|
|
168
|
+
name: 'filterTimezones',
|
|
169
|
+
}]
|
|
170
|
+
}] });
|
|
171
|
+
|
|
172
|
+
let nextId = 0;
|
|
173
|
+
class TimezoneSelectComponent {
|
|
174
|
+
localeId = inject(LOCALE_ID);
|
|
175
|
+
renderer = inject(Renderer2);
|
|
176
|
+
_focusMonitor = inject(FocusMonitor);
|
|
177
|
+
_elementRef = inject(ElementRef);
|
|
178
|
+
ngControl = inject(NgControl, { optional: true, self: true });
|
|
179
|
+
searchInput = viewChild.required('searchInput');
|
|
180
|
+
selectRef = viewChild.required('select');
|
|
181
|
+
timezoneGroups = signal([], ...(ngDevMode ? [{ debugName: "timezoneGroups" }] : []));
|
|
182
|
+
touched = signal(false, ...(ngDevMode ? [{ debugName: "touched" }] : []));
|
|
183
|
+
stateChanges = new Subject();
|
|
184
|
+
controlType = 'emr-timezone-select';
|
|
185
|
+
id = `emr-timezone-select-${nextId++}`;
|
|
186
|
+
_userAriaDescribedBy = input('', ...(ngDevMode ? [{ debugName: "_userAriaDescribedBy", alias: 'aria-describedby' }] : [{ alias: 'aria-describedby' }]));
|
|
187
|
+
locale = input(this.localeId, ...(ngDevMode ? [{ debugName: "locale" }] : []));
|
|
188
|
+
_placeholder = input('', ...(ngDevMode ? [{ debugName: "_placeholder", alias: 'placeholder' }] : [{ alias: 'placeholder' }]));
|
|
189
|
+
_required = input(false, ...(ngDevMode ? [{ debugName: "_required", alias: 'required',
|
|
190
|
+
transform: booleanAttribute }] : [{
|
|
191
|
+
alias: 'required',
|
|
192
|
+
transform: booleanAttribute,
|
|
193
|
+
}]));
|
|
194
|
+
_disabledByInput = input(false, ...(ngDevMode ? [{ debugName: "_disabledByInput", alias: 'disabled',
|
|
195
|
+
transform: booleanAttribute }] : [{
|
|
196
|
+
alias: 'disabled',
|
|
197
|
+
transform: booleanAttribute,
|
|
198
|
+
}]));
|
|
199
|
+
_value = model(null, ...(ngDevMode ? [{ debugName: "_value", alias: 'value' }] : [{ alias: 'value' }]));
|
|
200
|
+
searchTerm = model('', ...(ngDevMode ? [{ debugName: "searchTerm" }] : []));
|
|
201
|
+
_focused = signal(false, ...(ngDevMode ? [{ debugName: "_focused" }] : []));
|
|
202
|
+
_disabledByCva = signal(false, ...(ngDevMode ? [{ debugName: "_disabledByCva" }] : []));
|
|
203
|
+
_disabled = computed(() => this._disabledByInput() || this._disabledByCva(), ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
204
|
+
onChange = (_) => { };
|
|
205
|
+
onTouched = () => { };
|
|
206
|
+
get focused() {
|
|
207
|
+
return this._focused();
|
|
208
|
+
}
|
|
209
|
+
get empty() {
|
|
210
|
+
return !this._value() || this._value()?.trim() === '';
|
|
211
|
+
}
|
|
212
|
+
get shouldLabelFloat() {
|
|
213
|
+
return this.focused || !this.empty;
|
|
214
|
+
}
|
|
215
|
+
get userAriaDescribedBy() {
|
|
216
|
+
return this._userAriaDescribedBy();
|
|
217
|
+
}
|
|
218
|
+
get placeholder() {
|
|
219
|
+
return this._placeholder();
|
|
220
|
+
}
|
|
221
|
+
get required() {
|
|
222
|
+
return this._required();
|
|
223
|
+
}
|
|
224
|
+
get disabled() {
|
|
225
|
+
return this._disabled();
|
|
226
|
+
}
|
|
227
|
+
get value() {
|
|
228
|
+
return this._value();
|
|
229
|
+
}
|
|
230
|
+
get errorState() {
|
|
231
|
+
// @ts-ignore
|
|
232
|
+
return this.ngControl?.invalid && this.touched();
|
|
233
|
+
}
|
|
234
|
+
constructor() {
|
|
235
|
+
if (this.ngControl != null) {
|
|
236
|
+
this.ngControl.valueAccessor = this;
|
|
237
|
+
}
|
|
238
|
+
effect(() => {
|
|
239
|
+
// Read signals to trigger effect.
|
|
240
|
+
this._placeholder();
|
|
241
|
+
this._required();
|
|
242
|
+
this._disabled();
|
|
243
|
+
this._focused();
|
|
244
|
+
// Propagate state changes.
|
|
245
|
+
untracked(() => this.stateChanges.next());
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
ngOnInit() {
|
|
249
|
+
const locale = this.locale() || this.localeId;
|
|
250
|
+
this.timezoneGroups.set(TimezoneUtils.getLocalizedAll(locale, true));
|
|
251
|
+
const formFieldElement = this._elementRef.nativeElement.closest('.mat-mdc-form-field');
|
|
252
|
+
if (formFieldElement) {
|
|
253
|
+
this.renderer.addClass(formFieldElement, 'mat-mdc-form-field-type-mat-select');
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
ngOnDestroy() {
|
|
257
|
+
this.stateChanges.complete();
|
|
258
|
+
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
259
|
+
}
|
|
260
|
+
onFocusIn() {
|
|
261
|
+
if (!this._focused()) {
|
|
262
|
+
this._focused.set(true);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
onFocusOut(event) {
|
|
266
|
+
if (!this._elementRef.nativeElement.contains(event.relatedTarget)) {
|
|
267
|
+
this.touched.set(true);
|
|
268
|
+
this._focused.set(false);
|
|
269
|
+
this.onTouched();
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
onContainerClick(event) {
|
|
273
|
+
if (this.disabled) {
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
this._focused.set(true);
|
|
277
|
+
this.selectRef().onContainerClick();
|
|
278
|
+
}
|
|
279
|
+
setDescribedByIds(ids) {
|
|
280
|
+
}
|
|
281
|
+
writeValue(timezone) {
|
|
282
|
+
this._updateValue(timezone);
|
|
283
|
+
}
|
|
284
|
+
registerOnChange(fn) {
|
|
285
|
+
this.onChange = fn;
|
|
286
|
+
}
|
|
287
|
+
registerOnTouched(fn) {
|
|
288
|
+
this.onTouched = fn;
|
|
289
|
+
}
|
|
290
|
+
setDisabledState(isDisabled) {
|
|
291
|
+
this._disabledByCva.set(isDisabled);
|
|
292
|
+
}
|
|
293
|
+
onSelectOpened() {
|
|
294
|
+
setTimeout(() => {
|
|
295
|
+
this.searchInput().nativeElement.focus();
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
clearSearch() {
|
|
299
|
+
this.searchTerm.set('');
|
|
300
|
+
}
|
|
301
|
+
onSelectClosed() {
|
|
302
|
+
this._focused.set(false);
|
|
303
|
+
this.searchTerm.set('');
|
|
304
|
+
}
|
|
305
|
+
onModelChange(value) {
|
|
306
|
+
this._value.set(value);
|
|
307
|
+
this.onChange(value);
|
|
308
|
+
}
|
|
309
|
+
_updateValue(value) {
|
|
310
|
+
const current = this._value();
|
|
311
|
+
if (current === value) {
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
this._value.set(value);
|
|
315
|
+
}
|
|
316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimezoneSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
317
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.10", type: TimezoneSelectComponent, isStandalone: true, selector: "emr-timezone-select", inputs: { _userAriaDescribedBy: { classPropertyName: "_userAriaDescribedBy", publicName: "aria-describedby", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, _placeholder: { classPropertyName: "_placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, _required: { classPropertyName: "_required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, _disabledByInput: { classPropertyName: "_disabledByInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, _value: { classPropertyName: "_value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, searchTerm: { classPropertyName: "searchTerm", publicName: "searchTerm", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { _value: "valueChange", searchTerm: "searchTermChange" }, host: { properties: { "id": "id" }, classAttribute: "emr-timezone-select" }, providers: [
|
|
318
|
+
{
|
|
319
|
+
provide: MatFormFieldControl,
|
|
320
|
+
useExisting: forwardRef(() => TimezoneSelectComponent),
|
|
321
|
+
multi: true,
|
|
322
|
+
},
|
|
323
|
+
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }, { propertyName: "selectRef", first: true, predicate: ["select"], descendants: true, isSignal: true }], exportAs: ["emrTimezoneSelect"], ngImport: i0, template: "<mat-select #select=\"matSelect\"\r\n panelClass=\"emr-timezone-select-panel\"\r\n [value]=\"_value\"\r\n [aria-describedby]=\"userAriaDescribedBy\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"_placeholder()\"\r\n (opened)=\"onSelectOpened()\"\r\n (closed)=\"onSelectClosed()\">\r\n <div class=\"px-3 py-3 rounded-t sticky top-0 z-1 bg-[var(--mat-select-panel-background-color)]\">\r\n <input #searchInput\r\n type=\"text\" placeholder=\"Search...\" autocomplete=\"off\" [(ngModel)]=\"searchTerm\"\r\n class=\"w-full bg-surface-container-highest rounded-lg text-sm focus:outline-none\r\n focus:bg-surface-container-lowest focus:shadow-sm h-12 px-3\">\r\n @if (searchTerm().trim()) {\r\n <div class=\"absolute end-4 top-1/2 -translate-y-1/2\">\r\n <button\r\n mat-icon-button\r\n (click)=\"clearSearch()\"\r\n class=\"clear-button\"\r\n type=\"button\"\r\n aria-label=\"Clear search\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n @for (timezoneGroup of timezoneGroups() | filterTimezones:searchTerm(); track timezoneGroup.name) {\r\n <div class=\"px-4 font-bold text-on-surface-container my-4\" i18n>{{ timezoneGroup.name }}</div>\r\n <div>\r\n @for (timezone of timezoneGroup.timezones; track timezone) {\r\n <mat-option [value]=\"timezone.id\" (click)=\"onModelChange(timezone.id)\">\r\n {{ timezone.id }}\r\n </mat-option>\r\n }\r\n </div>\r\n } @empty {\r\n @if (searchTerm()) {\r\n <div class=\"text-sm px-4 py-3\">\r\n <span i18n>Timezone not found</span>.\r\n </div>\r\n }\r\n }\r\n</mat-select>\r\n", styles: [":host{display:block;cursor:pointer;width:100%}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: FilterTimezonesPipe, name: "filterTimezones" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
324
|
+
}
|
|
325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: TimezoneSelectComponent, decorators: [{
|
|
326
|
+
type: Component,
|
|
327
|
+
args: [{ selector: 'emr-timezone-select', exportAs: 'emrTimezoneSelect', imports: [
|
|
328
|
+
MatSelect,
|
|
329
|
+
MatOption,
|
|
330
|
+
FormsModule,
|
|
331
|
+
FilterTimezonesPipe,
|
|
332
|
+
MatIcon,
|
|
333
|
+
MatIconButton
|
|
334
|
+
], providers: [
|
|
335
|
+
{
|
|
336
|
+
provide: MatFormFieldControl,
|
|
337
|
+
useExisting: forwardRef(() => TimezoneSelectComponent),
|
|
338
|
+
multi: true,
|
|
339
|
+
},
|
|
340
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
341
|
+
'class': 'emr-timezone-select',
|
|
342
|
+
'[id]': 'id',
|
|
343
|
+
}, template: "<mat-select #select=\"matSelect\"\r\n panelClass=\"emr-timezone-select-panel\"\r\n [value]=\"_value\"\r\n [aria-describedby]=\"userAriaDescribedBy\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"_placeholder()\"\r\n (opened)=\"onSelectOpened()\"\r\n (closed)=\"onSelectClosed()\">\r\n <div class=\"px-3 py-3 rounded-t sticky top-0 z-1 bg-[var(--mat-select-panel-background-color)]\">\r\n <input #searchInput\r\n type=\"text\" placeholder=\"Search...\" autocomplete=\"off\" [(ngModel)]=\"searchTerm\"\r\n class=\"w-full bg-surface-container-highest rounded-lg text-sm focus:outline-none\r\n focus:bg-surface-container-lowest focus:shadow-sm h-12 px-3\">\r\n @if (searchTerm().trim()) {\r\n <div class=\"absolute end-4 top-1/2 -translate-y-1/2\">\r\n <button\r\n mat-icon-button\r\n (click)=\"clearSearch()\"\r\n class=\"clear-button\"\r\n type=\"button\"\r\n aria-label=\"Clear search\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n @for (timezoneGroup of timezoneGroups() | filterTimezones:searchTerm(); track timezoneGroup.name) {\r\n <div class=\"px-4 font-bold text-on-surface-container my-4\" i18n>{{ timezoneGroup.name }}</div>\r\n <div>\r\n @for (timezone of timezoneGroup.timezones; track timezone) {\r\n <mat-option [value]=\"timezone.id\" (click)=\"onModelChange(timezone.id)\">\r\n {{ timezone.id }}\r\n </mat-option>\r\n }\r\n </div>\r\n } @empty {\r\n @if (searchTerm()) {\r\n <div class=\"text-sm px-4 py-3\">\r\n <span i18n>Timezone not found</span>.\r\n </div>\r\n }\r\n }\r\n</mat-select>\r\n", styles: [":host{display:block;cursor:pointer;width:100%}\n/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */\n"] }]
|
|
344
|
+
}], ctorParameters: () => [], propDecorators: { searchInput: [{ type: i0.ViewChild, args: ['searchInput', { isSignal: true }] }], selectRef: [{ type: i0.ViewChild, args: ['select', { isSignal: true }] }], _userAriaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-describedby", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], _placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], _required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], _disabledByInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], _value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], searchTerm: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchTerm", required: false }] }, { type: i0.Output, args: ["searchTermChange"] }] } });
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Generated bundle index. Do not edit.
|
|
348
|
+
*/
|
|
349
|
+
|
|
350
|
+
export { TimezoneSelectComponent };
|
|
351
|
+
//# sourceMappingURL=elementar-rt-components-timezone-select.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementar-rt-components-timezone-select.mjs","sources":["../../../projects/components/timezone-select/src/timezone-utils.ts","../../../projects/components/timezone-select/src/filter-timezones.pipe.ts","../../../projects/components/timezone-select/src/timezone-select/timezone-select.component.ts","../../../projects/components/timezone-select/src/timezone-select/timezone-select.component.html","../../../projects/components/timezone-select/elementar-rt-components-timezone-select.ts"],"sourcesContent":["export interface LocalizedTimezone {\r\n id: string;\r\n name: string;\r\n shortName?: string;\r\n // genericName?: string; // Removed\r\n offsetName?: string;\r\n}\r\n\r\nexport interface TimezoneGroup {\r\n name: string; // Changed from groupName\r\n timezones: LocalizedTimezone[];\r\n}\r\n\r\nexport class TimezoneUtils {\r\n private static _groupTimezoneIds(timezones: string[]): Record<string, string[]> {\r\n const grouped: Record<string, string[]> = {};\r\n for (const tz of timezones) {\r\n const parts = tz.split('/');\r\n const groupName = parts[0];\r\n if (!grouped[groupName]) {\r\n grouped[groupName] = [];\r\n }\r\n grouped[groupName].push(tz);\r\n }\r\n for (const group in grouped) {\r\n grouped[group].sort();\r\n }\r\n return grouped;\r\n }\r\n\r\n private static _groupLocalizedTimezonesToArray(\r\n timezones: LocalizedTimezone[]\r\n ): TimezoneGroup[] {\r\n const intermediateGrouped: Record<string, LocalizedTimezone[]> = {};\r\n for (const tz of timezones) {\r\n const parts = tz.id.split('/');\r\n const groupNameKey = parts[0]; // Use a different variable name to avoid confusion with the 'name' property of TimezoneGroup\r\n if (!intermediateGrouped[groupNameKey]) {\r\n intermediateGrouped[groupNameKey] = [];\r\n }\r\n intermediateGrouped[groupNameKey].push(tz);\r\n }\r\n\r\n const result: TimezoneGroup[] = [];\r\n const sortedGroupKeys = Object.keys(intermediateGrouped).sort();\r\n\r\n for (const groupKey of sortedGroupKeys) {\r\n const timezonesInGroup = intermediateGrouped[groupKey];\r\n timezonesInGroup.sort((a, b) => a.name.localeCompare(b.name));\r\n result.push({\r\n name: groupKey, // Changed from groupName\r\n timezones: timezonesInGroup,\r\n });\r\n }\r\n return result;\r\n }\r\n\r\n public static getAll(groupByName: true): Record<string, string[]>;\r\n public static getAll(groupByName?: false): string[];\r\n public static getAll(groupByName?: boolean): string[] | Record<string, string[]> {\r\n let timezonesList: string[];\r\n if (typeof Intl.supportedValuesOf === 'function') {\r\n try {\r\n timezonesList = Intl.supportedValuesOf('timeZone');\r\n } catch (e) {\r\n timezonesList = [];\r\n }\r\n } else {\r\n timezonesList = [];\r\n }\r\n\r\n if (groupByName) {\r\n return TimezoneUtils._groupTimezoneIds(timezonesList);\r\n } else {\r\n return [...timezonesList];\r\n }\r\n }\r\n\r\n private static _getSingleLocalizedName(\r\n id: string,\r\n locale: string,\r\n style: 'long' | 'short' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric', // Kept generic styles in param for flexibility if main name needs it\r\n currentDate: Date\r\n ): string | undefined {\r\n try {\r\n const formatter = new Intl.DateTimeFormat(locale, {\r\n timeZone: id,\r\n timeZoneName: style,\r\n });\r\n const parts = formatter.formatToParts(currentDate);\r\n const tzNamePart = parts.find(part => part.type === 'timeZoneName');\r\n return tzNamePart?.value;\r\n } catch (e) {\r\n return undefined;\r\n }\r\n }\r\n\r\n public static getLocalizedAll(\r\n locale: string,\r\n groupByName: true,\r\n timeZoneNameStyle?: 'long' | 'short' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric'\r\n ): TimezoneGroup[];\r\n public static getLocalizedAll(\r\n locale: string,\r\n groupByName?: false,\r\n timeZoneNameStyle?: 'long' | 'short' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric'\r\n ): LocalizedTimezone[];\r\n\r\n public static getLocalizedAll(\r\n locale: string,\r\n groupByName?: boolean,\r\n timeZoneNameStyle: 'long' | 'short' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric' = 'long'\r\n ): LocalizedTimezone[] | TimezoneGroup[] {\r\n const ianaTimezoneIds = TimezoneUtils.getAll(false);\r\n const localizedTimezones: LocalizedTimezone[] = [];\r\n const currentDate = new Date();\r\n\r\n for (const id of ianaTimezoneIds) {\r\n const mainName = TimezoneUtils._getSingleLocalizedName(id, locale, timeZoneNameStyle, currentDate);\r\n const tzObject: LocalizedTimezone = {\r\n id: id,\r\n name: mainName || id,\r\n shortName: TimezoneUtils._getSingleLocalizedName(id, locale, 'short', currentDate),\r\n offsetName: TimezoneUtils._getSingleLocalizedName(id, locale, 'longOffset', currentDate),\r\n };\r\n localizedTimezones.push(tzObject);\r\n }\r\n\r\n if (groupByName) {\r\n return TimezoneUtils._groupLocalizedTimezonesToArray(localizedTimezones);\r\n } else {\r\n localizedTimezones.sort((a, b) => a.name.localeCompare(b.name));\r\n return localizedTimezones;\r\n }\r\n }\r\n\r\n private static readonly ianaGroupToRegionCodeMap: Record<string, string> = {\r\n 'America': '019', // Americas (UN M49)\r\n 'Europe': '150', // Europe (UN M49)\r\n 'Asia': '142', // Asia (UN M49)\r\n 'Africa': '002', // Africa (UN M49)\r\n 'Australia': 'AU', // Australia (ISO 3166-1 alpha-2) - для группы IANA 'Australia'\r\n 'Pacific': '009', // Oceania (UN M49) - для группы IANA 'Pacific'\r\n 'Antarctica': 'AQ', // Antarctica (ISO 3166-1 alpha-2)\r\n };\r\n\r\n private static _getLocalizedRegionDisplayName(\r\n ianaGroupName: string,\r\n locale: string\r\n ): string {\r\n const regionCode = TimezoneUtils.ianaGroupToRegionCodeMap[ianaGroupName];\r\n if (regionCode && typeof Intl.DisplayNames === 'function') {\r\n try {\r\n const displayNameService = new Intl.DisplayNames(locale, { type: 'region' });\r\n return displayNameService.of(regionCode) || ianaGroupName; // Фоллбэк, если .of() вернет undefined/пусто\r\n } catch (e) {\r\n // Ошибка (например, старая среда без поддержки этого кода для региона)\r\n // console.warn(`Could not get display name for region code ${regionCode} in locale ${locale}:`, e);\r\n return ianaGroupName; // Фоллбэк\r\n }\r\n }\r\n return ianaGroupName; // Фоллбэк, если нет сопоставления или Intl.DisplayNames не поддерживается\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { LocalizedTimezone, TimezoneGroup } from './timezone-utils';\r\n\r\n@Pipe({\r\n name: 'filterTimezones',\r\n})\r\nexport class FilterTimezonesPipe implements PipeTransform {\r\n\r\n transform(\r\n value: TimezoneGroup[] | null | undefined,\r\n searchTerm: string | null | undefined\r\n ): TimezoneGroup[] | null | undefined {\r\n\r\n if (!value) {\r\n return value;\r\n }\r\n if (!searchTerm || searchTerm.trim() === '') {\r\n return value;\r\n }\r\n\r\n const lowerSearchTerm = searchTerm.trim().toLowerCase();\r\n const timezoneMatches = (timezone: LocalizedTimezone, term: string): boolean => {\r\n return (\r\n timezone.id.toLowerCase().includes(term) ||\r\n timezone.name.toLowerCase().includes(term) ||\r\n !!(timezone.shortName && timezone.shortName.toLowerCase().includes(term)) ||\r\n !!(timezone.offsetName && timezone.offsetName.toLowerCase().includes(term)));\r\n };\r\n\r\n const resultGroups: TimezoneGroup[] = [];\r\n for (const group of value) { // Iterate directly over TimezoneGroup[]\r\n const groupNameMatches = group.name.toLowerCase().includes(lowerSearchTerm);\r\n const filteredTimezonesInGroup = group.timezones.filter(tz => timezoneMatches(tz, lowerSearchTerm));\r\n\r\n // A group is included if its name matches OR it has matching timezones after filtering\r\n if (groupNameMatches || filteredTimezonesInGroup.length > 0) {\r\n resultGroups.push({\r\n ...group,\r\n timezones: filteredTimezonesInGroup // Always use the filtered list of timezones for the group\r\n });\r\n }\r\n }\r\n return resultGroups;\r\n }\r\n}\r\n","import {\r\n booleanAttribute, ChangeDetectionStrategy,\r\n Component, computed, effect, ElementRef,\r\n forwardRef,\r\n inject,\r\n input,\r\n LOCALE_ID, model,\r\n OnInit, Renderer2,\r\n signal, untracked, viewChild\r\n} from '@angular/core';\r\nimport { TimezoneGroup, TimezoneUtils } from '../timezone-utils';\r\nimport { MatOption, MatSelect } from '@angular/material/select';\r\nimport {\r\n ControlValueAccessor, FormsModule,\r\n NgControl\r\n} from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { Subject } from 'rxjs';\r\nimport { FocusMonitor } from '@angular/cdk/a11y';\r\nimport { FilterTimezonesPipe } from '../filter-timezones.pipe';\r\nimport { MatIconButton } from '@angular/material/button';\r\nimport { MatIcon } from '@angular/material/icon';\r\n\r\nlet nextId = 0;\r\n\r\n@Component({\r\n selector: 'emr-timezone-select',\r\n exportAs: 'emrTimezoneSelect',\r\n imports: [\r\n MatSelect,\r\n MatOption,\r\n FormsModule,\r\n FilterTimezonesPipe,\r\n MatIcon,\r\n MatIconButton\r\n ],\r\n providers: [\r\n {\r\n provide: MatFormFieldControl,\r\n useExisting: forwardRef(() => TimezoneSelectComponent),\r\n multi: true,\r\n },\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n templateUrl: './timezone-select.component.html',\r\n styleUrl: './timezone-select.component.scss',\r\n host: {\r\n 'class': 'emr-timezone-select',\r\n '[id]': 'id',\r\n }\r\n})\r\nexport class TimezoneSelectComponent implements OnInit, MatFormFieldControl<any>, ControlValueAccessor {\r\n protected localeId = inject(LOCALE_ID);\r\n protected renderer = inject(Renderer2);\r\n private readonly _focusMonitor = inject(FocusMonitor);\r\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n ngControl = inject(NgControl, { optional: true, self: true });\r\n\r\n private searchInput = viewChild.required<ElementRef<HTMLInputElement>>('searchInput');\r\n private selectRef = viewChild.required<MatSelect>('select');\r\n\r\n protected timezoneGroups = signal<TimezoneGroup[]>([]);\r\n readonly touched = signal(false);\r\n readonly stateChanges = new Subject<void>();\r\n readonly controlType = 'emr-timezone-select';\r\n readonly id = `emr-timezone-select-${nextId++}`;\r\n readonly _userAriaDescribedBy = input<string>('', { alias: 'aria-describedby' });\r\n readonly locale = input<string>(this.localeId);\r\n readonly _placeholder = input<string>('', { alias: 'placeholder' });\r\n readonly _required = input<boolean, unknown>(false, {\r\n alias: 'required',\r\n transform: booleanAttribute,\r\n });\r\n readonly _disabledByInput = input<boolean, unknown>(false, {\r\n alias: 'disabled',\r\n transform: booleanAttribute,\r\n });\r\n readonly _value = model<string | null>(null, { alias: 'value' });\r\n protected searchTerm = model('');\r\n private readonly _focused = signal(false);\r\n private readonly _disabledByCva = signal(false);\r\n private readonly _disabled = computed(() => this._disabledByInput() || this._disabledByCva());\r\n\r\n onChange = (_: any) => {};\r\n onTouched = () => {};\r\n\r\n get focused(): boolean {\r\n return this._focused();\r\n }\r\n\r\n get empty() {\r\n return !this._value() || this._value()?.trim() === '';\r\n }\r\n\r\n get shouldLabelFloat() {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n get userAriaDescribedBy() {\r\n return this._userAriaDescribedBy();\r\n }\r\n\r\n get placeholder(): string {\r\n return this._placeholder();\r\n }\r\n\r\n get required(): boolean {\r\n return this._required();\r\n }\r\n\r\n get disabled(): boolean {\r\n return this._disabled();\r\n }\r\n\r\n get value(): string | null {\r\n return this._value();\r\n }\r\n\r\n get errorState(): boolean {\r\n // @ts-ignore\r\n return this.ngControl?.invalid && this.touched();\r\n }\r\n\r\n constructor() {\r\n if (this.ngControl != null) {\r\n this.ngControl.valueAccessor = this;\r\n }\r\n\r\n effect(() => {\r\n // Read signals to trigger effect.\r\n this._placeholder();\r\n this._required();\r\n this._disabled();\r\n this._focused();\r\n // Propagate state changes.\r\n untracked(() => this.stateChanges.next());\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n const locale = this.locale() || this.localeId;\r\n this.timezoneGroups.set(TimezoneUtils.getLocalizedAll(locale, true));\r\n const formFieldElement = this._elementRef.nativeElement.closest('.mat-mdc-form-field');\r\n\r\n if (formFieldElement) {\r\n this.renderer.addClass(formFieldElement, 'mat-mdc-form-field-type-mat-select');\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this.stateChanges.complete();\r\n this._focusMonitor.stopMonitoring(this._elementRef);\r\n }\r\n\r\n onFocusIn() {\r\n if (!this._focused()) {\r\n this._focused.set(true);\r\n }\r\n }\r\n\r\n onFocusOut(event: FocusEvent) {\r\n if (!this._elementRef.nativeElement.contains(event.relatedTarget as Element)) {\r\n this.touched.set(true);\r\n this._focused.set(false);\r\n this.onTouched();\r\n }\r\n }\r\n\r\n onContainerClick(event: MouseEvent) {\r\n if (this.disabled) {\r\n return;\r\n }\r\n\r\n this._focused.set(true);\r\n this.selectRef().onContainerClick();\r\n }\r\n\r\n setDescribedByIds(ids: string[]) {\r\n }\r\n\r\n writeValue(timezone: string | null): void {\r\n this._updateValue(timezone);\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(isDisabled: boolean): void {\r\n this._disabledByCva.set(isDisabled);\r\n }\r\n\r\n protected onSelectOpened(): void {\r\n setTimeout(() => {\r\n this.searchInput().nativeElement.focus();\r\n });\r\n }\r\n\r\n protected clearSearch() {\r\n this.searchTerm.set('');\r\n }\r\n\r\n protected onSelectClosed() {\r\n this._focused.set(false);\r\n this.searchTerm.set('');\r\n }\r\n\r\n protected onModelChange(value: string) {\r\n this._value.set(value);\r\n this.onChange(value);\r\n }\r\n\r\n private _updateValue(value: string | null) {\r\n const current = this._value();\r\n\r\n if (current === value) {\r\n return;\r\n }\r\n\r\n this._value.set(value);\r\n }\r\n}\r\n","<mat-select #select=\"matSelect\"\r\n panelClass=\"emr-timezone-select-panel\"\r\n [value]=\"_value\"\r\n [aria-describedby]=\"userAriaDescribedBy\"\r\n [disabled]=\"disabled\"\r\n [placeholder]=\"_placeholder()\"\r\n (opened)=\"onSelectOpened()\"\r\n (closed)=\"onSelectClosed()\">\r\n <div class=\"px-3 py-3 rounded-t sticky top-0 z-1 bg-[var(--mat-select-panel-background-color)]\">\r\n <input #searchInput\r\n type=\"text\" placeholder=\"Search...\" autocomplete=\"off\" [(ngModel)]=\"searchTerm\"\r\n class=\"w-full bg-surface-container-highest rounded-lg text-sm focus:outline-none\r\n focus:bg-surface-container-lowest focus:shadow-sm h-12 px-3\">\r\n @if (searchTerm().trim()) {\r\n <div class=\"absolute end-4 top-1/2 -translate-y-1/2\">\r\n <button\r\n mat-icon-button\r\n (click)=\"clearSearch()\"\r\n class=\"clear-button\"\r\n type=\"button\"\r\n aria-label=\"Clear search\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n @for (timezoneGroup of timezoneGroups() | filterTimezones:searchTerm(); track timezoneGroup.name) {\r\n <div class=\"px-4 font-bold text-on-surface-container my-4\" i18n>{{ timezoneGroup.name }}</div>\r\n <div>\r\n @for (timezone of timezoneGroup.timezones; track timezone) {\r\n <mat-option [value]=\"timezone.id\" (click)=\"onModelChange(timezone.id)\">\r\n {{ timezone.id }}\r\n </mat-option>\r\n }\r\n </div>\r\n } @empty {\r\n @if (searchTerm()) {\r\n <div class=\"text-sm px-4 py-3\">\r\n <span i18n>Timezone not found</span>.\r\n </div>\r\n }\r\n }\r\n</mat-select>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAaa,aAAa,CAAA;IAChB,OAAO,iBAAiB,CAAC,SAAmB,EAAA;QAClD,MAAM,OAAO,GAA6B,EAAE;AAC5C,QAAA,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE;YAC1B,MAAM,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;AAC3B,YAAA,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC;AAC1B,YAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;AACvB,gBAAA,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE;YACzB;YACA,OAAO,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;QAC7B;AACA,QAAA,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;AAC3B,YAAA,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE;QACvB;AACA,QAAA,OAAO,OAAO;IAChB;IAEQ,OAAO,+BAA+B,CAC5C,SAA8B,EAAA;QAE9B,MAAM,mBAAmB,GAAwC,EAAE;AACnE,QAAA,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE;YAC1B,MAAM,KAAK,GAAG,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;YAC9B,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AAC9B,YAAA,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,EAAE;AACtC,gBAAA,mBAAmB,CAAC,YAAY,CAAC,GAAG,EAAE;YACxC;YACA,mBAAmB,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC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