@mintplayer/ng-bootstrap 22.33.0 → 22.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) 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-datatable.mjs +3 -3
  22. package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
  23. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +1 -1
  24. package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
  25. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +2 -2
  26. package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
  27. package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
  28. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +2 -2
  29. package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
  30. package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
  31. package/fesm2022/mintplayer-ng-bootstrap-file-upload.mjs.map +1 -1
  32. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs +7 -7
  33. package/fesm2022/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  34. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +2 -2
  35. package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
  36. package/fesm2022/mintplayer-ng-bootstrap-modal.mjs.map +1 -1
  37. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +4 -4
  38. package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
  39. package/fesm2022/mintplayer-ng-bootstrap-navbar-toggler.mjs.map +1 -1
  40. package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  41. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs +1 -1
  42. package/fesm2022/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  43. package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
  44. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +1 -1
  45. package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
  46. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +1 -1
  47. package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -1
  48. package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
  49. package/fesm2022/mintplayer-ng-bootstrap-playlist-toggler.mjs.map +1 -1
  50. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs +4 -4
  51. package/fesm2022/mintplayer-ng-bootstrap-progress-bar.mjs.map +1 -1
  52. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +1 -1
  53. package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
  54. package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
  55. package/fesm2022/mintplayer-ng-bootstrap-range.mjs +3 -3
  56. package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
  57. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +1 -1
  58. package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  59. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +2 -2
  60. package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
  61. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +2 -2
  62. package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
  63. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs +1 -1
  64. package/fesm2022/mintplayer-ng-bootstrap-scrollspy.mjs.map +1 -1
  65. package/fesm2022/mintplayer-ng-bootstrap-select.mjs +1 -1
  66. package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
  67. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +2 -2
  68. package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
  69. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +1 -1
  70. package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
  71. package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
  72. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs +4 -4
  73. package/fesm2022/mintplayer-ng-bootstrap-tile-manager.mjs.map +1 -1
  74. package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
  75. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +4 -4
  76. package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
  77. package/fesm2022/mintplayer-ng-bootstrap-toast.mjs.map +1 -1
  78. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +1 -1
  79. package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
  80. package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
  81. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +2 -2
  82. package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
  83. package/package.json +2 -2
  84. package/types/mintplayer-ng-bootstrap-machine.d.ts +6 -0
@@ -89,7 +89,7 @@ class BsDropdownMenuComponent {
89
89
  /** The host element. */
90
90
  this.elementRef = inject(ElementRef);
91
91
  /** Pixel cap on the height; the menu scrolls beyond. */
92
- this.maxHeight = input(null, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
92
+ this.maxHeight = input(null, { ...(ngDevMode ? { debugName: "maxHeight" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? null : numberAttribute(v)) });
93
93
  /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */
94
94
  this.label = input(null, /* @ts-ignore */
95
95
  ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
@@ -102,7 +102,7 @@ class BsDropdownMenuComponent {
102
102
  /** The template's named slots. */
103
103
  this.slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }), /* @ts-ignore */
104
104
  ...(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 } });
105
+ 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
106
  /** What this component hands its content. */
107
107
  this.provided = this.#core.provided;
108
108
  /** 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).\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;AAY1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAhBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,G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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) => (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;AAY1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAhBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,EAAE;sFAAC;QACvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA8B,QAAQ;iFAAC;QACnD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAwC,KAAK,6EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC5F,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAkC,MAAM;qFAAC;;QAEzD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAmC,IAAI;sFAAC;AAEzD,QAAA,IAAA,C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AE,IAAI,CAAC,OAAO,CAAC;IAC9F;8GAfW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,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 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-file-manager.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/mintplayer-ng-bootstrap-file-manager.ts"],"sourcesContent":["// GENERATED from the file-manager manifest (file-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, MpTrustedHtmlPipe, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type ChildrenLoadedEventDetail, fileManagerCore, type FileManagerErrorEventDetail, type FileManagerInputs, type FileManagerMethods, fileManagerScopedStyles, type FileManagerSelectionEventDetail, type NavigateEventDetail, type NodeOpenEventDetail, type OperationEventDetail, type UploadRequestEventDetail } from '@mintplayer/ui-core/file-manager';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsTreeviewComponent } from '@mintplayer/ng-bootstrap/treeview';\nimport { BsDatatableComponent, BsDatatableCellDirective } from '@mintplayer/ng-bootstrap/datatable';\nimport { bootstrapBreadcrumb } from '@mintplayer/ui-core/bootstrap/breadcrumb';\n\n/**\n * A file browser (#437): a folder tree and the open folder as a list or as icon cards, with a breadcrumb,\n * a toolbar, search, a context menu, inline rename and file drop. It renders intents (`operation`,\n * `uploadRequest`, `nodeOpen`); the consumer owns `nodes` and the backend. Two-way: `currentFolderId`,\n * `selectedIds`, `viewMode`, `uploads`, `pending`. Strings come from `messages`.\n */\n@Component({\n selector: 'bs-file-manager',\n templateUrl: './file-manager.view.generated.html',\n imports: [MpPropsDirective, MpTrustedHtmlPipe, BsSplitterComponent, BsSplitterPanelComponent, BsTreeviewComponent, BsDatatableComponent, BsDatatableCellDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFileManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly nodes = input<FileManagerInputs['nodes']>([]);\n readonly rootFolderId = input<FileManagerInputs['rootFolderId']>(null);\n readonly currentFolderId = model<FileManagerInputs['currentFolderId']>(null);\n readonly allowUpload = input<FileManagerInputs['allowUpload'], unknown>(false, { transform: booleanAttribute });\n readonly allowOperations = input<FileManagerInputs['allowOperations']>(true);\n readonly viewMode = model<FileManagerInputs['viewMode']>('list');\n readonly selectionMode = input<FileManagerInputs['selectionMode']>('multiple');\n readonly selectedIds = model<FileManagerInputs['selectedIds']>([]);\n readonly searchPlaceholder = input<FileManagerInputs['searchPlaceholder']>(null);\n readonly iconResolver = input<FileManagerInputs['iconResolver']>(null);\n readonly messages = input<FileManagerInputs['messages']>(null);\n readonly dialogResolver = input<FileManagerInputs['dialogResolver']>(null);\n readonly conflictResolver = input<FileManagerInputs['conflictResolver']>(null);\n readonly loadChildren = input<FileManagerInputs['loadChildren']>(null);\n readonly uploads = model<FileManagerInputs['uploads']>([]);\n readonly pending = model<FileManagerInputs['pending']>({});\n /** The user opened a folder. */\n readonly navigate = output<NavigateEventDetail>();\n /** A file was opened (double click or Enter). */\n readonly nodeOpen = output<NodeOpenEventDetail>();\n /** The selection changed. */\n readonly selectionChanged = output<FileManagerSelectionEventDetail>();\n /** Files were dropped or picked, after conflict resolution. */\n readonly uploadRequest = output<UploadRequestEventDetail>();\n /** Rename, delete, new folder or paste: the consumer applies it. */\n readonly operation = output<OperationEventDetail>();\n /** `reportError()` was called. */\n readonly errorReported = output<FileManagerErrorEventDetail>();\n /** A lazy folder's children arrived. */\n readonly childrenLoaded = output<ChildrenLoadedEventDetail>();\n\n readonly #core = useCore(fileManagerCore, { inputs: () => ({ nodes: this.nodes(), rootFolderId: this.rootFolderId(), currentFolderId: this.currentFolderId(), allowUpload: this.allowUpload(), allowOperations: this.allowOperations(), viewMode: this.viewMode(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), searchPlaceholder: this.searchPlaceholder(), iconResolver: this.iconResolver(), messages: this.messages(), dialogResolver: this.dialogResolver(), conflictResolver: this.conflictResolver(), loadChildren: this.loadChildren(), uploads: this.uploads(), pending: this.pending() }), idPrefix: 'bs-file-manager', outputs: { navigate: this.navigate, nodeOpen: this.nodeOpen, selectionChanged: this.selectionChanged, uploadRequest: this.uploadRequest, operation: this.operation, errorReported: this.errorReported, childrenLoaded: this.childrenLoaded }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'file-manager' }), models: { currentFolderId: this.currentFolderId, viewMode: this.viewMode, selectedIds: this.selectedIds, uploads: this.uploads, pending: this.pending } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapBreadcrumb.key, bootstrapBreadcrumb.css, { order: bootstrapBreadcrumb.order }); useScopedStyles('file-manager', fileManagerScopedStyles);\n }\n\n /** Mark a node busy while the backend works on it. */\n markPending(...args: Parameters<FileManagerMethods['markPending']>): ReturnType<FileManagerMethods['markPending']> {\n return this.#core.call('markPending', args) as ReturnType<FileManagerMethods['markPending']>;\n }\n\n /** Clear a node's busy mark. */\n clearPending(...args: Parameters<FileManagerMethods['clearPending']>): ReturnType<FileManagerMethods['clearPending']> {\n return this.#core.call('clearPending', args) as ReturnType<FileManagerMethods['clearPending']>;\n }\n\n /** Fire `errorReported` with this message. */\n reportError(...args: Parameters<FileManagerMethods['reportError']>): ReturnType<FileManagerMethods['reportError']> {\n return this.#core.call('reportError', args) as ReturnType<FileManagerMethods['reportError']>;\n }\n\n /** Move an upload's progress and status. */\n reportUploadProgress(...args: Parameters<FileManagerMethods['reportUploadProgress']>): ReturnType<FileManagerMethods['reportUploadProgress']> {\n return this.#core.call('reportUploadProgress', args) as ReturnType<FileManagerMethods['reportUploadProgress']>;\n }\n\n /** Stop tracking an upload. */\n clearUpload(...args: Parameters<FileManagerMethods['clearUpload']>): ReturnType<FileManagerMethods['clearUpload']> {\n return this.#core.call('clearUpload', args) as ReturnType<FileManagerMethods['clearUpload']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n ›\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeSelect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowDblClick)=\"p_view.onRowDblClick($event)\" (rowContextMenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n","// GENERATED from the file-manager manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFileManagerComponent } from './file-manager.component.generated';\n","// The file manager is generated from @mintplayer/ui-core/file-manager (PRD #437 D10).\nexport * from './generated';\nexport { DEFAULT_FILE_MANAGER_MESSAGES, mergeMessages } from '@mintplayer/ui-core/file-manager';\nexport type {\n ChildrenLoadedEventDetail,\n ConflictDecision,\n ConflictResolver,\n DialogResolver,\n FileManagerChildrenLoader,\n FileManagerErrorEventDetail,\n FileManagerIconResolver,\n FileManagerMessages,\n FileManagerSelectionEventDetail,\n FileManagerSelectionMode,\n FileManagerViewMode,\n FileSystemNode,\n FileSystemNodeType,\n NavigateEventDetail,\n NodeOpenEventDetail,\n OperationEventDetail,\n OperationFlags,\n OperationKind,\n UploadEntry,\n UploadRequestEventDetail,\n} from '@mintplayer/ui-core/file-manager';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAUA;;;;;AAKG;MAOU,sBAAsB,CAAA;AAmCxB,IAAA,KAAK;AAId,IAAA,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er-ng-bootstrap-file-manager.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/mintplayer-ng-bootstrap-file-manager.ts"],"sourcesContent":["// GENERATED from the file-manager manifest (file-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, MpTrustedHtmlPipe, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type ChildrenLoadedEventDetail, fileManagerCore, type FileManagerErrorEventDetail, type FileManagerInputs, type FileManagerMethods, fileManagerScopedStyles, type FileManagerSelectionEventDetail, type NavigateEventDetail, type NodeOpenEventDetail, type OperationEventDetail, type UploadRequestEventDetail } from '@mintplayer/ui-core/file-manager';\nimport { BsSplitterComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsSplitterPanelComponent } from '@mintplayer/ng-bootstrap/splitter';\nimport { BsTreeviewComponent } from '@mintplayer/ng-bootstrap/treeview';\nimport { BsDatatableComponent, BsDatatableCellDirective } from '@mintplayer/ng-bootstrap/datatable';\nimport { bootstrapBreadcrumb } from '@mintplayer/ui-core/bootstrap/breadcrumb';\n\n/**\n * A file browser (#437): a folder tree and the open folder as a list or as icon cards, with a breadcrumb,\n * a toolbar, search, a context menu, inline rename and file drop. It renders intents (`operation`,\n * `uploadRequest`, `nodeOpen`); the consumer owns `nodes` and the backend. Two-way: `currentFolderId`,\n * `selectedIds`, `viewMode`, `uploads`, `pending`. Strings come from `messages`.\n */\n@Component({\n selector: 'bs-file-manager',\n templateUrl: './file-manager.view.generated.html',\n imports: [MpPropsDirective, MpTrustedHtmlPipe, BsSplitterComponent, BsSplitterPanelComponent, BsTreeviewComponent, BsDatatableComponent, BsDatatableCellDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFileManagerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly nodes = input<FileManagerInputs['nodes']>([]);\n readonly rootFolderId = input<FileManagerInputs['rootFolderId']>(null);\n readonly currentFolderId = model<FileManagerInputs['currentFolderId']>(null);\n readonly allowUpload = input<FileManagerInputs['allowUpload'], unknown>(false, { transform: booleanAttribute });\n readonly allowOperations = input<FileManagerInputs['allowOperations']>(true);\n readonly viewMode = model<FileManagerInputs['viewMode']>('list');\n readonly selectionMode = input<FileManagerInputs['selectionMode']>('multiple');\n readonly selectedIds = model<FileManagerInputs['selectedIds']>([]);\n readonly searchPlaceholder = input<FileManagerInputs['searchPlaceholder']>(null);\n readonly iconResolver = input<FileManagerInputs['iconResolver']>(null);\n readonly messages = input<FileManagerInputs['messages']>(null);\n readonly dialogResolver = input<FileManagerInputs['dialogResolver']>(null);\n readonly conflictResolver = input<FileManagerInputs['conflictResolver']>(null);\n readonly loadChildren = input<FileManagerInputs['loadChildren']>(null);\n readonly uploads = model<FileManagerInputs['uploads']>([]);\n readonly pending = model<FileManagerInputs['pending']>({});\n /** The user opened a folder. */\n readonly navigate = output<NavigateEventDetail>();\n /** A file was opened (double click or Enter). */\n readonly nodeOpen = output<NodeOpenEventDetail>();\n /** The selection changed. */\n readonly selectionChanged = output<FileManagerSelectionEventDetail>();\n /** Files were dropped or picked, after conflict resolution. */\n readonly uploadRequest = output<UploadRequestEventDetail>();\n /** Rename, delete, new folder or paste: the consumer applies it. */\n readonly operation = output<OperationEventDetail>();\n /** `reportError()` was called. */\n readonly errorReported = output<FileManagerErrorEventDetail>();\n /** A lazy folder's children arrived. */\n readonly childrenLoaded = output<ChildrenLoadedEventDetail>();\n\n readonly #core = useCore(fileManagerCore, { inputs: () => ({ nodes: this.nodes(), rootFolderId: this.rootFolderId(), currentFolderId: this.currentFolderId(), allowUpload: this.allowUpload(), allowOperations: this.allowOperations(), viewMode: this.viewMode(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), searchPlaceholder: this.searchPlaceholder(), iconResolver: this.iconResolver(), messages: this.messages(), dialogResolver: this.dialogResolver(), conflictResolver: this.conflictResolver(), loadChildren: this.loadChildren(), uploads: this.uploads(), pending: this.pending() }), idPrefix: 'bs-file-manager', outputs: { navigate: this.navigate, nodeOpen: this.nodeOpen, selectionChanged: this.selectionChanged, uploadRequest: this.uploadRequest, operation: this.operation, errorReported: this.errorReported, childrenLoaded: this.childrenLoaded }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'file-manager' }), models: {currentFolderId: this.currentFolderId, viewMode: this.viewMode, selectedIds: this.selectedIds, uploads: this.uploads, pending: this.pending } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapBreadcrumb.key, bootstrapBreadcrumb.css, { order: bootstrapBreadcrumb.order }); useScopedStyles('file-manager', fileManagerScopedStyles);\n }\n\n /** Mark a node busy while the backend works on it. */\n markPending(...args: Parameters<FileManagerMethods['markPending']>): ReturnType<FileManagerMethods['markPending']> {\n return this.#core.call('markPending', args) as ReturnType<FileManagerMethods['markPending']>;\n }\n\n /** Clear a node's busy mark. */\n clearPending(...args: Parameters<FileManagerMethods['clearPending']>): ReturnType<FileManagerMethods['clearPending']> {\n return this.#core.call('clearPending', args) as ReturnType<FileManagerMethods['clearPending']>;\n }\n\n /** Fire `errorReported` with this message. */\n reportError(...args: Parameters<FileManagerMethods['reportError']>): ReturnType<FileManagerMethods['reportError']> {\n return this.#core.call('reportError', args) as ReturnType<FileManagerMethods['reportError']>;\n }\n\n /** Move an upload's progress and status. */\n reportUploadProgress(...args: Parameters<FileManagerMethods['reportUploadProgress']>): ReturnType<FileManagerMethods['reportUploadProgress']> {\n return this.#core.call('reportUploadProgress', args) as ReturnType<FileManagerMethods['reportUploadProgress']>;\n }\n\n /** Stop tracking an upload. */\n clearUpload(...args: Parameters<FileManagerMethods['clearUpload']>): ReturnType<FileManagerMethods['clearUpload']> {\n return this.#core.call('clearUpload', args) as ReturnType<FileManagerMethods['clearUpload']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n ›\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeSelect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowDblClick)=\"p_view.onRowDblClick($event)\" (rowContextMenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n","// GENERATED from the file-manager manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFileManagerComponent } from './file-manager.component.generated';\n","// The file manager is generated from @mintplayer/ui-core/file-manager (PRD #437 D10).\nexport * from './generated';\nexport { DEFAULT_FILE_MANAGER_MESSAGES, mergeMessages } from '@mintplayer/ui-core/file-manager';\nexport type {\n ChildrenLoadedEventDetail,\n ConflictDecision,\n ConflictResolver,\n DialogResolver,\n FileManagerChildrenLoader,\n FileManagerErrorEventDetail,\n FileManagerIconResolver,\n FileManagerMessages,\n FileManagerSelectionEventDetail,\n FileManagerSelectionMode,\n FileManagerViewMode,\n FileSystemNode,\n FileSystemNodeType,\n NavigateEventDetail,\n NodeOpenEventDetail,\n OperationEventDetail,\n OperationFlags,\n OperationKind,\n UploadEntry,\n UploadRequestEventDetail,\n} from '@mintplayer/ui-core/file-manager';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AAUA;;;;;AAKG;MAOU,sBAAsB,CAAA;AAmCxB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AArCS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,KAAK,GAAG,KAAK,CAA6B,EAAE;kFAAC;QAC7C,IAAA,CAAA,YAAY,GAAG,KAAK,CAAoC,IAAI;yFAAC;QAC7D,IAAA,CAAA,eAAe,GAAG,KAAK,CAAuC,IAAI;4FAAC;QACnE,IAAA,CAAA,WAAW,GAAG,KAAK,CAA4C,KAAK,mFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACtG,IAAA,CAAA,eAAe,GAAG,KAAK,CAAuC,IAAI;4FAAC;QACnE,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgC,MAAM;qFAAC;QACvD,IAAA,CAAA,aAAa,GAAG,KAAK,CAAqC,UAAU;0FAAC;QACrE,IAAA,CAAA,WAAW,GAAG,KAAK,CAAmC,EAAE;wFAAC;QACzD,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAyC,IAAI;8FAAC;QACvE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAoC,IAAI;yFAAC;QAC7D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgC,IAAI;qFAAC;QACrD,IAAA,CAAA,cAAc,GAAG,KAAK,CAAsC,IAAI;2FAAC;QACjE,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAwC,IAAI;6FAAC;QACrE,IAAA,CAAA,YAAY,GAAG,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,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,wBAAwB,CAAC,EAAA,eAAA,EACjJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,u/KAAA,EAAA;;;AEpBjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-file-upload.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/file-upload.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/file-upload.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/mintplayer-ng-bootstrap-file-upload.ts"],"sourcesContent":["// GENERATED from the file-upload manifest (file-upload) 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, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type FileUpload, fileUploadCore, type FileUploadInputs, fileUploadScopedStyles } from '@mintplayer/ui-core/file-upload';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\nimport { bootstrapListGroup } from '@mintplayer/ui-core/bootstrap/list-group';\n\n/** The `fileTemplate` slot of `<bs-file-upload>`: `<ng-template bsFileUploadFileTemplate>` or `*bsFileUploadFileTemplate`. */\n@Directive({ selector: '[bsFileUploadFileTemplate]' })\nexport class BsFileUploadFileTemplateDirective {\n readonly templateRef = inject<TemplateRef<{ upload: FileUpload } & { $implicit: { upload: FileUpload }['upload'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsFileUploadFileTemplateDirective, ctx: unknown): ctx is { upload: FileUpload } & { $implicit: { upload: FileUpload }['upload'] } {\n return true;\n }\n}\n\n/**\n * A file drop zone over a native file input, with the list of files added. Drop files on it, click\n * it or use the browse button; each batch is added to the two-way `files` list, emitted as\n * `filesDropped` and announced. Rows show the name, size and a progress bar the consumer updates;\n * the `fileTemplate` slot replaces a row. With `name` the input submits its files with a form, no\n * JavaScript needed.\n */\n@Component({\n selector: 'bs-file-upload',\n templateUrl: './file-upload.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFileUploadComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly files = model<FileUploadInputs['files']>([]);\n readonly name = input<FileUploadInputs['name']>(null);\n readonly accept = input<FileUploadInputs['accept']>(null);\n readonly multiple = input<FileUploadInputs['multiple'], unknown>(true, { transform: booleanAttribute });\n readonly disabled = input<FileUploadInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly dropFilesCaption = input<FileUploadInputs['dropFilesCaption']>('Drop your files here');\n readonly browseFilesCaption = input<FileUploadInputs['browseFilesCaption']>('Browse for files');\n readonly label = input<FileUploadInputs['label']>('File upload drop zone');\n readonly inputLabel = input<FileUploadInputs['inputLabel']>('Choose files to upload');\n readonly fileAddedAnnouncement = input<FileUploadInputs['fileAddedAnnouncement']>((fileName: string) => `Added ${fileName}`);\n readonly filesAddedAnnouncement = input<FileUploadInputs['filesAddedAnnouncement']>((count: number) => `Added ${count} files`);\n readonly progressLabel = input<FileUploadInputs['progressLabel']>((fileName: string) => `Upload progress for ${fileName}`);\n readonly formatSize = input<FileUploadInputs['formatSize']>(null);\n /** Files were chosen or dropped: the batch just added. */\n readonly filesDropped = output<FileUpload[]>();\n\n private readonly fileTemplateSlot = contentChild(BsFileUploadFileTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ fileTemplate: this.fileTemplateSlot()?.templateRef }));\n readonly #core = useCore(fileUploadCore, { inputs: () => ({ files: this.files(), name: this.name(), accept: this.accept(), multiple: this.multiple(), disabled: this.disabled(), dropFilesCaption: this.dropFilesCaption(), browseFilesCaption: this.browseFilesCaption(), label: this.label(), inputLabel: this.inputLabel(), fileAddedAnnouncement: this.fileAddedAnnouncement(), filesAddedAnnouncement: this.filesAddedAnnouncement(), progressLabel: this.progressLabel(), formatSize: this.formatSize() }), idPrefix: 'bs-file-upload', outputs: { filesDropped: this.filesDropped }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'file-upload' }), models: { files: this.files } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order }); useScopedStyles('file-upload', fileUploadScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/file-upload/src/templates/file-upload.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-upload\" [mpProps]=\"p_view.zone\" [mpHostAttrs]=\"hostAttrs\">\n <input data-mps=\"file-upload\" [mpProps]=\"p_view.input\">\n <span data-mps=\"file-upload\" [mpProps]=\"p_view.caption\">\n {{ p_view.dropFilesCaption }}\n </span>\n <label data-mps=\"file-upload\" [mpProps]=\"p_view.browse\">\n {{ p_view.browseFilesCaption }}\n </label>\n</div>\n<ul data-mps=\"file-upload\" [mpProps]=\"p_view.list\">\n @for (row of p_view.rows; track row.key) {\n <li data-mps=\"file-upload\" [mpProps]=\"row.item\">\n @if (slots().fileTemplate; as slot_fileTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_fileTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.upload, upload: row.upload }\" />\n } @else {\n <div data-mps=\"file-upload\" class=\"file-upload-row d-flex flex-row\">\n <div data-mps=\"file-upload\" class=\"file-upload-icon\" aria-hidden=\"true\"></div>\n <div data-mps=\"file-upload\" class=\"flex-grow-1 text-start px-2\">\n <span data-mps=\"file-upload\" class=\"d-block text-truncate text-secondary\">\n {{ row.name }}\n </span>\n <span data-mps=\"file-upload\" class=\"d-block text-body-secondary mb-0\">\n {{ row.size }}\n </span>\n <div data-mps=\"file-upload\" [mpProps]=\"row.progress\">\n <div data-mps=\"file-upload\" [mpProps]=\"row.bar\" [style]=\"row.barStyle\"></div>\n </div>\n </div>\n </div>\n }\n </li>\n }\n</ul>\n","// GENERATED from the file-upload manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFileUploadComponent, BsFileUploadFileTemplateDirective } from './file-upload.component.generated';\n","// Generated from @mintplayer/ui-core/file-upload (#458 D10).\nexport * from './generated';\nexport { formatBytes } from '@mintplayer/ui-core/file-upload';\nexport type { FileUpload } from '@mintplayer/ui-core/file-upload';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAQA;MAEa,iCAAiC,CAAA;AAD9C,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAwF,WAAW,CAAC;AAIlI,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAuC,EAAE,GAAY,EAAA;AACjF,QAAA,OAAO,IAAI;IACb;8GAJW,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CA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EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErDpF;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-file-upload.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/file-upload.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/file-upload.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-upload/mintplayer-ng-bootstrap-file-upload.ts"],"sourcesContent":["// GENERATED from the file-upload manifest (file-upload) 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, useCore, useHostAttrs, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type FileUpload, fileUploadCore, type FileUploadInputs, fileUploadScopedStyles } from '@mintplayer/ui-core/file-upload';\nimport { bootstrapProgress } from '@mintplayer/ui-core/bootstrap/progress';\nimport { bootstrapListGroup } from '@mintplayer/ui-core/bootstrap/list-group';\n\n/** The `fileTemplate` slot of `<bs-file-upload>`: `<ng-template bsFileUploadFileTemplate>` or `*bsFileUploadFileTemplate`. */\n@Directive({ selector: '[bsFileUploadFileTemplate]' })\nexport class BsFileUploadFileTemplateDirective {\n readonly templateRef = inject<TemplateRef<{ upload: FileUpload } & { $implicit: { upload: FileUpload }['upload'] }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsFileUploadFileTemplateDirective, ctx: unknown): ctx is { upload: FileUpload } & { $implicit: { upload: FileUpload }['upload'] } {\n return true;\n }\n}\n\n/**\n * A file drop zone over a native file input, with the list of files added. Drop files on it, click\n * it or use the browse button; each batch is added to the two-way `files` list, emitted as\n * `filesDropped` and announced. Rows show the name, size and a progress bar the consumer updates;\n * the `fileTemplate` slot replaces a row. With `name` the input submits its files with a form, no\n * JavaScript needed.\n */\n@Component({\n selector: 'bs-file-upload',\n templateUrl: './file-upload.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsFileUploadComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The consumer's aria-*, id and tabindex on the host, for the role-bearing node. */\n protected readonly hostAttrs = useHostAttrs();\n\n readonly files = model<FileUploadInputs['files']>([]);\n readonly name = input<FileUploadInputs['name']>(null);\n readonly accept = input<FileUploadInputs['accept']>(null);\n readonly multiple = input<FileUploadInputs['multiple'], unknown>(true, { transform: booleanAttribute });\n readonly disabled = input<FileUploadInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n readonly dropFilesCaption = input<FileUploadInputs['dropFilesCaption']>('Drop your files here');\n readonly browseFilesCaption = input<FileUploadInputs['browseFilesCaption']>('Browse for files');\n readonly label = input<FileUploadInputs['label']>('File upload drop zone');\n readonly inputLabel = input<FileUploadInputs['inputLabel']>('Choose files to upload');\n readonly fileAddedAnnouncement = input<FileUploadInputs['fileAddedAnnouncement']>((fileName: string) => `Added ${fileName}`);\n readonly filesAddedAnnouncement = input<FileUploadInputs['filesAddedAnnouncement']>((count: number) => `Added ${count} files`);\n readonly progressLabel = input<FileUploadInputs['progressLabel']>((fileName: string) => `Upload progress for ${fileName}`);\n readonly formatSize = input<FileUploadInputs['formatSize']>(null);\n /** Files were chosen or dropped: the batch just added. */\n readonly filesDropped = output<FileUpload[]>();\n\n private readonly fileTemplateSlot = contentChild(BsFileUploadFileTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ fileTemplate: this.fileTemplateSlot()?.templateRef }));\n readonly #core = useCore(fileUploadCore, { inputs: () => ({ files: this.files(), name: this.name(), accept: this.accept(), multiple: this.multiple(), disabled: this.disabled(), dropFilesCaption: this.dropFilesCaption(), browseFilesCaption: this.browseFilesCaption(), label: this.label(), inputLabel: this.inputLabel(), fileAddedAnnouncement: this.fileAddedAnnouncement(), filesAddedAnnouncement: this.filesAddedAnnouncement(), progressLabel: this.progressLabel(), formatSize: this.formatSize() }), idPrefix: 'bs-file-upload', outputs: { filesDropped: this.filesDropped }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'file-upload' }), models: {files: this.files } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapProgress.key, bootstrapProgress.css, { order: bootstrapProgress.order }); useScopedStyles(bootstrapListGroup.key, bootstrapListGroup.css, { order: bootstrapListGroup.order }); useScopedStyles('file-upload', fileUploadScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/file-upload/src/templates/file-upload.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-upload\" [mpProps]=\"p_view.zone\" [mpHostAttrs]=\"hostAttrs\">\n <input data-mps=\"file-upload\" [mpProps]=\"p_view.input\">\n <span data-mps=\"file-upload\" [mpProps]=\"p_view.caption\">\n {{ p_view.dropFilesCaption }}\n </span>\n <label data-mps=\"file-upload\" [mpProps]=\"p_view.browse\">\n {{ p_view.browseFilesCaption }}\n </label>\n</div>\n<ul data-mps=\"file-upload\" [mpProps]=\"p_view.list\">\n @for (row of p_view.rows; track row.key) {\n <li data-mps=\"file-upload\" [mpProps]=\"row.item\">\n @if (slots().fileTemplate; as slot_fileTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_fileTemplate\" [ngTemplateOutletContext]=\"{ $implicit: row.upload, upload: row.upload }\" />\n } @else {\n <div data-mps=\"file-upload\" class=\"file-upload-row d-flex flex-row\">\n <div data-mps=\"file-upload\" class=\"file-upload-icon\" aria-hidden=\"true\"></div>\n <div data-mps=\"file-upload\" class=\"flex-grow-1 text-start px-2\">\n <span data-mps=\"file-upload\" class=\"d-block text-truncate text-secondary\">\n {{ row.name }}\n </span>\n <span data-mps=\"file-upload\" class=\"d-block text-body-secondary mb-0\">\n {{ row.size }}\n </span>\n <div data-mps=\"file-upload\" [mpProps]=\"row.progress\">\n <div data-mps=\"file-upload\" [mpProps]=\"row.bar\" [style]=\"row.barStyle\"></div>\n </div>\n </div>\n </div>\n }\n </li>\n }\n</ul>\n","// GENERATED from the file-upload manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsFileUploadComponent, BsFileUploadFileTemplateDirective } from './file-upload.component.generated';\n","// Generated from @mintplayer/ui-core/file-upload (#458 D10).\nexport * from './generated';\nexport { formatBytes } from '@mintplayer/ui-core/file-upload';\nexport type { FileUpload } from '@mintplayer/ui-core/file-upload';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AAQA;MAEa,iCAAiC,CAAA;AAD9C,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAwF,WAAW,CAAC;AAIlI,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAuC,EAAE,GAAY,EAAA;AACjF,QAAA,OAAO,IAAI;IACb;8GAJW,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjC,iCAAiC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAD7C,SAAS;mBAAC,EAAE,QAAQ,EAAE,4BAA4B,EAAE;;AAQrD;;;;;;AAMG;MAOU,qBAAqB,CAAA;AA0BvB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AA5BS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAG9C,IAAA,CAAA,SAAS,GAAG,YAAY,EAAE;QAEpC,IA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AAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,aAAa,EAAE,sBAAsB,CAAC;IACjQ;8GAhCW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,g9DAuBiB,iCAAiC,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECrDpF,qsDAmCA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDRY,gBAAgB,wGAAE,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGjC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBANjC,SAAS;+BACE,gBAAgB,EAAA,OAAA,EAEjB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAA,eAAA,EAC5B,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,qsDAAA,EAAA;4hDAyBE,iCAAiC,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErDpF;;ACAA;;ACAA;;AAEG;;;;"}
@@ -68,19 +68,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
68
68
  class BsGridColumnDirective {
69
69
  constructor() {
70
70
  /** The column span (1–12) at every width: `col-N`. */
71
- this.xxs = input(undefined, { ...(ngDevMode ? { debugName: "xxs" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
71
+ this.xxs = input(undefined, { ...(ngDevMode ? { debugName: "xxs" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
72
72
  /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */
73
- this.xs = input(undefined, { ...(ngDevMode ? { debugName: "xs" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
73
+ this.xs = input(undefined, { ...(ngDevMode ? { debugName: "xs" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
74
74
  /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */
75
- this.sm = input(undefined, { ...(ngDevMode ? { debugName: "sm" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
75
+ this.sm = input(undefined, { ...(ngDevMode ? { debugName: "sm" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
76
76
  /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */
77
- this.md = input(undefined, { ...(ngDevMode ? { debugName: "md" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
77
+ this.md = input(undefined, { ...(ngDevMode ? { debugName: "md" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
78
78
  /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */
79
- this.lg = input(undefined, { ...(ngDevMode ? { debugName: "lg" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
79
+ this.lg = input(undefined, { ...(ngDevMode ? { debugName: "lg" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
80
80
  /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */
81
- this.xl = input(undefined, { ...(ngDevMode ? { debugName: "xl" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
81
+ this.xl = input(undefined, { ...(ngDevMode ? { debugName: "xl" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
82
82
  /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */
83
- this.xxl = input(undefined, { ...(ngDevMode ? { debugName: "xxl" } : /* istanbul ignore next */ {}), transform: (v) => numberAttribute(v) });
83
+ this.xxl = input(undefined, { ...(ngDevMode ? { debugName: "xxl" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? undefined : numberAttribute(v)) });
84
84
  this.core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });
85
85
  useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order });
86
86
  useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order });
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/row.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/col.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/column.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["// GENERATED from the grid manifest (grid) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridCore, type GridInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly stopFullWidthAt = input<GridInputs['stopFullWidthAt']>('sm');\n\n readonly #core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridRowCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's `.row` on the element. */\n@Directive({ selector: '[bsRow]' })\nexport class BsGridRowDirective {\n\n protected readonly core = useCore(gridRowCore, { inputs: () => ({ }), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's auto-width `.col` on the element. */\n@Directive({ selector: '[col]' })\nexport class BsGridColDirective {\n\n protected readonly core = useCore(gridColCore, { inputs: () => ({ }), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input, numberAttribute } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColumnCore, type GridColumnInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** A column with a span per breakpoint: `<div md=\"6\" lg=\"4\">`. */\n@Directive({ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' })\nexport class BsGridColumnDirective {\n /** The column span (1–12) at every width: `col-N`. */\n readonly xxs = input<GridColumnInputs['xxs'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xxs'] });\n /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */\n readonly xs = input<GridColumnInputs['xs'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xs'] });\n /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */\n readonly sm = input<GridColumnInputs['sm'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['sm'] });\n /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */\n readonly md = input<GridColumnInputs['md'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['md'] });\n /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */\n readonly lg = input<GridColumnInputs['lg'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['lg'] });\n /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */\n readonly xl = input<GridColumnInputs['xl'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xl'] });\n /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */\n readonly xxl = input<GridColumnInputs['xxl'], unknown>(undefined, { transform: (v: unknown) => numberAttribute(v) as GridColumnInputs['xxl'] });\n\n protected readonly core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsGridComponent } from './grid.component.generated';\nexport { BsGridRowDirective } from './row.directive.generated';\nexport { BsGridColDirective } from './col.directive.generated';\nexport { BsGridColumnDirective } from './column.directive.generated';\n","// bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).\nexport * from './generated';\nexport * from './interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,eAAe,CAAA;AAMjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AARS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,eAAe,GAAG,KAAK,CAAgC,IAAI;4FAAC;QAE5D,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;;AAElK,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAC3O;8GAZW,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,qOCd5B,uJAEA,EAAA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AA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,GAAA,EAAA,EAAA,iBAAA,EAAA,KAAA,EAAA,UAAA,EAAA,KAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,SAAS;mBAAC,EAAE,QAAQ,EAAE,sCAAsC,EAAE;;;ACR/D;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-grid.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/grid.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/row.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/col.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/column.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/grid/mintplayer-ng-bootstrap-grid.ts"],"sourcesContent":["// GENERATED from the grid manifest (grid) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridCore, type GridInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's container around the page's rows: full width below `stopFullWidthAt`, fixed widths from it up (`never`: always full width). */\n@Component({\n selector: 'bs-grid',\n templateUrl: './grid.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsGridComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly stopFullWidthAt = input<GridInputs['stopFullWidthAt']>('sm');\n\n readonly #core = useCore(gridCore, { inputs: () => ({ stopFullWidthAt: this.stopFullWidthAt() }), idPrefix: 'bs-grid', hostBag: (props) => ({ ...props.root, 'data-mps': 'grid' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/grid/src/templates/grid.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the grid manifest (row) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridRowCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's `.row` on the element. */\n@Directive({ selector: '[bsRow]' })\nexport class BsGridRowDirective {\n\n protected readonly core = useCore(gridRowCore, { inputs: () => ({ }), idPrefix: 'bs-row', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (col) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColCore, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** Bootstrap's auto-width `.col` on the element. */\n@Directive({ selector: '[col]' })\nexport class BsGridColDirective {\n\n protected readonly core = useCore(gridColCore, { inputs: () => ({ }), idPrefix: 'bs-col', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest (column) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input, numberAttribute } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { gridColumnCore, type GridColumnInputs, gridScopedStyles } from '@mintplayer/ui-core/grid';\nimport { bootstrapContainers } from '@mintplayer/ui-core/bootstrap/containers';\nimport { bootstrapGrid } from '@mintplayer/ui-core/bootstrap/grid';\n\n/** A column with a span per breakpoint: `<div md=\"6\" lg=\"4\">`. */\n@Directive({ selector: '[xxs],[xs],[sm],[md],[lg],[xl],[xxl]' })\nexport class BsGridColumnDirective {\n /** The column span (1–12) at every width: `col-N`. */\n readonly xxs = input<GridColumnInputs['xxs'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xxs'] });\n /** The column span (1–12) from the `xs` breakpoint up: `col-xs-N`. */\n readonly xs = input<GridColumnInputs['xs'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xs'] });\n /** The column span (1–12) from the `sm` breakpoint up: `col-sm-N`. */\n readonly sm = input<GridColumnInputs['sm'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['sm'] });\n /** The column span (1–12) from the `md` breakpoint up: `col-md-N`. */\n readonly md = input<GridColumnInputs['md'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['md'] });\n /** The column span (1–12) from the `lg` breakpoint up: `col-lg-N`. */\n readonly lg = input<GridColumnInputs['lg'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['lg'] });\n /** The column span (1–12) from the `xl` breakpoint up: `col-xl-N`. */\n readonly xl = input<GridColumnInputs['xl'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xl'] });\n /** The column span (1–12) from the `xxl` breakpoint up: `col-xxl-N`. */\n readonly xxl = input<GridColumnInputs['xxl'], unknown>(undefined, { transform: (v: unknown) => (v == null || v === '' ? undefined : numberAttribute(v)) as GridColumnInputs['xxl'] });\n\n protected readonly core = useCore(gridColumnCore, { inputs: () => ({ xxs: this.xxs(), xs: this.xs(), sm: this.sm(), md: this.md(), lg: this.lg(), xl: this.xl(), xxl: this.xxl() }), idPrefix: 'bs-column', hostBag: (props) => ({ ...props, 'data-mps': 'grid' }) });\n\n constructor() {\n useScopedStyles(bootstrapContainers.key, bootstrapContainers.css, { order: bootstrapContainers.order }); useScopedStyles(bootstrapGrid.key, bootstrapGrid.css, { order: bootstrapGrid.order }); useScopedStyles('grid', gridScopedStyles);\n }\n}\n","// GENERATED from the grid manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsGridComponent } from './grid.component.generated';\nexport { BsGridRowDirective } from './row.directive.generated';\nexport { BsGridColDirective } from './col.directive.generated';\nexport { BsGridColumnDirective } from './column.directive.generated';\n","// bs-grid, bsRow, [col] and the breakpoint columns are generated from @mintplayer/ui-core/grid (#458).\nexport * from './generated';\nexport * from './interfaces';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,eAAe,CAAA;AAMjB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AARS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,eAAe,GAAG,KAAK,CAAgC,IAAI;4FAAC;QAE5D,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;;AAElK,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,eAAe,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,aAA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ootstrap';
5
5
  import { writeScopedStyleTag, installLightStyles, SCOPED_STYLE_MARKER } from '@mintplayer/ui-core/scoped-styles';
6
6
  import { takeHostAria, BsIdService } from '@mintplayer/ng-bootstrap/a11y';
7
- import { coreRuntime } from '@mintplayer/ui-core/component';
7
+ import { scopedHost, coreRuntime } from '@mintplayer/ui-core/component';
8
8
  import { DEFAULT_PREFETCH_TIMEOUT, runPrefetch } from '@mintplayer/ui-core/transfer-state';
9
9
  import { DomSanitizer } from '@angular/platform-browser';
10
10
  import { createBodyHost, removeBodyHost } from '@mintplayer/ui-core/overlay';
@@ -299,7 +299,7 @@ function useCore(core, options) {
299
299
  ...(ngDevMode ? [{ debugName: "props" }] : /* istanbul ignore next */ []));
300
300
  const provided = computed(() => core.provide?.(args()), /* @ts-ignore */
301
301
  ...(ngDevMode ? [{ debugName: "provided" }] : /* istanbul ignore next */ []));
302
- const hostBag = options.hostBag ?? core.host?.bind(core);
302
+ const hostBag = options.hostBag ?? scopedHost(core.host?.bind(core), options.hostScope);
303
303
  if (hostBag)
304
304
  useHostProps(() => hostBag(props()), options.element);
305
305
  const runtime = coreRuntime(core, {