@mintplayer/ng-bootstrap 22.5.1 → 22.7.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 (136) hide show
  1. package/_bootstrap.scss +4 -0
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +255 -44
  3. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +129 -74
  5. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +24 -4
  7. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +12 -3
  9. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +9 -4
  11. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +21 -7
  13. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +83 -248
  15. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +39 -35
  17. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  18. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +7 -4
  19. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +80 -31
  21. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  22. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs +4 -0
  23. package/fesm2022/mintplayer-ng-bootstrap-copy.mjs.map +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +3 -2
  25. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +3 -2
  27. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +4 -7
  29. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +27 -2
  31. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +3 -2
  33. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +25 -3
  37. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  38. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +15 -3
  39. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +9 -3
  41. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +11 -12
  43. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-observe-size.mjs +48 -0
  45. package/fesm2022/mintplayer-ng-bootstrap-observe-size.mjs.map +1 -0
  46. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +15 -2
  47. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +6 -6
  49. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +4 -7
  51. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +2 -3
  53. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +24 -5
  55. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  56. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +3 -3
  57. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +8 -3
  59. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +4 -3
  61. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +41 -46
  63. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +5 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +33 -4
  67. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +3 -2
  69. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +2 -2
  71. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +9 -12
  73. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +3 -2
  75. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +76 -58
  77. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs +2 -2
  79. package/fesm2022/mintplayer-ng-bootstrap-spinner.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +107 -0
  81. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -0
  82. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +1 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  84. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +9 -10
  85. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +3 -2
  87. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +23 -8
  89. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  90. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +29 -6
  91. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  92. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +4 -3
  93. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  94. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +3 -2
  95. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  96. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +10 -3
  97. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  98. package/observe-size/package.json +4 -0
  99. package/package.json +9 -6
  100. package/splitter/package.json +4 -0
  101. package/types/mintplayer-ng-bootstrap-a11y.d.ts +184 -32
  102. package/types/mintplayer-ng-bootstrap-accordion.d.ts +88 -27
  103. package/types/mintplayer-ng-bootstrap-alert.d.ts +18 -8
  104. package/types/mintplayer-ng-bootstrap-badge.d.ts +8 -1
  105. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +3 -1
  106. package/types/mintplayer-ng-bootstrap-card.d.ts +4 -2
  107. package/types/mintplayer-ng-bootstrap-carousel.d.ts +56 -109
  108. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +11 -16
  109. package/types/mintplayer-ng-bootstrap-close.d.ts +6 -4
  110. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +3 -0
  111. package/types/mintplayer-ng-bootstrap-copy.d.ts +1 -0
  112. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +16 -18
  113. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +7 -0
  114. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +15 -2
  115. package/types/mintplayer-ng-bootstrap-list-group.d.ts +3 -1
  116. package/types/mintplayer-ng-bootstrap-marquee.d.ts +7 -4
  117. package/types/mintplayer-ng-bootstrap-navbar.d.ts +1 -3
  118. package/types/mintplayer-ng-bootstrap-observe-size.d.ts +24 -0
  119. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +6 -0
  120. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +2 -2
  121. package/types/mintplayer-ng-bootstrap-pagination.d.ts +1 -3
  122. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +1 -1
  123. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +5 -2
  124. package/types/mintplayer-ng-bootstrap-radio.d.ts +20 -28
  125. package/types/mintplayer-ng-bootstrap-rating.d.ts +18 -1
  126. package/types/mintplayer-ng-bootstrap-select.d.ts +2 -3
  127. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +31 -30
  128. package/types/mintplayer-ng-bootstrap-splitter.d.ts +66 -0
  129. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +1 -1
  130. package/types/mintplayer-ng-bootstrap-toast.d.ts +3 -1
  131. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +8 -0
  132. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +7 -1
  133. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs +0 -60
  134. package/fesm2022/mintplayer-ng-bootstrap-reduced-motion.mjs.map +0 -1
  135. package/reduced-motion/package.json +0 -4
  136. package/types/mintplayer-ng-bootstrap-reduced-motion.d.ts +0 -36
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-breadcrumb.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb/breadcrumb.component.ts","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb/breadcrumb.component.html","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.html","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/mintplayer-ng-bootstrap-breadcrumb.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy} from '@angular/core';\n\n@Component({\n selector: 'bs-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsBreadcrumbComponent {}\n","<nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb\">\n <ng-content></ng-content>\n </ol>\n</nav>","import { Component, ChangeDetectionStrategy, input } from '@angular/core';\n\n@Component({\n selector: 'bs-breadcrumb-item',\n templateUrl: './breadcrumb-item.component.html',\n styleUrls: ['./breadcrumb-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.breadcrumb-item]': 'true',\n '[class.active]': 'active()',\n 'role': 'listitem',\n '[attr.aria-current]': 'active() ? \"page\" : null',\n },\n})\nexport class BsBreadcrumbItemComponent {\n readonly active =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,EAAA,oBAAoB,EAAA,eAAA,EAGb,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,yBAAyB,EAAE,MAAM;AACjC,wBAAA,gBAAgB,EAAE,UAAU;AAC5B,wBAAA,MAAM,EAAE,UAAU;AAClB,wBAAA,qBAAqB,EAAE,0BAA0B;AAClD,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AEZH;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-breadcrumb.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb/breadcrumb.component.ts","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb/breadcrumb.component.html","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.ts","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/src/breadcrumb-item/breadcrumb-item.component.html","../../../../libs/mintplayer-ng-bootstrap/breadcrumb/mintplayer-ng-bootstrap-breadcrumb.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input } from '@angular/core';\n\n@Component({\n selector: 'bs-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsBreadcrumbComponent {\n /** Accessible name for the breadcrumb landmark. Override for localisation. */\n ariaLabel = input<string>('breadcrumb');\n}\n","<nav [attr.aria-label]=\"ariaLabel()\">\n <ol class=\"breadcrumb\">\n <ng-content></ng-content>\n </ol>\n</nav>","import { Component, ChangeDetectionStrategy, input } from '@angular/core';\n\n@Component({\n selector: 'bs-breadcrumb-item',\n templateUrl: './breadcrumb-item.component.html',\n styleUrls: ['./breadcrumb-item.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.breadcrumb-item]': 'true',\n '[class.active]': 'active()',\n 'role': 'listitem',\n '[attr.aria-current]': 'active() ? \"page\" : null',\n },\n})\nexport class BsBreadcrumbItemComponent {\n readonly active = input(false);\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,qBAAqB,CAAA;AANlC,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,YAAY;sFAAC;AACxC,IAAA;8GAHY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,yNCRlC,8HAIM,EAAA,MAAA,EAAA,CAAA,w/BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDIO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;+BACE,eAAe,EAAA,eAAA,EAGR,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,8HAAA,EAAA,MAAA,EAAA,CAAA,w/BAAA,CAAA,EAAA;;;MEQpC,yBAAyB,CAAA;AAZtC,IAAA,WAAA,GAAA;QAaW,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK;mFAAC;AAC/B,IAAA;8GAFY,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,yBAAyB,mYCdtC,6BACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDaa,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAZrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EAAA,eAAA,EAGb,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,yBAAyB,EAAE,MAAM;AACjC,wBAAA,gBAAgB,EAAE,UAAU;AAC5B,wBAAA,MAAM,EAAE,UAAU;AAClB,wBAAA,qBAAqB,EAAE,0BAA0B;AAClD,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AEZH;;AAEG;;;;"}
@@ -136,18 +136,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImpor
136
136
  }], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
137
137
 
138
138
  class BsCardTitleComponent {
139
+ constructor() {
140
+ /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */
141
+ this.level = input(5, /* @ts-ignore */
142
+ ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
143
+ }
139
144
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCardTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
140
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: BsCardTitleComponent, isStandalone: true, selector: "bs-card-title", host: { classAttribute: "card-title" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: BsCardTitleComponent, isStandalone: true, selector: "bs-card-title", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "heading" }, properties: { "attr.aria-level": "level()" }, classAttribute: "card-title" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
141
146
  }
142
147
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCardTitleComponent, decorators: [{
143
148
  type: Component,
144
149
  args: [{
145
150
  selector: 'bs-card-title',
151
+ // role=heading + aria-level rather than swapping real h1-h6 tags: the tag
152
+ // cannot change dynamically without destroying projected content, and the
153
+ // computed pair is exactly equivalent in the accessibility tree.
146
154
  template: '<ng-content></ng-content>',
147
- host: { class: 'card-title' },
155
+ host: {
156
+ class: 'card-title',
157
+ role: 'heading',
158
+ '[attr.aria-level]': 'level()',
159
+ },
148
160
  changeDetection: ChangeDetectionStrategy.OnPush,
149
161
  }]
150
- }] });
162
+ }], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }] } });
151
163
 
152
164
  class BsCardSubtitleComponent {
153
165
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCardSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -245,12 +257,14 @@ class BsCardImgComponent {
245
257
  // `width: 100%` rule sizes the actual image element.
246
258
  this.imgClass = computed(() => this.hostClass(), /* @ts-ignore */
247
259
  ...(ngDevMode ? [{ debugName: "imgClass" }] : /* istanbul ignore next */ []));
248
- // `?? null` so an absent input removes the attribute instead of leaving an
249
- // empty `src=""` / `alt=""` on the DOM. Hoisted out of the template per
250
- // the workspace's "computed over inline expression" memory rule.
260
+ // `?? null` so an absent src removes the attribute instead of leaving an
261
+ // empty `src=""` on the DOM.
251
262
  this.srcAttr = computed(() => this.src() ?? null, /* @ts-ignore */
252
263
  ...(ngDevMode ? [{ debugName: "srcAttr" }] : /* istanbul ignore next */ []));
253
- this.altAttr = computed(() => this.alt() ?? null, /* @ts-ignore */
264
+ // alt is the opposite case: an <img> with NO alt attribute is announced by
265
+ // its filename, while alt="" marks it decorative and silences it. Absent
266
+ // input therefore means decorative, never unlabelled.
267
+ this.altAttr = computed(() => this.alt() ?? '', /* @ts-ignore */
254
268
  ...(ngDevMode ? [{ debugName: "altAttr" }] : /* istanbul ignore next */ []));
255
269
  }
256
270
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BsCardImgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via\n * the WC's `::slotted()` rules (header / body / footer / img) plus the global\n * typography sheet (title / text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n template: '<ng-content></ng-content>',\n host: { class: 'card-title' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` (in\n * `mp-card.element.scss`) so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent input removes the attribute instead of leaving an\n // empty `src=\"\"` / `alt=\"\"` on the DOM. Hoisted out of the template per\n // the workspace's \"computed over inline expression\" memory rule.\n readonly srcAttr = computed(() => this.src() ?? null);\n readonly altAttr = computed(() => this.alt() ?? null);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWA;;;;;;;;;AASG;MAQU,eAAe,CAAA;AAP5B,IAAA,WAAA,GAAA;QAQW,IAAA,CAAA,KAAK,GAAG,KAAK,CAAoB,SAAS;kFAAC;QAC3C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK;oFAAC;AAEZ,QAAA,IAAA,CAAA,SAAS,GAAG,QAAQ,CAAC,MAAK;AAC3C,YAAA,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE;AACt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A,EAAA,oBAAoB,iHAJrB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,IAAI,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE;oBAC7B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACPD;AACA;AACA;AACA;;ACHA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-card.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card/bs-card.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-header/bs-card-header.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-body/bs-card-body.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-footer/bs-card-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-title/bs-card-title.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-subtitle/bs-card-subtitle.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-text/bs-card-text.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-link/bs-card-link.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-img/bs-card-img.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/lib/components/bs-card-group/bs-card-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/card/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/card/mintplayer-ng-bootstrap-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n CUSTOM_ELEMENTS_SCHEMA,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\n// Side-effect import registers <mp-card>.\nimport '@mintplayer/web-components/card';\n\n/**\n * Angular wrapper for the Bootstrap card root.\n *\n * Renders an inner `<mp-card>` — the single card web component, which owns the\n * card chrome (border / radius / background) in its shadow DOM. Projected\n * `<bs-card-*>` content lands in `<mp-card>`'s default slot and is styled via\n * the WC's `::slotted()` rules (header / body / footer / img) plus the global\n * typography sheet (title / text). This is what makes the card render\n * correctly even when itself slotted inside another web component.\n */\n@Component({\n selector: 'bs-card',\n template: `<mp-card [attr.color]=\"colorName()\" [attr.outline]=\"outline() ? '' : null\"><ng-content></ng-content></mp-card>`,\n styles: [':host { display: block; }'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardComponent {\n readonly color = input<Color | undefined>(undefined);\n readonly outline = input(false);\n\n protected readonly colorName = computed(() => {\n const c = this.color();\n return c === undefined ? null : Color[c];\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport {\n applyHeaderNavStyle,\n applyTextBgClass,\n isNavTargetNode,\n type CardHeaderNavStyle,\n} from '@mintplayer/web-components/card';\n\n/**\n * Card header.\n *\n * `[navStyle]` decorates a slotted `<nav>` / `<ul>` with\n * `card-header-tabs` / `card-header-pills` so Bootstrap's `_card.scss`\n * tab/pill integration kicks in. The class lands on the first nav/ul\n * descendant, and a MutationObserver re-applies it when the consumer\n * swaps the slotted markup (e.g. an `@if` that flips the nav in or out).\n */\n@Component({\n selector: 'bs-card-header',\n template: '<ng-content></ng-content>',\n host: { class: 'card-header' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardHeaderComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly destroyRef = inject(DestroyRef);\n\n readonly color = input<Color | undefined>(undefined);\n readonly navStyle = input<CardHeaderNavStyle | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n\n effect(() => {\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n\n // Slotted navs may appear after the component is created (Angular @if,\n // structural directives). Re-apply the nav-style class on child changes\n // so a late-rendered nav still picks up `card-header-tabs` / `-pills`.\n // Scope to direct children only: the slotted nav must be a direct child\n // for Bootstrap's `.card-header-tabs` styling to apply; deep subtree\n // mutations (Angular re-renders of nested content) would otherwise\n // trigger a full `querySelector` walk on every keystroke.\n if (typeof MutationObserver !== 'undefined') {\n const observer = new MutationObserver((records) => {\n const navAffected = records.some((r) =>\n [...Array.from(r.addedNodes), ...Array.from(r.removedNodes)].some(isNavTargetNode),\n );\n if (!navAffected) return;\n applyHeaderNavStyle(this.el.nativeElement, this.navStyle() ?? null);\n });\n observer.observe(this.el.nativeElement, { childList: true, subtree: false });\n this.destroyRef.onDestroy(() => observer.disconnect());\n }\n }\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card body — explicit wrapper. No auto-padding workaround like the previous\n * implementation: Bootstrap's `.card-body` padding applies as upstream\n * specifies. Consumers wanting unpadded content can use a raw `<div>` inside\n * `<bs-card>` instead.\n */\n@Component({\n selector: 'bs-card-body',\n template: '<ng-content></ng-content>',\n host: { class: 'card-body' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardBodyComponent {}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n effect,\n inject,\n input,\n} from '@angular/core';\nimport { Color } from '@mintplayer/ng-bootstrap';\nimport { applyTextBgClass } from '@mintplayer/web-components/card';\n\n@Component({\n selector: 'bs-card-footer',\n template: '<ng-content></ng-content>',\n host: { class: 'card-footer' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardFooterComponent {\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly color = input<Color | undefined>(undefined);\n\n constructor() {\n effect(() => {\n const c = this.color();\n const name = c === undefined ? null : Color[c];\n applyTextBgClass(this.el.nativeElement, name);\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'bs-card-title',\n // role=heading + aria-level rather than swapping real h1-h6 tags: the tag\n // cannot change dynamically without destroying projected content, and the\n // computed pair is exactly equivalent in the accessibility tree.\n template: '<ng-content></ng-content>',\n host: {\n class: 'card-title',\n role: 'heading',\n '[attr.aria-level]': 'level()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTitleComponent {\n /** Heading level in the page outline. Cards default to a section-level 5, matching Bootstrap's visual h5. */\n readonly level = input(5);\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-subtitle',\n template: '<ng-content></ng-content>',\n host: { class: 'card-subtitle' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardSubtitleComponent {}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-text',\n template: '<ng-content></ng-content>',\n host: { class: 'card-text' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardTextComponent {}\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\n\n/**\n * Card link. The inner `<a>` carries `.card-link` (so Bootstrap's hover /\n * spacing styling and the `+` adjacency rule both apply). For the adjacency\n * margin between sibling `<bs-card-link>` wrappers, see the compensating\n * CSS in `mp-card.element.scss`.\n */\n@Component({\n selector: 'bs-card-link',\n template: '<a class=\"card-link\" [attr.href]=\"hrefAttr()\"><ng-content></ng-content></a>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardLinkComponent {\n readonly href = input<string | undefined>(undefined);\n\n // Coalesce `undefined` to `null` so Angular drops the attribute entirely\n // when the input is unset. Hoisted out of the template per the workspace's\n // \"computed over inline expression\" memory rule.\n readonly hrefAttr = computed(() => this.href() ?? null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { CardImagePosition } from '@mintplayer/web-components/card';\n\n/**\n * Card image. `position` switches the rendered shape; `src` and `alt` map\n * to the underlying `<img>`. Overlay form additionally wraps slotted content\n * in `<div class=\"card-img-overlay\">`.\n *\n * The host element carries the `card-img-*` class so Bootstrap's\n * `.card-group > .card > .card-img-top` corner-rounding selectors match\n * (the inner `<img>` would otherwise be a grandchild of `.card`). The inner\n * `<img>` carries the same class so Bootstrap's `width: 100%` sizing rule\n * applies; the host's border-radius is paired with `overflow: hidden` (in\n * `mp-card.element.scss`) so the img's straight corners get clipped.\n *\n * Projection uses `*ngTemplateOutlet` instead of inlining `<ng-content>` in\n * each `@case`: multiple `<ng-content>` slots in conditional branches silently\n * drop the projected children. One `<ng-content>` inside a `<ng-template>`\n * works around the limitation, at the cost of importing `NgTemplateOutlet`.\n */\n@Component({\n selector: 'bs-card-img',\n imports: [NgTemplateOutlet],\n template: `\n <ng-template #projected><ng-content></ng-content></ng-template>\n <ng-template #imgTpl>\n <img [class]=\"imgClass()\" [attr.src]=\"srcAttr()\" [attr.alt]=\"altAttr()\" />\n </ng-template>\n\n @switch (position()) {\n @case ('overlay') {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <div class=\"card-img-overlay\">\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n </div>\n }\n @case ('bottom') {\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n }\n @default {\n <ng-container *ngTemplateOutlet=\"imgTpl\"></ng-container>\n <ng-container *ngTemplateOutlet=\"projected\"></ng-container>\n }\n }\n `,\n host: { '[class]': 'hostClass()' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardImgComponent {\n readonly position = input<CardImagePosition>('top');\n readonly src = input<string | undefined>(undefined);\n readonly alt = input<string | undefined>(undefined);\n\n readonly hostClass = computed(() => {\n switch (this.position()) {\n case 'overlay':\n return 'card-img';\n case 'bottom':\n return 'card-img-bottom';\n default:\n return 'card-img-top';\n }\n });\n\n // The inner <img> carries the same card-img-* class so Bootstrap's\n // `width: 100%` rule sizes the actual image element.\n readonly imgClass = computed(() => this.hostClass());\n\n // `?? null` so an absent src removes the attribute instead of leaving an\n // empty `src=\"\"` on the DOM.\n readonly srcAttr = computed(() => this.src() ?? null);\n // alt is the opposite case: an <img> with NO alt attribute is announced by\n // its filename, while alt=\"\" marks it decorative and silences it. Absent\n // input therefore means decorative, never unlabelled.\n readonly altAttr = computed(() => this.alt() ?? '');\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n selector: 'bs-card-group',\n template: '<ng-content></ng-content>',\n host: { class: 'card-group' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsCardGroupComponent {}\n","// Angular wrappers (M2). The legacy `card/` + `card-header/` directories\n// have been removed; consumers continue to import `BsCardComponent` and\n// `BsCardHeaderComponent` via the same `@mintplayer/ng-bootstrap/card`\n// secondary entry — only the internal file paths moved.\nexport * from './lib/components/bs-card/bs-card.component';\nexport * from './lib/components/bs-card-header/bs-card-header.component';\nexport * from './lib/components/bs-card-body/bs-card-body.component';\nexport * from './lib/components/bs-card-footer/bs-card-footer.component';\nexport * from './lib/components/bs-card-title/bs-card-title.component';\nexport * from './lib/components/bs-card-subtitle/bs-card-subtitle.component';\nexport * from './lib/components/bs-card-text/bs-card-text.component';\nexport * from './lib/components/bs-card-link/bs-card-link.component';\nexport * from './lib/components/bs-card-img/bs-card-img.component';\nexport * from './lib/components/bs-card-group/bs-card-group.component';\n\n// Lit web-component layer + public types — now sourced from the\n// framework-agnostic @mintplayer/web-components/card sub-entry.\nexport * from '@mintplayer/web-components/card';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from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