@mintplayer/ng-bootstrap 22.0.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 +373 -1
- 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,185 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, effect, Directive, inject, ViewContainerRef, TemplateRef, Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BsInstanceOfContext {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.$implicit = null;
|
|
7
|
+
this.bsInstanceofCase = null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class SwitchView {
|
|
12
|
+
constructor(_viewContainerRef, _templateRef) {
|
|
13
|
+
this._viewContainerRef = _viewContainerRef;
|
|
14
|
+
this._templateRef = _templateRef;
|
|
15
|
+
this._created = false;
|
|
16
|
+
this._context = new BsInstanceOfContext();
|
|
17
|
+
}
|
|
18
|
+
enforceState(result) {
|
|
19
|
+
if (result && !this._created) {
|
|
20
|
+
this.create(result);
|
|
21
|
+
}
|
|
22
|
+
else if (!result && this._created) {
|
|
23
|
+
this.destroy();
|
|
24
|
+
}
|
|
25
|
+
else if (result) {
|
|
26
|
+
this._context.$implicit = this._context.bsInstanceofCase = result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
create(result) {
|
|
30
|
+
this._created = true;
|
|
31
|
+
this._context.$implicit = this._context.bsInstanceofCase = result;
|
|
32
|
+
this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);
|
|
33
|
+
}
|
|
34
|
+
destroy() {
|
|
35
|
+
this._created = false;
|
|
36
|
+
this._viewContainerRef.clear();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
class BsInstanceOfDirective {
|
|
41
|
+
constructor() {
|
|
42
|
+
this._defaultUsed = false;
|
|
43
|
+
this._caseCount = 0;
|
|
44
|
+
this._lastCaseCheckIndex = 0;
|
|
45
|
+
this._lastCasesMatched = false;
|
|
46
|
+
this.bsInstanceof = input(undefined, /* @ts-ignore */
|
|
47
|
+
...(ngDevMode ? [{ debugName: "bsInstanceof" }] : /* istanbul ignore next */ []));
|
|
48
|
+
effect(() => {
|
|
49
|
+
const newValue = this.bsInstanceof();
|
|
50
|
+
if (this._caseCount === 0) {
|
|
51
|
+
this._updateDefaultCases(true);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
_addCase() {
|
|
57
|
+
return this._caseCount++;
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
_addDefault(view) {
|
|
61
|
+
if (!this._defaultViews) {
|
|
62
|
+
this._defaultViews = [];
|
|
63
|
+
}
|
|
64
|
+
this._defaultViews.push(view);
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
_matchCase(type) {
|
|
68
|
+
const value = this.bsInstanceof();
|
|
69
|
+
const matched = value instanceof type
|
|
70
|
+
? value
|
|
71
|
+
: undefined;
|
|
72
|
+
this._lastCasesMatched = this._lastCasesMatched || !!matched;
|
|
73
|
+
this._lastCaseCheckIndex++;
|
|
74
|
+
if (this._lastCaseCheckIndex === this._caseCount) {
|
|
75
|
+
this._updateDefaultCases(!this._lastCasesMatched);
|
|
76
|
+
this._lastCaseCheckIndex = 0;
|
|
77
|
+
this._lastCasesMatched = false;
|
|
78
|
+
}
|
|
79
|
+
// debugger;
|
|
80
|
+
return matched;
|
|
81
|
+
}
|
|
82
|
+
_updateDefaultCases(useDefault) {
|
|
83
|
+
if (this._defaultViews && useDefault !== this._defaultUsed) {
|
|
84
|
+
this._defaultUsed = useDefault;
|
|
85
|
+
for (let i = 0; i < this._defaultViews.length; i++) {
|
|
86
|
+
const defaultView = this._defaultViews[i];
|
|
87
|
+
defaultView.enforceState(useDefault);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceOfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
92
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: BsInstanceOfDirective, isStandalone: true, selector: "[bsInstanceof]", inputs: { bsInstanceof: { classPropertyName: "bsInstanceof", publicName: "bsInstanceof", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
93
|
+
}
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceOfDirective, decorators: [{
|
|
95
|
+
type: Directive,
|
|
96
|
+
args: [{
|
|
97
|
+
selector: '[bsInstanceof]',
|
|
98
|
+
}]
|
|
99
|
+
}], ctorParameters: () => [], propDecorators: { bsInstanceof: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsInstanceof", required: false }] }] } });
|
|
100
|
+
|
|
101
|
+
class BsInstanceofCaseDirective {
|
|
102
|
+
constructor() {
|
|
103
|
+
this.bsInstanceofCase = input.required(/* @ts-ignore */
|
|
104
|
+
...(ngDevMode ? [{ debugName: "bsInstanceofCase" }] : /* istanbul ignore next */ []));
|
|
105
|
+
this.bsInstanceof = inject(BsInstanceOfDirective, { optional: true, host: true });
|
|
106
|
+
const viewContainer = inject(ViewContainerRef);
|
|
107
|
+
const templateRef = inject(TemplateRef);
|
|
108
|
+
if (!this.bsInstanceof) {
|
|
109
|
+
this.throwError('bsInstanceofCase');
|
|
110
|
+
}
|
|
111
|
+
this.bsInstanceof._addCase();
|
|
112
|
+
this._view = new SwitchView(viewContainer, templateRef);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Asserts the correct type of the context for the template that `InstanceofCaseDirective` will render.
|
|
116
|
+
*
|
|
117
|
+
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
118
|
+
* `InstanceofCaseDirective` structural directive renders its template with a specific context type.
|
|
119
|
+
* Magic happens here!
|
|
120
|
+
*/
|
|
121
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
ngDoCheck() {
|
|
125
|
+
this._view.enforceState(this.bsInstanceof._matchCase(this.bsInstanceofCase()));
|
|
126
|
+
}
|
|
127
|
+
throwError(directiveName) {
|
|
128
|
+
throw new Error(`An element with the "${directiveName}" attribute (matching the "${directiveName}" directive) must be located inside an element with the "bsInstanceof" attribute (matching "BsInstanceofDirective" directive)`);
|
|
129
|
+
}
|
|
130
|
+
;
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceofCaseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
132
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: BsInstanceofCaseDirective, isStandalone: true, selector: "[bsInstanceofCase]", inputs: { bsInstanceofCase: { classPropertyName: "bsInstanceofCase", publicName: "bsInstanceofCase", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
133
|
+
}
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceofCaseDirective, decorators: [{
|
|
135
|
+
type: Directive,
|
|
136
|
+
args: [{
|
|
137
|
+
selector: '[bsInstanceofCase]',
|
|
138
|
+
}]
|
|
139
|
+
}], ctorParameters: () => [], propDecorators: { bsInstanceofCase: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsInstanceofCase", required: true }] }] } });
|
|
140
|
+
|
|
141
|
+
class BsInstanceOfDefaultDirective {
|
|
142
|
+
constructor() {
|
|
143
|
+
const viewContainer = inject(ViewContainerRef);
|
|
144
|
+
const templateRef = inject(TemplateRef);
|
|
145
|
+
const bsInstanceof = inject(BsInstanceOfDirective, { optional: true, host: true });
|
|
146
|
+
if (!bsInstanceof) {
|
|
147
|
+
this.throwError('bsInstanceofDefault');
|
|
148
|
+
}
|
|
149
|
+
bsInstanceof._addDefault(new SwitchView(viewContainer, templateRef));
|
|
150
|
+
}
|
|
151
|
+
throwError(directiveName) {
|
|
152
|
+
throw new Error(`An element with the "${directiveName}" attribute (matching the "${directiveName}" directive) must be located inside an element with the "bsInstanceof" attribute (matching "BsInstanceofDirective" directive)`);
|
|
153
|
+
}
|
|
154
|
+
;
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceOfDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
156
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: BsInstanceOfDefaultDirective, isStandalone: true, selector: "[bsInstanceofDefault]", ngImport: i0 }); }
|
|
157
|
+
}
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceOfDefaultDirective, decorators: [{
|
|
159
|
+
type: Directive,
|
|
160
|
+
args: [{
|
|
161
|
+
selector: '[bsInstanceofDefault]',
|
|
162
|
+
}]
|
|
163
|
+
}], ctorParameters: () => [] });
|
|
164
|
+
|
|
165
|
+
class BsInstanceofPipe {
|
|
166
|
+
transform(value, type) {
|
|
167
|
+
return value instanceof type ? value : undefined;
|
|
168
|
+
}
|
|
169
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceofPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
170
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceofPipe, isStandalone: true, name: "bsInstanceof" }); }
|
|
171
|
+
}
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsInstanceofPipe, decorators: [{
|
|
173
|
+
type: Pipe,
|
|
174
|
+
args: [{
|
|
175
|
+
name: 'bsInstanceof',
|
|
176
|
+
pure: true,
|
|
177
|
+
}]
|
|
178
|
+
}] });
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Generated bundle index. Do not edit.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
export { BsInstanceOfContext, BsInstanceOfDefaultDirective, BsInstanceOfDirective, BsInstanceofCaseDirective, BsInstanceofPipe, SwitchView };
|
|
185
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-instance-of.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-instance-of.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/instance-of/src/interfaces/instance-of-context.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/switch-view.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-case.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/directives/instanceof-default.directive.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/src/pipes/instance-of.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/instance-of/mintplayer-ng-bootstrap-instance-of.ts"],"sourcesContent":["export class BsInstanceOfContext<T = unknown> {\n public $implicit: T = null!;\n public bsInstanceofCase: T = null!;\n}","import { ViewContainerRef, TemplateRef } from \"@angular/core\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\n\nexport class SwitchView<T = unknown> {\n private _created = false;\n private _context = new BsInstanceOfContext<T>();\n \n public constructor(private _viewContainerRef: ViewContainerRef, private _templateRef: TemplateRef<BsInstanceOfContext<T>>) {}\n \n public enforceState(result?: T) {\n if (result && !this._created) {\n this.create(result);\n } else if (!result && this._created) {\n this.destroy();\n } else if (result) {\n this._context.$implicit = this._context.bsInstanceofCase = result;\n }\n }\n \n private create(result: T) {\n this._created = true;\n this._context.$implicit = this._context.bsInstanceofCase = result;\n this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);\n }\n \n private destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n}","import { Directive, effect, input } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { AbstractType } from \"../types/abstract.type\";\n\n@Directive({\n selector: '[bsInstanceof]',\n})\nexport class BsInstanceOfDirective {\n private _defaultViews!: SwitchView[];\n private _defaultUsed = false;\n private _caseCount = 0;\n private _lastCaseCheckIndex = 0;\n private _lastCasesMatched = false;\n\n readonly bsInstanceof = input<any>(undefined);\n\n constructor() {\n effect(() => {\n const newValue = this.bsInstanceof();\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n });\n }\n\n /** @internal */\n public _addCase(): number {\n return this._caseCount++;\n }\n\n /** @internal */\n public _addDefault(view: SwitchView): void {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n }\n\n /** @internal */\n public _matchCase<T>(type: AbstractType<T>): T | undefined {\n const value = this.bsInstanceof();\n const matched =\n value instanceof type\n ? value\n : undefined;\n this._lastCasesMatched = this._lastCasesMatched || !!matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n // debugger;\n return matched;\n }\n\n private _updateDefaultCases(useDefault: boolean): void {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (let i = 0; i < this._defaultViews.length; i++) {\n const defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n }\n}\n","import { Directive, input, DoCheck, ViewContainerRef, inject, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { AbstractType } from \"../types/abstract.type\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofCase]',\n})\nexport class BsInstanceofCaseDirective<T> implements DoCheck {\n readonly bsInstanceofCase = input.required<AbstractType<T>>();\n\n private _view: SwitchView<T>;\n private bsInstanceof = inject(BsInstanceOfDirective, { optional: true, host: true })!;\n\n public constructor() {\n const viewContainer = inject(ViewContainerRef);\n const templateRef = inject<TemplateRef<BsInstanceOfContext<T>>>(TemplateRef);\n if (!this.bsInstanceof) {\n this.throwError('bsInstanceofCase');\n }\n this.bsInstanceof._addCase();\n this._view = new SwitchView<T>(viewContainer, templateRef);\n }\n\n /**\n * Asserts the correct type of the context for the template that `InstanceofCaseDirective` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `InstanceofCaseDirective` structural directive renders its template with a specific context type.\n * Magic happens here!\n */\n public static ngTemplateContextGuard<T>(\n dir: BsInstanceofCaseDirective<T>,\n ctx: any\n ): ctx is BsInstanceOfContext<Exclude<T, false | 0 | '' | null | undefined>> {\n return true;\n }\n\n public ngDoCheck() {\n this._view.enforceState(\n this.bsInstanceof._matchCase(this.bsInstanceofCase())\n );\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}\n","import { Directive, ViewContainerRef, inject, TemplateRef } from \"@angular/core\";\nimport { SwitchView } from \"./switch-view\";\nimport { BsInstanceOfContext } from \"../interfaces/instance-of-context\";\nimport { BsInstanceOfDirective } from \"./instanceof.directive\";\n\n@Directive({\n selector: '[bsInstanceofDefault]',\n})\nexport class BsInstanceOfDefaultDirective {\n public constructor() {\n const viewContainer = inject(ViewContainerRef);\n const templateRef = inject<TemplateRef<BsInstanceOfContext>>(TemplateRef);\n const bsInstanceof = inject(BsInstanceOfDirective, { optional: true, host: true });\n if (!bsInstanceof) {\n this.throwError('bsInstanceofDefault');\n }\n bsInstanceof!._addDefault(new SwitchView(viewContainer, templateRef));\n }\n\n throwError(directiveName: string) {\n throw new Error(\n `An element with the \"${directiveName}\" attribute (matching the \"${directiveName}\" directive) must be located inside an element with the \"bsInstanceof\" attribute (matching \"BsInstanceofDirective\" directive)`\n );\n };\n}","import { Pipe } from '@angular/core';\nimport type { PipeTransform } from '@angular/core';\nimport { AbstractType } from '../types/abstract.type';\n\n@Pipe({\n name: 'bsInstanceof',\n pure: true,\n})\nexport class BsInstanceofPipe implements PipeTransform {\n public transform<V, R>(value: V, type: AbstractType<R>): R | undefined {\n return value instanceof type ? value : undefined;\n }\n}","/**\n * Generated bundle index. Do not edit.\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FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,cAAc;AACpB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ViewContainerRef, TemplateRef, input, effect, Directive } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BsLetDirective {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
7
|
+
this.templateRef = inject(TemplateRef);
|
|
8
|
+
this.context = { bsLet: null, $implicit: null };
|
|
9
|
+
this.hasView = false;
|
|
10
|
+
this.bsLet = input(undefined, /* @ts-ignore */
|
|
11
|
+
...(ngDevMode ? [{ debugName: "bsLet" }] : /* istanbul ignore next */ []));
|
|
12
|
+
effect(() => {
|
|
13
|
+
const value = this.bsLet();
|
|
14
|
+
if (value !== undefined) {
|
|
15
|
+
this.context.$implicit = this.context.bsLet = value;
|
|
16
|
+
if (!this.hasView) {
|
|
17
|
+
this.hasView = true;
|
|
18
|
+
this.viewContainer.createEmbeddedView(this.templateRef, this.context);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Asserts the correct type of the context for the template that `NgLet` will render.
|
|
25
|
+
*
|
|
26
|
+
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
27
|
+
* `NgLet` structural directive renders its template with a specific context type.
|
|
28
|
+
*/
|
|
29
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsLetDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
33
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: BsLetDirective, isStandalone: true, selector: "[bsLet]", inputs: { bsLet: { classPropertyName: "bsLet", publicName: "bsLet", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsLetDirective, decorators: [{
|
|
36
|
+
type: Directive,
|
|
37
|
+
args: [{
|
|
38
|
+
selector: '[bsLet]',
|
|
39
|
+
}]
|
|
40
|
+
}], ctorParameters: () => [], propDecorators: { bsLet: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsLet", required: false }] }] } });
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export { BsLetDirective };
|
|
47
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-let.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-let.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/let/directive/let.directive.ts","../../../../libs/mintplayer-ng-bootstrap/let/mintplayer-ng-bootstrap-let.ts"],"sourcesContent":["import { Directive, effect, inject, input, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { BsLetContext } from '../interfaces/let-context';\n\n@Directive({\n selector: '[bsLet]',\n})\nexport class BsLetDirective<T> {\n private viewContainer = inject(ViewContainerRef);\n private templateRef = inject<TemplateRef<BsLetContext<T>>>(TemplateRef);\n\n private context: BsLetContext<T | null> = { bsLet: null, $implicit: null };\n private hasView: boolean = false;\n\n readonly bsLet = input<T | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const value = this.bsLet();\n if (value !== undefined) {\n this.context.$implicit = this.context.bsLet = value;\n if (!this.hasView) {\n this.hasView = true;\n this.viewContainer.createEmbeddedView(this.templateRef, this.context);\n }\n }\n });\n }\n\n /** @internal */\n public static bsLetUseIfTypeGuard: void;\n\n /**\n * Assert the correct type of the expression bound to the `NgLet` input within the template.\n *\n * The presence of this static field is a signal to the Ivy template type check compiler that\n * when the `NgLet` structural directive renders its template, the type of the expression bound\n * to `NgLet` should be narrowed in some way. For `NgLet`, the binding expression itself is used to\n * narrow its type, which allows the strictNullChecks feature of TypeScript to work with `NgLet`.\n */\n static ngTemplateGuard_bsLet: 'binding';\n\n /**\n * Asserts the correct type of the context for the template that `NgLet` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgLet` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(dir: BsLetDirective<T>, ctx: any): ctx is BsLetContext<T> {\n return true;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,cAAc,CAAA;AASzB,IAAA,WAAA,GAAA;AARQ,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA+B,WAAW,CAAC;QAE/D,IAAA,CAAA,OAAO,GAA2B,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;QAClE,IAAA,CAAA,OAAO,GAAY,KAAK;QAEvB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAgB,SAAS;kFAAC;QAG9C,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AAC1B,YAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,gBAAA,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK;AACnD,gBAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;AACjB,oBAAA,IAAI,CAAC,OAAO,GAAG,IAAI;AACnB,oBAAA,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC;gBACvE;YACF;AACF,QAAA,CAAC,CAAC;IACJ;AAeA;;;;;AAKG;AACH,IAAA,OAAO,sBAAsB,CAAI,GAAsB,EAAE,GAAQ,EAAA;AAC7D,QAAA,OAAO,IAAI;IACf;8GA3CW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,SAAS;AACpB,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BsLinifyPipe {
|
|
5
|
+
transform(value, removeEmptyEntries = true) {
|
|
6
|
+
const split = value
|
|
7
|
+
.replace('\r\n', '\n')
|
|
8
|
+
.split('\n');
|
|
9
|
+
return removeEmptyEntries
|
|
10
|
+
? split.filter((line) => line !== '')
|
|
11
|
+
: split;
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsLinifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsLinifyPipe, isStandalone: true, name: "bsLinify" }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsLinifyPipe, decorators: [{
|
|
17
|
+
type: Pipe,
|
|
18
|
+
args: [{
|
|
19
|
+
name: 'bsLinify',
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Generated bundle index. Do not edit.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
export { BsLinifyPipe };
|
|
28
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-linify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-linify.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/linify/src/linify.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/linify/mintplayer-ng-bootstrap-linify.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'bsLinify',\n})\nexport class BsLinifyPipe implements PipeTransform {\n transform(value: string, removeEmptyEntries = true) {\n const split = value\n .replace('\\r\\n', '\\n')\n .split('\\n');\n\n return removeEmptyEntries\n ? split.filter((line) => line !== '')\n : split;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,YAAY,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAE,kBAAkB,GAAG,IAAI,EAAA;QAChD,MAAM,KAAK,GAAG;AACX,aAAA,OAAO,CAAC,MAAM,EAAE,IAAI;aACpB,KAAK,CAAC,IAAI,CAAC;AAEd,QAAA,OAAO;AACL,cAAE,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,EAAE;cAClC,KAAK;IACX;8GATW,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAHxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AACjB,iBAAA;;;ACJD;;AAEG;;;;"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, contentChildren } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BsListGroupItemComponent {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: BsListGroupItemComponent, isStandalone: true, selector: "bs-list-group-item", host: { attributes: { "role": "listitem" }, properties: { "class.list-group-item": "true" } }, ngImport: i0, template: "<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->", styles: [".list-group-item{margin-bottom:-1px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'bs-list-group-item', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
11
|
+
'[class.list-group-item]': 'true',
|
|
12
|
+
'role': 'listitem',
|
|
13
|
+
}, template: "<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->", styles: [".list-group-item{margin-bottom:-1px}\n"] }]
|
|
14
|
+
}] });
|
|
15
|
+
|
|
16
|
+
class BsListGroupComponent {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.items = contentChildren(BsListGroupItemComponent, /* @ts-ignore */
|
|
19
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BsListGroupComponent, isStandalone: true, selector: "bs-list-group", queries: [{ propertyName: "items", predicate: BsListGroupItemComponent, isSignal: true }], ngImport: i0, template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [":host ::ng-deep .list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:not(.active):hover,:host ::ng-deep .list-group-item-action:not(.active):focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}:host ::ng-deep .list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}:host ::ng-deep .list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}:host ::ng-deep .list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}:host ::ng-deep .list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}:host ::ng-deep .list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}:host ::ng-deep .list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}:host ::ng-deep .list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsListGroupComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'bs-list-group', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>", styles: [":host ::ng-deep .list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}:host ::ng-deep .list-group-numbered{list-style-type:none;counter-reset:section}:host ::ng-deep .list-group-numbered>.list-group-item:before{content:counters(section,\".\") \". \";counter-increment:section}:host ::ng-deep .list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}:host ::ng-deep .list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:host ::ng-deep .list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}:host ::ng-deep .list-group-item.disabled,:host ::ng-deep .list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}:host ::ng-deep .list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}:host ::ng-deep .list-group-item+.list-group-item{border-top-width:0}:host ::ng-deep .list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}:host ::ng-deep .list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}:host ::ng-deep .list-group-item-action:not(.active):hover,:host ::ng-deep .list-group-item-action:not(.active):focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}:host ::ng-deep .list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}:host ::ng-deep .list-group-horizontal{flex-direction:row}:host ::ng-deep .list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media(min-width:576px){:host ::ng-deep .list-group-horizontal-sm{flex-direction:row}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:768px){:host ::ng-deep .list-group-horizontal-md{flex-direction:row}:host ::ng-deep .list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:992px){:host ::ng-deep .list-group-horizontal-lg{flex-direction:row}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1200px){:host ::ng-deep .list-group-horizontal-xl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media(min-width:1400px){:host ::ng-deep .list-group-horizontal-xxl{flex-direction:row}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item.active{margin-top:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}:host ::ng-deep .list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}:host ::ng-deep .list-group-flush{border-radius:0}:host ::ng-deep .list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}:host ::ng-deep .list-group-flush>.list-group-item:last-child{border-bottom-width:0}:host ::ng-deep .list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}:host ::ng-deep .list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}:host ::ng-deep .list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}:host ::ng-deep .list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}:host ::ng-deep .list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}:host ::ng-deep .list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}:host ::ng-deep .list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}:host ::ng-deep .list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}\n"] }]
|
|
27
|
+
}], propDecorators: { items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsListGroupItemComponent), { isSignal: true }] }] } });
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Generated bundle index. Do not edit.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
export { BsListGroupComponent, BsListGroupItemComponent };
|
|
34
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-list-group.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-list-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group-item/list-group-item.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/list-group/src/list-group/list-group.component.html","../../../../libs/mintplayer-ng-bootstrap/list-group/mintplayer-ng-bootstrap-list-group.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy} from '@angular/core';\n\n@Component({\n selector: 'bs-list-group-item',\n templateUrl: './list-group-item.component.html',\n styleUrls: ['./list-group-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.list-group-item]': 'true',\n 'role': 'listitem',\n },\n})\nexport class BsListGroupItemComponent {\n}\n","<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->","import { Component, contentChildren, ChangeDetectionStrategy} from '@angular/core';\nimport { BsListGroupItemComponent } from '../list-group-item/list-group-item.component';\n\n@Component({\n selector: 'bs-list-group',\n templateUrl: './list-group.component.html',\n styleUrls: ['./list-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsListGroupComponent {\n readonly items = contentChildren(BsListGroupItemComponent);\n}\n","<ul class=\"list-group mt-0\">\n <ng-content></ng-content>\n</ul>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,6KCZrC,wFAEc,EAAA,MAAA,EAAA,CAAA,wCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDUD,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAVpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,eAAA,EAGb,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,yBAAyB,EAAE,MAAM;AACjC,wBAAA,MAAM,EAAE,UAAU;AACnB,qBAAA,EAAA,QAAA,EAAA,wFAAA,EAAA,MAAA,EAAA,CAAA,wCAAA,CAAA,EAAA;;;MEDU,oBAAoB,CAAA;AANjC,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,KAAK,GAAG,eAAe,CAAC,wBAAwB;kFAAC;AAC3D,IAAA;8GAFY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EACE,wBAAwB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECV3D,sEAEK,EAAA,MAAA,EAAA,CAAA,4+ZAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDOQ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;+BACE,eAAe,EAAA,eAAA,EAGR,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sEAAA,EAAA,MAAA,EAAA,CAAA,4+ZAAA,CAAA,EAAA;6FAGd,wBAAwB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEV3D;;AAEG;;;;"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, SecurityContext, Pipe } from '@angular/core';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
class BsBoldPipe {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.domSanitizer = inject(DomSanitizer);
|
|
8
|
+
}
|
|
9
|
+
transform(value, numberOfStars = 2, classList = []) {
|
|
10
|
+
const txt = `\\*{${numberOfStars}}\\b(?<boldtext>[^\\*]+)\\b\\*{${numberOfStars}}`;
|
|
11
|
+
const rgx = new RegExp(txt, "gm");
|
|
12
|
+
const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);
|
|
13
|
+
if (!safeValue) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
const classString = classList.length === 0 ? '' : ` class="${classList.join(' ')}"`;
|
|
17
|
+
const result = safeValue.replace(rgx, `<b${classString}>$<boldtext></b>`);
|
|
18
|
+
const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
|
|
19
|
+
return safeResult;
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsBoldPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsBoldPipe, isStandalone: true, name: "bsBold" }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsBoldPipe, decorators: [{
|
|
25
|
+
type: Pipe,
|
|
26
|
+
args: [{
|
|
27
|
+
name: 'bsBold',
|
|
28
|
+
pure: true,
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
|
|
32
|
+
class BsItalicPipe {
|
|
33
|
+
constructor() {
|
|
34
|
+
this.domSanitizer = inject(DomSanitizer);
|
|
35
|
+
}
|
|
36
|
+
transform(value, numberOfStars = 1, classList = []) {
|
|
37
|
+
const txt = `\\*{${numberOfStars}}\\b(?<italictext>[^\\*]+)\\b\\*{${numberOfStars}}`;
|
|
38
|
+
const rgx = new RegExp(txt, "gm");
|
|
39
|
+
const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);
|
|
40
|
+
if (!safeValue) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
const classString = classList.length === 0 ? '' : ` class="${classList.join(' ')}"`;
|
|
44
|
+
const result = safeValue.replace(rgx, `<i${classString}>$<italictext></i>`);
|
|
45
|
+
const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
|
|
46
|
+
return safeResult;
|
|
47
|
+
}
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsItalicPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
49
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsItalicPipe, isStandalone: true, name: "bsItalic" }); }
|
|
50
|
+
}
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsItalicPipe, decorators: [{
|
|
52
|
+
type: Pipe,
|
|
53
|
+
args: [{
|
|
54
|
+
name: 'bsItalic',
|
|
55
|
+
pure: true,
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
58
|
+
|
|
59
|
+
class BsStrikethroughPipe {
|
|
60
|
+
constructor() {
|
|
61
|
+
this.domSanitizer = inject(DomSanitizer);
|
|
62
|
+
}
|
|
63
|
+
transform(value, numberOfTildes = 2, classList = []) {
|
|
64
|
+
const txt = `\\~{${numberOfTildes}}\\b(?<strikethroughtext>[^\\~]+)\\b\\~{${numberOfTildes}}`;
|
|
65
|
+
const rgx = new RegExp(txt, "gm");
|
|
66
|
+
const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);
|
|
67
|
+
if (!safeValue) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
const classString = classList.length === 0 ? '' : ` class="${classList.join(' ')}"`;
|
|
71
|
+
const result = safeValue.replace(rgx, `<strike${classString}>$<strikethroughtext></strike>`);
|
|
72
|
+
const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
|
|
73
|
+
return safeResult;
|
|
74
|
+
}
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsStrikethroughPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
76
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsStrikethroughPipe, isStandalone: true, name: "bsStrikethrough" }); }
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsStrikethroughPipe, decorators: [{
|
|
79
|
+
type: Pipe,
|
|
80
|
+
args: [{
|
|
81
|
+
name: 'bsStrikethrough',
|
|
82
|
+
pure: true,
|
|
83
|
+
}]
|
|
84
|
+
}] });
|
|
85
|
+
|
|
86
|
+
class BsUnderlinePipe {
|
|
87
|
+
constructor() {
|
|
88
|
+
this.domSanitizer = inject(DomSanitizer);
|
|
89
|
+
}
|
|
90
|
+
transform(value, classList = []) {
|
|
91
|
+
const txt = `\\<ins\\>\\b(?<underlinedtext>.+?)\\b\\<\\/ins\\>`;
|
|
92
|
+
const rgx = new RegExp(txt, "gm");
|
|
93
|
+
const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);
|
|
94
|
+
if (!safeValue) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
const classString = classList.length === 0 ? '' : ` class="${classList.join(' ')}"`;
|
|
98
|
+
const result = safeValue.replace(rgx, `<u${classString}>$<underlinedtext></u>`);
|
|
99
|
+
const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
|
|
100
|
+
return safeResult;
|
|
101
|
+
}
|
|
102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUnderlinePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
103
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: BsUnderlinePipe, isStandalone: true, name: "bsUnderline" }); }
|
|
104
|
+
}
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsUnderlinePipe, decorators: [{
|
|
106
|
+
type: Pipe,
|
|
107
|
+
args: [{
|
|
108
|
+
name: 'bsUnderline',
|
|
109
|
+
pure: true,
|
|
110
|
+
}]
|
|
111
|
+
}] });
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Generated bundle index. Do not edit.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
export { BsBoldPipe, BsItalicPipe, BsStrikethroughPipe, BsUnderlinePipe };
|
|
118
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-markdown.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-markdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/markdown/src/bold/bold.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/markdown/src/italic/italic.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/markdown/src/strikethrough/strikethrough.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/markdown/src/underline/underline.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/markdown/mintplayer-ng-bootstrap-markdown.ts"],"sourcesContent":["import { inject, Pipe, PipeTransform, SecurityContext } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsBold',\n pure: true,\n})\nexport class BsBoldPipe implements PipeTransform {\n private domSanitizer = inject(DomSanitizer);\n\n transform(value: string | SafeHtml | null, numberOfStars: number = 2, classList: string[] = []): SafeHtml | null {\n const txt = `\\\\*{${numberOfStars}}\\\\b(?<boldtext>[^\\\\*]+)\\\\b\\\\*{${numberOfStars}}`;\n const rgx = new RegExp(txt, \"gm\");\n const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);\n\n if (!safeValue) {\n return null;\n }\n\n const classString = classList.length === 0 ? '' : ` class=\"${classList.join(' ')}\"`;\n const result = safeValue.replace(rgx, `<b${classString}>$<boldtext></b>`);\n const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);\n return safeResult;\n }\n\n}\n","import { inject, Pipe, PipeTransform, SecurityContext } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsItalic',\n pure: true,\n})\nexport class BsItalicPipe implements PipeTransform {\n private domSanitizer = inject(DomSanitizer);\n\n transform(value: string | SafeHtml | null, numberOfStars: number = 1, classList: string[] = []): SafeHtml | null {\n const txt = `\\\\*{${numberOfStars}}\\\\b(?<italictext>[^\\\\*]+)\\\\b\\\\*{${numberOfStars}}`;\n const rgx = new RegExp(txt, \"gm\");\n const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);\n\n if (!safeValue) {\n return null;\n }\n\n const classString = classList.length === 0 ? '' : ` class=\"${classList.join(' ')}\"`;\n const result = safeValue.replace(rgx, `<i${classString}>$<italictext></i>`);\n const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);\n return safeResult;\n }\n\n}\n","import { inject, Pipe, PipeTransform, SecurityContext } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsStrikethrough',\n pure: true,\n})\nexport class BsStrikethroughPipe implements PipeTransform {\n private domSanitizer = inject(DomSanitizer);\n\n transform(value: string | SafeHtml | null, numberOfTildes: number = 2, classList: string[] = []): SafeHtml | null {\n const txt = `\\\\~{${numberOfTildes}}\\\\b(?<strikethroughtext>[^\\\\~]+)\\\\b\\\\~{${numberOfTildes}}`;\n const rgx = new RegExp(txt, \"gm\");\n const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);\n\n if (!safeValue) {\n return null;\n }\n\n const classString = classList.length === 0 ? '' : ` class=\"${classList.join(' ')}\"`;\n const result = safeValue.replace(rgx, `<strike${classString}>$<strikethroughtext></strike>`);\n const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);\n return safeResult;\n }\n\n}\n","import { inject, Pipe, PipeTransform, SecurityContext } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Pipe({\n name: 'bsUnderline',\n pure: true,\n})\nexport class BsUnderlinePipe implements PipeTransform {\n private domSanitizer = inject(DomSanitizer);\n\n transform(value: string | SafeHtml | null, classList: string[] = []): SafeHtml | null {\n const txt = `\\\\<ins\\\\>\\\\b(?<underlinedtext>.+?)\\\\b\\\\<\\\\/ins\\\\>`;\n const rgx = new RegExp(txt, \"gm\");\n const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);\n\n if (!safeValue) {\n return null;\n }\n\n const classString = classList.length === 0 ? '' : ` class=\"${classList.join(' ')}\"`;\n const result = safeValue.replace(rgx, `<u${classString}>$<underlinedtext></u>`);\n const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);\n return safeResult;\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,UAAU,CAAA;AAJvB,IAAA,WAAA,GAAA;AAKU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;AAiB5C,IAAA;AAfC,IAAA,SAAS,CAAC,KAA+B,EAAE,gBAAwB,CAAC,EAAE,YAAsB,EAAE,EAAA;AAC5F,QAAA,MAAM,GAAG,GAAG,CAAA,IAAA,EAAO,aAAa,CAAA,+BAAA,EAAkC,aAAa,GAAG;QAClF,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,EAAE,IAAI,CAAC;AACjC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC;QAEzE,IAAI,CAAC,SAAS,EAAE;AACd,YAAA,OAAO,IAAI;QACb;QAEA,MAAM,WAAW,GAAG,SAAS,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;AACnF,QAAA,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,GAAG,EAAE,CAAA,EAAA,EAAK,WAAW,CAAA,sBAAA,CAAwB,CAAC;QAC/E,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC;AACpE,QAAA,OAAO,UAAU;IACnB;8GAhBW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class BsMarqueeComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.ariaLabel = input(null, /* @ts-ignore */
|
|
7
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
8
|
+
}
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsMarqueeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: BsMarqueeComponent, isStandalone: true, selector: "bs-marquee", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span class=\"marquee text-nowrap overflow-hidden d-block\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"h1 d-inline-block\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".marquee{box-sizing:border-box}.marquee>span{padding-left:100%;animation:marquee 15s linear infinite}@media(prefers-reduced-motion:reduce){.marquee>span{animation:none;padding-left:0}}@keyframes marquee{0%{transform:translate(0)}to{transform:translate(-100%)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsMarqueeComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'bs-marquee', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"marquee text-nowrap overflow-hidden d-block\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"h1 d-inline-block\">\n <ng-content></ng-content>\n </span>\n</span>\n", styles: [".marquee{box-sizing:border-box}.marquee>span{padding-left:100%;animation:marquee 15s linear infinite}@media(prefers-reduced-motion:reduce){.marquee>span{animation:none;padding-left:0}}@keyframes marquee{0%{transform:translate(0)}to{transform:translate(-100%)}}\n"] }]
|
|
15
|
+
}], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }] } });
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Generated bundle index. Do not edit.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export { BsMarqueeComponent };
|
|
22
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-marquee.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-marquee.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/marquee/src/marquee/marquee.component.ts","../../../../libs/mintplayer-ng-bootstrap/marquee/src/marquee/marquee.component.html","../../../../libs/mintplayer-ng-bootstrap/marquee/mintplayer-ng-bootstrap-marquee.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input } from '@angular/core';\n\n@Component({\n selector: 'bs-marquee',\n templateUrl: './marquee.component.html',\n styleUrls: ['./marquee.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsMarqueeComponent {\n readonly ariaLabel = input<string | null>(null);\n}\n","<span class=\"marquee text-nowrap overflow-hidden d-block\" [attr.aria-label]=\"ariaLabel()\">\n <span class=\"h1 d-inline-block\">\n <ng-content></ng-content>\n </span>\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;QAOW,IAAA,CAAA,SAAS,GAAG,KAAK,CAAgB,IAAI;sFAAC;AAChD,IAAA;8GAFY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,sNCR/B,mMAKA,EAAA,MAAA,EAAA,CAAA,wQAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDGa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;+BACE,YAAY,EAAA,eAAA,EAGL,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mMAAA,EAAA,MAAA,EAAA,CAAA,wQAAA,CAAA,EAAA;;;AENjD;;AAEG;;;;"}
|