@ngstarter-ui/components 21.0.77 → 22.0.3
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/LICENSE.md +21 -116
- package/README.md +16 -25
- package/ai/component-registry.json +183 -183
- package/fesm2022/ngstarter-ui-components-action-required.mjs +14 -10
- package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-alert.mjs +23 -21
- package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-announcement.mjs +23 -18
- package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs +18 -13
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-avatar.mjs +44 -33
- package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-badge.mjs +12 -10
- package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-block-loader.mjs +7 -7
- package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +7 -7
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +60 -60
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs +21 -22
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-button.mjs +6 -5
- package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-calendar.mjs +30 -17
- package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs +9 -9
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-card.mjs +57 -54
- package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-carousel.mjs +77 -51
- package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-checkbox.mjs +35 -24
- package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-chips.mjs +86 -66
- package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +25 -18
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-picker.mjs +62 -45
- package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs +33 -83
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs +11 -9
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-command-bar.mjs +20 -18
- package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs +129 -108
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +26 -19
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-confirm.mjs +13 -11
- package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-code-block.component-CLfzSb69.mjs → ngstarter-ui-components-content-editor-code-block.component-BbK5fCoE.mjs} +29 -18
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbK5fCoE.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs → ngstarter-ui-components-content-editor-content-editor-content-editable.directive-BOXOHcSo.mjs} +10 -7
- package/fesm2022/{ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs.map → ngstarter-ui-components-content-editor-content-editor-content-editable.directive-BOXOHcSo.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs → ngstarter-ui-components-content-editor-divider-block.component-B5wyMHjr.mjs} +16 -11
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-B5wyMHjr.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-embed-block-BMBObSRE.mjs → ngstarter-ui-components-content-editor-embed-block-DGqupBLe.mjs} +28 -19
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGqupBLe.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-heading-block.component-DL9PehLX.mjs → ngstarter-ui-components-content-editor-heading-block.component-D1s2yalT.mjs} +30 -19
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D1s2yalT.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-image-block.component-DJWItlMf.mjs → ngstarter-ui-components-content-editor-image-block.component-D75DrPNq.mjs} +27 -17
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-D75DrPNq.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-list-block.component-J9vhrddX.mjs → ngstarter-ui-components-content-editor-list-block.component-B7pDlrQ_.mjs} +29 -20
- package/fesm2022/{ngstarter-ui-components-content-editor-list-block.component-J9vhrddX.mjs.map → ngstarter-ui-components-content-editor-list-block.component-B7pDlrQ_.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-Be8dDH3z.mjs → ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CV959OGj.mjs} +351 -213
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CV959OGj.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-paragraph-block.component-DxE2SXVt.mjs → ngstarter-ui-components-content-editor-paragraph-block.component-CVV2f-ON.mjs} +30 -19
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CVV2f-ON.mjs.map +1 -0
- package/fesm2022/{ngstarter-ui-components-content-editor-quote-block.component-BEt5JkO8.mjs → ngstarter-ui-components-content-editor-quote-block.component-CVb-bkJw.mjs} +42 -25
- package/fesm2022/{ngstarter-ui-components-content-editor-quote-block.component-BEt5JkO8.mjs.map → ngstarter-ui-components-content-editor-quote-block.component-CVb-bkJw.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-table-block.component-BeCHXahH.mjs → ngstarter-ui-components-content-editor-table-block.component-DSpLBC4V.mjs} +42 -31
- package/fesm2022/{ngstarter-ui-components-content-editor-table-block.component-BeCHXahH.mjs.map → ngstarter-ui-components-content-editor-table-block.component-DSpLBC4V.mjs.map} +1 -1
- package/fesm2022/{ngstarter-ui-components-content-editor-video-block.component-BzFQtQwc.mjs → ngstarter-ui-components-content-editor-video-block.component-D3U8uXIy.mjs} +31 -19
- package/fesm2022/{ngstarter-ui-components-content-editor-video-block.component-BzFQtQwc.mjs.map → ngstarter-ui-components-content-editor-video-block.component-D3U8uXIy.mjs.map} +1 -1
- package/fesm2022/ngstarter-ui-components-content-editor.mjs +1 -1
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +18 -16
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-core.mjs +228 -689
- package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-country-select.mjs +27 -17
- package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-crop.mjs +22 -13
- package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-currency-select.mjs +25 -16
- package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-data-view.mjs +173 -98
- package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs +17 -12
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-datepicker.mjs +172 -117
- package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-dialog.mjs +39 -35
- package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-digit-roller.mjs +55 -31
- package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-divider.mjs +11 -11
- package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-drawer.mjs +16 -12
- package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +23 -16
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-empty-state.mjs +24 -24
- package/fesm2022/ngstarter-ui-components-events.mjs +45 -40
- package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-expand.mjs +14 -10
- package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-expansion.mjs +30 -28
- package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-file-type.mjs +18 -11
- package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs +35 -25
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
- package/fesm2022/{ngstarter-ui-components-form-builder-plain-text-settings-C69NYW8R.mjs → ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs} +19 -12
- package/fesm2022/{ngstarter-ui-components-form-builder-plain-text-settings-C69NYW8R.mjs.map → ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map} +1 -1
- package/fesm2022/ngstarter-ui-components-form-builder.mjs +328 -181
- package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-form-field.mjs +105 -66
- package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-gauge.mjs +11 -11
- package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-grid.mjs +15 -11
- package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs +56 -36
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +32 -19
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-icon.mjs +21 -10
- package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-designer.mjs +136 -76
- package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs +18 -14
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs +41 -31
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +25 -19
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-incidents.mjs +69 -64
- package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +12 -8
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-input-mask.mjs +15 -12
- package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-input.mjs +19 -11
- package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs +19 -15
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kbd.mjs +11 -11
- package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-layout.mjs +45 -43
- package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-list.mjs +52 -49
- package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-logo.mjs +21 -20
- package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-marquee.mjs +13 -11
- package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-menu.mjs +75 -57
- package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs +63 -45
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-motion.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-navigation.mjs +83 -62
- package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-notifications.mjs +73 -49
- package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-number-input.mjs +39 -28
- package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-option.mjs +22 -17
- package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-paginator.mjs +7 -7
- package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-panel.mjs +47 -42
- package/fesm2022/ngstarter-ui-components-panel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-password-strength.mjs +39 -27
- package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +170 -90
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +62 -33
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +125 -70
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-phone-input.mjs +51 -32
- package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pin-input.mjs +22 -16
- package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-popover.mjs +27 -20
- package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs +16 -10
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-radio-card.mjs +28 -24
- package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-radio.mjs +27 -18
- package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs +19 -17
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs +6 -5
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs +11 -10
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +29 -27
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +75 -41
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-segmented.mjs +21 -18
- package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-select.mjs +121 -79
- package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-side-panel.mjs +35 -23
- package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sidebar.mjs +105 -94
- package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sidenav.mjs +47 -33
- package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs +56 -32
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-skeleton.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +21 -15
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-slider.mjs +27 -20
- package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs +17 -14
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sort.mjs +13 -12
- package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-spinner.mjs +15 -12
- package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-split.mjs +18 -12
- package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-step-tracker.mjs +48 -35
- package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-stepper.mjs +33 -34
- package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-suggestions.mjs +23 -22
- package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs +64 -61
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-table.mjs +68 -73
- package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tabs.mjs +74 -49
- package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-text-editor.mjs +131 -110
- package/fesm2022/ngstarter-ui-components-text-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +19 -14
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tiles.mjs +43 -29
- package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timeline.mjs +48 -47
- package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timepicker.mjs +29 -23
- package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs +26 -17
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-toolbar.mjs +55 -47
- package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tooltip.mjs +8 -8
- package/fesm2022/ngstarter-ui-components-tree.mjs +56 -42
- package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-upload.mjs +94 -78
- package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-video-player.mjs +43 -25
- package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs +45 -33
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs +5 -5
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
- package/package.json +13 -16
- package/schematics/utils.js +0 -1
- package/schematics/utils.js.map +1 -1
- package/styles/_common.scss +20 -20
- package/styles/_tokens.scss +132 -556
- package/styles/themes/_default-components.scss +492 -0
- package/styles/themes/chalk.scss +400 -0
- package/styles/themes/default.scss +360 -0
- package/types/ngstarter-ui-components-announcement.d.ts +1 -1
- package/types/ngstarter-ui-components-bottom-sheet.d.ts +1 -1
- package/types/ngstarter-ui-components-button-toggle.d.ts +1 -1
- package/types/ngstarter-ui-components-checkbox.d.ts +3 -2
- package/types/ngstarter-ui-components-code-highlighter.d.ts +1 -2
- package/types/ngstarter-ui-components-confirm.d.ts +1 -1
- package/types/ngstarter-ui-components-core.d.ts +42 -31
- package/types/ngstarter-ui-components-datepicker.d.ts +2 -2
- package/types/ngstarter-ui-components-dialog.d.ts +1 -1
- package/types/ngstarter-ui-components-expansion.d.ts +3 -2
- package/types/ngstarter-ui-components-form-field.d.ts +15 -5
- package/types/ngstarter-ui-components-guided-tour.d.ts +1 -1
- package/types/ngstarter-ui-components-icon.d.ts +2 -1
- package/types/ngstarter-ui-components-image-designer.d.ts +1 -1
- package/types/ngstarter-ui-components-layout.d.ts +1 -1
- package/types/ngstarter-ui-components-list.d.ts +3 -2
- package/types/ngstarter-ui-components-navigation.d.ts +3 -1
- package/types/ngstarter-ui-components-notifications.d.ts +8 -2
- package/types/ngstarter-ui-components-paginator.d.ts +1 -1
- package/types/ngstarter-ui-components-pdf-viewer.d.ts +1 -1
- package/types/ngstarter-ui-components-screen-loader.d.ts +1 -1
- package/types/ngstarter-ui-components-sidebar.d.ts +8 -6
- package/types/ngstarter-ui-components-snack-bar.d.ts +1 -1
- package/types/ngstarter-ui-components-stepper.d.ts +0 -1
- package/types/ngstarter-ui-components-tab-panel.d.ts +1 -1
- package/types/ngstarter-ui-components-table.d.ts +1 -4
- package/types/ngstarter-ui-components-tiles.d.ts +1 -1
- package/types/ngstarter-ui-components-timepicker.d.ts +1 -1
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-CLfzSb69.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BMBObSRE.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-DL9PehLX.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-DJWItlMf.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-Be8dDH3z.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-DxE2SXVt.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-fade.mjs +0 -35
- package/fesm2022/ngstarter-ui-components-content-fade.mjs.map +0 -1
- package/styles/themes/compact.scss +0 -8
- package/styles/themes/modern.scss +0 -346
- package/types/ngstarter-ui-components-content-fade.d.ts +0 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Component, inject, input, booleanAttribute, Directive, computed } from '@angular/core';
|
|
2
|
+
import { InjectionToken, ChangeDetectionStrategy, Component, inject, input, booleanAttribute, Directive, computed } from '@angular/core';
|
|
3
3
|
import { Button } from '@ngstarter-ui/components/button';
|
|
4
4
|
import { signalStore, withState, withMethods, patchState } from '@ngrx/signals';
|
|
5
5
|
import { Icon } from '@ngstarter-ui/components/icon';
|
|
@@ -11,25 +11,25 @@ class Incidents {
|
|
|
11
11
|
toggleVisibility() {
|
|
12
12
|
this.isVisible = !this.isVisible;
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incidents, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: Incidents, isStandalone: true, selector: "ngs-incidents", host: { properties: { "class.is-visible": "isVisible" }, classAttribute: "ngs-incidents" }, providers: [
|
|
16
16
|
{
|
|
17
17
|
provide: INCIDENTS,
|
|
18
18
|
useExisting: Incidents
|
|
19
19
|
}
|
|
20
|
-
], exportAs: ["ngsIncidents"], ngImport: i0, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-
|
|
20
|
+
], exportAs: ["ngsIncidents"], ngImport: i0, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incidents, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'ngs-incidents', exportAs: 'ngsIncidents', providers: [
|
|
25
25
|
{
|
|
26
26
|
provide: INCIDENTS,
|
|
27
27
|
useExisting: Incidents
|
|
28
28
|
}
|
|
29
|
-
], host: {
|
|
29
|
+
], changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
30
30
|
'class': 'ngs-incidents',
|
|
31
31
|
'[class.is-visible]': 'isVisible',
|
|
32
|
-
}, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-
|
|
32
|
+
}, template: "<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n", styles: [":host{--ngs-incidents-bar-height: calc(var(--spacing, .25rem) * 24);--ngs-incidents-bar-bg: var(--ngs-color-warning-container);--ngs-incidents-bar-padding: 0 calc(var(--spacing, .25rem) * 8);--ngs-incidents-bar-color: var(--ngs-color-on-warning-container);--ngs-incidents-bar-box-shadow: none;--ngs-incidents-bar-hover-box-shadow: var(--ngs-shadow-sm);--ngs-incidents-list-bg: var(--ngs-overlay-backdrop-bg);--ngs-incidents-list-gap: calc(var(--spacing, .25rem) * 5);--ngs-incidents-list-padding: calc(var(--spacing, .25rem) * 7) 0;--ngs-incident-bg: white;--ngs-incident-color: var(--ngs-color-neutral-700);--ngs-incident-border-radius: var(--ngs-radius-md);--ngs-incident-padding: calc(var(--spacing, .25rem) * 4) calc(var(--spacing, .25rem) * 6);--ngs-incident-gap: calc(var(--spacing, .25rem) * 6);--ngs-incident-border-start: var(--spacing, .25rem) solid var(--ngs-color-warning);--ngs-incident-close-color: var(--ngs-color-neutral-500);--ngs-incident-close-hover-color: var(--ngs-color-neutral-900);--ngs-incident-title-font-size: var(--ngs-font-size-sm);--ngs-incident-title-font-weight: 500;--ngs-incident-details-font-size: var(--ngs-font-size-sm);--ngs-incident-details-color: var(--ngs-color-neutral-500);--ngs-incidents-title-font-size: var(--text-base);--ngs-incidents-title-font-weight: 500;--ngs-incidents-description-font-size: var(--ngs-font-size-sm);--ngs-incidents-description-opacity: 80%;display:contents}:host .list-container{display:none;height:calc(100vh - var(--ngs-layout-top-header-top) + var(--ngs-layout-top-header-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
33
33
|
}] });
|
|
34
34
|
|
|
35
35
|
class IncidentsBar {
|
|
@@ -37,17 +37,17 @@ class IncidentsBar {
|
|
|
37
37
|
_handleClick(_event) {
|
|
38
38
|
this._parent?.toggleVisibility();
|
|
39
39
|
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsBar, isStandalone: true, selector: "ngs-incidents-bar", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "ngs-incidents-bar" }, exportAs: ["ngsIncidentsBar"], ngImport: i0, template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n", styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsBar, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'ngs-incidents-bar', exportAs: 'ngsIncidentsBar', imports: [
|
|
46
46
|
Button
|
|
47
|
-
], host: {
|
|
47
|
+
], changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
48
48
|
'class': 'ngs-incidents-bar',
|
|
49
49
|
'(click)': '_handleClick($event)'
|
|
50
|
-
}, template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n", styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.
|
|
50
|
+
}, template: "<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n", styles: [":host{width:100%;height:var(--ngs-incidents-bar-height);background:var(--ngs-incidents-bar-bg);color:var(--ngs-incidents-bar-color);box-shadow:var(--ngs-incidents-bar-box-shadow);align-items:center;justify-content:space-between;flex:none;cursor:pointer;display:flex;grid-gap:25px;-webkit-user-select:none;user-select:none;padding:var(--ngs-incidents-bar-padding)}:host(:hover){box-shadow:var(--ngs-incidents-bar-hover-box-shadow)}:host .container{display:flex;height:100%;grid-area:content;align-items:center}:host .toggle-icon{line-height:0;transition:transform .2s ease}:host-context(.ngs-incidents.is-visible) .toggle-icon{transform:rotate(-180deg)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
51
51
|
}] });
|
|
52
52
|
|
|
53
53
|
class IncidentsList {
|
|
@@ -59,16 +59,16 @@ class IncidentsList {
|
|
|
59
59
|
this._parent?.toggleVisibility();
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
63
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: IncidentsList, isStandalone: true, selector: "ngs-incidents-list", inputs: { fixed: { classPropertyName: "fixed", publicName: "fixed", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "_handleClick($event)" }, properties: { "class.is-fixed": "fixed()" }, classAttribute: "ngs-incidents-list" }, exportAs: ["ngs-incidents-list"], ngImport: i0, template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n", styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsList, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
|
-
args: [{ selector: 'ngs-incidents-list', exportAs: 'ngs-incidents-list', host: {
|
|
67
|
+
args: [{ selector: 'ngs-incidents-list', exportAs: 'ngs-incidents-list', changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
68
68
|
'class': 'ngs-incidents-list',
|
|
69
69
|
'[class.is-fixed]': 'fixed()',
|
|
70
70
|
'(click)': '_handleClick($event)'
|
|
71
|
-
}, template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n", styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.
|
|
71
|
+
}, template: "<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n", styles: [":host{background:var(--ngs-incidents-list-bg);transition:transform .15s,opacity .15s;display:grid;height:0;opacity:0;grid-gap:25px;grid-template-columns:auto minmax(1px,max-content) auto;grid-template-areas:\". content .\";transform-origin:top;overflow:hidden;transform:scaleY(0)}:host:not(:empty){padding:var(--ngs-incidents-list-padding)}:host .container{display:grid;height:min-content;grid-area:content;grid-row-gap:var(--ngs-incidents-list-gap);grid-auto-flow:row}:host(.is-fixed){position:absolute;z-index:102;left:0;right:0;top:calc(var(--ngs-incidents-bar-height));bottom:0}:host-context(.ngs-incidents.is-visible){height:calc(100% - var(--ngs-incidents-bar-height));transform:scaleY(1);opacity:1;overflow-y:auto}:host-context(.ngs-incidents.is-visible).is-fixed{height:calc(100vh - var(--ngs-incidents-bar-height))}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
72
72
|
}], propDecorators: { fixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "fixed", required: false }] }] } });
|
|
73
73
|
|
|
74
74
|
const initialState = {
|
|
@@ -92,49 +92,50 @@ const IncidentsStore = signalStore({ providedIn: 'root' }, withState(initialStat
|
|
|
92
92
|
let incidentId = 0;
|
|
93
93
|
class Incident {
|
|
94
94
|
_incidentsStore = inject(IncidentsStore);
|
|
95
|
-
incidentId = input(`incident-${incidentId++}`,
|
|
95
|
+
incidentId = input(`incident-${incidentId++}`, /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "incidentId" }] : /* istanbul ignore next */ []));
|
|
96
97
|
close() {
|
|
97
98
|
this._incidentsStore.hide();
|
|
98
99
|
}
|
|
99
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
100
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incident, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: Incident, isStandalone: true, selector: "ngs-incident,[ngs-incident]", inputs: { incidentId: { classPropertyName: "incidentId", publicName: "incidentId", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "ngs-incident" }, exportAs: ["ngsIncident"], ngImport: i0, template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n", styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Button, selector: " button[ngsButton], button[ngsIconButton], a[ngsButton], a[ngsIconButton] ", inputs: ["ngsButton", "ngsIconButton", "loading", "disabled", "disabledInteractive", "disableRipple", "reverse", "fullWidth", "hideTextOnMobile"], exportAs: ["ngsButton"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
101
102
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: Incident, decorators: [{
|
|
103
104
|
type: Component,
|
|
104
105
|
args: [{ selector: 'ngs-incident,[ngs-incident]', exportAs: 'ngsIncident', imports: [
|
|
105
106
|
Button
|
|
106
|
-
], host: {
|
|
107
|
+
], changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
107
108
|
'class': 'ngs-incident'
|
|
108
|
-
}, template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n", styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.
|
|
109
|
+
}, template: "<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n", styles: [":host{display:grid;align-items:center;border-radius:var(--ngs-incident-border-radius);background:var(--ngs-incident-bg);grid-template-areas:\"icon content close\";padding:var(--ngs-incident-padding);gap:var(--ngs-incident-gap);border-inline-start:var(--ngs-incident-border-start);grid-template-columns:[icon] var(--ngs-incident-gap) [content] 1fr [action] var(--ngs-incident-gap);color:var(--ngs-incident-color)}:host .content{grid-area:content;display:grid;gap:var(--ngs-incident-gap);grid-template-areas:\"data button\";grid-template-columns:[data] 1fr [button] var(--ngs-incident-gap)}:host .data{grid-area:data}:host .icon{line-height:0;display:inline-block;max-width:max-content}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
109
110
|
}], propDecorators: { incidentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "incidentId", required: false }] }] } });
|
|
110
111
|
|
|
111
112
|
class IncidentTitle {
|
|
112
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
113
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentTitle, isStandalone: true, selector: "ngs-incident-title", host: { classAttribute: "ngs-incident-title" }, exportAs: ["ngsIncidentTitle"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
114
115
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentTitle, decorators: [{
|
|
116
117
|
type: Component,
|
|
117
|
-
args: [{ selector: 'ngs-incident-title', exportAs: 'ngsIncidentTitle', host: {
|
|
118
|
+
args: [{ selector: 'ngs-incident-title', exportAs: 'ngsIncidentTitle', changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
118
119
|
'class': 'ngs-incident-title',
|
|
119
|
-
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.
|
|
120
|
+
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-title-font-size);font-weight:var(--ngs-incident-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
120
121
|
}] });
|
|
121
122
|
|
|
122
123
|
class IncidentDetails {
|
|
123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
124
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentDetails, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
125
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentDetails, isStandalone: true, selector: "ngs-incident-details", host: { classAttribute: "ngs-incident-details" }, exportAs: ["ngsIncidentDetails"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
125
126
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentDetails, decorators: [{
|
|
127
128
|
type: Component,
|
|
128
|
-
args: [{ selector: 'ngs-incident-details', exportAs: 'ngsIncidentDetails', host: {
|
|
129
|
+
args: [{ selector: 'ngs-incident-details', exportAs: 'ngsIncidentDetails', changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
129
130
|
'class': 'ngs-incident-details',
|
|
130
|
-
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.
|
|
131
|
+
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incident-details-font-size);color:var(--ngs-incident-details-color)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
131
132
|
}] });
|
|
132
133
|
|
|
133
134
|
class IncidentButtonDirective {
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
135
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
136
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentButtonDirective, isStandalone: true, selector: "[ngsIncidentButton]", host: { classAttribute: "ngs-incident-button" }, exportAs: ["ngsIncidentButton"], ngImport: i0 });
|
|
136
137
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentButtonDirective, decorators: [{
|
|
138
139
|
type: Directive,
|
|
139
140
|
args: [{
|
|
140
141
|
selector: '[ngsIncidentButton]',
|
|
@@ -146,32 +147,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
146
147
|
}] });
|
|
147
148
|
|
|
148
149
|
class IncidentsTitle {
|
|
149
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
150
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
150
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsTitle, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
151
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsTitle, isStandalone: true, selector: "ngs-incidents-title", host: { classAttribute: "ngs-incidents-title" }, exportAs: ["ngsIncidentTitle"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
151
152
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsTitle, decorators: [{
|
|
153
154
|
type: Component,
|
|
154
|
-
args: [{ selector: 'ngs-incidents-title', exportAs: 'ngsIncidentTitle', host: {
|
|
155
|
+
args: [{ selector: 'ngs-incidents-title', exportAs: 'ngsIncidentTitle', changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
155
156
|
'class': 'ngs-incidents-title',
|
|
156
|
-
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.
|
|
157
|
+
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-title-font-size);font-weight:var(--ngs-incidents-title-font-weight)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
157
158
|
}] });
|
|
158
159
|
|
|
159
160
|
class IncidentsDescription {
|
|
160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
161
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsDescription, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
162
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsDescription, isStandalone: true, selector: "ngs-incidents-description", host: { classAttribute: "ngs-incidents-description" }, exportAs: ["ngsIncidentsDescription"], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
162
163
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsDescription, decorators: [{
|
|
164
165
|
type: Component,
|
|
165
|
-
args: [{ selector: 'ngs-incidents-description', exportAs: 'ngsIncidentsDescription', host: {
|
|
166
|
+
args: [{ selector: 'ngs-incidents-description', exportAs: 'ngsIncidentsDescription', changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
166
167
|
'class': 'ngs-incidents-description'
|
|
167
|
-
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.
|
|
168
|
+
}, template: "<ng-content />\n", styles: [":host{display:block;font-size:var(--ngs-incidents-description-font-size);opacity:var(--ngs-incidents-description-opacity)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
168
169
|
}] });
|
|
169
170
|
|
|
170
171
|
class IncidentsToggleIconDirective {
|
|
171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
172
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
173
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentsToggleIconDirective, isStandalone: true, selector: "[ngsIncidentsToggleIcon]", host: { classAttribute: "ngs-incidents-toggle-icon" }, exportAs: ["ngsIncidentsToggleIcon"], ngImport: i0 });
|
|
173
174
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsToggleIconDirective, decorators: [{
|
|
175
176
|
type: Directive,
|
|
176
177
|
args: [{
|
|
177
178
|
selector: '[ngsIncidentsToggleIcon]',
|
|
@@ -183,10 +184,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
183
184
|
}] });
|
|
184
185
|
|
|
185
186
|
class IncidentCloseDirective {
|
|
186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
187
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
188
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentCloseDirective, isStandalone: true, selector: "[ngsIncidentClose]", host: { classAttribute: "ngs-incident-close" }, exportAs: ["ngsIncidentClose"], ngImport: i0 });
|
|
188
189
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentCloseDirective, decorators: [{
|
|
190
191
|
type: Directive,
|
|
191
192
|
args: [{
|
|
192
193
|
selector: '[ngsIncidentClose]',
|
|
@@ -201,20 +202,24 @@ class IncidentsContainer {
|
|
|
201
202
|
_incidentsStore = inject(IncidentsStore);
|
|
202
203
|
hasIncidents = computed(() => {
|
|
203
204
|
return this._incidentsStore.incidents().length > 0;
|
|
204
|
-
},
|
|
205
|
+
}, /* @ts-ignore */
|
|
206
|
+
...(ngDevMode ? [{ debugName: "hasIncidents" }] : /* istanbul ignore next */ []));
|
|
205
207
|
title = computed(() => {
|
|
206
208
|
return this._incidentsStore.title();
|
|
207
|
-
},
|
|
209
|
+
}, /* @ts-ignore */
|
|
210
|
+
...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
208
211
|
description = computed(() => {
|
|
209
212
|
return this._incidentsStore.description();
|
|
210
|
-
},
|
|
213
|
+
}, /* @ts-ignore */
|
|
214
|
+
...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
211
215
|
incidents = computed(() => {
|
|
212
216
|
return this._incidentsStore.incidents();
|
|
213
|
-
},
|
|
214
|
-
|
|
215
|
-
static
|
|
217
|
+
}, /* @ts-ignore */
|
|
218
|
+
...(ngDevMode ? [{ debugName: "incidents" }] : /* istanbul ignore next */ []));
|
|
219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
220
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: IncidentsContainer, isStandalone: true, selector: "ngs-incidents-container,ngs-incidents-global", host: { properties: { "class.is-active": "hasIncidents()" }, classAttribute: "ngs-incidents-global" }, exportAs: ["ngsIncidentsGlobal"], ngImport: i0, template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n", styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Incidents, selector: "ngs-incidents", exportAs: ["ngsIncidents"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: IncidentsTitle, selector: "ngs-incidents-title", exportAs: ["ngsIncidentTitle"] }, { kind: "component", type: IncidentDetails, selector: "ngs-incident-details", exportAs: ["ngsIncidentDetails"] }, { kind: "component", type: IncidentsBar, selector: "ngs-incidents-bar", exportAs: ["ngsIncidentsBar"] }, { kind: "component", type: IncidentsDescription, selector: "ngs-incidents-description", exportAs: ["ngsIncidentsDescription"] }, { kind: "directive", type: IncidentsToggleIconDirective, selector: "[ngsIncidentsToggleIcon]", exportAs: ["ngsIncidentsToggleIcon"] }, { kind: "component", type: IncidentTitle, selector: "ngs-incident-title", exportAs: ["ngsIncidentTitle"] }, { kind: "component", type: IncidentsList, selector: "ngs-incidents-list", inputs: ["fixed"], exportAs: ["ngs-incidents-list"] }, { kind: "directive", type: IncidentCloseDirective, selector: "[ngsIncidentClose]", exportAs: ["ngsIncidentClose"] }, { kind: "component", type: Incident, selector: "ngs-incident,[ngs-incident]", inputs: ["incidentId"], exportAs: ["ngsIncident"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
216
221
|
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentsContainer, decorators: [{
|
|
218
223
|
type: Component,
|
|
219
224
|
args: [{ selector: 'ngs-incidents-container,ngs-incidents-global', exportAs: 'ngsIncidentsGlobal', imports: [
|
|
220
225
|
Incidents,
|
|
@@ -228,17 +233,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
228
233
|
IncidentsList,
|
|
229
234
|
IncidentCloseDirective,
|
|
230
235
|
Incident
|
|
231
|
-
], host: {
|
|
236
|
+
], changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
232
237
|
'class': 'ngs-incidents-global',
|
|
233
238
|
'[class.is-active]': 'hasIncidents()'
|
|
234
|
-
}, template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n", styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.
|
|
239
|
+
}, template: "@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n", styles: [":host{display:none;position:relative}:host.is-active{display:block}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
235
240
|
}] });
|
|
236
241
|
|
|
237
242
|
class IncidentIconDirective {
|
|
238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
239
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
243
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
244
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: IncidentIconDirective, isStandalone: true, selector: "[ngsIncidentIcon]", host: { classAttribute: "ngs-incident-icon" }, exportAs: ["ngsIncidentIcon"], ngImport: i0 });
|
|
240
245
|
}
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: IncidentIconDirective, decorators: [{
|
|
242
247
|
type: Directive,
|
|
243
248
|
args: [{
|
|
244
249
|
selector: '[ngsIncidentIcon]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngstarter-ui-components-incidents.mjs","sources":["../../../projects/components/incidents/src/properties.ts","../../../projects/components/incidents/src/incidents/incidents.ts","../../../projects/components/incidents/src/incidents/incidents.html","../../../projects/components/incidents/src/incidents-bar/incidents-bar.ts","../../../projects/components/incidents/src/incidents-bar/incidents-bar.html","../../../projects/components/incidents/src/incidents-list/incidents-list.ts","../../../projects/components/incidents/src/incidents-list/incidents-list.html","../../../projects/components/incidents/src/incidents.store.ts","../../../projects/components/incidents/src/incident/incident.ts","../../../projects/components/incidents/src/incident/incident.html","../../../projects/components/incidents/src/incident-title/incident-title.ts","../../../projects/components/incidents/src/incident-title/incident-title.html","../../../projects/components/incidents/src/incident-details/incident-details.ts","../../../projects/components/incidents/src/incident-details/incident-details.html","../../../projects/components/incidents/src/incident-button.directive.ts","../../../projects/components/incidents/src/incidents-title/incidents-title.ts","../../../projects/components/incidents/src/incidents-title/incidents-title.html","../../../projects/components/incidents/src/incidents-description/incidents-description.ts","../../../projects/components/incidents/src/incidents-description/incidents-description.html","../../../projects/components/incidents/src/incidents-toggle-icon.directive.ts","../../../projects/components/incidents/src/incident-close.directive.ts","../../../projects/components/incidents/src/incidents-container/incidents-container.ts","../../../projects/components/incidents/src/incidents-container/incidents-container.html","../../../projects/components/incidents/src/incident-icon.directive.ts","../../../projects/components/incidents/ngstarter-ui-components-incidents.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const INCIDENTS = new InjectionToken('INCIDENTS');\n","import {\n Component\n} from '@angular/core';\nimport { INCIDENTS } from '../properties';\n\n@Component({\n selector: 'ngs-incidents',\n exportAs: 'ngsIncidents',\n templateUrl: './incidents.html',\n styleUrl: './incidents.scss',\n providers: [\n {\n provide: INCIDENTS,\n useExisting: Incidents\n }\n ],\n host: {\n 'class': 'ngs-incidents',\n '[class.is-visible]': 'isVisible',\n }\n})\nexport class Incidents {\n isVisible = false;\n\n toggleVisibility() {\n this.isVisible = !this.isVisible;\n }\n}\n","<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n","import { Component, inject } from '@angular/core';\nimport { INCIDENTS } from '../properties';\nimport { Incidents } from '../incidents/incidents';\nimport { Button } from '@ngstarter-ui/components/button';\n\n@Component({\n selector: 'ngs-incidents-bar',\n exportAs: 'ngsIncidentsBar',\n imports: [\n\n Button\n ],\n templateUrl: './incidents-bar.html',\n styleUrl: './incidents-bar.scss',\n host: {\n 'class': 'ngs-incidents-bar',\n '(click)': '_handleClick($event)'\n }\n})\nexport class IncidentsBar {\n private _parent = inject<Incidents>(INCIDENTS, { optional: true });\n\n _handleClick(_event?: Event) {\n this._parent?.toggleVisibility();\n }\n}\n","<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n","import { booleanAttribute, Component, inject, input } from '@angular/core';\nimport { Incidents } from '../incidents/incidents';\nimport { INCIDENTS } from '../properties';\n\n@Component({\n selector: 'ngs-incidents-list',\n exportAs: 'ngs-incidents-list',\n templateUrl: './incidents-list.html',\n styleUrl: './incidents-list.scss',\n host: {\n 'class': 'ngs-incidents-list',\n '[class.is-fixed]': 'fixed()',\n '(click)': '_handleClick($event)'\n }\n})\nexport class IncidentsList {\n private _parent = inject<Incidents>(INCIDENTS, { optional: true });\n\n fixed = input(false, {\n transform: booleanAttribute\n });\n\n _handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n\n if (target.closest('.ngs-incident') === null) {\n this._parent?.toggleVisibility();\n }\n }\n}\n","<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n","import { patchState, signalStore, withMethods, withState } from '@ngrx/signals';\nimport { Incident } from './types';\n\nexport interface IncidentsState {\n incidents: Incident[],\n title: string;\n description: string;\n}\n\nconst initialState: IncidentsState = {\n incidents: [],\n title: '',\n description: '',\n};\n\nexport const IncidentsStore = signalStore(\n { providedIn: 'root' },\n withState(initialState),\n withMethods((store) => ({\n show(state: IncidentsState): void {\n patchState(store, {\n ...state\n });\n },\n hide(): void {\n patchState(store, {\n incidents: []\n });\n }\n }))\n);\n","import { Component, inject, input } from '@angular/core';\nimport { IncidentsStore } from '../incidents.store';\nimport { Button } from '@ngstarter-ui/components/button';\n\nlet incidentId = 0;\n\n@Component({\n selector: 'ngs-incident,[ngs-incident]',\n exportAs: 'ngsIncident',\n imports: [\n\n Button\n ],\n templateUrl: './incident.html',\n styleUrl: './incident.scss',\n host: {\n 'class': 'ngs-incident'\n }\n})\nexport class Incident {\n private _incidentsStore = inject(IncidentsStore);\n\n incidentId = input(`incident-${incidentId++}`);\n\n close() {\n this._incidentsStore.hide();\n }\n}\n","<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-incident-title',\n exportAs: 'ngsIncidentTitle',\n templateUrl: './incident-title.html',\n styleUrl: './incident-title.scss',\n host: {\n 'class': 'ngs-incident-title',\n }\n})\nexport class IncidentTitle {\n\n}\n","<ng-content />\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-incident-details',\n exportAs: 'ngsIncidentDetails',\n templateUrl: './incident-details.html',\n styleUrl: './incident-details.scss',\n host: {\n 'class': 'ngs-incident-details',\n }\n})\nexport class IncidentDetails {\n\n}\n","<ng-content />\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentButton]',\n exportAs: 'ngsIncidentButton',\n host: {\n 'class': 'ngs-incident-button',\n }\n})\nexport class IncidentButtonDirective {\n\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-incidents-title',\n exportAs: 'ngsIncidentTitle',\n templateUrl: './incidents-title.html',\n styleUrl: './incidents-title.scss',\n host: {\n 'class': 'ngs-incidents-title',\n }\n})\nexport class IncidentsTitle {\n\n}\n","<ng-content />\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-incidents-description',\n exportAs: 'ngsIncidentsDescription',\n templateUrl: './incidents-description.html',\n styleUrl: './incidents-description.scss',\n host: {\n 'class': 'ngs-incidents-description'\n }\n})\nexport class IncidentsDescription {\n\n}\n","<ng-content />\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentsToggleIcon]',\n exportAs: 'ngsIncidentsToggleIcon',\n host: {\n 'class': 'ngs-incidents-toggle-icon',\n }\n})\nexport class IncidentsToggleIconDirective {\n\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentClose]',\n exportAs: 'ngsIncidentClose',\n host: {\n 'class': 'ngs-incident-close'\n }\n})\nexport class IncidentCloseDirective {\n\n}\n","import { Component, computed, inject } from '@angular/core';\nimport { IncidentsStore } from '../incidents.store';\nimport { Incidents } from '../incidents/incidents';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { IncidentsTitle } from '../incidents-title/incidents-title';\nimport { IncidentDetails } from '../incident-details/incident-details';\nimport { IncidentsBar } from '../incidents-bar/incidents-bar';\nimport { IncidentsDescription } from '../incidents-description/incidents-description';\nimport { IncidentsToggleIconDirective } from '../incidents-toggle-icon.directive';\nimport { IncidentTitle } from '../incident-title/incident-title';\nimport { IncidentCloseDirective } from '../incident-close.directive';\nimport { Incident } from '../incident/incident';\nimport { IncidentsList } from '../incidents-list/incidents-list';\n\n@Component({\n selector: 'ngs-incidents-container,ngs-incidents-global',\n exportAs: 'ngsIncidentsGlobal',\n imports: [\n Incidents,\n Icon,\n IncidentsTitle,\n IncidentDetails,\n IncidentsBar,\n IncidentsDescription,\n IncidentsToggleIconDirective,\n IncidentTitle,\n IncidentsList,\n IncidentCloseDirective,\n Incident\n ],\n templateUrl: './incidents-container.html',\n styleUrl: './incidents-container.scss',\n host: {\n 'class': 'ngs-incidents-global',\n '[class.is-active]': 'hasIncidents()'\n }\n})\nexport class IncidentsContainer {\n protected _incidentsStore = inject(IncidentsStore);\n\n hasIncidents = computed<boolean>(() => {\n return this._incidentsStore.incidents().length > 0;\n });\n title = computed(() => {\n return this._incidentsStore.title();\n });\n description = computed(() => {\n return this._incidentsStore.description();\n });\n incidents = computed(() => {\n return this._incidentsStore.incidents();\n });\n}\n","@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentIcon]',\n exportAs: 'ngsIncidentIcon',\n host: {\n 'class': 'ngs-incident-icon'\n }\n})\nexport class IncidentIconDirective {\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEO,MAAM,SAAS,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC;;MCmB3C,SAAS,CAAA;IACpB,SAAS,GAAG,KAAK;IAEjB,gBAAgB,GAAA;AACd,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;IAClC;uGALW,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAT,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,EAAA,cAAA,EAAA,eAAA,EAAA,EAAA,SAAA,EAXT;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,SAAS;AAClB,gBAAA,WAAW,EAAE;AACd;AACF,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,mBAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE;AACV;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngstarter-ui-components-incidents.mjs","sources":["../../../projects/components/incidents/src/properties.ts","../../../projects/components/incidents/src/incidents/incidents.ts","../../../projects/components/incidents/src/incidents/incidents.html","../../../projects/components/incidents/src/incidents-bar/incidents-bar.ts","../../../projects/components/incidents/src/incidents-bar/incidents-bar.html","../../../projects/components/incidents/src/incidents-list/incidents-list.ts","../../../projects/components/incidents/src/incidents-list/incidents-list.html","../../../projects/components/incidents/src/incidents.store.ts","../../../projects/components/incidents/src/incident/incident.ts","../../../projects/components/incidents/src/incident/incident.html","../../../projects/components/incidents/src/incident-title/incident-title.ts","../../../projects/components/incidents/src/incident-title/incident-title.html","../../../projects/components/incidents/src/incident-details/incident-details.ts","../../../projects/components/incidents/src/incident-details/incident-details.html","../../../projects/components/incidents/src/incident-button.directive.ts","../../../projects/components/incidents/src/incidents-title/incidents-title.ts","../../../projects/components/incidents/src/incidents-title/incidents-title.html","../../../projects/components/incidents/src/incidents-description/incidents-description.ts","../../../projects/components/incidents/src/incidents-description/incidents-description.html","../../../projects/components/incidents/src/incidents-toggle-icon.directive.ts","../../../projects/components/incidents/src/incident-close.directive.ts","../../../projects/components/incidents/src/incidents-container/incidents-container.ts","../../../projects/components/incidents/src/incidents-container/incidents-container.html","../../../projects/components/incidents/src/incident-icon.directive.ts","../../../projects/components/incidents/ngstarter-ui-components-incidents.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const INCIDENTS = new InjectionToken('INCIDENTS');\n","import {\n Component,\n ChangeDetectionStrategy\n} from '@angular/core';\nimport { INCIDENTS } from '../properties';\n\n@Component({\n selector: 'ngs-incidents',\n exportAs: 'ngsIncidents',\n templateUrl: './incidents.html',\n styleUrl: './incidents.scss',\n providers: [\n {\n provide: INCIDENTS,\n useExisting: Incidents\n }\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents',\n '[class.is-visible]': 'isVisible',\n }\n})\nexport class Incidents {\n isVisible = false;\n\n toggleVisibility() {\n this.isVisible = !this.isVisible;\n }\n}\n","<ng-content select=\"ngs-incidents-bar\" />\n<ng-content select=\"ngs-incidents-list\" />\n","import { Component, inject, ChangeDetectionStrategy } from '@angular/core';\nimport { INCIDENTS } from '../properties';\nimport { Incidents } from '../incidents/incidents';\nimport { Button } from '@ngstarter-ui/components/button';\n\n@Component({\n selector: 'ngs-incidents-bar',\n exportAs: 'ngsIncidentsBar',\n imports: [\n\n Button\n ],\n templateUrl: './incidents-bar.html',\n styleUrl: './incidents-bar.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents-bar',\n '(click)': '_handleClick($event)'\n }\n})\nexport class IncidentsBar {\n private _parent = inject<Incidents>(INCIDENTS, { optional: true });\n\n _handleClick(_event?: Event) {\n this._parent?.toggleVisibility();\n }\n}\n","<div class=\"flex flex-col gap-0.5\">\n <ng-content select=\"ngs-incidents-title\"/>\n <ng-content select=\"ngs-incidents-description\"/>\n</div>\n<button ngsIconButton class=\"ms-auto toggle-icon\">\n <ng-content select=\"[ngsIncidentsToggleIcon]\"/>\n</button>\n","import { booleanAttribute, Component, inject, input, ChangeDetectionStrategy } from '@angular/core';\nimport { Incidents } from '../incidents/incidents';\nimport { INCIDENTS } from '../properties';\n\n@Component({\n selector: 'ngs-incidents-list',\n exportAs: 'ngs-incidents-list',\n templateUrl: './incidents-list.html',\n styleUrl: './incidents-list.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents-list',\n '[class.is-fixed]': 'fixed()',\n '(click)': '_handleClick($event)'\n }\n})\nexport class IncidentsList {\n private _parent = inject<Incidents>(INCIDENTS, { optional: true });\n\n fixed = input(false, {\n transform: booleanAttribute\n });\n\n _handleClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n\n if (target.closest('.ngs-incident') === null) {\n this._parent?.toggleVisibility();\n }\n }\n}\n","<div class=\"container\">\n <ng-content select=\"ngs-incident\"/>\n</div>\n","import { patchState, signalStore, withMethods, withState } from '@ngrx/signals';\nimport { Incident } from './types';\n\nexport interface IncidentsState {\n incidents: Incident[],\n title: string;\n description: string;\n}\n\nconst initialState: IncidentsState = {\n incidents: [],\n title: '',\n description: '',\n};\n\nexport const IncidentsStore = signalStore(\n { providedIn: 'root' },\n withState(initialState),\n withMethods((store) => ({\n show(state: IncidentsState): void {\n patchState(store, {\n ...state\n });\n },\n hide(): void {\n patchState(store, {\n incidents: []\n });\n }\n }))\n);\n","import { Component, inject, input, ChangeDetectionStrategy } from '@angular/core';\nimport { IncidentsStore } from '../incidents.store';\nimport { Button } from '@ngstarter-ui/components/button';\n\nlet incidentId = 0;\n\n@Component({\n selector: 'ngs-incident,[ngs-incident]',\n exportAs: 'ngsIncident',\n imports: [\n\n Button\n ],\n templateUrl: './incident.html',\n styleUrl: './incident.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incident'\n }\n})\nexport class Incident {\n private _incidentsStore = inject(IncidentsStore);\n\n incidentId = input(`incident-${incidentId++}`);\n\n close() {\n this._incidentsStore.hide();\n }\n}\n","<div class=\"icon\">\n <ng-content select=\"[ngsIncidentIcon]\"/>\n</div>\n<div class=\"content\">\n <div class=\"data\">\n <ng-content select=\"ngs-incident-title\"/>\n <ng-content select=\"ngs-incident-details\"/>\n </div>\n <ng-content select=\"[ngsIncidentButton]\"/>\n</div>\n<button ngsIconButton class=\"close -ms-2\" (click)=\"close()\">\n <ng-content select=\"[ngsIncidentClose]\"/>\n</button>\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'ngs-incident-title',\n exportAs: 'ngsIncidentTitle',\n templateUrl: './incident-title.html',\n styleUrl: './incident-title.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incident-title',\n }\n})\nexport class IncidentTitle {\n\n}\n","<ng-content />\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'ngs-incident-details',\n exportAs: 'ngsIncidentDetails',\n templateUrl: './incident-details.html',\n styleUrl: './incident-details.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incident-details',\n }\n})\nexport class IncidentDetails {\n\n}\n","<ng-content />\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentButton]',\n exportAs: 'ngsIncidentButton',\n host: {\n 'class': 'ngs-incident-button',\n }\n})\nexport class IncidentButtonDirective {\n\n}\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'ngs-incidents-title',\n exportAs: 'ngsIncidentTitle',\n templateUrl: './incidents-title.html',\n styleUrl: './incidents-title.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents-title',\n }\n})\nexport class IncidentsTitle {\n\n}\n","<ng-content />\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'ngs-incidents-description',\n exportAs: 'ngsIncidentsDescription',\n templateUrl: './incidents-description.html',\n styleUrl: './incidents-description.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents-description'\n }\n})\nexport class IncidentsDescription {\n\n}\n","<ng-content />\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentsToggleIcon]',\n exportAs: 'ngsIncidentsToggleIcon',\n host: {\n 'class': 'ngs-incidents-toggle-icon',\n }\n})\nexport class IncidentsToggleIconDirective {\n\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentClose]',\n exportAs: 'ngsIncidentClose',\n host: {\n 'class': 'ngs-incident-close'\n }\n})\nexport class IncidentCloseDirective {\n\n}\n","import { Component, computed, inject, ChangeDetectionStrategy } from '@angular/core';\nimport { IncidentsStore } from '../incidents.store';\nimport { Incidents } from '../incidents/incidents';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { IncidentsTitle } from '../incidents-title/incidents-title';\nimport { IncidentDetails } from '../incident-details/incident-details';\nimport { IncidentsBar } from '../incidents-bar/incidents-bar';\nimport { IncidentsDescription } from '../incidents-description/incidents-description';\nimport { IncidentsToggleIconDirective } from '../incidents-toggle-icon.directive';\nimport { IncidentTitle } from '../incident-title/incident-title';\nimport { IncidentCloseDirective } from '../incident-close.directive';\nimport { Incident } from '../incident/incident';\nimport { IncidentsList } from '../incidents-list/incidents-list';\n\n@Component({\n selector: 'ngs-incidents-container,ngs-incidents-global',\n exportAs: 'ngsIncidentsGlobal',\n imports: [\n Incidents,\n Icon,\n IncidentsTitle,\n IncidentDetails,\n IncidentsBar,\n IncidentsDescription,\n IncidentsToggleIconDirective,\n IncidentTitle,\n IncidentsList,\n IncidentCloseDirective,\n Incident\n ],\n templateUrl: './incidents-container.html',\n styleUrl: './incidents-container.scss',\n changeDetection: ChangeDetectionStrategy.Eager,\n host: {\n 'class': 'ngs-incidents-global',\n '[class.is-active]': 'hasIncidents()'\n }\n})\nexport class IncidentsContainer {\n protected _incidentsStore = inject(IncidentsStore);\n\n hasIncidents = computed<boolean>(() => {\n return this._incidentsStore.incidents().length > 0;\n });\n title = computed(() => {\n return this._incidentsStore.title();\n });\n description = computed(() => {\n return this._incidentsStore.description();\n });\n incidents = computed(() => {\n return this._incidentsStore.incidents();\n });\n}\n","@if (hasIncidents()) {\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>{{ title() }}</ngs-incidents-title>\n @if (description()) {\n <ngs-incidents-description>{{ description() }}</ngs-incidents-description>\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list fixed>\n @for (incident of incidents(); track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n @if (incident.details) {\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n }\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[ngsIncidentIcon]',\n exportAs: 'ngsIncidentIcon',\n host: {\n 'class': 'ngs-incident-icon'\n }\n})\nexport class IncidentIconDirective {\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAEO,MAAM,SAAS,GAAG,IAAI,cAAc,CAAC,WAAW,CAAC;;MCqB3C,SAAS,CAAA;IACpB,SAAS,GAAG,KAAK;IAEjB,gBAAgB,GAAA;AACd,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS;IAClC;uGALW,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAT,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,EAAA,cAAA,EAAA,eAAA,EAAA,EAAA,SAAA,EAZT;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,SAAS;AAClB,gBAAA,WAAW,EAAE;AACd;AACF,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AA;;;ACRD;;AAEG;;;;"}
|
|
@@ -5,12 +5,16 @@ import { isPlatformServer } from '@angular/common';
|
|
|
5
5
|
class InlineTextEdit {
|
|
6
6
|
platformId = inject(PLATFORM_ID);
|
|
7
7
|
document = inject(DOCUMENT);
|
|
8
|
-
enabled = input(true,
|
|
9
|
-
|
|
8
|
+
enabled = input(true, /* @ts-ignore */
|
|
9
|
+
...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
|
|
10
|
+
placeholder = input('', /* @ts-ignore */
|
|
11
|
+
...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
10
12
|
delay = input(0, { ...(ngDevMode ? { debugName: "delay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
11
13
|
contentChanged = output();
|
|
12
|
-
isEditing = signal(false,
|
|
13
|
-
|
|
14
|
+
isEditing = signal(false, /* @ts-ignore */
|
|
15
|
+
...(ngDevMode ? [{ debugName: "isEditing" }] : /* istanbul ignore next */ []));
|
|
16
|
+
isFocused = signal(false, /* @ts-ignore */
|
|
17
|
+
...(ngDevMode ? [{ debugName: "isFocused" }] : /* istanbul ignore next */ []));
|
|
14
18
|
previousValue = '';
|
|
15
19
|
minHeightSet = false;
|
|
16
20
|
elementRef = inject((ElementRef));
|
|
@@ -151,10 +155,10 @@ class InlineTextEdit {
|
|
|
151
155
|
this.emitTimeoutId = null;
|
|
152
156
|
}
|
|
153
157
|
}
|
|
154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: InlineTextEdit, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
159
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.7", type: InlineTextEdit, isStandalone: true, selector: "ngs-inline-text-edit,[ngs-inline-text-edit]", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contentChanged: "contentChanged" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()", "keydown.enter": "onEnter($event)", "keydown.escape": "onEscape()", "paste": "onPaste($event)", "input": "onInput()" }, properties: { "attr.contenteditable": "isContentEditable", "attr.data-placeholder": "placeholder()", "class.editing": "isEditing()", "class.focused": "isFocused()" }, classAttribute: "ngs-inline-text-edit" }, ngImport: i0, template: "<ng-content/>\n", styles: [":host{display:block;padding:4px 10px;position:relative;transition:border-color .15s cubic-bezier(.25,.8,.25,1);border:var(--ngs-form-field-outlined-outline-width, 1px) solid transparent;outline:none;border-radius:var(--ngs-field-radius);cursor:text;margin-left:-10px;margin-right:-10px;word-wrap:break-word}:host:hover{border-color:var(--ngs-form-field-outlined-outline-color, var(--ngs-color-outline))}:host.editing{color:var(--ngs-form-field-outlined-input-text-color, var(--ngs-color-on-surface));caret-color:var(--ngs-form-field-outlined-caret-color, var(--ngs-color-primary))}:host.focused{border-color:var(--ngs-color-primary);outline:1px solid var(--ngs-color-primary)}:host:empty:before{position:absolute;content:attr(data-placeholder);inset:0;z-index:0;color:var(--ngs-color-neutral-500);font-size:inherit;padding:inherit;word-wrap:break-word}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
156
160
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: InlineTextEdit, decorators: [{
|
|
158
162
|
type: Component,
|
|
159
163
|
args: [{ selector: 'ngs-inline-text-edit,[ngs-inline-text-edit]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
160
164
|
'class': 'ngs-inline-text-edit',
|
|
@@ -168,7 +172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
168
172
|
'(keydown.escape)': 'onEscape()',
|
|
169
173
|
'(paste)': 'onPaste($event)',
|
|
170
174
|
'(input)': 'onInput()',
|
|
171
|
-
}, template: "<ng-content/>\n", styles: [":host{display:block;padding:4px 10px;position:relative;transition:border-color .15s cubic-bezier(.25,.8,.25,1);border:var(--ngs-form-field-outlined-outline-width, 1px) solid transparent;outline:none;border-radius:var(--ngs-field-radius);cursor:text;margin-left:-10px;margin-right:-10px;word-wrap:break-word}:host:hover{border-color:var(--ngs-form-field-outlined-outline-color, var(--ngs-color-outline))}:host.editing{color:var(--ngs-form-field-outlined-input-text-color, var(--ngs-color-on-surface));caret-color:var(--ngs-form-field-outlined-caret-color, var(--ngs-color-primary))}:host.focused{border-color:var(--ngs-color-primary);outline:1px solid var(--ngs-color-primary)}:host:empty:before{position:absolute;content:attr(data-placeholder);inset:0;z-index:0;color:var(--ngs-color-neutral-500);font-size:inherit;padding:inherit;word-wrap:break-word}\n/*! tailwindcss v4.
|
|
175
|
+
}, template: "<ng-content/>\n", styles: [":host{display:block;padding:4px 10px;position:relative;transition:border-color .15s cubic-bezier(.25,.8,.25,1);border:var(--ngs-form-field-outlined-outline-width, 1px) solid transparent;outline:none;border-radius:var(--ngs-field-radius);cursor:text;margin-left:-10px;margin-right:-10px;word-wrap:break-word}:host:hover{border-color:var(--ngs-form-field-outlined-outline-color, var(--ngs-color-outline))}:host.editing{color:var(--ngs-form-field-outlined-input-text-color, var(--ngs-color-on-surface));caret-color:var(--ngs-form-field-outlined-caret-color, var(--ngs-color-primary))}:host.focused{border-color:var(--ngs-color-primary);outline:1px solid var(--ngs-color-primary)}:host:empty:before{position:absolute;content:attr(data-placeholder);inset:0;z-index:0;color:var(--ngs-color-neutral-500);font-size:inherit;padding:inherit;word-wrap:break-word}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
172
176
|
}], ctorParameters: () => [], propDecorators: { enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "enabled", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], delay: [{ type: i0.Input, args: [{ isSignal: true, alias: "delay", required: false }] }], contentChanged: [{ type: i0.Output, args: ["contentChanged"] }] } });
|
|
173
177
|
|
|
174
178
|
/**
|