@mintplayer/ng-bootstrap 22.31.0 → 22.32.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.
Files changed (148) hide show
  1. package/README.md +12 -11
  2. package/_bootstrap.scss +2 -4
  3. package/a11y/forms/package.json +4 -0
  4. package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs +120 -0
  5. package/fesm2022/mintplayer-ng-bootstrap-a11y-forms.mjs.map +1 -0
  6. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +2 -109
  7. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +3 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +7 -3
  11. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +7 -3
  13. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +12 -5
  15. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +7 -3
  17. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +74 -83
  19. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +3 -0
  21. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +9 -5
  23. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -3
  25. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +4 -0
  27. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +4 -2
  29. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +4 -2
  31. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +9 -2
  33. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +12 -4
  35. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +2 -0
  37. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +6 -2
  41. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-for.mjs +8 -4
  43. package/fesm2022/mintplayer-ng-bootstrap-for.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +7 -2
  45. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +40 -12
  47. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +3 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +23 -6
  51. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +16 -4
  53. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +23 -7
  55. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +93 -0
  57. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -0
  58. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +7 -3
  59. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +43 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +15 -6
  63. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +4 -2
  65. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +7 -4
  67. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +4 -2
  69. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +22 -16
  71. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +22 -7
  73. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +13 -6
  75. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +4 -0
  77. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +9 -5
  79. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +7 -3
  81. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -0
  83. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +19 -9
  85. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +4 -2
  87. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +4 -2
  89. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +25 -11
  91. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +14 -4
  93. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  94. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +3 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  96. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +9 -14
  97. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  98. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +5 -2
  99. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  100. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +23 -8
  101. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  102. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +7 -3
  103. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  104. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +4 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  106. package/nav/package.json +4 -0
  107. package/package.json +11 -8
  108. package/types/mintplayer-ng-bootstrap-a11y-forms.d.ts +64 -0
  109. package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -62
  110. package/types/mintplayer-ng-bootstrap-alert.d.ts +1 -0
  111. package/types/mintplayer-ng-bootstrap-badge.d.ts +1 -0
  112. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +2 -0
  113. package/types/mintplayer-ng-bootstrap-button-group.d.ts +1 -0
  114. package/types/mintplayer-ng-bootstrap-card.d.ts +14 -3
  115. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +1 -1
  116. package/types/mintplayer-ng-bootstrap-close.d.ts +1 -0
  117. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +1 -1
  118. package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +1 -1
  119. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +1 -0
  120. package/types/mintplayer-ng-bootstrap-for.d.ts +5 -5
  121. package/types/mintplayer-ng-bootstrap-form.d.ts +1 -0
  122. package/types/mintplayer-ng-bootstrap-grid.d.ts +14 -0
  123. package/types/mintplayer-ng-bootstrap-list-group.d.ts +15 -8
  124. package/types/mintplayer-ng-bootstrap-machine.d.ts +13 -2
  125. package/types/mintplayer-ng-bootstrap-modal.d.ts +2 -0
  126. package/types/mintplayer-ng-bootstrap-nav.d.ts +52 -0
  127. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +1 -0
  128. package/types/mintplayer-ng-bootstrap-navbar.d.ts +17 -1
  129. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +1 -1
  130. package/types/mintplayer-ng-bootstrap-pagination.d.ts +1 -0
  131. package/types/mintplayer-ng-bootstrap-phone-input.d.ts +1 -1
  132. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +10 -10
  133. package/types/mintplayer-ng-bootstrap-popover.d.ts +3 -0
  134. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +2 -0
  135. package/types/mintplayer-ng-bootstrap-radio.d.ts +1 -1
  136. package/types/mintplayer-ng-bootstrap-range.d.ts +1 -0
  137. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +1 -0
  138. package/types/mintplayer-ng-bootstrap-select.d.ts +1 -1
  139. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +1 -1
  140. package/types/mintplayer-ng-bootstrap-spinner.d.ts +14 -7
  141. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +7 -1
  142. package/types/mintplayer-ng-bootstrap-table.d.ts +2 -6
  143. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +1 -1
  144. package/types/mintplayer-ng-bootstrap-toast.d.ts +2 -0
  145. package/container/package.json +0 -4
  146. package/fesm2022/mintplayer-ng-bootstrap-container.mjs +0 -18
  147. package/fesm2022/mintplayer-ng-bootstrap-container.mjs.map +0 -1
  148. package/types/mintplayer-ng-bootstrap-container.d.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-modal.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/modal-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/services/modal-context.service.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/portal-factory.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal/modal.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-header/modal-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-body/modal-body.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-footer/modal-footer.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-close/modal-close.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/mintplayer-ng-bootstrap-modal.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const MODAL_CONTENT = new InjectionToken<TemplateRef<any>>('ModalContent');","import { Injectable, signal } from '@angular/core';\n\n/**\n * Component-scoped state shared between BsModalComponent (the dialog renderer)\n * and the bsModalHeader / bsModalBody directives applied to the user's template.\n * Provides the ids for aria-labelledby and aria-describedby.\n */\n@Injectable()\nexport class BsModalContextService {\n readonly headerId = signal<string | null>(null);\n readonly bodyId = signal<string | null>(null);\n}\n","import { Component, inject, Injector, signal, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { EnterFromTopAnimation, FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { BsOverlayFocusDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Component({\n selector: 'bs-modal-content',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n imports: [NgTemplateOutlet, BsOverlayFocusDirective],\n animations: [FadeInOutAnimation, EnterFromTopAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BsModalContextService],\n})\nexport class BsModalComponent {\n\n template = inject<TemplateRef<any>>(MODAL_CONTENT);\n isOpen = signal(false);\n scrollable = signal(false);\n\n context = inject(BsModalContextService);\n injector = inject(Injector);\n}\n","@if (isOpen()) {\n <div class=\"modal d-block\"\n [@fadeInOut]\n [@enterFromTop]\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [bsOverlayFocus]=\"true\"\n tabindex=\"-1\">\n <div class=\"modal-dialog\" [class.modal-dialog-scrollable]=\"scrollable()\">\n <div class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template; injector: injector\"></ng-container>\n </div>\n </div>\n </div>\n\n <div [@fadeInOut]>\n <div class=\"modal-backdrop fade\" [class.show]=\"isOpen()\" aria-hidden=\"true\"></div>\n </div>\n}\n","import { ComponentPortal } from \"@angular/cdk/portal\";\nimport { InjectionToken, Injector } from \"@angular/core\";\n\nexport const PORTAL_FACTORY = new InjectionToken<(injector: Injector) => ComponentPortal<any>>('ModalPortalFactory');","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, ApplicationRef, Component, ComponentRef, effect, inject, Injector, input, model, OnDestroy, TemplateRef, ChangeDetectionStrategy} from '@angular/core';\nimport { BsOverlayStackService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { PORTAL_FACTORY } from '../../providers/portal-factory.provider';\nimport { BsModalComponent } from '../modal/modal.component';\n\n/** Time the modal's leave animation is given before its overlay is disposed. */\nexport const MODAL_LEAVE_MS = 500;\n\n@Component({\n selector: 'bs-modal',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss'],\n imports: [BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{\n provide: PORTAL_FACTORY,\n useValue: (injector: Injector) => {\n return new ComponentPortal(BsModalComponent, null, injector);\n }\n }],\n host: {\n '(document:keydown)': 'onKeyDown($event)',\n },\n})\nexport class BsModalHostComponent implements AfterViewInit, OnDestroy {\n private overlay = inject(Overlay);\n private appRef = inject(ApplicationRef);\n private parentInjector = inject(Injector);\n private portalFactory = inject<(injector: Injector) => ComponentPortal<BsModalComponent>>(PORTAL_FACTORY);\n private overlayStack = inject(BsOverlayStackService);\n private stackToken: symbol | null = null;\n\n overlayRef!: OverlayRef;\n componentInstance?: ComponentRef<BsModalComponent>;\n template!: TemplateRef<any>;\n\n //#region isOpen\n readonly isOpen = model<boolean>(false);\n //#endregion\n readonly closeOnEscape = input(true);\n readonly scrollable = input(false);\n\n constructor() {\n effect(() => {\n const value = this.isOpen();\n if (this.componentInstance) {\n this.componentInstance.instance.isOpen.set(value);\n }\n\n if (value && this.stackToken === null) {\n this.stackToken = this.overlayStack.push();\n } else if (!value && this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n });\n\n effect(() => {\n const scrollable = this.scrollable();\n if (this.componentInstance) {\n this.componentInstance.instance.scrollable.set(scrollable);\n }\n });\n }\n\n ngAfterViewInit() {\n const injector = Injector.create({\n providers: [\n { provide: MODAL_CONTENT, useValue: this.template }\n ],\n parent: this.parentInjector\n });\n const portal = this.portalFactory(injector);\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .global().centerHorizontally().bottom('0').top('0').left('0').right('0'),\n width: '100%',\n hasBackdrop: false\n });\n this.componentInstance = this.overlayRef.attach<BsModalComponent>(portal);\n this.componentInstance.instance.isOpen.set(this.isOpen());\n this.componentInstance.instance.scrollable.set(this.scrollable());\n }\n\n /**\n * Plays the modal's leave animation, then disposes the overlay. The close is written to the\n * modal directly: this host's sync effect is destroyed with it and would never deliver it.\n * If the application is torn down first, the pending dispose is cancelled and runs at once.\n */\n ngOnDestroy() {\n if (this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n if (!this.overlayRef) return;\n const overlayRef = this.overlayRef;\n this.componentInstance?.instance.isOpen.set(false);\n const dispose = () => {\n clearTimeout(timer);\n unregister();\n overlayRef.dispose();\n };\n const timer = setTimeout(dispose, MODAL_LEAVE_MS);\n const unregister = this.appRef.onDestroy(dispose);\n }\n\n onKeyDown(event: Event) {\n const ev = event as KeyboardEvent;\n if (this.isOpen() && this.closeOnEscape() && ev.code === 'Escape') {\n if (this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {\n this.isOpen.set(false);\n }\n }\n }\n}","<bs-has-overlay></bs-has-overlay>","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModal]',\n})\nexport class BsModalDirective {\n\n constructor() {\n const template = inject(TemplateRef);\n const host = inject(BsModalHostComponent);\n host.template = template;\n }\n\n}\n","import { afterNextRender, Directive, ElementRef, inject } from '@angular/core';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Directive({\n selector: '[bsModalHeader]',\n host: {\n '[class.modal-header]': 'true',\n },\n})\nexport class BsModalHeaderDirective {\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n private ids = inject(BsIdService);\n private context = inject(BsModalContextService, { optional: true });\n\n constructor() {\n // After first render, all sibling host bindings + static attrs on this element\n // have applied. Read an existing id if the consumer set one, otherwise generate\n // and assign — then publish it to the modal context for aria-labelledby.\n afterNextRender(() => {\n let id = this.el.nativeElement.id;\n if (!id) {\n id = this.ids.next('bs-modal-header');\n this.el.nativeElement.id = id;\n }\n this.context?.headerId.set(id);\n });\n }\n}\n","import { afterNextRender, Directive, ElementRef, inject } from '@angular/core';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Directive({\n selector: '[bsModalBody]',\n host: {\n '[class.modal-body]': 'true',\n },\n})\nexport class BsModalBodyDirective {\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n private ids = inject(BsIdService);\n private context = inject(BsModalContextService, { optional: true });\n\n constructor() {\n afterNextRender(() => {\n let id = this.el.nativeElement.id;\n if (!id) {\n id = this.ids.next('bs-modal-body');\n this.el.nativeElement.id = id;\n }\n this.context?.bodyId.set(id);\n });\n }\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[bsModalFooter]',\n host: {\n '[class.modal-footer]': 'true',\n },\n})\nexport class BsModalFooterDirective {\n}\n","import { Directive, inject } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModalClose]',\n host: {\n '[attr.aria-label]': '\"Close\"',\n '(click)': 'onClick()',\n },\n})\nexport class BsModalCloseDirective {\n private host = inject(BsModalHostComponent);\n\n onClick() {\n this.host.isOpen.set(false);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEO,MAAM,aAAa,GAAG,IAAI,cAAc,CAAmB,cAAc,CAAC;;ACAjF;;;;AAIG;MAEU,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAgB,IAAI;qFAAC;QACtC,IAAA,CAAA,MAAM,GAAG,MAAM,CAAgB,IAAI;mFAAC;AAC9C,IAAA;8GAHY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAArB,qBAAqB,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;;MCSY,gBAAgB,CAAA;AAT7B,IAAA,WAAA,GAAA;AAWE,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAmB,aAAa,CAAC;QAClD,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,KAAK;mFAAC;QACtB,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,KAAK;uFAAC;AAE1B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvC,Q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gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACJ,wBAAA,mBAAmB,EAAE,SAAS;AAC9B,wBAAA,SAAS,EAAE,WAAW;AACvB,qBAAA;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-modal.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/modal-content.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/services/modal-context.service.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal/modal.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/providers/portal-factory.provider.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/components/modal-host/modal-host.component.html","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal/modal.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-header/modal-header.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-body/modal-body.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-footer/modal-footer.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/src/directives/modal-close/modal-close.directive.ts","../../../../libs/mintplayer-ng-bootstrap/modal/mintplayer-ng-bootstrap-modal.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from \"@angular/core\";\n\nexport const MODAL_CONTENT = new InjectionToken<TemplateRef<any>>('ModalContent');","import { Injectable, signal } from '@angular/core';\n\n/**\n * Component-scoped state shared between BsModalComponent (the dialog renderer)\n * and the bsModalHeader / bsModalBody directives applied to the user's template.\n * Provides the ids for aria-labelledby and aria-describedby.\n */\n@Injectable()\nexport class BsModalContextService {\n readonly headerId = signal<string | null>(null);\n readonly bodyId = signal<string | null>(null);\n}\n","import { Component, inject, Injector, signal, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapModal } from '@mintplayer/ui-core/bootstrap/modal';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { EnterFromTopAnimation, FadeInOutAnimation } from '@mintplayer/ng-animations';\nimport { BsOverlayFocusDirective } from '@mintplayer/ng-bootstrap/a11y';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Component({\n selector: 'bs-modal-content',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n imports: [NgTemplateOutlet, BsOverlayFocusDirective],\n animations: [FadeInOutAnimation, EnterFromTopAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [BsModalContextService],\n})\nexport class BsModalComponent {\n constructor() {\n // #452: the modal and transitions partials ship with this component, scoped to the elements it stamps (data-mps=\"modal\").\n useBootstrap(bootstrapModal, bootstrapTransitions);\n }\n\n\n template = inject<TemplateRef<any>>(MODAL_CONTENT);\n isOpen = signal(false);\n scrollable = signal(false);\n\n context = inject(BsModalContextService);\n injector = inject(Injector);\n}\n","@if (isOpen()) {\n <div data-mps=\"modal\" class=\"modal d-block\"\n [@fadeInOut]\n [@enterFromTop]\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"context.headerId()\"\n [attr.aria-describedby]=\"context.bodyId()\"\n [bsOverlayFocus]=\"true\"\n tabindex=\"-1\">\n <div data-mps=\"modal\" class=\"modal-dialog\" [class.modal-dialog-scrollable]=\"scrollable()\">\n <div data-mps=\"modal\" class=\"modal-content\">\n <ng-container *ngTemplateOutlet=\"template; injector: injector\"></ng-container>\n </div>\n </div>\n </div>\n\n <div data-mps=\"modal\" [@fadeInOut]>\n <div data-mps=\"modal\" class=\"modal-backdrop fade\" [class.show]=\"isOpen()\" aria-hidden=\"true\"></div>\n </div>\n}\n","import { ComponentPortal } from \"@angular/cdk/portal\";\nimport { InjectionToken, Injector } from \"@angular/core\";\n\nexport const PORTAL_FACTORY = new InjectionToken<(injector: Injector) => ComponentPortal<any>>('ModalPortalFactory');","import { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, ApplicationRef, Component, ComponentRef, effect, inject, Injector, input, model, OnDestroy, TemplateRef, ChangeDetectionStrategy} from '@angular/core';\nimport { BsOverlayStackService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsHasOverlayComponent } from '@mintplayer/ng-bootstrap/has-overlay';\nimport { MODAL_CONTENT } from '../../providers/modal-content.provider';\nimport { PORTAL_FACTORY } from '../../providers/portal-factory.provider';\nimport { BsModalComponent } from '../modal/modal.component';\n\n/** Time the modal's leave animation is given before its overlay is disposed. */\nexport const MODAL_LEAVE_MS = 500;\n\n@Component({\n selector: 'bs-modal',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss'],\n imports: [BsHasOverlayComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{\n provide: PORTAL_FACTORY,\n useValue: (injector: Injector) => {\n return new ComponentPortal(BsModalComponent, null, injector);\n }\n }],\n host: {\n '(document:keydown)': 'onKeyDown($event)',\n },\n})\nexport class BsModalHostComponent implements AfterViewInit, OnDestroy {\n private overlay = inject(Overlay);\n private appRef = inject(ApplicationRef);\n private parentInjector = inject(Injector);\n private portalFactory = inject<(injector: Injector) => ComponentPortal<BsModalComponent>>(PORTAL_FACTORY);\n private overlayStack = inject(BsOverlayStackService);\n private stackToken: symbol | null = null;\n\n overlayRef!: OverlayRef;\n componentInstance?: ComponentRef<BsModalComponent>;\n template!: TemplateRef<any>;\n\n //#region isOpen\n readonly isOpen = model<boolean>(false);\n //#endregion\n readonly closeOnEscape = input(true);\n readonly scrollable = input(false);\n\n constructor() {\n effect(() => {\n const value = this.isOpen();\n if (this.componentInstance) {\n this.componentInstance.instance.isOpen.set(value);\n }\n\n if (value && this.stackToken === null) {\n this.stackToken = this.overlayStack.push();\n } else if (!value && this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n });\n\n effect(() => {\n const scrollable = this.scrollable();\n if (this.componentInstance) {\n this.componentInstance.instance.scrollable.set(scrollable);\n }\n });\n }\n\n ngAfterViewInit() {\n const injector = Injector.create({\n providers: [\n { provide: MODAL_CONTENT, useValue: this.template }\n ],\n parent: this.parentInjector\n });\n const portal = this.portalFactory(injector);\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy: this.overlay.position()\n .global().centerHorizontally().bottom('0').top('0').left('0').right('0'),\n width: '100%',\n hasBackdrop: false\n });\n this.componentInstance = this.overlayRef.attach<BsModalComponent>(portal);\n this.componentInstance.instance.isOpen.set(this.isOpen());\n this.componentInstance.instance.scrollable.set(this.scrollable());\n }\n\n /**\n * Plays the modal's leave animation, then disposes the overlay. The close is written to the\n * modal directly: this host's sync effect is destroyed with it and would never deliver it.\n * If the application is torn down first, the pending dispose is cancelled and runs at once.\n */\n ngOnDestroy() {\n if (this.stackToken !== null) {\n this.overlayStack.release(this.stackToken);\n this.stackToken = null;\n }\n if (!this.overlayRef) return;\n const overlayRef = this.overlayRef;\n this.componentInstance?.instance.isOpen.set(false);\n const dispose = () => {\n clearTimeout(timer);\n unregister();\n overlayRef.dispose();\n };\n const timer = setTimeout(dispose, MODAL_LEAVE_MS);\n const unregister = this.appRef.onDestroy(dispose);\n }\n\n onKeyDown(event: Event) {\n const ev = event as KeyboardEvent;\n if (this.isOpen() && this.closeOnEscape() && ev.code === 'Escape') {\n if (this.stackToken !== null && this.overlayStack.isTop(this.stackToken)) {\n this.isOpen.set(false);\n }\n }\n }\n}","<bs-has-overlay></bs-has-overlay>","import { Directive, inject, TemplateRef } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModal]',\n})\nexport class BsModalDirective {\n\n constructor() {\n const template = inject(TemplateRef);\n const host = inject(BsModalHostComponent);\n host.template = template;\n }\n\n}\n","import { afterNextRender, Directive, ElementRef, inject } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapModal } from '@mintplayer/ui-core/bootstrap/modal';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Directive({\n selector: '[bsModalHeader]',\n host: {\n '[attr.data-mps]': '\"modal\"',\n '[class.modal-header]': 'true',\n },\n})\nexport class BsModalHeaderDirective {\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n private ids = inject(BsIdService);\n private context = inject(BsModalContextService, { optional: true });\n\n constructor() {\n // #452: the modal partial ships with this component, scoped to the elements it stamps (data-mps=\"modal\").\n useBootstrap(bootstrapModal);\n // After first render, all sibling host bindings + static attrs on this element\n // have applied. Read an existing id if the consumer set one, otherwise generate\n // and assign — then publish it to the modal context for aria-labelledby.\n afterNextRender(() => {\n let id = this.el.nativeElement.id;\n if (!id) {\n id = this.ids.next('bs-modal-header');\n this.el.nativeElement.id = id;\n }\n this.context?.headerId.set(id);\n });\n }\n}\n","import { afterNextRender, Directive, ElementRef, inject } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapModal } from '@mintplayer/ui-core/bootstrap/modal';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { BsModalContextService } from '../../services/modal-context.service';\n\n@Directive({\n selector: '[bsModalBody]',\n host: {\n '[attr.data-mps]': '\"modal\"',\n '[class.modal-body]': 'true',\n },\n})\nexport class BsModalBodyDirective {\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n private ids = inject(BsIdService);\n private context = inject(BsModalContextService, { optional: true });\n\n constructor() {\n // #452: the modal partial ships with this component, scoped to the elements it stamps (data-mps=\"modal\").\n useBootstrap(bootstrapModal);\n afterNextRender(() => {\n let id = this.el.nativeElement.id;\n if (!id) {\n id = this.ids.next('bs-modal-body');\n this.el.nativeElement.id = id;\n }\n this.context?.bodyId.set(id);\n });\n }\n}\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapModal } from '@mintplayer/ui-core/bootstrap/modal';\n\n@Directive({\n selector: '[bsModalFooter]',\n host: {\n '[attr.data-mps]': '\"modal\"',\n '[class.modal-footer]': 'true',\n },\n})\nexport class BsModalFooterDirective {\n constructor() {\n // #452: the modal partial ships with this component, scoped to the elements it stamps (data-mps=\"modal\").\n useBootstrap(bootstrapModal);\n }\n\n}\n","import { Directive, inject } from '@angular/core';\nimport { BsModalHostComponent } from '../../components/modal-host/modal-host.component';\n\n@Directive({\n selector: '[bsModalClose]',\n host: {\n '[attr.aria-label]': '\"Close\"',\n '(click)': 'onClick()',\n },\n})\nexport class BsModalCloseDirective {\n private host = inject(BsModalHostComponent);\n\n onClick() {\n this.host.isOpen.set(false);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAEO,MAAM,aAAa,GAAG,IAAI,cAAc,CAAmB,cAAc,CAAC;;ACAjF;;;;AAIG;MAEU,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;QAEW,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAgB,IAAI;qFAAC;QACtC,IAAA,CAAA,MAAM,GAAG,MAAM,CAAgB,IAAI;mFAAC;AAC9C,IAAA;8GAHY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAArB,qBAAqB,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;;MCYY,gBAAgB,CAAA;AAC3B,IAAA,WAAA,GAAA;AAMA,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAmB,aAAa,CAAC;QAClD,IA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AO,GAAA;QACL,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;IAC7B;8GALW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,WAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,IAAI,EAAE;AACJ,wBAAA,mBAAmB,EAAE,SAAS;AAC9B,wBAAA,SAAS,EAAE,WAAW;AACvB,qBAAA;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -0,0 +1,93 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, Renderer2, Directive } from '@angular/core';
3
+ import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
4
+ import { navCore, navScopedStyles, navItemCore, NAV_LINK_CLASS } from '@mintplayer/ui-core/nav';
5
+ import { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';
6
+
7
+ // GENERATED from the nav manifest (nav) by @mintplayer/nx-component-compiler. Do not edit.
8
+ /**
9
+ * Bootstrap's nav: a list of `bs-nav-item`s, plain or as tabs, pills or underline (#452).
10
+ *
11
+ * It ships the nav part, so a page that renders one needs no install of its own.
12
+ */
13
+ class BsNavComponent {
14
+ #core;
15
+ constructor() {
16
+ /** The host element. */
17
+ this.elementRef = inject(ElementRef);
18
+ this.variant = input(null, /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
20
+ this.fill = input(false, { ...(ngDevMode ? { debugName: "fill" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
21
+ this.justified = input(false, { ...(ngDevMode ? { debugName: "justified" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
22
+ this.cardHeader = input(false, { ...(ngDevMode ? { debugName: "cardHeader" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
23
+ this.#core = useCore(navCore, { inputs: () => ({ variant: this.variant(), fill: this.fill(), justified: this.justified(), cardHeader: this.cardHeader() }), idPrefix: 'bs-nav', hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'list' }) });
24
+ /** The template's props. */
25
+ this.props = this.#core.props;
26
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
27
+ useScopedStyles('nav', navScopedStyles);
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsNavComponent, isStandalone: true, selector: "bs-nav", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, justified: { classPropertyName: "justified", publicName: "justified", isSignal: true, isRequired: false, transformFunction: null }, cardHeader: { classPropertyName: "cardHeader", publicName: "cardHeader", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'bs-nav', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
35
+ }], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], justified: [{ type: i0.Input, args: [{ isSignal: true, alias: "justified", required: false }] }], cardHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "cardHeader", required: false }] }] } });
36
+
37
+ // GENERATED from the nav manifest (nav-item) by @mintplayer/nx-component-compiler. Do not edit.
38
+ /** One nav entry around a consumer link, which becomes its `.nav-link`; `class="active"` marks the current one. */
39
+ class BsNavItemComponent {
40
+ #core;
41
+ constructor() {
42
+ /** The host element. */
43
+ this.elementRef = inject(ElementRef);
44
+ this.#core = useCore(navItemCore, { inputs: () => ({}), idPrefix: 'bs-nav-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'listitem' }) });
45
+ /** The template's props. */
46
+ this.props = this.#core.props;
47
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
48
+ useScopedStyles('nav', navScopedStyles);
49
+ }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
51
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsNavItemComponent, isStandalone: true, selector: "bs-nav-item", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
+ }
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavItemComponent, decorators: [{
54
+ type: Component,
55
+ args: [{ selector: 'bs-nav-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
56
+ }], ctorParameters: () => [] });
57
+
58
+ // GENERATED from the nav manifest by @mintplayer/nx-component-compiler. Do not edit.
59
+
60
+ /**
61
+ * Makes a `bs-nav-item`'s link a `.nav-link` of the nav scope, so the nav part
62
+ * (`.nav-link:where([data-mps])`) styles it: the consumer writes a plain
63
+ * `<a routerLink>`. It runs in the constructor, so the server HTML carries both.
64
+ *
65
+ * Angular selectors cannot say `bs-nav-item > a` (a combinator parses as `a`),
66
+ * so it matches every anchor and button of a template that imports it and
67
+ * acts only inside a nav item.
68
+ */
69
+ class BsNavLinkDirective {
70
+ constructor() {
71
+ if (!inject(BsNavItemComponent, { optional: true }))
72
+ return;
73
+ const link = inject(ElementRef).nativeElement;
74
+ const renderer = inject(Renderer2);
75
+ renderer.addClass(link, NAV_LINK_CLASS);
76
+ renderer.setAttribute(link, 'data-mps', 'nav');
77
+ }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
79
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsNavLinkDirective, isStandalone: true, selector: "a, button", ngImport: i0 }); }
80
+ }
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavLinkDirective, decorators: [{
82
+ type: Directive,
83
+ args: [{ selector: 'a, button' }]
84
+ }], ctorParameters: () => [] });
85
+
86
+ // The nav components are generated from @mintplayer/ui-core/nav (PRD #437 D10).
87
+
88
+ /**
89
+ * Generated bundle index. Do not edit.
90
+ */
91
+
92
+ export { BsNavComponent, BsNavItemComponent, BsNavLinkDirective };
93
+ //# sourceMappingURL=mintplayer-ng-bootstrap-nav.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-nav.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/nav/src/generated/nav.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/nav/src/generated/nav.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/nav/src/generated/nav-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/nav/src/generated/nav-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/nav/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/nav/src/nav-link.directive.ts","../../../../libs/mintplayer-ng-bootstrap/nav/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/nav/mintplayer-ng-bootstrap-nav.ts"],"sourcesContent":["// GENERATED from the nav manifest (nav) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navCore, type NavInputs, navScopedStyles } from '@mintplayer/ui-core/nav';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\n\n/**\n * Bootstrap's nav: a list of `bs-nav-item`s, plain or as tabs, pills or underline (#452).\n *\n * It ships the nav part, so a page that renders one needs no install of its own.\n */\n@Component({\n selector: 'bs-nav',\n templateUrl: './nav.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly variant = input<NavInputs['variant']>(null);\n readonly fill = input<NavInputs['fill'], unknown>(false, { transform: booleanAttribute });\n readonly justified = input<NavInputs['justified'], unknown>(false, { transform: booleanAttribute });\n readonly cardHeader = input<NavInputs['cardHeader'], unknown>(false, { transform: booleanAttribute });\n\n readonly #core = useCore(navCore, { inputs: () => ({ variant: this.variant(), fill: this.fill(), justified: this.justified(), cardHeader: this.cardHeader() }), idPrefix: 'bs-nav', hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'list' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles('nav', navScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the nav manifest (nav-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navItemCore, navScopedStyles } from '@mintplayer/ui-core/nav';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\n\n/** One nav entry around a consumer link, which becomes its `.nav-link`; `class=\"active\"` marks the current one. */\n@Component({\n selector: 'bs-nav-item',\n templateUrl: './nav-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(navItemCore, { inputs: () => ({ }), idPrefix: 'bs-nav-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'nav', role: 'listitem' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles('nav', navScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/nav/src/templates/nav-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the nav manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsNavComponent } from './nav.component.generated';\nexport { BsNavItemComponent } from './nav-item.component.generated';\n","import { Directive, ElementRef, Renderer2, inject } from '@angular/core';\nimport { NAV_LINK_CLASS } from '@mintplayer/ui-core/nav';\nimport { BsNavItemComponent } from './generated';\n\n/**\n * Makes a `bs-nav-item`'s link a `.nav-link` of the nav scope, so the nav part\n * (`.nav-link:where([data-mps])`) styles it: the consumer writes a plain\n * `<a routerLink>`. It runs in the constructor, so the server HTML carries both.\n *\n * Angular selectors cannot say `bs-nav-item > a` (a combinator parses as `a`),\n * so it matches every anchor and button of a template that imports it and\n * acts only inside a nav item.\n */\n@Directive({ selector: 'a, button' })\nexport class BsNavLinkDirective {\n constructor() {\n if (!inject(BsNavItemComponent, { optional: true })) return;\n const link = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const renderer = inject(Renderer2);\n renderer.addClass(link, NAV_LINK_CLASS);\n renderer.setAttribute(link, 'data-mps', 'nav');\n }\n}\n","// The nav components are generated from @mintplayer/ui-core/nav (PRD #437 D10).\nexport * from './generated';\nexport * from './nav-link.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;;AAIG;MAOU,cAAc,CAAA;AAShB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAXS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,OAAO,GAAG,KAAK,CAAuB,IAAI;oFAAC;QAC3C,IAAA,CAAA,IAAI,GAAG,KAAK,CAA6B,KAAK,4EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAChF,IAAA,CAAA,SAAS,GAAG,KAAK,CAAkC,KAAK,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC1F,IAAA,CAAA,UAAU,GAAG,KAAK,CAAmC,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE5F,QAAA,IAAA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AAkB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YAAE;QACrD,MAAM,IAAI,GAAG,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa;AACtE,QAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAClC,QAAA,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;QACvC,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC;IAChD;8GAPW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,SAAS;mBAAC,EAAE,QAAQ,EAAE,WAAW,EAAE;;;ACbpC;;ACAA;;AAEG;;;;"}
@@ -1,5 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { model, input, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { useBootstrap } from '@mintplayer/ng-bootstrap/machine';
4
+ import { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';
3
5
 
4
6
  class BsNavbarTogglerComponent {
5
7
  constructor() {
@@ -11,6 +13,8 @@ class BsNavbarTogglerComponent {
11
13
  ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
12
14
  this.controls = input(null, /* @ts-ignore */
13
15
  ...(ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []));
16
+ // #452: the navbar partial ships with this component, scoped to the elements it stamps (data-mps="navbar").
17
+ useBootstrap(bootstrapNavbar);
14
18
  }
15
19
  toggleState() {
16
20
  if (this.toggleOnClick()) {
@@ -18,12 +22,12 @@ class BsNavbarTogglerComponent {
18
22
  }
19
23
  }
20
24
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarTogglerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsNavbarTogglerComponent, isStandalone: true, selector: "bs-navbar-toggler", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, toggleOnClick: { classPropertyName: "toggleOnClick", publicName: "toggleOnClick", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { state: "stateChange" }, ngImport: i0, template: "<button\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div></div>\n <div></div>\n <div></div>\n</button>\n", styles: [":host{align-self:start;top:0;right:0}.navbar-toggler{padding:.75rem 1rem;border:none;background:transparent;cursor:pointer}.navbar-toggler>div{width:25px;height:2px;background:var(--bs-secondary-color);margin:6px 0;transition:.4s}.navbar-toggler.open>div:nth-of-type(1){-webkit-transform:rotate(-45deg) translate(-7px,5px);transform:rotate(-45deg) translate(-7px,5px)}.navbar-toggler.open>div:nth-of-type(2){opacity:0}.navbar-toggler.open>div:nth-of-type(3){-webkit-transform:rotate(45deg) translate(-6px,-4px);transform:rotate(45deg) translate(-6px,-4px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsNavbarTogglerComponent, isStandalone: true, selector: "bs-navbar-toggler", inputs: { state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, toggleOnClick: { classPropertyName: "toggleOnClick", publicName: "toggleOnClick", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { state: "stateChange" }, ngImport: i0, template: "<button data-mps=\"navbar\"\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n</button>\n", styles: [":host{align-self:start;top:0;right:0}.navbar-toggler{padding:.75rem 1rem;border:none;background:transparent;cursor:pointer}.navbar-toggler>div{width:25px;height:2px;background:var(--bs-secondary-color);margin:6px 0;transition:.4s}.navbar-toggler.open>div:nth-of-type(1){-webkit-transform:rotate(-45deg) translate(-7px,5px);transform:rotate(-45deg) translate(-7px,5px)}.navbar-toggler.open>div:nth-of-type(2){opacity:0}.navbar-toggler.open>div:nth-of-type(3){-webkit-transform:rotate(45deg) translate(-6px,-4px);transform:rotate(45deg) translate(-6px,-4px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
22
26
  }
23
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarTogglerComponent, decorators: [{
24
28
  type: Component,
25
- args: [{ selector: 'bs-navbar-toggler', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div></div>\n <div></div>\n <div></div>\n</button>\n", styles: [":host{align-self:start;top:0;right:0}.navbar-toggler{padding:.75rem 1rem;border:none;background:transparent;cursor:pointer}.navbar-toggler>div{width:25px;height:2px;background:var(--bs-secondary-color);margin:6px 0;transition:.4s}.navbar-toggler.open>div:nth-of-type(1){-webkit-transform:rotate(-45deg) translate(-7px,5px);transform:rotate(-45deg) translate(-7px,5px)}.navbar-toggler.open>div:nth-of-type(2){opacity:0}.navbar-toggler.open>div:nth-of-type(3){-webkit-transform:rotate(45deg) translate(-6px,-4px);transform:rotate(45deg) translate(-6px,-4px)}\n"] }]
26
- }], propDecorators: { state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }, { type: i0.Output, args: ["stateChange"] }], toggleOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleOnClick", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }] } });
29
+ args: [{ selector: 'bs-navbar-toggler', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button data-mps=\"navbar\"\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n</button>\n", styles: [":host{align-self:start;top:0;right:0}.navbar-toggler{padding:.75rem 1rem;border:none;background:transparent;cursor:pointer}.navbar-toggler>div{width:25px;height:2px;background:var(--bs-secondary-color);margin:6px 0;transition:.4s}.navbar-toggler.open>div:nth-of-type(1){-webkit-transform:rotate(-45deg) translate(-7px,5px);transform:rotate(-45deg) translate(-7px,5px)}.navbar-toggler.open>div:nth-of-type(2){opacity:0}.navbar-toggler.open>div:nth-of-type(3){-webkit-transform:rotate(45deg) translate(-6px,-4px);transform:rotate(45deg) translate(-6px,-4px)}\n"] }]
30
+ }], ctorParameters: () => [], propDecorators: { state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }, { type: i0.Output, args: ["stateChange"] }], toggleOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleOnClick", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }] } });
27
31
 
28
32
  /**
29
33
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-navbar-toggler.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/src/navbar-toggler/navbar-toggler.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/src/navbar-toggler/navbar-toggler.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/mintplayer-ng-bootstrap-navbar-toggler.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, model } from '@angular/core';\n\n@Component({\n selector: 'bs-navbar-toggler',\n templateUrl: './navbar-toggler.component.html',\n styleUrls: ['./navbar-toggler.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarTogglerComponent {\n state = model<boolean>(false);\n toggleOnClick = input<boolean>(true);\n ariaLabel = input<string>('Toggle navigation');\n controls = input<string | null>(null);\n\n toggleState() {\n if (this.toggleOnClick()) {\n this.state.update(v => !v);\n }\n }\n}\n","<button\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div></div>\n <div></div>\n <div></div>\n</button>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,wBAAwB,CAAA;AANrC,IAAA,WAAA,GAAA;QAOE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAU,KAAK;kFAAC;QAC7B,IAAA,CAAA,aAAa,GAAG,KAAK,CAAU,IAAI;0FAAC;QACpC,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,mBAAmB;sFAAC;QAC9C,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgB,IAAI;qFAAC;AAOtC,IAAA;IALC,WAAW,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;AACxB,YAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAC5B;IACF;8GAVW,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,yoBCRrC,4TAYA,EAAA,MAAA,EAAA,CAAA,gjBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDJa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;+BACE,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4TAAA,EAAA,MAAA,EAAA,CAAA,gjBAAA,CAAA,EAAA;;;AENjD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-navbar-toggler.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/src/navbar-toggler/navbar-toggler.component.ts","../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/src/navbar-toggler/navbar-toggler.component.html","../../../../libs/mintplayer-ng-bootstrap/navbar-toggler/mintplayer-ng-bootstrap-navbar-toggler.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, model } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';\n\n@Component({\n selector: 'bs-navbar-toggler',\n templateUrl: './navbar-toggler.component.html',\n styleUrls: ['./navbar-toggler.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarTogglerComponent {\n constructor() {\n // #452: the navbar partial ships with this component, scoped to the elements it stamps (data-mps=\"navbar\").\n useBootstrap(bootstrapNavbar);\n }\n\n state = model<boolean>(false);\n toggleOnClick = input<boolean>(true);\n ariaLabel = input<string>('Toggle navigation');\n controls = input<string | null>(null);\n\n toggleState() {\n if (this.toggleOnClick()) {\n this.state.update(v => !v);\n }\n }\n}\n","<button data-mps=\"navbar\"\n type=\"button\"\n class=\"navbar-toggler float-start\"\n [class.open]=\"state()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-expanded]=\"state()\"\n [attr.aria-controls]=\"controls()\"\n (click)=\"toggleState()\">\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n <div data-mps=\"navbar\"></div>\n</button>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,wBAAwB,CAAA;AACnC,IAAA,WAAA,GAAA;QAKA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAU,KAAK;kFAAC;QAC7B,IAAA,CAAA,aAAa,GAAG,KAAK,CAAU,IAAI;0FAAC;QACpC,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,mBAAmB;sFAAC;QAC9C,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgB,IAAI;qFAAC;;QANnC,YAAY,CAAC,eAAe,CAAC;IAC/B;IAOA,WAAW,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;AACxB,YAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAC5B;IACF;8GAfW,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,yoBCVrC,4YAYA,EAAA,MAAA,EAAA,CAAA,gjBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDFa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;+BACE,mBAAmB,EAAA,eAAA,EAGZ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4YAAA,EAAA,MAAA,EAAA,CAAA,gjBAAA,CAAA,EAAA;;;AERjD;;AAEG;;;;"}
@@ -3,6 +3,9 @@ import { inject, TemplateRef, Directive, ElementRef, input, model, output, conte
3
3
  import { NgTemplateOutlet, isPlatformServer } from '@angular/common';
4
4
  import { useCore, useScopedStyles, MpPropsDirective, provideCoreContext } from '@mintplayer/ng-bootstrap/machine';
5
5
  import { navbarCore, navbarScopedStyles, navbarNavCore, navbarItemCore, navbarDropdownCore, NAVBAR_NESTING } from '@mintplayer/ui-core/navbar';
6
+ import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
7
+ import { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';
8
+ import { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';
6
9
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
7
10
  import * as i1 from '@angular/router';
8
11
  import { RouterLinkActive } from '@angular/router';
@@ -67,6 +70,9 @@ class BsNavbarComponent {
67
70
  this.#core = useCore(navbarCore, { inputs: () => ({ breakpoint: this.breakpoint(), color: this.color(), expanded: this.expanded(), positioning: this.positioning(), labels: this.labels() }), idPrefix: 'bs-navbar', outputs: { expandedChange: this.expandedchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'navbar', role: 'navigation' }), models: { expanded: this.expanded } });
68
71
  /** The template's props. */
69
72
  this.props = this.#core.props;
73
+ useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
74
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
75
+ useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order });
70
76
  useScopedStyles('navbar', navbarScopedStyles);
71
77
  }
72
78
  /** Opens or closes the collapse (flips it without an argument), and reports it. */
@@ -93,6 +99,9 @@ class BsNavbarNavComponent {
93
99
  this.#core = useCore(navbarNavCore, { inputs: () => ({ align: this.align() }), idPrefix: 'bs-navbar-nav', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });
94
100
  /** The template's props. */
95
101
  this.props = this.#core.props;
102
+ useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
103
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
104
+ useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order });
96
105
  useScopedStyles('navbar', navbarScopedStyles);
97
106
  }
98
107
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -115,6 +124,9 @@ class BsNavbarItemComponent {
115
124
  this.#core = useCore(navbarItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled() }), idPrefix: 'bs-navbar-item', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });
116
125
  /** The template's props. */
117
126
  this.props = this.#core.props;
127
+ useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
128
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
129
+ useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order });
118
130
  useScopedStyles('navbar', navbarScopedStyles);
119
131
  }
120
132
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -177,6 +189,9 @@ class BsNavbarDropdownComponent {
177
189
  this.provided = this.#core.provided;
178
190
  /** The template's props. */
179
191
  this.props = this.#core.props;
192
+ useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order });
193
+ useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order });
194
+ useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order });
180
195
  useScopedStyles('navbar', navbarScopedStyles);
181
196
  }
182
197
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -244,11 +259,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
244
259
  }]
245
260
  }], ctorParameters: () => [], propDecorators: { navbar: [{ type: i0.Input, args: [{ isSignal: true, alias: "bsNavbarContent", required: true }] }] } });
246
261
 
262
+ /**
263
+ * Makes a `bs-navbar-item`'s link in the bar a `.nav-link` of the navbar scope,
264
+ * so Bootstrap's nav and navbar parts style it: the consumer writes a plain
265
+ * `<a routerLink>`. In a dropdown panel the item itself is the `.dropdown-item`
266
+ * and its link stays plain. It runs in the constructor, so the server HTML carries both.
267
+ *
268
+ * Angular selectors cannot say `bs-navbar-item > a` (a combinator parses as
269
+ * `a`), so it matches every anchor and button of a template that imports it
270
+ * and acts only inside a navbar item.
271
+ */
272
+ class BsNavbarLinkDirective {
273
+ constructor() {
274
+ if (!inject(BsNavbarItemComponent, { optional: true }) || inject(BsNavbarDropdownComponent, { optional: true }))
275
+ return;
276
+ const link = inject(ElementRef).nativeElement;
277
+ const renderer = inject(Renderer2);
278
+ renderer.addClass(link, 'nav-link');
279
+ renderer.setAttribute(link, 'data-mps', 'navbar');
280
+ }
281
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
282
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsNavbarLinkDirective, isStandalone: true, selector: "a, button", ngImport: i0 }); }
283
+ }
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsNavbarLinkDirective, decorators: [{
285
+ type: Directive,
286
+ args: [{ selector: 'a, button' }]
287
+ }], ctorParameters: () => [] });
288
+
247
289
  // The navbar components are generated from @mintplayer/ui-core/navbar (PRD #437 D10).
248
290
 
249
291
  /**
250
292
  * Generated bundle index. Do not edit.
251
293
  */
252
294
 
253
- export { BsNavbarBrandDirective, BsNavbarComponent, BsNavbarContentDirective, BsNavbarDropdownComponent, BsNavbarDropdownLabelTemplateDirective, BsNavbarItemComponent, BsNavbarNavComponent, BsNavbarTogglerDirective };
295
+ export { BsNavbarBrandDirective, BsNavbarComponent, BsNavbarContentDirective, BsNavbarDropdownComponent, BsNavbarDropdownLabelTemplateDirective, BsNavbarItemComponent, BsNavbarLinkDirective, BsNavbarNavComponent, BsNavbarTogglerDirective };
254
296
  //# sourceMappingURL=mintplayer-ng-bootstrap-navbar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-nav.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-nav.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown.angular.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-dropdown.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-dropdown.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["// GENERATED from the navbar manifest (navbar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarCore, type NavbarExpandedChangeEventDetail, type NavbarInputs, type NavbarMethods, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\n\n/** The `brand` slot of `<bs-navbar>`: `<ng-template bsNavbarBrand>` or `*bsNavbarBrand`. */\n@Directive({ selector: '[bsNavbarBrand]' })\nexport class BsNavbarBrandDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** The `toggler` slot of `<bs-navbar>`: `<ng-template bsNavbarToggler>` or `*bsNavbarToggler`. */\n@Directive({ selector: '[bsNavbarToggler]' })\nexport class BsNavbarTogglerDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap navbar with a no-JS collapse and native `<details>` dropdowns (#437).\n *\n * The server-rendered page is the working navbar: the collapse is a checkbox and every\n * dropdown a `<details>`, both of which work with JavaScript off. An `aria-label` names\n * the landmark. The `brand` slot holds the brand; the `toggler` slot replaces the three\n * hamburger bars and reads the open state from `--mp-navbar-expanded: 0|1`.\n */\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly breakpoint = input<NavbarInputs['breakpoint']>('md');\n readonly color = input<NavbarInputs['color']>();\n readonly expanded = model<NavbarInputs['expanded']>(false);\n readonly positioning = input<NavbarInputs['positioning']>();\n readonly labels = input<NavbarInputs['labels']>();\n /** The collapse opened or closed through the bar. */\n readonly expandedchange = output<NavbarExpandedChangeEventDetail>();\n\n private readonly brandSlot = contentChild(BsNavbarBrandDirective);\n private readonly togglerSlot = contentChild(BsNavbarTogglerDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ brand: this.brandSlot()?.templateRef, toggler: this.togglerSlot()?.templateRef }));\n readonly #core = useCore(navbarCore, { inputs: () => ({ breakpoint: this.breakpoint(), color: this.color(), expanded: this.expanded(), positioning: this.positioning(), labels: this.labels() }), idPrefix: 'bs-navbar', outputs: { expandedChange: this.expandedchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'navbar', role: 'navigation' }), models: { expanded: this.expanded } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('navbar', navbarScopedStyles);\n }\n\n /** Opens or closes the collapse (flips it without an argument), and reports it. */\n toggle(...args: Parameters<NavbarMethods['toggle']>): ReturnType<NavbarMethods['toggle']> {\n return this.#core.call('toggle', args) as ReturnType<NavbarMethods['toggle']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_brand = props().brand;\n@let p_view = props().view;\n@if (slots().brand) {\n <div data-mps=\"navbar\" [mpProps]=\"p_brand\">\n @if (slots().brand; as slot_brand) {\n <ng-container [ngTemplateOutlet]=\"slot_brand\" />\n }\n </div>\n}\n<input data-mps=\"navbar\" [mpProps]=\"p_view.toggle\">\n<label data-mps=\"navbar\" [mpProps]=\"p_view.toggler\">\n @if (slots().toggler; as slot_toggler) {\n <ng-container [ngTemplateOutlet]=\"slot_toggler\" />\n } @else {\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n }\n</label>\n<div data-mps=\"navbar\" [mpProps]=\"p_view.collapse\">\n <div data-mps=\"navbar\" [mpProps]=\"p_view.inner\">\n <ng-content />\n </div>\n</div>\n","// GENERATED from the navbar manifest (navbar-nav) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarNavCore, type NavbarNavInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\n\n/** A group of navbar items; `align=\"end\"` pushes it to the far side when the bar is wide. */\n@Component({\n selector: 'bs-navbar-nav',\n templateUrl: './navbar-nav.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarNavComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly align = input<NavbarNavInputs['align']>('start');\n\n readonly #core = useCore(navbarNavCore, { inputs: () => ({ align: this.align() }), idPrefix: 'bs-navbar-nav', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the navbar manifest (navbar-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarItemCore, type NavbarItemInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\n\n/** One entry around a consumer link: a `.nav-item` in a nav group, a `.dropdown-item` in a dropdown. */\n@Component({\n selector: 'bs-navbar-item',\n templateUrl: './navbar-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<NavbarItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<NavbarItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n\n readonly #core = useCore(navbarItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled() }), idPrefix: 'bs-navbar-item', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { NavbarDropdownInputs } from '@mintplayer/ui-core/navbar';\n\n/*\n * The Angular extension of the generated `bs-navbar-dropdown` (PRD #437 D10\n * escape hatch): a dropdown whose content holds the active route's link marks\n * its trigger, the way Bootstrap marks an active nav link.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => NavbarDropdownInputs): () => NavbarDropdownInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the navbar manifest (navbar-dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { NAVBAR_NESTING, navbarDropdownCore, type NavbarDropdownInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../navbar-dropdown.angular';\n\n/** The `labelTemplate` slot of `<bs-navbar-dropdown>`: `<ng-template bsNavbarDropdownLabelTemplate>` or `*bsNavbarDropdownLabelTemplate`. */\n@Directive({ selector: '[bsNavbarDropdownLabelTemplate]' })\nexport class BsNavbarDropdownLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** A navbar dropdown, or a submenu when nested: a native `<details>`, so it opens with JavaScript off. */\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(NAVBAR_NESTING, BsNavbarDropdownComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsNavbarDropdownComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly label = input<NavbarDropdownInputs['label']>();\n readonly active = input<NavbarDropdownInputs['active'], unknown>(false, { transform: booleanAttribute });\n\n private readonly labelTemplateSlot = contentChild(BsNavbarDropdownLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(navbarDropdownCore, { inputs: ext_extendInputs(() => ({ label: this.label(), active: this.active() })), idPrefix: 'bs-navbar-dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-dropdown.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@let p_label = props().label;\n<details data-mps=\"navbar\" [mpProps]=\"p_view.details\" #root>\n <summary data-mps=\"navbar\" [mpProps]=\"p_view.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"navbar\" [mpProps]=\"p_view.panel\">\n <ng-content />\n </div>\n</details>\n","// GENERATED from the navbar manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsNavbarComponent, BsNavbarBrandDirective, BsNavbarTogglerDirective } from './navbar.component.generated';\nexport { BsNavbarNavComponent } from './navbar-nav.component.generated';\nexport { BsNavbarItemComponent } from './navbar-item.component.generated';\nexport { BsNavbarDropdownComponent, BsNavbarDropdownLabelTemplateDirective } from './navbar-dropdown.component.generated';\n","import { isPlatformServer } from '@angular/common';\nimport { afterNextRender, Directive, ElementRef, inject, input, OnDestroy, PLATFORM_ID, Renderer2, RendererStyleFlags2 } from '@angular/core';\nimport { BsNavbarComponent } from '../generated';\n\n/** The offset before the bar is measured: Bootstrap's default navbar is 3.5rem tall. */\nconst ESTIMATE = 'var(--bs-navbar-content-offset, 3.5rem)';\n\n/**\n * `[bsNavbarContent]` — offsets page content below a `positioning=\"fixed\"`\n * navbar by its LIVE height (replaces hand-maintained `padding-top` constants).\n *\n * <bs-navbar [positioning]=\"'fixed'\" #nav>…</bs-navbar>\n * <div [bsNavbarContent]=\"nav\"><router-outlet /></div>\n *\n * On the client a `ResizeObserver` tracks the bar (theme/viewport changes\n * resize it) and sets `padding-top` = the element's own initial padding + the\n * bar height. Until then (on the server, and with JavaScript off) the offset\n * is CSS: `--bs-navbar-content-offset`, defaulting to 3.5rem, the height of\n * Bootstrap's default navbar. A theme with a taller bar sets that property.\n */\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements OnDestroy {\n /** The `bs-navbar` to clear — pass its template reference (`#nav`). */\n readonly navbar = input.required<BsNavbarComponent>({ alias: 'bsNavbarContent' });\n\n readonly #element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n readonly #renderer = inject(Renderer2);\n #observer?: ResizeObserver;\n\n constructor() {\n this.#renderer.setStyle(this.#element, 'padding-top', ESTIMATE, RendererStyleFlags2.DashCase);\n if (isPlatformServer(inject(PLATFORM_ID))) return;\n afterNextRender(() => {\n // The bs-navbar host is the .navbar itself.\n const bar = this.navbar().elementRef.nativeElement;\n // The CSS estimate is still inline here (hydration reuses the server\n // element). Remove it BEFORE measuring, or the author's baseline would\n // count it.\n this.#renderer.removeStyle(this.#element, 'padding-top');\n const initial = parseFloat(getComputedStyle(this.#element).paddingTop) || 0;\n this.#observer = new ResizeObserver(() => this.#setPadding(initial + bar.offsetHeight));\n this.#observer.observe(bar);\n });\n }\n\n #setPadding(px: number): void {\n this.#renderer.setStyle(this.#element, 'padding-top', `${px}px`);\n }\n\n ngOnDestroy(): void {\n this.#observer?.disconnect();\n }\n}\n","// The navbar components are generated from @mintplayer/ui-core/navbar (PRD #437 D10).\nexport * from './generated';\nexport * from './navbar-content/navbar-content.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_host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AAM,IAAI,CAAC,WAAW,CAAC,OAAO,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;AACvF,YAAA,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC;AAC7B,QAAA,CAAC,CAAC;IACJ;AAEA,IAAA,WAAW,CAAC,EAAU,EAAA;AACpB,QAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,aAAa,EAAE,CAAA,EAAG,EAAE,CAAA,EAAA,CAAI,CAAC;IAClE;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,SAAS,EAAE,UAAU,EAAE;IAC9B;8GA9BW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC9B,iBAAA;;;ACtBD;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-navbar.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-nav.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-nav.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-dropdown.angular.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-dropdown.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/navbar-dropdown.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/navbar/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-content/navbar-content.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/navbar-link.directive.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/navbar/mintplayer-ng-bootstrap-navbar.ts"],"sourcesContent":["// GENERATED from the navbar manifest (navbar) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarCore, type NavbarExpandedChangeEventDetail, type NavbarInputs, type NavbarMethods, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\nimport { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';\n\n/** The `brand` slot of `<bs-navbar>`: `<ng-template bsNavbarBrand>` or `*bsNavbarBrand`. */\n@Directive({ selector: '[bsNavbarBrand]' })\nexport class BsNavbarBrandDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** The `toggler` slot of `<bs-navbar>`: `<ng-template bsNavbarToggler>` or `*bsNavbarToggler`. */\n@Directive({ selector: '[bsNavbarToggler]' })\nexport class BsNavbarTogglerDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap navbar with a no-JS collapse and native `<details>` dropdowns (#437).\n *\n * The server-rendered page is the working navbar: the collapse is a checkbox and every\n * dropdown a `<details>`, both of which work with JavaScript off. An `aria-label` names\n * the landmark. The `brand` slot holds the brand; the `toggler` slot replaces the three\n * hamburger bars and reads the open state from `--mp-navbar-expanded: 0|1`.\n */\n@Component({\n selector: 'bs-navbar',\n templateUrl: './navbar.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly breakpoint = input<NavbarInputs['breakpoint']>('md');\n readonly color = input<NavbarInputs['color']>();\n readonly expanded = model<NavbarInputs['expanded']>(false);\n readonly positioning = input<NavbarInputs['positioning']>();\n readonly labels = input<NavbarInputs['labels']>();\n /** The collapse opened or closed through the bar. */\n readonly expandedchange = output<NavbarExpandedChangeEventDetail>();\n\n private readonly brandSlot = contentChild(BsNavbarBrandDirective);\n private readonly togglerSlot = contentChild(BsNavbarTogglerDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ brand: this.brandSlot()?.templateRef, toggler: this.togglerSlot()?.templateRef }));\n readonly #core = useCore(navbarCore, { inputs: () => ({ breakpoint: this.breakpoint(), color: this.color(), expanded: this.expanded(), positioning: this.positioning(), labels: this.labels() }), idPrefix: 'bs-navbar', outputs: { expandedChange: this.expandedchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'navbar', role: 'navigation' }), models: { expanded: this.expanded } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order }); useScopedStyles('navbar', navbarScopedStyles);\n }\n\n /** Opens or closes the collapse (flips it without an argument), and reports it. */\n toggle(...args: Parameters<NavbarMethods['toggle']>): ReturnType<NavbarMethods['toggle']> {\n return this.#core.call('toggle', args) as ReturnType<NavbarMethods['toggle']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_brand = props().brand;\n@let p_view = props().view;\n@if (slots().brand) {\n <div data-mps=\"navbar\" [mpProps]=\"p_brand\">\n @if (slots().brand; as slot_brand) {\n <ng-container [ngTemplateOutlet]=\"slot_brand\" />\n }\n </div>\n}\n<input data-mps=\"navbar\" [mpProps]=\"p_view.toggle\">\n<label data-mps=\"navbar\" [mpProps]=\"p_view.toggler\">\n @if (slots().toggler; as slot_toggler) {\n <ng-container [ngTemplateOutlet]=\"slot_toggler\" />\n } @else {\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n <span data-mps=\"navbar\" [mpProps]=\"p_view.bar\"></span>\n }\n</label>\n<div data-mps=\"navbar\" [mpProps]=\"p_view.collapse\">\n <div data-mps=\"navbar\" [mpProps]=\"p_view.inner\">\n <ng-content />\n </div>\n</div>\n","// GENERATED from the navbar manifest (navbar-nav) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarNavCore, type NavbarNavInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\nimport { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';\n\n/** A group of navbar items; `align=\"end\"` pushes it to the far side when the bar is wide. */\n@Component({\n selector: 'bs-navbar-nav',\n templateUrl: './navbar-nav.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarNavComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly align = input<NavbarNavInputs['align']>('start');\n\n readonly #core = useCore(navbarNavCore, { inputs: () => ({ align: this.align() }), idPrefix: 'bs-navbar-nav', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order }); useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-nav.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the navbar manifest (navbar-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { navbarItemCore, type NavbarItemInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\nimport { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';\n\n/** One entry around a consumer link: a `.nav-item` in a nav group, a `.dropdown-item` in a dropdown. */\n@Component({\n selector: 'bs-navbar-item',\n templateUrl: './navbar-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsNavbarItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<NavbarItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<NavbarItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n\n readonly #core = useCore(navbarItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled() }), idPrefix: 'bs-navbar-item', hostBag: (props) => ({ ...props.bag, 'data-mps': 'navbar' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order }); useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { NavbarDropdownInputs } from '@mintplayer/ui-core/navbar';\n\n/*\n * The Angular extension of the generated `bs-navbar-dropdown` (PRD #437 D10\n * escape hatch): a dropdown whose content holds the active route's link marks\n * its trigger, the way Bootstrap marks an active nav link.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => NavbarDropdownInputs): () => NavbarDropdownInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the navbar manifest (navbar-dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { NAVBAR_NESTING, navbarDropdownCore, type NavbarDropdownInputs, navbarScopedStyles } from '@mintplayer/ui-core/navbar';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { bootstrapNav } from '@mintplayer/ui-core/bootstrap/nav';\nimport { bootstrapNavbar } from '@mintplayer/ui-core/bootstrap/navbar';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../navbar-dropdown.angular';\n\n/** The `labelTemplate` slot of `<bs-navbar-dropdown>`: `<ng-template bsNavbarDropdownLabelTemplate>` or `*bsNavbarDropdownLabelTemplate`. */\n@Directive({ selector: '[bsNavbarDropdownLabelTemplate]' })\nexport class BsNavbarDropdownLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/** A navbar dropdown, or a submenu when nested: a native `<details>`, so it opens with JavaScript off. */\n@Component({\n selector: 'bs-navbar-dropdown',\n templateUrl: './navbar-dropdown.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(NAVBAR_NESTING, BsNavbarDropdownComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsNavbarDropdownComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly label = input<NavbarDropdownInputs['label']>();\n readonly active = input<NavbarDropdownInputs['active'], unknown>(false, { transform: booleanAttribute });\n\n private readonly labelTemplateSlot = contentChild(BsNavbarDropdownLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(navbarDropdownCore, { inputs: ext_extendInputs(() => ({ label: this.label(), active: this.active() })), idPrefix: 'bs-navbar-dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles(bootstrapNav.key, bootstrapNav.css, { order: bootstrapNav.order }); useScopedStyles(bootstrapNavbar.key, bootstrapNavbar.css, { order: bootstrapNavbar.order }); useScopedStyles('navbar', navbarScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/navbar/src/templates/navbar-dropdown.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n@let p_label = props().label;\n<details data-mps=\"navbar\" [mpProps]=\"p_view.details\" #root>\n <summary data-mps=\"navbar\" [mpProps]=\"p_view.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"navbar\" [mpProps]=\"p_view.panel\">\n <ng-content />\n </div>\n</details>\n","// GENERATED from the navbar manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsNavbarComponent, BsNavbarBrandDirective, BsNavbarTogglerDirective } from './navbar.component.generated';\nexport { BsNavbarNavComponent } from './navbar-nav.component.generated';\nexport { BsNavbarItemComponent } from './navbar-item.component.generated';\nexport { BsNavbarDropdownComponent, BsNavbarDropdownLabelTemplateDirective } from './navbar-dropdown.component.generated';\n","import { isPlatformServer } from '@angular/common';\nimport { afterNextRender, Directive, ElementRef, inject, input, OnDestroy, PLATFORM_ID, Renderer2, RendererStyleFlags2 } from '@angular/core';\nimport { BsNavbarComponent } from '../generated';\n\n/** The offset before the bar is measured: Bootstrap's default navbar is 3.5rem tall. */\nconst ESTIMATE = 'var(--bs-navbar-content-offset, 3.5rem)';\n\n/**\n * `[bsNavbarContent]` — offsets page content below a `positioning=\"fixed\"`\n * navbar by its LIVE height (replaces hand-maintained `padding-top` constants).\n *\n * <bs-navbar [positioning]=\"'fixed'\" #nav>…</bs-navbar>\n * <div [bsNavbarContent]=\"nav\"><router-outlet /></div>\n *\n * On the client a `ResizeObserver` tracks the bar (theme/viewport changes\n * resize it) and sets `padding-top` = the element's own initial padding + the\n * bar height. Until then (on the server, and with JavaScript off) the offset\n * is CSS: `--bs-navbar-content-offset`, defaulting to 3.5rem, the height of\n * Bootstrap's default navbar. A theme with a taller bar sets that property.\n */\n@Directive({\n selector: '[bsNavbarContent]',\n})\nexport class BsNavbarContentDirective implements OnDestroy {\n /** The `bs-navbar` to clear — pass its template reference (`#nav`). */\n readonly navbar = input.required<BsNavbarComponent>({ alias: 'bsNavbarContent' });\n\n readonly #element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n readonly #renderer = inject(Renderer2);\n #observer?: ResizeObserver;\n\n constructor() {\n this.#renderer.setStyle(this.#element, 'padding-top', ESTIMATE, RendererStyleFlags2.DashCase);\n if (isPlatformServer(inject(PLATFORM_ID))) return;\n afterNextRender(() => {\n // The bs-navbar host is the .navbar itself.\n const bar = this.navbar().elementRef.nativeElement;\n // The CSS estimate is still inline here (hydration reuses the server\n // element). Remove it BEFORE measuring, or the author's baseline would\n // count it.\n this.#renderer.removeStyle(this.#element, 'padding-top');\n const initial = parseFloat(getComputedStyle(this.#element).paddingTop) || 0;\n this.#observer = new ResizeObserver(() => this.#setPadding(initial + bar.offsetHeight));\n this.#observer.observe(bar);\n });\n }\n\n #setPadding(px: number): void {\n this.#renderer.setStyle(this.#element, 'padding-top', `${px}px`);\n }\n\n ngOnDestroy(): void {\n this.#observer?.disconnect();\n }\n}\n","import { Directive, ElementRef, Renderer2, inject } from '@angular/core';\nimport { BsNavbarDropdownComponent, BsNavbarItemComponent } from './generated';\n\n/**\n * Makes a `bs-navbar-item`'s link in the bar a `.nav-link` of the navbar scope,\n * so Bootstrap's nav and navbar parts style it: the consumer writes a plain\n * `<a routerLink>`. In a dropdown panel the item itself is the `.dropdown-item`\n * and its link stays plain. It runs in the constructor, so the server HTML carries both.\n *\n * Angular selectors cannot say `bs-navbar-item > a` (a combinator parses as\n * `a`), so it matches every anchor and button of a template that imports it\n * and acts only inside a navbar item.\n */\n@Directive({ selector: 'a, button' })\nexport class BsNavbarLinkDirective {\n constructor() {\n if (!inject(BsNavbarItemComponent, { optional: true }) || inject(BsNavbarDropdownComponent, { optional: true })) return;\n const link = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const renderer = inject(Renderer2);\n renderer.addClass(link, 'nav-link');\n renderer.setAttribute(link, 'data-mps', 'navbar');\n }\n}\n","// The navbar components are generated from @mintplayer/ui-core/navbar (PRD #437 D10).\nexport * from './generated';\nexport * from './navbar-content/navbar-content.directive';\nexport * from './navbar-link.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_hostDirectives"],"mappings":";;;;;;;;;;;;AAAA;AASA;MAEa,sBAAsB,CAAA;AADnC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAuB,WAAW,CAAC;AACjE,IAAA;8GAFY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;mBAAC,EAAE,QAAQ,EAAE,iBAAiB,EAAE;;AAK1C;MAEa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAuB,WAAW,CAAC;AACjE,IAAA;8GAFY,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,C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