@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,7 +1,7 @@
|
|
|
1
1
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
2
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, inject, DestroyRef, ChangeDetectorRef, ElementRef, viewChild, signal, output, computed, input, booleanAttribute, effect, Input as Input$1, Optional, Self, Component, Pipe } from '@angular/core';
|
|
4
|
+
import { Injectable, inject, DestroyRef, ChangeDetectorRef, ElementRef, viewChild, signal, output, computed, input, booleanAttribute, effect, Input as Input$1, Optional, Self, ChangeDetectionStrategy, Component, Pipe } from '@angular/core';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
6
|
import { NgForm, ReactiveFormsModule, FormsModule, NG_VALIDATORS } from '@angular/forms';
|
|
7
7
|
import * as i2 from '@ngstarter-ui/components/core';
|
|
@@ -262,10 +262,10 @@ class CountryCode {
|
|
|
262
262
|
{ name: "Zambia", shortCode: "zm", phoneCode: "+260" },
|
|
263
263
|
{ name: "Zimbabwe", shortCode: "zw", phoneCode: "+263" },
|
|
264
264
|
];
|
|
265
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
266
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CountryCode, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
266
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CountryCode });
|
|
267
267
|
}
|
|
268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: CountryCode, decorators: [{
|
|
269
269
|
type: Injectable
|
|
270
270
|
}] });
|
|
271
271
|
|
|
@@ -298,12 +298,17 @@ class PhoneInput {
|
|
|
298
298
|
_errorStateMatcher = inject(ErrorStateMatcher);
|
|
299
299
|
_parentForm = inject(NgForm, { optional: true });
|
|
300
300
|
static nextId = 0;
|
|
301
|
-
searchInput = viewChild('searchInput',
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
301
|
+
searchInput = viewChild('searchInput', /* @ts-ignore */
|
|
302
|
+
...(ngDevMode ? [{ debugName: "searchInput" }] : /* istanbul ignore next */ []));
|
|
303
|
+
focusable = viewChild.required('focusable', /* @ts-ignore */
|
|
304
|
+
...(ngDevMode ? [{ debugName: "focusable" }] : /* istanbul ignore next */ []));
|
|
305
|
+
_focused = signal(false, /* @ts-ignore */
|
|
306
|
+
...(ngDevMode ? [{ debugName: "_focused" }] : /* istanbul ignore next */ []));
|
|
307
|
+
_errorState = signal(false, /* @ts-ignore */
|
|
308
|
+
...(ngDevMode ? [{ debugName: "_errorState" }] : /* istanbul ignore next */ []));
|
|
305
309
|
id = '';
|
|
306
|
-
_id = signal(`ngs-phone-input-${PhoneInput.nextId++}`,
|
|
310
|
+
_id = signal(`ngs-phone-input-${PhoneInput.nextId++}`, /* @ts-ignore */
|
|
311
|
+
...(ngDevMode ? [{ debugName: "_id" }] : /* istanbul ignore next */ []));
|
|
307
312
|
placeholder = '';
|
|
308
313
|
countryChanged = output();
|
|
309
314
|
stateChanges = new Subject();
|
|
@@ -311,11 +316,14 @@ class PhoneInput {
|
|
|
311
316
|
phoneNumber = '';
|
|
312
317
|
allCountries = [];
|
|
313
318
|
preferredCountriesInDropDown = [];
|
|
314
|
-
selectedCountry = signal(null,
|
|
319
|
+
selectedCountry = signal(null, /* @ts-ignore */
|
|
320
|
+
...(ngDevMode ? [{ debugName: "selectedCountry" }] : /* istanbul ignore next */ []));
|
|
315
321
|
numberInstance;
|
|
316
322
|
_value;
|
|
317
|
-
searchTerm = signal('',
|
|
318
|
-
|
|
323
|
+
searchTerm = signal('', /* @ts-ignore */
|
|
324
|
+
...(ngDevMode ? [{ debugName: "searchTerm" }] : /* istanbul ignore next */ []));
|
|
325
|
+
visibleCountryCount = signal(PhoneInput.COUNTRY_RENDER_CHUNK_SIZE, /* @ts-ignore */
|
|
326
|
+
...(ngDevMode ? [{ debugName: "visibleCountryCount" }] : /* istanbul ignore next */ []));
|
|
319
327
|
filteredCountries = computed(() => {
|
|
320
328
|
const searchTerm = this.searchTerm().trim().toLowerCase();
|
|
321
329
|
if (!searchTerm) {
|
|
@@ -326,10 +334,12 @@ class PhoneInput {
|
|
|
326
334
|
.toLowerCase()
|
|
327
335
|
.includes(searchTerm);
|
|
328
336
|
});
|
|
329
|
-
},
|
|
337
|
+
}, /* @ts-ignore */
|
|
338
|
+
...(ngDevMode ? [{ debugName: "filteredCountries" }] : /* istanbul ignore next */ []));
|
|
330
339
|
visibleCountries = computed(() => {
|
|
331
340
|
return this.filteredCountries().slice(0, this.visibleCountryCount());
|
|
332
|
-
},
|
|
341
|
+
}, /* @ts-ignore */
|
|
342
|
+
...(ngDevMode ? [{ debugName: "visibleCountries" }] : /* istanbul ignore next */ []));
|
|
333
343
|
_previousFormattedNumber;
|
|
334
344
|
_countryRenderTimeout;
|
|
335
345
|
_countrySearchFocusTimeout;
|
|
@@ -353,12 +363,18 @@ class PhoneInput {
|
|
|
353
363
|
get value() {
|
|
354
364
|
return this._value;
|
|
355
365
|
}
|
|
356
|
-
autocomplete = input('on',
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
366
|
+
autocomplete = input('on', /* @ts-ignore */
|
|
367
|
+
...(ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []));
|
|
368
|
+
errorStateMatcher = input(this._errorStateMatcher, /* @ts-ignore */
|
|
369
|
+
...(ngDevMode ? [{ debugName: "errorStateMatcher" }] : /* istanbul ignore next */ []));
|
|
370
|
+
onlyCountries = input([], /* @ts-ignore */
|
|
371
|
+
...(ngDevMode ? [{ debugName: "onlyCountries" }] : /* istanbul ignore next */ []));
|
|
372
|
+
preferredCountries = input([], /* @ts-ignore */
|
|
373
|
+
...(ngDevMode ? [{ debugName: "preferredCountries" }] : /* istanbul ignore next */ []));
|
|
374
|
+
format = input('default', /* @ts-ignore */
|
|
375
|
+
...(ngDevMode ? [{ debugName: "format" }] : /* istanbul ignore next */ []));
|
|
376
|
+
defaultSelectedCountryCode = input('us', /* @ts-ignore */
|
|
377
|
+
...(ngDevMode ? [{ debugName: "defaultSelectedCountryCode" }] : /* istanbul ignore next */ []));
|
|
362
378
|
_placeholder = input('', { ...(ngDevMode ? { debugName: "_placeholder" } : /* istanbul ignore next */ {}), alias: 'placeholder' });
|
|
363
379
|
set required(value) {
|
|
364
380
|
this._required.set(coerceBooleanProperty(value));
|
|
@@ -367,13 +383,16 @@ class PhoneInput {
|
|
|
367
383
|
get required() {
|
|
368
384
|
return this._required();
|
|
369
385
|
}
|
|
370
|
-
_required = signal(false,
|
|
386
|
+
_required = signal(false, /* @ts-ignore */
|
|
387
|
+
...(ngDevMode ? [{ debugName: "_required" }] : /* istanbul ignore next */ []));
|
|
371
388
|
phoneDisabled = input(false, { ...(ngDevMode ? { debugName: "phoneDisabled" } : /* istanbul ignore next */ {}), alias: 'disabled',
|
|
372
389
|
transform: booleanAttribute });
|
|
373
|
-
_disabled = signal(false,
|
|
390
|
+
_disabled = signal(false, /* @ts-ignore */
|
|
391
|
+
...(ngDevMode ? [{ debugName: "_disabled" }] : /* istanbul ignore next */ []));
|
|
374
392
|
_compositeDisabled = computed(() => {
|
|
375
393
|
return this._disabled() || this.phoneDisabled();
|
|
376
|
-
},
|
|
394
|
+
}, /* @ts-ignore */
|
|
395
|
+
...(ngDevMode ? [{ debugName: "_compositeDisabled" }] : /* istanbul ignore next */ []));
|
|
377
396
|
disabled = false;
|
|
378
397
|
constructor(ngControl, _parentForm, _parentFormGroup, _defaultErrorStateMatcher) {
|
|
379
398
|
this.ngControl = ngControl;
|
|
@@ -671,8 +690,8 @@ class PhoneInput {
|
|
|
671
690
|
}
|
|
672
691
|
this._previousFormattedNumber = this.phoneNumber.toString();
|
|
673
692
|
}
|
|
674
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
675
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
693
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: PhoneInput, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i1.NgForm, optional: true }, { token: i1.FormGroupDirective, optional: true }, { token: i2.ErrorStateMatcher }], target: i0.ɵɵFactoryTarget.Component });
|
|
694
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: PhoneInput, isStandalone: true, selector: "ngs-phone-input", inputs: { autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, errorStateMatcher: { classPropertyName: "errorStateMatcher", publicName: "errorStateMatcher", isSignal: true, isRequired: false, transformFunction: null }, onlyCountries: { classPropertyName: "onlyCountries", publicName: "onlyCountries", isSignal: true, isRequired: false, transformFunction: null }, preferredCountries: { classPropertyName: "preferredCountries", publicName: "preferredCountries", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, defaultSelectedCountryCode: { classPropertyName: "defaultSelectedCountryCode", publicName: "defaultSelectedCountryCode", isSignal: true, isRequired: false, transformFunction: null }, _placeholder: { classPropertyName: "_placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, phoneDisabled: { classPropertyName: "phoneDisabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { countryChanged: "countryChanged" }, host: { properties: { "class.is-floating": "shouldLabelFloat" }, classAttribute: "ngs-phone-input" }, providers: [
|
|
676
695
|
CountryCode,
|
|
677
696
|
{
|
|
678
697
|
provide: FormFieldControl,
|
|
@@ -683,9 +702,9 @@ class PhoneInput {
|
|
|
683
702
|
useValue: phoneValidator,
|
|
684
703
|
multi: true,
|
|
685
704
|
},
|
|
686
|
-
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }, { propertyName: "focusable", first: true, predicate: ["focusable"], descendants: true, isSignal: true }], exportAs: ["ngsPhoneInput"], ngImport: i0, template: "<div class=\"phone-input-container\">\n <button\n type=\"button\"\n ngsRipple\n [ngsMenuTriggerFor]=\"menu\"\n class=\"country-selector pe-1.5\"\n [disabled]=\"disabled\"\n (menuOpened)=\"openCountryMenu()\"\n (menuClosed)=\"closeCountryMenu()\">\n @if (selectedCountry()) {\n <span class=\"flag-icon\" aria-hidden=\"true\">{{ countryFlagEmoji(selectedCountry()?.shortCode) }}</span>\n\n @if (selectedCountry()?.phoneCode) {\n <span class=\"country-selector-code\">{{ selectedCountry()?.phoneCode }}</span>\n }\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" class=\"text-neutral-500 size-4 relative ms-0.5\"/>\n </button>\n\n <input\n ngsInput\n type=\"tel\"\n inputmode=\"tel\"\n [autocomplete]=\"autocomplete()\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [errorStateMatcher]=\"errorStateMatcher()\"\n [placeholder]=\"_placeholder()\"\n [disabled]=\"disabled\"\n class=\"grow\"\n #focusable>\n</div>\n\n<ngs-menu #menu=\"ngsMenu\">\n <ngs-menu-header>\n <div class=\"
|
|
705
|
+
], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, isSignal: true }, { propertyName: "focusable", first: true, predicate: ["focusable"], descendants: true, isSignal: true }], exportAs: ["ngsPhoneInput"], ngImport: i0, template: "<div class=\"phone-input-container\">\n <button\n type=\"button\"\n ngsRipple\n [ngsMenuTriggerFor]=\"menu\"\n class=\"country-selector pe-1.5\"\n [disabled]=\"disabled\"\n (menuOpened)=\"openCountryMenu()\"\n (menuClosed)=\"closeCountryMenu()\">\n @if (selectedCountry()) {\n <span class=\"flag-icon\" aria-hidden=\"true\">{{ countryFlagEmoji($safeNavigationMigration(selectedCountry()?.shortCode)) }}</span>\n\n @if (selectedCountry()?.phoneCode) {\n <span class=\"country-selector-code\">{{ selectedCountry()?.phoneCode }}</span>\n }\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" class=\"text-neutral-500 size-4 relative ms-0.5\"/>\n </button>\n\n <input\n ngsInput\n type=\"tel\"\n inputmode=\"tel\"\n [autocomplete]=\"autocomplete()\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [errorStateMatcher]=\"errorStateMatcher()\"\n [placeholder]=\"_placeholder()\"\n [disabled]=\"disabled\"\n class=\"grow\"\n #focusable>\n</div>\n\n<ngs-menu #menu=\"ngsMenu\">\n <ngs-menu-header>\n <div class=\"relative bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n aria-label=\"Search country\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"onCountrySearch($event)\"\n class=\"h-10 w-full border-0 border-b border-border bg-transparent px-3 text-sm text-on-surface outline-none focus:border-b-primary\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-menu-header>\n\n @for (country of preferredCountriesInDropDown; track country.shortCode) {\n <button\n type=\"button\"\n ngs-menu-item\n [selected]=\"selectedCountry()?.shortCode === country.shortCode\"\n (click)=\"onCountrySelect(country, focusable)\">\n <span class=\"inline-flex size-4 shrink-0 items-center justify-center text-base leading-4\" aria-hidden=\"true\">\n {{ countryFlagEmoji(country.shortCode) }}\n </span>\n <span class=\"min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap\">{{ country.name }}</span>\n <span class=\"ms-auto shrink-0 text-neutral-500\">{{ country.phoneCode }}</span>\n </button>\n }\n\n @if (preferredCountriesInDropDown.length) {\n <ngs-menu-divider/>\n }\n\n @for (country of visibleCountries(); track country.shortCode) {\n <button\n type=\"button\"\n ngs-menu-item\n [selected]=\"selectedCountry()?.shortCode === country.shortCode\"\n (click)=\"onCountrySelect(country, focusable)\">\n <span class=\"inline-flex size-4 shrink-0 items-center justify-center text-base leading-4\" aria-hidden=\"true\">\n {{ countryFlagEmoji(country.shortCode) }}\n </span>\n <span class=\"min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap\">{{ country.name }}</span>\n <span class=\"ms-auto shrink-0 text-neutral-500\">{{ country.phoneCode }}</span>\n </button>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>No countries found</span>.\n </div>\n }\n }\n\n @if (visibleCountryCount() < filteredCountries().length) {\n <div class=\"country-loading\">\n Loading more countries...\n </div>\n }\n</ngs-menu>\n", styles: [":host{--ngs-phone-input-color: var(--ngs-color-neutral-600);--ngs-phone-input-opacity: 0}@media print{:host{--ngs-phone-input-flag-display: none}}:host .flag-icon{display:var(--ngs-phone-input-flag-display, inline-flex);align-items:center;justify-content:center;width:22px;margin-inline-end:var(--spacing, .25rem);font-size:22px;line-height:1}:host.is-floating .country-selector{opacity:1}:host .phone-input-container{display:flex;align-items:center}:host .country-empty,:host .country-loading{padding:calc(var(--spacing, .25rem) * 3);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}:host .country-loading{padding-block:calc(var(--spacing, .25rem) * 2)}:host .phone-input-container input{border:none;background:none;outline:none;font:inherit;width:max-content;box-sizing:border-box;padding-right:6px;padding-left:4px;position:relative;z-index:0}:host .icon-wrapper{padding-right:24px}:host .mdc-button__label{margin-right:auto}:host .country-selector{display:flex;align-items:center;line-height:0;border-radius:0;color:var(--ngs-phone-input-color);flex-shrink:0;height:initial;opacity:var(--ngs-phone-input-opacity, 0);transition:opacity .2s;border:unset}:host .country-selector:disabled{opacity:.8}:host .country-selector-code{color:var(--ngs-phone-input-color);padding-right:0}:host-context(html.dark){--ngs-phone-input-color: var(--ngs-color-neutral-500)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: Ripple, selector: "[ngsRipple]", inputs: ["ngsRippleColor", "ngsRippleUnbounded", "ngsRippleCentered", "ngsRippleRadius", "ngsRippleAnimation", "ngsRippleDisabled", "ngsRippleTrigger"], outputs: ["ngsRippleCenteredChange", "ngsRippleDisabledChange", "ngsRippleTriggerChange"], exportAs: ["ngsRipple"] }, { kind: "directive", type: MenuTrigger, selector: "[ngsMenuTriggerFor]", inputs: ["ngsMenuTriggerFor", "ngsMenuTriggerData", "ngsMenuDisabled", "xPosition", "yPosition", "ngsMenuTriggerRestoreFocus"], outputs: ["menuOpened", "menuClosed"], exportAs: ["ngsMenuTrigger"] }, { kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: Menu, selector: "ngs-menu", inputs: ["role", "classList", "xPosition", "yPosition"], outputs: ["closed"], exportAs: ["ngsMenu"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: MenuHeader, selector: "ngs-menu-header", exportAs: ["ngsMenuHeader"] }, { kind: "component", type: MenuItem, selector: "ngs-menu-item, [ngs-menu-item]", inputs: ["disabled", "role", "selected"], outputs: ["_triggered"], exportAs: ["ngsMenuItem"] }, { kind: "component", type: MenuDivider, selector: "ngs-menu-divider" }, { kind: "directive", type: Input, selector: "input[ngsInput], textarea[ngsInput]", inputs: ["id", "placeholder", "required", "disabled", "readonly", "errorStateMatcher"], exportAs: ["ngsInput"] }, { 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 });
|
|
687
706
|
}
|
|
688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: PhoneInput, decorators: [{
|
|
689
708
|
type: Component,
|
|
690
709
|
args: [{ selector: 'ngs-phone-input', exportAs: 'ngsPhoneInput', imports: [
|
|
691
710
|
Ripple,
|
|
@@ -710,10 +729,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
710
729
|
useValue: phoneValidator,
|
|
711
730
|
multi: true,
|
|
712
731
|
},
|
|
713
|
-
], host: {
|
|
732
|
+
], changeDetection: ChangeDetectionStrategy.Eager, host: {
|
|
714
733
|
'class': 'ngs-phone-input',
|
|
715
734
|
'[class.is-floating]': 'shouldLabelFloat',
|
|
716
|
-
}, template: "<div class=\"phone-input-container\">\n <button\n type=\"button\"\n ngsRipple\n [ngsMenuTriggerFor]=\"menu\"\n class=\"country-selector pe-1.5\"\n [disabled]=\"disabled\"\n (menuOpened)=\"openCountryMenu()\"\n (menuClosed)=\"closeCountryMenu()\">\n @if (selectedCountry()) {\n <span class=\"flag-icon\" aria-hidden=\"true\">{{ countryFlagEmoji(selectedCountry()?.shortCode) }}</span>\n\n @if (selectedCountry()?.phoneCode) {\n <span class=\"country-selector-code\">{{ selectedCountry()?.phoneCode }}</span>\n }\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" class=\"text-neutral-500 size-4 relative ms-0.5\"/>\n </button>\n\n <input\n ngsInput\n type=\"tel\"\n inputmode=\"tel\"\n [autocomplete]=\"autocomplete()\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [errorStateMatcher]=\"errorStateMatcher()\"\n [placeholder]=\"_placeholder()\"\n [disabled]=\"disabled\"\n class=\"grow\"\n #focusable>\n</div>\n\n<ngs-menu #menu=\"ngsMenu\">\n <ngs-menu-header>\n <div class=\"
|
|
735
|
+
}, template: "<div class=\"phone-input-container\">\n <button\n type=\"button\"\n ngsRipple\n [ngsMenuTriggerFor]=\"menu\"\n class=\"country-selector pe-1.5\"\n [disabled]=\"disabled\"\n (menuOpened)=\"openCountryMenu()\"\n (menuClosed)=\"closeCountryMenu()\">\n @if (selectedCountry()) {\n <span class=\"flag-icon\" aria-hidden=\"true\">{{ countryFlagEmoji($safeNavigationMigration(selectedCountry()?.shortCode)) }}</span>\n\n @if (selectedCountry()?.phoneCode) {\n <span class=\"country-selector-code\">{{ selectedCountry()?.phoneCode }}</span>\n }\n }\n <ngs-icon name=\"fluent:chevron-down-24-regular\" class=\"text-neutral-500 size-4 relative ms-0.5\"/>\n </button>\n\n <input\n ngsInput\n type=\"tel\"\n inputmode=\"tel\"\n [autocomplete]=\"autocomplete()\"\n (blur)=\"onTouched()\"\n (keypress)=\"onInputKeyPress($event)\"\n [(ngModel)]=\"phoneNumber\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"onPhoneNumberChange()\"\n [errorStateMatcher]=\"errorStateMatcher()\"\n [placeholder]=\"_placeholder()\"\n [disabled]=\"disabled\"\n class=\"grow\"\n #focusable>\n</div>\n\n<ngs-menu #menu=\"ngsMenu\">\n <ngs-menu-header>\n <div class=\"relative bg-surface-container-lowest\">\n <input #searchInput\n type=\"text\"\n placeholder=\"Search...\"\n aria-label=\"Search country\"\n autocomplete=\"off\"\n [ngModel]=\"searchTerm()\"\n [ngModelOptions]=\"{standalone: true}\"\n (ngModelChange)=\"onCountrySearch($event)\"\n class=\"h-10 w-full border-0 border-b border-border bg-transparent px-3 text-sm text-on-surface outline-none focus:border-b-primary\">\n @if (searchTerm().trim()) {\n <div class=\"absolute end-1 top-1/2 -translate-y-1/2\">\n <button\n ngsIconButton\n (click)=\"clearSearch($event)\"\n class=\"clear-button\"\n type=\"button\"\n aria-label=\"Clear search\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n }\n </div>\n </ngs-menu-header>\n\n @for (country of preferredCountriesInDropDown; track country.shortCode) {\n <button\n type=\"button\"\n ngs-menu-item\n [selected]=\"selectedCountry()?.shortCode === country.shortCode\"\n (click)=\"onCountrySelect(country, focusable)\">\n <span class=\"inline-flex size-4 shrink-0 items-center justify-center text-base leading-4\" aria-hidden=\"true\">\n {{ countryFlagEmoji(country.shortCode) }}\n </span>\n <span class=\"min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap\">{{ country.name }}</span>\n <span class=\"ms-auto shrink-0 text-neutral-500\">{{ country.phoneCode }}</span>\n </button>\n }\n\n @if (preferredCountriesInDropDown.length) {\n <ngs-menu-divider/>\n }\n\n @for (country of visibleCountries(); track country.shortCode) {\n <button\n type=\"button\"\n ngs-menu-item\n [selected]=\"selectedCountry()?.shortCode === country.shortCode\"\n (click)=\"onCountrySelect(country, focusable)\">\n <span class=\"inline-flex size-4 shrink-0 items-center justify-center text-base leading-4\" aria-hidden=\"true\">\n {{ countryFlagEmoji(country.shortCode) }}\n </span>\n <span class=\"min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap\">{{ country.name }}</span>\n <span class=\"ms-auto shrink-0 text-neutral-500\">{{ country.phoneCode }}</span>\n </button>\n } @empty {\n @if (searchTerm()) {\n <div class=\"text-sm px-4 py-3\">\n <span i18n>No countries found</span>.\n </div>\n }\n }\n\n @if (visibleCountryCount() < filteredCountries().length) {\n <div class=\"country-loading\">\n Loading more countries...\n </div>\n }\n</ngs-menu>\n", styles: [":host{--ngs-phone-input-color: var(--ngs-color-neutral-600);--ngs-phone-input-opacity: 0}@media print{:host{--ngs-phone-input-flag-display: none}}:host .flag-icon{display:var(--ngs-phone-input-flag-display, inline-flex);align-items:center;justify-content:center;width:22px;margin-inline-end:var(--spacing, .25rem);font-size:22px;line-height:1}:host.is-floating .country-selector{opacity:1}:host .phone-input-container{display:flex;align-items:center}:host .country-empty,:host .country-loading{padding:calc(var(--spacing, .25rem) * 3);color:var(--ngs-color-on-surface-variant);font-size:var(--ngs-font-size-sm)}:host .country-loading{padding-block:calc(var(--spacing, .25rem) * 2)}:host .phone-input-container input{border:none;background:none;outline:none;font:inherit;width:max-content;box-sizing:border-box;padding-right:6px;padding-left:4px;position:relative;z-index:0}:host .icon-wrapper{padding-right:24px}:host .mdc-button__label{margin-right:auto}:host .country-selector{display:flex;align-items:center;line-height:0;border-radius:0;color:var(--ngs-phone-input-color);flex-shrink:0;height:initial;opacity:var(--ngs-phone-input-opacity, 0);transition:opacity .2s;border:unset}:host .country-selector:disabled{opacity:.8}:host .country-selector-code{color:var(--ngs-phone-input-color);padding-right:0}:host-context(html.dark){--ngs-phone-input-color: var(--ngs-color-neutral-500)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
|
|
717
736
|
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
718
737
|
type: Optional
|
|
719
738
|
}, {
|
|
@@ -738,10 +757,10 @@ class SearchPipe {
|
|
|
738
757
|
.includes(searchCriteria.toLowerCase());
|
|
739
758
|
});
|
|
740
759
|
}
|
|
741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
742
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
760
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SearchPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
761
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: SearchPipe, isStandalone: true, name: "search" });
|
|
743
762
|
}
|
|
744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: SearchPipe, decorators: [{
|
|
745
764
|
type: Pipe,
|
|
746
765
|
args: [{ name: 'search' }]
|
|
747
766
|
}] });
|