@ngstarter-ui/components 22.3.5 → 22.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/ai/component-registry.json +186 -101
- package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
- package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
- package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
- package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
- package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
- package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
- package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
- package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
- package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
- package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
- package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
- package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
- package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
- package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
- package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
- package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
- package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
- package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
- package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
- package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
- package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
- package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
- package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
- package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
- package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
- package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
- package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
- package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
- package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
- package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
- package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
- package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
- package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
- package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
- package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
- package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
- package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
- package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
- package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
- package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
- package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
- package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
- package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
- package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
- package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
- package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
- package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
- package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
- package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
- package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
- package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
- package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
- package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
- package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
- package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
- package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
- package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
- package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
- package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
- package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
- package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
- package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
- package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
- package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
- package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
- package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
- package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
- package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
- package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
- package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
- package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
- package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
- package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
- package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
- package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
- package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
- package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
- package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
- package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
- package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
- package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
- package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
- package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
- package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
- package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
- package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
- package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
- package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
- package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
- package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
- package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
- package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
- package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
- package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
- package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
- package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
- package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
- package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
- package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
- package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
- package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
- package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
- package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
- package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
- package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
- package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
- package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
- package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
- package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
- package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
- package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
- package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
- package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
- package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
- package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
- package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
- package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
- package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
- package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
- package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
- package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
- package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
- package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
- package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
- package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
- package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
- package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
- package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
- package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
- package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
- package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
- package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
- package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
- package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
- package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
- package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
- package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
- package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
- package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
- package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
- package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
- package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
- package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
- package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
- package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
- package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
- package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
- package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
- package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
- package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
- package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
- package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
- package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
- package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
- package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
- package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
- package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components.mjs +3 -5
- package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
- package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
- package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
- package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
- package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
- package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
- package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
- package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
- package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
- package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
- package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
- package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
- package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
- package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
- package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
- package/package.json +11 -10
- package/styles/_tokens.scss +1 -0
- package/types/ngstarter-ui-components-action-required.d.ts +34 -14
- package/types/ngstarter-ui-components-alert.d.ts +53 -44
- package/types/ngstarter-ui-components-announcement.d.ts +74 -53
- package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
- package/types/ngstarter-ui-components-avatar.d.ts +113 -66
- package/types/ngstarter-ui-components-badge.d.ts +73 -37
- package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
- package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
- package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
- package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
- package/types/ngstarter-ui-components-button.d.ts +69 -27
- package/types/ngstarter-ui-components-calendar.d.ts +123 -71
- package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
- package/types/ngstarter-ui-components-card.d.ts +75 -71
- package/types/ngstarter-ui-components-carousel.d.ts +115 -69
- package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
- package/types/ngstarter-ui-components-chips.d.ts +288 -195
- package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
- package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
- package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
- package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
- package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
- package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
- package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
- package/types/ngstarter-ui-components-confirm.d.ts +24 -29
- package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
- package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
- package/types/ngstarter-ui-components-core.d.ts +513 -467
- package/types/ngstarter-ui-components-country-select.d.ts +170 -97
- package/types/ngstarter-ui-components-crop.d.ts +67 -52
- package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
- package/types/ngstarter-ui-components-data-view.d.ts +811 -567
- package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
- package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
- package/types/ngstarter-ui-components-dialog.d.ts +138 -116
- package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
- package/types/ngstarter-ui-components-divider.d.ts +29 -17
- package/types/ngstarter-ui-components-drawer.d.ts +39 -30
- package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
- package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
- package/types/ngstarter-ui-components-events.d.ts +73 -57
- package/types/ngstarter-ui-components-expand.d.ts +55 -25
- package/types/ngstarter-ui-components-expansion.d.ts +93 -64
- package/types/ngstarter-ui-components-file-type.d.ts +53 -27
- package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
- package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
- package/types/ngstarter-ui-components-form-field.d.ts +116 -105
- package/types/ngstarter-ui-components-gauge.d.ts +32 -20
- package/types/ngstarter-ui-components-grid.d.ts +66 -50
- package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
- package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
- package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
- package/types/ngstarter-ui-components-icon.d.ts +39 -38
- package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
- package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
- package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
- package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
- package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
- package/types/ngstarter-ui-components-incidents.d.ts +97 -104
- package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
- package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
- package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
- package/types/ngstarter-ui-components-input.d.ts +82 -54
- package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
- package/types/ngstarter-ui-components-kbd.d.ts +8 -12
- package/types/ngstarter-ui-components-layout.d.ts +131 -87
- package/types/ngstarter-ui-components-list.d.ts +123 -88
- package/types/ngstarter-ui-components-logo.d.ts +21 -21
- package/types/ngstarter-ui-components-marquee.d.ts +41 -34
- package/types/ngstarter-ui-components-menu.d.ts +329 -221
- package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
- package/types/ngstarter-ui-components-navigation.d.ts +186 -125
- package/types/ngstarter-ui-components-notifications.d.ts +104 -89
- package/types/ngstarter-ui-components-number-input.d.ts +138 -96
- package/types/ngstarter-ui-components-option.d.ts +102 -68
- package/types/ngstarter-ui-components-overlay.d.ts +7 -12
- package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
- package/types/ngstarter-ui-components-paginator.d.ts +171 -129
- package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
- package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
- package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
- package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
- package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
- package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
- package/types/ngstarter-ui-components-popover.d.ts +128 -89
- package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
- package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
- package/types/ngstarter-ui-components-radio.d.ts +100 -47
- package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
- package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
- package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
- package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
- package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
- package/types/ngstarter-ui-components-segmented.d.ts +93 -61
- package/types/ngstarter-ui-components-select.d.ts +366 -266
- package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
- package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
- package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
- package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
- package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
- package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
- package/types/ngstarter-ui-components-slider.d.ts +123 -82
- package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
- package/types/ngstarter-ui-components-sort.d.ts +99 -63
- package/types/ngstarter-ui-components-spinner.d.ts +49 -27
- package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
- package/types/ngstarter-ui-components-split.d.ts +276 -195
- package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
- package/types/ngstarter-ui-components-stepper.d.ts +57 -43
- package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
- package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
- package/types/ngstarter-ui-components-table.d.ts +256 -228
- package/types/ngstarter-ui-components-tabs.d.ts +231 -138
- package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
- package/types/ngstarter-ui-components-tiles.d.ts +166 -104
- package/types/ngstarter-ui-components-timeline.d.ts +45 -57
- package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
- package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
- package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
- package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
- package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
- package/types/ngstarter-ui-components-tree.d.ts +355 -229
- package/types/ngstarter-ui-components-upload.d.ts +216 -131
- package/types/ngstarter-ui-components-video-player.d.ts +130 -67
- package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
- package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
- package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
- package/types/ngstarter-ui-components.d.ts +2 -2
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs +0 -35
- package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-8OmuepvH.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs +0 -26
- package/fesm2022/ngstarter-ui-components-content-editor-callout-block-Dp5tISk3.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs +0 -220
- package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-BbBs-R_y.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
- package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
- package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs +0 -375
- package/fesm2022/ngstarter-ui-components-content-editor-embed-block-DGCCeU-Y.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs +0 -80
- package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-BJfRgtaA.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs +0 -65
- package/fesm2022/ngstarter-ui-components-content-editor-grid-block-C_L7hF2G.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs +0 -137
- package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-durrPUhm.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs +0 -113
- package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-BoL1jZpT.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs +0 -235
- package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-ChZpgXO5.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs +0 -117
- package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-DwyNFnII.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs +0 -4464
- package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-BWpJv6CO.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs +0 -132
- package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-BvNvkqTO.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs +0 -171
- package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-tgNKltfK.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs +0 -1653
- package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-BcAlqmh8.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs +0 -20
- package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-S474I51r.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
- package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs +0 -134
- package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-Dj82fxTI.mjs.map +0 -1
- package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
- package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
|
@@ -1,311 +1,718 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Represents the different states that require custom transitions between them.
|
|
9
|
-
* @docs-private
|
|
10
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, NgZone, booleanAttribute, computed, effect, inject, input, linkedSignal, model, numberAttribute, output, signal, untracked, viewChild } from "@angular/core";
|
|
3
|
+
import { Ripple } from "@ngstarter-ui/components/core";
|
|
4
|
+
import { NG_VALIDATORS } from "@angular/forms";
|
|
5
|
+
import { _IdGenerator } from "@angular/cdk/a11y";
|
|
11
6
|
var TransitionCheckState;
|
|
12
|
-
(function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/** The state representing the component when it's becoming unchecked. */
|
|
18
|
-
TransitionCheckState[TransitionCheckState["Unchecked"] = 2] = "Unchecked";
|
|
19
|
-
/** The state representing the component when it's becoming indeterminate. */
|
|
20
|
-
TransitionCheckState[TransitionCheckState["Indeterminate"] = 3] = "Indeterminate";
|
|
7
|
+
(function(TransitionCheckState) {
|
|
8
|
+
TransitionCheckState[TransitionCheckState["Init"] = 0] = "Init";
|
|
9
|
+
TransitionCheckState[TransitionCheckState["Checked"] = 1] = "Checked";
|
|
10
|
+
TransitionCheckState[TransitionCheckState["Unchecked"] = 2] = "Unchecked";
|
|
11
|
+
TransitionCheckState[TransitionCheckState["Indeterminate"] = 3] = "Indeterminate";
|
|
21
12
|
})(TransitionCheckState || (TransitionCheckState = {}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
13
|
+
var CheckboxChange = class {
|
|
14
|
+
source;
|
|
15
|
+
checked;
|
|
16
|
+
};
|
|
17
|
+
var Checkbox = class Checkbox {
|
|
18
|
+
_ngZone = inject(NgZone);
|
|
19
|
+
_idGenerator = inject(_IdGenerator);
|
|
20
|
+
ariaLabel = input("", {
|
|
21
|
+
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
22
|
+
alias: "aria-label"
|
|
23
|
+
});
|
|
24
|
+
ariaLabelledby = input(null, {
|
|
25
|
+
...ngDevMode ? { debugName: "ariaLabelledby" } : /* istanbul ignore next */ {},
|
|
26
|
+
alias: "aria-labelledby"
|
|
27
|
+
});
|
|
28
|
+
ariaDescribedby = input("", {
|
|
29
|
+
...ngDevMode ? { debugName: "ariaDescribedby" } : /* istanbul ignore next */ {},
|
|
30
|
+
alias: "aria-describedby"
|
|
31
|
+
});
|
|
32
|
+
ariaExpanded = input(void 0, {
|
|
33
|
+
...ngDevMode ? { debugName: "ariaExpanded" } : /* istanbul ignore next */ {},
|
|
34
|
+
alias: "aria-expanded",
|
|
35
|
+
transform: booleanAttribute
|
|
36
|
+
});
|
|
37
|
+
ariaControls = input("", {
|
|
38
|
+
...ngDevMode ? { debugName: "ariaControls" } : /* istanbul ignore next */ {},
|
|
39
|
+
alias: "aria-controls"
|
|
40
|
+
});
|
|
41
|
+
ariaOwns = input("", {
|
|
42
|
+
...ngDevMode ? { debugName: "ariaOwns" } : /* istanbul ignore next */ {},
|
|
43
|
+
alias: "aria-owns"
|
|
44
|
+
});
|
|
45
|
+
id = input(this._idGenerator.getId("ngs-checkbox-"), ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
46
|
+
required = input(false, {
|
|
47
|
+
...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
|
|
48
|
+
transform: booleanAttribute
|
|
49
|
+
});
|
|
50
|
+
labelPosition = input("after", ...ngDevMode ? [{ debugName: "labelPosition" }] : /* istanbul ignore next */ []);
|
|
51
|
+
name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
52
|
+
submittedValue = input("", {
|
|
53
|
+
...ngDevMode ? { debugName: "submittedValue" } : /* istanbul ignore next */ {},
|
|
54
|
+
alias: "value"
|
|
55
|
+
});
|
|
56
|
+
disableRipple = input(false, {
|
|
57
|
+
...ngDevMode ? { debugName: "disableRipple" } : /* istanbul ignore next */ {},
|
|
58
|
+
transform: booleanAttribute
|
|
59
|
+
});
|
|
60
|
+
tabIndex = input(0, {
|
|
61
|
+
...ngDevMode ? { debugName: "tabIndex" } : /* istanbul ignore next */ {},
|
|
62
|
+
transform: (value) => value == null ? 0 : numberAttribute(value)
|
|
63
|
+
});
|
|
64
|
+
color = input(void 0, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
|
|
65
|
+
disabledInteractive = input(false, {
|
|
66
|
+
...ngDevMode ? { debugName: "disabledInteractive" } : /* istanbul ignore next */ {},
|
|
67
|
+
transform: booleanAttribute
|
|
68
|
+
});
|
|
69
|
+
checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
70
|
+
disabled = input(false, {
|
|
71
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
72
|
+
transform: booleanAttribute
|
|
73
|
+
});
|
|
74
|
+
interactiveDisabled = signal(false, ...ngDevMode ? [{ debugName: "interactiveDisabled" }] : /* istanbul ignore next */ []);
|
|
75
|
+
isDisabled = computed(() => this.disabled() || this.interactiveDisabled(), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
|
|
76
|
+
setInteractiveDisabled(disabled) {
|
|
77
|
+
this.interactiveDisabled.set(disabled);
|
|
78
|
+
}
|
|
79
|
+
readonly = input(false, {
|
|
80
|
+
...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
|
|
81
|
+
transform: booleanAttribute
|
|
82
|
+
});
|
|
83
|
+
touch = output();
|
|
84
|
+
indeterminateInput = input(false, {
|
|
85
|
+
...ngDevMode ? { debugName: "indeterminateInput" } : /* istanbul ignore next */ {},
|
|
86
|
+
alias: "indeterminate"
|
|
87
|
+
});
|
|
88
|
+
indeterminate = linkedSignal(this.indeterminateInput, ...ngDevMode ? [{ debugName: "indeterminate" }] : /* istanbul ignore next */ []);
|
|
89
|
+
change = output();
|
|
90
|
+
indeterminateChange = output();
|
|
91
|
+
_inputElement = viewChild("input", ...ngDevMode ? [{ debugName: "_inputElement" }] : /* istanbul ignore next */ []);
|
|
92
|
+
_labelElement = viewChild("label", ...ngDevMode ? [{ debugName: "_labelElement" }] : /* istanbul ignore next */ []);
|
|
93
|
+
_currentAnimationClass = "";
|
|
94
|
+
_currentCheckState = TransitionCheckState.Init;
|
|
95
|
+
_validatorChangeFn = () => {};
|
|
96
|
+
_animationClasses = {
|
|
97
|
+
uncheckedToChecked: "ngs-checkbox--anim-unchecked-checked",
|
|
98
|
+
uncheckedToIndeterminate: "ngs-checkbox--anim-unchecked-indeterminate",
|
|
99
|
+
checkedToUnchecked: "ngs-checkbox--anim-checked-unchecked",
|
|
100
|
+
checkedToIndeterminate: "ngs-checkbox--anim-checked-indeterminate",
|
|
101
|
+
indeterminateToChecked: "ngs-checkbox--anim-indeterminate-checked",
|
|
102
|
+
indeterminateToUnchecked: "ngs-checkbox--anim-indeterminate-unchecked"
|
|
103
|
+
};
|
|
104
|
+
constructor() {
|
|
105
|
+
effect(() => {
|
|
106
|
+
this.required();
|
|
107
|
+
untracked(() => this._validatorChangeFn());
|
|
108
|
+
});
|
|
109
|
+
effect(() => {
|
|
110
|
+
const indeterminate = this.indeterminate();
|
|
111
|
+
untracked(() => {
|
|
112
|
+
if (this._currentCheckState === TransitionCheckState.Init) return;
|
|
113
|
+
if (indeterminate) this._transitionCheckState(TransitionCheckState.Indeterminate);
|
|
114
|
+
else this._transitionCheckState(this.checked() ? TransitionCheckState.Checked : TransitionCheckState.Unchecked);
|
|
115
|
+
this._syncIndeterminate(indeterminate);
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
effect(() => {
|
|
119
|
+
const checked = this.checked();
|
|
120
|
+
untracked(() => {
|
|
121
|
+
if (this._currentCheckState === TransitionCheckState.Init) return;
|
|
122
|
+
if (!this.indeterminate()) this._transitionCheckState(checked ? TransitionCheckState.Checked : TransitionCheckState.Unchecked);
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
get inputId() {
|
|
127
|
+
return `${this.id()}-input`;
|
|
128
|
+
}
|
|
129
|
+
ngAfterViewInit() {
|
|
130
|
+
this._syncIndeterminate(this.indeterminate());
|
|
131
|
+
}
|
|
132
|
+
focus(options) {
|
|
133
|
+
this._inputElement()?.nativeElement.focus(options);
|
|
134
|
+
}
|
|
135
|
+
validate(control) {
|
|
136
|
+
return this.required() && control.value !== true ? { "required": true } : null;
|
|
137
|
+
}
|
|
138
|
+
registerOnValidatorChange(fn) {
|
|
139
|
+
this._validatorChangeFn = fn;
|
|
140
|
+
}
|
|
141
|
+
toggle() {
|
|
142
|
+
if (!this.isDisabled() && !this.readonly()) this.checked.update((checked) => !checked);
|
|
143
|
+
}
|
|
144
|
+
_handleInputClick() {
|
|
145
|
+
if (!this.isDisabled() && !this.readonly()) {
|
|
146
|
+
if (this.indeterminate()) this.indeterminate.set(false);
|
|
147
|
+
this.checked.set(!this.checked());
|
|
148
|
+
this._emitChangeEvent();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
_emitChangeEvent() {
|
|
152
|
+
this.change.emit(this._createChangeEvent(this.checked()));
|
|
153
|
+
const inputElement = this._inputElement();
|
|
154
|
+
if (inputElement) inputElement.nativeElement.checked = this.checked();
|
|
155
|
+
}
|
|
156
|
+
_createChangeEvent(isChecked) {
|
|
157
|
+
const event = new CheckboxChange();
|
|
158
|
+
event.source = this;
|
|
159
|
+
event.checked = isChecked;
|
|
160
|
+
return event;
|
|
161
|
+
}
|
|
162
|
+
_onInteractionEvent(event) {
|
|
163
|
+
event.stopPropagation();
|
|
164
|
+
}
|
|
165
|
+
_onBlur() {
|
|
166
|
+
this.touch.emit();
|
|
167
|
+
}
|
|
168
|
+
_transitionCheckState(newState) {
|
|
169
|
+
let oldState = this._currentCheckState;
|
|
170
|
+
let element = this._inputElement()?.nativeElement;
|
|
171
|
+
if (oldState === newState || !element) return;
|
|
172
|
+
if (this._currentAnimationClass) element.classList.remove(this._currentAnimationClass);
|
|
173
|
+
this._currentAnimationClass = this._getAnimationClassForCheckStateTransition(oldState, newState);
|
|
174
|
+
this._currentCheckState = newState;
|
|
175
|
+
if (this._currentAnimationClass.length > 0) {
|
|
176
|
+
element.classList.add(this._currentAnimationClass);
|
|
177
|
+
const animationClass = this._currentAnimationClass;
|
|
178
|
+
this._ngZone.runOutsideAngular(() => {
|
|
179
|
+
setTimeout(() => {
|
|
180
|
+
element.classList.remove(animationClass);
|
|
181
|
+
}, 1e3);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
_getAnimationClassForCheckStateTransition(oldState, newState) {
|
|
186
|
+
switch (oldState) {
|
|
187
|
+
case TransitionCheckState.Init:
|
|
188
|
+
if (newState === TransitionCheckState.Checked) return this._animationClasses.uncheckedToChecked;
|
|
189
|
+
else if (newState == TransitionCheckState.Indeterminate) return this.checked() ? this._animationClasses.checkedToIndeterminate : this._animationClasses.uncheckedToIndeterminate;
|
|
190
|
+
break;
|
|
191
|
+
case TransitionCheckState.Unchecked: return newState === TransitionCheckState.Checked ? this._animationClasses.uncheckedToChecked : this._animationClasses.uncheckedToIndeterminate;
|
|
192
|
+
case TransitionCheckState.Checked: return newState === TransitionCheckState.Unchecked ? this._animationClasses.checkedToUnchecked : this._animationClasses.checkedToIndeterminate;
|
|
193
|
+
case TransitionCheckState.Indeterminate: return newState === TransitionCheckState.Checked ? this._animationClasses.indeterminateToChecked : this._animationClasses.indeterminateToUnchecked;
|
|
194
|
+
}
|
|
195
|
+
return "";
|
|
196
|
+
}
|
|
197
|
+
_syncIndeterminate(value) {
|
|
198
|
+
const inputElement = this._inputElement();
|
|
199
|
+
if (inputElement) inputElement.nativeElement.indeterminate = value;
|
|
200
|
+
}
|
|
201
|
+
_onInputClick(event) {
|
|
202
|
+
if (this.readonly()) {
|
|
203
|
+
event.preventDefault();
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
this._handleInputClick();
|
|
207
|
+
}
|
|
208
|
+
_onTouchTargetClick() {
|
|
209
|
+
this._handleInputClick();
|
|
210
|
+
const inputElement = this._inputElement();
|
|
211
|
+
if (!this.isDisabled() && inputElement) inputElement.nativeElement.focus();
|
|
212
|
+
}
|
|
213
|
+
_preventBubblingFromLabel(event) {
|
|
214
|
+
const labelElement = this._labelElement();
|
|
215
|
+
if (!!event.target && labelElement && labelElement.nativeElement.contains(event.target)) event.stopPropagation();
|
|
216
|
+
}
|
|
217
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
218
|
+
minVersion: "12.0.0",
|
|
219
|
+
version: "22.3.0",
|
|
220
|
+
ngImport: i0,
|
|
221
|
+
type: Checkbox,
|
|
222
|
+
deps: [],
|
|
223
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
224
|
+
});
|
|
225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
226
|
+
minVersion: "17.0.0",
|
|
227
|
+
version: "22.3.0",
|
|
228
|
+
type: Checkbox,
|
|
229
|
+
isStandalone: true,
|
|
230
|
+
selector: "ngs-checkbox",
|
|
231
|
+
inputs: {
|
|
232
|
+
ariaLabel: {
|
|
233
|
+
classPropertyName: "ariaLabel",
|
|
234
|
+
publicName: "aria-label",
|
|
235
|
+
isSignal: true,
|
|
236
|
+
isRequired: false,
|
|
237
|
+
transformFunction: null
|
|
238
|
+
},
|
|
239
|
+
ariaLabelledby: {
|
|
240
|
+
classPropertyName: "ariaLabelledby",
|
|
241
|
+
publicName: "aria-labelledby",
|
|
242
|
+
isSignal: true,
|
|
243
|
+
isRequired: false,
|
|
244
|
+
transformFunction: null
|
|
245
|
+
},
|
|
246
|
+
ariaDescribedby: {
|
|
247
|
+
classPropertyName: "ariaDescribedby",
|
|
248
|
+
publicName: "aria-describedby",
|
|
249
|
+
isSignal: true,
|
|
250
|
+
isRequired: false,
|
|
251
|
+
transformFunction: null
|
|
252
|
+
},
|
|
253
|
+
ariaExpanded: {
|
|
254
|
+
classPropertyName: "ariaExpanded",
|
|
255
|
+
publicName: "aria-expanded",
|
|
256
|
+
isSignal: true,
|
|
257
|
+
isRequired: false,
|
|
258
|
+
transformFunction: null
|
|
259
|
+
},
|
|
260
|
+
ariaControls: {
|
|
261
|
+
classPropertyName: "ariaControls",
|
|
262
|
+
publicName: "aria-controls",
|
|
263
|
+
isSignal: true,
|
|
264
|
+
isRequired: false,
|
|
265
|
+
transformFunction: null
|
|
266
|
+
},
|
|
267
|
+
ariaOwns: {
|
|
268
|
+
classPropertyName: "ariaOwns",
|
|
269
|
+
publicName: "aria-owns",
|
|
270
|
+
isSignal: true,
|
|
271
|
+
isRequired: false,
|
|
272
|
+
transformFunction: null
|
|
273
|
+
},
|
|
274
|
+
id: {
|
|
275
|
+
classPropertyName: "id",
|
|
276
|
+
publicName: "id",
|
|
277
|
+
isSignal: true,
|
|
278
|
+
isRequired: false,
|
|
279
|
+
transformFunction: null
|
|
280
|
+
},
|
|
281
|
+
required: {
|
|
282
|
+
classPropertyName: "required",
|
|
283
|
+
publicName: "required",
|
|
284
|
+
isSignal: true,
|
|
285
|
+
isRequired: false,
|
|
286
|
+
transformFunction: null
|
|
287
|
+
},
|
|
288
|
+
labelPosition: {
|
|
289
|
+
classPropertyName: "labelPosition",
|
|
290
|
+
publicName: "labelPosition",
|
|
291
|
+
isSignal: true,
|
|
292
|
+
isRequired: false,
|
|
293
|
+
transformFunction: null
|
|
294
|
+
},
|
|
295
|
+
name: {
|
|
296
|
+
classPropertyName: "name",
|
|
297
|
+
publicName: "name",
|
|
298
|
+
isSignal: true,
|
|
299
|
+
isRequired: false,
|
|
300
|
+
transformFunction: null
|
|
301
|
+
},
|
|
302
|
+
submittedValue: {
|
|
303
|
+
classPropertyName: "submittedValue",
|
|
304
|
+
publicName: "value",
|
|
305
|
+
isSignal: true,
|
|
306
|
+
isRequired: false,
|
|
307
|
+
transformFunction: null
|
|
308
|
+
},
|
|
309
|
+
disableRipple: {
|
|
310
|
+
classPropertyName: "disableRipple",
|
|
311
|
+
publicName: "disableRipple",
|
|
312
|
+
isSignal: true,
|
|
313
|
+
isRequired: false,
|
|
314
|
+
transformFunction: null
|
|
315
|
+
},
|
|
316
|
+
tabIndex: {
|
|
317
|
+
classPropertyName: "tabIndex",
|
|
318
|
+
publicName: "tabIndex",
|
|
319
|
+
isSignal: true,
|
|
320
|
+
isRequired: false,
|
|
321
|
+
transformFunction: null
|
|
322
|
+
},
|
|
323
|
+
color: {
|
|
324
|
+
classPropertyName: "color",
|
|
325
|
+
publicName: "color",
|
|
326
|
+
isSignal: true,
|
|
327
|
+
isRequired: false,
|
|
328
|
+
transformFunction: null
|
|
329
|
+
},
|
|
330
|
+
disabledInteractive: {
|
|
331
|
+
classPropertyName: "disabledInteractive",
|
|
332
|
+
publicName: "disabledInteractive",
|
|
333
|
+
isSignal: true,
|
|
334
|
+
isRequired: false,
|
|
335
|
+
transformFunction: null
|
|
336
|
+
},
|
|
337
|
+
checked: {
|
|
338
|
+
classPropertyName: "checked",
|
|
339
|
+
publicName: "checked",
|
|
340
|
+
isSignal: true,
|
|
341
|
+
isRequired: false,
|
|
342
|
+
transformFunction: null
|
|
343
|
+
},
|
|
344
|
+
disabled: {
|
|
345
|
+
classPropertyName: "disabled",
|
|
346
|
+
publicName: "disabled",
|
|
347
|
+
isSignal: true,
|
|
348
|
+
isRequired: false,
|
|
349
|
+
transformFunction: null
|
|
350
|
+
},
|
|
351
|
+
readonly: {
|
|
352
|
+
classPropertyName: "readonly",
|
|
353
|
+
publicName: "readonly",
|
|
354
|
+
isSignal: true,
|
|
355
|
+
isRequired: false,
|
|
356
|
+
transformFunction: null
|
|
357
|
+
},
|
|
358
|
+
indeterminateInput: {
|
|
359
|
+
classPropertyName: "indeterminateInput",
|
|
360
|
+
publicName: "indeterminate",
|
|
361
|
+
isSignal: true,
|
|
362
|
+
isRequired: false,
|
|
363
|
+
transformFunction: null
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
outputs: {
|
|
367
|
+
checked: "checkedChange",
|
|
368
|
+
touch: "touch",
|
|
369
|
+
change: "change",
|
|
370
|
+
indeterminateChange: "indeterminateChange"
|
|
371
|
+
},
|
|
372
|
+
host: {
|
|
373
|
+
properties: {
|
|
374
|
+
"attr.tabindex": "null",
|
|
375
|
+
"attr.aria-label": "null",
|
|
376
|
+
"attr.aria-labelledby": "null",
|
|
377
|
+
"class.ngs-checkbox-disabled": "isDisabled()",
|
|
378
|
+
"class.ngs-checkbox-checked": "checked()",
|
|
379
|
+
"class.ngs-checkbox-indeterminate": "indeterminate()",
|
|
380
|
+
"class.ngs-checkbox-disabled-interactive": "disabledInteractive()",
|
|
381
|
+
"class": "color() ? \"ngs-\" + color() : \"ngs-primary\""
|
|
382
|
+
},
|
|
383
|
+
classAttribute: "ngs-checkbox"
|
|
384
|
+
},
|
|
385
|
+
providers: [{
|
|
386
|
+
provide: NG_VALIDATORS,
|
|
387
|
+
useExisting: Checkbox,
|
|
388
|
+
multi: true
|
|
389
|
+
}],
|
|
390
|
+
viewQueries: [{
|
|
391
|
+
propertyName: "_inputElement",
|
|
392
|
+
first: true,
|
|
393
|
+
predicate: ["input"],
|
|
394
|
+
descendants: true,
|
|
395
|
+
isSignal: true
|
|
396
|
+
}, {
|
|
397
|
+
propertyName: "_labelElement",
|
|
398
|
+
first: true,
|
|
399
|
+
predicate: ["label"],
|
|
400
|
+
descendants: true,
|
|
401
|
+
isSignal: true
|
|
402
|
+
}],
|
|
403
|
+
exportAs: ["ngsCheckbox"],
|
|
404
|
+
ngImport: i0,
|
|
405
|
+
template: "<div class=\"ngs-checkbox-layout\" [class.ngs-checkbox-label-before]=\"labelPosition() === 'before'\"\n (click)=\"_preventBubblingFromLabel($event)\">\n <div #checkbox class=\"ngs-checkbox-frame\">\n <div class=\"ngs-checkbox-touch-target\" (click)=\"_onTouchTargetClick()\"></div>\n <input #input\n type=\"checkbox\"\n class=\"ngs-checkbox-native-control\"\n [class.ngs-checkbox--selected]=\"checked()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-describedby]=\"ariaDescribedby()\"\n [attr.aria-checked]=\"indeterminate() ? 'mixed' : null\"\n [attr.aria-controls]=\"ariaControls()\"\n [attr.aria-disabled]=\"isDisabled() && disabledInteractive() ? true : null\"\n [attr.aria-expanded]=\"ariaExpanded()\"\n [attr.aria-owns]=\"ariaOwns()\"\n [attr.name]=\"name()\"\n [attr.value]=\"submittedValue()\"\n [attr.aria-readonly]=\"readonly() || null\"\n [checked]=\"checked()\"\n [indeterminate]=\"indeterminate()\"\n [disabled]=\"isDisabled() && !disabledInteractive()\"\n [id]=\"inputId\"\n [required]=\"required()\"\n [tabIndex]=\"isDisabled() && !disabledInteractive() ? -1 : tabIndex()\"\n (blur)=\"_onBlur()\"\n (click)=\"_onInputClick($event)\"\n (change)=\"_onInteractionEvent($event)\"/>\n <div class=\"ngs-checkbox-ripple-container\"></div>\n <div class=\"ngs-checkbox-background\">\n @if (indeterminate()) {\n <div class=\"ngs-checkbox-mixedmark\"></div>\n } @else if (checked()) {\n <svg class=\"ngs-checkbox-checkmark\"\n focusable=\"false\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"ngs-checkbox-checkmark-path\"\n fill=\"none\"\n d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n </svg>\n }\n </div>\n <div class=\"ngs-checkbox-ripple\" ngsRipple\n [ngsRippleTrigger]=\"checkbox\"\n [ngsRippleDisabled]=\"disableRipple() || isDisabled()\"\n [ngsRippleCentered]=\"true\"></div>\n </div>\n <label class=\"ngs-checkbox-label\" #label [for]=\"inputId\">\n <span class=\"content\"><ng-content /></span>\n <span class=\"description\">\n <ng-content select=\"[ngsCheckboxDecription]\" />\n </span>\n </label>\n</div>\n",
|
|
406
|
+
styles: [":host{--ngs-checkbox-size: 19px;--ngs-checkbox-checked-color: var(--ngs-color-primary);--ngs-checkbox-unchecked-color: var(--ngs-field-border-color);--ngs-checkbox-disabled-color: var(--ngs-color-on-surface-variant);--ngs-checkbox-checkmark-color: var(--ngs-color-on-primary);--ngs-checkbox-description-font-size: var(--ngs-font-size-sm);--ngs-checkbox-description-color: var(--ngs-color-neutral-500);--ngs-checkbox-gap: calc(var(--spacing, .25rem) * 2.5);--ngs-checkbox-label-font-size: var(--ngs-font-size-md);display:inline-block;position:relative}:host .description{font-size:var(--ngs-checkbox-description-font-size);color:var(--ngs-checkbox-description-color)}:host .description:empty{display:none}:host .content{font-size:var(--ngs-checkbox-label-font-size)}:host .ngs-checkbox-layout{display:flex;align-items:center;gap:var(--ngs-checkbox-gap);cursor:pointer}:host .ngs-checkbox-layout.ngs-checkbox-label-before{flex-direction:row-reverse}:host:has(.description:not(:empty)) .ngs-checkbox-layout{align-items:start}:host:has(.description:not(:empty)) .ngs-checkbox-frame{position:relative;top:calc(var(--spacing, .25rem) * 1.1)}:host .ngs-checkbox-frame{width:var(--ngs-checkbox-size);height:var(--ngs-checkbox-size);position:relative;display:flex;align-items:center;justify-content:center;flex:none}:host .ngs-checkbox-native-control{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}:host .ngs-checkbox-background{width:100%;height:100%;border:1px solid var(--ngs-checkbox-unchecked-color);border-radius:3px;background:transparent;transition:background-color 90ms cubic-bezier(0,0,.2,1),border-color 90ms cubic-bezier(0,0,.2,1);box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:2px}:host .ngs-checkbox-checkmark{width:100%;height:100%}:host .ngs-checkbox-checkmark-path{stroke:var(--ngs-checkbox-checkmark-color);stroke-width:3.12px;stroke-dasharray:29.7833385;stroke-dashoffset:0}:host .ngs-checkbox-mixedmark{width:12px;height:2px;background:var(--ngs-checkbox-checkmark-color)}:host.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-indeterminate .ngs-checkbox-background{background:var(--ngs-checkbox-checked-color);border-color:var(--ngs-checkbox-checked-color)}:host.ngs-checkbox-disabled{cursor:default;color:var(--ngs-color-on-surface)}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled{color:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host.ngs-checkbox-disabled .ngs-checkbox-layout{cursor:default}:host.ngs-checkbox-disabled .ngs-checkbox-background{border-color:var(--ngs-color-on-surface);background:transparent}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled .ngs-checkbox-background{border-color:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host.ngs-checkbox-disabled.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-disabled.ngs-checkbox-indeterminate .ngs-checkbox-background{background:var(--ngs-color-on-surface);border-color:transparent}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-disabled.ngs-checkbox-indeterminate .ngs-checkbox-background{background:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host .ngs-checkbox-ripple{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;pointer-events:none;overflow:hidden}:host .ngs-checkbox-label{cursor:inherit}:host .ngs-checkbox-label:has(.description:empty):has(.content:empty){display:none}:host.ngs-accent{--ngs-checkbox-checked-color: var(--ngs-color-secondary);--ngs-checkbox-checkmark-color: var(--ngs-color-on-secondary)}:host.ngs-warn{--ngs-checkbox-checked-color: var(--ngs-color-danger);--ngs-checkbox-checkmark-color: var(--ngs-color-on-danger)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
407
|
+
dependencies: [{
|
|
408
|
+
kind: "directive",
|
|
409
|
+
type: Ripple,
|
|
410
|
+
selector: "[ngsRipple]",
|
|
411
|
+
inputs: [
|
|
412
|
+
"ngsRippleColor",
|
|
413
|
+
"ngsRippleUnbounded",
|
|
414
|
+
"ngsRippleCentered",
|
|
415
|
+
"ngsRippleRadius",
|
|
416
|
+
"ngsRippleAnimation",
|
|
417
|
+
"ngsRippleDisabled",
|
|
418
|
+
"ngsRippleTrigger"
|
|
419
|
+
],
|
|
420
|
+
outputs: [
|
|
421
|
+
"ngsRippleCenteredChange",
|
|
422
|
+
"ngsRippleDisabledChange",
|
|
423
|
+
"ngsRippleTriggerChange"
|
|
424
|
+
],
|
|
425
|
+
exportAs: ["ngsRipple"]
|
|
426
|
+
}],
|
|
427
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
431
|
+
minVersion: "12.0.0",
|
|
432
|
+
version: "22.3.0",
|
|
433
|
+
ngImport: i0,
|
|
434
|
+
type: Checkbox,
|
|
435
|
+
decorators: [{
|
|
436
|
+
type: Component,
|
|
437
|
+
args: [{
|
|
438
|
+
selector: "ngs-checkbox",
|
|
439
|
+
imports: [Ripple],
|
|
440
|
+
host: {
|
|
441
|
+
"class": "ngs-checkbox",
|
|
442
|
+
"[attr.tabindex]": "null",
|
|
443
|
+
"[attr.aria-label]": "null",
|
|
444
|
+
"[attr.aria-labelledby]": "null",
|
|
445
|
+
"[class.ngs-checkbox-disabled]": "isDisabled()",
|
|
446
|
+
"[class.ngs-checkbox-checked]": "checked()",
|
|
447
|
+
"[class.ngs-checkbox-indeterminate]": "indeterminate()",
|
|
448
|
+
"[class.ngs-checkbox-disabled-interactive]": "disabledInteractive()",
|
|
449
|
+
"[class]": "color() ? \"ngs-\" + color() : \"ngs-primary\""
|
|
450
|
+
},
|
|
451
|
+
providers: [{
|
|
452
|
+
provide: NG_VALIDATORS,
|
|
453
|
+
useExisting: Checkbox,
|
|
454
|
+
multi: true
|
|
455
|
+
}],
|
|
456
|
+
exportAs: "ngsCheckbox",
|
|
457
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
458
|
+
template: "<div class=\"ngs-checkbox-layout\" [class.ngs-checkbox-label-before]=\"labelPosition() === 'before'\"\n (click)=\"_preventBubblingFromLabel($event)\">\n <div #checkbox class=\"ngs-checkbox-frame\">\n <div class=\"ngs-checkbox-touch-target\" (click)=\"_onTouchTargetClick()\"></div>\n <input #input\n type=\"checkbox\"\n class=\"ngs-checkbox-native-control\"\n [class.ngs-checkbox--selected]=\"checked()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-describedby]=\"ariaDescribedby()\"\n [attr.aria-checked]=\"indeterminate() ? 'mixed' : null\"\n [attr.aria-controls]=\"ariaControls()\"\n [attr.aria-disabled]=\"isDisabled() && disabledInteractive() ? true : null\"\n [attr.aria-expanded]=\"ariaExpanded()\"\n [attr.aria-owns]=\"ariaOwns()\"\n [attr.name]=\"name()\"\n [attr.value]=\"submittedValue()\"\n [attr.aria-readonly]=\"readonly() || null\"\n [checked]=\"checked()\"\n [indeterminate]=\"indeterminate()\"\n [disabled]=\"isDisabled() && !disabledInteractive()\"\n [id]=\"inputId\"\n [required]=\"required()\"\n [tabIndex]=\"isDisabled() && !disabledInteractive() ? -1 : tabIndex()\"\n (blur)=\"_onBlur()\"\n (click)=\"_onInputClick($event)\"\n (change)=\"_onInteractionEvent($event)\"/>\n <div class=\"ngs-checkbox-ripple-container\"></div>\n <div class=\"ngs-checkbox-background\">\n @if (indeterminate()) {\n <div class=\"ngs-checkbox-mixedmark\"></div>\n } @else if (checked()) {\n <svg class=\"ngs-checkbox-checkmark\"\n focusable=\"false\"\n viewBox=\"0 0 24 24\"\n aria-hidden=\"true\">\n <path class=\"ngs-checkbox-checkmark-path\"\n fill=\"none\"\n d=\"M1.73,12.91 8.1,19.28 22.79,4.59\"/>\n </svg>\n }\n </div>\n <div class=\"ngs-checkbox-ripple\" ngsRipple\n [ngsRippleTrigger]=\"checkbox\"\n [ngsRippleDisabled]=\"disableRipple() || isDisabled()\"\n [ngsRippleCentered]=\"true\"></div>\n </div>\n <label class=\"ngs-checkbox-label\" #label [for]=\"inputId\">\n <span class=\"content\"><ng-content /></span>\n <span class=\"description\">\n <ng-content select=\"[ngsCheckboxDecription]\" />\n </span>\n </label>\n</div>\n",
|
|
459
|
+
styles: [":host{--ngs-checkbox-size: 19px;--ngs-checkbox-checked-color: var(--ngs-color-primary);--ngs-checkbox-unchecked-color: var(--ngs-field-border-color);--ngs-checkbox-disabled-color: var(--ngs-color-on-surface-variant);--ngs-checkbox-checkmark-color: var(--ngs-color-on-primary);--ngs-checkbox-description-font-size: var(--ngs-font-size-sm);--ngs-checkbox-description-color: var(--ngs-color-neutral-500);--ngs-checkbox-gap: calc(var(--spacing, .25rem) * 2.5);--ngs-checkbox-label-font-size: var(--ngs-font-size-md);display:inline-block;position:relative}:host .description{font-size:var(--ngs-checkbox-description-font-size);color:var(--ngs-checkbox-description-color)}:host .description:empty{display:none}:host .content{font-size:var(--ngs-checkbox-label-font-size)}:host .ngs-checkbox-layout{display:flex;align-items:center;gap:var(--ngs-checkbox-gap);cursor:pointer}:host .ngs-checkbox-layout.ngs-checkbox-label-before{flex-direction:row-reverse}:host:has(.description:not(:empty)) .ngs-checkbox-layout{align-items:start}:host:has(.description:not(:empty)) .ngs-checkbox-frame{position:relative;top:calc(var(--spacing, .25rem) * 1.1)}:host .ngs-checkbox-frame{width:var(--ngs-checkbox-size);height:var(--ngs-checkbox-size);position:relative;display:flex;align-items:center;justify-content:center;flex:none}:host .ngs-checkbox-native-control{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}:host .ngs-checkbox-background{width:100%;height:100%;border:1px solid var(--ngs-checkbox-unchecked-color);border-radius:3px;background:transparent;transition:background-color 90ms cubic-bezier(0,0,.2,1),border-color 90ms cubic-bezier(0,0,.2,1);box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:2px}:host .ngs-checkbox-checkmark{width:100%;height:100%}:host .ngs-checkbox-checkmark-path{stroke:var(--ngs-checkbox-checkmark-color);stroke-width:3.12px;stroke-dasharray:29.7833385;stroke-dashoffset:0}:host .ngs-checkbox-mixedmark{width:12px;height:2px;background:var(--ngs-checkbox-checkmark-color)}:host.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-indeterminate .ngs-checkbox-background{background:var(--ngs-checkbox-checked-color);border-color:var(--ngs-checkbox-checked-color)}:host.ngs-checkbox-disabled{cursor:default;color:var(--ngs-color-on-surface)}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled{color:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host.ngs-checkbox-disabled .ngs-checkbox-layout{cursor:default}:host.ngs-checkbox-disabled .ngs-checkbox-background{border-color:var(--ngs-color-on-surface);background:transparent}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled .ngs-checkbox-background{border-color:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host.ngs-checkbox-disabled.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-disabled.ngs-checkbox-indeterminate .ngs-checkbox-background{background:var(--ngs-color-on-surface);border-color:transparent}@supports (color: color-mix(in lab,red,red)){:host.ngs-checkbox-disabled.ngs-checkbox-checked .ngs-checkbox-background,:host.ngs-checkbox-disabled.ngs-checkbox-indeterminate .ngs-checkbox-background{background:color-mix(in srgb,var(--ngs-color-on-surface),transparent 62%)}}:host .ngs-checkbox-ripple{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;pointer-events:none;overflow:hidden}:host .ngs-checkbox-label{cursor:inherit}:host .ngs-checkbox-label:has(.description:empty):has(.content:empty){display:none}:host.ngs-accent{--ngs-checkbox-checked-color: var(--ngs-color-secondary);--ngs-checkbox-checkmark-color: var(--ngs-color-on-secondary)}:host.ngs-warn{--ngs-checkbox-checked-color: var(--ngs-color-danger);--ngs-checkbox-checkmark-color: var(--ngs-color-on-danger)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
460
|
+
}]
|
|
461
|
+
}],
|
|
462
|
+
ctorParameters: () => [],
|
|
463
|
+
propDecorators: {
|
|
464
|
+
ariaLabel: [{
|
|
465
|
+
type: i0.Input,
|
|
466
|
+
args: [{
|
|
467
|
+
isSignal: true,
|
|
468
|
+
alias: "aria-label",
|
|
469
|
+
required: false
|
|
470
|
+
}]
|
|
471
|
+
}],
|
|
472
|
+
ariaLabelledby: [{
|
|
473
|
+
type: i0.Input,
|
|
474
|
+
args: [{
|
|
475
|
+
isSignal: true,
|
|
476
|
+
alias: "aria-labelledby",
|
|
477
|
+
required: false
|
|
478
|
+
}]
|
|
479
|
+
}],
|
|
480
|
+
ariaDescribedby: [{
|
|
481
|
+
type: i0.Input,
|
|
482
|
+
args: [{
|
|
483
|
+
isSignal: true,
|
|
484
|
+
alias: "aria-describedby",
|
|
485
|
+
required: false
|
|
486
|
+
}]
|
|
487
|
+
}],
|
|
488
|
+
ariaExpanded: [{
|
|
489
|
+
type: i0.Input,
|
|
490
|
+
args: [{
|
|
491
|
+
isSignal: true,
|
|
492
|
+
alias: "aria-expanded",
|
|
493
|
+
required: false
|
|
494
|
+
}]
|
|
495
|
+
}],
|
|
496
|
+
ariaControls: [{
|
|
497
|
+
type: i0.Input,
|
|
498
|
+
args: [{
|
|
499
|
+
isSignal: true,
|
|
500
|
+
alias: "aria-controls",
|
|
501
|
+
required: false
|
|
502
|
+
}]
|
|
503
|
+
}],
|
|
504
|
+
ariaOwns: [{
|
|
505
|
+
type: i0.Input,
|
|
506
|
+
args: [{
|
|
507
|
+
isSignal: true,
|
|
508
|
+
alias: "aria-owns",
|
|
509
|
+
required: false
|
|
510
|
+
}]
|
|
511
|
+
}],
|
|
512
|
+
id: [{
|
|
513
|
+
type: i0.Input,
|
|
514
|
+
args: [{
|
|
515
|
+
isSignal: true,
|
|
516
|
+
alias: "id",
|
|
517
|
+
required: false
|
|
518
|
+
}]
|
|
519
|
+
}],
|
|
520
|
+
required: [{
|
|
521
|
+
type: i0.Input,
|
|
522
|
+
args: [{
|
|
523
|
+
isSignal: true,
|
|
524
|
+
alias: "required",
|
|
525
|
+
required: false
|
|
526
|
+
}]
|
|
527
|
+
}],
|
|
528
|
+
labelPosition: [{
|
|
529
|
+
type: i0.Input,
|
|
530
|
+
args: [{
|
|
531
|
+
isSignal: true,
|
|
532
|
+
alias: "labelPosition",
|
|
533
|
+
required: false
|
|
534
|
+
}]
|
|
535
|
+
}],
|
|
536
|
+
name: [{
|
|
537
|
+
type: i0.Input,
|
|
538
|
+
args: [{
|
|
539
|
+
isSignal: true,
|
|
540
|
+
alias: "name",
|
|
541
|
+
required: false
|
|
542
|
+
}]
|
|
543
|
+
}],
|
|
544
|
+
submittedValue: [{
|
|
545
|
+
type: i0.Input,
|
|
546
|
+
args: [{
|
|
547
|
+
isSignal: true,
|
|
548
|
+
alias: "value",
|
|
549
|
+
required: false
|
|
550
|
+
}]
|
|
551
|
+
}],
|
|
552
|
+
disableRipple: [{
|
|
553
|
+
type: i0.Input,
|
|
554
|
+
args: [{
|
|
555
|
+
isSignal: true,
|
|
556
|
+
alias: "disableRipple",
|
|
557
|
+
required: false
|
|
558
|
+
}]
|
|
559
|
+
}],
|
|
560
|
+
tabIndex: [{
|
|
561
|
+
type: i0.Input,
|
|
562
|
+
args: [{
|
|
563
|
+
isSignal: true,
|
|
564
|
+
alias: "tabIndex",
|
|
565
|
+
required: false
|
|
566
|
+
}]
|
|
567
|
+
}],
|
|
568
|
+
color: [{
|
|
569
|
+
type: i0.Input,
|
|
570
|
+
args: [{
|
|
571
|
+
isSignal: true,
|
|
572
|
+
alias: "color",
|
|
573
|
+
required: false
|
|
574
|
+
}]
|
|
575
|
+
}],
|
|
576
|
+
disabledInteractive: [{
|
|
577
|
+
type: i0.Input,
|
|
578
|
+
args: [{
|
|
579
|
+
isSignal: true,
|
|
580
|
+
alias: "disabledInteractive",
|
|
581
|
+
required: false
|
|
582
|
+
}]
|
|
583
|
+
}],
|
|
584
|
+
checked: [{
|
|
585
|
+
type: i0.Input,
|
|
586
|
+
args: [{
|
|
587
|
+
isSignal: true,
|
|
588
|
+
alias: "checked",
|
|
589
|
+
required: false
|
|
590
|
+
}]
|
|
591
|
+
}, {
|
|
592
|
+
type: i0.Output,
|
|
593
|
+
args: ["checkedChange"]
|
|
594
|
+
}],
|
|
595
|
+
disabled: [{
|
|
596
|
+
type: i0.Input,
|
|
597
|
+
args: [{
|
|
598
|
+
isSignal: true,
|
|
599
|
+
alias: "disabled",
|
|
600
|
+
required: false
|
|
601
|
+
}]
|
|
602
|
+
}],
|
|
603
|
+
readonly: [{
|
|
604
|
+
type: i0.Input,
|
|
605
|
+
args: [{
|
|
606
|
+
isSignal: true,
|
|
607
|
+
alias: "readonly",
|
|
608
|
+
required: false
|
|
609
|
+
}]
|
|
610
|
+
}],
|
|
611
|
+
touch: [{
|
|
612
|
+
type: i0.Output,
|
|
613
|
+
args: ["touch"]
|
|
614
|
+
}],
|
|
615
|
+
indeterminateInput: [{
|
|
616
|
+
type: i0.Input,
|
|
617
|
+
args: [{
|
|
618
|
+
isSignal: true,
|
|
619
|
+
alias: "indeterminate",
|
|
620
|
+
required: false
|
|
621
|
+
}]
|
|
622
|
+
}],
|
|
623
|
+
change: [{
|
|
624
|
+
type: i0.Output,
|
|
625
|
+
args: ["change"]
|
|
626
|
+
}],
|
|
627
|
+
indeterminateChange: [{
|
|
628
|
+
type: i0.Output,
|
|
629
|
+
args: ["indeterminateChange"]
|
|
630
|
+
}],
|
|
631
|
+
_inputElement: [{
|
|
632
|
+
type: i0.ViewChild,
|
|
633
|
+
args: ["input", { isSignal: true }]
|
|
634
|
+
}],
|
|
635
|
+
_labelElement: [{
|
|
636
|
+
type: i0.ViewChild,
|
|
637
|
+
args: ["label", { isSignal: true }]
|
|
638
|
+
}]
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
var CheckboxDescription = class CheckboxDescription {
|
|
642
|
+
constructor() {}
|
|
643
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
644
|
+
minVersion: "12.0.0",
|
|
645
|
+
version: "22.3.0",
|
|
646
|
+
ngImport: i0,
|
|
647
|
+
type: CheckboxDescription,
|
|
648
|
+
deps: [],
|
|
649
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
650
|
+
});
|
|
651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
652
|
+
minVersion: "14.0.0",
|
|
653
|
+
version: "22.3.0",
|
|
654
|
+
type: CheckboxDescription,
|
|
655
|
+
isStandalone: true,
|
|
656
|
+
selector: "[ngsCheckboxDescription]",
|
|
657
|
+
ngImport: i0
|
|
658
|
+
});
|
|
659
|
+
};
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
661
|
+
minVersion: "12.0.0",
|
|
662
|
+
version: "22.3.0",
|
|
663
|
+
ngImport: i0,
|
|
664
|
+
type: CheckboxDescription,
|
|
665
|
+
decorators: [{
|
|
666
|
+
type: Directive,
|
|
667
|
+
args: [{ selector: "[ngsCheckboxDescription]" }]
|
|
668
|
+
}],
|
|
669
|
+
ctorParameters: () => []
|
|
670
|
+
});
|
|
671
|
+
var CheckboxGroup = class CheckboxGroup {
|
|
672
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
673
|
+
minVersion: "12.0.0",
|
|
674
|
+
version: "22.3.0",
|
|
675
|
+
ngImport: i0,
|
|
676
|
+
type: CheckboxGroup,
|
|
677
|
+
deps: [],
|
|
678
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
679
|
+
});
|
|
680
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
681
|
+
minVersion: "14.0.0",
|
|
682
|
+
version: "22.3.0",
|
|
683
|
+
type: CheckboxGroup,
|
|
684
|
+
isStandalone: true,
|
|
685
|
+
selector: "ngs-checkbox-group",
|
|
686
|
+
host: {
|
|
687
|
+
attributes: { "role": "group" },
|
|
688
|
+
classAttribute: "ngs-checkbox-group"
|
|
689
|
+
},
|
|
690
|
+
ngImport: i0,
|
|
691
|
+
template: "<ng-content />\n",
|
|
692
|
+
styles: [":host{--ngs-checkbox-group-gap: calc(var(--spacing, .25rem) * 4);display:flex;flex-direction:column;gap:var(--ngs-checkbox-group-gap)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
693
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
694
|
+
});
|
|
695
|
+
};
|
|
696
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
697
|
+
minVersion: "12.0.0",
|
|
698
|
+
version: "22.3.0",
|
|
699
|
+
ngImport: i0,
|
|
700
|
+
type: CheckboxGroup,
|
|
701
|
+
decorators: [{
|
|
702
|
+
type: Component,
|
|
703
|
+
args: [{
|
|
704
|
+
selector: "ngs-checkbox-group",
|
|
705
|
+
imports: [],
|
|
706
|
+
host: {
|
|
707
|
+
"class": "ngs-checkbox-group",
|
|
708
|
+
"role": "group"
|
|
709
|
+
},
|
|
710
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
711
|
+
template: "<ng-content />\n",
|
|
712
|
+
styles: [":host{--ngs-checkbox-group-gap: calc(var(--spacing, .25rem) * 4);display:flex;flex-direction:column;gap:var(--ngs-checkbox-group-gap)}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
713
|
+
}]
|
|
714
|
+
}]
|
|
715
|
+
});
|
|
310
716
|
export { Checkbox, CheckboxChange, CheckboxDescription, CheckboxGroup, TransitionCheckState };
|
|
311
|
-
|
|
717
|
+
|
|
718
|
+
//# sourceMappingURL=ngstarter-ui-components-checkbox.mjs.map
|