@mintplayer/ng-bootstrap 22.0.0 → 22.2.0
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/a11y/package.json +4 -0
- package/accordion/package.json +4 -0
- package/alert/package.json +4 -0
- package/badge/package.json +4 -0
- package/breadcrumb/package.json +4 -0
- package/button-group/package.json +4 -0
- package/button-type/package.json +4 -0
- package/calendar/package.json +4 -0
- package/calendar-month/package.json +4 -0
- package/card/package.json +4 -0
- package/carousel/package.json +4 -0
- package/checkbox/package.json +4 -0
- package/close/package.json +4 -0
- package/code-snippet/package.json +4 -0
- package/color-picker/package.json +4 -0
- package/container/package.json +4 -0
- package/context-menu/package.json +4 -0
- package/copy/package.json +4 -0
- package/datatable/package.json +4 -0
- package/datepicker/package.json +4 -0
- package/datetime-picker/package.json +4 -0
- package/dock/package.json +4 -0
- package/dropdown/package.json +4 -0
- package/dropdown-divider/package.json +4 -0
- package/dropdown-menu/package.json +4 -0
- package/enhanced-paste/package.json +4 -0
- package/enum/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +470 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +105 -0
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +53 -0
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +26 -0
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +36 -0
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +22 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +37 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +136 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +71 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +338 -0
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +290 -0
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +240 -0
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +45 -0
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +703 -0
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +18 -0
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +88 -0
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +47 -0
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +659 -0
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +153 -0
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +166 -0
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +135 -0
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +206 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +338 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +62 -0
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +38 -0
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +242 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +144 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +42 -0
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +61 -0
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +133 -0
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +32 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +18 -0
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +185 -0
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +47 -0
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +28 -0
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +118 -0
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +22 -0
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +254 -0
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +174 -0
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +33 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +751 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +234 -0
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +31 -0
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +386 -0
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +36 -0
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +264 -0
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +61 -0
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +29 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +66 -0
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +33 -0
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +256 -0
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +272 -0
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +81 -0
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +278 -0
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +189 -0
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +79 -0
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +84 -0
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +60 -0
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +408 -0
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +1028 -0
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +248 -0
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +186 -0
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +215 -0
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +90 -0
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +81 -0
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +30 -0
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +30 -0
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +46 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +142 -0
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +46 -0
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +124 -0
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +215 -0
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +233 -0
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +132 -0
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +168 -0
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +178 -0
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +324 -0
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +189 -0
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +28 -0
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +121 -0
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +24 -0
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +102 -0
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +48 -0
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -0
- package/file-manager/package.json +4 -0
- package/file-upload/package.json +4 -0
- package/floating-labels/package.json +4 -0
- package/font-color/package.json +4 -0
- package/for/package.json +4 -0
- package/form/package.json +4 -0
- package/grid/package.json +4 -0
- package/has-id/package.json +4 -0
- package/has-overlay/package.json +4 -0
- package/has-property/package.json +4 -0
- package/in-list/package.json +4 -0
- package/input-group/package.json +4 -0
- package/instance-of/package.json +4 -0
- package/let/package.json +4 -0
- package/linify/package.json +4 -0
- package/list-group/package.json +4 -0
- package/markdown/package.json +4 -0
- package/marquee/package.json +4 -0
- package/modal/package.json +4 -0
- package/multi-range/package.json +4 -0
- package/navbar/package.json +4 -0
- package/navbar-toggler/package.json +4 -0
- package/navigation-lock/package.json +4 -0
- package/no-noscript/package.json +4 -0
- package/offcanvas/package.json +4 -0
- package/ordinal-number/package.json +4 -0
- package/otp-input/package.json +4 -0
- package/package.json +376 -2
- package/pagination/package.json +4 -0
- package/parallax/package.json +4 -0
- package/placeholder/package.json +4 -0
- package/playlist-toggler/package.json +4 -0
- package/popover/package.json +4 -0
- package/priority-nav/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/query-builder/package.json +4 -0
- package/radio/package.json +4 -0
- package/range/package.json +4 -0
- package/rating/package.json +4 -0
- package/reduced-motion/package.json +4 -0
- package/resizable/package.json +4 -0
- package/ribbon/package.json +4 -0
- package/scheduler/package.json +4 -0
- package/scrollspy/package.json +4 -0
- package/select/package.json +4 -0
- package/shell/package.json +4 -0
- package/signature-pad/package.json +4 -0
- package/slugify/package.json +4 -0
- package/spinner/package.json +4 -0
- package/split-string/package.json +4 -0
- package/sticky-footer/package.json +4 -0
- package/tab-control/package.json +4 -0
- package/table/package.json +4 -0
- package/theming/package.json +4 -0
- package/tile-manager/package.json +4 -0
- package/timeline/package.json +4 -0
- package/timepicker/package.json +4 -0
- package/toast/package.json +4 -0
- package/tooltip/package.json +4 -0
- package/tree-select/package.json +4 -0
- package/treeview/package.json +4 -0
- package/trust-html/package.json +4 -0
- package/typeahead/package.json +4 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +196 -0
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +39 -0
- package/types/mintplayer-ng-bootstrap-alert.d.ts +22 -0
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-button-type.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +54 -0
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +23 -0
- package/types/mintplayer-ng-bootstrap-card.d.ts +124 -0
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +121 -0
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +94 -0
- package/types/mintplayer-ng-bootstrap-close.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +27 -0
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +234 -0
- package/types/mintplayer-ng-bootstrap-container.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +21 -0
- package/types/mintplayer-ng-bootstrap-copy.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +234 -0
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +41 -0
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +55 -0
- package/types/mintplayer-ng-bootstrap-dock.d.ts +45 -0
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +66 -0
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +102 -0
- package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +20 -0
- package/types/mintplayer-ng-bootstrap-enum.d.ts +17 -0
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +97 -0
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +51 -0
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-font-color.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-for.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-form.d.ts +24 -0
- package/types/mintplayer-ng-bootstrap-grid.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-has-id.d.ts +5 -0
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +22 -0
- package/types/mintplayer-ng-bootstrap-has-property.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-in-list.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-instance-of.d.ts +74 -0
- package/types/mintplayer-ng-bootstrap-let.d.ts +44 -0
- package/types/mintplayer-ng-bootstrap-linify.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-markdown.d.ts +33 -0
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-modal.d.ts +83 -0
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +43 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +238 -0
- package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +128 -0
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +106 -0
- package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +34 -0
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +23 -0
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-popover.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +27 -0
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +113 -0
- package/types/mintplayer-ng-bootstrap-radio.d.ts +80 -0
- package/types/mintplayer-ng-bootstrap-range.d.ts +28 -0
- package/types/mintplayer-ng-bootstrap-rating.d.ts +20 -0
- package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +36 -0
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +89 -0
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +279 -0
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +171 -0
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +40 -0
- package/types/mintplayer-ng-bootstrap-select.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-shell.d.ts +54 -0
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +36 -0
- package/types/mintplayer-ng-bootstrap-slugify.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-split-string.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +21 -0
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-table.d.ts +25 -0
- package/types/mintplayer-ng-bootstrap-theming.d.ts +81 -0
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +58 -0
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +112 -0
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +39 -0
- package/types/mintplayer-ng-bootstrap-toast.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +29 -0
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +117 -0
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +60 -0
- package/types/mintplayer-ng-bootstrap-trust-html.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +34 -0
- package/types/mintplayer-ng-bootstrap-uc-first.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-user-agent.d.ts +28 -0
- package/types/mintplayer-ng-bootstrap-viewport.d.ts +16 -0
- package/types/mintplayer-ng-bootstrap-word-count.d.ts +10 -0
- package/uc-first/package.json +4 -0
- package/user-agent/package.json +4 -0
- package/viewport/package.json +4 -0
- package/word-count/package.json +4 -0
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, TemplateRef, Directive, input, model, output, viewChild, contentChild, ViewContainerRef, DestroyRef, signal, computed, effect, forwardRef, ChangeDetectionStrategy, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import { BsFormComponent } from '@mintplayer/ng-bootstrap/form';
|
|
5
|
+
export { InMemoryTreeSelectProvider } from '@mintplayer/web-components/tree-select';
|
|
6
|
+
|
|
7
|
+
/** Selected-item (chip / single value) template. Context: `{ $implicit: node, query }`. */
|
|
8
|
+
class BsTreeSelectItemTemplateDirective {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.templateRef = inject(TemplateRef);
|
|
11
|
+
}
|
|
12
|
+
static ngTemplateContextGuard(_d, ctx) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectItemTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectItemTemplateDirective, isStandalone: true, selector: "[bsTreeSelectItem]", ngImport: i0 }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectItemTemplateDirective, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{ selector: '[bsTreeSelectItem]' }]
|
|
21
|
+
}] });
|
|
22
|
+
/** Dropdown row template. Context: `{ $implicit: node, query }`. */
|
|
23
|
+
class BsTreeSelectSuggestionTemplateDirective {
|
|
24
|
+
constructor() {
|
|
25
|
+
this.templateRef = inject(TemplateRef);
|
|
26
|
+
}
|
|
27
|
+
static ngTemplateContextGuard(_d, ctx) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectSuggestionTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectSuggestionTemplateDirective, isStandalone: true, selector: "[bsTreeSelectSuggestion]", ngImport: i0 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectSuggestionTemplateDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{ selector: '[bsTreeSelectSuggestion]' }]
|
|
36
|
+
}] });
|
|
37
|
+
/** Full trigger override (button variant). Context: `{ $implicit: value }`. */
|
|
38
|
+
class BsTreeSelectButtonTemplateDirective {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.templateRef = inject(TemplateRef);
|
|
41
|
+
}
|
|
42
|
+
static ngTemplateContextGuard(_d, ctx) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectButtonTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
46
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectButtonTemplateDirective, isStandalone: true, selector: "[bsTreeSelectButton]", ngImport: i0 }); }
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectButtonTemplateDirective, decorators: [{
|
|
49
|
+
type: Directive,
|
|
50
|
+
args: [{ selector: '[bsTreeSelectButton]' }]
|
|
51
|
+
}] });
|
|
52
|
+
/** Panel header template. No context. */
|
|
53
|
+
class BsTreeSelectHeaderTemplateDirective {
|
|
54
|
+
constructor() {
|
|
55
|
+
this.templateRef = inject(TemplateRef);
|
|
56
|
+
}
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectHeaderTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
58
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectHeaderTemplateDirective, isStandalone: true, selector: "[bsTreeSelectHeader]", ngImport: i0 }); }
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectHeaderTemplateDirective, decorators: [{
|
|
61
|
+
type: Directive,
|
|
62
|
+
args: [{ selector: '[bsTreeSelectHeader]' }]
|
|
63
|
+
}] });
|
|
64
|
+
/** Panel footer template. No context. */
|
|
65
|
+
class BsTreeSelectFooterTemplateDirective {
|
|
66
|
+
constructor() {
|
|
67
|
+
this.templateRef = inject(TemplateRef);
|
|
68
|
+
}
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectFooterTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
70
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectFooterTemplateDirective, isStandalone: true, selector: "[bsTreeSelectFooter]", ngImport: i0 }); }
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectFooterTemplateDirective, decorators: [{
|
|
73
|
+
type: Directive,
|
|
74
|
+
args: [{ selector: '[bsTreeSelectFooter]' }]
|
|
75
|
+
}] });
|
|
76
|
+
/** Shown when a search returns no rows. No context. */
|
|
77
|
+
class BsTreeSelectNoResultsTemplateDirective {
|
|
78
|
+
constructor() {
|
|
79
|
+
this.templateRef = inject(TemplateRef);
|
|
80
|
+
}
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectNoResultsTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
82
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectNoResultsTemplateDirective, isStandalone: true, selector: "[bsTreeSelectNoResults]", ngImport: i0 }); }
|
|
83
|
+
}
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectNoResultsTemplateDirective, decorators: [{
|
|
85
|
+
type: Directive,
|
|
86
|
+
args: [{ selector: '[bsTreeSelectNoResults]' }]
|
|
87
|
+
}] });
|
|
88
|
+
/** Shown when the panel is open with no items / before a search. No context. */
|
|
89
|
+
class BsTreeSelectEnterSearchTermTemplateDirective {
|
|
90
|
+
constructor() {
|
|
91
|
+
this.templateRef = inject(TemplateRef);
|
|
92
|
+
}
|
|
93
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectEnterSearchTermTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
94
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeSelectEnterSearchTermTemplateDirective, isStandalone: true, selector: "[bsTreeSelectEnterSearchTerm]", ngImport: i0 }); }
|
|
95
|
+
}
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectEnterSearchTermTemplateDirective, decorators: [{
|
|
97
|
+
type: Directive,
|
|
98
|
+
args: [{ selector: '[bsTreeSelectEnterSearchTerm]' }]
|
|
99
|
+
}] });
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Angular wrapper for `<mp-tree-select>`. A `ControlValueAccessor`, so it works
|
|
103
|
+
* with `[(ngModel)]` / `formControlName`. **Requires a `<bs-form>` ancestor**
|
|
104
|
+
* (parity with the legacy searchbox it replaces).
|
|
105
|
+
*/
|
|
106
|
+
class BsTreeSelectComponent {
|
|
107
|
+
constructor() {
|
|
108
|
+
// ---- inputs (pushed to the WC as properties) --------------------------
|
|
109
|
+
this.provider = input(undefined, /* @ts-ignore */
|
|
110
|
+
...(ngDevMode ? [{ debugName: "provider" }] : /* istanbul ignore next */ []));
|
|
111
|
+
this.mode = input('single', /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
|
|
113
|
+
this.variant = input('textbox', /* @ts-ignore */
|
|
114
|
+
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
115
|
+
this.cascadeSelect = input(false, /* @ts-ignore */
|
|
116
|
+
...(ngDevMode ? [{ debugName: "cascadeSelect" }] : /* istanbul ignore next */ []));
|
|
117
|
+
this.placeholder = input('', /* @ts-ignore */
|
|
118
|
+
...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
119
|
+
this.showClear = input(false, /* @ts-ignore */
|
|
120
|
+
...(ngDevMode ? [{ debugName: "showClear" }] : /* istanbul ignore next */ []));
|
|
121
|
+
this.panelScrollHeight = input('300px', /* @ts-ignore */
|
|
122
|
+
...(ngDevMode ? [{ debugName: "panelScrollHeight" }] : /* istanbul ignore next */ []));
|
|
123
|
+
this.searchDebounceMs = input(200, /* @ts-ignore */
|
|
124
|
+
...(ngDevMode ? [{ debugName: "searchDebounceMs" }] : /* istanbul ignore next */ []));
|
|
125
|
+
this.disabled = input(false, /* @ts-ignore */
|
|
126
|
+
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
127
|
+
this.value = model(null, /* @ts-ignore */
|
|
128
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
129
|
+
this.opened = output();
|
|
130
|
+
this.closed = output();
|
|
131
|
+
this.cleared = output();
|
|
132
|
+
this.elementRef = viewChild('el', /* @ts-ignore */
|
|
133
|
+
...(ngDevMode ? [{ debugName: "elementRef" }] : /* istanbul ignore next */ []));
|
|
134
|
+
this.itemTpl = contentChild(BsTreeSelectItemTemplateDirective, /* @ts-ignore */
|
|
135
|
+
...(ngDevMode ? [{ debugName: "itemTpl" }] : /* istanbul ignore next */ []));
|
|
136
|
+
this.suggestionTpl = contentChild(BsTreeSelectSuggestionTemplateDirective, /* @ts-ignore */
|
|
137
|
+
...(ngDevMode ? [{ debugName: "suggestionTpl" }] : /* istanbul ignore next */ []));
|
|
138
|
+
this.buttonTpl = contentChild(BsTreeSelectButtonTemplateDirective, /* @ts-ignore */
|
|
139
|
+
...(ngDevMode ? [{ debugName: "buttonTpl" }] : /* istanbul ignore next */ []));
|
|
140
|
+
this.headerTpl = contentChild(BsTreeSelectHeaderTemplateDirective, /* @ts-ignore */
|
|
141
|
+
...(ngDevMode ? [{ debugName: "headerTpl" }] : /* istanbul ignore next */ []));
|
|
142
|
+
this.footerTpl = contentChild(BsTreeSelectFooterTemplateDirective, /* @ts-ignore */
|
|
143
|
+
...(ngDevMode ? [{ debugName: "footerTpl" }] : /* istanbul ignore next */ []));
|
|
144
|
+
this.noResultsTpl = contentChild(BsTreeSelectNoResultsTemplateDirective, /* @ts-ignore */
|
|
145
|
+
...(ngDevMode ? [{ debugName: "noResultsTpl" }] : /* istanbul ignore next */ []));
|
|
146
|
+
this.enterSearchTermTpl = contentChild(BsTreeSelectEnterSearchTermTemplateDirective, /* @ts-ignore */
|
|
147
|
+
...(ngDevMode ? [{ debugName: "enterSearchTermTpl" }] : /* istanbul ignore next */ []));
|
|
148
|
+
this.bsForm = inject(BsFormComponent, { optional: true });
|
|
149
|
+
this.vcr = inject(ViewContainerRef);
|
|
150
|
+
this.destroyRef = inject(DestroyRef);
|
|
151
|
+
this.nodeCaches = new Set();
|
|
152
|
+
this.singleViews = [];
|
|
153
|
+
this.disabledByCva = signal(false, /* @ts-ignore */
|
|
154
|
+
...(ngDevMode ? [{ debugName: "disabledByCva" }] : /* istanbul ignore next */ []));
|
|
155
|
+
this.effectiveDisabled = computed(() => this.disabled() || this.disabledByCva(), /* @ts-ignore */
|
|
156
|
+
...(ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []));
|
|
157
|
+
this.onChange = () => undefined;
|
|
158
|
+
this.onTouched = () => undefined;
|
|
159
|
+
if (!this.bsForm) {
|
|
160
|
+
throw new Error('<bs-tree-select> must be inside a <bs-form>');
|
|
161
|
+
}
|
|
162
|
+
this.destroyRef.onDestroy(() => {
|
|
163
|
+
for (const cache of this.nodeCaches)
|
|
164
|
+
for (const v of cache.values())
|
|
165
|
+
v.destroy();
|
|
166
|
+
for (const v of this.singleViews)
|
|
167
|
+
v.destroy();
|
|
168
|
+
});
|
|
169
|
+
// Push scalar config to the WC element.
|
|
170
|
+
this.bindProp((el) => (el.mode = this.mode()));
|
|
171
|
+
this.bindProp((el) => (el.variant = this.variant()));
|
|
172
|
+
this.bindProp((el) => (el.cascadeSelect = this.cascadeSelect()));
|
|
173
|
+
this.bindProp((el) => (el.placeholder = this.placeholder()));
|
|
174
|
+
this.bindProp((el) => (el.showClear = this.showClear()));
|
|
175
|
+
this.bindProp((el) => (el.panelScrollHeight = this.panelScrollHeight()));
|
|
176
|
+
this.bindProp((el) => (el.searchDebounceMs = this.searchDebounceMs()));
|
|
177
|
+
this.bindProp((el) => (el.disabled = this.effectiveDisabled()));
|
|
178
|
+
this.bindProp((el) => (el.provider = this.provider()));
|
|
179
|
+
this.bindProp((el) => (el.value = this.value()));
|
|
180
|
+
// Wire render-callbacks from any provided ng-templates.
|
|
181
|
+
this.bindProp((el) => (el.itemTemplate = this.nodeRenderer(this.itemTpl())));
|
|
182
|
+
this.bindProp((el) => (el.suggestionTemplate = this.nodeRenderer(this.suggestionTpl())));
|
|
183
|
+
this.bindProp((el) => (el.buttonTemplate = this.valueRenderer(this.buttonTpl())));
|
|
184
|
+
this.bindProp((el) => (el.headerTemplate = this.staticRenderer(this.headerTpl())));
|
|
185
|
+
this.bindProp((el) => (el.footerTemplate = this.staticRenderer(this.footerTpl())));
|
|
186
|
+
this.bindProp((el) => (el.noResultsTemplate = this.staticRenderer(this.noResultsTpl())));
|
|
187
|
+
this.bindProp((el) => (el.enterSearchTermTemplate = this.staticRenderer(this.enterSearchTermTpl())));
|
|
188
|
+
}
|
|
189
|
+
ngAfterViewInit() {
|
|
190
|
+
// Effects above run as the view initializes; nothing else required.
|
|
191
|
+
}
|
|
192
|
+
bindProp(apply) {
|
|
193
|
+
effect(() => {
|
|
194
|
+
const el = this.elementRef()?.nativeElement;
|
|
195
|
+
if (el)
|
|
196
|
+
apply(el);
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
// ---- event handlers ----------------------------------------------------
|
|
200
|
+
onValueChange(event) {
|
|
201
|
+
const detail = event.detail;
|
|
202
|
+
this.value.set(detail.value);
|
|
203
|
+
this.onChange(detail.value);
|
|
204
|
+
}
|
|
205
|
+
onOpen() {
|
|
206
|
+
this.opened.emit();
|
|
207
|
+
}
|
|
208
|
+
onClose() {
|
|
209
|
+
this.onTouched();
|
|
210
|
+
this.closed.emit();
|
|
211
|
+
}
|
|
212
|
+
onClear() {
|
|
213
|
+
this.cleared.emit();
|
|
214
|
+
}
|
|
215
|
+
// ---- ControlValueAccessor ---------------------------------------------
|
|
216
|
+
writeValue(value) {
|
|
217
|
+
this.value.set(value);
|
|
218
|
+
}
|
|
219
|
+
registerOnChange(fn) {
|
|
220
|
+
this.onChange = fn;
|
|
221
|
+
}
|
|
222
|
+
registerOnTouched(fn) {
|
|
223
|
+
this.onTouched = fn;
|
|
224
|
+
}
|
|
225
|
+
setDisabledState(isDisabled) {
|
|
226
|
+
this.disabledByCva.set(isDisabled);
|
|
227
|
+
}
|
|
228
|
+
// ---- ng-template → render-callback bridges -----------------------------
|
|
229
|
+
nodeRenderer(dir) {
|
|
230
|
+
if (!dir)
|
|
231
|
+
return undefined;
|
|
232
|
+
// LRU-bounded so browsing a large server tree (every distinct node id seen
|
|
233
|
+
// over the component's lifetime) can't grow the cache without limit. Map
|
|
234
|
+
// iteration is insertion-ordered; re-inserting on hit marks recency, and we
|
|
235
|
+
// destroy the oldest entry past the cap. Currently-rendered nodes are the
|
|
236
|
+
// most-recently-used, so eviction only ever targets off-screen views.
|
|
237
|
+
const MAX_VIEWS = 400;
|
|
238
|
+
const cache = new Map();
|
|
239
|
+
this.nodeCaches.add(cache);
|
|
240
|
+
return (node, query) => {
|
|
241
|
+
let view = cache.get(node.id);
|
|
242
|
+
if (!view) {
|
|
243
|
+
view = this.vcr.createEmbeddedView(dir.templateRef, { $implicit: node, query });
|
|
244
|
+
cache.set(node.id, view);
|
|
245
|
+
if (cache.size > MAX_VIEWS) {
|
|
246
|
+
const oldest = cache.keys().next().value;
|
|
247
|
+
cache.get(oldest)?.destroy();
|
|
248
|
+
cache.delete(oldest);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
cache.delete(node.id);
|
|
253
|
+
cache.set(node.id, view);
|
|
254
|
+
view.context.$implicit = node;
|
|
255
|
+
view.context.query = query;
|
|
256
|
+
}
|
|
257
|
+
view.detectChanges();
|
|
258
|
+
return this.rootNode(view);
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
valueRenderer(dir) {
|
|
262
|
+
if (!dir)
|
|
263
|
+
return undefined;
|
|
264
|
+
let view;
|
|
265
|
+
return (value) => {
|
|
266
|
+
if (!view) {
|
|
267
|
+
view = this.vcr.createEmbeddedView(dir.templateRef, { $implicit: value });
|
|
268
|
+
this.singleViews.push(view);
|
|
269
|
+
}
|
|
270
|
+
else {
|
|
271
|
+
view.context.$implicit = value;
|
|
272
|
+
}
|
|
273
|
+
view.detectChanges();
|
|
274
|
+
return this.rootNode(view);
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
staticRenderer(dir) {
|
|
278
|
+
if (!dir)
|
|
279
|
+
return undefined;
|
|
280
|
+
let view;
|
|
281
|
+
return () => {
|
|
282
|
+
if (!view) {
|
|
283
|
+
view = this.vcr.createEmbeddedView(dir.templateRef, {});
|
|
284
|
+
this.singleViews.push(view);
|
|
285
|
+
}
|
|
286
|
+
view.detectChanges();
|
|
287
|
+
return this.rootNode(view);
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
rootNode(view) {
|
|
291
|
+
const nodes = view.rootNodes.filter((n) => n instanceof Node);
|
|
292
|
+
if (nodes.length === 1)
|
|
293
|
+
return nodes[0];
|
|
294
|
+
const fragment = document.createDocumentFragment();
|
|
295
|
+
for (const n of nodes)
|
|
296
|
+
fragment.appendChild(n);
|
|
297
|
+
return fragment;
|
|
298
|
+
}
|
|
299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsTreeSelectComponent, isStandalone: true, selector: "bs-tree-select", inputs: { provider: { classPropertyName: "provider", publicName: "provider", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, cascadeSelect: { classPropertyName: "cascadeSelect", publicName: "cascadeSelect", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, panelScrollHeight: { classPropertyName: "panelScrollHeight", publicName: "panelScrollHeight", isSignal: true, isRequired: false, transformFunction: null }, searchDebounceMs: { classPropertyName: "searchDebounceMs", publicName: "searchDebounceMs", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", opened: "opened", closed: "closed", cleared: "cleared" }, providers: [
|
|
301
|
+
{
|
|
302
|
+
provide: NG_VALUE_ACCESSOR,
|
|
303
|
+
useExisting: forwardRef(() => BsTreeSelectComponent),
|
|
304
|
+
multi: true,
|
|
305
|
+
},
|
|
306
|
+
], queries: [{ propertyName: "itemTpl", first: true, predicate: BsTreeSelectItemTemplateDirective, descendants: true, isSignal: true }, { propertyName: "suggestionTpl", first: true, predicate: BsTreeSelectSuggestionTemplateDirective, descendants: true, isSignal: true }, { propertyName: "buttonTpl", first: true, predicate: BsTreeSelectButtonTemplateDirective, descendants: true, isSignal: true }, { propertyName: "headerTpl", first: true, predicate: BsTreeSelectHeaderTemplateDirective, descendants: true, isSignal: true }, { propertyName: "footerTpl", first: true, predicate: BsTreeSelectFooterTemplateDirective, descendants: true, isSignal: true }, { propertyName: "noResultsTpl", first: true, predicate: BsTreeSelectNoResultsTemplateDirective, descendants: true, isSignal: true }, { propertyName: "enterSearchTermTpl", first: true, predicate: BsTreeSelectEnterSearchTermTemplateDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "elementRef", first: true, predicate: ["el"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-tree-select\n #el\n class=\"bs-tree-select\"\n (value-change)=\"onValueChange($event)\"\n (open)=\"onOpen()\"\n (close)=\"onClose()\"\n (clear)=\"onClear()\"\n></mp-tree-select>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
307
|
+
}
|
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeSelectComponent, decorators: [{
|
|
309
|
+
type: Component,
|
|
310
|
+
args: [{ selector: 'bs-tree-select', schemas: [CUSTOM_ELEMENTS_SCHEMA], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
311
|
+
{
|
|
312
|
+
provide: NG_VALUE_ACCESSOR,
|
|
313
|
+
useExisting: forwardRef(() => BsTreeSelectComponent),
|
|
314
|
+
multi: true,
|
|
315
|
+
},
|
|
316
|
+
], template: "<mp-tree-select\n #el\n class=\"bs-tree-select\"\n (value-change)=\"onValueChange($event)\"\n (open)=\"onOpen()\"\n (close)=\"onClose()\"\n (clear)=\"onClear()\"\n></mp-tree-select>\n" }]
|
|
317
|
+
}], ctorParameters: () => [], propDecorators: { provider: [{ type: i0.Input, args: [{ isSignal: true, alias: "provider", required: false }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], cascadeSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "cascadeSelect", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], panelScrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelScrollHeight", required: false }] }], searchDebounceMs: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchDebounceMs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], opened: [{ type: i0.Output, args: ["opened"] }], closed: [{ type: i0.Output, args: ["closed"] }], cleared: [{ type: i0.Output, args: ["cleared"] }], elementRef: [{ type: i0.ViewChild, args: ['el', { isSignal: true }] }], itemTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectItemTemplateDirective), { isSignal: true }] }], suggestionTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectSuggestionTemplateDirective), { isSignal: true }] }], buttonTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectButtonTemplateDirective), { isSignal: true }] }], headerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectHeaderTemplateDirective), { isSignal: true }] }], footerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectFooterTemplateDirective), { isSignal: true }] }], noResultsTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectNoResultsTemplateDirective), { isSignal: true }] }], enterSearchTermTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeSelectEnterSearchTermTemplateDirective), { isSignal: true }] }] } });
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Generated bundle index. Do not edit.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
export { BsTreeSelectButtonTemplateDirective, BsTreeSelectComponent, BsTreeSelectEnterSearchTermTemplateDirective, BsTreeSelectFooterTemplateDirective, BsTreeSelectHeaderTemplateDirective, BsTreeSelectItemTemplateDirective, BsTreeSelectNoResultsTemplateDirective, BsTreeSelectSuggestionTemplateDirective };
|
|
324
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-tree-select.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-tree-select.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/tree-select/src/directives/template-directives.ts","../../../../libs/mintplayer-ng-bootstrap/tree-select/src/tree-select/tree-select.component.ts","../../../../libs/mintplayer-ng-bootstrap/tree-select/src/tree-select/tree-select.component.html","../../../../libs/mintplayer-ng-bootstrap/tree-select/mintplayer-ng-bootstrap-tree-select.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\nimport type { TreeNode } from '@mintplayer/web-components/tree-select';\n\nexport interface BsTreeSelectNodeContext {\n $implicit: TreeNode;\n query: string;\n}\n\nexport interface BsTreeSelectValueContext {\n $implicit: TreeNode | TreeNode[] | null;\n}\n\n/** Selected-item (chip / single value) template. Context: `{ $implicit: node, query }`. */\n@Directive({ selector: '[bsTreeSelectItem]' })\nexport class BsTreeSelectItemTemplateDirective {\n readonly templateRef = inject<TemplateRef<BsTreeSelectNodeContext>>(TemplateRef);\n static ngTemplateContextGuard(\n _d: BsTreeSelectItemTemplateDirective,\n ctx: unknown,\n ): ctx is BsTreeSelectNodeContext {\n return true;\n }\n}\n\n/** Dropdown row template. Context: `{ $implicit: node, query }`. */\n@Directive({ selector: '[bsTreeSelectSuggestion]' })\nexport class BsTreeSelectSuggestionTemplateDirective {\n readonly templateRef = inject<TemplateRef<BsTreeSelectNodeContext>>(TemplateRef);\n static ngTemplateContextGuard(\n _d: BsTreeSelectSuggestionTemplateDirective,\n ctx: unknown,\n ): ctx is BsTreeSelectNodeContext {\n return true;\n }\n}\n\n/** Full trigger override (button variant). Context: `{ $implicit: value }`. */\n@Directive({ selector: '[bsTreeSelectButton]' })\nexport class BsTreeSelectButtonTemplateDirective {\n readonly templateRef = inject<TemplateRef<BsTreeSelectValueContext>>(TemplateRef);\n static ngTemplateContextGuard(\n _d: BsTreeSelectButtonTemplateDirective,\n ctx: unknown,\n ): ctx is BsTreeSelectValueContext {\n return true;\n }\n}\n\n/** Panel header template. No context. */\n@Directive({ selector: '[bsTreeSelectHeader]' })\nexport class BsTreeSelectHeaderTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** Panel footer template. No context. */\n@Directive({ selector: '[bsTreeSelectFooter]' })\nexport class BsTreeSelectFooterTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** Shown when a search returns no rows. No context. */\n@Directive({ selector: '[bsTreeSelectNoResults]' })\nexport class BsTreeSelectNoResultsTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** Shown when the panel is open with no items / before a search. No context. */\n@Directive({ selector: '[bsTreeSelectEnterSearchTerm]' })\nexport class BsTreeSelectEnterSearchTermTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n CUSTOM_ELEMENTS_SCHEMA,\n DestroyRef,\n effect,\n ElementRef,\n EmbeddedViewRef,\n forwardRef,\n inject,\n input,\n model,\n output,\n signal,\n ViewContainerRef,\n viewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { BsFormComponent } from '@mintplayer/ng-bootstrap/form';\nimport {\n MpTreeSelect,\n type TreeNode,\n type TreeSelectChangeEventDetail,\n type TreeSelectMode,\n type TreeSelectProvider,\n type TreeSelectVariant,\n} from '@mintplayer/web-components/tree-select';\n\n// Side-effect import: registers the <mp-tree-select> custom element.\nimport '@mintplayer/web-components/tree-select';\n\nimport {\n BsTreeSelectButtonTemplateDirective,\n BsTreeSelectEnterSearchTermTemplateDirective,\n BsTreeSelectFooterTemplateDirective,\n BsTreeSelectHeaderTemplateDirective,\n BsTreeSelectItemTemplateDirective,\n type BsTreeSelectNodeContext,\n BsTreeSelectNoResultsTemplateDirective,\n BsTreeSelectSuggestionTemplateDirective,\n type BsTreeSelectValueContext,\n} from '../directives/template-directives';\n\ntype Value = TreeNode | TreeNode[] | null;\n\n/**\n * Angular wrapper for `<mp-tree-select>`. A `ControlValueAccessor`, so it works\n * with `[(ngModel)]` / `formControlName`. **Requires a `<bs-form>` ancestor**\n * (parity with the legacy searchbox it replaces).\n */\n@Component({\n selector: 'bs-tree-select',\n templateUrl: './tree-select.component.html',\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => BsTreeSelectComponent),\n multi: true,\n },\n ],\n})\nexport class BsTreeSelectComponent implements ControlValueAccessor, AfterViewInit {\n // ---- inputs (pushed to the WC as properties) --------------------------\n readonly provider = input<TreeSelectProvider | undefined>(undefined);\n readonly mode = input<TreeSelectMode>('single');\n readonly variant = input<TreeSelectVariant>('textbox');\n readonly cascadeSelect = input<boolean>(false);\n readonly placeholder = input<string>('');\n readonly showClear = input<boolean>(false);\n readonly panelScrollHeight = input<string>('300px');\n readonly searchDebounceMs = input<number>(200);\n readonly disabled = input<boolean>(false);\n\n readonly value = model<Value>(null);\n\n readonly opened = output<void>();\n readonly closed = output<void>();\n readonly cleared = output<void>();\n\n readonly elementRef = viewChild<ElementRef<MpTreeSelect>>('el');\n\n private readonly itemTpl = contentChild(BsTreeSelectItemTemplateDirective);\n private readonly suggestionTpl = contentChild(BsTreeSelectSuggestionTemplateDirective);\n private readonly buttonTpl = contentChild(BsTreeSelectButtonTemplateDirective);\n private readonly headerTpl = contentChild(BsTreeSelectHeaderTemplateDirective);\n private readonly footerTpl = contentChild(BsTreeSelectFooterTemplateDirective);\n private readonly noResultsTpl = contentChild(BsTreeSelectNoResultsTemplateDirective);\n private readonly enterSearchTermTpl = contentChild(BsTreeSelectEnterSearchTermTemplateDirective);\n\n private readonly bsForm = inject(BsFormComponent, { optional: true });\n private readonly vcr = inject(ViewContainerRef);\n private readonly destroyRef = inject(DestroyRef);\n\n private readonly nodeCaches = new Set<Map<string, EmbeddedViewRef<unknown>>>();\n private readonly singleViews: EmbeddedViewRef<unknown>[] = [];\n private readonly disabledByCva = signal(false);\n private readonly effectiveDisabled = computed(() => this.disabled() || this.disabledByCva());\n\n private onChange: (value: Value) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n constructor() {\n if (!this.bsForm) {\n throw new Error('<bs-tree-select> must be inside a <bs-form>');\n }\n\n this.destroyRef.onDestroy(() => {\n for (const cache of this.nodeCaches) for (const v of cache.values()) v.destroy();\n for (const v of this.singleViews) v.destroy();\n });\n\n // Push scalar config to the WC element.\n this.bindProp((el) => (el.mode = this.mode()));\n this.bindProp((el) => (el.variant = this.variant()));\n this.bindProp((el) => (el.cascadeSelect = this.cascadeSelect()));\n this.bindProp((el) => (el.placeholder = this.placeholder()));\n this.bindProp((el) => (el.showClear = this.showClear()));\n this.bindProp((el) => (el.panelScrollHeight = this.panelScrollHeight()));\n this.bindProp((el) => (el.searchDebounceMs = this.searchDebounceMs()));\n this.bindProp((el) => (el.disabled = this.effectiveDisabled()));\n this.bindProp((el) => (el.provider = this.provider()));\n this.bindProp((el) => (el.value = this.value()));\n\n // Wire render-callbacks from any provided ng-templates.\n this.bindProp((el) => (el.itemTemplate = this.nodeRenderer(this.itemTpl())));\n this.bindProp((el) => (el.suggestionTemplate = this.nodeRenderer(this.suggestionTpl())));\n this.bindProp((el) => (el.buttonTemplate = this.valueRenderer(this.buttonTpl())));\n this.bindProp((el) => (el.headerTemplate = this.staticRenderer(this.headerTpl())));\n this.bindProp((el) => (el.footerTemplate = this.staticRenderer(this.footerTpl())));\n this.bindProp((el) => (el.noResultsTemplate = this.staticRenderer(this.noResultsTpl())));\n this.bindProp((el) => (el.enterSearchTermTemplate = this.staticRenderer(this.enterSearchTermTpl())));\n }\n\n ngAfterViewInit(): void {\n // Effects above run as the view initializes; nothing else required.\n }\n\n private bindProp(apply: (el: MpTreeSelect) => void): void {\n effect(() => {\n const el = this.elementRef()?.nativeElement;\n if (el) apply(el);\n });\n }\n\n // ---- event handlers ----------------------------------------------------\n onValueChange(event: Event): void {\n const detail = (event as CustomEvent<TreeSelectChangeEventDetail>).detail;\n this.value.set(detail.value);\n this.onChange(detail.value);\n }\n\n onOpen(): void {\n this.opened.emit();\n }\n onClose(): void {\n this.onTouched();\n this.closed.emit();\n }\n onClear(): void {\n this.cleared.emit();\n }\n\n // ---- ControlValueAccessor ---------------------------------------------\n writeValue(value: Value): void {\n this.value.set(value);\n }\n registerOnChange(fn: (value: Value) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(isDisabled: boolean): void {\n this.disabledByCva.set(isDisabled);\n }\n\n // ---- ng-template → render-callback bridges -----------------------------\n private nodeRenderer(\n dir: { templateRef: import('@angular/core').TemplateRef<BsTreeSelectNodeContext> } | undefined,\n ): ((node: TreeNode, query: string) => Node) | undefined {\n if (!dir) return undefined;\n // LRU-bounded so browsing a large server tree (every distinct node id seen\n // over the component's lifetime) can't grow the cache without limit. Map\n // iteration is insertion-ordered; re-inserting on hit marks recency, and we\n // destroy the oldest entry past the cap. Currently-rendered nodes are the\n // most-recently-used, so eviction only ever targets off-screen views.\n const MAX_VIEWS = 400;\n const cache = new Map<string, EmbeddedViewRef<BsTreeSelectNodeContext>>();\n this.nodeCaches.add(cache as Map<string, EmbeddedViewRef<unknown>>);\n return (node, query) => {\n let view = cache.get(node.id);\n if (!view) {\n view = this.vcr.createEmbeddedView(dir.templateRef, { $implicit: node, query });\n cache.set(node.id, view);\n if (cache.size > MAX_VIEWS) {\n const oldest = cache.keys().next().value as string;\n cache.get(oldest)?.destroy();\n cache.delete(oldest);\n }\n } else {\n cache.delete(node.id);\n cache.set(node.id, view);\n view.context.$implicit = node;\n view.context.query = query;\n }\n view.detectChanges();\n return this.rootNode(view);\n };\n }\n\n private valueRenderer(\n dir: { templateRef: import('@angular/core').TemplateRef<BsTreeSelectValueContext> } | undefined,\n ): ((value: Value) => Node) | undefined {\n if (!dir) return undefined;\n let view: EmbeddedViewRef<BsTreeSelectValueContext> | undefined;\n return (value) => {\n if (!view) {\n view = this.vcr.createEmbeddedView(dir.templateRef, { $implicit: value });\n this.singleViews.push(view);\n } else {\n view.context.$implicit = value;\n }\n view.detectChanges();\n return this.rootNode(view);\n };\n }\n\n private staticRenderer(\n dir: { templateRef: import('@angular/core').TemplateRef<unknown> } | undefined,\n ): (() => Node) | undefined {\n if (!dir) return undefined;\n let view: EmbeddedViewRef<unknown> | undefined;\n return () => {\n if (!view) {\n view = this.vcr.createEmbeddedView(dir.templateRef, {});\n this.singleViews.push(view);\n }\n view.detectChanges();\n return this.rootNode(view);\n };\n }\n\n private rootNode(view: EmbeddedViewRef<unknown>): Node {\n const nodes = (view.rootNodes as unknown[]).filter((n): n is Node => n instanceof Node);\n if (nodes.length === 1) return nodes[0];\n const fragment = document.createDocumentFragment();\n for (const n of nodes) fragment.appendChild(n);\n return fragment;\n }\n}\n","<mp-tree-select\n #el\n class=\"bs-tree-select\"\n (value-change)=\"onValueChange($event)\"\n (open)=\"onOpen()\"\n (close)=\"onClose()\"\n (clear)=\"onClear()\"\n></mp-tree-select>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYA;MAEa,iCAAiC,CAAA;AAD9C,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAuC,WAAW,CAAC;AAOjF,IAAA;AANC,IAAA,OAAO,sBAAsB,CAC3B,EAAqC,EACrC,GAAY,EAAA;AAEZ,QAAA,OAAO,IAAI;IACb;8GAPW,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAD7C,SAAS;mBAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE;;AAW7C;MAEa,uCAAuC,CAAA;AADpD,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAuC,WAAW,CAAC;AAOjF,IAAA;AANC,IAAA,OAAO,sBAAsB,CAC3B,EAA2C,EAC3C,GAAY,EAAA;AAEZ,QAAA,OAAO,IAAI;IACb;8GAPW,uCAAuC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvC,uCAAuC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAvC,uCAAuC,EAAA,UAAA,EAAA,CAAA;kBADnD,SAAS;mBAAC,EAAE,QAAQ,EAAE,0BAA0B,EAAE;;A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AA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAChC,sCAAsC,oGAChC,4CAA4C,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE5FjG;;AAEG;;;;"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, TemplateRef, Directive, input, model, output, viewChild, contentChild, ViewContainerRef, DestroyRef, effect, ChangeDetectionStrategy, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import '@mintplayer/web-components/treeview';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Marks an `<ng-template>` as the per-node body renderer for `<bs-treeview>`.
|
|
7
|
+
* The template's `$implicit` is the `TreeNode`; consumers can render arbitrary
|
|
8
|
+
* Angular content (icons, badges, custom layout) per node.
|
|
9
|
+
*
|
|
10
|
+
* Example:
|
|
11
|
+
* ```html
|
|
12
|
+
* <bs-treeview [items]="nodes()">
|
|
13
|
+
* <ng-container *bsTreeviewNode="let node">
|
|
14
|
+
* <span [innerHTML]="iconFor(node)"></span>
|
|
15
|
+
* <strong>{{ node.label }}</strong>
|
|
16
|
+
* @if (node.meta?.['badge']) {
|
|
17
|
+
* <span class="badge bg-secondary">{{ node.meta!['badge'] }}</span>
|
|
18
|
+
* }
|
|
19
|
+
* </ng-container>
|
|
20
|
+
* </bs-treeview>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
class BsTreeviewNodeTemplateDirective {
|
|
24
|
+
constructor() {
|
|
25
|
+
this.templateRef = inject(TemplateRef);
|
|
26
|
+
}
|
|
27
|
+
static ngTemplateContextGuard(_dir, ctx) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeviewNodeTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsTreeviewNodeTemplateDirective, isStandalone: true, selector: "[bsTreeviewNode]", ngImport: i0 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeviewNodeTemplateDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{ selector: '[bsTreeviewNode]' }]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
class BsTreeviewComponent {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.items = input([], /* @ts-ignore */
|
|
41
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
42
|
+
this.expandedIds = model([], /* @ts-ignore */
|
|
43
|
+
...(ngDevMode ? [{ debugName: "expandedIds" }] : /* istanbul ignore next */ []));
|
|
44
|
+
this.selectedIds = model([], /* @ts-ignore */
|
|
45
|
+
...(ngDevMode ? [{ debugName: "selectedIds" }] : /* istanbul ignore next */ []));
|
|
46
|
+
this.selectionMode = input('single', /* @ts-ignore */
|
|
47
|
+
...(ngDevMode ? [{ debugName: "selectionMode" }] : /* istanbul ignore next */ []));
|
|
48
|
+
this.hideBorders = input(false, /* @ts-ignore */
|
|
49
|
+
...(ngDevMode ? [{ debugName: "hideBorders" }] : /* istanbul ignore next */ []));
|
|
50
|
+
this.iconResolver = input(undefined, /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "iconResolver" }] : /* istanbul ignore next */ []));
|
|
52
|
+
this.nodeSelect = output();
|
|
53
|
+
this.nodeExpand = output();
|
|
54
|
+
this.nodeCollapse = output();
|
|
55
|
+
this.treeviewRef = viewChild('treeview', /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "treeviewRef" }] : /* istanbul ignore next */ []));
|
|
57
|
+
this.nodeTemplate = contentChild(BsTreeviewNodeTemplateDirective, /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "nodeTemplate" }] : /* istanbul ignore next */ []));
|
|
59
|
+
this.viewContainerRef = inject(ViewContainerRef);
|
|
60
|
+
this.destroyRef = inject(DestroyRef);
|
|
61
|
+
this.viewCache = new Map();
|
|
62
|
+
this.destroyRef.onDestroy(() => {
|
|
63
|
+
for (const view of this.viewCache.values())
|
|
64
|
+
view.destroy();
|
|
65
|
+
this.viewCache.clear();
|
|
66
|
+
});
|
|
67
|
+
effect(() => {
|
|
68
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
69
|
+
if (!el)
|
|
70
|
+
return;
|
|
71
|
+
el.items = this.items();
|
|
72
|
+
// Prune cached views for nodes that no longer exist.
|
|
73
|
+
const liveIds = new Set();
|
|
74
|
+
const walk = (nodes) => {
|
|
75
|
+
for (const n of nodes) {
|
|
76
|
+
liveIds.add(n.id);
|
|
77
|
+
if (n.children)
|
|
78
|
+
walk(n.children);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
walk(this.items());
|
|
82
|
+
for (const [id, view] of this.viewCache) {
|
|
83
|
+
if (!liveIds.has(id)) {
|
|
84
|
+
view.destroy();
|
|
85
|
+
this.viewCache.delete(id);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
effect(() => {
|
|
90
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
91
|
+
if (!el)
|
|
92
|
+
return;
|
|
93
|
+
el.expandedIds = this.expandedIds();
|
|
94
|
+
});
|
|
95
|
+
effect(() => {
|
|
96
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
97
|
+
if (!el)
|
|
98
|
+
return;
|
|
99
|
+
el.selectedIds = this.selectedIds();
|
|
100
|
+
});
|
|
101
|
+
effect(() => {
|
|
102
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
103
|
+
if (!el)
|
|
104
|
+
return;
|
|
105
|
+
el.selectionMode = this.selectionMode();
|
|
106
|
+
});
|
|
107
|
+
effect(() => {
|
|
108
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
109
|
+
if (!el)
|
|
110
|
+
return;
|
|
111
|
+
el.hideBorders = this.hideBorders();
|
|
112
|
+
});
|
|
113
|
+
effect(() => {
|
|
114
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
115
|
+
if (!el)
|
|
116
|
+
return;
|
|
117
|
+
el.iconResolver = this.iconResolver();
|
|
118
|
+
});
|
|
119
|
+
// Wire nodeRenderer when a *bsTreeviewNode template is provided.
|
|
120
|
+
effect(() => {
|
|
121
|
+
const el = this.treeviewRef()?.nativeElement;
|
|
122
|
+
if (!el)
|
|
123
|
+
return;
|
|
124
|
+
const tpl = this.nodeTemplate();
|
|
125
|
+
if (!tpl) {
|
|
126
|
+
el.nodeRenderer = undefined;
|
|
127
|
+
// Destroy any stale views from a previous template.
|
|
128
|
+
for (const view of this.viewCache.values())
|
|
129
|
+
view.destroy();
|
|
130
|
+
this.viewCache.clear();
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
el.nodeRenderer = this.buildNodeRenderer(tpl);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
ngAfterViewInit() {
|
|
137
|
+
// Effects above re-run as the view is created; nothing else needed.
|
|
138
|
+
}
|
|
139
|
+
buildNodeRenderer(tpl) {
|
|
140
|
+
return (node) => {
|
|
141
|
+
let viewRef = this.viewCache.get(node.id);
|
|
142
|
+
if (!viewRef) {
|
|
143
|
+
viewRef = this.viewContainerRef.createEmbeddedView(tpl.templateRef, { $implicit: node });
|
|
144
|
+
this.viewCache.set(node.id, viewRef);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
viewRef.context.$implicit = node;
|
|
148
|
+
}
|
|
149
|
+
viewRef.detectChanges();
|
|
150
|
+
const nodes = viewRef.rootNodes.filter((n) => n instanceof Node);
|
|
151
|
+
if (nodes.length === 0)
|
|
152
|
+
return undefined;
|
|
153
|
+
if (nodes.length === 1)
|
|
154
|
+
return nodes[0];
|
|
155
|
+
const fragment = document.createDocumentFragment();
|
|
156
|
+
for (const n of nodes)
|
|
157
|
+
fragment.appendChild(n);
|
|
158
|
+
return fragment;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
onSelect(event) {
|
|
162
|
+
const detail = event.detail;
|
|
163
|
+
this.selectedIds.set([...detail.selectedIds]);
|
|
164
|
+
this.nodeSelect.emit(detail);
|
|
165
|
+
}
|
|
166
|
+
onExpand(event) {
|
|
167
|
+
const detail = event.detail;
|
|
168
|
+
this.expandedIds.set([...detail.expandedIds]);
|
|
169
|
+
this.nodeExpand.emit(detail);
|
|
170
|
+
}
|
|
171
|
+
onCollapse(event) {
|
|
172
|
+
const detail = event.detail;
|
|
173
|
+
this.expandedIds.set([...detail.expandedIds]);
|
|
174
|
+
this.nodeCollapse.emit(detail);
|
|
175
|
+
}
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsTreeviewComponent, isStandalone: true, selector: "bs-treeview", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, expandedIds: { classPropertyName: "expandedIds", publicName: "expandedIds", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, hideBorders: { classPropertyName: "hideBorders", publicName: "hideBorders", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedIds: "expandedIdsChange", selectedIds: "selectedIdsChange", nodeSelect: "nodeSelect", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse" }, queries: [{ propertyName: "nodeTemplate", first: true, predicate: BsTreeviewNodeTemplateDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "treeviewRef", first: true, predicate: ["treeview"], descendants: true, isSignal: true }], ngImport: i0, template: "<mp-treeview\n #treeview\n class=\"bs-treeview\"\n (tree-node-select)=\"onSelect($event)\"\n (tree-node-expand)=\"onExpand($event)\"\n (tree-node-collapse)=\"onCollapse($event)\"\n></mp-treeview>\n", styles: [":host{display:block;width:100%}.bs-treeview{display:block;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178
|
+
}
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsTreeviewComponent, decorators: [{
|
|
180
|
+
type: Component,
|
|
181
|
+
args: [{ selector: 'bs-treeview', schemas: [CUSTOM_ELEMENTS_SCHEMA], changeDetection: ChangeDetectionStrategy.OnPush, template: "<mp-treeview\n #treeview\n class=\"bs-treeview\"\n (tree-node-select)=\"onSelect($event)\"\n (tree-node-expand)=\"onExpand($event)\"\n (tree-node-collapse)=\"onCollapse($event)\"\n></mp-treeview>\n", styles: [":host{display:block;width:100%}.bs-treeview{display:block;width:100%}\n"] }]
|
|
182
|
+
}], ctorParameters: () => [], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], expandedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedIds", required: false }] }, { type: i0.Output, args: ["expandedIdsChange"] }], selectedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedIds", required: false }] }, { type: i0.Output, args: ["selectedIdsChange"] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], hideBorders: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideBorders", required: false }] }], iconResolver: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconResolver", required: false }] }], nodeSelect: [{ type: i0.Output, args: ["nodeSelect"] }], nodeExpand: [{ type: i0.Output, args: ["nodeExpand"] }], nodeCollapse: [{ type: i0.Output, args: ["nodeCollapse"] }], treeviewRef: [{ type: i0.ViewChild, args: ['treeview', { isSignal: true }] }], nodeTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsTreeviewNodeTemplateDirective), { isSignal: true }] }] } });
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Generated bundle index. Do not edit.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
export { BsTreeviewComponent, BsTreeviewNodeTemplateDirective };
|
|
189
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-treeview.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-treeview.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview-node-template/treeview-node-template.directive.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.ts","../../../../libs/mintplayer-ng-bootstrap/treeview/src/treeview/treeview.component.html","../../../../libs/mintplayer-ng-bootstrap/treeview/mintplayer-ng-bootstrap-treeview.ts"],"sourcesContent":["import { Directive, inject, TemplateRef } from '@angular/core';\nimport type { TreeNode } from '@mintplayer/web-components/treeview';\n\n/**\n * Marks an `<ng-template>` as the per-node body renderer for `<bs-treeview>`.\n * The template's `$implicit` is the `TreeNode`; consumers can render arbitrary\n * Angular content (icons, badges, custom layout) per node.\n *\n * Example:\n * ```html\n * <bs-treeview [items]=\"nodes()\">\n * <ng-container *bsTreeviewNode=\"let node\">\n * <span [innerHTML]=\"iconFor(node)\"></span>\n * <strong>{{ node.label }}</strong>\n * @if (node.meta?.['badge']) {\n * <span class=\"badge bg-secondary\">{{ node.meta!['badge'] }}</span>\n * }\n * </ng-container>\n * </bs-treeview>\n * ```\n */\n@Directive({ selector: '[bsTreeviewNode]' })\nexport class BsTreeviewNodeTemplateDirective {\n readonly templateRef = inject<TemplateRef<{ $implicit: TreeNode }>>(TemplateRef);\n\n static ngTemplateContextGuard(\n _dir: BsTreeviewNodeTemplateDirective,\n ctx: unknown,\n ): ctx is { $implicit: TreeNode } {\n return true;\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n contentChild,\n CUSTOM_ELEMENTS_SCHEMA,\n DestroyRef,\n effect,\n ElementRef,\n EmbeddedViewRef,\n inject,\n input,\n model,\n output,\n ViewContainerRef,\n viewChild,\n} from '@angular/core';\nimport {\n MpTreeview,\n type IconResolver,\n type TreeNode,\n type TreeNodeCollapseEventDetail,\n type TreeNodeExpandEventDetail,\n type TreeNodeRenderer,\n type TreeNodeSelectEventDetail,\n type TreeviewSelectionMode,\n} from '@mintplayer/web-components/treeview';\n\n// Side-effect import: registers the `<mp-treeview>` custom element.\nimport '@mintplayer/web-components/treeview';\n\nimport { BsTreeviewNodeTemplateDirective } from '../treeview-node-template/treeview-node-template.directive';\n\n@Component({\n selector: 'bs-treeview',\n templateUrl: './treeview.component.html',\n styleUrls: ['./treeview.component.scss'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTreeviewComponent implements AfterViewInit {\n readonly items = input<TreeNode[]>([]);\n readonly expandedIds = model<string[]>([]);\n readonly selectedIds = model<string[]>([]);\n readonly selectionMode = input<TreeviewSelectionMode>('single');\n readonly hideBorders = input<boolean>(false);\n readonly iconResolver = input<IconResolver | undefined>(undefined);\n\n readonly nodeSelect = output<TreeNodeSelectEventDetail>();\n readonly nodeExpand = output<TreeNodeExpandEventDetail>();\n readonly nodeCollapse = output<TreeNodeCollapseEventDetail>();\n\n readonly treeviewRef = viewChild<ElementRef<MpTreeview>>('treeview');\n readonly nodeTemplate = contentChild(BsTreeviewNodeTemplateDirective);\n\n private readonly viewContainerRef = inject(ViewContainerRef);\n private readonly destroyRef = inject(DestroyRef);\n private readonly viewCache = new Map<string, EmbeddedViewRef<{ $implicit: TreeNode }>>();\n\n constructor() {\n this.destroyRef.onDestroy(() => {\n for (const view of this.viewCache.values()) view.destroy();\n this.viewCache.clear();\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.items = this.items();\n // Prune cached views for nodes that no longer exist.\n const liveIds = new Set<string>();\n const walk = (nodes: ReadonlyArray<TreeNode>) => {\n for (const n of nodes) {\n liveIds.add(n.id);\n if (n.children) walk(n.children);\n }\n };\n walk(this.items());\n for (const [id, view] of this.viewCache) {\n if (!liveIds.has(id)) {\n view.destroy();\n this.viewCache.delete(id);\n }\n }\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.expandedIds = this.expandedIds();\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.selectedIds = this.selectedIds();\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.selectionMode = this.selectionMode();\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.hideBorders = this.hideBorders();\n });\n\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n el.iconResolver = this.iconResolver();\n });\n\n // Wire nodeRenderer when a *bsTreeviewNode template is provided.\n effect(() => {\n const el = this.treeviewRef()?.nativeElement;\n if (!el) return;\n const tpl = this.nodeTemplate();\n if (!tpl) {\n el.nodeRenderer = undefined;\n // Destroy any stale views from a previous template.\n for (const view of this.viewCache.values()) view.destroy();\n this.viewCache.clear();\n return;\n }\n el.nodeRenderer = this.buildNodeRenderer(tpl);\n });\n }\n\n ngAfterViewInit(): void {\n // Effects above re-run as the view is created; nothing else needed.\n }\n\n private buildNodeRenderer(tpl: BsTreeviewNodeTemplateDirective): TreeNodeRenderer {\n return (node) => {\n let viewRef = this.viewCache.get(node.id);\n if (!viewRef) {\n viewRef = this.viewContainerRef.createEmbeddedView(tpl.templateRef, { $implicit: node });\n this.viewCache.set(node.id, viewRef);\n } else {\n viewRef.context.$implicit = node;\n }\n viewRef.detectChanges();\n const nodes = (viewRef.rootNodes as unknown[]).filter((n): n is Node => n instanceof Node);\n if (nodes.length === 0) return undefined;\n if (nodes.length === 1) return nodes[0];\n const fragment = document.createDocumentFragment();\n for (const n of nodes) fragment.appendChild(n);\n return fragment;\n };\n }\n\n onSelect(event: Event): void {\n const detail = (event as CustomEvent<TreeNodeSelectEventDetail>).detail;\n this.selectedIds.set([...detail.selectedIds]);\n this.nodeSelect.emit(detail);\n }\n\n onExpand(event: Event): void {\n const detail = (event as CustomEvent<TreeNodeExpandEventDetail>).detail;\n this.expandedIds.set([...detail.expandedIds]);\n this.nodeExpand.emit(detail);\n }\n\n onCollapse(event: Event): void {\n const detail = (event as CustomEvent<TreeNodeCollapseEventDetail>).detail;\n this.expandedIds.set([...detail.expandedIds]);\n this.nodeCollapse.emit(detail);\n }\n}\n","<mp-treeview\n #treeview\n class=\"bs-treeview\"\n (tree-node-select)=\"onSelect($event)\"\n (tree-node-expand)=\"onExpand($event)\"\n (tree-node-collapse)=\"onCollapse($event)\"\n></mp-treeview>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;;;;;;;;;;;;AAiBG;MAEU,+BAA+B,CAAA;AAD5C,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAuC,WAAW,CAAC;AAQjF,IAAA;AANC,IAAA,OAAO,sBAAsB,CAC3B,IAAqC,EACrC,GAAY,EAAA;AAEZ,QAAA,OAAO,IAAI;IACb;8GARW,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA/B,+BAA+B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;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