@mintplayer/ng-bootstrap 22.32.0 → 22.33.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 (230) hide show
  1. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +3 -166
  2. package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
  3. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -140
  4. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs +33 -63
  6. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs +23 -30
  8. package/fesm2022/mintplayer-ng-bootstrap-badge.mjs.map +1 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs +37 -22
  10. package/fesm2022/mintplayer-ng-bootstrap-breadcrumb.mjs.map +1 -1
  11. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs +25 -9
  12. package/fesm2022/mintplayer-ng-bootstrap-button-group.mjs.map +1 -1
  13. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +4 -8
  14. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  15. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +157 -219
  16. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +6 -8
  18. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -8
  20. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -40
  22. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +5 -5
  24. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +313 -212
  26. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-close.mjs +25 -15
  28. package/fesm2022/mintplayer-ng-bootstrap-close.mjs.map +1 -1
  29. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +5 -5
  30. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +87 -676
  32. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  33. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +52 -119
  34. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +12 -24
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +5 -9
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +5 -7
  40. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +5 -7
  42. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +201 -197
  44. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +9 -19
  46. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs +64 -123
  48. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +18 -32
  50. package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  51. package/fesm2022/mintplayer-ng-bootstrap-form.mjs +52 -38
  52. package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +64 -119
  54. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +23 -38
  56. package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs +44 -44
  58. package/fesm2022/mintplayer-ng-bootstrap-list-group.mjs.map +1 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +199 -16
  60. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs +27 -12
  62. package/fesm2022/mintplayer-ng-bootstrap-marquee.mjs.map +1 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs +61 -261
  64. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +9 -11
  66. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs +3 -4
  68. package/fesm2022/mintplayer-ng-bootstrap-nav.mjs.map +1 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs +30 -18
  70. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +20 -90
  72. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  73. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +52 -401
  74. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +7 -7
  76. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +27 -50
  78. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +21 -12
  80. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +8 -10
  82. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs +26 -54
  84. package/fesm2022/mintplayer-ng-bootstrap-placeholder.mjs.map +1 -1
  85. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs +29 -15
  86. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  87. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +56 -267
  88. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  89. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs +60 -335
  90. package/fesm2022/mintplayer-ng-bootstrap-priority-nav.mjs.map +1 -1
  91. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +47 -63
  92. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  93. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +7 -15
  94. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  95. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +232 -169
  96. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  97. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +85 -47
  98. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  99. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +80 -137
  100. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  101. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs +29 -326
  102. package/fesm2022/mintplayer-ng-bootstrap-resizable.mjs.map +1 -1
  103. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +47 -63
  104. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +14 -22
  106. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  107. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +48 -181
  108. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  109. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +8 -8
  110. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  111. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +52 -108
  112. package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
  113. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +5 -7
  114. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +6 -6
  116. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  117. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +35 -40
  118. package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -1
  119. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +61 -101
  120. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  121. package/fesm2022/mintplayer-ng-bootstrap-table.mjs +29 -23
  122. package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
  123. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +1 -1
  124. package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
  125. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +67 -306
  126. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  127. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +7 -9
  128. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  129. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +9 -13
  130. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  131. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs +103 -152
  132. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  133. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +50 -157
  134. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  135. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +9 -11
  136. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  137. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +11 -13
  138. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  139. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +159 -234
  140. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  141. package/package.json +2 -22
  142. package/types/mintplayer-ng-bootstrap-a11y.d.ts +2 -81
  143. package/types/mintplayer-ng-bootstrap-accordion.d.ts +51 -86
  144. package/types/mintplayer-ng-bootstrap-alert.d.ts +20 -28
  145. package/types/mintplayer-ng-bootstrap-badge.d.ts +12 -12
  146. package/types/mintplayer-ng-bootstrap-breadcrumb.d.ts +29 -8
  147. package/types/mintplayer-ng-bootstrap-button-group.d.ts +14 -4
  148. package/types/mintplayer-ng-bootstrap-calendar.d.ts +1 -5
  149. package/types/mintplayer-ng-bootstrap-card.d.ts +93 -78
  150. package/types/mintplayer-ng-bootstrap-carousel.d.ts +4 -6
  151. package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +4 -6
  152. package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +24 -17
  153. package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +3 -3
  154. package/types/mintplayer-ng-bootstrap-checkbox.d.ts +143 -91
  155. package/types/mintplayer-ng-bootstrap-close.d.ts +16 -5
  156. package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +3 -3
  157. package/types/mintplayer-ng-bootstrap-color-picker.d.ts +42 -226
  158. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +35 -17
  159. package/types/mintplayer-ng-bootstrap-datatable.d.ts +23 -35
  160. package/types/mintplayer-ng-bootstrap-datepicker.d.ts +2 -6
  161. package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +2 -4
  162. package/types/mintplayer-ng-bootstrap-dock.d.ts +6 -8
  163. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +122 -54
  164. package/types/mintplayer-ng-bootstrap-file-manager.d.ts +10 -20
  165. package/types/mintplayer-ng-bootstrap-file-upload.d.ts +62 -44
  166. package/types/mintplayer-ng-bootstrap-floating-labels.d.ts +12 -15
  167. package/types/mintplayer-ng-bootstrap-form.d.ts +32 -11
  168. package/types/mintplayer-ng-bootstrap-grid.d.ts +38 -31
  169. package/types/mintplayer-ng-bootstrap-input-group.d.ts +11 -22
  170. package/types/mintplayer-ng-bootstrap-list-group.d.ts +28 -14
  171. package/types/mintplayer-ng-bootstrap-machine.d.ts +95 -4
  172. package/types/mintplayer-ng-bootstrap-marquee.d.ts +18 -5
  173. package/types/mintplayer-ng-bootstrap-modal.d.ts +43 -86
  174. package/types/mintplayer-ng-bootstrap-multi-range.d.ts +4 -6
  175. package/types/mintplayer-ng-bootstrap-nav.d.ts +3 -3
  176. package/types/mintplayer-ng-bootstrap-navbar-toggler.d.ts +21 -6
  177. package/types/mintplayer-ng-bootstrap-navbar.d.ts +15 -42
  178. package/types/mintplayer-ng-bootstrap-offcanvas.d.ts +35 -112
  179. package/types/mintplayer-ng-bootstrap-otp-input.d.ts +4 -3
  180. package/types/mintplayer-ng-bootstrap-pagination.d.ts +22 -35
  181. package/types/mintplayer-ng-bootstrap-parallax.d.ts +14 -4
  182. package/types/mintplayer-ng-bootstrap-phone-input.d.ts +5 -6
  183. package/types/mintplayer-ng-bootstrap-placeholder.d.ts +17 -16
  184. package/types/mintplayer-ng-bootstrap-playlist-toggler.d.ts +22 -6
  185. package/types/mintplayer-ng-bootstrap-popover.d.ts +35 -61
  186. package/types/mintplayer-ng-bootstrap-priority-nav.d.ts +80 -68
  187. package/types/mintplayer-ng-bootstrap-progress-bar.d.ts +34 -19
  188. package/types/mintplayer-ng-bootstrap-query-builder.d.ts +12 -20
  189. package/types/mintplayer-ng-bootstrap-radio.d.ts +112 -84
  190. package/types/mintplayer-ng-bootstrap-range.d.ts +35 -13
  191. package/types/mintplayer-ng-bootstrap-rating.d.ts +33 -42
  192. package/types/mintplayer-ng-bootstrap-resizable.d.ts +24 -114
  193. package/types/mintplayer-ng-bootstrap-ribbon.d.ts +21 -37
  194. package/types/mintplayer-ng-bootstrap-scheduler.d.ts +19 -27
  195. package/types/mintplayer-ng-bootstrap-scrollspy.d.ts +26 -51
  196. package/types/mintplayer-ng-bootstrap-select.d.ts +8 -7
  197. package/types/mintplayer-ng-bootstrap-shell.d.ts +40 -63
  198. package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +4 -6
  199. package/types/mintplayer-ng-bootstrap-splitter.d.ts +3 -3
  200. package/types/mintplayer-ng-bootstrap-sticky-footer.d.ts +23 -19
  201. package/types/mintplayer-ng-bootstrap-tab-control.d.ts +61 -57
  202. package/types/mintplayer-ng-bootstrap-table.d.ts +21 -12
  203. package/types/mintplayer-ng-bootstrap-tile-manager.d.ts +94 -154
  204. package/types/mintplayer-ng-bootstrap-timeline.d.ts +23 -25
  205. package/types/mintplayer-ng-bootstrap-timepicker.d.ts +3 -7
  206. package/types/mintplayer-ng-bootstrap-toast.d.ts +92 -55
  207. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +34 -33
  208. package/types/mintplayer-ng-bootstrap-tree-select.d.ts +14 -16
  209. package/types/mintplayer-ng-bootstrap-treeview.d.ts +12 -13
  210. package/types/mintplayer-ng-bootstrap-typeahead.d.ts +109 -133
  211. package/calendar-month/package.json +0 -4
  212. package/dropdown-divider/package.json +0 -4
  213. package/dropdown-menu/package.json +0 -4
  214. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs +0 -136
  215. package/fesm2022/mintplayer-ng-bootstrap-calendar-month.mjs.map +0 -1
  216. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs +0 -30
  217. package/fesm2022/mintplayer-ng-bootstrap-dropdown-divider.mjs.map +0 -1
  218. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +0 -169
  219. package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +0 -1
  220. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs +0 -32
  221. package/fesm2022/mintplayer-ng-bootstrap-has-overlay.mjs.map +0 -1
  222. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs +0 -31
  223. package/fesm2022/mintplayer-ng-bootstrap-no-noscript.mjs.map +0 -1
  224. package/has-overlay/package.json +0 -4
  225. package/no-noscript/package.json +0 -4
  226. package/types/mintplayer-ng-bootstrap-calendar-month.d.ts +0 -54
  227. package/types/mintplayer-ng-bootstrap-dropdown-divider.d.ts +0 -9
  228. package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +0 -94
  229. package/types/mintplayer-ng-bootstrap-has-overlay.d.ts +0 -22
  230. package/types/mintplayer-ng-bootstrap-no-noscript.d.ts +0 -11
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-form.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/form/src/form/form.component.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/form/form.component.html","../../../../libs/mintplayer-ng-bootstrap/form/src/form-group/form-group.directive.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/form-control/form-control.directive.ts","../../../../libs/mintplayer-ng-bootstrap/form/mintplayer-ng-bootstrap-form.ts"],"sourcesContent":["import { Component, input, output, ChangeDetectionStrategy} from '@angular/core';\n\n@Component({\n selector: 'bs-form',\n templateUrl: './form.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFormComponent {\n readonly action = input<string | undefined>(undefined);\n readonly method = input<'GET' | 'POST' | 'PUT' | 'DELETE' | undefined>(undefined);\n\n readonly submitted = output<Event>();\n onSubmit(ev: Event) {\n this.submitted.emit(ev);\n return false;\n }\n}\n","<!-- This IS the form: never nest another <form> in bs-form. The HTML parser\n drops a nested form tag, so a server-rendered page hydrates against a DOM\n one level shallower than the template. Put [formGroup] on a div instead. -->\n<form (submit)=\"onSubmit($event)\" [attr.action]=\"action() ?? null\" [attr.method]=\"method() ?? null\">\n <ng-content></ng-content>\n</form>\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[bsFormGroup]',\n host: {\n '[class.form-group]': 'true',\n },\n})\nexport class BsFormGroupDirective {\n}\n","import { Directive, inject } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { BsFormComponent } from '../form/form.component';\n\n@Directive({\n selector: 'bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)',\n host: {\n '[attr.data-mps]': '\"form\"',\n '[class.form-control]': 'formControlClass',\n },\n})\nexport class BsFormControlDirective {\n constructor() {\n // #452: the forms partial ships with this component, scoped to the elements it stamps (data-mps=\"form\").\n useBootstrap(bootstrapForms);\n }\n\n private form = inject(BsFormComponent, { optional: true });\n formControlClass = !!this.form;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,eAAe,CAAA;AAL5B,IAAA,WAAA,GAAA;QAMW,IAAA,CAAA,MAAM,GAAG,KAAK,CAAqB,SAAS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B,CAAA;AACjC,IAAA,WAAA,GAAA;QAKQ,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC1D,QAAA,IAAA,CAAA,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;;QAJ5B,YAAY,CAAC,cAAc,CAAC;IAC9B;8GAJW,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,6EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,kBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,6EAA6E;AACvF,oBAAA,IAAI,EAAE;AACJ,wBAAA,iBAAiB,EAAE,QAAQ;AAC3B,wBAAA,sBAAsB,EAAE,kBAAkB;AAC3C,qBAAA;AACF,iBAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-form.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/form-control.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/col-form-label.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/form/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/form/mintplayer-ng-bootstrap-form.ts"],"sourcesContent":["// GENERATED from the form manifest (form) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { formCore, type FormInputs, formScopedStyles, type FormSubmitEvent } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/**\n * A real `<form>` that anchors Bootstrap's forms part for everything inside it. `submitted` reports a submit;\n * without an `action` the native submit is cancelled.\n */\n@Component({\n selector: 'bs-form',\n templateUrl: './form.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFormComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly action = input<FormInputs['action']>(null);\n readonly method = input<FormInputs['method']>(null);\n /** The form was submitted. */\n readonly submitted = output<FormSubmitEvent>();\n\n readonly #core = useCore(formCore, { inputs: () => ({ action: this.action(), method: this.method() }), idPrefix: 'bs-form', outputs: { submitted: this.submitted }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'form' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/form/src/templates/form.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<form data-mps=\"form\" [mpProps]=\"p_view.form\" [attr.action]=\"p_view.action\" [mpHostAttrs]=\"hostAttrs\">\n <ng-content />\n</form>\n","// GENERATED from the form manifest (form-control) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { formControlCore, formScopedStyles } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's `.form-control` on an input or textarea. */\n@Directive({ selector: 'bs-form input:not(.no-form-control), bs-form textarea:not(.no-form-control)' })\nexport class BsFormControlDirective {\n\n protected readonly core = useCore(formControlCore, { inputs: () => ({ }), idPrefix: 'bs-form-control', hostBag: (props) => ({ ...props, 'data-mps': 'form' }) });\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","// GENERATED from the form manifest (col-form-label) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { colFormLabelCore, formScopedStyles } from '@mintplayer/ui-core/form';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's `.col-form-label` on a label that lines up with a control in a grid row. */\n@Directive({ selector: '[bsColFormLabel]' })\nexport class BsColFormLabelDirective {\n\n protected readonly core = useCore(colFormLabelCore, { inputs: () => ({ }), idPrefix: 'bs-col-form-label', hostBag: (props) => ({ ...props, 'data-mps': 'form' }) });\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('form', formScopedStyles);\n }\n}\n","// GENERATED from the form manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFormComponent } from './form.component.generated';\nexport { BsFormControlDirective } from './form-control.directive.generated';\nexport { BsColFormLabelDirective } from './col-form-label.directive.generated';\n","// Generated from @mintplayer/ui-core/form (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;;;AAGG;MAOU,eAAe,CAAA;AAYjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CA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AA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,6EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;mBAAC,EAAE,QAAQ,EAAE,6EAA6E,EAAE;;;ACPtG;AAMA;MAEa,uBAAuB,CAAA;AAIlC,IAAA,WAAA,GAAA;AAFmB,QAAA,IAAA,CAAA,IAAI,GAAG,OAAO,CAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAI,CAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AAGlK,QAAA,eAAe,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,MAAM,EAAE,gBAAgB,CAAC;IACrI;8GANW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE;;;ACP3C;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,161 +1,106 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, computed, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
3
- import { useBootstrap } from '@mintplayer/ng-bootstrap/machine';
2
+ import { inject, ElementRef, input, ChangeDetectionStrategy, Component, Directive, numberAttribute } from '@angular/core';
3
+ import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
4
+ import { gridCore, gridScopedStyles, gridRowCore, gridColCore, gridColumnCore } from '@mintplayer/ui-core/grid';
4
5
  import { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';
5
6
  import { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';
6
- import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
7
7
 
8
+ // GENERATED from the grid manifest (grid) by @mintplayer/nx-component-compiler. Do not edit.
9
+ /** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */
8
10
  class BsGridComponent {
11
+ #core;
9
12
  constructor() {
13
+ /** The host element. */
14
+ this.elementRef = inject(ElementRef);
10
15
  this.stopFullWidthAt = input('sm', /* @ts-ignore */
11
16
  ...(ngDevMode ? [{ debugName: "stopFullWidthAt" }] : /* istanbul ignore next */ []));
12
- this.containerClass = computed(() => {
13
- const stopFullWidthAt = this.stopFullWidthAt();
14
- switch (stopFullWidthAt) {
15
- case 'sm': return 'container';
16
- case 'never': return 'container-fluid';
17
- default: return `container-${stopFullWidthAt}`;
18
- }
19
- }, /* @ts-ignore */
20
- ...(ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []));
21
- // #452: the container and grid partials ship with the grid, scoped to the
22
- // elements it (and the bsRow / column directives) stamp with data-mps.
23
- useBootstrap(bootstrapContainers, bootstrapGrid);
17
+ this.#core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });
18
+ /** The template's props. */
19
+ this.props = this.#core.props;
20
+ useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
21
+ useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
22
+ useScopedStyles('grid', gridScopedStyles);
24
23
  }
25
24
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsGridComponent, isStandalone: true, selector: "bs-grid", inputs: { stopFullWidthAt: { classPropertyName: "stopFullWidthAt", publicName: "stopFullWidthAt", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div [class]=\"containerClass()\" data-mps=\"grid\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsGridComponent, isStandalone: true, selector: "bs-grid", inputs: { stopFullWidthAt: { classPropertyName: "stopFullWidthAt", publicName: "stopFullWidthAt", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
26
  }
28
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridComponent, decorators: [{
29
28
  type: Component,
30
- args: [{ selector: 'bs-grid', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"containerClass()\" data-mps=\"grid\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:contents}\n"] }]
29
+ args: [{ selector: 'bs-grid', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
31
30
  }], ctorParameters: () => [], propDecorators: { stopFullWidthAt: [{ type: i0.Input, args: [{ isSignal: true, alias: "stopFullWidthAt", required: false }] }] } });
32
31
 
33
- /**
34
- * Puts Bootstrap's `.row` on the element. The directive owns that class, so it
35
- * stamps the element (`data-mps`) and installs the grid part (#452): the
36
- * scoped part matches only stamped elements.
37
- */
32
+ // GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.
33
+ /** Bootstrap's `.row` on the element. */
38
34
  class BsGridRowDirective {
39
35
  constructor() {
40
- useBootstrap(bootstrapGrid);
36
+ this.core = useCore(gridRowCore, { inputs: () => ({}), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
37
+ useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
38
+ useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
39
+ useScopedStyles('grid', gridScopedStyles);
41
40
  }
42
41
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridRowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
43
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridRowDirective, isStandalone: true, selector: "[bsRow]", host: { properties: { "class.row": "true", "attr.data-mps": "\"grid\"" } }, ngImport: i0 }); }
42
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridRowDirective, isStandalone: true, selector: "[bsRow]", ngImport: i0 }); }
44
43
  }
45
44
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridRowDirective, decorators: [{
46
45
  type: Directive,
47
- args: [{
48
- selector: '[bsRow]',
49
- host: {
50
- '[class.row]': 'true',
51
- '[attr.data-mps]': '"grid"',
52
- },
53
- }]
46
+ args: [{ selector: '[bsRow]' }]
54
47
  }], ctorParameters: () => [] });
55
48
 
56
- class BsGridColumnDirective {
57
- constructor() {
58
- this.xxs = input(undefined, /* @ts-ignore */
59
- ...(ngDevMode ? [{ debugName: "xxs" }] : /* istanbul ignore next */ []));
60
- this.xs = input(undefined, /* @ts-ignore */
61
- ...(ngDevMode ? [{ debugName: "xs" }] : /* istanbul ignore next */ []));
62
- this.sm = input(undefined, /* @ts-ignore */
63
- ...(ngDevMode ? [{ debugName: "sm" }] : /* istanbul ignore next */ []));
64
- this.md = input(undefined, /* @ts-ignore */
65
- ...(ngDevMode ? [{ debugName: "md" }] : /* istanbul ignore next */ []));
66
- this.lg = input(undefined, /* @ts-ignore */
67
- ...(ngDevMode ? [{ debugName: "lg" }] : /* istanbul ignore next */ []));
68
- this.xl = input(undefined, /* @ts-ignore */
69
- ...(ngDevMode ? [{ debugName: "xl" }] : /* istanbul ignore next */ []));
70
- this.xxl = input(undefined, /* @ts-ignore */
71
- ...(ngDevMode ? [{ debugName: "xxl" }] : /* istanbul ignore next */ []));
72
- this.classList = computed(() => {
73
- const sizes = {
74
- xxs: this.xxs(),
75
- xs: this.xs(),
76
- sm: this.sm(),
77
- md: this.md(),
78
- lg: this.lg(),
79
- xl: this.xl(),
80
- xxl: this.xxl(),
81
- };
82
- return Object.keys(sizes)
83
- .map(key => ({
84
- key,
85
- value: sizes[key],
86
- }))
87
- .filter(v => v.value)
88
- .map(v => {
89
- switch (v.key) {
90
- case '': return 'col';
91
- case 'xxs': return `col-${v.value}`;
92
- default: return `col-${v.key}-${v.value}`;
93
- }
94
- })
95
- .join(' ') || null;
96
- }, /* @ts-ignore */
97
- ...(ngDevMode ? [{ debugName: "classList" }] : /* istanbul ignore next */ []));
98
- useBootstrap(bootstrapGrid);
99
- }
100
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
101
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsGridColumnDirective, isStandalone: true, selector: "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", inputs: { xxs: { classPropertyName: "xxs", publicName: "xxs", isSignal: true, isRequired: false, transformFunction: null }, xs: { classPropertyName: "xs", publicName: "xs", isSignal: true, isRequired: false, transformFunction: null }, sm: { classPropertyName: "sm", publicName: "sm", isSignal: true, isRequired: false, transformFunction: null }, md: { classPropertyName: "md", publicName: "md", isSignal: true, isRequired: false, transformFunction: null }, lg: { classPropertyName: "lg", publicName: "lg", isSignal: true, isRequired: false, transformFunction: null }, xl: { classPropertyName: "xl", publicName: "xl", isSignal: true, isRequired: false, transformFunction: null }, xxl: { classPropertyName: "xxl", publicName: "xxl", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classList()", "attr.data-mps": "\"grid\"" } }, ngImport: i0 }); }
102
- }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, decorators: [{
104
- type: Directive,
105
- args: [{
106
- selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',
107
- host: {
108
- '[class]': 'classList()',
109
- // #452: the directive owns the col-* classes, so it stamps the element for the scoped grid part.
110
- '[attr.data-mps]': '"grid"',
111
- },
112
- }]
113
- }], ctorParameters: () => [], propDecorators: { xxs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxs", required: false }] }], xs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xs", required: false }] }], sm: [{ type: i0.Input, args: [{ isSignal: true, alias: "sm", required: false }] }], md: [{ type: i0.Input, args: [{ isSignal: true, alias: "md", required: false }] }], lg: [{ type: i0.Input, args: [{ isSignal: true, alias: "lg", required: false }] }], xl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xl", required: false }] }], xxl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxl", required: false }] }] } });
49
+ // GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.
50
+ /** Bootstrap's auto-width `.col` on the element. */
114
51
  class BsGridColDirective {
115
52
  constructor() {
116
- this.col = input(undefined, /* @ts-ignore */
117
- ...(ngDevMode ? [{ debugName: "col" }] : /* istanbul ignore next */ []));
118
- useBootstrap(bootstrapGrid);
53
+ this.core = useCore(gridColCore, { inputs: () => ({}), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
54
+ useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
55
+ useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
56
+ useScopedStyles('grid', gridScopedStyles);
119
57
  }
120
58
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
121
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsGridColDirective, isStandalone: true, selector: "[col]", inputs: { col: { classPropertyName: "col", publicName: "col", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.col": "true", "attr.data-mps": "\"grid\"" } }, ngImport: i0 }); }
59
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsGridColDirective, isStandalone: true, selector: "[col]", ngImport: i0 }); }
122
60
  }
123
61
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColDirective, decorators: [{
124
62
  type: Directive,
125
- args: [{
126
- selector: '[col]',
127
- host: {
128
- '[class.col]': 'true',
129
- '[attr.data-mps]': '"grid"',
130
- },
131
- }]
132
- }], ctorParameters: () => [], propDecorators: { col: [{ type: i0.Input, args: [{ isSignal: true, alias: "col", required: false }] }] } });
63
+ args: [{ selector: '[col]' }]
64
+ }], ctorParameters: () => [] });
133
65
 
134
- /**
135
- * Puts Bootstrap's `.col-form-label` on the element, stamps it (`data-mps`)
136
- * and installs the forms part that styles it (#452).
137
- */
138
- class BsColFormLabelDirective {
66
+ // GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.
67
+ /** A column with a span per breakpoint: `<div md="6" lg="4">`. */
68
+ class BsGridColumnDirective {
139
69
  constructor() {
140
- useBootstrap(bootstrapForms);
70
+ /** The column span (1–12) at every width: `col-N`. */
71
+ this.xxs = input(undefined, { ...(ngDevMode ? { debugName: "xxs" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
72
+ /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */
73
+ this.xs = input(undefined, { ...(ngDevMode ? { debugName: "xs" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
74
+ /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */
75
+ this.sm = input(undefined, { ...(ngDevMode ? { debugName: "sm" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
76
+ /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */
77
+ this.md = input(undefined, { ...(ngDevMode ? { debugName: "md" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
78
+ /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */
79
+ this.lg = input(undefined, { ...(ngDevMode ? { debugName: "lg" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
80
+ /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */
81
+ this.xl = input(undefined, { ...(ngDevMode ? { debugName: "xl" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
82
+ /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */
83
+ this.xxl = input(undefined, { ...(ngDevMode ? { debugName: "xxl" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
84
+ this.core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
85
+ useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
86
+ useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
87
+ useScopedStyles('grid', gridScopedStyles);
141
88
  }
142
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsColFormLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
143
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: BsColFormLabelDirective, isStandalone: true, selector: "[bsColFormLabel]", host: { properties: { "class.col-form-label": "true", "attr.data-mps": "\"grid\"" } }, ngImport: i0 }); }
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
90
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.8", type: BsGridColumnDirective, isStandalone: true, selector: "[xxs],[xs],[sm],[md],[lg],[xl],[xxl]", inputs: { xxs: { classPropertyName: "xxs", publicName: "xxs", isSignal: true, isRequired: false, transformFunction: null }, xs: { classPropertyName: "xs", publicName: "xs", isSignal: true, isRequired: false, transformFunction: null }, sm: { classPropertyName: "sm", publicName: "sm", isSignal: true, isRequired: false, transformFunction: null }, md: { classPropertyName: "md", publicName: "md", isSignal: true, isRequired: false, transformFunction: null }, lg: { classPropertyName: "lg", publicName: "lg", isSignal: true, isRequired: false, transformFunction: null }, xl: { classPropertyName: "xl", publicName: "xl", isSignal: true, isRequired: false, transformFunction: null }, xxl: { classPropertyName: "xxl", publicName: "xxl", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
144
91
  }
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsColFormLabelDirective, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsGridColumnDirective, decorators: [{
146
93
  type: Directive,
147
- args: [{
148
- selector: '[bsColFormLabel]',
149
- host: {
150
- '[class.col-form-label]': 'true',
151
- '[attr.data-mps]': '"grid"',
152
- },
153
- }]
154
- }], ctorParameters: () => [] });
94
+ args: [{ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' }]
95
+ }], ctorParameters: () => [], propDecorators: { xxs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxs", required: false }] }], xs: [{ type: i0.Input, args: [{ isSignal: true, alias: "xs", required: false }] }], sm: [{ type: i0.Input, args: [{ isSignal: true, alias: "sm", required: false }] }], md: [{ type: i0.Input, args: [{ isSignal: true, alias: "md", required: false }] }], lg: [{ type: i0.Input, args: [{ isSignal: true, alias: "lg", required: false }] }], xl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xl", required: false }] }], xxl: [{ type: i0.Input, args: [{ isSignal: true, alias: "xxl", required: false }] }] } });
96
+
97
+ // GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.
98
+
99
+ // bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).
155
100
 
156
101
  /**
157
102
  * Generated bundle index. Do not edit.
158
103
  */
159
104
 
160
- export { BsColFormLabelDirective, BsGridColDirective, BsGridColumnDirective, BsGridComponent, BsGridRowDirective };
105
+ export { BsGridColDirective, BsGridColumnDirective, BsGridComponent, BsGridRowDirective };
161
106
  //# sourceMappingURL=mintplayer-ng-bootstrap-grid.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/component/grid.component.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/row/row.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/column/column.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/directives/col-form-label/col-form-label.directive.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { Breakpoint } from '@mintplayer/ng-bootstrap';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.component.html',\n styleUrls: ['./grid.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n constructor() {\n // #452: the container and grid partials ship with the grid, scoped to the\n // elements it (and the bsRow / column directives) stamp with data-mps.\n useBootstrap(bootstrapContainers, bootstrapGrid);\n }\n\n stopFullWidthAt = input<Breakpoint | 'never'>('sm');\n\n containerClass = computed(() => {\n const stopFullWidthAt = this.stopFullWidthAt();\n switch (stopFullWidthAt) {\n case 'sm': return 'container';\n case 'never': return 'container-fluid';\n default: return `container-${stopFullWidthAt}`;\n }\n });\n}\n","<div [class]=\"containerClass()\" data-mps=\"grid\">\n <ng-content></ng-content>\n</div>\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/**\n * Puts Bootstrap's `.row` on the element. The directive owns that class, so it\n * stamps the element (`data-mps`) and installs the grid part (#452): the\n * scoped part matches only stamped elements.\n */\n@Directive({\n selector: '[bsRow]',\n host: {\n '[class.row]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridRowDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n}\n","import { Directive, computed, input } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n@Directive({\n selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]',\n host: {\n '[class]': 'classList()',\n // #452: the directive owns the col-* classes, so it stamps the element for the scoped grid part.\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridColumnDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n\n xxs = input<number | undefined>(undefined);\n xs = input<number | undefined>(undefined);\n sm = input<number | undefined>(undefined);\n md = input<number | undefined>(undefined);\n lg = input<number | undefined>(undefined);\n xl = input<number | undefined>(undefined);\n xxl = input<number | undefined>(undefined);\n\n classList = computed(() => {\n const sizes = {\n xxs: this.xxs(),\n xs: this.xs(),\n sm: this.sm(),\n md: this.md(),\n lg: this.lg(),\n xl: this.xl(),\n xxl: this.xxl(),\n };\n return Object.keys(sizes)\n .map(key => ({\n key,\n value: (<any>sizes)[key],\n }))\n .filter(v => v.value)\n .map(v => {\n switch (v.key) {\n case '': return 'col';\n case 'xxs': return `col-${v.value}`;\n default: return `col-${v.key}-${v.value}`;\n }\n })\n .join(' ') || null;\n });\n}\n\n@Directive({\n selector: '[col]',\n host: {\n '[class.col]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsGridColDirective {\n constructor() {\n useBootstrap(bootstrapGrid);\n }\n readonly col = input<undefined>(undefined);\n}\n","import { Directive } from '@angular/core';\nimport { useBootstrap } from '@mintplayer/ng-bootstrap/machine';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/**\n * Puts Bootstrap's `.col-form-label` on the element, stamps it (`data-mps`)\n * and installs the forms part that styles it (#452).\n */\n@Directive({\n selector: '[bsColFormLabel]',\n host: {\n '[class.col-form-label]': 'true',\n '[attr.data-mps]': '\"grid\"',\n },\n})\nexport class BsColFormLabelDirective {\n constructor() {\n useBootstrap(bootstrapForms);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA;QAMA,IAAA,CAAA,eAAe,GAAG,KAAK,C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AAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/row.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/col.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/column.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["// GENERATED from the grid manifest (grid) 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 { gridCore, type GridInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly stopFullWidthAt = input<GridInputs['stopFullWidthAt']>('sm');\n\n readonly #core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridRowCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's `.row` on the element. */\n@Directive({ selector: '[bsRow]' })\nexport class BsGridRowDirective {\n\n protected readonly core = useCore(gridRowCore, { inputs: () => ({ }), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's auto-width `.col` on the element. */\n@Directive({ selector: '[col]' })\nexport class BsGridColDirective {\n\n protected readonly core = useCore(gridColCore, { inputs: () => ({ }), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input, numberAttribute } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColumnCore, type GridColumnInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** A column with a span per breakpoint: `<div md=\"6\" lg=\"4\">`. */\n@Directive({ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' })\nexport class BsGridColumnDirective {\n /** The column span (1–12) at every width: `col-N`. */\n readonly xxs = input<GridColumnInputs['xxs'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xxs'] });\n /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */\n readonly xs = input<GridColumnInputs['xs'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xs'] });\n /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */\n readonly sm = input<GridColumnInputs['sm'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['sm'] });\n /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */\n readonly md = input<GridColumnInputs['md'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['md'] });\n /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */\n readonly lg = input<GridColumnInputs['lg'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['lg'] });\n /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */\n readonly xl = input<GridColumnInputs['xl'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xl'] });\n /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */\n readonly xxl = input<GridColumnInputs['xxl'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xxl'] });\n\n protected readonly core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsGridComponent } from './grid.component.generated';\nexport { BsGridRowDirective } from './row.directive.generated';\nexport { BsGridColDirective } from './col.directive.generated';\nexport { BsGridColumnDirective } from './column.directive.generated';\n","// bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).\nexport * from './generated';\nexport * from './interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,eAAe,CAAA;AAMjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AARS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,eAAe,GAAG,KAAK,CAAgC,IAAI;4FAAC;QAE5D,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;;AAElK,QAAA,IAAA,CAA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AA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,SAAS;mBAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE;;;ACR/D;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,52 +1,37 @@
1
- import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
2
1
  import * as i0 from '@angular/core';
3
- import { input, computed, inject, HostAttributeToken, ChangeDetectionStrategy, Component } from '@angular/core';
4
- import { useBootstrap, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
5
- import { INPUT_GROUP_SCOPE, inputGroupClasses, inputGroupRole, inputGroupScopedStyles } from '@mintplayer/ui-core/input-group';
2
+ import { inject, ElementRef, input, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
4
+ import { inputGroupCore, inputGroupScopedStyles } from '@mintplayer/ui-core/input-group';
5
+ import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';
6
6
 
7
- /**
8
- * `<bs-input-group>` — joins its children into one visually continuous control.
9
- *
10
- * The host IS Bootstrap's `.input-group` (PRD #437 wave A): its children are
11
- * its direct children, so the baseline's `.input-group > .form-control` rules
12
- * apply as written and a consumer's `aria-*` / `id` already sits on the
13
- * element that carries the role. The scoped sheet adds RTL and the sizing of
14
- * controls rendered inside a framework host (`<bs-select>`).
15
- *
16
- * The role is `group` only when the group is named. The name is read from the
17
- * host's static attributes, so SSR emits the same role; a group named through
18
- * a binding passes `role="group"` itself.
19
- */
7
+ // GENERATED from the input-group manifest (input-group) by @mintplayer/nx-component-compiler. Do not edit.
8
+ /** Bootstrap's input group: joins its children into one visually continuous control. A `label` names it and makes it a `group`. */
20
9
  class BsInputGroupComponent {
10
+ #core;
21
11
  constructor() {
22
- /** Bootstrap sizing; `md` adds no class. */
12
+ /** The host element. */
13
+ this.elementRef = inject(ElementRef);
23
14
  this.size = input('md', /* @ts-ignore */
24
15
  ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
25
- this.scope = INPUT_GROUP_SCOPE;
26
- this.classes = computed(() => inputGroupClasses(this.size()).join(' '), /* @ts-ignore */
27
- ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
28
- this.role = inject(new HostAttributeToken('role'), { optional: true }) ??
29
- inputGroupRole(inject(new HostAttributeToken('aria-label'), { optional: true }) !== null ||
30
- inject(new HostAttributeToken('aria-labelledby'), { optional: true }) !== null);
31
- useBootstrap(bootstrapForms);
32
- useScopedStyles(INPUT_GROUP_SCOPE, inputGroupScopedStyles);
16
+ this.label = input(null, /* @ts-ignore */
17
+ ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
18
+ this.#core = useCore(inputGroupCore, { inputs: () => ({ size: this.size(), label: this.label() }), idPrefix: 'bs-input-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'input-group' }) });
19
+ /** The template's props. */
20
+ this.props = this.#core.props;
21
+ useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order });
22
+ useScopedStyles('input-group', inputGroupScopedStyles);
33
23
  }
34
24
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInputGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsInputGroupComponent, isStandalone: true, selector: "bs-input-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()", "attr.data-mps": "scope", "attr.role": "role" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsInputGroupComponent, isStandalone: true, selector: "bs-input-group", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
26
  }
37
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsInputGroupComponent, decorators: [{
38
28
  type: Component,
39
- args: [{
40
- selector: 'bs-input-group',
41
- template: '<ng-content></ng-content>',
42
- changeDetection: ChangeDetectionStrategy.OnPush,
43
- host: {
44
- '[class]': 'classes()',
45
- '[attr.data-mps]': 'scope',
46
- '[attr.role]': 'role',
47
- },
48
- }]
49
- }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
29
+ args: [{ selector: 'bs-input-group', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
30
+ }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
31
+
32
+ // GENERATED from the input-group manifest by @mintplayer/nx-component-compiler. Do not edit.
33
+
34
+ // Generated from @mintplayer/ui-core/input-group (#458 M3, D10).
50
35
 
51
36
  /**
52
37
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/input-group/input-group.component.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["import { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { ChangeDetectionStrategy, Component, HostAttributeToken, computed, inject, input } from '@angular/core';\nimport { useBootstrap, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport {\n INPUT_GROUP_SCOPE,\n inputGroupClasses,\n inputGroupRole,\n inputGroupScopedStyles,\n type InputGroupSize,\n} from '@mintplayer/ui-core/input-group';\n\nexport type BsInputGroupSize = InputGroupSize;\n\n/**\n * `<bs-input-group>` — joins its children into one visually continuous control.\n *\n * The host IS Bootstrap's `.input-group` (PRD #437 wave A): its children are\n * its direct children, so the baseline's `.input-group > .form-control` rules\n * apply as written and a consumer's `aria-*` / `id` already sits on the\n * element that carries the role. The scoped sheet adds RTL and the sizing of\n * controls rendered inside a framework host (`<bs-select>`).\n *\n * The role is `group` only when the group is named. The name is read from the\n * host's static attributes, so SSR emits the same role; a group named through\n * a binding passes `role=\"group\"` itself.\n */\n@Component({\n selector: 'bs-input-group',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class]': 'classes()',\n '[attr.data-mps]': 'scope',\n '[attr.role]': 'role',\n },\n})\nexport class BsInputGroupComponent {\n /** Bootstrap sizing; `md` adds no class. */\n readonly size = input<BsInputGroupSize>('md');\n\n protected readonly scope = INPUT_GROUP_SCOPE;\n protected readonly classes = computed(() => inputGroupClasses(this.size()).join(' '));\n protected readonly role =\n inject(new HostAttributeToken('role'), { optional: true }) ??\n inputGroupRole(\n inject(new HostAttributeToken('aria-label'), { optional: true }) !== null ||\n inject(new HostAttributeToken('aria-labelledby'), { optional: true }) !== null,\n );\n\n constructor() {\n useBootstrap(bootstrapForms);\n useScopedStyles(INPUT_GROUP_SCOPE, inputGroupScopedStyles);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAaA;;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AgB;AAC1B,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,IAAI,EAAE;AACJ,wBAAA,SAAS,EAAE,WAAW;AACtB,wBAAA,iBAAiB,EAAE,OAAO;AAC1B,wBAAA,aAAa,EAAE,MAAM;AACtB,qBAAA;AACF,iBAAA;;;ACnCD;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-input-group.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/input-group.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/input-group.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/input-group/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/input-group/mintplayer-ng-bootstrap-input-group.ts"],"sourcesContent":["// GENERATED from the input-group manifest (input-group) 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 { inputGroupCore, type InputGroupInputs, inputGroupScopedStyles } from '@mintplayer/ui-core/input-group';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\n\n/** Bootstrap's input group: joins its children into one visually continuous control. A `label` names it and makes it a `group`. */\n@Component({\n selector: 'bs-input-group',\n templateUrl: './input-group.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsInputGroupComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly size = input<InputGroupInputs['size']>('md');\n readonly label = input<InputGroupInputs['label']>(null);\n\n readonly #core = useCore(inputGroupCore, { inputs: () => ({ size: this.size(), label: this.label() }), idPrefix: 'bs-input-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'input-group' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order }); useScopedStyles('input-group', inputGroupScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/input-group/src/templates/input-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the input-group manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsInputGroupComponent } from './input-group.component.generated';\n","// Generated from @mintplayer/ui-core/input-group (#458 M3, D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAMA;MAOa,qBAAqB,CAAA;AAOvB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AATS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA2B,IAAI;iFAAC;QAC5C,IAAA,CAAA,KAAK,GAAG,KAAK,CAA4B,IAAI;kFAAC;QAE9C,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;;AAErL,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,cAAc,CAAC,GAAG,EAAE,cAAc,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,aAAa,EAAE,sBAAsB,CAAC;IAClJ;8GAbW,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,mUCblC,qKAEA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FDWa,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,OAAA,EAEjB,EAAE,EAAA,eAAA,EACM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qKAAA,EAAA;;;AEXjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,59 +1,59 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, ChangeDetectionStrategy, Component, booleanAttribute, contentChildren } from '@angular/core';
3
- import { useBootstrap } from '@mintplayer/ng-bootstrap/machine';
2
+ import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';
4
+ import { listGroupCore, listGroupScopedStyles, listGroupItemCore } from '@mintplayer/ui-core/list-group';
4
5
  import { bootstrapListGroup } from '@mintplayer/ui-core/bootstrap/list-group';
5
6
 
6
- class BsListGroupItemComponent {
7
+ // GENERATED from the list-group manifest (list-group) by @mintplayer/nx-component-compiler. Do not edit.
8
+ /** Bootstrap's list group: a `role="list"` of `list-group-item`s. `flush` drops the outer borders. */
9
+ class BsListGroupComponent {
10
+ #core;
7
11
  constructor() {
8
- this.active = input(false, /* @ts-ignore */
9
- ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
10
- this.disabled = input(false, /* @ts-ignore */
11
- ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
12
- // #452: the list-group partial ships with this component, scoped to the elements it stamps (data-mps="list-group").
13
- useBootstrap(bootstrapListGroup);
12
+ /** The host element. */
13
+ this.elementRef = inject(ElementRef);
14
+ this.flush = input(false, { ...(ngDevMode ? { debugName: "flush" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
15
+ this.#core = useCore(listGroupCore, { inputs: () => ({ flush: this.flush() }), idPrefix: 'bs-list-group', hostBag: (props) => ({ ...props.root, 'data-mps': 'list-group' }) });
16
+ /** The template's props. */
17
+ this.props = this.#core.props;
18
+ useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order });
19
+ useScopedStyles('list-group', listGroupScopedStyles);
14
20
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsListGroupItemComponent, isStandalone: true, selector: "bs-list-group-item", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.data-mps": "\"list-group\"", "class.list-group-item": "true", "class.active": "active()", "class.disabled": "disabled()", "attr.aria-current": "active() ? \"true\" : null", "attr.aria-disabled": "disabled() ? \"true\" : null" } }, ngImport: i0, template: "<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->", styles: [".list-group-item{margin-bottom:-1px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsListGroupComponent, isStandalone: true, selector: "bs-list-group", inputs: { flush: { classPropertyName: "flush", publicName: "flush", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
23
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, decorators: [{
19
25
  type: Component,
20
- args: [{ selector: 'bs-list-group-item', changeDetection: ChangeDetectionStrategy.OnPush, host: {
21
- '[attr.data-mps]': '"list-group"',
22
- '[class.list-group-item]': 'true',
23
- 'role': 'listitem',
24
- '[class.active]': 'active()',
25
- '[class.disabled]': 'disabled()',
26
- // aria-current says WHICH item is current; the .active class alone was
27
- // visual-only. Disabled items are perceivable but marked.
28
- '[attr.aria-current]': 'active() ? "true" : null',
29
- '[attr.aria-disabled]': 'disabled() ? "true" : null',
30
- }, template: "<!-- <li class=\"list-group-item\"> -->\n <ng-content></ng-content>\n<!-- </li> -->", styles: [".list-group-item{margin-bottom:-1px}\n"] }]
31
- }], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
26
+ args: [{ selector: 'bs-list-group', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
27
+ }], ctorParameters: () => [], propDecorators: { flush: [{ type: i0.Input, args: [{ isSignal: true, alias: "flush", required: false }] }] } });
32
28
 
33
- class BsListGroupComponent {
29
+ // GENERATED from the list-group manifest (list-group-item) by @mintplayer/nx-component-compiler. Do not edit.
30
+ /** One item of a list group. `active` marks the current one (`aria-current`); `color` is a contextual colour. */
31
+ class BsListGroupItemComponent {
32
+ #core;
34
33
  constructor() {
35
- /**
36
- * Bootstrap's `.list-group-flush`: no outer borders and no rounded corners, so
37
- * the list sits edge to edge in its container (a card's border frames it).
38
- */
39
- this.flush = input(false, { ...(ngDevMode ? { debugName: "flush" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
40
- this.items = contentChildren(BsListGroupItemComponent, /* @ts-ignore */
41
- ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
42
- // #452: the list-group partial ships with this component, scoped to the elements it stamps (data-mps="list-group").
43
- useBootstrap(bootstrapListGroup);
34
+ /** The host element. */
35
+ this.elementRef = inject(ElementRef);
36
+ this.active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
37
+ this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
38
+ this.color = input(null, /* @ts-ignore */
39
+ ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
40
+ this.#core = useCore(listGroupItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), color: this.color() }), idPrefix: 'bs-list-group-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'list-group' }) });
41
+ /** The template's props. */
42
+ this.props = this.#core.props;
43
+ useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order });
44
+ useScopedStyles('list-group', listGroupScopedStyles);
44
45
  }
45
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
46
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.8", type: BsListGroupComponent, isStandalone: true, selector: "bs-list-group", inputs: { flush: { classPropertyName: "flush", publicName: "flush", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "list" }, properties: { "attr.data-mps": "\"list-group\"", "class.list-group": "true", "class.list-group-flush": "flush()" } }, queries: [{ propertyName: "items", predicate: BsListGroupItemComponent, isSignal: true }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsListGroupItemComponent, isStandalone: true, selector: "bs-list-group-item", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
48
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupComponent, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsListGroupItemComponent, decorators: [{
49
50
  type: Component,
50
- args: [{ selector: 'bs-list-group', changeDetection: ChangeDetectionStrategy.OnPush, host: {
51
- '[attr.data-mps]': '"list-group"',
52
- '[class.list-group]': 'true',
53
- '[class.list-group-flush]': 'flush()',
54
- 'role': 'list',
55
- }, template: "<ng-content></ng-content>\n" }]
56
- }], ctorParameters: () => [], propDecorators: { flush: [{ type: i0.Input, args: [{ isSignal: true, alias: "flush", required: false }] }], items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => BsListGroupItemComponent), { isSignal: true }] }] } });
51
+ args: [{ selector: 'bs-list-group-item', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/list-group/src/templates/list-group-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
52
+ }], ctorParameters: () => [], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
53
+
54
+ // GENERATED from the list-group manifest by @mintplayer/nx-component-compiler. Do not edit.
55
+
56
+ // Generated from @mintplayer/ui-core/list-group (#458 D10).
57
57
 
58
58
  /**
59
59
  * Generated bundle index. Do not edit.