@mintplayer/ng-bootstrap 22.0.0 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y/package.json +4 -0
- package/accordion/package.json +4 -0
- package/alert/package.json +4 -0
- package/badge/package.json +4 -0
- package/breadcrumb/package.json +4 -0
- package/button-group/package.json +4 -0
- package/button-type/package.json +4 -0
- package/calendar/package.json +4 -0
- package/calendar-month/package.json +4 -0
- package/card/package.json +4 -0
- package/carousel/package.json +4 -0
- package/checkbox/package.json +4 -0
- package/close/package.json +4 -0
- package/code-snippet/package.json +4 -0
- package/color-picker/package.json +4 -0
- package/container/package.json +4 -0
- package/context-menu/package.json +4 -0
- package/copy/package.json +4 -0
- package/datatable/package.json +4 -0
- package/datepicker/package.json +4 -0
- package/datetime-picker/package.json +4 -0
- package/dock/package.json +4 -0
- package/dropdown/package.json +4 -0
- package/dropdown-divider/package.json +4 -0
- package/dropdown-menu/package.json +4 -0
- package/enhanced-paste/package.json +4 -0
- package/enum/package.json +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +470 -0
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +105 -0
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +53 -0
- package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +26 -0
- package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +36 -0
- package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +22 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs +37 -0
- package/fesm2022/mintplayer-ng-bootstrap-button-type.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +136 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +71 -0
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +338 -0
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +290 -0
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +240 -0
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +45 -0
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +703 -0
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs +18 -0
- package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +88 -0
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +47 -0
- package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +659 -0
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +153 -0
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +166 -0
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +135 -0
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +206 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +338 -0
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs +62 -0
- package/fesm2022/mintplayer-ng-bootstrap-enhanced-paste.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs +38 -0
- package/fesm2022/mintplayer-ng-bootstrap-enum.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +242 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +144 -0
- package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-font-color.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs +42 -0
- package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +61 -0
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +133 -0
- package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs +4 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-id.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +32 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-has-property.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs +23 -0
- package/fesm2022/mintplayer-ng-bootstrap-in-list.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +18 -0
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs +185 -0
- package/fesm2022/mintplayer-ng-bootstrap-instance-of.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs +47 -0
- package/fesm2022/mintplayer-ng-bootstrap-let.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs +28 -0
- package/fesm2022/mintplayer-ng-bootstrap-linify.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs +118 -0
- package/fesm2022/mintplayer-ng-bootstrap-markdown.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +22 -0
- package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +254 -0
- package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +174 -0
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +33 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +751 -0
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs +234 -0
- package/fesm2022/mintplayer-ng-bootstrap-navigation-lock.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +31 -0
- package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +386 -0
- package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs +36 -0
- package/fesm2022/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +264 -0
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +61 -0
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +29 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +66 -0
- package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +33 -0
- package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +256 -0
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +272 -0
- package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +81 -0
- package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +278 -0
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +189 -0
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +79 -0
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +84 -0
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +60 -0
- package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +408 -0
- package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +1028 -0
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +248 -0
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +186 -0
- package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +215 -0
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +90 -0
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +81 -0
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs +30 -0
- package/fesm2022/mintplayer-ng-bootstrap-slugify.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +30 -0
- package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs +25 -0
- package/fesm2022/mintplayer-ng-bootstrap-split-string.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +46 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +142 -0
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +46 -0
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +124 -0
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +215 -0
- package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +233 -0
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +132 -0
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +168 -0
- package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +178 -0
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +324 -0
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +189 -0
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs +28 -0
- package/fesm2022/mintplayer-ng-bootstrap-trust-html.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +121 -0
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs +24 -0
- package/fesm2022/mintplayer-ng-bootstrap-uc-first.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs +102 -0
- package/fesm2022/mintplayer-ng-bootstrap-user-agent.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs +48 -0
- package/fesm2022/mintplayer-ng-bootstrap-viewport.mjs.map +1 -0
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs +34 -0
- package/fesm2022/mintplayer-ng-bootstrap-word-count.mjs.map +1 -0
- package/file-manager/package.json +4 -0
- package/file-upload/package.json +4 -0
- package/floating-labels/package.json +4 -0
- package/font-color/package.json +4 -0
- package/for/package.json +4 -0
- package/form/package.json +4 -0
- package/grid/package.json +4 -0
- package/has-id/package.json +4 -0
- package/has-overlay/package.json +4 -0
- package/has-property/package.json +4 -0
- package/in-list/package.json +4 -0
- package/input-group/package.json +4 -0
- package/instance-of/package.json +4 -0
- package/let/package.json +4 -0
- package/linify/package.json +4 -0
- package/list-group/package.json +4 -0
- package/markdown/package.json +4 -0
- package/marquee/package.json +4 -0
- package/modal/package.json +4 -0
- package/multi-range/package.json +4 -0
- package/navbar/package.json +4 -0
- package/navbar-toggler/package.json +4 -0
- package/navigation-lock/package.json +4 -0
- package/no-noscript/package.json +4 -0
- package/offcanvas/package.json +4 -0
- package/ordinal-number/package.json +4 -0
- package/otp-input/package.json +4 -0
- package/package.json +376 -2
- package/pagination/package.json +4 -0
- package/parallax/package.json +4 -0
- package/placeholder/package.json +4 -0
- package/playlist-toggler/package.json +4 -0
- package/popover/package.json +4 -0
- package/priority-nav/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/query-builder/package.json +4 -0
- package/radio/package.json +4 -0
- package/range/package.json +4 -0
- package/rating/package.json +4 -0
- package/reduced-motion/package.json +4 -0
- package/resizable/package.json +4 -0
- package/ribbon/package.json +4 -0
- package/scheduler/package.json +4 -0
- package/scrollspy/package.json +4 -0
- package/select/package.json +4 -0
- package/shell/package.json +4 -0
- package/signature-pad/package.json +4 -0
- package/slugify/package.json +4 -0
- package/spinner/package.json +4 -0
- package/split-string/package.json +4 -0
- package/sticky-footer/package.json +4 -0
- package/tab-control/package.json +4 -0
- package/table/package.json +4 -0
- package/theming/package.json +4 -0
- package/tile-manager/package.json +4 -0
- package/timeline/package.json +4 -0
- package/timepicker/package.json +4 -0
- package/toast/package.json +4 -0
- package/tooltip/package.json +4 -0
- package/tree-select/package.json +4 -0
- package/treeview/package.json +4 -0
- package/trust-html/package.json +4 -0
- package/typeahead/package.json +4 -0
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +196 -0
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +39 -0
- package/types/mintplayer-ng-bootstrap-alert.d.ts +22 -0
- package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-button-group.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-button-type.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +54 -0
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +23 -0
- package/types/mintplayer-ng-bootstrap-card.d.ts +124 -0
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +121 -0
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +94 -0
- package/types/mintplayer-ng-bootstrap-close.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +27 -0
- package/types/mintplayer-ng-bootstrap-color-picker.d.ts +234 -0
- package/types/mintplayer-ng-bootstrap-container.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +21 -0
- package/types/mintplayer-ng-bootstrap-copy.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +234 -0
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +41 -0
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +55 -0
- package/types/mintplayer-ng-bootstrap-dock.d.ts +45 -0
- package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +66 -0
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +102 -0
- package/types/mintplayer-ng-bootstrap-enhanced-paste.d.ts +20 -0
- package/types/mintplayer-ng-bootstrap-enum.d.ts +17 -0
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +97 -0
- package/types/mintplayer-ng-bootstrap-file-upload.d.ts +51 -0
- package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-font-color.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-for.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-form.d.ts +24 -0
- package/types/mintplayer-ng-bootstrap-grid.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-has-id.d.ts +5 -0
- package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +22 -0
- package/types/mintplayer-ng-bootstrap-has-property.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-in-list.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +8 -0
- package/types/mintplayer-ng-bootstrap-instance-of.d.ts +74 -0
- package/types/mintplayer-ng-bootstrap-let.d.ts +44 -0
- package/types/mintplayer-ng-bootstrap-linify.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-list-group.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-markdown.d.ts +33 -0
- package/types/mintplayer-ng-bootstrap-marquee.d.ts +9 -0
- package/types/mintplayer-ng-bootstrap-modal.d.ts +83 -0
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +43 -0
- package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +238 -0
- package/types/mintplayer-ng-bootstrap-navigation-lock.d.ts +128 -0
- package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +106 -0
- package/types/mintplayer-ng-bootstrap-ordinal-number.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +34 -0
- package/types/mintplayer-ng-bootstrap-parallax.d.ts +11 -0
- package/types/mintplayer-ng-bootstrap-placeholder.d.ts +23 -0
- package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +13 -0
- package/types/mintplayer-ng-bootstrap-popover.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +64 -0
- package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +27 -0
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +113 -0
- package/types/mintplayer-ng-bootstrap-radio.d.ts +80 -0
- package/types/mintplayer-ng-bootstrap-range.d.ts +28 -0
- package/types/mintplayer-ng-bootstrap-rating.d.ts +20 -0
- package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +36 -0
- package/types/mintplayer-ng-bootstrap-resizable.d.ts +89 -0
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +279 -0
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +171 -0
- package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +40 -0
- package/types/mintplayer-ng-bootstrap-select.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-shell.d.ts +54 -0
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +36 -0
- package/types/mintplayer-ng-bootstrap-slugify.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -0
- package/types/mintplayer-ng-bootstrap-split-string.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +21 -0
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +50 -0
- package/types/mintplayer-ng-bootstrap-table.d.ts +25 -0
- package/types/mintplayer-ng-bootstrap-theming.d.ts +81 -0
- package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +58 -0
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +112 -0
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +39 -0
- package/types/mintplayer-ng-bootstrap-toast.d.ts +67 -0
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +29 -0
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +117 -0
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +60 -0
- package/types/mintplayer-ng-bootstrap-trust-html.d.ts +12 -0
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +34 -0
- package/types/mintplayer-ng-bootstrap-uc-first.d.ts +10 -0
- package/types/mintplayer-ng-bootstrap-user-agent.d.ts +28 -0
- package/types/mintplayer-ng-bootstrap-viewport.d.ts +16 -0
- package/types/mintplayer-ng-bootstrap-word-count.d.ts +10 -0
- package/uc-first/package.json +4 -0
- package/user-agent/package.json +4 -0
- package/viewport/package.json +4 -0
- package/word-count/package.json +4 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { DatatableColumnDef, DatatableSelectionMode, TreeIdKey, TreeSelectionStrategy, MpDatatable } from '@mintplayer/web-components/datatable';
|
|
4
|
+
export { CellContent, CellRenderer, DatatableColumnDef, DatatableSelectionMode, HeaderRenderer, RowEventDetail, RowKey, RowRenderContext, RowRenderer, SelectionChangeEventDetail, SortChangeEventDetail, TreeExpandedIdsChangeDetail, TreeFetchRequestDetail, TreeFetchResponse, TreeIdKey, TreeRowExpandDetail, TreeSelectionStrategy, computeNextSort } from '@mintplayer/web-components/datatable';
|
|
5
|
+
import { SortColumn, PaginationRequest, PaginationResponse } from '@mintplayer/pagination';
|
|
6
|
+
|
|
7
|
+
declare class DatatableSettings {
|
|
8
|
+
constructor(data?: Partial<DatatableSettings>);
|
|
9
|
+
sortColumns: SortColumn[];
|
|
10
|
+
perPage: {
|
|
11
|
+
values: number[];
|
|
12
|
+
selected: number;
|
|
13
|
+
};
|
|
14
|
+
page: {
|
|
15
|
+
values: number[];
|
|
16
|
+
selected: number;
|
|
17
|
+
};
|
|
18
|
+
pageNumberOfBoxes: number;
|
|
19
|
+
toPagination(): PaginationRequest;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Extended pagination request passed to `BsDatatableFetch` callbacks.
|
|
24
|
+
*
|
|
25
|
+
* `parentId` is populated when the datatable is in tree mode (`[tree]="true"`)
|
|
26
|
+
* and the WC needs children for a specific row. `parentId === undefined` (or
|
|
27
|
+
* absent) means the call is for the root level. Consumers can use plain
|
|
28
|
+
* `PaginationRequest`-typed callbacks unchanged — TypeScript's contravariance
|
|
29
|
+
* for function parameters allows the wider input type.
|
|
30
|
+
*/
|
|
31
|
+
interface BsDatatableFetchRequest extends PaginationRequest {
|
|
32
|
+
parentId?: unknown;
|
|
33
|
+
}
|
|
34
|
+
type BsDatatableFetch<T> = (req: BsDatatableFetchRequest) => Promise<PaginationResponse<T>>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Declares a column in `<bs-datatable>`.
|
|
38
|
+
*
|
|
39
|
+
* - `bsDatatableColumn` (the directive value) is the **data property name** —
|
|
40
|
+
* it must match the field key on each row in the fetched data and is what
|
|
41
|
+
* `SortColumn.property` references when the column is clicked.
|
|
42
|
+
* - The directive's **template content** is the header template — what gets
|
|
43
|
+
* rendered inside the `<th>`.
|
|
44
|
+
*
|
|
45
|
+
* Example:
|
|
46
|
+
* ```html
|
|
47
|
+
* <div *bsDatatableColumn="'YearStarted'; sortable: true">Year started</div>
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* Optional `bsDatatableColumnSortable` controls whether the header acts as a
|
|
51
|
+
* sort toggle (default `true`).
|
|
52
|
+
*/
|
|
53
|
+
declare class BsDatatableColumnDirective {
|
|
54
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
55
|
+
/** Data property name on each row; used as `SortColumn.property` on sort. */
|
|
56
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
57
|
+
readonly sortable: _angular_core.InputSignal<boolean>;
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatatableColumnDirective, never>;
|
|
59
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsDatatableColumnDirective, "[bsDatatableColumn]", never, { "name": { "alias": "bsDatatableColumn"; "required": false; "isSignal": true; }; "sortable": { "alias": "bsDatatableColumnSortable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Marks an `<ng-template>` as the per-row body for `<bs-datatable>`. The
|
|
64
|
+
* template's `$implicit` is the row object. The template should render one
|
|
65
|
+
* `<td>` per data column (in column order).
|
|
66
|
+
*
|
|
67
|
+
* In tree mode (`[tree]="true"`) the context also carries `depth` (0 for
|
|
68
|
+
* roots, +1 per nesting level), `isExpanded`, and `isPlaceholder` (true when
|
|
69
|
+
* the row is a not-yet-loaded child slot — `$implicit` is undefined).
|
|
70
|
+
*
|
|
71
|
+
* Example:
|
|
72
|
+
* ```html
|
|
73
|
+
* <ng-container *bsRowTemplate="let artist">
|
|
74
|
+
* <td class="text-nowrap">{{ artist?.name }}</td>
|
|
75
|
+
* <td class="text-nowrap">{{ artist?.yearStarted }}</td>
|
|
76
|
+
* </ng-container>
|
|
77
|
+
*
|
|
78
|
+
* <!-- tree mode: render a spinner for placeholder rows -->
|
|
79
|
+
* <ng-container *bsRowTemplate="let item; let isPlaceholder = isPlaceholder">
|
|
80
|
+
* @if (isPlaceholder) { <td colspan="3"><i>Loading…</i></td> }
|
|
81
|
+
* @else { <td>{{ item.name }}</td><td>{{ item.headcount }}</td><td>{{ item.code }}</td> }
|
|
82
|
+
* </ng-container>
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
declare class BsRowTemplateDirective<TData = unknown> {
|
|
86
|
+
readonly templateRef: TemplateRef<BsRowTemplateContext<TData>>;
|
|
87
|
+
static ngTemplateContextGuard<TData>(_dir: BsRowTemplateDirective<TData>, ctx: unknown): ctx is BsRowTemplateContext<Exclude<TData, false | 0 | '' | null | undefined>>;
|
|
88
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsRowTemplateDirective<any>, never>;
|
|
89
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsRowTemplateDirective<any>, "[bsRowTemplate]", never, {}, {}, never, never, true, never>;
|
|
90
|
+
}
|
|
91
|
+
declare class BsRowTemplateContext<TData = unknown> {
|
|
92
|
+
$implicit: TData | undefined;
|
|
93
|
+
index?: number;
|
|
94
|
+
/** 0 for roots; +1 per nesting level. Always 0 in flat mode. */
|
|
95
|
+
depth: number;
|
|
96
|
+
/** True when the row is currently expanded. Always false in flat mode. */
|
|
97
|
+
isExpanded: boolean;
|
|
98
|
+
/** True when the row is a not-yet-loaded child slot — `$implicit` is undefined. */
|
|
99
|
+
isPlaceholder: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface BsDatatableRowEvent<T> {
|
|
103
|
+
row: T;
|
|
104
|
+
rowIndex: number;
|
|
105
|
+
rowKey: string;
|
|
106
|
+
originalEvent: Event;
|
|
107
|
+
}
|
|
108
|
+
interface BsDatatableTreeRowEvent<T> {
|
|
109
|
+
row: T;
|
|
110
|
+
depth: number;
|
|
111
|
+
parentId: unknown | null;
|
|
112
|
+
}
|
|
113
|
+
declare class BsDatatableComponent<TData> implements AfterViewInit {
|
|
114
|
+
private readonly platformId;
|
|
115
|
+
private readonly vcr;
|
|
116
|
+
private readonly destroyRef;
|
|
117
|
+
/**
|
|
118
|
+
* Programmatic column list. Mutually exclusive with the `*bsDatatableColumn`
|
|
119
|
+
* template directives — if provided, takes precedence.
|
|
120
|
+
*/
|
|
121
|
+
readonly columnsInput: _angular_core.InputSignal<DatatableColumnDef<TData>[] | null>;
|
|
122
|
+
/** Static (already-paginated) data array. Use `[fetch]` for server-side pagination. */
|
|
123
|
+
readonly data: _angular_core.InputSignal<TData[] | null>;
|
|
124
|
+
/** Async data loader (server-side pagination). Mutually exclusive with `[data]`. */
|
|
125
|
+
readonly fetch: _angular_core.InputSignal<BsDatatableFetch<TData> | null>;
|
|
126
|
+
/** Two-way bound pagination / sort settings. */
|
|
127
|
+
readonly settings: _angular_core.ModelSignal<DatatableSettings>;
|
|
128
|
+
/** `'none'` hides selection; `'multiple'` shows checkboxes; `'single'` is a single-row selection. */
|
|
129
|
+
readonly selectionMode: _angular_core.InputSignal<DatatableSelectionMode>;
|
|
130
|
+
/** @deprecated Use `selectionMode`. Kept for source-level compatibility. */
|
|
131
|
+
readonly selectable: _angular_core.InputSignal<DatatableSelectionMode | undefined>;
|
|
132
|
+
/** Two-way bound array of selected rows (identity via `rowKey`). */
|
|
133
|
+
readonly selection: _angular_core.ModelSignal<TData[]>;
|
|
134
|
+
/** Required for selection / async refetch identity. Default `String((row as any).id)`. */
|
|
135
|
+
readonly rowKey: _angular_core.InputSignal<(row: TData, index: number) => string>;
|
|
136
|
+
/** Drag-resize column widths. Default `true`. */
|
|
137
|
+
readonly resizableColumns: _angular_core.InputSignal<boolean>;
|
|
138
|
+
/** Built-in pagination footer. Ignored when `[fetch]` is provided (server-side paging owns the page state). */
|
|
139
|
+
readonly pagination: _angular_core.InputSignal<boolean>;
|
|
140
|
+
/** Enable virtual scrolling for large datasets. */
|
|
141
|
+
readonly virtualScroll: _angular_core.InputSignal<boolean>;
|
|
142
|
+
/** Approximate row height in px (drives virtual scroll). */
|
|
143
|
+
readonly itemSize: _angular_core.InputSignal<number>;
|
|
144
|
+
/** Off-screen row buffer per side for virtual scrolling. */
|
|
145
|
+
readonly virtualBuffer: _angular_core.InputSignal<number>;
|
|
146
|
+
/** Forwarded to the inner table (legacy responsive flag, currently a CSS hook). */
|
|
147
|
+
readonly isResponsive: _angular_core.InputSignal<boolean>;
|
|
148
|
+
/** Optional row equality predicate (selection identity across re-fetches). */
|
|
149
|
+
readonly compareWith: _angular_core.InputSignal<((a: TData, b: TData) => boolean) | undefined>;
|
|
150
|
+
/** Emitted on row single-click. */
|
|
151
|
+
readonly rowClick: _angular_core.OutputEmitterRef<BsDatatableRowEvent<TData>>;
|
|
152
|
+
/** Emitted on row double-click. */
|
|
153
|
+
readonly rowDblClick: _angular_core.OutputEmitterRef<BsDatatableRowEvent<TData>>;
|
|
154
|
+
/** Emitted on row context-menu. */
|
|
155
|
+
readonly rowContextMenu: _angular_core.OutputEmitterRef<BsDatatableRowEvent<TData>>;
|
|
156
|
+
/** Enable tree mode (chevron column, nested expansion, lazy children). */
|
|
157
|
+
readonly tree: _angular_core.InputSignal<boolean>;
|
|
158
|
+
/**
|
|
159
|
+
* Property name (or function) that extracts the row's stable identity.
|
|
160
|
+
* Required when `tree=true`. Used as the expansion key and as the
|
|
161
|
+
* `parentId` value the WC sends in `mp-datatable-fetch-request`.
|
|
162
|
+
*/
|
|
163
|
+
readonly idKey: _angular_core.InputSignal<TreeIdKey<TData> | null>;
|
|
164
|
+
/**
|
|
165
|
+
* Property name on the row holding the direct-child count. Drives chevron
|
|
166
|
+
* visibility AND placeholder reservation for lazy children. Required when
|
|
167
|
+
* `tree=true`.
|
|
168
|
+
*/
|
|
169
|
+
readonly childCountKey: _angular_core.InputSignal<string | null>;
|
|
170
|
+
/** Indent in rem per depth level on the chevron cell. Default `1.25`. */
|
|
171
|
+
readonly treeIndent: _angular_core.InputSignal<number>;
|
|
172
|
+
/** Two-way bound set of expanded-row ids (keyed by `idKey`). */
|
|
173
|
+
readonly expandedIds: _angular_core.ModelSignal<Set<unknown>>;
|
|
174
|
+
/**
|
|
175
|
+
* `'flat'` (default) leaves selection to per-row toggles; `'cascading'`
|
|
176
|
+
* (recommended in tree mode) propagates a parent toggle to all loaded
|
|
177
|
+
* descendants and surfaces an indeterminate state on partially-selected
|
|
178
|
+
* parents.
|
|
179
|
+
*/
|
|
180
|
+
readonly selectionStrategy: _angular_core.InputSignal<TreeSelectionStrategy>;
|
|
181
|
+
/** Emitted after a row is expanded. */
|
|
182
|
+
readonly rowExpand: _angular_core.OutputEmitterRef<BsDatatableTreeRowEvent<TData>>;
|
|
183
|
+
/** Emitted after a row is collapsed. */
|
|
184
|
+
readonly rowCollapse: _angular_core.OutputEmitterRef<BsDatatableTreeRowEvent<TData>>;
|
|
185
|
+
readonly datatableRef: _angular_core.Signal<ElementRef<MpDatatable> | undefined>;
|
|
186
|
+
/** Column directives (header template + sortable). Wrapper-level discovery. */
|
|
187
|
+
readonly columnDirectives: _angular_core.Signal<readonly BsDatatableColumnDirective[]>;
|
|
188
|
+
/** Optional row template. When present, drives a per-row EmbeddedView render path. */
|
|
189
|
+
readonly rowTemplate: _angular_core.Signal<BsRowTemplateDirective<any> | undefined>;
|
|
190
|
+
/** Internal data source — populated either from `data()` or from `fetch()` responses. */
|
|
191
|
+
protected readonly currentData: _angular_core.WritableSignal<TData[]>;
|
|
192
|
+
protected readonly totalRecords: _angular_core.WritableSignal<number>;
|
|
193
|
+
/**
|
|
194
|
+
* Merged column defs:
|
|
195
|
+
* - `[columns]` if provided
|
|
196
|
+
* - else the `*bsDatatableColumn` directives mapped onto column defs whose
|
|
197
|
+
* `headerRenderer` returns a DOM node produced from the directive's template.
|
|
198
|
+
*/
|
|
199
|
+
protected readonly effectiveColumns: _angular_core.Signal<DatatableColumnDef<TData>[]>;
|
|
200
|
+
/** EmbeddedViews for header templates (one per column directive). */
|
|
201
|
+
private headerViews;
|
|
202
|
+
/** EmbeddedViews for row templates, keyed by rowKey for reuse. */
|
|
203
|
+
private rowViews;
|
|
204
|
+
constructor();
|
|
205
|
+
ngAfterViewInit(): void;
|
|
206
|
+
private buildRowRenderer;
|
|
207
|
+
/** Generation token: invalidates an in-flight virtual-mode preload when sort/fetcher changes. */
|
|
208
|
+
private virtualFetchToken;
|
|
209
|
+
private runVirtualFetchAll;
|
|
210
|
+
private runFetch;
|
|
211
|
+
onSortChange(event: Event): void;
|
|
212
|
+
onSelectionChange(event: Event): void;
|
|
213
|
+
onPageChange(event: Event): void;
|
|
214
|
+
onPerPageChange(event: Event): void;
|
|
215
|
+
onRowClick(event: Event): void;
|
|
216
|
+
onRowDblClick(event: Event): void;
|
|
217
|
+
onRowContextMenu(event: Event): void;
|
|
218
|
+
/**
|
|
219
|
+
* Bridge the WC's fetch-request to the consumer's `[fetch]` callback. The
|
|
220
|
+
* WC fires this when a row is expanded (or scrolled into view as a
|
|
221
|
+
* placeholder) without cached children. We resolve the consumer's promise
|
|
222
|
+
* and hand the response back to the WC via `setFetchResponse`.
|
|
223
|
+
*/
|
|
224
|
+
onFetchRequest(event: Event): void;
|
|
225
|
+
onRowExpand(event: Event): void;
|
|
226
|
+
onRowCollapse(event: Event): void;
|
|
227
|
+
onExpandedIdsChange(event: Event): void;
|
|
228
|
+
private toBsEvent;
|
|
229
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatatableComponent<any>, never>;
|
|
230
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDatatableComponent<any>, "bs-datatable", never, { "columnsInput": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "fetch": { "alias": "fetch"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "virtualBuffer": { "alias": "virtualBuffer"; "required": false; "isSignal": true; }; "isResponsive": { "alias": "isResponsive"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "tree": { "alias": "tree"; "required": false; "isSignal": true; }; "idKey": { "alias": "idKey"; "required": false; "isSignal": true; }; "childCountKey": { "alias": "childCountKey"; "required": false; "isSignal": true; }; "treeIndent": { "alias": "treeIndent"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selectionStrategy": { "alias": "selectionStrategy"; "required": false; "isSignal": true; }; }, { "settings": "settingsChange"; "selection": "selectionChange"; "rowClick": "rowClick"; "rowDblClick": "rowDblClick"; "rowContextMenu": "rowContextMenu"; "expandedIds": "expandedIdsChange"; "rowExpand": "rowExpand"; "rowCollapse": "rowCollapse"; }, ["columnDirectives", "rowTemplate"], never, true, never>;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export { BsDatatableColumnDirective, BsDatatableComponent, BsRowTemplateContext, BsRowTemplateDirective, DatatableSettings };
|
|
234
|
+
export type { BsDatatableFetch, BsDatatableFetchRequest, BsDatatableRowEvent, BsDatatableTreeRowEvent };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { FirstDayOfWeek } from '@mintplayer/web-components/calendar';
|
|
5
|
+
import { MpDatepickerElement } from '@mintplayer/web-components/datepicker';
|
|
6
|
+
export * from '@mintplayer/web-components/datepicker';
|
|
7
|
+
|
|
8
|
+
declare class BsDatepickerComponent implements AfterViewInit, ControlValueAccessor, Validator {
|
|
9
|
+
selectedDate: _angular_core.ModelSignal<Date>;
|
|
10
|
+
currentMonth: _angular_core.ModelSignal<Date>;
|
|
11
|
+
disableDateFn: _angular_core.InputSignal<((date: Date) => boolean) | undefined>;
|
|
12
|
+
min: _angular_core.InputSignal<Date | undefined>;
|
|
13
|
+
max: _angular_core.InputSignal<Date | undefined>;
|
|
14
|
+
firstDayOfWeek: _angular_core.InputSignal<FirstDayOfWeek>;
|
|
15
|
+
locale: _angular_core.InputSignal<string | undefined>;
|
|
16
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
17
|
+
triggerLabel: _angular_core.InputSignal<string>;
|
|
18
|
+
/** Disabled state driven by form's disable() (via setDisabledState) or [disabled] input. */
|
|
19
|
+
protected readonly formDisabled: _angular_core.WritableSignal<boolean>;
|
|
20
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
21
|
+
protected readonly effectiveDisabled: _angular_core.WritableSignal<boolean>;
|
|
22
|
+
readonly wcRef: _angular_core.Signal<ElementRef<MpDatepickerElement> | undefined>;
|
|
23
|
+
private onChange;
|
|
24
|
+
private onTouched;
|
|
25
|
+
private onValidatorChange;
|
|
26
|
+
constructor();
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
onSelectedDateChange(event: Event): void;
|
|
29
|
+
onCurrentMonthChange(event: Event): void;
|
|
30
|
+
onClosed(): void;
|
|
31
|
+
writeValue(value: Date | null | undefined): void;
|
|
32
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
33
|
+
registerOnTouched(fn: () => void): void;
|
|
34
|
+
setDisabledState(isDisabled: boolean): void;
|
|
35
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
36
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
37
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatepickerComponent, never>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDatepickerComponent, "bs-datepicker", never, { "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "currentMonth": { "alias": "currentMonth"; "required": false; "isSignal": true; }; "disableDateFn": { "alias": "disableDateFn"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "triggerLabel": { "alias": "triggerLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selectedDate": "selectedDateChange"; "currentMonth": "currentMonthChange"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { BsDatepickerComponent };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { FirstDayOfWeek } from '@mintplayer/web-components/calendar';
|
|
5
|
+
import { Hour12Mode, TimeStep } from '@mintplayer/web-components/timepicker';
|
|
6
|
+
import { DatetimePopup, MpDatetimePickerElement } from '@mintplayer/web-components/datetime-picker';
|
|
7
|
+
export * from '@mintplayer/web-components/datetime-picker';
|
|
8
|
+
|
|
9
|
+
interface TimePartInput {
|
|
10
|
+
hour: number;
|
|
11
|
+
minute: number;
|
|
12
|
+
}
|
|
13
|
+
declare class BsDatetimePickerComponent implements AfterViewInit, ControlValueAccessor, Validator {
|
|
14
|
+
value: _angular_core.ModelSignal<Date | null>;
|
|
15
|
+
min: _angular_core.InputSignal<Date | undefined>;
|
|
16
|
+
max: _angular_core.InputSignal<Date | undefined>;
|
|
17
|
+
disableDateFn: _angular_core.InputSignal<((date: Date) => boolean) | undefined>;
|
|
18
|
+
firstDayOfWeek: _angular_core.InputSignal<FirstDayOfWeek>;
|
|
19
|
+
locale: _angular_core.InputSignal<string | undefined>;
|
|
20
|
+
hour12: _angular_core.InputSignal<Hour12Mode>;
|
|
21
|
+
step: _angular_core.InputSignal<TimeStep>;
|
|
22
|
+
defaultTime: _angular_core.InputSignal<TimePartInput>;
|
|
23
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
24
|
+
showClear: _angular_core.InputSignal<boolean>;
|
|
25
|
+
dateButtonLabel: _angular_core.InputSignal<string>;
|
|
26
|
+
timeButtonLabel: _angular_core.InputSignal<string>;
|
|
27
|
+
clearLabel: _angular_core.InputSignal<string>;
|
|
28
|
+
todayLabel: _angular_core.InputSignal<string>;
|
|
29
|
+
nowLabel: _angular_core.InputSignal<string>;
|
|
30
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
31
|
+
protected readonly formDisabled: _angular_core.WritableSignal<boolean>;
|
|
32
|
+
protected readonly effectiveDisabled: _angular_core.WritableSignal<boolean>;
|
|
33
|
+
readonly opened: _angular_core.OutputEmitterRef<DatetimePopup>;
|
|
34
|
+
readonly closed: _angular_core.OutputEmitterRef<DatetimePopup>;
|
|
35
|
+
readonly wcRef: _angular_core.Signal<ElementRef<MpDatetimePickerElement> | undefined>;
|
|
36
|
+
private onChange;
|
|
37
|
+
private onTouched;
|
|
38
|
+
private onValidatorChange;
|
|
39
|
+
constructor();
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
onValueChange(event: Event): void;
|
|
42
|
+
onOpened(event: Event): void;
|
|
43
|
+
onClosed(event: Event): void;
|
|
44
|
+
writeValue(value: Date | null | undefined): void;
|
|
45
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
46
|
+
registerOnTouched(fn: () => void): void;
|
|
47
|
+
setDisabledState(isDisabled: boolean): void;
|
|
48
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
49
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatetimePickerComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDatetimePickerComponent, "bs-datetime-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disableDateFn": { "alias": "disableDateFn"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "hour12": { "alias": "hour12"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "defaultTime": { "alias": "defaultTime"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "dateButtonLabel": { "alias": "dateButtonLabel"; "required": false; "isSignal": true; }; "timeButtonLabel": { "alias": "timeButtonLabel"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "todayLabel": { "alias": "todayLabel"; "required": false; "isSignal": true; }; "nowLabel": { "alias": "nowLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { BsDatetimePickerComponent };
|
|
55
|
+
export type { TimePartInput };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterContentInit, TemplateRef, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { DockLayoutNode, DockLayout, DockLayoutSnapshot, MintDockManagerElement } from '@mintplayer/web-components/dock';
|
|
4
|
+
export * from '@mintplayer/web-components/dock';
|
|
5
|
+
|
|
6
|
+
declare class BsDockPaneComponent implements AfterContentInit {
|
|
7
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
8
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
9
|
+
readonly template: _angular_core.Signal<TemplateRef<any>>;
|
|
10
|
+
ngAfterContentInit(): void;
|
|
11
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDockPaneComponent, never>;
|
|
12
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDockPaneComponent, "bs-dock-pane", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class BsDockManagerComponent implements AfterViewInit {
|
|
16
|
+
readonly layout: _angular_core.InputSignal<DockLayoutNode | DockLayout | null>;
|
|
17
|
+
/**
|
|
18
|
+
* Dev-mode integrity guard. When `true`, the inner web component throws
|
|
19
|
+
* after each render if any registered pane has no projection slot in the
|
|
20
|
+
* shadow DOM — a signal that the layout tree got corrupted. Off by default;
|
|
21
|
+
* enable in development to catch layout-logic bugs loudly.
|
|
22
|
+
*/
|
|
23
|
+
readonly debugLayoutIntegrity: _angular_core.InputSignal<boolean>;
|
|
24
|
+
protected readonly debugLayoutIntegrityAttr: _angular_core.Signal<"" | null>;
|
|
25
|
+
get layoutSnapshot(): DockLayoutSnapshot | null;
|
|
26
|
+
readonly layoutChange: _angular_core.OutputEmitterRef<DockLayoutSnapshot | null>;
|
|
27
|
+
readonly layoutSnapshotChange: _angular_core.OutputEmitterRef<DockLayoutSnapshot>;
|
|
28
|
+
layoutString: _angular_core.WritableSignal<string | null>;
|
|
29
|
+
readonly panes: _angular_core.Signal<readonly BsDockPaneComponent[]>;
|
|
30
|
+
readonly managerRef: _angular_core.Signal<ElementRef<MintDockManagerElement> | undefined>;
|
|
31
|
+
protected readonly trackByPane: (_: number, pane: BsDockPaneComponent) => string;
|
|
32
|
+
private _layout;
|
|
33
|
+
constructor();
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
captureLayout(): DockLayoutSnapshot;
|
|
36
|
+
onLayoutChanged(event: Event): void;
|
|
37
|
+
private applyLayout;
|
|
38
|
+
private ensureSnapshot;
|
|
39
|
+
private stringifyLayout;
|
|
40
|
+
private cloneLayout;
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDockManagerComponent, never>;
|
|
42
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDockManagerComponent, "bs-dock-manager", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "debugLayoutIntegrity": { "alias": "debugLayoutIntegrity"; "required": false; "isSignal": true; }; }, { "layoutChange": "layoutChange"; "layoutSnapshotChange": "layoutSnapshotChange"; }, ["panes"], never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { BsDockManagerComponent, BsDockPaneComponent };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class BsDropdownDividerDirective {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsDropdownDividerDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsDropdownDividerDirective, "[bsDropdownDivider]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export { BsDropdownDividerDirective };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as _mintplayer_ng_bootstrap_dropdown from '@mintplayer/ng-bootstrap/dropdown';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class BsDropdownItemComponent {
|
|
6
|
+
private parent;
|
|
7
|
+
private menu;
|
|
8
|
+
/** Public so BsDropdownMenuComponent can imperatively focus this item during keyboard nav. */
|
|
9
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
10
|
+
private ids;
|
|
11
|
+
readonly isSelected: _angular_core.InputSignal<boolean>;
|
|
12
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
13
|
+
readonly itemRole: _angular_core.Signal<"option" | "menuitem">;
|
|
14
|
+
readonly ariaSelected: _angular_core.Signal<"true" | "false" | null>;
|
|
15
|
+
/**
|
|
16
|
+
* Roving tabindex in menu mode: the focused item is 0, others -1.
|
|
17
|
+
* In listbox mode (typeahead/tree-select/etc.), the consumer applies bsRovingFocusItem
|
|
18
|
+
* externally for activedescendant management; this binding stays null so it
|
|
19
|
+
* doesn't fight that directive.
|
|
20
|
+
*/
|
|
21
|
+
readonly tabindex: _angular_core.Signal<number | null>;
|
|
22
|
+
/**
|
|
23
|
+
* Resolved after first render so static `id="…"` attributes set by the consumer
|
|
24
|
+
* and any sibling host bindings have applied first. Read-only access for any
|
|
25
|
+
* other directive on the same element (e.g. BsRovingFocusItem) that needs a
|
|
26
|
+
* stable target id for aria-activedescendant.
|
|
27
|
+
*/
|
|
28
|
+
get itemId(): string;
|
|
29
|
+
constructor();
|
|
30
|
+
onFocus(): void;
|
|
31
|
+
onActivate(event: Event): void;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDropdownItemComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDropdownItemComponent, "bs-dropdown-item", never, { "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class BsDropdownMenuComponent implements AfterViewInit {
|
|
37
|
+
private bsDropdown;
|
|
38
|
+
readonly maxHeight: _angular_core.InputSignal<number | null>;
|
|
39
|
+
dropdownWith: _angular_core.WritableSignal<string | null>;
|
|
40
|
+
readonly menuRole: _angular_core.Signal<_mintplayer_ng_bootstrap_dropdown.BsDropdownPopupRole | null>;
|
|
41
|
+
readonly menuId: _angular_core.Signal<string | null>;
|
|
42
|
+
/**
|
|
43
|
+
* Items projected into this menu. Used in menu mode (popupRole='menu') to
|
|
44
|
+
* implement roving-tabindex keyboard navigation. In listbox mode, callers
|
|
45
|
+
* (typeahead/tree-select/etc.) typically apply their own bsRovingFocus directly,
|
|
46
|
+
* so this menu's keyboard handler is a no-op.
|
|
47
|
+
*/
|
|
48
|
+
readonly dropdownItems: _angular_core.Signal<readonly BsDropdownItemComponent[]>;
|
|
49
|
+
/** True when this is a plain menu (default), false when used as a combobox listbox. */
|
|
50
|
+
readonly isMenuMode: _angular_core.Signal<boolean>;
|
|
51
|
+
/** Index into dropdownItems() of the item that currently holds the roving tabindex (menu mode). */
|
|
52
|
+
readonly focusedIndex: _angular_core.WritableSignal<number>;
|
|
53
|
+
isItemFocused(item: BsDropdownItemComponent): boolean;
|
|
54
|
+
setFocusedItem(item: BsDropdownItemComponent): void;
|
|
55
|
+
onResize(): void;
|
|
56
|
+
ngAfterViewInit(): void;
|
|
57
|
+
onKeydown(event: KeyboardEvent): void;
|
|
58
|
+
private moveFocus;
|
|
59
|
+
private firstEnabledIndex;
|
|
60
|
+
private lastEnabledIndex;
|
|
61
|
+
private moveTo;
|
|
62
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDropdownMenuComponent, never>;
|
|
63
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDropdownMenuComponent, "bs-dropdown-menu", never, { "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, {}, ["dropdownItems"], ["*"], true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { BsDropdownItemComponent, BsDropdownMenuComponent };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { BsRovingFocusDirective } from '@mintplayer/ng-bootstrap/a11y';
|
|
4
|
+
import { ClickOutsideDirective } from '@mintplayer/ng-click-outside';
|
|
5
|
+
|
|
6
|
+
declare class BsDropdownMenuDirective extends ClickOutsideDirective {
|
|
7
|
+
private dropdown;
|
|
8
|
+
private viewContainerRef;
|
|
9
|
+
private templateRef;
|
|
10
|
+
private overlay;
|
|
11
|
+
private destroy;
|
|
12
|
+
private bsDevelopment;
|
|
13
|
+
private overlayStack;
|
|
14
|
+
private wait;
|
|
15
|
+
private overlayRef;
|
|
16
|
+
private templatePortal;
|
|
17
|
+
private stackToken;
|
|
18
|
+
constructor();
|
|
19
|
+
clickedOutside(event: Event): void;
|
|
20
|
+
onEscape(event: Event): void;
|
|
21
|
+
private doClose;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDropdownMenuDirective, never>;
|
|
23
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsDropdownMenuDirective, "[bsDropdownMenu]", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class BsDropdownToggleDirective {
|
|
27
|
+
dropdown: BsDropdownDirective;
|
|
28
|
+
constructor(dropdown: BsDropdownDirective, toggleButton: ElementRef);
|
|
29
|
+
toggleButton: ElementRef;
|
|
30
|
+
onClick(): void;
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDropdownToggleDirective, never>;
|
|
32
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsDropdownToggleDirective, "[bsDropdownToggle]", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type BsDropdownPopupRole = 'menu' | 'listbox';
|
|
36
|
+
declare class BsDropdownDirective {
|
|
37
|
+
elementRef: ElementRef<HTMLElement>;
|
|
38
|
+
private bsDevelopment;
|
|
39
|
+
private ids;
|
|
40
|
+
readonly menu: _angular_core.Signal<BsDropdownMenuDirective>;
|
|
41
|
+
readonly toggle: _angular_core.Signal<BsDropdownToggleDirective | undefined>;
|
|
42
|
+
readonly rovingFocus: _angular_core.Signal<BsRovingFocusDirective | undefined>;
|
|
43
|
+
hasBackdrop: _angular_core.InputSignal<boolean>;
|
|
44
|
+
sameWidth: _angular_core.InputSignal<boolean>;
|
|
45
|
+
closeOnClickOutside: _angular_core.InputSignal<boolean>;
|
|
46
|
+
sameDropdownWidth: _angular_core.InputSignal<boolean>;
|
|
47
|
+
isOpen: _angular_core.ModelSignal<boolean>;
|
|
48
|
+
readonly popupRole: _angular_core.InputSignal<BsDropdownPopupRole>;
|
|
49
|
+
/** Reactive id used for the menu's host id and for the toggle's aria-controls. Empty until afterNextRender resolves the host's static id (or generates one), so sibling host bindings on the wrapper element get a chance to land first. */
|
|
50
|
+
private _menuId;
|
|
51
|
+
readonly menuId: _angular_core.Signal<string>;
|
|
52
|
+
constructor();
|
|
53
|
+
onBlur(): void;
|
|
54
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDropdownDirective, never>;
|
|
55
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsDropdownDirective, "[bsDropdown]", ["bsDropdown"], { "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "sameWidth": { "alias": "sameWidth"; "required": false; "isSignal": true; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; "isSignal": true; }; "sameDropdownWidth": { "alias": "sameDropdownWidth"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "popupRole": { "alias": "popupRole"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, ["menu", "toggle", "rovingFocus"], never, true, never>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type BsComboboxAutocomplete = 'none' | 'list' | 'inline' | 'both';
|
|
59
|
+
type BsComboboxNavigateDirection = 'next' | 'prev' | 'first' | 'last';
|
|
60
|
+
/**
|
|
61
|
+
* APG Combobox pattern — turns a plain `<input>` into a combobox that drives
|
|
62
|
+
* an adjacent `bsDropdown` popup (typeahead, tree-select, etc.).
|
|
63
|
+
*
|
|
64
|
+
* The directive owns the input-side ARIA wiring:
|
|
65
|
+
* - `role="combobox"` on the host
|
|
66
|
+
* - `aria-expanded` / `aria-controls` derived from the parent dropdown
|
|
67
|
+
* - `aria-activedescendant` mirroring the dropdown's `bsRovingFocus` active id
|
|
68
|
+
* - `aria-autocomplete` (defaults to `"list"`)
|
|
69
|
+
*
|
|
70
|
+
* Keyboard model:
|
|
71
|
+
* - **ArrowUp/Down/Home/End** — opens the popup if closed; once open,
|
|
72
|
+
* forwards to the dropdown's `bsRovingFocus` (or emits a `navigate` event
|
|
73
|
+
* if no roving-focus is found, so consumers can manage navigation manually).
|
|
74
|
+
* - **Enter** — fires `activate` so the consumer can commit the highlighted
|
|
75
|
+
* option. `stopImmediatePropagation` is called to keep sibling
|
|
76
|
+
* `(keydown.enter)` listeners on the same input (e.g. "submit free-text
|
|
77
|
+
* search") from also firing on the same Enter.
|
|
78
|
+
* - **Escape** — closes the popup and fires `cancel`.
|
|
79
|
+
* - **Tab** — hybrid behaviour: while the popup is open and a roving-focus
|
|
80
|
+
* is present, Tab advances the active descendant; at the boundary, Tab
|
|
81
|
+
* closes the popup and falls through to the browser's default tab order.
|
|
82
|
+
*/
|
|
83
|
+
declare class BsComboboxDirective {
|
|
84
|
+
private dropdown;
|
|
85
|
+
/** Aliased to bsComboboxAutocomplete to avoid colliding with the host input's native HTML autocomplete attribute. */
|
|
86
|
+
readonly autocomplete: _angular_core.InputSignal<BsComboboxAutocomplete>;
|
|
87
|
+
/** Override the auto-derived activeDescendant. Defaults to dropdown.rovingFocus()'s id when present. */
|
|
88
|
+
readonly activeDescendant: _angular_core.InputSignal<string | null>;
|
|
89
|
+
readonly expanded: _angular_core.Signal<boolean>;
|
|
90
|
+
readonly controls: _angular_core.Signal<string | null>;
|
|
91
|
+
readonly resolvedActiveDescendant: _angular_core.Signal<string | null>;
|
|
92
|
+
/** Fires only when no BsRovingFocus is found inside the parent dropdown — otherwise arrow keys are forwarded automatically. */
|
|
93
|
+
readonly navigate: _angular_core.OutputEmitterRef<BsComboboxNavigateDirection>;
|
|
94
|
+
readonly activate: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
95
|
+
readonly cancel: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
96
|
+
onKeydown(event: KeyboardEvent): void;
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsComboboxDirective, never>;
|
|
98
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsComboboxDirective, "input[bsCombobox]", ["bsCombobox"], { "autocomplete": { "alias": "bsComboboxAutocomplete"; "required": false; "isSignal": true; }; "activeDescendant": { "alias": "activeDescendant"; "required": false; "isSignal": true; }; }, { "navigate": "navigate"; "activate": "activate"; "cancel": "cancel"; }, never, never, true, never>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { BsComboboxDirective, BsDropdownDirective, BsDropdownMenuDirective, BsDropdownToggleDirective };
|
|
102
|
+
export type { BsComboboxAutocomplete, BsComboboxNavigateDirection, BsDropdownPopupRole };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
interface NumberOverflow {
|
|
4
|
+
boundary: 'min' | 'max' | 'invalid';
|
|
5
|
+
boundaryValue?: number;
|
|
6
|
+
inputValue?: number;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class EnhancedPasteDirective {
|
|
10
|
+
private element;
|
|
11
|
+
private model;
|
|
12
|
+
readonly numberOverflow: i0.OutputEmitterRef<NumberOverflow>;
|
|
13
|
+
onPaste(event: ClipboardEvent): void;
|
|
14
|
+
filterInput(value: any, min: number, max: number): NumberOverflow | null;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnhancedPasteDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EnhancedPasteDirective, "input[type=\"number\"][bsEnhancedPaste]", never, {}, { "numberOverflow": "numberOverflow"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { EnhancedPasteDirective };
|
|
20
|
+
export type { NumberOverflow };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
interface EnumItem {
|
|
4
|
+
key: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare class EnumService {
|
|
9
|
+
getKeys(en: Record<string, unknown>): string[];
|
|
10
|
+
getValues(en: Record<string, unknown>): string[];
|
|
11
|
+
getItems(en: Record<string, unknown>): EnumItem[];
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnumService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EnumService>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { EnumService };
|
|
17
|
+
export type { EnumItem };
|