@mintplayer/ng-bootstrap 22.34.0 → 22.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs +7 -5
- package/fesm2022/mintplayer-ng-bootstrap-context-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +6 -4
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs +7 -5
- package/fesm2022/mintplayer-ng-bootstrap-dropdown.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs +7 -5
- package/fesm2022/mintplayer-ng-bootstrap-popover.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs +7 -5
- package/fesm2022/mintplayer-ng-bootstrap-tooltip.mjs.map +1 -1
- package/package.json +2 -2
- package/types/mintplayer-ng-bootstrap-context-menu.d.ts +4 -2
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +3 -1
- package/types/mintplayer-ng-bootstrap-dropdown.d.ts +4 -2
- package/types/mintplayer-ng-bootstrap-popover.d.ts +3 -2
- package/types/mintplayer-ng-bootstrap-tooltip.d.ts +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input,
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, signal, TemplateRef, Directive, numberAttribute, booleanAttribute, output, contentChild, computed } from '@angular/core';
|
|
3
3
|
import { useCore, useScopedStyles, provideCoreContext, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
|
|
4
4
|
import { dropdownPanelCore, dropdownScopedStyles, DROPDOWN_NESTING, dropdownMenuCore, dropdownItemCore, dropdownHeaderCore, dropdownDividerCore, dropdownCore } from '@mintplayer/ui-core/dropdown';
|
|
5
5
|
import { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';
|
|
@@ -20,13 +20,15 @@ class BsDropdownPanelComponent {
|
|
|
20
20
|
...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
|
|
21
21
|
this.side = input('bottom', /* @ts-ignore */
|
|
22
22
|
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
23
|
-
|
|
23
|
+
/** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
|
|
24
|
+
this.phase = input('closed', /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []));
|
|
24
26
|
this.hasPopup = input('menu', /* @ts-ignore */
|
|
25
27
|
...(ngDevMode ? [{ debugName: "hasPopup" }] : /* istanbul ignore next */ []));
|
|
26
28
|
/** The trigger's id, naming a dialog panel. */
|
|
27
29
|
this.triggerId = input(null, /* @ts-ignore */
|
|
28
30
|
...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
|
|
29
|
-
this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(),
|
|
31
|
+
this.#core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });
|
|
30
32
|
/** What this component hands its content. */
|
|
31
33
|
this.provided = this.#core.provided;
|
|
32
34
|
/** The template's props. */
|
|
@@ -35,12 +37,12 @@ class BsDropdownPanelComponent {
|
|
|
35
37
|
useScopedStyles('dropdown', dropdownScopedStyles);
|
|
36
38
|
}
|
|
37
39
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownPanelComponent, isStandalone: true, selector: "bs-dropdown-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null },
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsDropdownPanelComponent, isStandalone: true, selector: "bs-dropdown-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, phase: { classPropertyName: "phase", publicName: "phase", isSignal: true, isRequired: false, transformFunction: null }, hasPopup: { classPropertyName: "hasPopup", publicName: "hasPopup", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
41
|
}
|
|
40
42
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDropdownPanelComponent, decorators: [{
|
|
41
43
|
type: Component,
|
|
42
44
|
args: [{ selector: 'bs-dropdown-panel', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)], template: "<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n" }]
|
|
43
|
-
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }],
|
|
45
|
+
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", required: false }] }], hasPopup: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasPopup", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
|
|
44
46
|
|
|
45
47
|
/*
|
|
46
48
|
* The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10
|
|
@@ -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) => (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,CAAA,KAAK,GAAG,OAAO,CAAC,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,mBAAmB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC;;AAEvR,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ;;AAEpB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK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,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
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-dropdown.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/dropdown-menu.angular.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-menu.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-item.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-header.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown-divider.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/dropdown.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/dropdown/mintplayer-ng-bootstrap-dropdown.ts"],"sourcesContent":["// GENERATED from the dropdown manifest (dropdown-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownPanelCore, type DropdownPanelInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** The dropdown's positioned panel, as the dropdown directive renders it; not used on its own. */\n@Component({\n selector: 'bs-dropdown-panel',\n templateUrl: './dropdown-panel.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownPanelComponent)],\n})\nexport class BsDropdownPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-controls` names. */\n readonly overlayId = input<DropdownPanelInputs['overlayId']>('');\n readonly side = input<DropdownPanelInputs['side']>('bottom');\n /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */\n readonly phase = input<DropdownPanelInputs['phase']>('closed');\n readonly hasPopup = input<DropdownPanelInputs['hasPopup']>('menu');\n /** The trigger's id, naming a dialog panel. */\n readonly triggerId = input<DropdownPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(dropdownPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), hasPopup: this.hasPopup(), triggerId: this.triggerId() }), idPrefix: 'bs-dropdown-panel', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","import { inject, signal } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterLinkActive } from '@angular/router';\nimport type { DropdownMenuInputs } from '@mintplayer/ui-core/dropdown';\n\n/*\n * The Angular extension of the generated `bs-dropdown-menu` (PRD #437 D10\n * escape hatch): in a navbar, a dropdown whose content holds the active\n * route's link marks its trigger, the way Bootstrap marks an active nav link.\n * Outside a navbar `active` renders nothing. `Router` is provided in root, so\n * this needs no `provideRouter` in an app without routes.\n */\n\n/** `RouterLinkActive` on the host watches the `routerLink`s in the content. */\nexport const hostDirectives = [RouterLinkActive];\n\nexport function extendInputs(inputs: () => DropdownMenuInputs): () => DropdownMenuInputs {\n const rla = inject(RouterLinkActive, { self: true });\n // No class on this host: the state goes on the summary through the bag.\n rla.routerLinkActive = [];\n const routeActive = signal(false);\n rla.isActiveChange.pipe(takeUntilDestroyed()).subscribe((active) => routeActive.set(active));\n return () => {\n const value = inputs();\n return { ...value, active: value.active || routeActive() };\n };\n}\n","// GENERATED from the dropdown manifest (dropdown-menu) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, provideCoreContext, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { DROPDOWN_NESTING, dropdownMenuCore, type DropdownMenuInputs, dropdownScopedStyles, type DropdownSelectEventDetail } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { hostDirectives as ext_hostDirectives, extendInputs as ext_extendInputs } from '../dropdown-menu.angular';\n\n/** The `labelTemplate` slot of `<bs-dropdown-menu>`: `<ng-template bsDropdownMenuLabelTemplate>` or `*bsDropdownMenuLabelTemplate`. */\n@Directive({ selector: '[bsDropdownMenuLabelTemplate]' })\nexport class BsDropdownMenuLabelTemplateDirective {\n readonly templateRef = inject<TemplateRef<unknown>>(TemplateRef);\n}\n\n/**\n * Bootstrap's dropdown menu: an APG menu over its `dropdown-item`s (roving focus, arrow keys, Home / End,\n * type-ahead free). Inside a dropdown its trigger names it; on its own give it a `label`.\n * In a navbar nav group it is the navbar dropdown instead: a native `<details>` disclosure with `label` as\n * its trigger text (or the `labelTemplate` slot), and a nested menu is a submenu.\n */\n@Component({\n selector: 'bs-dropdown-menu',\n templateUrl: './dropdown-menu.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [provideCoreContext(DROPDOWN_NESTING, BsDropdownMenuComponent)],\n hostDirectives: ext_hostDirectives,\n})\nexport class BsDropdownMenuComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Pixel cap on the height; the menu scrolls beyond. */\n readonly maxHeight = input<DropdownMenuInputs['maxHeight'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as DropdownMenuInputs['maxHeight'] });\n /** The menu's accessible name, when no trigger names it; in a navbar, the trigger text. */\n readonly label = input<DropdownMenuInputs['label']>(null);\n /** In a navbar: a descendant link's route is active. */\n readonly active = input<DropdownMenuInputs['active'], unknown>(false, { transform: booleanAttribute });\n /** An enabled item was activated: the item and its `value`. */\n readonly itemSelect = output<DropdownSelectEventDetail>();\n\n private readonly labelTemplateSlot = contentChild(BsDropdownMenuLabelTemplateDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ labelTemplate: this.labelTemplateSlot()?.templateRef }));\n readonly #core = useCore(dropdownMenuCore, { inputs: ext_extendInputs(() => ({ maxHeight: this.maxHeight(), label: this.label(), active: this.active() })), idPrefix: 'bs-dropdown-menu', outputs: { itemSelect: this.itemSelect }, hostScope: 'dropdown' });\n /** What this component hands its content. */\n readonly provided = this.#core.provided;\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-menu.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_nav = props().nav;\n@let p_label = props().label;\n@let p_root = props().root;\n@if (p_nav) {\n <details data-mps=\"dropdown\" [mpProps]=\"p_nav.details\" #root>\n <summary data-mps=\"dropdown\" [mpProps]=\"p_nav.summary\">\n @if (slots().labelTemplate; as slot_labelTemplate) {\n <ng-container [ngTemplateOutlet]=\"slot_labelTemplate\" />\n } @else {\n {{ p_label }}\n }\n </summary>\n <div data-mps=\"dropdown\" [mpProps]=\"p_nav.panel\">\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n </details>\n} @else {\n <div data-mps=\"dropdown\" [mpProps]=\"p_root\" #root>\n <ng-container [ngTemplateOutlet]=\"defaultSlot\" />\n </div>\n}\n<ng-template #defaultSlot><ng-content /></ng-template>\n","// GENERATED from the dropdown manifest (dropdown-item) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownItemCore, type DropdownItemInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A menu item: its content, or the link or button it wraps, is the menuitem. */\n@Component({\n selector: 'bs-dropdown-item',\n templateUrl: './dropdown-item.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownItemComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly active = input<DropdownItemInputs['active'], unknown>(false, { transform: booleanAttribute });\n readonly disabled = input<DropdownItemInputs['disabled'], unknown>(false, { transform: booleanAttribute });\n /** Opaque value reported in the menu's `select`. */\n readonly value = input<DropdownItemInputs['value']>(undefined);\n\n readonly #core = useCore(dropdownItemCore, { inputs: () => ({ active: this.active(), disabled: this.disabled(), value: this.value() }), idPrefix: 'bs-dropdown-item', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-item.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-header) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownHeaderCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A heading between menu items. */\n@Component({\n selector: 'bs-dropdown-header',\n templateUrl: './dropdown-header.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownHeaderComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownHeaderCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-header', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-header.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the dropdown manifest (dropdown-divider) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownDividerCore, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\n\n/** A separator between menu items. */\n@Component({\n selector: 'bs-dropdown-divider',\n templateUrl: './dropdown-divider.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDropdownDividerComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(dropdownDividerCore, { inputs: () => ({ }), idPrefix: 'bs-dropdown-divider', hostBag: (props) => ({ ...props.root, 'data-mps': 'dropdown' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/dropdown/src/templates/dropdown-divider.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n","// GENERATED from the dropdown manifest (dropdown) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { dropdownCore, type DropdownInputs, dropdownScopedStyles } from '@mintplayer/ui-core/dropdown';\nimport { bootstrapDropdown } from '@mintplayer/ui-core/bootstrap/dropdown';\nimport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\n\n/**\n * A dropdown on the element (an APG menu button): a click toggles the panel, ArrowDown / ArrowUp open it on\n * the first / last item. Escape, a press outside it, focus leaving it or activating an item closes it.\n */\n@Directive({ selector: '[bsDropdown]' })\nexport class BsDropdownDirective {\n /** Where the panel sits; it flips vertically when it does not fit. */\n readonly placement = input<DropdownInputs['placement'], DropdownInputs['placement'] | ''>('bottom-start', { transform: (v: DropdownInputs['placement'] | '') => (v === '' ? 'bottom-start' : v), alias: 'bsDropdown' });\n /** The panel is as wide as the trigger. */\n readonly sameWidth = input<DropdownInputs['sameWidth'], unknown>(false, { transform: booleanAttribute, alias: 'bsDropdownSameWidth' });\n /** `menu`, or `dialog` for content that is not a menu (focus moves to the panel). */\n readonly hasPopup = input<DropdownInputs['hasPopup']>('menu', { alias: 'bsDropdownHasPopup' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(dropdownCore, { inputs: () => ({ placement: this.placement(), sameWidth: this.sameWidth(), hasPopup: this.hasPopup() }), idPrefix: 'bs-dropdown', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapDropdown.key, bootstrapDropdown.css, { order: bootstrapDropdown.order }); useScopedStyles('dropdown', dropdownScopedStyles);\n useOverlayComponent(BsDropdownPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the dropdown manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDropdownPanelComponent } from './dropdown-panel.component.generated';\nexport { BsDropdownMenuComponent, BsDropdownMenuLabelTemplateDirective } from './dropdown-menu.component.generated';\nexport { BsDropdownItemComponent } from './dropdown-item.component.generated';\nexport { BsDropdownHeaderComponent } from './dropdown-header.component.generated';\nexport { BsDropdownDividerComponent } from './dropdown-divider.component.generated';\nexport { BsDropdownDirective } from './dropdown.directive.generated';\n","// Generated from @mintplayer/ui-core/dropdown (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ext_extendInputs","ext_hostDirectives"],"mappings":";;;;;;;;;;AAAA;AAMA;MAQa,wBAAwB,CAAA;AAa1B,IAAA,KAAK;AAMd,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA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agerComponent {
|
|
|
92
92
|
return this.#core.call('clearUpload', args);
|
|
93
93
|
}
|
|
94
94
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
95
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeOpen: "nodeOpen", selectionChanged: "selectionChanged", uploadRequest: "uploadRequest", operation: "operation", errorReported: "errorReported", childrenLoaded: "childrenLoaded" }, ngImport: i0, template: "<!-- 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 \u203A\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", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeSelect", "nodeExpand", "nodeCollapse", "nodeLoadError"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts", "filters", "fetchParams", "stateKey"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "filtersChange", "rowClick", "rowDblClick", "rowContextMenu", "selectionChanged", "rowExpand", "rowCollapse", "loadError", "pageLoad"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeOpen: "nodeOpen", selectionChanged: "selectionChanged", uploadRequest: "uploadRequest", operation: "operation", errorReported: "errorReported", childrenLoaded: "childrenLoaded" }, ngImport: i0, template: "<!-- 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 \u203A\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", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizeStart", "resizing", "resizeEnd"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeSelect", "nodeExpand", "nodeCollapse", "nodeLoadError"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts", "filters", "filtersReadonly", "fetchParams", "stateKey"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "filtersChange", "rowClick", "rowDblClick", "rowContextMenu", "selectionChanged", "rowExpand", "rowCollapse", "loadError", "pageLoad"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
96
96
|
}
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, decorators: [{
|
|
98
98
|
type: Component,
|
|
@@ -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,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,IAA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A,UAAA,EAAA,eAAA,EAAA,MAAA,EAAA,kBAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,aAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mBAAA,EAAA,YAAA,EAAA,eAAA,EAAA,mBAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,WAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,wBAAwB,yDAArI,iBAAiB,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGlC,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
|
+
{"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,WAAA,GAAA;;AArCS,QAAA,I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
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input,
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
|
|
3
3
|
import { useCore, useScopedStyles, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
|
|
4
4
|
import { popoverPanelCore, popoverScopedStyles, popoverCore } from '@mintplayer/ui-core/popover';
|
|
5
5
|
import { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';
|
|
@@ -17,13 +17,15 @@ class BsPopoverPanelComponent {
|
|
|
17
17
|
...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
|
|
18
18
|
this.side = input('bottom', /* @ts-ignore */
|
|
19
19
|
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
20
|
-
|
|
20
|
+
/** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
|
|
21
|
+
this.phase = input('closed', /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []));
|
|
21
23
|
this.heading = input(null, /* @ts-ignore */
|
|
22
24
|
...(ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []));
|
|
23
25
|
/** The trigger's id, naming the dialog when there is no title. */
|
|
24
26
|
this.triggerId = input(null, /* @ts-ignore */
|
|
25
27
|
...(ngDevMode ? [{ debugName: "triggerId" }] : /* istanbul ignore next */ []));
|
|
26
|
-
this.#core = useCore(popoverPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(),
|
|
28
|
+
this.#core = useCore(popoverPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), heading: this.heading(), triggerId: this.triggerId() }), idPrefix: 'bs-popover-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'popover' }) });
|
|
27
29
|
/** The template's props. */
|
|
28
30
|
this.props = this.#core.props;
|
|
29
31
|
useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order });
|
|
@@ -31,12 +33,12 @@ class BsPopoverPanelComponent {
|
|
|
31
33
|
useScopedStyles('popover', popoverScopedStyles);
|
|
32
34
|
}
|
|
33
35
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPopoverPanelComponent, isStandalone: true, selector: "bs-popover-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null },
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsPopoverPanelComponent, isStandalone: true, selector: "bs-popover-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, phase: { classPropertyName: "phase", publicName: "phase", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, triggerId: { classPropertyName: "triggerId", publicName: "triggerId", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
37
|
}
|
|
36
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsPopoverPanelComponent, decorators: [{
|
|
37
39
|
type: Component,
|
|
38
40
|
args: [{ selector: 'bs-popover-panel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n" }]
|
|
39
|
-
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }],
|
|
41
|
+
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", required: false }] }] } });
|
|
40
42
|
|
|
41
43
|
// GENERATED from the popover manifest (popover) by @mintplayer/nx-component-compiler. Do not edit.
|
|
42
44
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-popover.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/mintplayer-ng-bootstrap-popover.ts"],"sourcesContent":["// GENERATED from the popover manifest (popover-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-popover.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/popover.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/popover/mintplayer-ng-bootstrap-popover.ts"],"sourcesContent":["// GENERATED from the popover manifest (popover-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { popoverPanelCore, type PopoverPanelInputs, popoverScopedStyles } from '@mintplayer/ui-core/popover';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\n\n/** Bootstrap's popover panel, as the popover directive renders it; not used on its own. */\n@Component({\n selector: 'bs-popover-panel',\n templateUrl: './popover-panel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsPopoverPanelComponent {\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<PopoverPanelInputs['overlayId']>('');\n readonly side = input<PopoverPanelInputs['side']>('bottom');\n /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */\n readonly phase = input<PopoverPanelInputs['phase']>('closed');\n readonly heading = input<PopoverPanelInputs['heading']>(null);\n /** The trigger's id, naming the dialog when there is no title. */\n readonly triggerId = input<PopoverPanelInputs['triggerId']>(null);\n\n readonly #core = useCore(popoverPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase(), heading: this.heading(), triggerId: this.triggerId() }), idPrefix: 'bs-popover-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'popover' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order }); useScopedStyles('popover', popoverScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/popover/src/templates/popover-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"popover\" [mpProps]=\"p_view.arrow\"></div>\n@if (p_view.header) {\n <h3 data-mps=\"popover\" [mpProps]=\"p_view.header\">\n {{ p_view.title }}\n </h3>\n}\n<div data-mps=\"popover\" [mpProps]=\"p_view.body\">\n <ng-content />\n</div>\n","// GENERATED from the popover manifest (popover) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { popoverCore, type PopoverInputs, popoverScopedStyles } from '@mintplayer/ui-core/popover';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapPopover } from '@mintplayer/ui-core/bootstrap/popover';\nimport { BsPopoverPanelComponent } from './popover-panel.component.generated';\n\n/**\n * A popover on the element: a click (or Enter / Space) toggles a non-modal dialog beside it. Escape, a press\n * outside it or focus leaving it closes it.\n */\n@Directive({ selector: '[bsPopover]' })\nexport class BsPopoverDirective {\n /** The side of the element it shows on; it flips when it does not fit. */\n readonly position = input<PopoverInputs['position'], PopoverInputs['position'] | ''>('bottom', { transform: (v: PopoverInputs['position'] | '') => (v === '' ? 'bottom' : v), alias: 'bsPopover' });\n /** The heading; it names the dialog. */\n readonly title = input<PopoverInputs['title']>(null, { alias: 'bsPopoverTitle' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(popoverCore, { inputs: () => ({ position: this.position(), title: this.title() }), idPrefix: 'bs-popover', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapPopover.key, bootstrapPopover.css, { order: bootstrapPopover.order }); useScopedStyles('popover', popoverScopedStyles);\n useOverlayComponent(BsPopoverPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the popover manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsPopoverPanelComponent } from './popover-panel.component.generated';\nexport { BsPopoverDirective } from './popover.directive.generated';\n","// Generated from @mintplayer/ui-core/popover (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,uBAAuB,CAAA;AAazB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAfS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAkC,EAAE;sFAAC;QACtD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA6B,QAAQ;iFAAC;;QAElD,IAAA,CAAA,KAAK,GAAG,KAAK,CAA8B,QAAQ;kFAAC;QACpD,IAAA,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GAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,SAAS;mBAAC,EAAE,QAAQ,EAAE,aAAa,EAAE;;;ACZtC;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, input,
|
|
2
|
+
import { inject, ElementRef, input, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
|
|
3
3
|
import { useCore, useScopedStyles, MpPropsDirective, anchorElement, useOverlayComponent } from '@mintplayer/ng-bootstrap/machine';
|
|
4
4
|
import { tooltipPanelCore, tooltipScopedStyles, tooltipCore } from '@mintplayer/ui-core/tooltip';
|
|
5
5
|
import { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';
|
|
@@ -17,8 +17,10 @@ class BsTooltipPanelComponent {
|
|
|
17
17
|
...(ngDevMode ? [{ debugName: "overlayId" }] : /* istanbul ignore next */ []));
|
|
18
18
|
this.side = input('top', /* @ts-ignore */
|
|
19
19
|
...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
|
|
20
|
-
|
|
21
|
-
this
|
|
20
|
+
/** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
|
|
21
|
+
this.phase = input('closed', /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []));
|
|
23
|
+
this.#core = useCore(tooltipPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase() }), idPrefix: 'bs-tooltip-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'tooltip' }) });
|
|
22
24
|
/** The template's props. */
|
|
23
25
|
this.props = this.#core.props;
|
|
24
26
|
useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order });
|
|
@@ -26,12 +28,12 @@ class BsTooltipPanelComponent {
|
|
|
26
28
|
useScopedStyles('tooltip', tooltipScopedStyles);
|
|
27
29
|
}
|
|
28
30
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsTooltipPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsTooltipPanelComponent, isStandalone: true, selector: "bs-tooltip-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null },
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsTooltipPanelComponent, isStandalone: true, selector: "bs-tooltip-panel", inputs: { overlayId: { classPropertyName: "overlayId", publicName: "overlayId", isSignal: true, isRequired: false, transformFunction: null }, side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, phase: { classPropertyName: "phase", publicName: "phase", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/tooltip/src/templates/tooltip-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.arrow\"></div>\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.inner\">\n <ng-content />\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
30
32
|
}
|
|
31
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsTooltipPanelComponent, decorators: [{
|
|
32
34
|
type: Component,
|
|
33
35
|
args: [{ selector: 'bs-tooltip-panel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/tooltip/src/templates/tooltip-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.arrow\"></div>\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.inner\">\n <ng-content />\n</div>\n" }]
|
|
34
|
-
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }],
|
|
36
|
+
}], ctorParameters: () => [], propDecorators: { overlayId: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayId", required: false }] }], side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], phase: [{ type: i0.Input, args: [{ isSignal: true, alias: "phase", required: false }] }] } });
|
|
35
37
|
|
|
36
38
|
// GENERATED from the tooltip manifest (tooltip) by @mintplayer/nx-component-compiler. Do not edit.
|
|
37
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintplayer-ng-bootstrap-tooltip.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/mintplayer-ng-bootstrap-tooltip.ts"],"sourcesContent":["// GENERATED from the tooltip manifest (tooltip-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef,
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-tooltip.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/tooltip.directive.generated.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/tooltip/mintplayer-ng-bootstrap-tooltip.ts"],"sourcesContent":["// GENERATED from the tooltip manifest (tooltip-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { tooltipPanelCore, type TooltipPanelInputs, tooltipScopedStyles } from '@mintplayer/ui-core/tooltip';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapTooltip } from '@mintplayer/ui-core/bootstrap/tooltip';\n\n/** Bootstrap's tooltip panel, as the tooltip directive renders it; not used on its own. */\n@Component({\n selector: 'bs-tooltip-panel',\n templateUrl: './tooltip-panel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsTooltipPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** The panel's id, which the trigger's `aria-describedby` names. */\n readonly overlayId = input<TooltipPanelInputs['overlayId']>('');\n readonly side = input<TooltipPanelInputs['side']>('top');\n /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */\n readonly phase = input<TooltipPanelInputs['phase']>('closed');\n\n readonly #core = useCore(tooltipPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), phase: this.phase() }), idPrefix: 'bs-tooltip-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'tooltip' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapTooltip.key, bootstrapTooltip.css, { order: bootstrapTooltip.order }); useScopedStyles('tooltip', tooltipScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/tooltip/src/templates/tooltip-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.arrow\"></div>\n<div data-mps=\"tooltip\" [mpProps]=\"p_view.inner\">\n <ng-content />\n</div>\n","// GENERATED from the tooltip manifest (tooltip) by @mintplayer/nx-component-compiler. Do not edit.\nimport { Directive, input } from '@angular/core';\nimport { anchorElement, useCore, useOverlayComponent, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { tooltipCore, type TooltipInputs, tooltipScopedStyles } from '@mintplayer/ui-core/tooltip';\nimport { bootstrapTransitions } from '@mintplayer/ui-core/bootstrap/transitions';\nimport { bootstrapTooltip } from '@mintplayer/ui-core/bootstrap/tooltip';\nimport { BsTooltipPanelComponent } from './tooltip-panel.component.generated';\n\n/**\n * A tooltip on the element: shown on hover and on focus, dismissed by Escape, hoverable (WCAG 1.4.13).\n * While it shows, the element's `aria-describedby` names it.\n */\n@Directive({ selector: '[bsTooltip]' })\nexport class BsTooltipDirective {\n /** The side of the element it shows on; it flips when it does not fit. */\n readonly position = input<TooltipInputs['position'], TooltipInputs['position'] | ''>('top', { transform: (v: TooltipInputs['position'] | '') => (v === '' ? 'top' : v), alias: 'bsTooltip' });\n\n /** The element the template sits in: the trigger. */\n readonly #anchor = anchorElement();\n protected readonly core = useCore(tooltipCore, { inputs: () => ({ position: this.position() }), idPrefix: 'bs-tooltip', element: this.#anchor, hostBag: (props) => props.anchor });\n\n constructor() {\n useScopedStyles(bootstrapTransitions.key, bootstrapTransitions.css, { order: bootstrapTransitions.order }); useScopedStyles(bootstrapTooltip.key, bootstrapTooltip.css, { order: bootstrapTooltip.order }); useScopedStyles('tooltip', tooltipScopedStyles);\n useOverlayComponent(BsTooltipPanelComponent, () => this.core.props().overlay, this.#anchor);\n }\n}\n","// GENERATED from the tooltip manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsTooltipPanelComponent } from './tooltip-panel.component.generated';\nexport { BsTooltipDirective } from './tooltip.directive.generated';\n","// Generated from @mintplayer/ui-core/tooltip (#458 D10).\nexport * from './generated';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAOA;MAOa,uBAAuB,CAAA;AAUzB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAZS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAkC,EAAE;sFAAC;QACtD,IAAA,CAAA,IAAI,GAAG,KAAK,CAA6B,KAAK;iFAAC;;QAE/C,IAAA,CAAA,KAAK,GAAG,KAAK,CAA8B,QAAQ;kFAAC;AAEpD,QAAA,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,CAA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