@mintplayer/ng-bootstrap 22.32.0 → 22.34.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 +5 -9
  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 +7 -9
  18. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +12 -14
  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 +8 -8
  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 +7 -7
  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 +15 -27
  36. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +6 -10
  38. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +7 -9
  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 +201 -18
  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 +13 -15
  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 +8 -16
  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 +49 -65
  104. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  105. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +16 -24
  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 +9 -9
  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 +7 -9
  114. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  115. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +7 -7
  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 +13 -17
  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 +10 -12
  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 +101 -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
@@ -36,7 +36,7 @@ class BsDatepickerValueAccessor {
36
36
  ngOnInit() {
37
37
  // The component is created after its host directives, so it is looked up here.
38
38
  const component = (this.component = this.injector.get(BsDatepickerComponent));
39
- const sub = component.selecteddatechange.subscribe((value) => {
39
+ const sub = component.selectedDate.subscribe((value) => {
40
40
  if (!this.bound() || isSameDate(value, this.viewValue()))
41
41
  return;
42
42
  this.viewValue.set(value);
@@ -151,7 +151,7 @@ class BsDatepickerComponent {
151
151
  ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
152
152
  this.disableDateFn = input(null, /* @ts-ignore */
153
153
  ...(ngDevMode ? [{ debugName: "disableDateFn" }] : /* istanbul ignore next */ []));
154
- this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
154
+ this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 1 : numberAttribute(v)) });
155
155
  this.locale = input(null, /* @ts-ignore */
156
156
  ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
157
157
  this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
@@ -169,13 +169,9 @@ class BsDatepickerComponent {
169
169
  ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
170
170
  this.calendarLabels = input(null, /* @ts-ignore */
171
171
  ...(ngDevMode ? [{ debugName: "calendarLabels" }] : /* istanbul ignore next */ []));
172
- /** A day picked in the grid, or typed into the field before hydration. */
173
- this.selecteddatechange = output();
174
- /** The grid moved to another month. */
175
- this.currentmonthchange = output();
176
172
  /** The popup opened (true) or closed (false). */
177
- this.openchange = output();
178
- this.#core = useCore(datepickerCore, { inputs: extendInputs(() => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), disabled: this.disabled(), placeholder: this.placeholder(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datepicker', outputs: { selectedDateChange: this.selecteddatechange, currentMonthChange: this.currentmonthchange, openChange: this.openchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: { selectedDate: this.selectedDate, currentMonth: this.currentMonth } });
173
+ this.openChange = output();
174
+ this.#core = useCore(datepickerCore, { inputs: extendInputs(() => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), disabled: this.disabled(), placeholder: this.placeholder(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datepicker', outputs: { openChange: this.openChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: { selectedDate: this.selectedDate, currentMonth: this.currentMonth } });
179
175
  /** The template's props. */
180
176
  this.props = this.#core.props;
181
177
  useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order });
@@ -190,12 +186,12 @@ class BsDatepickerComponent {
190
186
  return this.#core.call('close', args);
191
187
  }
192
188
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
193
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatepickerComponent, isStandalone: true, selector: "bs-datepicker", inputs: { selectedDate: { classPropertyName: "selectedDate", publicName: "selectedDate", isSignal: true, isRequired: false, transformFunction: null }, currentMonth: { classPropertyName: "currentMonth", publicName: "currentMonth", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disableDateFn: { classPropertyName: "disableDateFn", publicName: "disableDateFn", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "firstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, calendarLabels: { classPropertyName: "calendarLabels", publicName: "calendarLabels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedDate: "selectedDateChange", currentMonth: "currentMonthChange", selecteddatechange: "selecteddatechange", currentmonthchange: "currentmonthchange", openchange: "openchange" }, hostDirectives: [{ directive: BsDatepickerValueAccessor }, { directive: i2.BsControlValidityDirective, inputs: ["errorMessages", "errorMessages"] }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datepicker/src/templates/datepicker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.trigger) {\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.trigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.popup\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datepicker\">\n <tr data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datepicker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datepicker\" [mpProps]=\"week.row\">\n <th data-mps=\"datepicker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datepicker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datepicker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
189
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatepickerComponent, isStandalone: true, selector: "bs-datepicker", inputs: { selectedDate: { classPropertyName: "selectedDate", publicName: "selectedDate", isSignal: true, isRequired: false, transformFunction: null }, currentMonth: { classPropertyName: "currentMonth", publicName: "currentMonth", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disableDateFn: { classPropertyName: "disableDateFn", publicName: "disableDateFn", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "firstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, calendarLabels: { classPropertyName: "calendarLabels", publicName: "calendarLabels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedDate: "selectedDateChange", currentMonth: "currentMonthChange", openChange: "openChange" }, hostDirectives: [{ directive: BsDatepickerValueAccessor }, { directive: i2.BsControlValidityDirective, inputs: ["errorMessages", "errorMessages"] }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datepicker/src/templates/datepicker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.trigger) {\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.trigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.popup\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datepicker\">\n <tr data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datepicker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datepicker\" [mpProps]=\"week.row\">\n <th data-mps=\"datepicker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datepicker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datepicker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
194
190
  }
195
191
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatepickerComponent, decorators: [{
196
192
  type: Component,
197
193
  args: [{ selector: 'bs-datepicker', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: hostDirectives, template: "<!-- GENERATED from libs/mintplayer-ui-core/datepicker/src/templates/datepicker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.trigger) {\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.trigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.popup\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datepicker\">\n <tr data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datepicker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datepicker\" [mpProps]=\"week.row\">\n <th data-mps=\"datepicker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datepicker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datepicker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n</div>\n" }]
198
- }], ctorParameters: () => [], propDecorators: { selectedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedDate", required: false }] }, { type: i0.Output, args: ["selectedDateChange"] }], currentMonth: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentMonth", required: false }] }, { type: i0.Output, args: ["currentMonthChange"] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disableDateFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableDateFn", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], calendarLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "calendarLabels", required: false }] }], selecteddatechange: [{ type: i0.Output, args: ["selecteddatechange"] }], currentmonthchange: [{ type: i0.Output, args: ["currentmonthchange"] }], openchange: [{ type: i0.Output, args: ["openchange"] }] } });
194
+ }], ctorParameters: () => [], propDecorators: { selectedDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedDate", required: false }] }, { type: i0.Output, args: ["selectedDateChange"] }], currentMonth: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentMonth", required: false }] }, { type: i0.Output, args: ["currentMonthChange"] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disableDateFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableDateFn", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], calendarLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "calendarLabels", required: false }] }], openChange: [{ type: i0.Output, args: ["openChange"] }] } });
199
195
 
200
196
  // GENERATED from the datepicker manifest by @mintplayer/nx-component-compiler. Do not edit.
201
197
 
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-datepicker.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datepicker/src/value-accessor/datepicker-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/datepicker.angular.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/datepicker.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/datepicker.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/mintplayer-ng-bootstrap-datepicker.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, effect, forwardRef, inject, signal, untracked } from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { dateOnly, isSameDate } from '@mintplayer/ui-core/calendar';\nimport { BsDatepickerComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` and `Validator` of `bs-datepicker` (a host\n * directive of the generated component, see `datepicker.angular.ts`). A bound\n * form control drives the picked day through `viewValue`; a pick reaches the\n * form through the component's `selectedDate` model, which a form write never\n * echoes. A null form value clears the field.\n *\n * Validation: `min` / `max` (`{ min, actual }`, `{ max, actual }`) and\n * `disabledDate` (the value is a day `disableDateFn` refuses).\n */\n@Directive({\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsDatepickerValueAccessor), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => BsDatepickerValueAccessor), multi: true },\n ],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsDatepickerValueAccessor implements ControlValueAccessor, Validator, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private component?: BsDatepickerComponent;\n\n /** A form control drives the day: its `viewValue` wins over the `selectedDate` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<Date | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: Date | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n private onValidatorChange: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const component = (this.component = this.injector.get(BsDatepickerComponent));\n const sub = component.selecteddatechange.subscribe((value) => {\n if (!this.bound() || isSameDate(value, this.viewValue())) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n // The limits are inputs: a change re-runs validation.\n effect(\n () => {\n component.min();\n component.max();\n component.disableDateFn();\n untracked(() => this.onValidatorChange());\n },\n { injector: this.injector },\n );\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n registerOnChange(fn: (value: Date | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: Date | null | undefined): void {\n this.viewValue.set(value instanceof Date ? value : null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n\n validate(control: AbstractControl): ValidationErrors | null {\n const value = control.value;\n const component = this.component;\n if (!(value instanceof Date) || !component) return null;\n const day = dateOnly(value);\n const min = component.min();\n const max = component.max();\n const disable = component.disableDateFn();\n const errors: ValidationErrors = {\n ...(min && day < dateOnly(min) ? { min: { min, actual: value } } : {}),\n ...(max && day > dateOnly(max) ? { max: { max, actual: value } } : {}),\n ...(disable?.(value) ? { disabledDate: true } : {}),\n };\n return Object.keys(errors).length ? errors : null;\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { DatepickerInputs } from '@mintplayer/ui-core/datepicker';\nimport { BsDatepickerValueAccessor } from './value-accessor/datepicker-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-datepicker` (PRD #437 D10 escape\n * hatch): Angular forms. A bound form control drives the picked day and the\n * disabled state, its validity reaches the field's ARIA and message, and it is\n * validated against min, max and disableDateFn.\n */\n\nexport const hostDirectives = [\n BsDatepickerValueAccessor,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => DatepickerInputs): () => DatepickerInputs {\n const accessor = inject(BsDatepickerValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<DatepickerInputs>(() => {\n const value = inputs();\n return {\n ...value,\n selectedDate: accessor.bound() ? accessor.viewValue() : value.selectedDate,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the datepicker manifest (datepicker) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { datepickerCore, type DatepickerInputs, type DatepickerMethods, datepickerScopedStyles } from '@mintplayer/ui-core/datepicker';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../datepicker.angular';\n\n/**\n * A date field with a month-grid popup (#437): the APG date picker dialog.\n *\n * With JavaScript off it is a native date field that submits `name` as YYYY-MM-DD. Once\n * hydrated the field becomes a readonly display, a button opens the grid in a native popover,\n * and a hidden input carries the submitted value.\n */\n@Component({\n selector: 'bs-datepicker',\n templateUrl: './datepicker.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDatepickerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedDate = model<DatepickerInputs['selectedDate']>(null);\n readonly currentMonth = model<DatepickerInputs['currentMonth']>(null);\n readonly min = input<DatepickerInputs['min']>(null);\n readonly max = input<DatepickerInputs['max']>(null);\n readonly disableDateFn = input<DatepickerInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<DatepickerInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => numberAttribute(v) as DatepickerInputs['firstDayOfWeek'] });\n readonly locale = input<DatepickerInputs['locale']>(null);\n readonly disabled = input<DatepickerInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<DatepickerInputs['placeholder']>(null);\n readonly required = input<DatepickerInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<DatepickerInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<DatepickerInputs['errorText']>(null);\n readonly inputLabel = input<DatepickerInputs['inputLabel']>(null);\n readonly name = input<DatepickerInputs['name']>(null);\n readonly labels = input<DatepickerInputs['labels']>(null);\n readonly calendarLabels = input<DatepickerInputs['calendarLabels']>(null);\n /** A day picked in the grid, or typed into the field before hydration. */\n readonly selecteddatechange = output<Date>();\n /** The grid moved to another month. */\n readonly currentmonthchange = output<Date>();\n /** The popup opened (true) or closed (false). */\n readonly openchange = output<boolean>();\n\n readonly #core = useCore(datepickerCore, { inputs: ext_extendInputs(() => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), disabled: this.disabled(), placeholder: this.placeholder(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datepicker', outputs: { selectedDateChange: this.selecteddatechange, currentMonthChange: this.currentmonthchange, openChange: this.openchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: { selectedDate: this.selectedDate, currentMonth: this.currentMonth } });\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('datepicker', datepickerScopedStyles);\n }\n\n /** Open the grid (ignored when disabled). */\n open(...args: Parameters<DatepickerMethods['open']>): ReturnType<DatepickerMethods['open']> {\n return this.#core.call('open', args) as ReturnType<DatepickerMethods['open']>;\n }\n\n /** Close the grid. */\n close(...args: Parameters<DatepickerMethods['close']>): ReturnType<DatepickerMethods['close']> {\n return this.#core.call('close', args) as ReturnType<DatepickerMethods['close']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datepicker/src/templates/datepicker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.trigger) {\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.trigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.popup\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datepicker\">\n <tr data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datepicker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datepicker\" [mpProps]=\"week.row\">\n <th data-mps=\"datepicker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datepicker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datepicker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n</div>\n","// GENERATED from the datepicker manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatepickerComponent } from './datepicker.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsDatepickerValueAccessor","ext_hostDirectives"],"mappings":";;;;;;;;;;AAYA;;;;;;;;;AASG;MAUU,yBAAyB,CAAA;AATtC,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAIvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAc,IAAI;sFAAC;QACrC,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA,QAAQ,GAAiC,MAAM,SAAS;AAChE,QAAA,IAAA,CAAA,SAAS,GAAe,MAAM,SAA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AAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,oBAAA,EAAA,YAAA,EAAA,oBAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAC,yBAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrBlC,+7EA2DA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED1CY,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,eAAe,EAAA,OAAA,EAEhB,CAAC,gBAAgB,CAAC,mBACV,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,+7EAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-datepicker.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datepicker/src/value-accessor/datepicker-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/datepicker.angular.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/datepicker.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/datepicker.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datepicker/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datepicker/mintplayer-ng-bootstrap-datepicker.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, effect, forwardRef, inject, signal, untracked } from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { dateOnly, isSameDate } from '@mintplayer/ui-core/calendar';\nimport { BsDatepickerComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` and `Validator` of `bs-datepicker` (a host\n * directive of the generated component, see `datepicker.angular.ts`). A bound\n * form control drives the picked day through `viewValue`; a pick reaches the\n * form through the component's `selectedDate` model, which a form write never\n * echoes. A null form value clears the field.\n *\n * Validation: `min` / `max` (`{ min, actual }`, `{ max, actual }`) and\n * `disabledDate` (the value is a day `disableDateFn` refuses).\n */\n@Directive({\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsDatepickerValueAccessor), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => BsDatepickerValueAccessor), multi: true },\n ],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsDatepickerValueAccessor implements ControlValueAccessor, Validator, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private component?: BsDatepickerComponent;\n\n /** A form control drives the day: its `viewValue` wins over the `selectedDate` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<Date | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: Date | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n private onValidatorChange: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const component = (this.component = this.injector.get(BsDatepickerComponent));\n const sub = component.selectedDate.subscribe((value) => {\n if (!this.bound() || isSameDate(value, this.viewValue())) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n // The limits are inputs: a change re-runs validation.\n effect(\n () => {\n component.min();\n component.max();\n component.disableDateFn();\n untracked(() => this.onValidatorChange());\n },\n { injector: this.injector },\n );\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n registerOnChange(fn: (value: Date | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n writeValue(value: Date | null | undefined): void {\n this.viewValue.set(value instanceof Date ? value : null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n\n validate(control: AbstractControl): ValidationErrors | null {\n const value = control.value;\n const component = this.component;\n if (!(value instanceof Date) || !component) return null;\n const day = dateOnly(value);\n const min = component.min();\n const max = component.max();\n const disable = component.disableDateFn();\n const errors: ValidationErrors = {\n ...(min && day < dateOnly(min) ? { min: { min, actual: value } } : {}),\n ...(max && day > dateOnly(max) ? { max: { max, actual: value } } : {}),\n ...(disable?.(value) ? { disabledDate: true } : {}),\n };\n return Object.keys(errors).length ? errors : null;\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { DatepickerInputs } from '@mintplayer/ui-core/datepicker';\nimport { BsDatepickerValueAccessor } from './value-accessor/datepicker-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-datepicker` (PRD #437 D10 escape\n * hatch): Angular forms. A bound form control drives the picked day and the\n * disabled state, its validity reaches the field's ARIA and message, and it is\n * validated against min, max and disableDateFn.\n */\n\nexport const hostDirectives = [\n BsDatepickerValueAccessor,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => DatepickerInputs): () => DatepickerInputs {\n const accessor = inject(BsDatepickerValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<DatepickerInputs>(() => {\n const value = inputs();\n return {\n ...value,\n selectedDate: accessor.bound() ? accessor.viewValue() : value.selectedDate,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the datepicker manifest (datepicker) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { datepickerCore, type DatepickerInputs, type DatepickerMethods, datepickerScopedStyles } from '@mintplayer/ui-core/datepicker';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../datepicker.angular';\n\n/**\n * A date field with a month-grid popup (#437): the APG date picker dialog.\n *\n * With JavaScript off it is a native date field that submits `name` as YYYY-MM-DD. Once\n * hydrated the field becomes a readonly display, a button opens the grid in a native popover,\n * and a hidden input carries the submitted value.\n */\n@Component({\n selector: 'bs-datepicker',\n templateUrl: './datepicker.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDatepickerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly selectedDate = model<DatepickerInputs['selectedDate']>(null);\n readonly currentMonth = model<DatepickerInputs['currentMonth']>(null);\n readonly min = input<DatepickerInputs['min']>(null);\n readonly max = input<DatepickerInputs['max']>(null);\n readonly disableDateFn = input<DatepickerInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<DatepickerInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => (v == null || v === '' ? 1 : numberAttribute(v)) as DatepickerInputs['firstDayOfWeek'] });\n readonly locale = input<DatepickerInputs['locale']>(null);\n readonly disabled = input<DatepickerInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly placeholder = input<DatepickerInputs['placeholder']>(null);\n readonly required = input<DatepickerInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<DatepickerInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<DatepickerInputs['errorText']>(null);\n readonly inputLabel = input<DatepickerInputs['inputLabel']>(null);\n readonly name = input<DatepickerInputs['name']>(null);\n readonly labels = input<DatepickerInputs['labels']>(null);\n readonly calendarLabels = input<DatepickerInputs['calendarLabels']>(null);\n /** The popup opened (true) or closed (false). */\n readonly openChange = output<boolean>();\n\n readonly #core = useCore(datepickerCore, { inputs: ext_extendInputs(() => ({ selectedDate: this.selectedDate(), currentMonth: this.currentMonth(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), disabled: this.disabled(), placeholder: this.placeholder(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datepicker', outputs: { openChange: this.openChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datepicker' }), models: {selectedDate: this.selectedDate, currentMonth: this.currentMonth } });\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('datepicker', datepickerScopedStyles);\n }\n\n /** Open the grid (ignored when disabled). */\n open(...args: Parameters<DatepickerMethods['open']>): ReturnType<DatepickerMethods['open']> {\n return this.#core.call('open', args) as ReturnType<DatepickerMethods['open']>;\n }\n\n /** Close the grid. */\n close(...args: Parameters<DatepickerMethods['close']>): ReturnType<DatepickerMethods['close']> {\n return this.#core.call('close', args) as ReturnType<DatepickerMethods['close']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datepicker/src/templates/datepicker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datepicker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.trigger) {\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.trigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datepicker\" [mpProps]=\"p_view.popup\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datepicker\">\n <tr data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datepicker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datepicker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datepicker\" [mpProps]=\"week.row\">\n <th data-mps=\"datepicker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datepicker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datepicker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n</div>\n","// GENERATED from the datepicker manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatepickerComponent } from './datepicker.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsDatepickerValueAccessor","ext_hostDirectives"],"mappings":";;;;;;;;;;AAYA;;;;;;;;;AASG;MAUU,yBAAyB,CAAA;AATtC,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAIvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAc,IAAI;sFAAC;QACrC,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA,QAAQ,GAAiC,MAAM,SAAS;AAChE,QAAA,IAAA,CAAA,SAAS,GAAe,MAAM,SAAS;AAC/B,QAAA,IAAA,CAAA,iBAAiB,GAAe,MAAM,SAAS;AA2DxD,IAAA;IAzDC,QAAQ,GAAA;;AAEN,QAAA,MAAM,SAAS,IAAI,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;QAC7E,MAAM,GAAG,GAAG,SAAS,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,KAAK,KAAI;AACrD,YAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;gBAAE;AAC1D,YAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC;AACzB,YAAA,IAA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A,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;+BACE,eAAe,EAAA,OAAA,EAEhB,CAAC,gBAAgB,CAAC,mBACV,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,+7EAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
@@ -36,7 +36,7 @@ class BsDatetimePickerValueAccessor {
36
36
  ngOnInit() {
37
37
  // The component is created after its host directives, so it is looked up here.
38
38
  const component = (this.component = this.injector.get(BsDatetimePickerComponent));
39
- const sub = component.valuechange.subscribe((value) => {
39
+ const sub = component.value.subscribe((value) => {
40
40
  if (!this.bound() || value?.getTime() === this.viewValue()?.getTime())
41
41
  return;
42
42
  this.viewValue.set(value);
@@ -148,12 +148,12 @@ class BsDatetimePickerComponent {
148
148
  ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
149
149
  this.disableDateFn = input(null, /* @ts-ignore */
150
150
  ...(ngDevMode ? [{ debugName: "disableDateFn" }] : /* istanbul ignore next */ []));
151
- this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
151
+ this.firstDayOfWeek = input(1, { ...(ngDevMode ? { debugName: "firstDayOfWeek" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 1 : numberAttribute(v)) });
152
152
  this.locale = input(null, /* @ts-ignore */
153
153
  ...(ngDevMode ? [{ debugName: "locale" }] : /* istanbul ignore next */ []));
154
154
  this.hour12 = input('auto', /* @ts-ignore */
155
155
  ...(ngDevMode ? [{ debugName: "hour12" }] : /* istanbul ignore next */ []));
156
- this.step = input(15, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
156
+ this.step = input(15, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? 15 : numberAttribute(v)) });
157
157
  this.defaultTime = input({ hour: 0, minute: 0 }, /* @ts-ignore */
158
158
  ...(ngDevMode ? [{ debugName: "defaultTime" }] : /* istanbul ignore next */ []));
159
159
  this.placeholder = input(null, /* @ts-ignore */
@@ -172,11 +172,9 @@ class BsDatetimePickerComponent {
172
172
  ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
173
173
  this.calendarLabels = input(null, /* @ts-ignore */
174
174
  ...(ngDevMode ? [{ debugName: "calendarLabels" }] : /* istanbul ignore next */ []));
175
- /** The value changed by the user: a picked day or time, Today, Now, clear. */
176
- this.valuechange = output();
177
175
  /** Which popup is open now: 'date', 'time', or null. */
178
- this.openchange = output();
179
- this.#core = useCore(datetimePickerCore, { inputs: extendInputs(() => ({ value: this.value(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), hour12: this.hour12(), step: this.step(), defaultTime: this.defaultTime(), placeholder: this.placeholder(), showClear: this.showClear(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datetime-picker', outputs: { valueChange: this.valuechange, openChange: this.openchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datetime-picker' }), models: { value: this.value } });
176
+ this.openChange = output();
177
+ this.#core = useCore(datetimePickerCore, { inputs: extendInputs(() => ({ value: this.value(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), hour12: this.hour12(), step: this.step(), defaultTime: this.defaultTime(), placeholder: this.placeholder(), showClear: this.showClear(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datetime-picker', outputs: { openChange: this.openChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datetime-picker' }), models: { value: this.value } });
180
178
  /** The template's props. */
181
179
  this.props = this.#core.props;
182
180
  useScopedStyles(bootstrapForms.key, bootstrapForms.css, { order: bootstrapForms.order });
@@ -199,12 +197,12 @@ class BsDatetimePickerComponent {
199
197
  return this.#core.call('clear', args);
200
198
  }
201
199
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatetimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
202
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatetimePickerComponent, isStandalone: true, selector: "bs-datetime-picker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disableDateFn: { classPropertyName: "disableDateFn", publicName: "disableDateFn", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "firstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, hour12: { classPropertyName: "hour12", publicName: "hour12", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, defaultTime: { classPropertyName: "defaultTime", publicName: "defaultTime", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, calendarLabels: { classPropertyName: "calendarLabels", publicName: "calendarLabels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", valuechange: "valuechange", openchange: "openchange" }, hostDirectives: [{ directive: BsDatetimePickerValueAccessor }, { directive: i2.BsControlValidityDirective, inputs: ["errorMessages", "errorMessages"] }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datetime-picker/src/templates/datetime-picker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.clear) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.clear\"></button>\n }\n @if (p_view.dateTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateTrigger\"></button>\n }\n @if (p_view.timeTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeTrigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.live\">\n {{ p_view.liveText }}\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.datePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datetime-picker\">\n <tr data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datetime-picker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datetime-picker\" [mpProps]=\"week.row\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datetime-picker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datetime-picker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.today\">\n {{ p_view.todayText }}\n </button>\n </div>\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.root\">\n <ul data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.list\">\n @for (slot of p_view.timeList.slots; track slot.key) {\n <li data-mps=\"datetime-picker\" [mpProps]=\"slot.item\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"slot.option\">\n {{ slot.text }}\n </button>\n </li>\n }\n </ul>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.now\">\n {{ p_view.nowText }}\n </button>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
200
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatetimePickerComponent, isStandalone: true, selector: "bs-datetime-picker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disableDateFn: { classPropertyName: "disableDateFn", publicName: "disableDateFn", isSignal: true, isRequired: false, transformFunction: null }, firstDayOfWeek: { classPropertyName: "firstDayOfWeek", publicName: "firstDayOfWeek", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, hour12: { classPropertyName: "hour12", publicName: "hour12", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, defaultTime: { classPropertyName: "defaultTime", publicName: "defaultTime", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, calendarLabels: { classPropertyName: "calendarLabels", publicName: "calendarLabels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", openChange: "openChange" }, hostDirectives: [{ directive: BsDatetimePickerValueAccessor }, { directive: i2.BsControlValidityDirective, inputs: ["errorMessages", "errorMessages"] }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datetime-picker/src/templates/datetime-picker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.clear) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.clear\"></button>\n }\n @if (p_view.dateTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateTrigger\"></button>\n }\n @if (p_view.timeTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeTrigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.live\">\n {{ p_view.liveText }}\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.datePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datetime-picker\">\n <tr data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datetime-picker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datetime-picker\" [mpProps]=\"week.row\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datetime-picker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datetime-picker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.today\">\n {{ p_view.todayText }}\n </button>\n </div>\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.root\">\n <ul data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.list\">\n @for (slot of p_view.timeList.slots; track slot.key) {\n <li data-mps=\"datetime-picker\" [mpProps]=\"slot.item\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"slot.option\">\n {{ slot.text }}\n </button>\n </li>\n }\n </ul>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.now\">\n {{ p_view.nowText }}\n </button>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
203
201
  }
204
202
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatetimePickerComponent, decorators: [{
205
203
  type: Component,
206
204
  args: [{ selector: 'bs-datetime-picker', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: hostDirectives, template: "<!-- GENERATED from libs/mintplayer-ui-core/datetime-picker/src/templates/datetime-picker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.clear) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.clear\"></button>\n }\n @if (p_view.dateTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateTrigger\"></button>\n }\n @if (p_view.timeTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeTrigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.live\">\n {{ p_view.liveText }}\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.datePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datetime-picker\">\n <tr data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datetime-picker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datetime-picker\" [mpProps]=\"week.row\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datetime-picker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datetime-picker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.today\">\n {{ p_view.todayText }}\n </button>\n </div>\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.root\">\n <ul data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.list\">\n @for (slot of p_view.timeList.slots; track slot.key) {\n <li data-mps=\"datetime-picker\" [mpProps]=\"slot.item\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"slot.option\">\n {{ slot.text }}\n </button>\n </li>\n }\n </ul>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.now\">\n {{ p_view.nowText }}\n </button>\n </div>\n</div>\n" }]
207
- }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disableDateFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableDateFn", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], hour12: [{ type: i0.Input, args: [{ isSignal: true, alias: "hour12", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], defaultTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultTime", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], calendarLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "calendarLabels", required: false }] }], valuechange: [{ type: i0.Output, args: ["valuechange"] }], openchange: [{ type: i0.Output, args: ["openchange"] }] } });
205
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disableDateFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableDateFn", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], hour12: [{ type: i0.Input, args: [{ isSignal: true, alias: "hour12", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], defaultTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultTime", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], errorText: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorText", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], calendarLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "calendarLabels", required: false }] }], openChange: [{ type: i0.Output, args: ["openChange"] }] } });
208
206
 
209
207
  // GENERATED from the datetime-picker manifest by @mintplayer/nx-component-compiler. Do not edit.
210
208
 
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-datetime-picker.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/value-accessor/datetime-picker-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/datetime-picker.angular.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/datetime-picker.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/datetime-picker.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/mintplayer-ng-bootstrap-datetime-picker.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, effect, forwardRef, inject, signal, untracked } from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { BsDatetimePickerComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` and `Validator` of `bs-datetime-picker` (a host\n * directive of the generated component, see `datetime-picker.angular.ts`). A\n * bound form control drives the value through `viewValue`; a user's change\n * reaches the form through the component's `value` model, which a form write\n * never echoes.\n *\n * Validation: `min` / `max` compare the full date and time (`{ min, actual }`,\n * `{ max, actual }`), the same bounds the grid and the list enforce, and\n * `disabledDate` reports a day `disableDateFn` refuses.\n */\n@Directive({\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsDatetimePickerValueAccessor), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => BsDatetimePickerValueAccessor), multi: true },\n ],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsDatetimePickerValueAccessor implements ControlValueAccessor, Validator, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private component?: BsDatetimePickerComponent;\n\n /** A form control drives the value: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<Date | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: Date | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n private onValidatorChange: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const component = (this.component = this.injector.get(BsDatetimePickerComponent));\n const sub = component.valuechange.subscribe((value) => {\n if (!this.bound() || value?.getTime() === this.viewValue()?.getTime()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n // The limits are inputs: a change re-runs validation.\n effect(\n () => {\n component.min();\n component.max();\n component.disableDateFn();\n untracked(() => this.onValidatorChange());\n },\n { injector: this.injector },\n );\n }\n\n registerOnChange(fn: (value: Date | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n writeValue(value: Date | null | undefined): void {\n this.viewValue.set(value instanceof Date ? value : null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n\n validate(control: AbstractControl): ValidationErrors | null {\n const value = control.value;\n const component = this.component;\n if (!(value instanceof Date) || !component) return null;\n const min = component.min();\n const max = component.max();\n const disable = component.disableDateFn();\n const errors: ValidationErrors = {\n ...(min && value.getTime() < min.getTime() ? { min: { min, actual: value } } : {}),\n ...(max && value.getTime() > max.getTime() ? { max: { max, actual: value } } : {}),\n ...(disable?.(value) ? { disabledDate: true } : {}),\n };\n return Object.keys(errors).length ? errors : null;\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { DatetimePickerInputs } from '@mintplayer/ui-core/datetime-picker';\nimport { BsDatetimePickerValueAccessor } from './value-accessor/datetime-picker-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-datetime-picker` (PRD #437 D10\n * escape hatch): Angular forms. A bound form control drives the value and the\n * disabled state, its validity reaches the field's ARIA and message, and it is\n * validated against min, max and disableDateFn.\n */\n\nexport const hostDirectives = [\n BsDatetimePickerValueAccessor,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => DatetimePickerInputs): () => DatetimePickerInputs {\n const accessor = inject(BsDatetimePickerValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<DatetimePickerInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the datetime-picker manifest (datetime-picker) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { datetimePickerCore, type DatetimePickerInputs, type DatetimePickerMethods, datetimePickerScopedStyles, type DatetimePopup } from '@mintplayer/ui-core/datetime-picker';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../datetime-picker.angular';\n\n/**\n * A date-and-time field with a month-grid popup and a slot-list popup (#437).\n *\n * With JavaScript off it is a native datetime-local field that submits `name` as\n * YYYY-MM-DDTHH:MM. Once hydrated the field becomes a readonly display, two buttons open the\n * grid and the list in native popovers, and a hidden input carries the submitted value.\n */\n@Component({\n selector: 'bs-datetime-picker',\n templateUrl: './datetime-picker.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDatetimePickerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly value = model<DatetimePickerInputs['value']>(null);\n readonly min = input<DatetimePickerInputs['min']>(null);\n readonly max = input<DatetimePickerInputs['max']>(null);\n readonly disableDateFn = input<DatetimePickerInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<DatetimePickerInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => numberAttribute(v) as DatetimePickerInputs['firstDayOfWeek'] });\n readonly locale = input<DatetimePickerInputs['locale']>(null);\n readonly hour12 = input<DatetimePickerInputs['hour12']>('auto');\n readonly step = input<DatetimePickerInputs['step'], unknown>(15, { transform: (v: unknown) => numberAttribute(v) as DatetimePickerInputs['step'] });\n readonly defaultTime = input<DatetimePickerInputs['defaultTime']>({ hour: 0, minute: 0 });\n readonly placeholder = input<DatetimePickerInputs['placeholder']>(null);\n readonly showClear = input<DatetimePickerInputs['showClear'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DatetimePickerInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<DatetimePickerInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<DatetimePickerInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<DatetimePickerInputs['errorText']>(null);\n readonly inputLabel = input<DatetimePickerInputs['inputLabel']>(null);\n readonly name = input<DatetimePickerInputs['name']>(null);\n readonly labels = input<DatetimePickerInputs['labels']>(null);\n readonly calendarLabels = input<DatetimePickerInputs['calendarLabels']>(null);\n /** The value changed by the user: a picked day or time, Today, Now, clear. */\n readonly valuechange = output<Date | null>();\n /** Which popup is open now: 'date', 'time', or null. */\n readonly openchange = output<DatetimePopup>();\n\n readonly #core = useCore(datetimePickerCore, { inputs: ext_extendInputs(() => ({ value: this.value(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), hour12: this.hour12(), step: this.step(), defaultTime: this.defaultTime(), placeholder: this.placeholder(), showClear: this.showClear(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datetime-picker', outputs: { valueChange: this.valuechange, openChange: this.openchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datetime-picker' }), models: { value: this.value } });\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('datetime-picker', datetimePickerScopedStyles);\n }\n\n /** Open the month grid (ignored when disabled). */\n openDate(...args: Parameters<DatetimePickerMethods['openDate']>): ReturnType<DatetimePickerMethods['openDate']> {\n return this.#core.call('openDate', args) as ReturnType<DatetimePickerMethods['openDate']>;\n }\n\n /** Open the slot list (ignored when disabled). */\n openTime(...args: Parameters<DatetimePickerMethods['openTime']>): ReturnType<DatetimePickerMethods['openTime']> {\n return this.#core.call('openTime', args) as ReturnType<DatetimePickerMethods['openTime']>;\n }\n\n /** Close whichever popup is open. */\n closePopups(...args: Parameters<DatetimePickerMethods['closePopups']>): ReturnType<DatetimePickerMethods['closePopups']> {\n return this.#core.call('closePopups', args) as ReturnType<DatetimePickerMethods['closePopups']>;\n }\n\n /** Clear the value (ignored when disabled). */\n clear(...args: Parameters<DatetimePickerMethods['clear']>): ReturnType<DatetimePickerMethods['clear']> {\n return this.#core.call('clear', args) as ReturnType<DatetimePickerMethods['clear']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datetime-picker/src/templates/datetime-picker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.clear) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.clear\"></button>\n }\n @if (p_view.dateTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateTrigger\"></button>\n }\n @if (p_view.timeTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeTrigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.live\">\n {{ p_view.liveText }}\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.datePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datetime-picker\">\n <tr data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datetime-picker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datetime-picker\" [mpProps]=\"week.row\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datetime-picker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datetime-picker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.today\">\n {{ p_view.todayText }}\n </button>\n </div>\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.root\">\n <ul data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.list\">\n @for (slot of p_view.timeList.slots; track slot.key) {\n <li data-mps=\"datetime-picker\" [mpProps]=\"slot.item\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"slot.option\">\n {{ slot.text }}\n </button>\n </li>\n }\n </ul>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.now\">\n {{ p_view.nowText }}\n </button>\n </div>\n</div>\n","// GENERATED from the datetime-picker manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatetimePickerComponent } from './datetime-picker.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsDatetimePickerValueAccessor","ext_hostDirectives"],"mappings":";;;;;;;;;AAWA;;;;;;;;;;AAUG;MAUU,6BAA6B,CAAA;AAT1C,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAIvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAc,IAAI;sFAAC;QACrC,IAAA,CAAA,QAAQ,GAA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AA,iBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,KAAA,EAAA,aAAA,EAAA,WAAA,EAAA,aAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAAC,6BAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrBtC,4wHA2FA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED1EY,gBAAgB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EAErB,CAAC,gBAAgB,CAAC,mBACV,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,4wHAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-datetime-picker.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/value-accessor/datetime-picker-value-accessor.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/datetime-picker.angular.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/datetime-picker.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/datetime-picker.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datetime-picker/mintplayer-ng-bootstrap-datetime-picker.ts"],"sourcesContent":["import { DestroyRef, Directive, Injector, OnInit, effect, forwardRef, inject, signal, untracked } from '@angular/core';\nimport {\n AbstractControl,\n ControlValueAccessor,\n NG_VALIDATORS,\n NG_VALUE_ACCESSOR,\n ValidationErrors,\n Validator,\n} from '@angular/forms';\nimport { BsDatetimePickerComponent } from '../generated';\n\n/**\n * The `ControlValueAccessor` and `Validator` of `bs-datetime-picker` (a host\n * directive of the generated component, see `datetime-picker.angular.ts`). A\n * bound form control drives the value through `viewValue`; a user's change\n * reaches the form through the component's `value` model, which a form write\n * never echoes.\n *\n * Validation: `min` / `max` compare the full date and time (`{ min, actual }`,\n * `{ max, actual }`), the same bounds the grid and the list enforce, and\n * `disabledDate` reports a day `disableDateFn` refuses.\n */\n@Directive({\n providers: [\n { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => BsDatetimePickerValueAccessor), multi: true },\n { provide: NG_VALIDATORS, useExisting: forwardRef(() => BsDatetimePickerValueAccessor), multi: true },\n ],\n host: {\n '(focusout)': 'onTouched()',\n },\n})\nexport class BsDatetimePickerValueAccessor implements ControlValueAccessor, Validator, OnInit {\n private readonly injector = inject(Injector);\n private readonly destroyRef = inject(DestroyRef);\n private component?: BsDatetimePickerComponent;\n\n /** A form control drives the value: its `viewValue` wins over the `value` input. */\n readonly bound = signal(false);\n readonly viewValue = signal<Date | null>(null);\n readonly disabled = signal(false);\n\n private onChange: (value: Date | null) => void = () => undefined;\n onTouched: () => void = () => undefined;\n private onValidatorChange: () => void = () => undefined;\n\n ngOnInit(): void {\n // The component is created after its host directives, so it is looked up here.\n const component = (this.component = this.injector.get(BsDatetimePickerComponent));\n const sub = component.value.subscribe((value) => {\n if (!this.bound() || value?.getTime() === this.viewValue()?.getTime()) return;\n this.viewValue.set(value);\n this.onChange(value);\n });\n this.destroyRef.onDestroy(() => sub.unsubscribe());\n // The limits are inputs: a change re-runs validation.\n effect(\n () => {\n component.min();\n component.max();\n component.disableDateFn();\n untracked(() => this.onValidatorChange());\n },\n { injector: this.injector },\n );\n }\n\n registerOnChange(fn: (value: Date | null) => void): void {\n this.bound.set(true);\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n registerOnValidatorChange(fn: () => void): void {\n this.onValidatorChange = fn;\n }\n\n writeValue(value: Date | null | undefined): void {\n this.viewValue.set(value instanceof Date ? value : null);\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled.set(isDisabled);\n }\n\n validate(control: AbstractControl): ValidationErrors | null {\n const value = control.value;\n const component = this.component;\n if (!(value instanceof Date) || !component) return null;\n const min = component.min();\n const max = component.max();\n const disable = component.disableDateFn();\n const errors: ValidationErrors = {\n ...(min && value.getTime() < min.getTime() ? { min: { min, actual: value } } : {}),\n ...(max && value.getTime() > max.getTime() ? { max: { max, actual: value } } : {}),\n ...(disable?.(value) ? { disabledDate: true } : {}),\n };\n return Object.keys(errors).length ? errors : null;\n }\n}\n","import { computed, inject } from '@angular/core';\nimport { BsControlValidityDirective } from '@mintplayer/ng-bootstrap/a11y/forms';\nimport type { DatetimePickerInputs } from '@mintplayer/ui-core/datetime-picker';\nimport { BsDatetimePickerValueAccessor } from './value-accessor/datetime-picker-value-accessor';\n\n/*\n * The Angular extension of the generated `bs-datetime-picker` (PRD #437 D10\n * escape hatch): Angular forms. A bound form control drives the value and the\n * disabled state, its validity reaches the field's ARIA and message, and it is\n * validated against min, max and disableDateFn.\n */\n\nexport const hostDirectives = [\n BsDatetimePickerValueAccessor,\n { directive: BsControlValidityDirective, inputs: ['errorMessages'] },\n];\n\nexport function extendInputs(inputs: () => DatetimePickerInputs): () => DatetimePickerInputs {\n const accessor = inject(BsDatetimePickerValueAccessor, { self: true });\n const validity = inject(BsControlValidityDirective, { self: true });\n return computed<DatetimePickerInputs>(() => {\n const value = inputs();\n return {\n ...value,\n value: accessor.bound() ? accessor.viewValue() : value.value,\n disabled: value.disabled || accessor.disabled(),\n invalid: value.invalid || validity.invalid(),\n required: value.required || validity.required(),\n errorText: value.errorText ?? validity.errorText(),\n };\n });\n}\n","// GENERATED from the datetime-picker manifest (datetime-picker) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { datetimePickerCore, type DatetimePickerInputs, type DatetimePickerMethods, datetimePickerScopedStyles, type DatetimePopup } from '@mintplayer/ui-core/datetime-picker';\nimport { bootstrapForms } from '@mintplayer/ui-core/bootstrap/forms';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../datetime-picker.angular';\n\n/**\n * A date-and-time field with a month-grid popup and a slot-list popup (#437).\n *\n * With JavaScript off it is a native datetime-local field that submits `name` as\n * YYYY-MM-DDTHH:MM. Once hydrated the field becomes a readonly display, two buttons open the\n * grid and the list in native popovers, and a hidden input carries the submitted value.\n */\n@Component({\n selector: 'bs-datetime-picker',\n templateUrl: './datetime-picker.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDatetimePickerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly value = model<DatetimePickerInputs['value']>(null);\n readonly min = input<DatetimePickerInputs['min']>(null);\n readonly max = input<DatetimePickerInputs['max']>(null);\n readonly disableDateFn = input<DatetimePickerInputs['disableDateFn']>(null);\n readonly firstDayOfWeek = input<DatetimePickerInputs['firstDayOfWeek'], unknown>(1, { transform: (v: unknown) => (v == null || v === '' ? 1 : numberAttribute(v)) as DatetimePickerInputs['firstDayOfWeek'] });\n readonly locale = input<DatetimePickerInputs['locale']>(null);\n readonly hour12 = input<DatetimePickerInputs['hour12']>('auto');\n readonly step = input<DatetimePickerInputs['step'], unknown>(15, { transform: (v: unknown) => (v == null || v === '' ? 15 : numberAttribute(v)) as DatetimePickerInputs['step'] });\n readonly defaultTime = input<DatetimePickerInputs['defaultTime']>({ hour: 0, minute: 0 });\n readonly placeholder = input<DatetimePickerInputs['placeholder']>(null);\n readonly showClear = input<DatetimePickerInputs['showClear'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DatetimePickerInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly required = input<DatetimePickerInputs['required'], unknown>(false, { transform: booleanAttribute });\n readonly invalid = input<DatetimePickerInputs['invalid'], unknown>(false, { transform: booleanAttribute });\n readonly errorText = input<DatetimePickerInputs['errorText']>(null);\n readonly inputLabel = input<DatetimePickerInputs['inputLabel']>(null);\n readonly name = input<DatetimePickerInputs['name']>(null);\n readonly labels = input<DatetimePickerInputs['labels']>(null);\n readonly calendarLabels = input<DatetimePickerInputs['calendarLabels']>(null);\n /** Which popup is open now: 'date', 'time', or null. */\n readonly openChange = output<DatetimePopup>();\n\n readonly #core = useCore(datetimePickerCore, { inputs: ext_extendInputs(() => ({ value: this.value(), min: this.min(), max: this.max(), disableDateFn: this.disableDateFn(), firstDayOfWeek: this.firstDayOfWeek(), locale: this.locale(), hour12: this.hour12(), step: this.step(), defaultTime: this.defaultTime(), placeholder: this.placeholder(), showClear: this.showClear(), disabled: this.disabled(), required: this.required(), invalid: this.invalid(), errorText: this.errorText(), inputLabel: this.inputLabel(), name: this.name(), labels: this.labels(), calendarLabels: this.calendarLabels() })), idPrefix: 'bs-datetime-picker', outputs: { openChange: this.openChange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datetime-picker' }), models: {value: this.value } });\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('datetime-picker', datetimePickerScopedStyles);\n }\n\n /** Open the month grid (ignored when disabled). */\n openDate(...args: Parameters<DatetimePickerMethods['openDate']>): ReturnType<DatetimePickerMethods['openDate']> {\n return this.#core.call('openDate', args) as ReturnType<DatetimePickerMethods['openDate']>;\n }\n\n /** Open the slot list (ignored when disabled). */\n openTime(...args: Parameters<DatetimePickerMethods['openTime']>): ReturnType<DatetimePickerMethods['openTime']> {\n return this.#core.call('openTime', args) as ReturnType<DatetimePickerMethods['openTime']>;\n }\n\n /** Close whichever popup is open. */\n closePopups(...args: Parameters<DatetimePickerMethods['closePopups']>): ReturnType<DatetimePickerMethods['closePopups']> {\n return this.#core.call('closePopups', args) as ReturnType<DatetimePickerMethods['closePopups']>;\n }\n\n /** Clear the value (ignored when disabled). */\n clear(...args: Parameters<DatetimePickerMethods['clear']>): ReturnType<DatetimePickerMethods['clear']> {\n return this.#core.call('clear', args) as ReturnType<DatetimePickerMethods['clear']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datetime-picker/src/templates/datetime-picker.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.group\">\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.input\">\n @if (p_view.hidden) {\n <input data-mps=\"datetime-picker\" [mpProps]=\"p_view.hidden\">\n }\n @if (p_view.clear) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.clear\"></button>\n }\n @if (p_view.dateTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateTrigger\"></button>\n }\n @if (p_view.timeTrigger) {\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeTrigger\"></button>\n }\n</div>\n@if (p_view.showFeedback) {\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.feedback.attrs\">\n {{ p_view.feedback.text }}\n </div>\n}\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.live\">\n {{ p_view.liveText }}\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.datePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.root\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.nav\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.previous\"></button>\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.monthLabel\">\n {{ p_view.calendar.monthText }}\n </span>\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.next\"></button>\n </div>\n <table data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.grid\">\n <tbody data-mps=\"datetime-picker\">\n <tr data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.headRow\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeader\">\n <span data-mps=\"datetime-picker\" [mpProps]=\"p_view.calendar.weekHeaderText\">\n {{ p_view.calendar.weekLabel }}\n </span>\n </th>\n @for (day of p_view.calendar.weekdays; track day.key) {\n <th data-mps=\"datetime-picker\" [mpProps]=\"day.bag\">\n {{ day.text }}\n </th>\n }\n </tr>\n @for (week of p_view.calendar.weeks; track week.key) {\n <tr data-mps=\"datetime-picker\" [mpProps]=\"week.row\">\n <th data-mps=\"datetime-picker\" [mpProps]=\"week.header\">\n {{ week.number }}\n </th>\n @for (cell of week.cells; track cell.key) {\n <td data-mps=\"datetime-picker\" [mpProps]=\"cell.cell\">\n @if (cell.content) {\n <span data-mps=\"datetime-picker\" [mpProps]=\"cell.content\">\n {{ cell.text }}\n </span>\n }\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.dateFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.today\">\n {{ p_view.todayText }}\n </button>\n </div>\n</div>\n<div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timePopup\">\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.root\">\n <ul data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeList.list\">\n @for (slot of p_view.timeList.slots; track slot.key) {\n <li data-mps=\"datetime-picker\" [mpProps]=\"slot.item\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"slot.option\">\n {{ slot.text }}\n </button>\n </li>\n }\n </ul>\n </div>\n <div data-mps=\"datetime-picker\" [mpProps]=\"p_view.timeFooter\">\n <button data-mps=\"datetime-picker\" [mpProps]=\"p_view.now\">\n {{ p_view.nowText }}\n </button>\n </div>\n</div>\n","// GENERATED from the datetime-picker manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatetimePickerComponent } from './datetime-picker.component.generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","i1.BsDatetimePickerValueAccessor","ext_hostDirectives"],"mappings":";;;;;;;;;AAWA;;;;;;;;;;AAUG;MAUU,6BAA6B,CAAA;AAT1C,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;;QAIvC,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,KAAK;kFAAC;QACrB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAc,IAAI;sFAAC;QACrC,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,KAAK;qFAAC;AAEzB,QAAA,IAAA,CAAA,QAAQ,GAAiC,MAAM,SAAS;AAChE,QAAA,IAAA,CAAA,SAAS,GAAe,MAAM,SAAS;AAC/B,QAAA,IAAA,CAAA,iBAAiB,GAAe,MAAM,SAAS;AA0DxD,IAAA;IAxDC,QAAQ,GAAA;;AAEN,QAAA,MAAM,SAAS,IAAI,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;QACjF,MAAM,GAAG,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,KAAK,KAAI;AAC9C,YAAA,IAAI,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ED1EY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAIf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;+BACE,oBAAoB,EAAA,OAAA,EAErB,CAAC,gBAAgB,CAAC,mBACV,uBAAuB,CAAC,MAAM,EAAA,cAAA,EAC/BC,cAAkB,EAAA,QAAA,EAAA,4wHAAA,EAAA;;;AEnBpC;;ACAA;;AAEG;;;;"}
@@ -49,16 +49,14 @@ class BsDockManagerComponent {
49
49
  this.debugLayoutIntegrity = input(false, { ...(ngDevMode ? { debugName: "debugLayoutIntegrity" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
50
50
  this.labels = input(null, /* @ts-ignore */
51
51
  ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
52
- /** The layout, after the user changed it. */
53
- this.layoutchange = output();
54
52
  /** A tab was activated. */
55
- this.paneactivated = output();
53
+ this.paneActivated = output();
56
54
  this.paneSlot = contentChild(BsDockManagerPaneDirective, /* @ts-ignore */
57
55
  ...(ngDevMode ? [{ debugName: "paneSlot" }] : /* istanbul ignore next */ []));
58
56
  /** The template's named slots. */
59
57
  this.slots = computed(() => ({ pane: this.paneSlot()?.templateRef }), /* @ts-ignore */
60
58
  ...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
61
- this.#core = useCore(dockCore, { inputs: () => ({ layout: this.layout(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { layoutChange: this.layoutchange, paneActivated: this.paneactivated }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'dock' }), models: { layout: this.layout } });
59
+ this.#core = useCore(dockCore, { inputs: () => ({ layout: this.layout(), debugLayoutIntegrity: this.debugLayoutIntegrity(), labels: this.labels() }), idPrefix: 'bs-dock-manager', outputs: { paneActivated: this.paneActivated }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'dock' }), models: { layout: this.layout } });
62
60
  /** The template's props. */
63
61
  this.props = this.#core.props;
64
62
  useScopedStyles('dock', dockScopedStyles);
@@ -68,12 +66,12 @@ class BsDockManagerComponent {
68
66
  return this.#core.call('captureLayout', args);
69
67
  }
70
68
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDockManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDockManagerComponent, isStandalone: true, selector: "bs-dock-manager", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, debugLayoutIntegrity: { classPropertyName: "debugLayoutIntegrity", publicName: "debugLayoutIntegrity", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", layoutchange: "layoutchange", paneactivated: "paneactivated" }, queries: [{ propertyName: "paneSlot", first: true, predicate: BsDockManagerPaneDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: { pane: p.name }, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeend)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }, { kind: "directive", type: MpTeleportDirective, selector: "[mpTeleport]", inputs: ["mpTeleport"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DockNodePartial, selector: "ng-template[mpPartialDockNode]" }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizestart", "resizing", "resizeend"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
69
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDockManagerComponent, isStandalone: true, selector: "bs-dock-manager", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, debugLayoutIntegrity: { classPropertyName: "debugLayoutIntegrity", publicName: "debugLayoutIntegrity", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", paneActivated: "paneActivated" }, queries: [{ propertyName: "paneSlot", first: true, predicate: BsDockManagerPaneDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: p.name, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "directive", type: MpTeleportDirective, selector: "[mpTeleport]", inputs: ["mpTeleport"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DockNodePartial, selector: "ng-template[mpPartialDockNode]" }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
70
  }
73
71
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDockManagerComponent, decorators: [{
74
72
  type: Component,
75
- args: [{ selector: 'bs-dock-manager', imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: { pane: p.name }, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeend)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n" }]
76
- }], ctorParameters: () => [], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], debugLayoutIntegrity: [{ type: i0.Input, args: [{ isSignal: true, alias: "debugLayoutIntegrity", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], layoutchange: [{ type: i0.Output, args: ["layoutchange"] }], paneactivated: [{ type: i0.Output, args: ["paneactivated"] }], paneSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDockManagerPaneDirective), { isSignal: true }] }] } });
73
+ args: [{ selector: 'bs-dock-manager', imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/dock/src/templates/dock-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"dock\" [mpProps]=\"p_view.docked\">\n @if (p_view.dockedNode) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: p_view.dockedNode }\" />\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.floatingLayer\">\n @for (f of p_view.floating; track f.key) {\n <div data-mps=\"dock\" [mpProps]=\"f.bag\" [style]=\"f.style\">\n <div data-mps=\"dock\" [mpProps]=\"f.chrome\">\n <div data-mps=\"dock\" [mpProps]=\"f.title\">\n {{ f.titleText }}\n </div>\n <button data-mps=\"dock\" [mpProps]=\"f.close\">\n \u00D7\n </button>\n </div>\n <div data-mps=\"dock\" [mpProps]=\"f.content\">\n @if (f.node) {\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: f.node }\" />\n }\n </div>\n @for (r of f.resizers; track r.key) {\n <div data-mps=\"dock\" [mpProps]=\"r.bag\"></div>\n }\n </div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.intersectionLayer\">\n @for (h of p_view.intersections; track h.key) {\n <div data-mps=\"dock\" [mpProps]=\"h.bag\" [style]=\"h.style\"></div>\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.indicator\" [style]=\"p_view.indicatorStyle\"></div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.joystick\" [style]=\"p_view.joystickStyle\">\n @for (c of p_view.joystickCells; track c.key) {\n @if (c.button) {\n <button data-mps=\"dock\" [mpProps]=\"c.bag\">\n {{ c.glyph }}\n </button>\n } @else {\n <span data-mps=\"dock\" [mpProps]=\"c.bag\"></span>\n }\n }\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"dock\" [mpProps]=\"p_view.parking\"></div>\n@for (p of p_view.panes; track p.name) {\n <ng-template [mpTeleport]=\"p.host\">\n @if (slots().pane; as slot_pane) {\n <ng-container [ngTemplateOutlet]=\"slot_pane\" [ngTemplateOutletContext]=\"{ $implicit: p.name, pane: p.name }\" />\n }\n </ng-template>\n}\n<ng-template #partial_DockNode mpPartialDockNode let-pp_node=\"node\">\n <div data-mps=\"dock\" [mpProps]=\"pp_node.bag\">\n @if (pp_node.split) {\n <bs-splitter [orientation]=\"pp_node.direction\" [minPanelSize]=\"48\" (resizeEnd)=\"pp_node.onResizeEnd($event)\" (resizing)=\"pp_node.onResizing($event)\">\n @for (c of pp_node.children; track c.key) {\n <bs-splitter-panel>\n <ng-container [ngTemplateOutlet]=\"partial_DockNode\" [ngTemplateOutletContext]=\"{ node: c.node }\" />\n </bs-splitter-panel>\n }\n </bs-splitter>\n }\n @if (pp_node.stack) {\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.strip\">\n @for (t of pp_node.stack.tabs; track t.key) {\n @if (t.placeholder) {\n <span data-mps=\"dock\" [mpProps]=\"t.bag\" [style]=\"t.style\">\n {{ t.title }}\n </span>\n } @else {\n <button data-mps=\"dock\" [mpProps]=\"t.bag\">\n {{ t.title }}\n </button>\n }\n }\n </div>\n <div data-mps=\"dock\" [mpProps]=\"pp_node.stack.body\">\n {{ pp_node.stack.empty }}\n </div>\n }\n </div>\n</ng-template>\n" }]
74
+ }], ctorParameters: () => [], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], debugLayoutIntegrity: [{ type: i0.Input, args: [{ isSignal: true, alias: "debugLayoutIntegrity", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], paneActivated: [{ type: i0.Output, args: ["paneActivated"] }], paneSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDockManagerPaneDirective), { isSignal: true }] }] } });
77
75
 
78
76
  // GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.
79
77