@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
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { ContentEditorUploadBlockBase, contentEditorFileSize, contentEditorResourceUrl } from "./ngstarter-ui-components-content-editor.mjs";
|
|
2
|
+
import { t as ContentEditorUploadStatus } from "./upload-status-tZ0x0BUB.mjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ChangeDetectionStrategy, Component, computed } from "@angular/core";
|
|
5
|
+
import { Icon } from "@ngstarter-ui/components/icon";
|
|
6
|
+
import { Button } from "@ngstarter-ui/components/button";
|
|
7
|
+
import { FormField, Label } from "@ngstarter-ui/components/form-field";
|
|
8
|
+
import { Input as Input$1 } from "@ngstarter-ui/components/input";
|
|
9
|
+
import { UploadArea, UploadTriggerDirective } from "@ngstarter-ui/components/upload";
|
|
10
|
+
var ContentEditorAttachmentBlock = class ContentEditorAttachmentBlock extends ContentEditorUploadBlockBase {
|
|
11
|
+
sizeLabel = computed(() => contentEditorFileSize(this.content().size), ...ngDevMode ? [{ debugName: "sizeLabel" }] : /* istanbul ignore next */ []);
|
|
12
|
+
href = computed(() => contentEditorResourceUrl(this.content().url), ...ngDevMode ? [{ debugName: "href" }] : /* istanbul ignore next */ []);
|
|
13
|
+
changeName(event) {
|
|
14
|
+
this.save({
|
|
15
|
+
...this.latestContent(),
|
|
16
|
+
name: event.target.value
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
async upload(event) {
|
|
20
|
+
const file = event.files[0];
|
|
21
|
+
if (!file) return;
|
|
22
|
+
await this.uploadFiles("attachment", {
|
|
23
|
+
files: [file],
|
|
24
|
+
apply: (results) => {
|
|
25
|
+
const { url, file } = results[0];
|
|
26
|
+
this.save({
|
|
27
|
+
url,
|
|
28
|
+
name: file.name,
|
|
29
|
+
size: file.size,
|
|
30
|
+
mimeType: file.type
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
36
|
+
minVersion: "12.0.0",
|
|
37
|
+
version: "22.3.0",
|
|
38
|
+
ngImport: i0,
|
|
39
|
+
type: ContentEditorAttachmentBlock,
|
|
40
|
+
deps: null,
|
|
41
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
42
|
+
});
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
44
|
+
minVersion: "17.0.0",
|
|
45
|
+
version: "22.3.0",
|
|
46
|
+
type: ContentEditorAttachmentBlock,
|
|
47
|
+
isStandalone: true,
|
|
48
|
+
selector: "ngs-content-editor-attachment-block",
|
|
49
|
+
usesInheritance: true,
|
|
50
|
+
ngImport: i0,
|
|
51
|
+
template: "<div class=\"flex flex-col gap-3\">\n @if (href()) {\n <div class=\"flex items-center gap-3\">\n <ngs-icon name=\"fluent:document-24-regular\"/>\n <div class=\"min-w-0 flex-1\"><div class=\"truncate\">{{content().name}}</div><div class=\"text-xs\">{{sizeLabel()}} · {{content().mimeType}}</div></div>\n <a ngsButton [href]=\"href()\" [attr.download]=\"content().name\" target=\"_blank\" rel=\"noopener noreferrer\">Download</a>\n </div>\n <ngs-form-field><ngs-label>File name</ngs-label><input ngsInput [value]=\"content().name\" (input)=\"changeName($event)\"></ngs-form-field>\n }\n <ngs-content-editor-upload-status [task]=\"uploadTask\"/>\n @if (!uploading()) {\n <ngs-upload-area ngsUploadTrigger [multiple]=\"false\" (fileSelected)=\"upload($event)\">\n {{href() ? 'Click or drop a file to replace it' : 'Click or drop a file to attach it'}}\n </ngs-upload-area>\n }\n</div>\n",
|
|
52
|
+
dependencies: [
|
|
53
|
+
{
|
|
54
|
+
kind: "component",
|
|
55
|
+
type: ContentEditorUploadStatus,
|
|
56
|
+
selector: "ngs-content-editor-upload-status",
|
|
57
|
+
inputs: ["task"]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
kind: "component",
|
|
61
|
+
type: UploadArea,
|
|
62
|
+
selector: "ngs-upload-area",
|
|
63
|
+
inputs: [
|
|
64
|
+
"accept",
|
|
65
|
+
"allowHover",
|
|
66
|
+
"multiple"
|
|
67
|
+
],
|
|
68
|
+
outputs: ["fileSelected"],
|
|
69
|
+
exportAs: ["ngsUploadArea"]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
kind: "directive",
|
|
73
|
+
type: UploadTriggerDirective,
|
|
74
|
+
selector: "[ngsUploadTrigger]",
|
|
75
|
+
inputs: ["accept", "multiple"],
|
|
76
|
+
outputs: ["fileSelected"],
|
|
77
|
+
exportAs: ["ngsUploadTrigger"]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
kind: "component",
|
|
81
|
+
type: Button,
|
|
82
|
+
selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
|
|
83
|
+
inputs: [
|
|
84
|
+
"ngsButton",
|
|
85
|
+
"ngsIconButton",
|
|
86
|
+
"loading",
|
|
87
|
+
"disabled",
|
|
88
|
+
"disabledInteractive",
|
|
89
|
+
"disableRipple",
|
|
90
|
+
"reverse",
|
|
91
|
+
"fullWidth",
|
|
92
|
+
"hideTextOnMobile"
|
|
93
|
+
],
|
|
94
|
+
exportAs: ["ngsButton"]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
kind: "component",
|
|
98
|
+
type: Icon,
|
|
99
|
+
selector: "ngs-icon",
|
|
100
|
+
inputs: ["name"],
|
|
101
|
+
exportAs: ["ngsIcon"]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
kind: "component",
|
|
105
|
+
type: FormField,
|
|
106
|
+
selector: "ngs-form-field",
|
|
107
|
+
inputs: [
|
|
108
|
+
"labelMode",
|
|
109
|
+
"subscriptHiddenIfEmpty",
|
|
110
|
+
"sameHeightAsButton"
|
|
111
|
+
],
|
|
112
|
+
exportAs: ["ngsFormField"]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
kind: "component",
|
|
116
|
+
type: Label,
|
|
117
|
+
selector: "ngs-label"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
kind: "directive",
|
|
121
|
+
type: Input$1,
|
|
122
|
+
selector: "input[ngsInput], textarea[ngsInput]",
|
|
123
|
+
inputs: [
|
|
124
|
+
"id",
|
|
125
|
+
"placeholder",
|
|
126
|
+
"required",
|
|
127
|
+
"disabled",
|
|
128
|
+
"readonly",
|
|
129
|
+
"errorStateMatcher"
|
|
130
|
+
],
|
|
131
|
+
exportAs: ["ngsInput"]
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
138
|
+
minVersion: "12.0.0",
|
|
139
|
+
version: "22.3.0",
|
|
140
|
+
ngImport: i0,
|
|
141
|
+
type: ContentEditorAttachmentBlock,
|
|
142
|
+
decorators: [{
|
|
143
|
+
type: Component,
|
|
144
|
+
args: [{
|
|
145
|
+
selector: "ngs-content-editor-attachment-block",
|
|
146
|
+
imports: [
|
|
147
|
+
ContentEditorUploadStatus,
|
|
148
|
+
UploadArea,
|
|
149
|
+
UploadTriggerDirective,
|
|
150
|
+
Button,
|
|
151
|
+
Icon,
|
|
152
|
+
FormField,
|
|
153
|
+
Label,
|
|
154
|
+
Input$1
|
|
155
|
+
],
|
|
156
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
157
|
+
template: "<div class=\"flex flex-col gap-3\">\n @if (href()) {\n <div class=\"flex items-center gap-3\">\n <ngs-icon name=\"fluent:document-24-regular\"/>\n <div class=\"min-w-0 flex-1\"><div class=\"truncate\">{{content().name}}</div><div class=\"text-xs\">{{sizeLabel()}} · {{content().mimeType}}</div></div>\n <a ngsButton [href]=\"href()\" [attr.download]=\"content().name\" target=\"_blank\" rel=\"noopener noreferrer\">Download</a>\n </div>\n <ngs-form-field><ngs-label>File name</ngs-label><input ngsInput [value]=\"content().name\" (input)=\"changeName($event)\"></ngs-form-field>\n }\n <ngs-content-editor-upload-status [task]=\"uploadTask\"/>\n @if (!uploading()) {\n <ngs-upload-area ngsUploadTrigger [multiple]=\"false\" (fileSelected)=\"upload($event)\">\n {{href() ? 'Click or drop a file to replace it' : 'Click or drop a file to attach it'}}\n </ngs-upload-area>\n }\n</div>\n"
|
|
158
|
+
}]
|
|
159
|
+
}]
|
|
160
|
+
});
|
|
161
|
+
export { ContentEditorAttachmentBlock };
|
|
162
|
+
|
|
163
|
+
//# sourceMappingURL=attachment-block-BK9QxVjq.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-block-BK9QxVjq.mjs","names":["Input"],"sources":["../../../projects/components/content-editor/src/_builder/attachment-block/attachment-block.ts","../../../projects/components/content-editor/src/_builder/attachment-block/attachment-block.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { UploadArea, UploadTriggerDirective, UploadFileSelectedEvent } from '@ngstarter-ui/components/upload';\nimport { Button } from '@ngstarter-ui/components/button';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { FormField, Label } from '@ngstarter-ui/components/form-field';\nimport { Input } from '@ngstarter-ui/components/input';\nimport { ContentEditorUploadBlockBase } from '../upload-block-base';\nimport { ContentEditorAttachmentContent } from '../../types';\nimport { ContentEditorUploadStatus } from '../upload-status/upload-status';\nimport { contentEditorFileSize, contentEditorResourceUrl } from '../../upload';\n\n@Component({\n selector: 'ngs-content-editor-attachment-block',\n imports: [ContentEditorUploadStatus, UploadArea, UploadTriggerDirective, Button, Icon, FormField, Label, Input],\n templateUrl: './attachment-block.html', changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ContentEditorAttachmentBlock extends ContentEditorUploadBlockBase<ContentEditorAttachmentContent> {\n readonly sizeLabel = computed(() => contentEditorFileSize(this.content().size));\n readonly href = computed(() => contentEditorResourceUrl(this.content().url));\n changeName(event: Event): void { this.save({ ...this.latestContent(), name: (event.target as HTMLInputElement).value }); }\n async upload(event: UploadFileSelectedEvent): Promise<void> {\n const file = event.files[0];\n if (!file) return;\n await this.uploadFiles('attachment', { files: [file], apply: results => {\n const { url, file } = results[0];\n this.save({ url, name: file.name, size: file.size, mimeType: file.type });\n } });\n }\n}\n","<div class=\"flex flex-col gap-3\">\n @if (href()) {\n <div class=\"flex items-center gap-3\">\n <ngs-icon name=\"fluent:document-24-regular\"/>\n <div class=\"min-w-0 flex-1\"><div class=\"truncate\">{{content().name}}</div><div class=\"text-xs\">{{sizeLabel()}} · {{content().mimeType}}</div></div>\n <a ngsButton [href]=\"href()\" [attr.download]=\"content().name\" target=\"_blank\" rel=\"noopener noreferrer\">Download</a>\n </div>\n <ngs-form-field><ngs-label>File name</ngs-label><input ngsInput [value]=\"content().name\" (input)=\"changeName($event)\"></ngs-form-field>\n }\n <ngs-content-editor-upload-status [task]=\"uploadTask\"/>\n @if (!uploading()) {\n <ngs-upload-area ngsUploadTrigger [multiple]=\"false\" (fileSelected)=\"upload($event)\">\n {{href() ? 'Click or drop a file to replace it' : 'Click or drop a file to attach it'}}\n </ngs-upload-area>\n }\n</div>\n"],"mappings":";;;;;;;;;AAgBA,IAAa,+BAAb,MAAa,qCAAqC,6BAA4D;CACnG,YAAY,eAAe,sBAAsB,KAAK,QAAO,CAAE,CAAC,IAAI,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;CACtE,OAAO,eAAe,yBAAyB,KAAK,QAAO,CAAE,CAAC,GAAG,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC5E,WAAW,OAAY;EAAU,KAAK,KAAK;GAAE,GAAG,KAAK,cAAa;GAAI,MAAO,MAAM,OAA4B;EAAK,CAAE;CAAG;CACzH,MAAM,OAAO,OAA8B;EACzC,MAAM,OAAO,MAAM,MAAM;EACzB,IAAI,CAAC,MAAM;EACX,MAAM,KAAK,YAAY,cAAc;GAAE,OAAO,CAAC,IAAI;GAAG,QAAO,YAAU;IACrE,MAAM,EAAE,KAAK,SAAS,QAAQ;IAC9B,KAAK,KAAK;KAAE;KAAK,MAAM,KAAK;KAAM,MAAM,KAAK;KAAM,UAAU,KAAK;IAAI,CAAE;GAC1E;EAAC,CAAE;CACL;CAXW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA4B,MAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA5B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA4B,cAAA;EAAA,UAAA;EAAA,iBAAA;EAAA,UAAA;EAAA,UChBzC;EAgBA,cAAA;GAAA;IAAA,MAAA;IAAA,MDHY;IAAyB,UAAA;IAAA,QAAA,CAAA,MAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAU,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,cAAA;IAAA,UAAA,CAAA,eAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAsB,UAAA;IAAA,QAAA,CAAA,UAAA,UAAA;IAAA,SAAA,CAAA,cAAA;IAAA,UAAA,CAAA,kBAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAM,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,UAAA,CAAA,WAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAI,UAAA;IAAA,QAAA,CAAA,MAAA;IAAA,UAAA,CAAA,SAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAS,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;IAAA,UAAA,CAAA,cAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAK,UAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAEA;IAAK,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,UAAA,CAAA,UAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAGnG,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA4B,YAAA,CAAA;EALxC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAqC,SACtC;IAAC;IAA2B;IAAY;IAAwB;IAAQ;IAAM;IAAW;IAAOA;GAAK;GAAC,iBACtD,wBAAwB;GAAM,UAAA;EAAA,CAAA"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { ContentEditorBlockBase } from "./ngstarter-ui-components-content-editor.mjs";
|
|
2
|
+
import { t as ContentEditorContentEditableDirective } from "./content-editor-content-editable.directive-WzD9_71s.mjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ChangeDetectionStrategy, Component, computed } from "@angular/core";
|
|
5
|
+
import { Icon } from "@ngstarter-ui/components/icon";
|
|
6
|
+
import { Button } from "@ngstarter-ui/components/button";
|
|
7
|
+
import { Menu, MenuItem, MenuTrigger } from "@ngstarter-ui/components/menu";
|
|
8
|
+
import { Alert, AlertActionDirective, AlertIconDirective } from "@ngstarter-ui/components/alert";
|
|
9
|
+
var ContentEditorCalloutBlock = class ContentEditorCalloutBlock extends ContentEditorBlockBase {
|
|
10
|
+
variants = [
|
|
11
|
+
"note",
|
|
12
|
+
"tip",
|
|
13
|
+
"warning",
|
|
14
|
+
"danger"
|
|
15
|
+
];
|
|
16
|
+
appearance = computed(() => ({
|
|
17
|
+
note: "informative",
|
|
18
|
+
tip: "positive",
|
|
19
|
+
warning: "notice",
|
|
20
|
+
danger: "negative"
|
|
21
|
+
})[this.settings().variant] ?? "informative", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
22
|
+
icon = computed(() => ({
|
|
23
|
+
note: "fluent:info-24-regular",
|
|
24
|
+
tip: "fluent:lightbulb-24-regular",
|
|
25
|
+
warning: "fluent:warning-24-regular",
|
|
26
|
+
danger: "fluent:error-circle-24-regular"
|
|
27
|
+
})[this.settings().variant] ?? "fluent:info-24-regular", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
28
|
+
changeVariant(variant) {
|
|
29
|
+
this.save(this.content(), {
|
|
30
|
+
...this.settings(),
|
|
31
|
+
variant
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
changeText(content) {
|
|
35
|
+
this.save(content);
|
|
36
|
+
}
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
38
|
+
minVersion: "12.0.0",
|
|
39
|
+
version: "22.3.0",
|
|
40
|
+
ngImport: i0,
|
|
41
|
+
type: ContentEditorCalloutBlock,
|
|
42
|
+
deps: null,
|
|
43
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
44
|
+
});
|
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
46
|
+
minVersion: "17.0.0",
|
|
47
|
+
version: "22.3.0",
|
|
48
|
+
type: ContentEditorCalloutBlock,
|
|
49
|
+
isStandalone: true,
|
|
50
|
+
selector: "ngs-content-editor-callout-block",
|
|
51
|
+
usesInheritance: true,
|
|
52
|
+
ngImport: i0,
|
|
53
|
+
template: "<ngs-alert [variant]=\"appearance()\" [class.settings-open]=\"settingsTrigger.menuOpen()\">\n <ng-template ngsAlertIcon><ngs-icon [name]=\"icon()\"/></ng-template>\n <div class=\"min-w-0 break-words outline-none\" [ngsContentEditorContentEditable]=\"content()\" [props]=\"props()\"\n (propsChanged)=\"store.updateBlock(id(), {props: $event})\" (contentChanged)=\"changeText($event)\" data-empty-placeholder=\"Write a note…\"></div>\n <button ngsIconButton ngsAlertAction [ngsMenuTriggerFor]=\"variantMenu\" #settingsTrigger=\"ngsMenuTrigger\"\n aria-label=\"Callout style\"><ngs-icon name=\"fluent:more-horizontal-24-regular\"/></button>\n</ngs-alert>\n<ngs-menu #variantMenu>\n @for (variant of variants; track variant) { <button ngs-menu-item (click)=\"changeVariant(variant)\">{{variant}}</button> }\n</ngs-menu>\n",
|
|
54
|
+
styles: [":host{display:block;min-width:0}:host ngs-alert ::ng-deep>.content{flex:1;min-width:0}:host ngs-alert button[ngsAlertAction]{--ngs-button-height: calc(var(--spacing, .25rem) * 8);--ngs-button-color: inherit;opacity:0;pointer-events:none}:host ngs-alert:hover button[ngsAlertAction],:host ngs-alert:focus-within button[ngsAlertAction],:host ngs-alert.settings-open button[ngsAlertAction]{opacity:1;pointer-events:auto}@media(hover:none){:host ngs-alert button[ngsAlertAction]{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
55
|
+
dependencies: [
|
|
56
|
+
{
|
|
57
|
+
kind: "component",
|
|
58
|
+
type: Alert,
|
|
59
|
+
selector: "ngs-alert",
|
|
60
|
+
inputs: [
|
|
61
|
+
"autoClose",
|
|
62
|
+
"bordered",
|
|
63
|
+
"variant"
|
|
64
|
+
],
|
|
65
|
+
outputs: ["closed"],
|
|
66
|
+
exportAs: ["ngsAlert"]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
kind: "directive",
|
|
70
|
+
type: AlertIconDirective,
|
|
71
|
+
selector: "[ngsAlertIcon]",
|
|
72
|
+
exportAs: ["ngsAlertIcon"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
kind: "directive",
|
|
76
|
+
type: AlertActionDirective,
|
|
77
|
+
selector: "[ngsAlertAction]",
|
|
78
|
+
exportAs: ["ngsAlertAction"]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
kind: "component",
|
|
82
|
+
type: Icon,
|
|
83
|
+
selector: "ngs-icon",
|
|
84
|
+
inputs: ["name"],
|
|
85
|
+
exportAs: ["ngsIcon"]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
kind: "component",
|
|
89
|
+
type: Button,
|
|
90
|
+
selector: "\n button[ngsButton], button[ngsIconButton],\n a[ngsButton], a[ngsIconButton]\n ",
|
|
91
|
+
inputs: [
|
|
92
|
+
"ngsButton",
|
|
93
|
+
"ngsIconButton",
|
|
94
|
+
"loading",
|
|
95
|
+
"disabled",
|
|
96
|
+
"disabledInteractive",
|
|
97
|
+
"disableRipple",
|
|
98
|
+
"reverse",
|
|
99
|
+
"fullWidth",
|
|
100
|
+
"hideTextOnMobile"
|
|
101
|
+
],
|
|
102
|
+
exportAs: ["ngsButton"]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
kind: "component",
|
|
106
|
+
type: Menu,
|
|
107
|
+
selector: "ngs-menu",
|
|
108
|
+
inputs: [
|
|
109
|
+
"themeSource",
|
|
110
|
+
"role",
|
|
111
|
+
"classList",
|
|
112
|
+
"xPosition",
|
|
113
|
+
"yPosition",
|
|
114
|
+
"pushIntoViewport"
|
|
115
|
+
],
|
|
116
|
+
outputs: ["closed"],
|
|
117
|
+
exportAs: ["ngsMenu"]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
kind: "component",
|
|
121
|
+
type: MenuItem,
|
|
122
|
+
selector: "ngs-menu-item, [ngs-menu-item]",
|
|
123
|
+
inputs: [
|
|
124
|
+
"disabled",
|
|
125
|
+
"role",
|
|
126
|
+
"selected"
|
|
127
|
+
],
|
|
128
|
+
outputs: ["_triggered"],
|
|
129
|
+
exportAs: ["ngsMenuItem"]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
kind: "directive",
|
|
133
|
+
type: MenuTrigger,
|
|
134
|
+
selector: "[ngsMenuTriggerFor]",
|
|
135
|
+
inputs: [
|
|
136
|
+
"ngsMenuTriggerFor",
|
|
137
|
+
"ngsMenuTriggerData",
|
|
138
|
+
"ngsMenuDisabled",
|
|
139
|
+
"xPosition",
|
|
140
|
+
"yPosition",
|
|
141
|
+
"ngsMenuTriggerRestoreFocus"
|
|
142
|
+
],
|
|
143
|
+
outputs: ["menuOpened", "menuClosed"],
|
|
144
|
+
exportAs: ["ngsMenuTrigger"]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
kind: "directive",
|
|
148
|
+
type: ContentEditorContentEditableDirective,
|
|
149
|
+
selector: "[ngsContentEditorContentEditable]",
|
|
150
|
+
inputs: [
|
|
151
|
+
"ngsContentEditorContentEditable",
|
|
152
|
+
"settings",
|
|
153
|
+
"props",
|
|
154
|
+
"singleLine"
|
|
155
|
+
],
|
|
156
|
+
outputs: [
|
|
157
|
+
"contentChanged",
|
|
158
|
+
"propsChanged",
|
|
159
|
+
"pressedEnter",
|
|
160
|
+
"initialized"
|
|
161
|
+
],
|
|
162
|
+
exportAs: ["ngsContentEditorContentEditable"]
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
169
|
+
minVersion: "12.0.0",
|
|
170
|
+
version: "22.3.0",
|
|
171
|
+
ngImport: i0,
|
|
172
|
+
type: ContentEditorCalloutBlock,
|
|
173
|
+
decorators: [{
|
|
174
|
+
type: Component,
|
|
175
|
+
args: [{
|
|
176
|
+
selector: "ngs-content-editor-callout-block",
|
|
177
|
+
imports: [
|
|
178
|
+
Alert,
|
|
179
|
+
AlertIconDirective,
|
|
180
|
+
AlertActionDirective,
|
|
181
|
+
Icon,
|
|
182
|
+
Button,
|
|
183
|
+
Menu,
|
|
184
|
+
MenuItem,
|
|
185
|
+
MenuTrigger,
|
|
186
|
+
ContentEditorContentEditableDirective
|
|
187
|
+
],
|
|
188
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
189
|
+
template: "<ngs-alert [variant]=\"appearance()\" [class.settings-open]=\"settingsTrigger.menuOpen()\">\n <ng-template ngsAlertIcon><ngs-icon [name]=\"icon()\"/></ng-template>\n <div class=\"min-w-0 break-words outline-none\" [ngsContentEditorContentEditable]=\"content()\" [props]=\"props()\"\n (propsChanged)=\"store.updateBlock(id(), {props: $event})\" (contentChanged)=\"changeText($event)\" data-empty-placeholder=\"Write a note…\"></div>\n <button ngsIconButton ngsAlertAction [ngsMenuTriggerFor]=\"variantMenu\" #settingsTrigger=\"ngsMenuTrigger\"\n aria-label=\"Callout style\"><ngs-icon name=\"fluent:more-horizontal-24-regular\"/></button>\n</ngs-alert>\n<ngs-menu #variantMenu>\n @for (variant of variants; track variant) { <button ngs-menu-item (click)=\"changeVariant(variant)\">{{variant}}</button> }\n</ngs-menu>\n",
|
|
190
|
+
styles: [":host{display:block;min-width:0}:host ngs-alert ::ng-deep>.content{flex:1;min-width:0}:host ngs-alert button[ngsAlertAction]{--ngs-button-height: calc(var(--spacing, .25rem) * 8);--ngs-button-color: inherit;opacity:0;pointer-events:none}:host ngs-alert:hover button[ngsAlertAction],:host ngs-alert:focus-within button[ngsAlertAction],:host ngs-alert.settings-open button[ngsAlertAction]{opacity:1;pointer-events:auto}@media(hover:none){:host ngs-alert button[ngsAlertAction]{opacity:1;pointer-events:auto}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
191
|
+
}]
|
|
192
|
+
}]
|
|
193
|
+
});
|
|
194
|
+
export { ContentEditorCalloutBlock };
|
|
195
|
+
|
|
196
|
+
//# sourceMappingURL=callout-block-Bl4GZYz8.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callout-block-Bl4GZYz8.mjs","names":[],"sources":["../../../projects/components/content-editor/src/_builder/callout-block/callout-block.ts","../../../projects/components/content-editor/src/_builder/callout-block/callout-block.html"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { Alert, AlertIconDirective, AlertActionDirective } from '@ngstarter-ui/components/alert';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { Button } from '@ngstarter-ui/components/button';\nimport { Menu, MenuItem, MenuTrigger } from '@ngstarter-ui/components/menu';\nimport { ContentEditorBlockBase } from '../block-base';\nimport { ContentEditorContentEditableDirective } from '../../content-editor-content-editable.directive';\nimport { ContentEditorCalloutSettings, ContentEditorCalloutVariant, ContentEditorText } from '../../types';\n\n@Component({\n selector: 'ngs-content-editor-callout-block',\n imports: [Alert, AlertIconDirective, AlertActionDirective, Icon, Button, Menu, MenuItem, MenuTrigger, ContentEditorContentEditableDirective],\n templateUrl: './callout-block.html', styleUrl: './callout-block.scss', changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ContentEditorCalloutBlock extends ContentEditorBlockBase<ContentEditorText, ContentEditorCalloutSettings> {\n readonly variants: ContentEditorCalloutVariant[] = ['note', 'tip', 'warning', 'danger'];\n readonly appearance = computed(() => ({ note: 'informative', tip: 'positive', warning: 'notice', danger: 'negative' })[this.settings().variant] ?? 'informative');\n readonly icon = computed(() => ({ note: 'fluent:info-24-regular', tip: 'fluent:lightbulb-24-regular', warning: 'fluent:warning-24-regular', danger: 'fluent:error-circle-24-regular' })[this.settings().variant] ?? 'fluent:info-24-regular');\n changeVariant(variant: ContentEditorCalloutVariant): void { this.save(this.content(), { ...this.settings(), variant }); }\n changeText(content: ContentEditorText): void { this.save(content); }\n}\n","<ngs-alert [variant]=\"appearance()\" [class.settings-open]=\"settingsTrigger.menuOpen()\">\n <ng-template ngsAlertIcon><ngs-icon [name]=\"icon()\"/></ng-template>\n <div class=\"min-w-0 break-words outline-none\" [ngsContentEditorContentEditable]=\"content()\" [props]=\"props()\"\n (propsChanged)=\"store.updateBlock(id(), {props: $event})\" (contentChanged)=\"changeText($event)\" data-empty-placeholder=\"Write a note…\"></div>\n <button ngsIconButton ngsAlertAction [ngsMenuTriggerFor]=\"variantMenu\" #settingsTrigger=\"ngsMenuTrigger\"\n aria-label=\"Callout style\"><ngs-icon name=\"fluent:more-horizontal-24-regular\"/></button>\n</ngs-alert>\n<ngs-menu #variantMenu>\n @for (variant of variants; track variant) { <button ngs-menu-item (click)=\"changeVariant(variant)\">{{variant}}</button> }\n</ngs-menu>\n"],"mappings":";;;;;;;;AAcA,IAAa,4BAAb,MAAa,kCAAkC,uBAAuE;CAC3G,WAA0C;EAAC;EAAQ;EAAO;EAAW;CAAQ;CAC7E,aAAa,gBAAgB;EAAE,MAAM;EAAe,KAAK;EAAY,SAAS;EAAU,QAAQ;CAAU,EAAA,CAAI,KAAK,SAAQ,CAAE,CAAC,YAAY,eAAc,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CACxJ,OAAO,gBAAgB;EAAE,MAAM;EAA0B,KAAK;EAA+B,SAAS;EAA6B,QAAQ;CAAgC,EAAA,CAAI,KAAK,SAAQ,CAAE,CAAC,YAAY,0BAAyB,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAC7O,cAAc,SAAoC;EAAU,KAAK,KAAK,KAAK,QAAO,GAAI;GAAE,GAAG,KAAK,SAAQ;GAAI;EAAO,CAAE;CAAG;CACxH,WAAW,SAA0B;EAAU,KAAK,KAAK,OAAO;CAAG;CALxD,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAyB,MAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAzB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAyB,cAAA;EAAA,UAAA;EAAA,iBAAA;EAAA,UAAA;EAAA,UCdtC;EAUA,QAAA,CAAA,ikBAAA;EAAA,cAAA;GAAA;IAAA,MAAA;IAAA,MDCY;IAAK,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,QAAA;IAAA,UAAA,CAAA,UAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAkB,UAAA;IAAA,UAAA,CAAA,cAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAoB,UAAA;IAAA,UAAA,CAAA,gBAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAI,UAAA;IAAA,QAAA,CAAA,MAAA;IAAA,UAAA,CAAA,SAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAM,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,UAAA,CAAA,WAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAI,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,QAAA;IAAA,UAAA,CAAA,SAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAQ,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,YAAA;IAAA,UAAA,CAAA,aAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAW,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA,CAAA,cAAA,YAAA;IAAA,UAAA,CAAA,gBAAA;GAAA;GAAA;IAAA,MAAA;IAAA,MAAE;IAAqC,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,SAAA;KAAA;KAAA;KAAA;KAAA;IAAA;IAAA,UAAA,CAAA,iCAAA;GAAA;EAAA;EAAA,iBAAA,GAAA,wBAAA;CAAA,CAAA;;AAGhI,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EALrC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAkC,SACnC;IAAC;IAAO;IAAoB;IAAsB;IAAM;IAAQ;IAAM;IAAU;IAAa;GAAqC;GAAC,iBACpD,wBAAwB;GAAM,UAAA;GAAA,QAAA,CAAA,ikBAAA;EAAA,CAAA"}
|