@mintplayer/ng-bootstrap 21.47.0 → 22.1.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 +383 -11
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar/navbar.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-brand/navbar-brand.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-nav/navbar-nav.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-item/navbar-item.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown/navbar-dropdown.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-trigger/navbar-trigger.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/expand-button/expand-button.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/dropdown-toggle/dropdown-toggle.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/nav-link/nav-link.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, PLATFORM_ID, signal, TemplateRef, viewChild } from '@angular/core';\nimport { isPlatformServer, NgTemplateOutlet } from '@angular/common';\nimport { BsContainerComponent } from '@mintplayer/ng-bootstrap/container';\nimport { BsUserAgentDirective } from '@mintplayer/ng-bootstrap/user-agent';\nimport { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';\nimport { Breakpoint, Color } from '@mintplayer/ng-bootstrap';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\n\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.component.html',\n styleUrls: ['./navbar.component.scss'],\n imports: [NgTemplateOutlet, BsContainerComponent, BsUserAgentDirective, BsNoNoscriptDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(window:resize)': 'onWindowResize()',\n },\n})\nexport class BsNavbarComponent {\n\n private resizeTimeout: ReturnType<typeof setTimeout> | null = null;\n private ids = inject(BsIdService);\n private platformId = inject(PLATFORM_ID);\n\n /** True only during SSR — drives the noscript-friendly checkbox+label\n * toggler in the template. In the browser, even during hydration, this is\n * false so the original <button> renders.\n */\n readonly isServerSide = isPlatformServer(this.platformId);\n\n constructor() {\n this.onWindowResize();\n }\n\n onWindowResize() {\n this.isResizing.set(true);\n if (typeof window !== 'undefined') {\n this.windowWidth.set(window.innerWidth);\n }\n\n // Clear any existing timeout to debounce\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n\n // Reset isResizing after debounce period\n this.resizeTimeout = setTimeout(() => {\n this.isResizing.set(false);\n }, 300);\n }\n\n readonly nav = viewChild.required<ElementRef>('nav');\n autoclose = input(true);\n ariaLabel = input<string>('Main navigation');\n collapseId = input<string>(this.ids.next('bs-navbar-collapse'));\n /** Stable id for the noscript-friendly toggler-checkbox (label[for] target). */\n readonly togglerCheckboxId = this.ids.next('bs-navbar-toggler');\n\n expandButtonTemplate = signal<TemplateRef<any> | null>(null);\n\n isExpanded = signal<boolean>(false);\n windowWidth = signal<number | null>(null);\n isResizing = signal<boolean>(false);\n\n /**\n * What color to render the navbar.\n *\n * - `null` (default): no background, no theme override — navbar is\n * transparent and follows `<html data-bs-theme>` in both background and\n * text colors.\n * - A `Color` enum value: emits `bg-{name}` and (where appropriate)\n * `data-bs-theme=\"light|dark\"` per the mapping in\n * `docs/issue_324_navbar_modernize_PRD.md` FR-2.\n * - A `string` literal (e.g. `'body-tertiary'`, `'body-secondary'`): emits\n * `bg-{value}` directly without any `data-bs-theme` override. Use this\n * for theme-adaptive backgrounds — `bg-body-tertiary` swaps its color\n * with the page theme automatically via Bootstrap's `--bs-tertiary-bg`.\n */\n color = input<Color | string | null>(null);\n breakpoint = input<Breakpoint | null>('md');\n\n expandAt = computed(() => {\n const breakpoint = this.breakpoint();\n switch (breakpoint) {\n case 'xxl': return 1400;\n case 'xl': return 1200;\n case 'lg': return 992;\n case 'md': return 768;\n case 'sm': return 576;\n case 'xs': return 0;\n default: return null;\n }\n });\n\n isSmallMode = computed(() => {\n const expandAt = this.expandAt();\n const windowWidth = this.windowWidth();\n if (windowWidth === null) {\n return true;\n } else if (!expandAt) {\n return true;\n } else if (windowWidth >= expandAt) {\n return false;\n } else {\n return true;\n }\n });\n\n expandClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `navbar-expand-${breakpoint}`;\n }\n });\n\n wAutoClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `w-${breakpoint}-auto`;\n }\n });\n\n dNoneClass = computed(() => {\n const breakpoint = this.breakpoint();\n if (breakpoint === null) {\n return null;\n } else {\n return `d-${breakpoint}-none`;\n }\n });\n\n /**\n * Background utility class for the rendered `<nav>` (or none).\n *\n * Bootstrap 5.3+ uses `data-bs-theme` for token resolution (see `dataBsTheme`\n * below); the navbar's *background* is an independent decision driven by the\n * `[color]` input. `null` (the default) emits no class so the navbar stays\n * transparent and inherits whatever background sits behind it — the\n * idiomatic adaptive setup pairs this with `class=\"bg-body-tertiary\"` on\n * the consumer side for a theme-aware tinted background.\n */\n bgClass = computed<string | null>(() => {\n const color = this.color();\n if (color === null) return null;\n if (typeof color === 'string') return `bg-${color}`;\n return `bg-${Color[color]}`;\n });\n\n /**\n * Value for `[attr.data-bs-theme]` on the rendered `<nav>`, or `null` to\n * inherit the page theme. Bootstrap 5.3 deprecated `.navbar-light` /\n * `.navbar-dark` in favour of this attribute — components scope their CSS\n * variables to `[data-bs-theme=\"light|dark\"]`, so setting it on the navbar\n * pins its theme regardless of `<html>`. Omitting it (returning `null`)\n * lets the navbar follow the page's `<html data-bs-theme>` cascade.\n */\n dataBsTheme = computed<'light' | 'dark' | null>(() => {\n const color = this.color();\n if (color === null) return null;\n // String values (e.g. 'body-tertiary') are Bootstrap utility names — the\n // consumer is opting into a theme-aware bg utility and wants the navbar\n // to inherit the page theme.\n if (typeof color === 'string') return null;\n switch (color) {\n case Color.body:\n case Color.transparent:\n return null; // inherit page theme\n case Color.light:\n case Color.white:\n return 'light';\n default:\n return 'dark'; // dark, primary, secondary, success, danger, warning, info\n }\n });\n\n navClassList = computed(() => {\n const expandClass = this.expandClass();\n const bg = this.bgClass();\n const result: string[] = [];\n if (expandClass) result.push(expandClass);\n if (bg) result.push(bg);\n return result;\n });\n\n toggleExpanded() {\n this.isExpanded.update(v => !v);\n }\n}\n","<bs-container>\n <nav #nav class=\"navbar position-fixed\" [class]=\"navClassList()\" [attr.data-bs-theme]=\"dataBsTheme()\" bsUserAgent bsNoNoscript [attr.aria-label]=\"ariaLabel()\">\n <div class=\"container-fluid nav-wrapper\">\n <div class=\"d-flex w-100\" [class]=\"wAutoClass()\">\n <ng-content select=\"bs-navbar-brand\"></ng-content>\n <div class=\"flex-end d-flex tw\" [class]=\"dNoneClass()\">\n @if (isServerSide) {\n <!--\n SSR-only toggler: hidden checkbox + visible label.\n Works as a CSS-only toggle in noscript because:\n - The label[for=…] toggles the checkbox on click,\n regardless of browser focus-on-click behavior\n (Safari + macOS Chrome don't focus buttons on\n click, so a plain :focus-within rule fails).\n - The input is focusable (Tab + Space toggles it),\n so keyboard users get the same behavior.\n - The checkbox's :checked state drives a CSS rule\n on .navbar.noscript that overrides the SSR-baked\n height:0 the @slideUpDown void state emits.\n In the browser, isServerSide is false even during\n hydration so the @else branch's plain <button>\n renders and the JS click handler does the work.\n -->\n <input type=\"checkbox\"\n [id]=\"togglerCheckboxId\"\n class=\"navbar-toggler-checkbox visually-hidden\"\n [checked]=\"isExpanded()\"\n aria-label=\"Toggle navigation\"\n [attr.aria-expanded]=\"isExpanded()\"\n [attr.aria-controls]=\"collapseId()\" />\n <label\n [attr.for]=\"togglerCheckboxId\"\n class=\"align-self-center cursor-pointer mb-0\"\n [class.navbar-toggler]=\"!expandButtonTemplate()\"\n [class.bg-transparent]=\"expandButtonTemplate()\"\n [class.shadow-none]=\"expandButtonTemplate()\"\n [class.border-0]=\"expandButtonTemplate()\"\n aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"expandButtonTemplate() ?? defaultExpandButton; context: { $implicit: isExpanded() }\"></ng-container>\n </label>\n } @else {\n <button (click)=\"toggleExpanded()\"\n class=\"align-self-center\"\n [class.navbar-toggler]=\"!expandButtonTemplate()\"\n [class.bg-transparent]=\"expandButtonTemplate()\"\n [class.shadow-none]=\"expandButtonTemplate()\"\n [class.border-0]=\"expandButtonTemplate()\"\n type=\"button\"\n aria-label=\"Toggle navigation\"\n [attr.aria-expanded]=\"isExpanded()\"\n [attr.aria-controls]=\"collapseId()\">\n <ng-container *ngTemplateOutlet=\"expandButtonTemplate() ?? defaultExpandButton; context: { $implicit: isExpanded() }\"></ng-container>\n </button>\n }\n </div>\n </div>\n <div [id]=\"collapseId()\" style=\"display: contents;\">\n <ng-content></ng-content>\n </div>\n </div>\n </nav>\n</bs-container>\n\n<ng-template #defaultExpandButton>\n <span class=\"navbar-toggler-icon\" aria-hidden=\"true\"></span>\n</ng-template>\n","import { AfterContentChecked, Component, ElementRef, inject, input, ChangeDetectionStrategy} from '@angular/core';\n\n@Component({\n selector: 'bs-navbar-brand',\n templateUrl: './navbar-brand.component.html',\n styleUrls: ['./navbar-brand.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mx-auto]': 'true',\n },\n})\nexport class BsNavbarBrandComponent implements AfterContentChecked {\n private element = inject(ElementRef);\n readonly routerLink = input<any[]>([]);\n\n ngAfterContentChecked() {\n const anchor = this.element.nativeElement.querySelector('a');\n if (anchor) {\n anchor.classList.add('nav-link');\n }\n }\n}\n","<span class=\"navbar-brand mx-auto mx-md-unset\">\n <ng-content></ng-content>\n</span>","import { ChangeDetectionStrategy, Component, computed, inject, input, signal } from '@angular/core';\nimport { SlideUpDownAnimation } from '@mintplayer/ng-animations';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Component({\n selector: 'bs-navbar-nav',\n templateUrl: './navbar-nav.component.html',\n styleUrls: ['./navbar-nav.component.scss'],\n animations: [SlideUpDownAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(window:resize)': 'onWindowResize()',\n },\n})\nexport class BsNavbarNavComponent {\n\n bsNavbar = inject(BsNavbarComponent);\n\n windowWidth = signal<number | null>(null);\n isResizing = signal<boolean>(false);\n collapse = input<boolean>(true);\n\n private resizeTimeout: ReturnType<typeof setTimeout> | null = null;\n\n showNavs = computed(() => {\n const isExpanded = this.bsNavbar.isExpanded();\n const expandAt = this.bsNavbar.expandAt();\n const windowWidth = this.windowWidth();\n\n if (windowWidth === null) {\n return false;\n } else if (expandAt === null) {\n return isExpanded;\n } else if (windowWidth >= expandAt) {\n return true;\n } else {\n return isExpanded;\n }\n });\n\n constructor() {\n this.onWindowResize();\n }\n\n onWindowResize() {\n this.isResizing.set(true);\n if (typeof window !== 'undefined') {\n this.windowWidth.set(window.innerWidth);\n }\n\n // Clear any existing timeout to debounce\n if (this.resizeTimeout) {\n clearTimeout(this.resizeTimeout);\n }\n\n // Reset isResizing after debounce period\n this.resizeTimeout = setTimeout(() => {\n this.isResizing.set(false);\n }, 300);\n }\n}\n","<div class=\"navbar-collapse w-100 show\" [class.collapse]=\"collapse()\" [@slideUpDown]=\"showNavs()\" [@.disabled]=\"isResizing()\">\n <ul class=\"navbar-nav mr-auto\">\n <ng-content></ng-content>\n </ul>\n</div>\n","import { AfterContentChecked, AfterContentInit, ChangeDetectionStrategy, Component, computed, contentChildren, DestroyRef, effect, ElementRef, forwardRef, inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { Router } from '@angular/router';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n/** Duration of the navbar collapse animation in milliseconds */\nconst NAVBAR_ANIMATION_DURATION = 300;\n\n@Component({\n selector: 'bs-navbar-item',\n templateUrl: './navbar-item.component.html',\n styleUrls: ['./navbar-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(click)': 'onHostClick($event)',\n },\n})\nexport class BsNavbarItemComponent implements AfterContentInit, AfterContentChecked {\n\n private navbar = inject(BsNavbarComponent);\n element = inject(ElementRef);\n private destroy = inject(DestroyRef);\n private platformId = inject(PLATFORM_ID);\n private router = inject(Router);\n parentDropdown = inject(forwardRef(() => BsNavbarDropdownComponent), { optional: true });\n\n readonly hasDropdown = computed(() => this.dropdowns().length > 0);\n anchorTag: HTMLAnchorElement | null = null;\n readonly dropdowns = contentChildren<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent));\n\n\n constructor() {\n // Effect handles future isSmallMode changes after content is initialized\n effect(() => {\n const isSmallMode = this.navbar.isSmallMode();\n this.dropdowns().forEach((dropdown) => {\n dropdown.showInOverlay = !isSmallMode;\n });\n });\n }\n\n ngAfterContentInit() {\n // Set initial showInOverlay state after content children are resolved\n // This is needed because the effect runs before @ContentChildren is populated\n const isSmallMode = this.navbar.isSmallMode();\n this.dropdowns().forEach((dropdown) => {\n dropdown.showInOverlay = !isSmallMode;\n });\n }\n\n // `ngAfterContentChecked` only manages classList state on the\n // consumer-authored `<a>` (so consumers don't have to spell out\n // `class=\"nav-link\"` etc.). The click handling moved off the anchor\n // entirely — see `host: { '(click)': 'onHostClick' }` above and the\n // `onHostClick` method below.\n //\n // classList writes here are idempotent + survive SSR hydration (Angular\n // serializes the post-CD DOM state), so we can re-run them every tick\n // without instance flags or DOM-attribute markers. The previous\n // implementation used DOM-attribute markers (`nav-link-class-added`,\n // `close-init-b`, `close-init-a`) which broke on hydration: server\n // HTML carried the marker, client hydration read it as \"already wired\"\n // and skipped attaching the click listeners on the live DOM. The host\n // binding approach sidesteps that class of bug — host bindings serialize\n // and re-bind on hydration the same way template bindings do.\n ngAfterContentChecked() {\n const anchor = this.element.nativeElement.querySelector('li a') as HTMLAnchorElement | null;\n this.anchorTag = anchor;\n if (!anchor) return;\n\n if (this.parentDropdown === null) {\n anchor.classList.add('nav-link');\n } else {\n anchor.classList.add('dropdown-item');\n }\n anchor.classList.add('cursor-pointer');\n\n if (this.hasDropdown()) {\n anchor.classList.add('dropdown-toggle');\n if (isPlatformServer(this.platformId)) {\n // Make the SSR-rendered anchor a no-op for noscript users — the\n // dropdown is revealed by :focus-within instead.\n anchor.href = 'javascript:;';\n }\n } else {\n anchor.classList.remove('dropdown-toggle');\n }\n }\n\n /**\n * Host-bound click handler. Fires for any click that bubbles up through\n * this `<bs-navbar-item>`, including descendant navbar-items inside our\n * projected `<bs-navbar-dropdown>`. We filter to the consumer-authored\n * `<a>` element of THIS item (`this.anchorTag`) so the trigger logic only\n * runs when the user clicked OUR anchor — descendant link clicks are\n * already handled by their own navbar-item's host listener.\n *\n * This replaces the previous `addEventListener` calls in\n * `ngAfterContentChecked`, which were brittle: on SSR the marker\n * attribute (`close-init-b`/`-a`) was serialized into the HTML, on the\n * client the guard read it as \"already wired\" and skipped attaching the\n * listener on the live DOM. Host bindings serialize and re-bind on\n * hydration like template bindings, so no race.\n */\n onHostClick(ev: MouseEvent) {\n const clickedAnchor = (ev.target as Element | null)?.closest('a');\n if (!clickedAnchor || clickedAnchor !== this.anchorTag) return;\n\n if (this.hasDropdown()) {\n ev.preventDefault();\n this.dropdowns().forEach((dropdown) => {\n const newVisible = !dropdown.isVisible();\n dropdown.isVisible.set(newVisible);\n if (!newVisible) {\n dropdown.childDropdowns().forEach((child) => child.isVisible.set(false));\n }\n });\n return;\n }\n\n if (this.dropdowns().length === 0) {\n let d = this.parentDropdown;\n while (d && d.autoclose()) {\n d.isVisible.set(false);\n d = d.parentDropdown;\n }\n if (this.navbar.autoclose()) {\n // Fragment-aware navigation: in small mode, collapse the navbar\n // first, then navigate to the fragment after the collapse animation\n // completes — keeps the scroll position correct since the navbar\n // height has stabilised by then.\n const href = clickedAnchor.getAttribute('href') ?? '';\n const fragmentMatch = href.match(/#(.+)$/);\n const fragment = fragmentMatch ? fragmentMatch[1] : null;\n\n this.navbar.isExpanded.set(false);\n\n if (this.navbar.isSmallMode() && fragment) {\n ev.preventDefault();\n setTimeout(() => {\n this.router.navigateByUrl(href);\n }, NAVBAR_ANIMATION_DURATION);\n }\n }\n }\n }\n}\n","<li [class.nav-item]=\"parentDropdown === null\" [class.dropdown]=\"(dropdowns().length > 0) && (parentDropdown === null)\" [class.dropend]=\"(dropdowns().length > 0) && (parentDropdown !== null)\">\n <ng-content></ng-content>\n</li>","import { DOCUMENT, isPlatformServer } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, contentChildren, computed, DestroyRef, effect, ElementRef, forwardRef, inject, Injector, input, OnDestroy, PLATFORM_ID, signal, SkipSelf, viewChild } from '@angular/core';\nimport { ClickOutsideDirective } from '@mintplayer/ng-click-outside';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { BsNoNoscriptDirective } from '@mintplayer/ng-bootstrap/no-noscript';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\nimport { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';\nimport { DomPortal } from '@angular/cdk/portal';\nimport { OverlayRef } from '@angular/cdk/overlay';\n\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.component.html',\n styleUrls: ['./navbar-dropdown.component.scss'],\n imports: [BsHasOverlayComponent, BsNoNoscriptDirective, ClickOutsideDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarDropdownComponent implements OnDestroy {\n\n private navbar = inject(BsNavbarComponent);\n parentDropdown = inject(BsNavbarDropdownComponent, { skipSelf: true, optional: true });\n navbarItem = inject(forwardRef(() => BsNavbarItemComponent), { host: true });\n element = inject<ElementRef<HTMLElement>>(ElementRef);\n private injector = inject(Injector);\n private document = inject(DOCUMENT);\n private platformId = inject(PLATFORM_ID);\n\n private readonly isAttached = signal<boolean>(false);\n private readonly isDestroyed = signal<boolean>(false);\n private domPortal?: DomPortal;\n private overlay?: OverlayRef;\n private pendingShowInOverlay: boolean | null = null;\n\n autoclose = input(true);\n readonly dropdownElement = viewChild.required<ElementRef<HTMLDivElement>>('dd');\n isBrowser = !isPlatformServer(this.platformId);\n\n isVisible = signal<boolean>(false);\n topPos = signal<number | null>(null);\n\n /**\n * Top-level dropdowns render in-place; only nested submenus go through the\n * CDK overlay. The visible-flash bug only affects the overlay path.\n */\n private readonly isOverlayMounted = computed(() => !!this.parentDropdown && this.isBrowser);\n\n /**\n * `.show` is gated on this for overlay-mounted submenus so the user never\n * sees the menu at its stale top-left position. False until updatePosition\n * has run at least once for the current open cycle; reset on close.\n */\n private readonly isPositioned = signal<boolean>(false);\n\n /** What `[class.show]` actually binds to. */\n readonly showClass = computed(() =>\n this.isOverlayMounted()\n ? this.isVisible() && this.isPositioned()\n : this.isVisible()\n );\n\n maxHeight = computed(() => {\n const topPos = this.topPos();\n const w: Window | null = this.document.defaultView;\n if (!topPos) {\n return null;\n } else if (w && this.dropdownElement()) {\n const style = w.getComputedStyle(this.dropdownElement().nativeElement);\n return `calc(100vh - ${topPos}px - ${style.getPropertyValue('padding-top')} - ${style.getPropertyValue('padding-bottom')})`;\n } else {\n return null;\n }\n });\n\n maxHeightOrNull = computed(() => {\n const maxHeight = this.maxHeight();\n const isSmallMode = this.navbar.isSmallMode();\n if (isSmallMode) {\n return null;\n } else if (isPlatformServer(this.platformId)) {\n return this.parentDropdown ? null : maxHeight;\n } else {\n return maxHeight;\n }\n });\n\n constructor() {\n effect(() => {\n const isVisible = this.isVisible();\n if (isVisible) {\n // Overlay was attached at ngAfterContentInit when the connected\n // navbar-item was still inside a closed parent dropdown — its\n // getBoundingClientRect was (0, 0) and the overlay cached top-left.\n // Compute the real position now, before .show flips on, so the user\n // never sees the menu painted at the stale top-left.\n try { this.overlay?.updatePosition(); }\n catch (ex) { }\n this.isPositioned.set(true);\n this.topPos.set(this.element.nativeElement.offsetTop);\n } else {\n this.isPositioned.set(false);\n this.topPos.set(null);\n }\n });\n\n if (!!this.parentDropdown && this.isBrowser) {\n import('@angular/cdk/overlay').then(({ Overlay }) => {\n // Guard against accessing injector after component is destroyed\n if (this.isDestroyed()) {\n return;\n }\n const overlayService = this.injector.get(Overlay);\n this.domPortal = new DomPortal(this.element);\n this.overlay = overlayService.create({\n positionStrategy: overlayService.position()\n .flexibleConnectedTo(this.navbarItem.element)\n .withPositions([\n { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top', offsetX: -9, offsetY: -9 }\n ])\n });\n\n // Apply pending showInOverlay state if it was set before overlay was ready\n if (this.pendingShowInOverlay !== null) {\n const pending = this.pendingShowInOverlay;\n this.pendingShowInOverlay = null;\n this.showInOverlay = pending;\n }\n });\n }\n }\n\n ngOnDestroy() {\n this.isDestroyed.set(true);\n this.overlay?.dispose();\n }\n\n public set showInOverlay(value: boolean) {\n if (this.overlay && this.domPortal) {\n if (value && !this.isAttached()) {\n this.overlay.attach(this.domPortal);\n this.isAttached.set(true);\n }\n if (!value && this.isAttached()) {\n this.overlay.detach();\n this.isAttached.set(false);\n }\n } else {\n // Store the value to apply once the overlay is ready\n this.pendingShowInOverlay = value;\n }\n }\n\n get elementsToExclude() {\n return [this.navbarItem.anchorTag].filter((a) => a).map((a) => <HTMLElement>a);\n }\n\n readonly childDropdowns = contentChildren<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent), { descendants: true });\n}\n","<bs-has-overlay></bs-has-overlay>\n<ul #dd class=\"dropdown-menu me-3\" [class.show]=\"showClass()\" [class.submenu]=\"!!parentDropdown\" [class.overflow-y-auto]=\"isBrowser\" [style.max-height]=\"maxHeightOrNull()\" bsNoNoscript (clickOutside)=\"isVisible.set(false)\" [exclude]=\"elementsToExclude\" aria-labelledby=\"navbarDropdown\">\n <ng-content></ng-content>\n</ul>\n\n<!--\n - Working demo: https://codepen.io/agop/pen/VwwMGR\n - Location must be set through javascript\n - bsNoScript => If noscript, 2nd-level submenus must be shown inside the 1st-level submenu\n -->\n <!--\n - Another option: https://stackblitz.com/edit/web-platform-vmsr4l?file=index.html\n - But this doesn't seem to work here\n -->\n","import { isPlatformServer } from '@angular/common';\nimport { AfterViewInit, Directive, effect, ElementRef, inject, input, OnDestroy, PLATFORM_ID, signal } from '@angular/core';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements AfterViewInit, OnDestroy {\n\n private element = inject(ElementRef);\n private platformId = inject(PLATFORM_ID);\n\n navbar = input<BsNavbarComponent | undefined>(undefined, { alias: 'bsNavbarContent' });\n private viewInit = signal<boolean>(false);\n resizeObserver: ResizeObserver | null = null;\n initialPadding = 0;\n\n constructor() {\n effect(() => {\n const viewInit = this.viewInit();\n const navbar = this.navbar();\n\n if (viewInit && navbar) {\n if (isPlatformServer(this.platformId)) {\n this.element.nativeElement.style.paddingTop = (this.initialPadding + 58) + 'px';\n } else {\n this.resizeObserver = new ResizeObserver((entries) => {\n const height = navbar.nav().nativeElement.offsetHeight;\n this.element.nativeElement.style.paddingTop = (this.initialPadding + height) + 'px';\n });\n\n const px = getComputedStyle(this.element.nativeElement).getPropertyValue('padding-top');\n const pt = parseInt(px.replace(/px$/, ''));\n this.initialPadding = isNaN(pt) ? 0 : pt;\n if (this.resizeObserver && navbar) {\n this.resizeObserver.observe(navbar.nav().nativeElement);\n }\n }\n }\n });\n }\n\n ngAfterViewInit() {\n this.viewInit.set(true);\n }\n\n ngOnDestroy() {\n const navbar = this.navbar();\n if (navbar) {\n this.resizeObserver?.unobserve(navbar.nav().nativeElement);\n }\n }\n}\n","import { Directive, computed, inject, input, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationEnd, Router } from '@angular/router';\nimport { filter } from 'rxjs/operators';\n\n/**\n * Marks a navbar dropdown trigger anchor. Replaces both `routerLink` and\n * `routerLinkActive` on a trigger element: toggles the active CSS class when a\n * sub-route under the bound URL is active, but does NOT navigate on click\n * (which `routerLink` would do via its own host listener, even when other\n * click handlers `preventDefault`).\n *\n * @example\n * ```html\n * <a bsNavbarTrigger=\"/overlays\">Overlays</a>\n * ```\n *\n * Items inside the dropdown panel still use real `[routerLink]`s for\n * navigation. Use this directive only for the trigger anchor that opens the\n * dropdown panel.\n */\n@Directive({\n selector: '[bsNavbarTrigger]',\n host: {\n 'href': 'javascript:void(0)',\n '[class.active]': 'isActive()',\n '(click)': '$event.preventDefault()',\n },\n})\nexport class BsNavbarTriggerDirective {\n private router = inject(Router);\n\n readonly bsNavbarTrigger = input.required<string | readonly string[]>();\n\n private currentUrl = signal(this.router.url);\n\n private targetUrl = computed(() => {\n const v = this.bsNavbarTrigger();\n if (Array.isArray(v)) {\n // join with '/', collapse double slashes; ensure leading slash\n const joined = (v as readonly string[]).join('/').replace(/\\/+/g, '/');\n return joined.startsWith('/') ? joined : '/' + joined;\n }\n return v as string;\n });\n\n readonly isActive = computed(() => {\n const url = this.currentUrl();\n const target = this.targetUrl();\n return url === target || url.startsWith(target + '/');\n });\n\n constructor() {\n this.router.events.pipe(\n filter(ev => ev instanceof NavigationEnd),\n takeUntilDestroyed(),\n ).subscribe(() => this.currentUrl.set(this.router.url));\n }\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: '[bsExpandButton]',\n})\nexport class BsExpandButtonDirective {\n\n constructor() {\n const navbar = inject(BsNavbarComponent);\n const templateRef = inject(TemplateRef);\n navbar.expandButtonTemplate.set(templateRef);\n }\n \n public static ngTemplateContextGuard(\n dir: BsExpandButtonDirective,\n ctx: any\n ): ctx is BsExpandButtonContext {\n return true;\n }\n\n}\n\nexport class BsExpandButtonContext {\n public $implicit: boolean = null!;\n}","import { ContentChildren, Directive, ElementRef, forwardRef, inject, QueryList } from '@angular/core';\nimport { BsNavbarItemComponent } from '../navbar-item/navbar-item.component';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\n\n@Directive({\n // selector: 'bs-navbar-item > a[routerLink]',\n selector: 'bs-navbar-item',\n queries: {\n childDropdowns: new ContentChildren(forwardRef(() => BsNavbarDropdownComponent))\n },\n})\nexport class DropdownToggleDirective {\n\n private elementRef = inject<ElementRef<HTMLAnchorElement>>(ElementRef);\n private bsNavbarItem = inject<BsNavbarItemComponent>(forwardRef(() => BsNavbarItemComponent));\n\n childDropdowns!: QueryList<BsNavbarDropdownComponent>;\n}","import { Directive, ElementRef, forwardRef, inject } from '@angular/core';\nimport { BsNavbarDropdownComponent } from '../navbar-dropdown/navbar-dropdown.component';\nimport { BsNavbarComponent } from '../navbar/navbar.component';\n\n@Directive({\n selector: 'bs-navbar-item > li > a',\n // Below selector doesn't work well either (does not select the github link)\n // selector: 'bs-navbar-item > a[routerLink]'\n // Below selector seems to target other a's that aren't even remotely inside a bs-navbar-item\n // selector: 'bs-navbar-item:first-child > a'\n host: {\n '[class.cursor-pointer]': 'cursorPointer',\n },\n})\nexport class NavLinkDirective {\n\n private elementRef = inject<ElementRef<HTMLAnchorElement>>(ElementRef);\n private parentNavbar = inject(BsNavbarComponent, { optional: true });\n private parentDropdown = inject<BsNavbarDropdownComponent>(forwardRef(() => BsNavbarDropdownComponent), { optional: true });\n\n cursorPointer: boolean;\n\n constructor() {\n if (this.parentNavbar) {\n if (this.parentDropdown == null) {\n this.elementRef.nativeElement.classList.add('nav-link');\n } else {\n this.elementRef.nativeElement.classList.add('dropdown-item');\n }\n }\n this.cursorPointer = !!this.parentNavbar;\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAkBa,iBAAiB,CAAA;AAY5B,IAAA,WAAA,GAAA;QAVQ,IAAA,CAAA,aAAa,GAAyC,IAAI;AAC1D,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC;AACzB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAExC;;;AAG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BAAA;AACF,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, inject, PLATFORM_ID, DestroyRef, isDevMode, Injectable, input, Directive, makeEnvironmentProviders } from '@angular/core';
|
|
3
|
+
import { isPlatformBrowser } from '@angular/common';
|
|
4
|
+
import { ROUTER_CONFIGURATION, provideRouter, withRouterConfig } from '@angular/router';
|
|
5
|
+
import { isObservable, firstValueFrom, take, defaultIfEmpty } from 'rxjs';
|
|
6
|
+
|
|
7
|
+
/** Confirm hook used by the directive's fallback path (canExit undefined + exitMessage set). */
|
|
8
|
+
const BS_NAVIGATION_LOCK_CONFIRM = new InjectionToken('BS_NAVIGATION_LOCK_CONFIRM', {
|
|
9
|
+
providedIn: 'root',
|
|
10
|
+
factory: () => (message) => typeof window === 'undefined' ? true : window.confirm(message),
|
|
11
|
+
});
|
|
12
|
+
class BsNavigationLockService {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.platformId = inject(PLATFORM_ID);
|
|
15
|
+
this.destroy = inject(DestroyRef);
|
|
16
|
+
this.locks = new Set();
|
|
17
|
+
this.pending = null;
|
|
18
|
+
if (isDevMode()) {
|
|
19
|
+
// canceledNavigationResolution is needed to restore the history stack
|
|
20
|
+
// on popstate-cancel. Default 'replace' loses the popped entry. The
|
|
21
|
+
// value is set via ROUTER_CONFIGURATION (typically through
|
|
22
|
+
// withRouterConfig in provideRouter); read it directly from the token
|
|
23
|
+
// since Router.options is private in the public type.
|
|
24
|
+
const config = inject(ROUTER_CONFIGURATION, { optional: true });
|
|
25
|
+
if (config?.canceledNavigationResolution !== 'computed') {
|
|
26
|
+
console.warn('[BsNavigationLockService] Router.canceledNavigationResolution is not "computed". ' +
|
|
27
|
+
'Pass withRouterConfig({ canceledNavigationResolution: "computed" }) to provideRouter ' +
|
|
28
|
+
'so popstate cancellations restore the history stack correctly.');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
32
|
+
const handler = (ev) => this.onBeforeUnload(ev);
|
|
33
|
+
window.addEventListener('beforeunload', handler);
|
|
34
|
+
this.destroy.onDestroy(() => window.removeEventListener('beforeunload', handler));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/** Internal — called by directive on init. */
|
|
38
|
+
register(lock) {
|
|
39
|
+
this.locks.add(lock);
|
|
40
|
+
}
|
|
41
|
+
/** Internal — called by directive on destroy. */
|
|
42
|
+
unregister(lock) {
|
|
43
|
+
this.locks.delete(lock);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Programmatic check: ask every active lock if exit is OK.
|
|
47
|
+
* Resolves true only when every lock allows exit. Short-circuits on first false.
|
|
48
|
+
*
|
|
49
|
+
* Re-entrant calls while a check is already in flight return the same Promise
|
|
50
|
+
* — only the first `reason` is consulted. This dedups both router-driven
|
|
51
|
+
* fires (e.g. `canMatch` running once) and programmatic call sites that
|
|
52
|
+
* might invoke `requestExit` multiple times in the same tick.
|
|
53
|
+
*/
|
|
54
|
+
requestExit(reason) {
|
|
55
|
+
if (this.pending)
|
|
56
|
+
return this.pending;
|
|
57
|
+
const p = this.doRequestExit(reason);
|
|
58
|
+
this.pending = p;
|
|
59
|
+
// Clear `pending` via .finally() AFTER the outer assignment, not inside
|
|
60
|
+
// `doRequestExit`'s body. Reason: when every lock resolves synchronously
|
|
61
|
+
// (or `locks` is empty), `doRequestExit`'s try/finally runs to completion
|
|
62
|
+
// BEFORE this assignment line executes — so an inner `finally { pending =
|
|
63
|
+
// null }` would be immediately overwritten by `this.pending = p`, leaving
|
|
64
|
+
// pending stuck on a resolved Promise. Every subsequent navigation then
|
|
65
|
+
// short-circuits on the truthy cache without consulting locks. The
|
|
66
|
+
// `=== p` guard avoids clobbering a fresh pending if someone calls
|
|
67
|
+
// requestExit again before this microtask runs.
|
|
68
|
+
p.finally(() => {
|
|
69
|
+
if (this.pending === p)
|
|
70
|
+
this.pending = null;
|
|
71
|
+
});
|
|
72
|
+
return p;
|
|
73
|
+
}
|
|
74
|
+
async doRequestExit(reason) {
|
|
75
|
+
for (const lock of this.locks) {
|
|
76
|
+
const ok = await this.normalise(lock.requestCanExit(reason));
|
|
77
|
+
if (!ok)
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
onBeforeUnload(ev) {
|
|
83
|
+
// PRD §5.4 — sync-first, browser does NOT await async results.
|
|
84
|
+
for (const lock of this.locks) {
|
|
85
|
+
const result = lock.requestCanExit();
|
|
86
|
+
if (typeof result === 'boolean') {
|
|
87
|
+
if (!result) {
|
|
88
|
+
ev.preventDefault();
|
|
89
|
+
ev.returnValue = '';
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
// Promise / Observable — safe default: prompt the browser confirm.
|
|
95
|
+
ev.preventDefault();
|
|
96
|
+
ev.returnValue = '';
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
normalise(r) {
|
|
101
|
+
if (typeof r === 'boolean')
|
|
102
|
+
return Promise.resolve(r);
|
|
103
|
+
if (isObservable(r))
|
|
104
|
+
return firstValueFrom(r.pipe(take(1), defaultIfEmpty(true)));
|
|
105
|
+
return r;
|
|
106
|
+
}
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNavigationLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
108
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNavigationLockService, providedIn: 'root' }); }
|
|
109
|
+
}
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNavigationLockService, decorators: [{
|
|
111
|
+
type: Injectable,
|
|
112
|
+
args: [{ providedIn: 'root' }]
|
|
113
|
+
}], ctorParameters: () => [] });
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Marks the host as a navigation-blocker. Drop `[bsNavigationLock]` on a real
|
|
117
|
+
* element (typically the form). Set `[canExit]` to a boolean, function, or
|
|
118
|
+
* Observable. The service consults every active lock on Router navigation
|
|
119
|
+
* (via `bsNavigationLockGuard` registered at the root) and on `beforeunload`.
|
|
120
|
+
*
|
|
121
|
+
* Fallback: if `canExit` is not set but `exitMessage` is, the directive uses
|
|
122
|
+
* the injected `BS_NAVIGATION_LOCK_CONFIRM` hook with that message.
|
|
123
|
+
*/
|
|
124
|
+
class BsNavigationLockDirective {
|
|
125
|
+
constructor() {
|
|
126
|
+
this.destroy = inject(DestroyRef);
|
|
127
|
+
this.service = inject(BsNavigationLockService);
|
|
128
|
+
this.confirmFn = inject(BS_NAVIGATION_LOCK_CONFIRM);
|
|
129
|
+
this.canExit = input(undefined, /* @ts-ignore */
|
|
130
|
+
...(ngDevMode ? [{ debugName: "canExit" }] : /* istanbul ignore next */ []));
|
|
131
|
+
this.exitMessage = input(undefined, /* @ts-ignore */
|
|
132
|
+
...(ngDevMode ? [{ debugName: "exitMessage" }] : /* istanbul ignore next */ []));
|
|
133
|
+
this.service.register(this);
|
|
134
|
+
this.destroy.onDestroy(() => this.service.unregister(this));
|
|
135
|
+
}
|
|
136
|
+
requestCanExit(reason) {
|
|
137
|
+
const canExit = this.canExit();
|
|
138
|
+
if (canExit === undefined) {
|
|
139
|
+
const msg = this.exitMessage();
|
|
140
|
+
if (msg)
|
|
141
|
+
return Promise.resolve(this.confirmFn(msg));
|
|
142
|
+
return true;
|
|
143
|
+
}
|
|
144
|
+
if (typeof canExit === 'boolean')
|
|
145
|
+
return canExit;
|
|
146
|
+
if (typeof canExit === 'function')
|
|
147
|
+
return canExit(reason);
|
|
148
|
+
return canExit; // Observable<boolean>
|
|
149
|
+
}
|
|
150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNavigationLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
151
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: BsNavigationLockDirective, isStandalone: true, selector: "[bsNavigationLock]", inputs: { canExit: { classPropertyName: "canExit", publicName: "canExit", isSignal: true, isRequired: false, transformFunction: null }, exitMessage: { classPropertyName: "exitMessage", publicName: "exitMessage", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["bsNavigationLock"], ngImport: i0 }); }
|
|
152
|
+
}
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNavigationLockDirective, decorators: [{
|
|
154
|
+
type: Directive,
|
|
155
|
+
args: [{
|
|
156
|
+
selector: '[bsNavigationLock]',
|
|
157
|
+
exportAs: 'bsNavigationLock',
|
|
158
|
+
}]
|
|
159
|
+
}], ctorParameters: () => [], propDecorators: { canExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "canExit", required: false }] }], exitMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "exitMessage", required: false }] }] } });
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Functional `canActivate` guard the consumer registers ONCE at the root
|
|
163
|
+
* route (paired with `runGuardsAndResolvers: 'always'` so it re-fires on
|
|
164
|
+
* every navigation, not just the first one):
|
|
165
|
+
*
|
|
166
|
+
* ```ts
|
|
167
|
+
* {
|
|
168
|
+
* path: '',
|
|
169
|
+
* canActivate: [bsNavigationLockGuard],
|
|
170
|
+
* runGuardsAndResolvers: 'always',
|
|
171
|
+
* children: [...],
|
|
172
|
+
* }
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* Why `canActivate` and not `canMatch`: `canMatch` excludes the route from
|
|
176
|
+
* URL matching when it returns false. If your config has only one top-level
|
|
177
|
+
* route, returning false from `canMatch` leaves the router with nothing to
|
|
178
|
+
* navigate to — the URL still updates (the cancellation isn't propagated
|
|
179
|
+
* back through History API) and the user lands on a blank page. `canActivate`
|
|
180
|
+
* is Angular's "block this navigation" hook — returning false cancels the
|
|
181
|
+
* navigation cleanly and (with `canceledNavigationResolution: 'computed'`)
|
|
182
|
+
* restores the URL.
|
|
183
|
+
*
|
|
184
|
+
* Programmatic call sites that need a `reason` argument should call
|
|
185
|
+
* `BsNavigationLockService.requestExit(reason)` directly.
|
|
186
|
+
*/
|
|
187
|
+
const bsNavigationLockGuard = () => {
|
|
188
|
+
return inject(BsNavigationLockService).requestExit();
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Optional provider. Without it, the service is still root-provided and
|
|
193
|
+
* uses `window.confirm` as the default fallback confirm UI.
|
|
194
|
+
*/
|
|
195
|
+
function provideNavigationLock(opts) {
|
|
196
|
+
return makeEnvironmentProviders([
|
|
197
|
+
...(opts?.confirm
|
|
198
|
+
? [{ provide: BS_NAVIGATION_LOCK_CONFIRM, useValue: opts.confirm }]
|
|
199
|
+
: []),
|
|
200
|
+
]);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* One-call router setup for navigation-lock. Wraps `routes` in a root
|
|
204
|
+
* `{ path: '', canActivate: [bsNavigationLockGuard], runGuardsAndResolvers:
|
|
205
|
+
* 'always', children }` entry and applies `canceledNavigationResolution:
|
|
206
|
+
* 'computed'` (required for popstate-cancel to restore the history stack).
|
|
207
|
+
* Pass any additional router features (`withPreloading`,
|
|
208
|
+
* `withInMemoryScrolling`, …) as extra arguments.
|
|
209
|
+
*
|
|
210
|
+
* `runGuardsAndResolvers: 'always'` is essential: by default `canActivate`
|
|
211
|
+
* only re-runs when route params change, so navigating between siblings of
|
|
212
|
+
* the root wrapper (the common case) would otherwise bypass the lock.
|
|
213
|
+
*
|
|
214
|
+
* If you also pass your own `withRouterConfig`, make sure it includes
|
|
215
|
+
* `canceledNavigationResolution: 'computed'` — the dev-mode warning from
|
|
216
|
+
* `BsNavigationLockService` will fire otherwise.
|
|
217
|
+
*/
|
|
218
|
+
function provideNavigationLockRouter(routes, ...features) {
|
|
219
|
+
return provideRouter([
|
|
220
|
+
{
|
|
221
|
+
path: '',
|
|
222
|
+
canActivate: [bsNavigationLockGuard],
|
|
223
|
+
runGuardsAndResolvers: 'always',
|
|
224
|
+
children: routes,
|
|
225
|
+
},
|
|
226
|
+
], withRouterConfig({ canceledNavigationResolution: 'computed' }), ...features);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Generated bundle index. Do not edit.
|
|
231
|
+
*/
|
|
232
|
+
|
|
233
|
+
export { BS_NAVIGATION_LOCK_CONFIRM, BsNavigationLockDirective, BsNavigationLockService, bsNavigationLockGuard, provideNavigationLock, provideNavigationLockRouter };
|
|
234
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-navigation-lock.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-navigation-lock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/service/navigation-lock.service.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/directive/navigation-lock.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/guard/navigation-lock.guard.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/src/providers/navigation-lock.provider.ts","../../../../libs/mintplayer-ng-bootstrap/navigation-lock/mintplayer-ng-bootstrap-navigation-lock.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { DestroyRef, inject, Injectable, InjectionToken, isDevMode, PLATFORM_ID } from '@angular/core';\nimport { ROUTER_CONFIGURATION } from '@angular/router';\nimport { defaultIfEmpty, firstValueFrom, isObservable, Observable, take } from 'rxjs';\nimport { BsNavigationLockHandle } from './navigation-lock-handle';\n\n/** Confirm hook used by the directive's fallback path (canExit undefined + exitMessage set). */\nexport const BS_NAVIGATION_LOCK_CONFIRM = new InjectionToken<\n (message: string) => boolean | Promise<boolean>\n>('BS_NAVIGATION_LOCK_CONFIRM', {\n providedIn: 'root',\n factory: () => (message: string) =>\n typeof window === 'undefined' ? true : window.confirm(message),\n});\n\n@Injectable({ providedIn: 'root' })\nexport class BsNavigationLockService {\n private readonly platformId = inject(PLATFORM_ID);\n private readonly destroy = inject(DestroyRef);\n private readonly locks = new Set<BsNavigationLockHandle>();\n private pending: Promise<boolean> | null = null;\n\n constructor() {\n if (isDevMode()) {\n // canceledNavigationResolution is needed to restore the history stack\n // on popstate-cancel. Default 'replace' loses the popped entry. The\n // value is set via ROUTER_CONFIGURATION (typically through\n // withRouterConfig in provideRouter); read it directly from the token\n // since Router.options is private in the public type.\n const config = inject(ROUTER_CONFIGURATION, { optional: true });\n if (config?.canceledNavigationResolution !== 'computed') {\n console.warn(\n '[BsNavigationLockService] Router.canceledNavigationResolution is not \"computed\". ' +\n 'Pass withRouterConfig({ canceledNavigationResolution: \"computed\" }) to provideRouter ' +\n 'so popstate cancellations restore the history stack correctly.',\n );\n }\n }\n\n if (isPlatformBrowser(this.platformId)) {\n const handler = (ev: BeforeUnloadEvent) => this.onBeforeUnload(ev);\n window.addEventListener('beforeunload', handler);\n this.destroy.onDestroy(() => window.removeEventListener('beforeunload', handler));\n }\n }\n\n /** Internal — called by directive on init. */\n register(lock: BsNavigationLockHandle): void {\n this.locks.add(lock);\n }\n\n /** Internal — called by directive on destroy. */\n unregister(lock: BsNavigationLockHandle): void {\n this.locks.delete(lock);\n }\n\n /**\n * Programmatic check: ask every active lock if exit is OK.\n * Resolves true only when every lock allows exit. Short-circuits on first false.\n *\n * Re-entrant calls while a check is already in flight return the same Promise\n * — only the first `reason` is consulted. This dedups both router-driven\n * fires (e.g. `canMatch` running once) and programmatic call sites that\n * might invoke `requestExit` multiple times in the same tick.\n */\n requestExit(reason?: string): Promise<boolean> {\n if (this.pending) return this.pending;\n const p = this.doRequestExit(reason);\n this.pending = p;\n // Clear `pending` via .finally() AFTER the outer assignment, not inside\n // `doRequestExit`'s body. Reason: when every lock resolves synchronously\n // (or `locks` is empty), `doRequestExit`'s try/finally runs to completion\n // BEFORE this assignment line executes — so an inner `finally { pending =\n // null }` would be immediately overwritten by `this.pending = p`, leaving\n // pending stuck on a resolved Promise. Every subsequent navigation then\n // short-circuits on the truthy cache without consulting locks. The\n // `=== p` guard avoids clobbering a fresh pending if someone calls\n // requestExit again before this microtask runs.\n p.finally(() => {\n if (this.pending === p) this.pending = null;\n });\n return p;\n }\n\n private async doRequestExit(reason?: string): Promise<boolean> {\n for (const lock of this.locks) {\n const ok = await this.normalise(lock.requestCanExit(reason));\n if (!ok) return false;\n }\n return true;\n }\n\n private onBeforeUnload(ev: BeforeUnloadEvent): void {\n // PRD §5.4 — sync-first, browser does NOT await async results.\n for (const lock of this.locks) {\n const result = lock.requestCanExit();\n if (typeof result === 'boolean') {\n if (!result) { ev.preventDefault(); ev.returnValue = ''; return; }\n continue;\n }\n // Promise / Observable — safe default: prompt the browser confirm.\n ev.preventDefault();\n ev.returnValue = '';\n return;\n }\n }\n\n private normalise(r: boolean | Promise<boolean> | Observable<boolean>): Promise<boolean> {\n if (typeof r === 'boolean') return Promise.resolve(r);\n if (isObservable(r)) return firstValueFrom(r.pipe(take(1), defaultIfEmpty(true)));\n return r;\n }\n}\n","import { DestroyRef, Directive, inject, input } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { BS_NAVIGATION_LOCK_CONFIRM, BsNavigationLockService } from '../service/navigation-lock.service';\nimport { BsNavigationLockHandle } from '../service/navigation-lock-handle';\n\n/**\n * Marks the host as a navigation-blocker. Drop `[bsNavigationLock]` on a real\n * element (typically the form). Set `[canExit]` to a boolean, function, or\n * Observable. The service consults every active lock on Router navigation\n * (via `bsNavigationLockGuard` registered at the root) and on `beforeunload`.\n *\n * Fallback: if `canExit` is not set but `exitMessage` is, the directive uses\n * the injected `BS_NAVIGATION_LOCK_CONFIRM` hook with that message.\n */\n@Directive({\n selector: '[bsNavigationLock]',\n exportAs: 'bsNavigationLock',\n})\nexport class BsNavigationLockDirective implements BsNavigationLockHandle {\n private readonly destroy = inject(DestroyRef);\n private readonly service = inject(BsNavigationLockService);\n private readonly confirmFn = inject(BS_NAVIGATION_LOCK_CONFIRM);\n\n readonly canExit = input<\n | boolean\n | ((reason?: string) => boolean | Promise<boolean> | Observable<boolean>)\n | Observable<boolean>\n | undefined\n >(undefined);\n readonly exitMessage = input<string | undefined>(undefined);\n\n constructor() {\n this.service.register(this);\n this.destroy.onDestroy(() => this.service.unregister(this));\n }\n\n requestCanExit(reason?: string): boolean | Promise<boolean> | Observable<boolean> {\n const canExit = this.canExit();\n if (canExit === undefined) {\n const msg = this.exitMessage();\n if (msg) return Promise.resolve(this.confirmFn(msg));\n return true;\n }\n if (typeof canExit === 'boolean') return canExit;\n if (typeof canExit === 'function') return canExit(reason);\n return canExit; // Observable<boolean>\n }\n}\n","import { inject } from '@angular/core';\nimport { CanActivateFn } from '@angular/router';\nimport { BsNavigationLockService } from '../service/navigation-lock.service';\n\n/**\n * Functional `canActivate` guard the consumer registers ONCE at the root\n * route (paired with `runGuardsAndResolvers: 'always'` so it re-fires on\n * every navigation, not just the first one):\n *\n * ```ts\n * {\n * path: '',\n * canActivate: [bsNavigationLockGuard],\n * runGuardsAndResolvers: 'always',\n * children: [...],\n * }\n * ```\n *\n * Why `canActivate` and not `canMatch`: `canMatch` excludes the route from\n * URL matching when it returns false. If your config has only one top-level\n * route, returning false from `canMatch` leaves the router with nothing to\n * navigate to — the URL still updates (the cancellation isn't propagated\n * back through History API) and the user lands on a blank page. `canActivate`\n * is Angular's \"block this navigation\" hook — returning false cancels the\n * navigation cleanly and (with `canceledNavigationResolution: 'computed'`)\n * restores the URL.\n *\n * Programmatic call sites that need a `reason` argument should call\n * `BsNavigationLockService.requestExit(reason)` directly.\n */\nexport const bsNavigationLockGuard: CanActivateFn = () => {\n return inject(BsNavigationLockService).requestExit();\n};\n","import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { provideRouter, RouterFeatures, Routes, withRouterConfig } from '@angular/router';\nimport { bsNavigationLockGuard } from '../guard/navigation-lock.guard';\nimport { BS_NAVIGATION_LOCK_CONFIRM } from '../service/navigation-lock.service';\n\nexport interface NavigationLockOptions {\n confirm?: (message: string) => boolean | Promise<boolean>;\n}\n\n/**\n * Optional provider. Without it, the service is still root-provided and\n * uses `window.confirm` as the default fallback confirm UI.\n */\nexport function provideNavigationLock(opts?: NavigationLockOptions): EnvironmentProviders {\n return makeEnvironmentProviders([\n ...(opts?.confirm\n ? [{ provide: BS_NAVIGATION_LOCK_CONFIRM, useValue: opts.confirm }]\n : []),\n ]);\n}\n\n/**\n * One-call router setup for navigation-lock. Wraps `routes` in a root\n * `{ path: '', canActivate: [bsNavigationLockGuard], runGuardsAndResolvers:\n * 'always', children }` entry and applies `canceledNavigationResolution:\n * 'computed'` (required for popstate-cancel to restore the history stack).\n * Pass any additional router features (`withPreloading`,\n * `withInMemoryScrolling`, …) as extra arguments.\n *\n * `runGuardsAndResolvers: 'always'` is essential: by default `canActivate`\n * only re-runs when route params change, so navigating between siblings of\n * the root wrapper (the common case) would otherwise bypass the lock.\n *\n * If you also pass your own `withRouterConfig`, make sure it includes\n * `canceledNavigationResolution: 'computed'` — the dev-mode warning from\n * `BsNavigationLockService` will fire otherwise.\n */\nexport function provideNavigationLockRouter(\n routes: Routes,\n ...features: RouterFeatures[]\n): EnvironmentProviders {\n return provideRouter(\n [\n {\n path: '',\n canActivate: [bsNavigationLockGuard],\n runGuardsAndResolvers: 'always',\n children: routes,\n },\n ],\n withRouterConfig({ canceledNavigationResolution: 'computed' }),\n ...features,\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA;MACa,0BAA0B,GAAG,IAAI,cAAc,CAE1D,4BAA4B,EAAE;AAC9B,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAM,CAAC,OAAe,K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,WAAW,EAAE;AACtD;;ACvBA;;;AAGG;AACG,SAAU,qBAAqB,CAAC,IAA4B,EAAA;AAChE,IAAA,OAAO,wBAAwB,CAAC;QAC9B,IAAI,IAAI,EAAE;AACR,cAAE,CAAC,EAAE,OAAO,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE;cAChE,EAAE,CAAC;AACR,KAAA,CAAC;AACJ;AAEA;;;;;;;;;;;;;;;AAeG;SACa,2BAA2B,CACzC,MAAc,EACd,GAAG,QAA0B,EAAA;AAE7B,IAAA,OAAO,aAAa,CAClB;AACE,QAAA;AACE,YAAA,IAAI,EAAE,EAAE;YACR,WAAW,EAAE,CAAC,qBAAqB,CAAC;AACpC,YAAA,qBAAqB,EAAE,QAAQ;AAC/B,YAAA,QAAQ,EAAE,MAAM;AACjB,SAAA;AACF,KAAA,EACD,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,UAAU,EAAE,CAAC,EAC9D,GAAG,QAAQ,CACZ;AACH;;ACrDA;;AAEG;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { isPlatformServer } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, PLATFORM_ID, Directive } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
class BsNoNoscriptDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.platformId = inject(PLATFORM_ID);
|
|
8
|
+
this.isNoScript = false;
|
|
9
|
+
if (isPlatformServer(this.platformId)) {
|
|
10
|
+
this.isNoScript = true;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNoNoscriptDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsNoNoscriptDirective, isStandalone: true, selector: "[bsNoNoscript]", host: { properties: { "class.noscript": "isNoScript" } }, ngImport: i0 }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsNoNoscriptDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: '[bsNoNoscript]',
|
|
20
|
+
host: {
|
|
21
|
+
'[class.noscript]': 'isNoScript',
|
|
22
|
+
},
|
|
23
|
+
}]
|
|
24
|
+
}], ctorParameters: () => [] });
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Generated bundle index. Do not edit.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { BsNoNoscriptDirective };
|
|
31
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-no-noscript.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-no-noscript.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/no-noscript/src/no-noscript/no-noscript.directive.ts","../../../../libs/mintplayer-ng-bootstrap/no-noscript/mintplayer-ng-bootstrap-no-noscript.ts"],"sourcesContent":["import { isPlatformServer } from '@angular/common';\nimport { Directive, inject, PLATFORM_ID } from '@angular/core';\n\n@Directive({\n selector: '[bsNoNoscript]',\n host: {\n '[class.noscript]': 'isNoScript',\n },\n})\nexport class BsNoNoscriptDirective {\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n if (isPlatformServer(this.platformId)) {\n this.isNoScript = true;\n }\n }\n\n isNoScript = false;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MASa,qBAAqB,CAAA;AAGhC,IAAA,WAAA,GAAA;AAFQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QAQxC,IAAA,CAAA,UAAU,GAAG,KAAK;AALhB,QAAA,IAAI,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACrC,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI;QACxB;IACF;8GAPW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACJ,wBAAA,kBAAkB,EAAE,YAAY;AACjC,qBAAA;AACF,iBAAA;;;ACRD;;AAEG;;;;"}
|