@mintplayer/ng-bootstrap 22.33.0 → 22.35.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 (96) hide show
  1. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +1 -1
  2. package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
  3. package/fesm2022/mintplayer-ng-bootstrap-alert.mjs.map +1 -1
  4. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +1 -1
  5. package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
  6. package/fesm2022/mintplayer-ng-bootstrap-card.mjs +1 -1
  7. package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
  8. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +1 -1
  9. package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
  10. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +6 -6
  11. package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
  12. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +2 -2
  13. package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
  14. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +3 -3
  15. package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
  16. package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
  17. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +2 -2
  18. package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  19. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
  20. package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
  21. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +7 -5
  22. package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +9 -7
  24. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +1 -1
  26. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +2 -2
  28. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  29. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +9 -7
  31. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +1 -1
  33. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  35. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +7 -7
  36. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +2 -2
  38. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +4 -4
  41. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +1 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  51. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +7 -5
  54. package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
  56. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  60. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +3 -3
  61. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  62. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +1 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +2 -2
  65. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
  67. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  68. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +1 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +1 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +2 -2
  73. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +1 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  76. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +4 -4
  78. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +4 -4
  81. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  82. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  83. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +7 -5
  84. package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
  85. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +1 -1
  86. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  87. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  88. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +2 -2
  89. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  90. package/package.json +2 -2
  91. package/types/mintplayer-ng-bootstrap-context-menu.d.ts +4 -2
  92. package/types/mintplayer-ng-bootstrap-datatable.d.ts +3 -1
  93. package/types/mintplayer-ng-bootstrap-dropdown.d.ts +4 -2
  94. package/types/mintplayer-ng-bootstrap-machine.d.ts +6 -0
  95. package/types/mintplayer-ng-bootstrap-popover.d.ts +3 -2
  96. package/types/mintplayer-ng-bootstrap-tooltip.d.ts +3 -2
@@ -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.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) => 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;AAC1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AA,ED1CY,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,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,CA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AAA,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,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,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,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;;;;"}
@@ -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 */
@@ -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.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) => 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 /** 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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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;AACh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OAAA,EAAA,EAAA,KAAA,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,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;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-dock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/mintplayer-ng-bootstrap-dock.ts"],"sourcesContent":["// GENERATED from the dock manifest (dock-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, MpTeleportDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dockCore, type DockInputs, type DockMethods, type DockNodeView, type DockPaneActivatedEventDetail, dockScopedStyles } from '@mintplayer/ui-core/dock';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\n\n/** The `pane` slot of `<bs-dock-manager>`: `<ng-template bsDockManagerPane>` or `*bsDockManagerPane`. */\n@Directive({ selector: '[bsDockManagerPane]' })\nexport class BsDockManagerPaneDirective {\n readonly templateRef = inject<TemplateRef<{ pane: string } & { $implicit: { pane: string }['pane'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDockManagerPaneDirective, ctx: unknown): ctx is { pane: string } & { $implicit: { pane: string }['pane'] } {\n return true;\n }\n}\n\n/** Types the `DockNode` partial's context in this template. */\n@Directive({ selector: 'ng-template[mpPartialDockNode]' })\nexport class DockNodePartial {\n static ngTemplateContextGuard(_dir: DockNodePartial, ctx: unknown): ctx is { node: DockNodeView } {\n return true;\n }\n}\n\n/**\n * A docking layout (#437): panes in tabbed stacks, split side by side and torn off into floating\n * windows, by pointer, touch long-press or the keyboard (M on a tab, then T/R/B/L/F or the arrows).\n * `layout` is two-way; the `pane` slot renders each pane by name. Strings come from `labels`.\n */\n@Component({\n selector: 'bs-dock-manager',\n templateUrl: './dock-manager.view.generated.html',\n imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDockManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly layout = model<DockInputs['layout']>(null);\n readonly debugLayoutIntegrity = input<DockInputs['debugLayoutIntegrity'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<DockInputs['labels']>(null);\n /** A tab was activated. */\n readonly paneActivated = output<DockPaneActivatedEventDetail>();\n\n private readonly paneSlot = contentChild(BsDockManagerPaneDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ pane: this.paneSlot()?.templateRef }));\n readonly #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 } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('dock', dockScopedStyles);\n }\n\n /** A copy of the current layout snapshot. */\n captureLayout(...args: Parameters<DockMethods['captureLayout']>): ReturnType<DockMethods['captureLayout']> {\n return this.#core.call('captureLayout', args) as ReturnType<DockMethods['captureLayout']>;\n }\n}\n","<!-- 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 ×\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","// GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDockManagerComponent, BsDockManagerPaneDirective } from './dock-manager.component.generated';\n","// The dock manager is generated from @mintplayer/ui-core/dock (PRD #437 D10).\nexport * from './generated';\nexport { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';\nexport type {\n DockFloatingPaneBounds,\n DockFloatingStackLayout,\n DockLabels,\n DockLayout,\n DockLayoutInput,\n DockLayoutNode,\n DockLayoutSnapshot,\n DockPaneActivatedEventDetail,\n DockSplitNode,\n DockStackNode,\n} from '@mintplayer/ui-core/dock';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AAQA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA0E,WAAW,CAAC;AAIpH,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAgC,EAAE,GAAY,EAAA;AAC1E,QAAA,OAAO,IAAI;IACb;8GAJW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,SAAS;mBAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;AAQ9C;MAEa,eAAe,CAAA;AAC1B,IAAA,OAAO,sBAAsB,CAAC,IAAqB,EAAE,GAAY,EAAA;AAC/D,QAAA,O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,EAAA,EAAA,CAAA;;AE9CrE;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-dock.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/dock-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dock/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dock/mintplayer-ng-bootstrap-dock.ts"],"sourcesContent":["// GENERATED from the dock manifest (dock-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, MpTeleportDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dockCore, type DockInputs, type DockMethods, type DockNodeView, type DockPaneActivatedEventDetail, dockScopedStyles } from '@mintplayer/ui-core/dock';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\n\n/** The `pane` slot of `<bs-dock-manager>`: `<ng-template bsDockManagerPane>` or `*bsDockManagerPane`. */\n@Directive({ selector: '[bsDockManagerPane]' })\nexport class BsDockManagerPaneDirective {\n readonly templateRef = inject<TemplateRef<{ pane: string } & { $implicit: { pane: string }['pane'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDockManagerPaneDirective, ctx: unknown): ctx is { pane: string } & { $implicit: { pane: string }['pane'] } {\n return true;\n }\n}\n\n/** Types the `DockNode` partial's context in this template. */\n@Directive({ selector: 'ng-template[mpPartialDockNode]' })\nexport class DockNodePartial {\n static ngTemplateContextGuard(_dir: DockNodePartial, ctx: unknown): ctx is { node: DockNodeView } {\n return true;\n }\n}\n\n/**\n * A docking layout (#437): panes in tabbed stacks, split side by side and torn off into floating\n * windows, by pointer, touch long-press or the keyboard (M on a tab, then T/R/B/L/F or the arrows).\n * `layout` is two-way; the `pane` slot renders each pane by name. Strings come from `labels`.\n */\n@Component({\n selector: 'bs-dock-manager',\n templateUrl: './dock-manager.view.generated.html',\n imports: [MpPropsDirective, MpTeleportDirective, NgTemplateOutlet, DockNodePartial, BsSplitterComponent, BsSplitterPanelComponent],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDockManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly layout = model<DockInputs['layout']>(null);\n readonly debugLayoutIntegrity = input<DockInputs['debugLayoutIntegrity'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<DockInputs['labels']>(null);\n /** A tab was activated. */\n readonly paneActivated = output<DockPaneActivatedEventDetail>();\n\n private readonly paneSlot = contentChild(BsDockManagerPaneDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ pane: this.paneSlot()?.templateRef }));\n readonly #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 } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('dock', dockScopedStyles);\n }\n\n /** A copy of the current layout snapshot. */\n captureLayout(...args: Parameters<DockMethods['captureLayout']>): ReturnType<DockMethods['captureLayout']> {\n return this.#core.call('captureLayout', args) as ReturnType<DockMethods['captureLayout']>;\n }\n}\n","<!-- 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 ×\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","// GENERATED from the dock manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDockManagerComponent, BsDockManagerPaneDirective } from './dock-manager.component.generated';\n","// The dock manager is generated from @mintplayer/ui-core/dock (PRD #437 D10).\nexport * from './generated';\nexport { DOCK_LABELS, EMPTY_DOCK_LAYOUT, mergeDockLabels } from '@mintplayer/ui-core/dock';\nexport type {\n DockFloatingPaneBounds,\n DockFloatingStackLayout,\n DockLabels,\n DockLayout,\n DockLayoutInput,\n DockLayoutNode,\n DockLayoutSnapshot,\n DockPaneActivatedEventDetail,\n DockSplitNode,\n DockStackNode,\n} from '@mintplayer/ui-core/dock';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AAQA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAA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AAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAc0D,mBAAmB,2KAAE,wBAAwB,EAAA,QAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGtH,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,eAAe,EAAE,mBAAmB,EAAE,wBAAwB,CAAC,EAAA,eAAA,EACjH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,24GAAA,EAAA;mhBAYN,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9CrE;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, output, contentChild, computed } from '@angular/core';
2
+ import { inject, ElementRef, input, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, booleanAttribute, output, contentChild, computed } from '@angular/core';
3
3
  import { useCore, useScopedStyles, provideCoreContext, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
4
4
  import { dropdownPanelCore, dropdownScopedStyles, DROPDOWN_NESTING, dropdownMenuCore, dropdownItemCore, dropdownHeaderCore, dropdownDividerCore, dropdownCore } from '@mintplayer/ui-core/dropdown';
5
5
  import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
@@ -20,13 +20,15 @@ class BsDropdownPanelComponent {
20
20
  ...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
21
21
  this.side = input('bottom', /* @ts-ignore */
22
22
  ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
23
- this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
23
+ /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
24
+ this.phase = input('closed', /* @ts-ignore */
25
+ ...(ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []));
24
26
  this.hasPopup = input('menu', /* @ts-ignore */
25
27
  ...(ngDevMode ? [{ debugName: "hasPopup" }] : /* istanbul ignore next */ []));
26
28
  /** The trigger's id, naming a dialog panel. */
27
29
  this.triggerId = input(null, /* @ts-ignore */
28
30
  ...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
29
- this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
31
+ this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
30
32
  /** What this component hands its content. */
31
33
  this.provided = this.#core.provided;
32
34
  /** The template's props. */
@@ -35,12 +37,12 @@ class BsDropdownPanelComponent {
35
37
  useScopedStyles('dropdown', dropdownScopedStyles);
36
38
  }
37
39
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
38
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownPanelComponent, isStandalone: true, selector: "bs-dropdown-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, shown: { classPropertyName: "shown", publicName: "shown", isSignal: true, isRequired: false, transformFunction: null }, hasPopup: { classPropertyName: "hasPopup", publicName: "hasPopup", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
40
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownPanelComponent, isStandalone: true, selector: "bs-dropdown-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, phase: { classPropertyName: "phase", publicName: "phase", isSignal: true, isRequired: false, transformFunction: null }, hasPopup: { classPropertyName: "hasPopup", publicName: "hasPopup", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
41
  }
40
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, decorators: [{
41
43
  type: Component,
42
44
  args: [{ selector: 'bs-dropdown-panel', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
43
- }], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], shown: [{ type: i0.Input, args: [{ isSignal: true, alias: "shown", required: false }] }], hasPopup: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasPopup", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
45
+ }], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", required: false }] }], hasPopup: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasPopup", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
44
46
 
45
47
  /*
46
48
  * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10
@@ -89,7 +91,7 @@ class BsDropdownMenuComponent {
89
91
  /** The host element. */
90
92
  this.elementRef = inject(ElementRef);
91
93
  /** Pixel cap on the height; the menu scrolls beyond. */
92
- this.maxHeight = input(null, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
94
+ this.maxHeight = input(null, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? null : numberAttribute(v)) });
93
95
  /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */
94
96
  this.label = input(null, /* @ts-ignore */
95
97
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
@@ -102,7 +104,7 @@ class BsDropdownMenuComponent {
102
104
  /** The template's named slots. */
103
105
  this.slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }), /* @ts-ignore */
104
106
  ...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
105
- this.#core = useCore(dropdownMenuCore, { inputs: extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect } });
107
+ this.#core = useCore(dropdownMenuCore, { inputs: extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect }, hostScope: 'dropdown' });
106
108
  /** What this component hands its content. */
107
109
  this.provided = this.#core.provided;
108
110
  /** The template's props. */
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu.angular.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownPanelCore, type DropdownPanelInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */\n@Component({\n selector: 'bs-dropdown-panel',\n templateUrl: './dropdown-panel.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)],\n})\nexport class BsDropdownPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<DropdownPanelInputs['overlayId']>('');\n readonly side = input<DropdownPanelInputs['side']>('bottom');\n readonly shown = input<DropdownPanelInputs['shown'], unknown>(false, { transform: booleanAttribute });\n readonly hasPopup = input<DropdownPanelInputs['hasPopup']>('menu');\n /** The trigger's id, naming a dialog panel. */\n readonly triggerId = input<DropdownPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { DropdownMenuInputs } from '@mintplayer/ui-core/dropdown';\n\n/*\n * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10\n * escape hatch): in a navbar, a dropdown whose content holds the active\n * route's link marks its trigger, the way Bootstrap marks an active nav link.\n * Outside a navbar `active` renders nothing. `Router` is provided in root, so\n * this needs no `provideRouter` in an app without routes.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => DropdownMenuInputs): () => DropdownMenuInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownMenuCore, type DropdownMenuInputs, dropdownScopedStyles, type DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../dropdown-menu.angular';\n\n/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */\n@Directive({ selector: '[bsDropdownMenuLabelTemplate]' })\nexport class BsDropdownMenuLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,\n * type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.\n * In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as\n * its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDropdownMenuComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Pixel cap on the height; the menu scrolls beyond. */\n readonly maxHeight = input<DropdownMenuInputs['maxHeight'], unknown>(null, { transform: (v: unknown) => numberAttribute(v) as DropdownMenuInputs['maxHeight'] });\n /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */\n readonly label = input<DropdownMenuInputs['label']>(null);\n /** In a navbar: a descendant link's route is active. */\n readonly active = input<DropdownMenuInputs['active'], unknown>(false, { transform: booleanAttribute });\n /** An enabled item was activated: the item and its `value`. */\n readonly itemSelect = output<DropdownSelectEventDetail>();\n\n private readonly labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(dropdownMenuCore, { inputs: ext_extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect } });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-menu.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_nav = props().nav;\n@let p_label = props().label;\n@let p_root = props().root;\n@if (p_nav) {\n <details data-mps=\"dropdown\" [mpProps]=\"p_nav.details\" #root>\n <summary data-mps=\"dropdown\" [mpProps]=\"p_nav.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"dropdown\" [mpProps]=\"p_nav.panel\">\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n </details>\n} @else {\n <div data-mps=\"dropdown\" [mpProps]=\"p_root\" #root>\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n}\n<ng-template #defaultSlot><ng-content /></ng-template>\n","// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownItemCore, type DropdownItemInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A menu item: its content, or the link or button it wraps, is the menuitem. */\n@Component({\n selector: 'bs-dropdown-item',\n templateUrl: './dropdown-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<DropdownItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DropdownItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n /** Opaque value reported in the menu's `select`. */\n readonly value = input<DropdownItemInputs['value']>(undefined);\n\n readonly #core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownHeaderCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A heading between menu items. */\n@Component({\n selector: 'bs-dropdown-header',\n templateUrl: './dropdown-header.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownHeaderCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-header.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownDividerCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A separator between menu items. */\n@Component({\n selector: 'bs-dropdown-divider',\n templateUrl: './dropdown-divider.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownDividerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownDividerCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n","// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownCore, type DropdownInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\n\n/**\n * A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on\n * the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.\n */\n@Directive({ selector: '[bsDropdown]' })\nexport class BsDropdownDirective {\n /** Where the panel sits; it flips vertically when it does not fit. */\n readonly placement = input<DropdownInputs['placement'], DropdownInputs['placement'] | ''>('bottom-start', { transform: (v: DropdownInputs['placement'] | '') => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });\n /** The panel is as wide as the trigger. */\n readonly sameWidth = input<DropdownInputs['sameWidth'], unknown>(false, { transform: booleanAttribute, alias: 'bsDropdownSameWidth' });\n /** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */\n readonly hasPopup = input<DropdownInputs['hasPopup']>('menu', { alias: 'bsDropdownHasPopup' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\nexport { BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective } from './dropdown-menu.component.generated';\nexport { BsDropdownItemComponent } from './dropdown-item.component.generated';\nexport { BsDropdownHeaderComponent } from './dropdown-header.component.generated';\nexport { BsDropdownDividerComponent } from './dropdown-divider.component.generated';\nexport { BsDropdownDirective } from './dropdown.directive.generated';\n","// Generated from @mintplayer/ui-core/dropdown (#458 D10).\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A,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,SAAS;mBAAC,EAAE,QAAQ,EAAE,cAAc,EAAE;;;ACXvC;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu.angular.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownPanelCore, type DropdownPanelInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */\n@Component({\n selector: 'bs-dropdown-panel',\n templateUrl: './dropdown-panel.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)],\n})\nexport class BsDropdownPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<DropdownPanelInputs['overlayId']>('');\n readonly side = input<DropdownPanelInputs['side']>('bottom');\n /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */\n readonly phase = input<DropdownPanelInputs['phase']>('closed');\n readonly hasPopup = input<DropdownPanelInputs['hasPopup']>('menu');\n /** The trigger's id, naming a dialog panel. */\n readonly triggerId = input<DropdownPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { DropdownMenuInputs } from '@mintplayer/ui-core/dropdown';\n\n/*\n * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10\n * escape hatch): in a navbar, a dropdown whose content holds the active\n * route's link marks its trigger, the way Bootstrap marks an active nav link.\n * Outside a navbar `active` renders nothing. `Router` is provided in root, so\n * this needs no `provideRouter` in an app without routes.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => DropdownMenuInputs): () => DropdownMenuInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownMenuCore, type DropdownMenuInputs, dropdownScopedStyles, type DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../dropdown-menu.angular';\n\n/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */\n@Directive({ selector: '[bsDropdownMenuLabelTemplate]' })\nexport class BsDropdownMenuLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,\n * type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.\n * In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as\n * its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDropdownMenuComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Pixel cap on the height; the menu scrolls beyond. */\n readonly maxHeight = input<DropdownMenuInputs['maxHeight'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as DropdownMenuInputs['maxHeight'] });\n /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */\n readonly label = input<DropdownMenuInputs['label']>(null);\n /** In a navbar: a descendant link's route is active. */\n readonly active = input<DropdownMenuInputs['active'], unknown>(false, { transform: booleanAttribute });\n /** An enabled item was activated: the item and its `value`. */\n readonly itemSelect = output<DropdownSelectEventDetail>();\n\n private readonly labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(dropdownMenuCore, { inputs: ext_extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect }, hostScope: 'dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-menu.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_nav = props().nav;\n@let p_label = props().label;\n@let p_root = props().root;\n@if (p_nav) {\n <details data-mps=\"dropdown\" [mpProps]=\"p_nav.details\" #root>\n <summary data-mps=\"dropdown\" [mpProps]=\"p_nav.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"dropdown\" [mpProps]=\"p_nav.panel\">\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n </details>\n} @else {\n <div data-mps=\"dropdown\" [mpProps]=\"p_root\" #root>\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n}\n<ng-template #defaultSlot><ng-content /></ng-template>\n","// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownItemCore, type DropdownItemInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A menu item: its content, or the link or button it wraps, is the menuitem. */\n@Component({\n selector: 'bs-dropdown-item',\n templateUrl: './dropdown-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<DropdownItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DropdownItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n /** Opaque value reported in the menu's `select`. */\n readonly value = input<DropdownItemInputs['value']>(undefined);\n\n readonly #core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownHeaderCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A heading between menu items. */\n@Component({\n selector: 'bs-dropdown-header',\n templateUrl: './dropdown-header.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownHeaderCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-header.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownDividerCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A separator between menu items. */\n@Component({\n selector: 'bs-dropdown-divider',\n templateUrl: './dropdown-divider.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownDividerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownDividerCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n","// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownCore, type DropdownInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\n\n/**\n * A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on\n * the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.\n */\n@Directive({ selector: '[bsDropdown]' })\nexport class BsDropdownDirective {\n /** Where the panel sits; it flips vertically when it does not fit. */\n readonly placement = input<DropdownInputs['placement'], DropdownInputs['placement'] | ''>('bottom-start', { transform: (v: DropdownInputs['placement'] | '') => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });\n /** The panel is as wide as the trigger. */\n readonly sameWidth = input<DropdownInputs['sameWidth'], unknown>(false, { transform: booleanAttribute, alias: 'bsDropdownSameWidth' });\n /** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */\n readonly hasPopup = input<DropdownInputs['hasPopup']>('menu', { alias: 'bsDropdownHasPopup' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\nexport { BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective } from './dropdown-menu.component.generated';\nexport { BsDropdownItemComponent } from './dropdown-item.component.generated';\nexport { BsDropdownHeaderComponent } from './dropdown-header.component.generated';\nexport { BsDropdownDividerComponent } from './dropdown-divider.component.generated';\nexport { BsDropdownDirective } from './dropdown.directive.generated';\n","// Generated from @mintplayer/ui-core/dropdown (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_hostDirectives"],"mappings":";;;;;;;;;;AAAA;AAMA;MAQa,wBAAwB,CAAA;AAa1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,EAAE;sFAAC;Q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