@elementar-rt/components 0.6.56 → 0.6.57
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 -49
- package/badge/index.d.ts +18 -0
- package/bottom-sheet/index.d.ts +32 -0
- package/button-toggle/index.d.ts +33 -0
- package/calendar/index.d.ts +44 -0
- package/card/index.d.ts +32 -0
- package/chips/index.d.ts +23 -0
- package/clipboard-copy/index.d.ts +28 -0
- package/code-highlighter/index.d.ts +5 -1
- package/combobox/index.d.ts +38 -0
- package/content-editor/index.d.ts +18 -0
- package/dashboard/index.d.ts +1 -1
- package/data-grid/index.d.ts +64 -0
- package/datepicker/index.d.ts +32 -0
- package/dialog/index.d.ts +48 -0
- package/digit-roller/index.d.ts +18 -0
- package/empty-state/index.d.ts +17 -0
- package/expansion-panel/index.d.ts +12 -0
- package/fesm2022/elementar-rt-components-action-required.mjs +4 -4
- package/fesm2022/elementar-rt-components-action-required.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-alert.mjs +17 -17
- package/fesm2022/elementar-rt-components-alert.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-announcement.mjs +8 -8
- package/fesm2022/elementar-rt-components-announcement.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-avatar.mjs +22 -22
- package/fesm2022/elementar-rt-components-avatar.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-badge.mjs +38 -0
- package/fesm2022/elementar-rt-components-badge.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-block-loader.mjs +7 -7
- package/fesm2022/elementar-rt-components-block-loader.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-block-state.mjs +24 -24
- package/fesm2022/elementar-rt-components-block-state.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-bottom-sheet.mjs +71 -0
- package/fesm2022/elementar-rt-components-bottom-sheet.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-brand-colors.mjs +5 -5
- package/fesm2022/elementar-rt-components-brand-colors.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-breadcrumbs.mjs +41 -41
- package/fesm2022/elementar-rt-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-button-toggle.mjs +89 -0
- package/fesm2022/elementar-rt-components-button-toggle.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-calendar.mjs +130 -0
- package/fesm2022/elementar-rt-components-calendar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-card-overlay.mjs +7 -7
- package/fesm2022/elementar-rt-components-card-overlay.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-card.mjs +60 -0
- package/fesm2022/elementar-rt-components-card.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-carousel.mjs +22 -22
- package/fesm2022/elementar-rt-components-carousel.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-chips.mjs +54 -0
- package/fesm2022/elementar-rt-components-chips.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-clipboard-copy.mjs +115 -0
- package/fesm2022/elementar-rt-components-clipboard-copy.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-code-highlighter.mjs +19 -6
- package/fesm2022/elementar-rt-components-code-highlighter.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-color-picker.mjs +27 -27
- package/fesm2022/elementar-rt-components-color-picker.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-color-scheme.mjs +10 -10
- package/fesm2022/elementar-rt-components-color-scheme.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-combobox.mjs +70 -0
- package/fesm2022/elementar-rt-components-combobox.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-command-bar.mjs +12 -12
- package/fesm2022/elementar-rt-components-command-bar.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-comment-editor.mjs +82 -82
- package/fesm2022/elementar-rt-components-comment-editor.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-comparison-slider.mjs +10 -10
- package/fesm2022/elementar-rt-components-comparison-slider.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-confirm.mjs +7 -7
- package/fesm2022/elementar-rt-components-confirm.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-content-editor.mjs +121 -0
- package/fesm2022/elementar-rt-components-content-editor.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-content-fade.mjs +4 -4
- package/fesm2022/elementar-rt-components-content-fade.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-cookie-popup.mjs +13 -13
- package/fesm2022/elementar-rt-components-cookie-popup.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-core.mjs +64 -64
- package/fesm2022/elementar-rt-components-core.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-country-select.mjs +5 -5
- package/fesm2022/elementar-rt-components-country-select.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-crop.mjs +4 -4
- package/fesm2022/elementar-rt-components-crop.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-currency-select.mjs +5 -5
- package/fesm2022/elementar-rt-components-currency-select.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-dashboard.mjs +9 -9
- package/fesm2022/elementar-rt-components-dashboard.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-data-grid.mjs +120 -0
- package/fesm2022/elementar-rt-components-data-grid.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-data-view.mjs +17 -17
- package/fesm2022/elementar-rt-components-data-view.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-date-format-select.mjs +5 -5
- package/fesm2022/elementar-rt-components-date-format-select.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-datepicker.mjs +81 -0
- package/fesm2022/elementar-rt-components-datepicker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-dialog.mjs +97 -0
- package/fesm2022/elementar-rt-components-dialog.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-digit-roller.mjs +41 -0
- package/fesm2022/elementar-rt-components-digit-roller.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-divider.mjs +8 -8
- package/fesm2022/elementar-rt-components-divider.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-drawer.mjs +8 -8
- package/fesm2022/elementar-rt-components-drawer.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-emoji-picker.mjs +7 -7
- package/fesm2022/elementar-rt-components-emoji-picker.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-empty-state.mjs +35 -0
- package/fesm2022/elementar-rt-components-empty-state.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-expand.mjs +4 -4
- package/fesm2022/elementar-rt-components-expand.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-expansion-panel.mjs +32 -0
- package/fesm2022/elementar-rt-components-expansion-panel.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-filter-builder.mjs +13 -13
- package/fesm2022/elementar-rt-components-filter-builder.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-filter-select.mjs +126 -0
- package/fesm2022/elementar-rt-components-filter-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-C2Ai6F2X.mjs +123 -0
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-C2Ai6F2X.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-a0XAs0-_.mjs +22 -0
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-a0XAs0-_.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-CTVrrf43.mjs +40 -0
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-CTVrrf43.mjs.map +1 -0
- package/fesm2022/{elementar-rt-components-form-renderer-divider-content.component-CjlGcU3B.mjs → elementar-rt-components-form-renderer-divider-content.component-CkYa0MOQ.mjs} +5 -5
- package/fesm2022/elementar-rt-components-form-renderer-divider-content.component-CkYa0MOQ.mjs.map +1 -0
- package/fesm2022/{elementar-rt-components-form-renderer-image-content.component-0pL2Fk0H.mjs → elementar-rt-components-form-renderer-image-content.component-B5uj3hoV.mjs} +5 -5
- package/fesm2022/elementar-rt-components-form-renderer-image-content.component-B5uj3hoV.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-DnaWJIK9.mjs +33 -0
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-DnaWJIK9.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-9BLv1MsP.mjs +38 -0
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-9BLv1MsP.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-C97pIEdh.mjs +39 -0
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-C97pIEdh.mjs.map +1 -0
- package/fesm2022/{elementar-rt-components-form-renderer-text-content.component-BmFyUG06.mjs → elementar-rt-components-form-renderer-text-content.component-CJxCc5vX.mjs} +5 -5
- package/fesm2022/elementar-rt-components-form-renderer-text-content.component-CJxCc5vX.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-CCtWiJOk.mjs +37 -0
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-CCtWiJOk.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-GvZgdvUX.mjs +35 -0
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-GvZgdvUX.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-DBiIiV-9.mjs +22 -0
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-DBiIiV-9.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-form-renderer.mjs +29 -29
- package/fesm2022/elementar-rt-components-form-renderer.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-gauge.mjs +8 -8
- package/fesm2022/elementar-rt-components-gauge.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-grid.mjs +37 -0
- package/fesm2022/elementar-rt-components-grid.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-guided-tour.mjs +161 -0
- package/fesm2022/elementar-rt-components-guided-tour.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-headless-stepper.mjs +72 -0
- package/fesm2022/elementar-rt-components-headless-stepper.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-icon.mjs +4 -4
- package/fesm2022/elementar-rt-components-icon.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-image-placeholder.mjs +30 -0
- package/fesm2022/elementar-rt-components-image-placeholder.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-image-resizer.mjs +10 -10
- package/fesm2022/elementar-rt-components-image-resizer.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-image-viewer.mjs +19 -19
- package/fesm2022/elementar-rt-components-image-viewer.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-image-zoom-viewer.mjs +97 -0
- package/fesm2022/elementar-rt-components-image-zoom-viewer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-incidents.mjs +49 -49
- package/fesm2022/elementar-rt-components-incidents.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-inline-text-edit.mjs +4 -4
- package/fesm2022/elementar-rt-components-inline-text-edit.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-input-mask.mjs +9 -9
- package/fesm2022/elementar-rt-components-input-mask.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-input-validator.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-kanban-board.mjs +7 -7
- package/fesm2022/elementar-rt-components-kanban-board.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-keyboard.mjs +63 -0
- package/fesm2022/elementar-rt-components-keyboard.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-layout.mjs +32 -32
- package/fesm2022/elementar-rt-components-layout.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-list.mjs +43 -0
- package/fesm2022/elementar-rt-components-list.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-logo.mjs +12 -12
- package/fesm2022/elementar-rt-components-logo.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-marquee.mjs +7 -7
- package/fesm2022/elementar-rt-components-marquee.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-menu.mjs +94 -0
- package/fesm2022/elementar-rt-components-menu.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-micro-chart.mjs +24 -24
- package/fesm2022/elementar-rt-components-micro-chart.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-multi-select.mjs +66 -0
- package/fesm2022/elementar-rt-components-multi-select.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-navigation.mjs +39 -39
- package/fesm2022/elementar-rt-components-navigation.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-notifications.mjs +40 -40
- package/fesm2022/elementar-rt-components-notifications.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-number-input.mjs +17 -17
- package/fesm2022/elementar-rt-components-number-input.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-overlay-scrollbar.mjs +4 -4
- package/fesm2022/elementar-rt-components-overlay-scrollbar.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-overlay.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-page-loading-bar.mjs +4 -4
- package/fesm2022/elementar-rt-components-page-loading-bar.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-paginator.mjs +50 -0
- package/fesm2022/elementar-rt-components-paginator.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-panel.mjs +24 -24
- package/fesm2022/elementar-rt-components-panel.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-password-strength.mjs +13 -13
- package/fesm2022/elementar-rt-components-password-strength.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-phone-input.mjs +11 -11
- package/fesm2022/elementar-rt-components-phone-input.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-pin-input.mjs +8 -8
- package/fesm2022/elementar-rt-components-pin-input.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-popover.mjs +10 -10
- package/fesm2022/elementar-rt-components-popover.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-progress-bar.mjs +32 -0
- package/fesm2022/elementar-rt-components-progress-bar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-progress-spinner.mjs +94 -0
- package/fesm2022/elementar-rt-components-progress-spinner.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-radio-card.mjs +17 -17
- package/fesm2022/elementar-rt-components-radio-card.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-rail-nav.mjs +12 -12
- package/fesm2022/elementar-rt-components-rail-nav.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-rating.mjs +84 -0
- package/fesm2022/elementar-rt-components-rating.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-resizable-container.mjs +4 -4
- package/fesm2022/elementar-rt-components-resizable-container.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-screen-loader.mjs +4 -4
- package/fesm2022/elementar-rt-components-screen-loader.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-scroll-spy.mjs +16 -16
- package/fesm2022/elementar-rt-components-scroll-spy.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-segmented.mjs +12 -12
- package/fesm2022/elementar-rt-components-segmented.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-side-panel.mjs +8 -8
- package/fesm2022/elementar-rt-components-side-panel.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-sidebar.mjs +61 -61
- package/fesm2022/elementar-rt-components-sidebar.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-sidenav.mjs +72 -0
- package/fesm2022/elementar-rt-components-sidenav.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-signature-pad.mjs +4 -4
- package/fesm2022/elementar-rt-components-signature-pad.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-skeleton.mjs +16 -16
- package/fesm2022/elementar-rt-components-skeleton.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-slider.mjs +64 -0
- package/fesm2022/elementar-rt-components-slider.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-snackbar.mjs +81 -0
- package/fesm2022/elementar-rt-components-snackbar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-sort.mjs +69 -0
- package/fesm2022/elementar-rt-components-sort.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-splash-screen.mjs +4 -4
- package/fesm2022/elementar-rt-components-splash-screen.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-split-pane.mjs +70 -0
- package/fesm2022/elementar-rt-components-split-pane.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-stat-card.mjs +27 -0
- package/fesm2022/elementar-rt-components-stat-card.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-step-tracker.mjs +30 -0
- package/fesm2022/elementar-rt-components-step-tracker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-stepper.mjs +6 -6
- package/fesm2022/elementar-rt-components-stepper.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-suggestions.mjs +18 -18
- package/fesm2022/elementar-rt-components-suggestions.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-tab-panel.mjs +48 -48
- package/fesm2022/elementar-rt-components-tab-panel.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-table.mjs +84 -0
- package/fesm2022/elementar-rt-components-table.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-tabs.mjs +59 -0
- package/fesm2022/elementar-rt-components-tabs.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-tag.mjs +28 -0
- package/fesm2022/elementar-rt-components-tag.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-text-editor.mjs +85 -85
- package/fesm2022/elementar-rt-components-text-editor.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-thumbnail-maker.mjs +7 -7
- package/fesm2022/elementar-rt-components-thumbnail-maker.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-tiles.mjs +35 -0
- package/fesm2022/elementar-rt-components-tiles.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-timeline.mjs +39 -39
- package/fesm2022/elementar-rt-components-timeline.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-timepicker.mjs +75 -0
- package/fesm2022/elementar-rt-components-timepicker.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-timezone-select.mjs +8 -8
- package/fesm2022/elementar-rt-components-timezone-select.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-toast.mjs +98 -0
- package/fesm2022/elementar-rt-components-toast.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-toolbar.mjs +24 -0
- package/fesm2022/elementar-rt-components-toolbar.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-tooltip.mjs +119 -0
- package/fesm2022/elementar-rt-components-tooltip.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-tree.mjs +77 -0
- package/fesm2022/elementar-rt-components-tree.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-upload.mjs +57 -57
- package/fesm2022/elementar-rt-components-upload.mjs.map +1 -1
- package/fesm2022/elementar-rt-components-video-player.mjs +144 -0
- package/fesm2022/elementar-rt-components-video-player.mjs.map +1 -0
- package/fesm2022/elementar-rt-components-video-viewer.mjs +98 -0
- package/fesm2022/elementar-rt-components-video-viewer.mjs.map +1 -0
- package/fesm2022/elementar-rt-components.mjs.map +1 -1
- package/filter-select/index.d.ts +40 -0
- package/grid/index.d.ts +24 -0
- package/guided-tour/index.d.ts +45 -0
- package/headless-stepper/index.d.ts +30 -0
- package/image-placeholder/index.d.ts +18 -0
- package/image-zoom-viewer/index.d.ts +33 -0
- package/keyboard/index.d.ts +13 -0
- package/list/index.d.ts +18 -0
- package/menu/index.d.ts +38 -0
- package/multi-select/index.d.ts +36 -0
- package/package.json +225 -33
- package/paginator/index.d.ts +26 -0
- package/progress-bar/index.d.ts +17 -0
- package/progress-spinner/index.d.ts +19 -0
- package/rating/index.d.ts +30 -0
- package/sidenav/index.d.ts +31 -0
- package/slider/index.d.ts +26 -0
- package/snackbar/index.d.ts +36 -0
- package/sort/index.d.ts +27 -0
- package/split-pane/index.d.ts +25 -0
- package/stat-card/index.d.ts +16 -0
- package/step-tracker/index.d.ts +21 -0
- package/styles/_common.scss +777 -776
- package/styles/themes/cyan-orange.scss +41 -41
- package/styles/themes/default.scss +5 -5
- package/styles/themes/magenta-violet.scss +41 -41
- package/styles/themes/rose-red.scss +41 -41
- package/table/index.d.ts +44 -0
- package/tabs/index.d.ts +26 -0
- package/tag/index.d.ts +17 -0
- package/tiles/index.d.ts +14 -0
- package/timepicker/index.d.ts +29 -0
- package/toast/index.d.ts +48 -0
- package/toolbar/index.d.ts +10 -0
- package/tooltip/index.d.ts +30 -0
- package/tree/index.d.ts +42 -0
- package/video-player/index.d.ts +49 -0
- package/video-viewer/index.d.ts +33 -0
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-AqEghjO_.mjs +0 -123
- package/fesm2022/elementar-rt-components-form-renderer-autocomplete-many-field.component-AqEghjO_.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-CUKmZGFq.mjs +0 -22
- package/fesm2022/elementar-rt-components-form-renderer-checkbox-field.component-CUKmZGFq.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-DihIRWMt.mjs +0 -40
- package/fesm2022/elementar-rt-components-form-renderer-datepicker-field.component-DihIRWMt.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-divider-content.component-CjlGcU3B.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-image-content.component-0pL2Fk0H.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-X2sKvj6J.mjs +0 -33
- package/fesm2022/elementar-rt-components-form-renderer-input-field.component-X2sKvj6J.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-DWXZAA3F.mjs +0 -38
- package/fesm2022/elementar-rt-components-form-renderer-radio-group-field.component-DWXZAA3F.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-Cx9DZoD6.mjs +0 -39
- package/fesm2022/elementar-rt-components-form-renderer-select-field.component-Cx9DZoD6.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-text-content.component-BmFyUG06.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-D9KmE049.mjs +0 -37
- package/fesm2022/elementar-rt-components-form-renderer-textarea-field.component-D9KmE049.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-BroP_Q4P.mjs +0 -35
- package/fesm2022/elementar-rt-components-form-renderer-timezone-field.component-BroP_Q4P.mjs.map +0 -1
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-nGbtVi1_.mjs +0 -22
- package/fesm2022/elementar-rt-components-form-renderer-toggle-field.component-nGbtVi1_.mjs.map +0 -1
|
@@ -6,10 +6,10 @@ import { SkeletonComponent, SkeletonCircleComponent, SkeletonLineComponent, Skel
|
|
|
6
6
|
class NotificationDefDirective {
|
|
7
7
|
templateRef = inject(TemplateRef);
|
|
8
8
|
emrNotificationDef = input.required(...(ngDevMode ? [{ debugName: "emrNotificationDef" }] : []));
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
10
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.25", type: NotificationDefDirective, isStandalone: true, selector: "[emrNotificationDef]", inputs: { emrNotificationDef: { classPropertyName: "emrNotificationDef", publicName: "emrNotificationDef", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationDefDirective, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: '[emrNotificationDef]',
|
|
@@ -19,10 +19,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
19
19
|
|
|
20
20
|
class NotificationControlsDefDirective {
|
|
21
21
|
templateRef = inject(TemplateRef);
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
23
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationControlsDefDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: NotificationControlsDefDirective, isStandalone: true, selector: "[emrNotificationControlsDef]", ngImport: i0 });
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationControlsDefDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: '[emrNotificationControlsDef]',
|
|
@@ -54,24 +54,24 @@ class NotificationListComponent {
|
|
|
54
54
|
}
|
|
55
55
|
return this._defsMap.get(type);
|
|
56
56
|
}
|
|
57
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
58
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
57
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: NotificationListComponent, isStandalone: true, selector: "emr-notification-list", inputs: { notifications: { classPropertyName: "notifications", publicName: "notifications", isSignal: true, isRequired: false, transformFunction: null }, static: { classPropertyName: "static", publicName: "static", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-static": "static()" }, classAttribute: "emr-notification-list" }, queries: [{ propertyName: "defs", predicate: NotificationDefDirective, isSignal: true }, { propertyName: "controlsDef", first: true, predicate: NotificationControlsDefDirective, descendants: true, isSignal: true }], exportAs: ["emrNotificationList"], ngImport: i0, template: "@if (_initialized) {\n @for (notification of notifications(); track notification) {\n <div class=\"notification\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n", styles: [":host{--emr-notification-list-gap: calc(var(--spacing, .25rem) * 6);display:flex;flex-direction:column;gap:var(--emr-notification-list-gap)}:host .notification{position:relative}:host .controls{position:absolute;inset-inline-end:var(--spacing, .25rem);top:var(--spacing, .25rem)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationListComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ selector: 'emr-notification-list', exportAs: 'emrNotificationList', imports: [
|
|
63
63
|
NgTemplateOutlet
|
|
64
64
|
], host: {
|
|
65
65
|
'class': 'emr-notification-list',
|
|
66
66
|
'[class.is-static]': 'static()'
|
|
67
|
-
}, template: "@if (_initialized) {\
|
|
67
|
+
}, template: "@if (_initialized) {\n @for (notification of notifications(); track notification) {\n <div class=\"notification\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n", styles: [":host{--emr-notification-list-gap: calc(var(--spacing, .25rem) * 6);display:flex;flex-direction:column;gap:var(--emr-notification-list-gap)}:host .notification{position:relative}:host .controls{position:absolute;inset-inline-end:var(--spacing, .25rem);top:var(--spacing, .25rem)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
68
68
|
}], propDecorators: { defs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => NotificationDefDirective), { isSignal: true }] }], controlsDef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => NotificationControlsDefDirective), { isSignal: true }] }], notifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "notifications", required: false }] }], static: [{ type: i0.Input, args: [{ isSignal: true, alias: "static", required: false }] }] } });
|
|
69
69
|
|
|
70
70
|
class NotificationSkeletonComponent {
|
|
71
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
72
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: NotificationSkeletonComponent, isStandalone: true, selector: "emr-notification-skeleton", host: { classAttribute: "emr-notification-skeleton" }, exportAs: ["emrNotificationSkeleton"], ngImport: i0, template: "<emr-skeleton class=\"flex gap-3\">\n <emr-skeleton-circle class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <emr-skeleton-block class=\"h-16\"/>\n <emr-skeleton-line class=\"w-20 h-3\"/>\n </div>\n</emr-skeleton>\n", styles: [":host{display:contents}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: SkeletonComponent, selector: "emr-skeleton", inputs: ["direction"], exportAs: ["emrSkeleton"] }, { kind: "component", type: SkeletonCircleComponent, selector: "emr-skeleton-circle", exportAs: ["emrSkeletonCircle"] }, { kind: "component", type: SkeletonLineComponent, selector: "emr-skeleton-line", exportAs: ["emrSkeletonLine"] }, { kind: "component", type: SkeletonBlockComponent, selector: "emr-skeleton-block", exportAs: ["emrSkeletonBlock"] }] });
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationSkeletonComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
76
|
args: [{ selector: 'emr-notification-skeleton', exportAs: 'emrNotificationSkeleton', imports: [
|
|
77
77
|
SkeletonComponent,
|
|
@@ -80,18 +80,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
80
80
|
SkeletonBlockComponent
|
|
81
81
|
], host: {
|
|
82
82
|
'class': 'emr-notification-skeleton',
|
|
83
|
-
}, template: "<emr-skeleton class=\"flex gap-3\">\
|
|
83
|
+
}, template: "<emr-skeleton class=\"flex gap-3\">\n <emr-skeleton-circle class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <emr-skeleton-block class=\"h-16\"/>\n <emr-skeleton-line class=\"w-20 h-3\"/>\n </div>\n</emr-skeleton>\n", styles: [":host{display:contents}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
class NotificationTimeComponent {
|
|
87
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
88
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationTimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: NotificationTimeComponent, isStandalone: true, selector: "emr-notification-time,[emr-notification-time]", host: { classAttribute: "emr-notification-time" }, exportAs: ["emrNotificationTime"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{font-size:.75rem;color:var(--color-on-surface-variant)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationTimeComponent, decorators: [{
|
|
91
91
|
type: Component,
|
|
92
92
|
args: [{ selector: 'emr-notification-time,[emr-notification-time]', exportAs: 'emrNotificationTime', imports: [], host: {
|
|
93
93
|
'class': 'emr-notification-time'
|
|
94
|
-
}, template: "<ng-content/>\
|
|
94
|
+
}, template: "<ng-content/>\n", styles: [":host{font-size:.75rem;color:var(--color-on-surface-variant)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
95
95
|
}] });
|
|
96
96
|
|
|
97
97
|
class NotificationActorComponent {
|
|
@@ -99,62 +99,62 @@ class NotificationActorComponent {
|
|
|
99
99
|
get asLink() {
|
|
100
100
|
return this.elementRef.nativeElement.tagName === 'A';
|
|
101
101
|
}
|
|
102
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
103
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationActorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
103
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: NotificationActorComponent, isStandalone: true, selector: "emr-notification-actor,[emr-notification-actor]", host: { properties: { "class.as-link": "asLink" }, classAttribute: "emr-notification-actor" }, ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:inline-block;font-weight:600;color:var(--color-on-surface);font-size:.875rem}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationActorComponent, decorators: [{
|
|
106
106
|
type: Component,
|
|
107
107
|
args: [{ selector: 'emr-notification-actor,[emr-notification-actor]', imports: [], host: {
|
|
108
108
|
'class': 'emr-notification-actor',
|
|
109
109
|
'[class.as-link]': 'asLink'
|
|
110
|
-
}, template: "<ng-content/>\
|
|
110
|
+
}, template: "<ng-content/>\n", styles: [":host{display:inline-block;font-weight:600;color:var(--color-on-surface);font-size:.875rem}:host.as-link:hover{cursor:pointer;text-decoration:underline}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
111
111
|
}] });
|
|
112
112
|
|
|
113
113
|
class NotificationMessageComponent {
|
|
114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
115
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
115
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: NotificationMessageComponent, isStandalone: true, selector: "emr-notification-message", host: { classAttribute: "emr-notification-message" }, exportAs: ["emrNotificationMessage"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{font-size:.875rem}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationMessageComponent, decorators: [{
|
|
118
118
|
type: Component,
|
|
119
119
|
args: [{ selector: 'emr-notification-message', exportAs: 'emrNotificationMessage', imports: [], host: {
|
|
120
120
|
'class': 'emr-notification-message'
|
|
121
|
-
}, template: "<ng-content/>\
|
|
121
|
+
}, template: "<ng-content/>\n", styles: [":host{font-size:.875rem}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
122
122
|
}] });
|
|
123
123
|
|
|
124
124
|
class NotificationComponent {
|
|
125
125
|
isUnread = input(false, ...(ngDevMode ? [{ debugName: "isUnread", transform: booleanAttribute }] : [{
|
|
126
126
|
transform: booleanAttribute
|
|
127
127
|
}]));
|
|
128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
129
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.25", type: NotificationComponent, isStandalone: true, selector: "emr-notification,[emr-notification]", inputs: { isUnread: { classPropertyName: "isUnread", publicName: "isUnread", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-unread": "isUnread()" }, classAttribute: "emr-notification" }, exportAs: ["emrNotification"], ngImport: i0, template: "<div class=\"avatar\">\n <ng-content select=\"[emrNotificationAvatar]\"/>\n</div>\n<div class=\"grow\">\n <span class=\"message\">\n <ng-content select=\"emr-notification-message,[emr-notification-message]\"/>\n </span>\n <div class=\"content\">\n <ng-content select=\"emr-notification-content,[emr-notification-content]\"/>\n </div>\n <ng-content select=\"emr-notification-time,[emr-notification-time]\"/>\n</div>\n", styles: [":host{--emr-notification-padding: calc(var(--spacing, .25rem) * 5);--emr-notification-gap: calc(var(--spacing, .25rem) * 4);--emr-notification-bg: var(--color-surface-container-low);--emr-notification-hover-bg: var(--color-surface-container);--emr-notification-is-unread-bg: var(--color-primary-200);--emr-notification-is-unread-hover-bg: var(--color-primary-300);display:flex;width:100%;position:relative;border-radius:.75rem;gap:var(--emr-notification-gap);padding:var(--emr-notification-padding)}:host .avatar{position:relative}:host .avatar:empty{display:none}:host .actor:empty{display:none}:host .message:empty{display:none}:host-context(emr-notification-list.is-static){cursor:auto}:host-context(emr-notification-list){background:var(--emr-notification-bg);cursor:pointer}:host-context(emr-notification-list).is-unread{background:var(--emr-notification-is-unread-bg)}:host-context(emr-notification-list:not(.is-static)):hover{background:var(--emr-notification-hover-bg)}:host-context(emr-notification-list:not(.is-static)).is-unread:hover{background:var(--emr-notification-is-unread-hover-bg)}:host-context(html.dark){--emr-notification-is-unread-bg: var(--color-neutral-950);--emr-notification-is-unread-hover-bg: var(--color-neutral-900)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
130
130
|
}
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
132
132
|
type: Component,
|
|
133
133
|
args: [{ selector: 'emr-notification,[emr-notification]', exportAs: 'emrNotification', imports: [], host: {
|
|
134
134
|
'class': 'emr-notification',
|
|
135
135
|
'[class.is-unread]': 'isUnread()'
|
|
136
|
-
}, template: "<div class=\"avatar\">\
|
|
136
|
+
}, template: "<div class=\"avatar\">\n <ng-content select=\"[emrNotificationAvatar]\"/>\n</div>\n<div class=\"grow\">\n <span class=\"message\">\n <ng-content select=\"emr-notification-message,[emr-notification-message]\"/>\n </span>\n <div class=\"content\">\n <ng-content select=\"emr-notification-content,[emr-notification-content]\"/>\n </div>\n <ng-content select=\"emr-notification-time,[emr-notification-time]\"/>\n</div>\n", styles: [":host{--emr-notification-padding: calc(var(--spacing, .25rem) * 5);--emr-notification-gap: calc(var(--spacing, .25rem) * 4);--emr-notification-bg: var(--color-surface-container-low);--emr-notification-hover-bg: var(--color-surface-container);--emr-notification-is-unread-bg: var(--color-primary-200);--emr-notification-is-unread-hover-bg: var(--color-primary-300);display:flex;width:100%;position:relative;border-radius:.75rem;gap:var(--emr-notification-gap);padding:var(--emr-notification-padding)}:host .avatar{position:relative}:host .avatar:empty{display:none}:host .actor:empty{display:none}:host .message:empty{display:none}:host-context(emr-notification-list.is-static){cursor:auto}:host-context(emr-notification-list){background:var(--emr-notification-bg);cursor:pointer}:host-context(emr-notification-list).is-unread{background:var(--emr-notification-is-unread-bg)}:host-context(emr-notification-list:not(.is-static)):hover{background:var(--emr-notification-hover-bg)}:host-context(emr-notification-list:not(.is-static)).is-unread:hover{background:var(--emr-notification-is-unread-hover-bg)}:host-context(html.dark){--emr-notification-is-unread-bg: var(--color-neutral-950);--emr-notification-is-unread-hover-bg: var(--color-neutral-900)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
137
137
|
}], propDecorators: { isUnread: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnread", required: false }] }] } });
|
|
138
138
|
|
|
139
139
|
class NotificationContentComponent {
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
141
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: NotificationContentComponent, isStandalone: true, selector: "emr-notification-content,[emr-notification-content]", host: { classAttribute: "emr-notification-content" }, exportAs: ["emrNotificationContent"], ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;margin:var(--spacing, .25rem) 0 var(--spacing, .25rem) 0}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] });
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationContentComponent, decorators: [{
|
|
144
144
|
type: Component,
|
|
145
145
|
args: [{ selector: 'emr-notification-content,[emr-notification-content]', exportAs: 'emrNotificationContent', imports: [], host: {
|
|
146
146
|
'class': 'emr-notification-content'
|
|
147
|
-
}, template: "<ng-content/>\
|
|
147
|
+
}, template: "<ng-content/>\n", styles: [":host{display:block;margin:var(--spacing, .25rem) 0 var(--spacing, .25rem) 0}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
148
148
|
}] });
|
|
149
149
|
|
|
150
150
|
class NotificationPropsDirective {
|
|
151
151
|
isUnread = input(false, ...(ngDevMode ? [{ debugName: "isUnread", transform: booleanAttribute }] : [{
|
|
152
152
|
transform: booleanAttribute
|
|
153
153
|
}]));
|
|
154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
155
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationPropsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
155
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.25", type: NotificationPropsDirective, isStandalone: true, selector: "[emrNotificationProps]", inputs: { isUnread: { classPropertyName: "isUnread", publicName: "isUnread", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.is-unread": "isUnread()" }, classAttribute: "emr-notification-props" }, exportAs: ["emrNotificationProps"], ngImport: i0 });
|
|
156
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationPropsDirective, decorators: [{
|
|
158
158
|
type: Directive,
|
|
159
159
|
args: [{
|
|
160
160
|
selector: '[emrNotificationProps]',
|
|
@@ -168,10 +168,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
168
168
|
}], propDecorators: { isUnread: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnread", required: false }] }] } });
|
|
169
169
|
|
|
170
170
|
class NotificationAvatarDirective {
|
|
171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
172
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
171
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
172
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: NotificationAvatarDirective, isStandalone: true, selector: "[emrNotificationAvatar]", host: { classAttribute: "emr-notification-avatar" }, exportAs: ["emrNotificationAvatar"], ngImport: i0 });
|
|
173
173
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NotificationAvatarDirective, decorators: [{
|
|
175
175
|
type: Directive,
|
|
176
176
|
args: [{
|
|
177
177
|
selector: '[emrNotificationAvatar]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementar-rt-components-notifications.mjs","sources":["../../../projects/components/notifications/src/notification-def.directive.ts","../../../projects/components/notifications/src/notification-controls-def.directive.ts","../../../projects/components/notifications/src/notification-list/notification-list.component.ts","../../../projects/components/notifications/src/notification-list/notification-list.component.html","../../../projects/components/notifications/src/notification-skeleton/notification-skeleton.component.ts","../../../projects/components/notifications/src/notification-skeleton/notification-skeleton.component.html","../../../projects/components/notifications/src/notification-time/notification-time.component.ts","../../../projects/components/notifications/src/notification-time/notification-time.component.html","../../../projects/components/notifications/src/notification-actor/notification-actor.component.ts","../../../projects/components/notifications/src/notification-actor/notification-actor.component.html","../../../projects/components/notifications/src/notification-message/notification-message.component.ts","../../../projects/components/notifications/src/notification-message/notification-message.component.html","../../../projects/components/notifications/src/notification/notification.component.ts","../../../projects/components/notifications/src/notification/notification.component.html","../../../projects/components/notifications/src/notification-content/notification-content.component.ts","../../../projects/components/notifications/src/notification-content/notification-content.component.html","../../../projects/components/notifications/src/notification-props.directive.ts","../../../projects/components/notifications/src/notification-avatar.directive.ts","../../../projects/components/notifications/elementar-rt-components-notifications.ts"],"sourcesContent":["import { Directive, inject, input, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNotificationDef]',\r\n standalone: true\r\n})\r\nexport class NotificationDefDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n emrNotificationDef = input.required<string>();\r\n}\r\n","import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNotificationControlsDef]',\r\n standalone: true\r\n})\r\nexport class NotificationControlsDefDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","import {\r\n AfterContentInit, booleanAttribute,\r\n Component,\r\n contentChild,\r\n contentChildren,\r\n input,\r\n TemplateRef\r\n} from '@angular/core';\r\nimport { NgTemplateOutlet } from '@angular/common';\r\nimport { NotificationDefDirective } from '../notification-def.directive';\r\nimport { NotificationControlsDefDirective } from '../notification-controls-def.directive';\r\nimport { Notification } from '../types';\r\n\r\n@Component({\r\n selector: 'emr-notification-list',\r\n exportAs: 'emrNotificationList',\r\n imports: [\r\n NgTemplateOutlet\r\n ],\r\n templateUrl: './notification-list.component.html',\r\n styleUrl: './notification-list.component.scss',\r\n host: {\r\n 'class': 'emr-notification-list',\r\n '[class.is-static]': 'static()'\r\n }\r\n})\r\nexport class NotificationListComponent<T extends Notification> implements AfterContentInit {\r\n readonly defs = contentChildren(NotificationDefDirective);\r\n readonly controlsDef = contentChild(NotificationControlsDefDirective);\r\n\r\n notifications = input<T[]>([]);\r\n static = input(true, {\r\n transform: booleanAttribute\r\n });\r\n\r\n protected _initialized = false;\r\n protected _defsMap = new Map<string, TemplateRef<any>>();\r\n\r\n get controlsTpl(): TemplateRef<any> {\r\n return this.controlsDef()?.templateRef as TemplateRef<any>;\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.defs().forEach((def: NotificationDefDirective) => {\r\n this._defsMap.set(def.emrNotificationDef(), def.templateRef);\r\n });\r\n this._initialized = true;\r\n }\r\n\r\n getNotificationTemplate(type: string): TemplateRef<any> {\r\n if (!this._defsMap.has(type)) {\r\n throw new Error(`Invalid type \"${type}\" for notification def`);\r\n }\r\n\r\n return this._defsMap.get(type) as TemplateRef<any>;\r\n }\r\n}\r\n","@if (_initialized) {\r\n @for (notification of notifications(); track notification) {\r\n <div class=\"notification\">\r\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\r\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\r\n @if (controlsDef()) {\r\n <div class=\"controls\">\r\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\r\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\r\n </div>\r\n }\r\n </div>\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport {\r\n SkeletonBlockComponent,\r\n SkeletonCircleComponent,\r\n SkeletonComponent,\r\n SkeletonLineComponent\r\n} from '@elementar-rt/components/skeleton';\r\n\r\n@Component({\r\n selector: 'emr-notification-skeleton',\r\n exportAs: 'emrNotificationSkeleton',\r\n imports: [\r\n SkeletonComponent,\r\n SkeletonCircleComponent,\r\n SkeletonLineComponent,\r\n SkeletonBlockComponent\r\n ],\r\n templateUrl: './notification-skeleton.component.html',\r\n styleUrl: './notification-skeleton.component.scss',\r\n host: {\r\n 'class': 'emr-notification-skeleton',\r\n }\r\n})\r\nexport class NotificationSkeletonComponent {\r\n\r\n}\r\n","<emr-skeleton class=\"flex gap-3\">\r\n <emr-skeleton-circle class=\"size-11\"/>\r\n <div class=\"grow flex flex-col gap-2\">\r\n <emr-skeleton-block class=\"h-16\"/>\r\n <emr-skeleton-line class=\"w-20 h-3\"/>\r\n </div>\r\n</emr-skeleton>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-notification-time,[emr-notification-time]',\r\n exportAs: 'emrNotificationTime',\r\n imports: [],\r\n templateUrl: './notification-time.component.html',\r\n styleUrl: './notification-time.component.scss',\r\n host: {\r\n 'class': 'emr-notification-time'\r\n }\r\n})\r\nexport class NotificationTimeComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { Component, ElementRef, inject } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-notification-actor,[emr-notification-actor]',\r\n imports: [],\r\n templateUrl: './notification-actor.component.html',\r\n styleUrl: './notification-actor.component.scss',\r\n host: {\r\n 'class': 'emr-notification-actor',\r\n '[class.as-link]': 'asLink'\r\n }\r\n})\r\nexport class NotificationActorComponent {\r\n private elementRef = inject(ElementRef);\r\n\r\n protected get asLink() {\r\n return (this.elementRef.nativeElement as HTMLElement).tagName === 'A';\r\n }\r\n}\r\n","<ng-content/>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-notification-message',\r\n exportAs: 'emrNotificationMessage',\r\n imports: [],\r\n templateUrl: './notification-message.component.html',\r\n styleUrl: './notification-message.component.scss',\r\n host: {\r\n 'class': 'emr-notification-message'\r\n }\r\n})\r\nexport class NotificationMessageComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { booleanAttribute, Component, input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-notification,[emr-notification]',\r\n exportAs: 'emrNotification',\r\n imports: [],\r\n templateUrl: './notification.component.html',\r\n styleUrl: './notification.component.scss',\r\n host: {\r\n 'class': 'emr-notification',\r\n '[class.is-unread]': 'isUnread()'\r\n }\r\n})\r\nexport class NotificationComponent {\r\n isUnread = input(false, {\r\n transform: booleanAttribute\r\n });\r\n}\r\n","<div class=\"avatar\">\r\n <ng-content select=\"[emrNotificationAvatar]\"/>\r\n</div>\r\n<div class=\"grow\">\r\n <span class=\"message\">\r\n <ng-content select=\"emr-notification-message,[emr-notification-message]\"/>\r\n </span>\r\n <div class=\"content\">\r\n <ng-content select=\"emr-notification-content,[emr-notification-content]\"/>\r\n </div>\r\n <ng-content select=\"emr-notification-time,[emr-notification-time]\"/>\r\n</div>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'emr-notification-content,[emr-notification-content]',\r\n exportAs: 'emrNotificationContent',\r\n imports: [],\r\n templateUrl: './notification-content.component.html',\r\n styleUrl: './notification-content.component.scss',\r\n host: {\r\n 'class': 'emr-notification-content'\r\n }\r\n})\r\nexport class NotificationContentComponent {\r\n\r\n}\r\n","<ng-content/>\r\n","import { booleanAttribute, Directive, input } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNotificationProps]',\r\n exportAs: 'emrNotificationProps',\r\n standalone: true,\r\n host: {\r\n 'class': 'emr-notification-props',\r\n '[class.is-unread]': 'isUnread()',\r\n }\r\n})\r\nexport class NotificationPropsDirective {\r\n isUnread = input(false, {\r\n transform: booleanAttribute\r\n });\r\n}\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNotificationAvatar]',\r\n exportAs: 'emrNotificationAvatar',\r\n host: {\r\n 'class': 'emr-notification-avatar'\r\n }\r\n})\r\nexport class NotificationAvatarDirective {\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,wBAAwB,CAAA;AAC1B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AAC1C,IAAA,kBAAkB,GAAG,KAAK,CAAC,QAAQ,6DAAU;wGAFlC,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,kBAAA,EAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,SAAS;AAAC,YAAA,IAAA,EA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A,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,yBAAA,EAAA,EAAA,QAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAPvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE;AACV;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"elementar-rt-components-notifications.mjs","sources":["../../../projects/components/notifications/src/notification-def.directive.ts","../../../projects/components/notifications/src/notification-controls-def.directive.ts","../../../projects/components/notifications/src/notification-list/notification-list.component.ts","../../../projects/components/notifications/src/notification-list/notification-list.component.html","../../../projects/components/notifications/src/notification-skeleton/notification-skeleton.component.ts","../../../projects/components/notifications/src/notification-skeleton/notification-skeleton.component.html","../../../projects/components/notifications/src/notification-time/notification-time.component.ts","../../../projects/components/notifications/src/notification-time/notification-time.component.html","../../../projects/components/notifications/src/notification-actor/notification-actor.component.ts","../../../projects/components/notifications/src/notification-actor/notification-actor.component.html","../../../projects/components/notifications/src/notification-message/notification-message.component.ts","../../../projects/components/notifications/src/notification-message/notification-message.component.html","../../../projects/components/notifications/src/notification/notification.component.ts","../../../projects/components/notifications/src/notification/notification.component.html","../../../projects/components/notifications/src/notification-content/notification-content.component.ts","../../../projects/components/notifications/src/notification-content/notification-content.component.html","../../../projects/components/notifications/src/notification-props.directive.ts","../../../projects/components/notifications/src/notification-avatar.directive.ts","../../../projects/components/notifications/elementar-rt-components-notifications.ts"],"sourcesContent":["import { Directive, inject, input, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrNotificationDef]',\n standalone: true\n})\nexport class NotificationDefDirective {\n readonly templateRef = inject(TemplateRef);\n emrNotificationDef = input.required<string>();\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrNotificationControlsDef]',\n standalone: true\n})\nexport class NotificationControlsDefDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import {\n AfterContentInit, booleanAttribute,\n Component,\n contentChild,\n contentChildren,\n input,\n TemplateRef\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { NotificationDefDirective } from '../notification-def.directive';\nimport { NotificationControlsDefDirective } from '../notification-controls-def.directive';\nimport { Notification } from '../types';\n\n@Component({\n selector: 'emr-notification-list',\n exportAs: 'emrNotificationList',\n imports: [\n NgTemplateOutlet\n ],\n templateUrl: './notification-list.component.html',\n styleUrl: './notification-list.component.scss',\n host: {\n 'class': 'emr-notification-list',\n '[class.is-static]': 'static()'\n }\n})\nexport class NotificationListComponent<T extends Notification> implements AfterContentInit {\n readonly defs = contentChildren(NotificationDefDirective);\n readonly controlsDef = contentChild(NotificationControlsDefDirective);\n\n notifications = input<T[]>([]);\n static = input(true, {\n transform: booleanAttribute\n });\n\n protected _initialized = false;\n protected _defsMap = new Map<string, TemplateRef<any>>();\n\n get controlsTpl(): TemplateRef<any> {\n return this.controlsDef()?.templateRef as TemplateRef<any>;\n }\n\n ngAfterContentInit() {\n this.defs().forEach((def: NotificationDefDirective) => {\n this._defsMap.set(def.emrNotificationDef(), def.templateRef);\n });\n this._initialized = true;\n }\n\n getNotificationTemplate(type: string): TemplateRef<any> {\n if (!this._defsMap.has(type)) {\n throw new Error(`Invalid type \"${type}\" for notification def`);\n }\n\n return this._defsMap.get(type) as TemplateRef<any>;\n }\n}\n","@if (_initialized) {\n @for (notification of notifications(); track notification) {\n <div class=\"notification\">\n <ng-container [ngTemplateOutlet]=\"getNotificationTemplate(notification.type)\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n @if (controlsDef()) {\n <div class=\"controls\">\n <ng-container [ngTemplateOutlet]=\"controlsTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: notification }\" />\n </div>\n }\n </div>\n }\n}\n","import { Component } from '@angular/core';\nimport {\n SkeletonBlockComponent,\n SkeletonCircleComponent,\n SkeletonComponent,\n SkeletonLineComponent\n} from '@elementar-rt/components/skeleton';\n\n@Component({\n selector: 'emr-notification-skeleton',\n exportAs: 'emrNotificationSkeleton',\n imports: [\n SkeletonComponent,\n SkeletonCircleComponent,\n SkeletonLineComponent,\n SkeletonBlockComponent\n ],\n templateUrl: './notification-skeleton.component.html',\n styleUrl: './notification-skeleton.component.scss',\n host: {\n 'class': 'emr-notification-skeleton',\n }\n})\nexport class NotificationSkeletonComponent {\n\n}\n","<emr-skeleton class=\"flex gap-3\">\n <emr-skeleton-circle class=\"size-11\"/>\n <div class=\"grow flex flex-col gap-2\">\n <emr-skeleton-block class=\"h-16\"/>\n <emr-skeleton-line class=\"w-20 h-3\"/>\n </div>\n</emr-skeleton>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'emr-notification-time,[emr-notification-time]',\n exportAs: 'emrNotificationTime',\n imports: [],\n templateUrl: './notification-time.component.html',\n styleUrl: './notification-time.component.scss',\n host: {\n 'class': 'emr-notification-time'\n }\n})\nexport class NotificationTimeComponent {\n\n}\n","<ng-content/>\n","import { Component, ElementRef, inject } from '@angular/core';\n\n@Component({\n selector: 'emr-notification-actor,[emr-notification-actor]',\n imports: [],\n templateUrl: './notification-actor.component.html',\n styleUrl: './notification-actor.component.scss',\n host: {\n 'class': 'emr-notification-actor',\n '[class.as-link]': 'asLink'\n }\n})\nexport class NotificationActorComponent {\n private elementRef = inject(ElementRef);\n\n protected get asLink() {\n return (this.elementRef.nativeElement as HTMLElement).tagName === 'A';\n }\n}\n","<ng-content/>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'emr-notification-message',\n exportAs: 'emrNotificationMessage',\n imports: [],\n templateUrl: './notification-message.component.html',\n styleUrl: './notification-message.component.scss',\n host: {\n 'class': 'emr-notification-message'\n }\n})\nexport class NotificationMessageComponent {\n\n}\n","<ng-content/>\n","import { booleanAttribute, Component, input } from '@angular/core';\n\n@Component({\n selector: 'emr-notification,[emr-notification]',\n exportAs: 'emrNotification',\n imports: [],\n templateUrl: './notification.component.html',\n styleUrl: './notification.component.scss',\n host: {\n 'class': 'emr-notification',\n '[class.is-unread]': 'isUnread()'\n }\n})\nexport class NotificationComponent {\n isUnread = input(false, {\n transform: booleanAttribute\n });\n}\n","<div class=\"avatar\">\n <ng-content select=\"[emrNotificationAvatar]\"/>\n</div>\n<div class=\"grow\">\n <span class=\"message\">\n <ng-content select=\"emr-notification-message,[emr-notification-message]\"/>\n </span>\n <div class=\"content\">\n <ng-content select=\"emr-notification-content,[emr-notification-content]\"/>\n </div>\n <ng-content select=\"emr-notification-time,[emr-notification-time]\"/>\n</div>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'emr-notification-content,[emr-notification-content]',\n exportAs: 'emrNotificationContent',\n imports: [],\n templateUrl: './notification-content.component.html',\n styleUrl: './notification-content.component.scss',\n host: {\n 'class': 'emr-notification-content'\n }\n})\nexport class NotificationContentComponent {\n\n}\n","<ng-content/>\n","import { booleanAttribute, Directive, input } from '@angular/core';\n\n@Directive({\n selector: '[emrNotificationProps]',\n exportAs: 'emrNotificationProps',\n standalone: true,\n host: {\n 'class': 'emr-notification-props',\n '[class.is-unread]': 'isUnread()',\n }\n})\nexport class NotificationPropsDirective {\n isUnread = input(false, {\n transform: booleanAttribute\n });\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[emrNotificationAvatar]',\n exportAs: 'emrNotificationAvatar',\n host: {\n 'class': 'emr-notification-avatar'\n }\n})\nexport class NotificationAvatarDirective {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,wBAAwB,CAAA;AAC1B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AAC1C,IAAA,kBAAkB,GAAG,KAAK,CAAC,QAAQ,6DAAU;wGAFlC,wBAAwB,EAA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EAAA,CAAA;kBATtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE,wBAAwB;AACjC,wBAAA,mBAAmB,EAAE,YAAY;AAClC;AACF,iBAAA;;;MCDY,2BAA2B,CAAA;wGAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,yBAAA,EAAA,EAAA,QAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAPvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE;AACV;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -10,10 +10,10 @@ import { NgTemplateOutlet } from '@angular/common';
|
|
|
10
10
|
|
|
11
11
|
class DecreaseControlDirective {
|
|
12
12
|
templateRef = inject(TemplateRef);
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DecreaseControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: DecreaseControlDirective, isStandalone: true, selector: "[emrDecreaseControl]", exportAs: ["emrDecreaseControl"], ngImport: i0 });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DecreaseControlDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: '[emrDecreaseControl]',
|
|
@@ -23,10 +23,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
23
23
|
|
|
24
24
|
class IncreaseControlDirective {
|
|
25
25
|
templateRef = inject(TemplateRef);
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
27
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: IncreaseControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: IncreaseControlDirective, isStandalone: true, selector: "[emrIncreaseControl]", exportAs: ["emrIncreaseControl"], ngImport: i0 });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: IncreaseControlDirective, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[emrIncreaseControl]',
|
|
@@ -221,15 +221,15 @@ class NumberInputComponent {
|
|
|
221
221
|
this.stateChanges.next();
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
225
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: NumberInputComponent, isStandalone: true, selector: "emr-number-input", inputs: { min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { attributes: { "id": "id" }, properties: { "class.floating": "shouldLabelFloat" }, classAttribute: "emr-number-input" }, providers: [
|
|
226
226
|
{
|
|
227
227
|
provide: MatFormFieldControl,
|
|
228
228
|
useExisting: forwardRef(() => NumberInputComponent),
|
|
229
229
|
}
|
|
230
|
-
], queries: [{ propertyName: "_decreaseControlRef", first: true, predicate: DecreaseControlDirective, descendants: true, isSignal: true }, { propertyName: "_increaseControlRef", first: true, predicate: IncreaseControlDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "_input", first: true, predicate: ["input"], descendants: true, isSignal: true }], exportAs: ["emrNumberInput"], ngImport: i0, template: "<input #input type=\"number\" class=\"input\"\
|
|
230
|
+
], queries: [{ propertyName: "_decreaseControlRef", first: true, predicate: DecreaseControlDirective, descendants: true, isSignal: true }, { propertyName: "_increaseControlRef", first: true, predicate: IncreaseControlDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "_input", first: true, predicate: ["input"], descendants: true, isSignal: true }], exportAs: ["emrNumberInput"], ngImport: i0, template: "<input #input type=\"number\" class=\"input\"\n (focusin)=\"onFocusIn($event)\"\n (focusout)=\"onFocusOut($event)\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange($event)\">\n<div class=\"controls\">\n <button class=\"control control-decrease\" matRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <span>−</span>\n }\n </button>\n <button class=\"control control-increase\" matRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <span>+</span>\n }\n </button>\n</div>\n", styles: [":host{--emr-number-input-gap: calc(var(--spacing) * 2);--emr-number-input-control-bg: none;--emr-number-input-control-color: var(--color-neutral-500);--emr-number-input-control-hover-color: var(--color-neutral-600);--emr-number-input-control-active-color: var(--color-neutral-700);--emr-number-input-control-hover-bg: var(--color-surface-container);--emr-number-input-control-active-bg: var(--color-surface-container-high);--emr-number-input-control-font-size: 1.5rem;--emr-number-input-control-border-radius: .375rem;--emr-number-input-suffix-gap: calc(var(--spacing) * 3);--emr-number-input-control-size: calc(var(--spacing) * 7);--emr-number-input-control-border: none;display:flex;gap:var(--emr-number-input-gap)}:host .input{width:auto;max-width:none;flex-grow:1;min-width:0}:host .input{background:none;outline:none;color:currentColor;font:inherit;border:none}:host .input::-webkit-outer-spin-button,:host .input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{display:flex;height:100%;gap:.375rem;-webkit-user-select:none;user-select:none}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--emr-number-input-control-size);height:var(--emr-number-input-control-size);background:var(--emr-number-input-control-bg);color:var(--emr-number-input-control-color);font-size:var(--emr-number-input-control-font-size);line-height:var(--emr-number-input-control-font-size);border-radius:var(--emr-number-input-control-border-radius);position:relative;border:var(--emr-number-input-control-border);top:1px}:host .control span{position:relative;top:-1px}:host .control ::ng-deep .mat-icon{line-height:24px}:host .control:hover{background:var(--emr-number-input-control-hover-bg);color:var(--emr-number-input-control-hover-color)}:host .control[disabled]{pointer-events:none;opacity:.65}:host-context(html.dark){--emr-number-input-control-color: var(--color-neutral-300);--emr-number-input-control-hover-color: var(--color-neutral-200);--emr-number-input-control-hover-bg: var(--color-neutral-500)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
231
231
|
}
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
233
233
|
type: Component,
|
|
234
234
|
args: [{ selector: 'emr-number-input', exportAs: 'emrNumberInput', imports: [
|
|
235
235
|
MatRipple,
|
|
@@ -243,7 +243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
243
243
|
'class': 'emr-number-input',
|
|
244
244
|
'[class.floating]': 'shouldLabelFloat',
|
|
245
245
|
'id': 'id'
|
|
246
|
-
}, template: "<input #input type=\"number\" class=\"input\"\
|
|
246
|
+
}, template: "<input #input type=\"number\" class=\"input\"\n (focusin)=\"onFocusIn($event)\"\n (focusout)=\"onFocusOut($event)\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange($event)\">\n<div class=\"controls\">\n <button class=\"control control-decrease\" matRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <span>−</span>\n }\n </button>\n <button class=\"control control-increase\" matRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <span>+</span>\n }\n </button>\n</div>\n", styles: [":host{--emr-number-input-gap: calc(var(--spacing) * 2);--emr-number-input-control-bg: none;--emr-number-input-control-color: var(--color-neutral-500);--emr-number-input-control-hover-color: var(--color-neutral-600);--emr-number-input-control-active-color: var(--color-neutral-700);--emr-number-input-control-hover-bg: var(--color-surface-container);--emr-number-input-control-active-bg: var(--color-surface-container-high);--emr-number-input-control-font-size: 1.5rem;--emr-number-input-control-border-radius: .375rem;--emr-number-input-suffix-gap: calc(var(--spacing) * 3);--emr-number-input-control-size: calc(var(--spacing) * 7);--emr-number-input-control-border: none;display:flex;gap:var(--emr-number-input-gap)}:host .input{width:auto;max-width:none;flex-grow:1;min-width:0}:host .input{background:none;outline:none;color:currentColor;font:inherit;border:none}:host .input::-webkit-outer-spin-button,:host .input::-webkit-inner-spin-button{appearance:none;margin:0}:host .controls{display:flex;height:100%;gap:.375rem;-webkit-user-select:none;user-select:none}:host .control{cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;width:var(--emr-number-input-control-size);height:var(--emr-number-input-control-size);background:var(--emr-number-input-control-bg);color:var(--emr-number-input-control-color);font-size:var(--emr-number-input-control-font-size);line-height:var(--emr-number-input-control-font-size);border-radius:var(--emr-number-input-control-border-radius);position:relative;border:var(--emr-number-input-control-border);top:1px}:host .control span{position:relative;top:-1px}:host .control ::ng-deep .mat-icon{line-height:24px}:host .control:hover{background:var(--emr-number-input-control-hover-bg);color:var(--emr-number-input-control-hover-color)}:host .control[disabled]{pointer-events:none;opacity:.65}:host-context(html.dark){--emr-number-input-control-color: var(--color-neutral-300);--emr-number-input-control-hover-color: var(--color-neutral-200);--emr-number-input-control-hover-bg: var(--color-neutral-500)}\n/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */\n"] }]
|
|
247
247
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
248
248
|
type: Optional
|
|
249
249
|
}, {
|
|
@@ -256,10 +256,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
256
256
|
|
|
257
257
|
class NumberInputPrefixDirective {
|
|
258
258
|
templateRef = inject(TemplateRef);
|
|
259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
260
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
259
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputPrefixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
260
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: NumberInputPrefixDirective, isStandalone: true, selector: "[emrNumberInputPrefix]", exportAs: ["emrNumberInputPrefix"], ngImport: i0 });
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputPrefixDirective, decorators: [{
|
|
263
263
|
type: Directive,
|
|
264
264
|
args: [{
|
|
265
265
|
selector: '[emrNumberInputPrefix]',
|
|
@@ -269,10 +269,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
269
269
|
|
|
270
270
|
class NumberInputSuffixDirective {
|
|
271
271
|
templateRef = inject(TemplateRef);
|
|
272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
273
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputSuffixDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
273
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: NumberInputSuffixDirective, isStandalone: true, selector: "[emrNumberInputSuffix]", exportAs: ["emrNumberInputSuffix"], ngImport: i0 });
|
|
274
274
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: NumberInputSuffixDirective, decorators: [{
|
|
276
276
|
type: Directive,
|
|
277
277
|
args: [{
|
|
278
278
|
selector: '[emrNumberInputSuffix]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementar-rt-components-number-input.mjs","sources":["../../../projects/components/number-input/src/decrease-control.directive.ts","../../../projects/components/number-input/src/increase-control.directive.ts","../../../projects/components/number-input/src/number-input/number-input.component.ts","../../../projects/components/number-input/src/number-input/number-input.component.html","../../../projects/components/number-input/src/number-input-prefix.directive.ts","../../../projects/components/number-input/src/number-input-suffix.directive.ts","../../../projects/components/number-input/elementar-rt-components-number-input.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrDecreaseControl]',\r\n exportAs: 'emrDecreaseControl'\r\n})\r\nexport class DecreaseControlDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrIncreaseControl]',\r\n exportAs: 'emrIncreaseControl'\r\n})\r\nexport class IncreaseControlDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","import {\r\n booleanAttribute,\r\n ChangeDetectionStrategy,\r\n Component,\r\n contentChild,\r\n DoCheck,\r\n ElementRef, forwardRef,\r\n inject, Input, input,\r\n numberAttribute,\r\n OnDestroy, Optional,\r\n output, Self,\r\n TemplateRef,\r\n viewChild,\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';\r\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\r\nimport { DecreaseControlDirective } from '../decrease-control.directive';\r\nimport { IncreaseControlDirective } from '../increase-control.directive';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { Subject } from 'rxjs';\r\nimport { MatRipple } from '@angular/material/core';\r\nimport { NgTemplateOutlet } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'emr-number-input',\r\n exportAs: 'emrNumberInput',\r\n imports: [\r\n MatRipple,\r\n NgTemplateOutlet\r\n ],\r\n providers: [\r\n {\r\n provide: MatFormFieldControl,\r\n useExisting: forwardRef(() => NumberInputComponent),\r\n }\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n templateUrl: './number-input.component.html',\r\n styleUrl: './number-input.component.scss',\r\n host: {\r\n 'class': 'emr-number-input',\r\n '[class.floating]': 'shouldLabelFloat',\r\n 'id': 'id'\r\n }\r\n})\r\nexport class NumberInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy, DoCheck {\r\n private _parentForm = inject(NgForm, {\r\n optional: true,\r\n });\r\n private _parentFormGroup = inject(FormGroupDirective, {\r\n optional: true,\r\n });\r\n private _elementRef = inject(ElementRef);\r\n readonly disableAutomaticLabeling: boolean;\r\n readonly placeholder: string;\r\n\r\n private _input = viewChild.required<ElementRef>('input');\r\n readonly _decreaseControlRef = contentChild<DecreaseControlDirective>(DecreaseControlDirective);\r\n readonly _increaseControlRef = contentChild<IncreaseControlDirective>(IncreaseControlDirective);\r\n\r\n min = input(undefined, {\r\n transform: numberAttribute\r\n });\r\n max = input(undefined, {\r\n transform: numberAttribute\r\n });\r\n step = input(1, {\r\n transform: numberAttribute\r\n });\r\n readonly = input(false, {\r\n transform: booleanAttribute\r\n });\r\n\r\n @Input()\r\n set disabled(disabled: any) {\r\n this._disabled = coerceBooleanProperty(disabled);\r\n this.stateChanges.next();\r\n }\r\n get disabled() {\r\n return this._disabled;\r\n }\r\n private _disabled = false;\r\n\r\n @Input()\r\n get required(): boolean {\r\n return this._required;\r\n }\r\n set required(req: BooleanInput) {\r\n this._required = coerceBooleanProperty(req);\r\n this.stateChanges.next();\r\n }\r\n private _required = false;\r\n\r\n readonly valueChange = output<number|undefined>();\r\n\r\n static nextId = 0;\r\n private _value: number | undefined;\r\n controlType?: string | undefined;\r\n autofilled?: boolean | undefined;\r\n userAriaDescribedBy?: string | undefined;\r\n stateChanges = new Subject<void>();\r\n focused = false;\r\n touched = false;\r\n errorState: boolean = false;\r\n\r\n get id(): string {\r\n return `emr-number-input${NumberInputComponent.nextId++}`;\r\n }\r\n\r\n get shouldLabelFloat() {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n get empty(): boolean {\r\n if (this._value === 0) {\r\n return false;\r\n }\r\n\r\n return typeof this._value !== 'number';\r\n }\r\n\r\n constructor(\r\n @Optional() @Self() public ngControl: NgControl,\r\n ) {\r\n // Replace the provider from above with this.\r\n if (this.ngControl != null) {\r\n // Setting the value accessor directly (instead of using\r\n // the providers) to avoid running into a circular import.\r\n this.ngControl.valueAccessor = this;\r\n }\r\n }\r\n\r\n setDescribedByIds(ids: string[]) {\r\n const controlElement = this._elementRef.nativeElement;\r\n controlElement.setAttribute('aria-describedby', ids.join(' '));\r\n }\r\n\r\n onFocusIn(event: FocusEvent) {\r\n if (!this.focused) {\r\n this.focused = true;\r\n this.stateChanges.next();\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 = true;\r\n this.focused = false;\r\n this.onTouched();\r\n this.stateChanges.next();\r\n }\r\n }\r\n\r\n set value(value: number | undefined) {\r\n this._value = value;\r\n this.stateChanges.next();\r\n }\r\n get value(): number | undefined {\r\n return this._value;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.stateChanges.complete();\r\n }\r\n\r\n protected get _decreaseControlTemplateRef() {\r\n return this._decreaseControlRef()?.templateRef as TemplateRef<any>;\r\n }\r\n\r\n protected get _increaseControlTemplateRef() {\r\n return this._increaseControlRef()?.templateRef as TemplateRef<any>;\r\n }\r\n\r\n onChange: any = () => {};\r\n onTouched: any = () => {};\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.disabled = coerceBooleanProperty(isDisabled);\r\n }\r\n\r\n writeValue(value: any): void {\r\n this._input().nativeElement.value = value;\r\n this.value = value;\r\n }\r\n\r\n decrease(event: MouseEvent, input: HTMLInputElement) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n let value = +input.value;\r\n value -= this.step();\r\n input.value = value.toString();\r\n this._emitEvent();\r\n }\r\n\r\n increase(event: MouseEvent, input: HTMLInputElement) {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n let value = +input.value;\r\n value += this.step();\r\n input.value = value.toString();\r\n this._emitEvent();\r\n }\r\n\r\n isDecreaseDisabled() {\r\n const value = this._input().nativeElement.value;\r\n\r\n if (typeof this.min() === 'undefined') {\r\n return false;\r\n }\r\n\r\n // @ts-ignore\r\n return (typeof this.min() === 'number' && +value <= this.min()) || this.readonly() || this.disabled;\r\n }\r\n\r\n isIncreaseDisabled() {\r\n const value = this._input().nativeElement.value;\r\n\r\n if (typeof this.max() === 'undefined') {\r\n return false;\r\n }\r\n\r\n // @ts-ignore\r\n return ((typeof this.min() === 'number' && value) && +value >= this.max()) || this.readonly() || this.disabled;\r\n }\r\n\r\n inputChange(event: any) {\r\n this._value = this._input().nativeElement.value ? +this._input().nativeElement.value : undefined;\r\n this._emitEvent();\r\n }\r\n\r\n private _emitEvent() {\r\n const value = this._input().nativeElement.value ? +this._input().nativeElement.value : undefined;\r\n this.value = value;\r\n this.onChange(value);\r\n this.valueChange.emit(value);\r\n this.updateErrorState();\r\n }\r\n\r\n ngDoCheck() {\r\n if (this.ngControl) {\r\n this.updateErrorState();\r\n }\r\n }\r\n\r\n onContainerClick(event: MouseEvent) {\r\n if ((event.target as Element).tagName.toLowerCase() != 'input') {\r\n this._elementRef.nativeElement.querySelector('input').focus();\r\n }\r\n }\r\n\r\n private updateErrorState() {\r\n const parent = this._parentFormGroup || this._parentForm;\r\n let oldState = this.errorState;\r\n let newState = !!(this.ngControl?.invalid) && this.touched;\r\n\r\n if (parent) {\r\n newState = !!(this.ngControl?.invalid) && (this.touched || parent.submitted);\r\n }\r\n\r\n if (oldState !== newState) {\r\n this.errorState = newState;\r\n this.stateChanges.next();\r\n }\r\n }\r\n}\r\n","<input #input type=\"number\" class=\"input\"\r\n (focusin)=\"onFocusIn($event)\"\r\n (focusout)=\"onFocusOut($event)\"\r\n [attr.min]=\"min()\"\r\n [attr.max]=\"max()\"\r\n [step]=\"step()\"\r\n (input)=\"inputChange($event)\">\r\n<div class=\"controls\">\r\n <button class=\"control control-decrease\" matRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\r\n @if (_decreaseControlRef()) {\r\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\r\n } @else {\r\n <span>−</span>\r\n }\r\n </button>\r\n <button class=\"control control-increase\" matRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\r\n @if (_increaseControlRef()) {\r\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\r\n } @else {\r\n <span>+</span>\r\n }\r\n </button>\r\n</div>\r\n","import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNumberInputPrefix]',\r\n exportAs: 'emrNumberInputPrefix'\r\n})\r\nexport class NumberInputPrefixDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","import { Directive, inject, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[emrNumberInputSuffix]',\r\n exportAs: 'emrNumberInputSuffix'\r\n})\r\nexport class NumberInputSuffixDirective {\r\n readonly templateRef = inject(TemplateRef);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAMa,wBAAwB,CAAA;AAC1B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;wGAD/B,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE;AACX,iBAAA;;;MCCY,wBAAwB,CAAA;AAC1B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;wGAD/B,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;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AA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA;sBAe7F;;sBAUA;;;ME7EU,0BAA0B,CAAA;AAC5B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;wGAD/B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,CAAA,sBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE;AACX,iBAAA;;;MCCY,0BAA0B,CAAA;AAC5B,IAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;wGAD/B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,CAAA,sBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,QAAQ,EAAE;AACX,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"elementar-rt-components-number-input.mjs","sources":["../../../projects/components/number-input/src/decrease-control.directive.ts","../../../projects/components/number-input/src/increase-control.directive.ts","../../../projects/components/number-input/src/number-input/number-input.component.ts","../../../projects/components/number-input/src/number-input/number-input.component.html","../../../projects/components/number-input/src/number-input-prefix.directive.ts","../../../projects/components/number-input/src/number-input-suffix.directive.ts","../../../projects/components/number-input/elementar-rt-components-number-input.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrDecreaseControl]',\n exportAs: 'emrDecreaseControl'\n})\nexport class DecreaseControlDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrIncreaseControl]',\n exportAs: 'emrIncreaseControl'\n})\nexport class IncreaseControlDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n contentChild,\n DoCheck,\n ElementRef, forwardRef,\n inject, Input, input,\n numberAttribute,\n OnDestroy, Optional,\n output, Self,\n TemplateRef,\n viewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { DecreaseControlDirective } from '../decrease-control.directive';\nimport { IncreaseControlDirective } from '../increase-control.directive';\nimport { MatFormFieldControl } from '@angular/material/form-field';\nimport { Subject } from 'rxjs';\nimport { MatRipple } from '@angular/material/core';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'emr-number-input',\n exportAs: 'emrNumberInput',\n imports: [\n MatRipple,\n NgTemplateOutlet\n ],\n providers: [\n {\n provide: MatFormFieldControl,\n useExisting: forwardRef(() => NumberInputComponent),\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './number-input.component.html',\n styleUrl: './number-input.component.scss',\n host: {\n 'class': 'emr-number-input',\n '[class.floating]': 'shouldLabelFloat',\n 'id': 'id'\n }\n})\nexport class NumberInputComponent implements MatFormFieldControl<any>, ControlValueAccessor, OnDestroy, DoCheck {\n private _parentForm = inject(NgForm, {\n optional: true,\n });\n private _parentFormGroup = inject(FormGroupDirective, {\n optional: true,\n });\n private _elementRef = inject(ElementRef);\n readonly disableAutomaticLabeling: boolean;\n readonly placeholder: string;\n\n private _input = viewChild.required<ElementRef>('input');\n readonly _decreaseControlRef = contentChild<DecreaseControlDirective>(DecreaseControlDirective);\n readonly _increaseControlRef = contentChild<IncreaseControlDirective>(IncreaseControlDirective);\n\n min = input(undefined, {\n transform: numberAttribute\n });\n max = input(undefined, {\n transform: numberAttribute\n });\n step = input(1, {\n transform: numberAttribute\n });\n readonly = input(false, {\n transform: booleanAttribute\n });\n\n @Input()\n set disabled(disabled: any) {\n this._disabled = coerceBooleanProperty(disabled);\n this.stateChanges.next();\n }\n get disabled() {\n return this._disabled;\n }\n private _disabled = false;\n\n @Input()\n get required(): boolean {\n return this._required;\n }\n set required(req: BooleanInput) {\n this._required = coerceBooleanProperty(req);\n this.stateChanges.next();\n }\n private _required = false;\n\n readonly valueChange = output<number|undefined>();\n\n static nextId = 0;\n private _value: number | undefined;\n controlType?: string | undefined;\n autofilled?: boolean | undefined;\n userAriaDescribedBy?: string | undefined;\n stateChanges = new Subject<void>();\n focused = false;\n touched = false;\n errorState: boolean = false;\n\n get id(): string {\n return `emr-number-input${NumberInputComponent.nextId++}`;\n }\n\n get shouldLabelFloat() {\n return this.focused || !this.empty;\n }\n\n get empty(): boolean {\n if (this._value === 0) {\n return false;\n }\n\n return typeof this._value !== 'number';\n }\n\n constructor(\n @Optional() @Self() public ngControl: NgControl,\n ) {\n // Replace the provider from above with this.\n if (this.ngControl != null) {\n // Setting the value accessor directly (instead of using\n // the providers) to avoid running into a circular import.\n this.ngControl.valueAccessor = this;\n }\n }\n\n setDescribedByIds(ids: string[]) {\n const controlElement = this._elementRef.nativeElement;\n controlElement.setAttribute('aria-describedby', ids.join(' '));\n }\n\n onFocusIn(event: FocusEvent) {\n if (!this.focused) {\n this.focused = true;\n this.stateChanges.next();\n }\n }\n\n onFocusOut(event: FocusEvent) {\n if (!this._elementRef.nativeElement.contains(event.relatedTarget as Element)) {\n this.touched = true;\n this.focused = false;\n this.onTouched();\n this.stateChanges.next();\n }\n }\n\n set value(value: number | undefined) {\n this._value = value;\n this.stateChanges.next();\n }\n get value(): number | undefined {\n return this._value;\n }\n\n ngOnDestroy() {\n this.stateChanges.complete();\n }\n\n protected get _decreaseControlTemplateRef() {\n return this._decreaseControlRef()?.templateRef as TemplateRef<any>;\n }\n\n protected get _increaseControlTemplateRef() {\n return this._increaseControlRef()?.templateRef as TemplateRef<any>;\n }\n\n onChange: any = () => {};\n onTouched: any = () => {};\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = coerceBooleanProperty(isDisabled);\n }\n\n writeValue(value: any): void {\n this._input().nativeElement.value = value;\n this.value = value;\n }\n\n decrease(event: MouseEvent, input: HTMLInputElement) {\n event.preventDefault();\n event.stopPropagation();\n let value = +input.value;\n value -= this.step();\n input.value = value.toString();\n this._emitEvent();\n }\n\n increase(event: MouseEvent, input: HTMLInputElement) {\n event.preventDefault();\n event.stopPropagation();\n let value = +input.value;\n value += this.step();\n input.value = value.toString();\n this._emitEvent();\n }\n\n isDecreaseDisabled() {\n const value = this._input().nativeElement.value;\n\n if (typeof this.min() === 'undefined') {\n return false;\n }\n\n // @ts-ignore\n return (typeof this.min() === 'number' && +value <= this.min()) || this.readonly() || this.disabled;\n }\n\n isIncreaseDisabled() {\n const value = this._input().nativeElement.value;\n\n if (typeof this.max() === 'undefined') {\n return false;\n }\n\n // @ts-ignore\n return ((typeof this.min() === 'number' && value) && +value >= this.max()) || this.readonly() || this.disabled;\n }\n\n inputChange(event: any) {\n this._value = this._input().nativeElement.value ? +this._input().nativeElement.value : undefined;\n this._emitEvent();\n }\n\n private _emitEvent() {\n const value = this._input().nativeElement.value ? +this._input().nativeElement.value : undefined;\n this.value = value;\n this.onChange(value);\n this.valueChange.emit(value);\n this.updateErrorState();\n }\n\n ngDoCheck() {\n if (this.ngControl) {\n this.updateErrorState();\n }\n }\n\n onContainerClick(event: MouseEvent) {\n if ((event.target as Element).tagName.toLowerCase() != 'input') {\n this._elementRef.nativeElement.querySelector('input').focus();\n }\n }\n\n private updateErrorState() {\n const parent = this._parentFormGroup || this._parentForm;\n let oldState = this.errorState;\n let newState = !!(this.ngControl?.invalid) && this.touched;\n\n if (parent) {\n newState = !!(this.ngControl?.invalid) && (this.touched || parent.submitted);\n }\n\n if (oldState !== newState) {\n this.errorState = newState;\n this.stateChanges.next();\n }\n }\n}\n","<input #input type=\"number\" class=\"input\"\n (focusin)=\"onFocusIn($event)\"\n (focusout)=\"onFocusOut($event)\"\n [attr.min]=\"min()\"\n [attr.max]=\"max()\"\n [step]=\"step()\"\n (input)=\"inputChange($event)\">\n<div class=\"controls\">\n <button class=\"control control-decrease\" matRipple [disabled]=\"isDecreaseDisabled()\" (click)=\"decrease($event, input)\">\n @if (_decreaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_decreaseControlTemplateRef\"/>\n } @else {\n <span>−</span>\n }\n </button>\n <button class=\"control control-increase\" matRipple [disabled]=\"isIncreaseDisabled()\" (click)=\"increase($event, input)\">\n @if (_increaseControlRef()) {\n <ng-template [ngTemplateOutlet]=\"_increaseControlTemplateRef\"/>\n } @else {\n <span>+</span>\n }\n </button>\n</div>\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrNumberInputPrefix]',\n exportAs: 'emrNumberInputPrefix'\n})\nexport class NumberInputPrefixDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[emrNumberInputSuffix]',\n exportAs: 'emrNumberInputSuffix'\n})\nexport class NumberInputSuffixDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAMa,wBAAw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