@mintplayer/ng-bootstrap 22.34.0 → 22.36.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.
@@ -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,IAAI;4FAAC;QACnE,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgC,MAAM;qFAAC;QACvD,IAAA,CAAA,aAAa,GAAG,KAAK,CAAqC,UAAU;0FAAC;QACrE,IAAA,CAAA,WAAW,GAAG,KAAK,CAAmC,EAAE;wFAAC;QACzD,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAyC,IAAI;8FAAC;QACvE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAoC,IAAI;yFAAC;QAC7D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAgC,IAAI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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,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,I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AA,aAAA,EAAA,mBAAA,EAAA,SAAA,EAAA,cAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,MAAA,EAAA,kBAAA,EAAA,SAAA,EAAA,WAAA,EAAA,SAAA,EAAA,iBAAA,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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
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
- this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
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(), shown: this.shown(), heading: this.heading(), triggerId: this.triggerId() }), idPrefix: 'bs-popover-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'popover' }) });
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 }, shown: { classPropertyName: "shown", publicName: "shown", 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 }); }
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 }] }], shown: [{ type: i0.Input, args: [{ isSignal: true, alias: "shown", required: false }] }], heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], triggerId: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerId", 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, booleanAttribute, 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 readonly shown = input<PopoverPanelInputs['shown'], unknown>(false, { transform: booleanAttribute });\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(), shown: this.shown(), 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;AAYzB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAdS,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;QAClD,IAAA,CAAA,KAAK,GAAG,KAAK,CAAuC,KAAK,6EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC3F,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgC,IAAI;o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,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
+ {"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,IAA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,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;IAC7F;8GAbW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,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;;;;"}
@@ -52,24 +52,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
52
52
  }], ctorParameters: () => [], propDecorators: { orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], minPanelSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minPanelSize", required: false }] }], touchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "touchMode", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], resizeStart: [{ type: i0.Output, args: ["resizeStart"] }], resizing: [{ type: i0.Output, args: ["resizing"] }], resizeEnd: [{ type: i0.Output, args: ["resizeEnd"] }] } });
53
53
 
54
54
  // GENERATED from the splitter manifest (splitter-panel) by @mintplayer/nx-component-compiler. Do not edit.
55
- /** One panel of a splitter. Its content fills the panel. */
55
+ /**
56
+ * One panel of a splitter. Its content fills the panel. `size` makes it its content's size (`auto`) or
57
+ * fixed px, so the dividers beside it do not move; `minSize` and `maxSize` bound what a divider can do.
58
+ */
56
59
  class BsSplitterPanelComponent {
57
60
  #core;
58
61
  constructor() {
59
62
  /** The host element. */
60
63
  this.elementRef = inject(ElementRef);
61
- this.#core = useCore(splitterPanelCore, { inputs: () => ({}), idPrefix: 'bs-splitter-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });
64
+ this.size = input(null, /* @ts-ignore */
65
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
66
+ this.minSize = input(null, { ...(ngDevMode ? { debugName: "minSize" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? null : numberAttribute(v)) });
67
+ this.maxSize = input(null, { ...(ngDevMode ? { debugName: "maxSize" } : /* istanbul ignore next */ {}), transform: (v) => (v == null || v === '' ? null : numberAttribute(v)) });
68
+ this.#core = useCore(splitterPanelCore, { inputs: () => ({ size: this.size(), minSize: this.minSize(), maxSize: this.maxSize() }), idPrefix: 'bs-splitter-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });
62
69
  /** The template's props. */
63
70
  this.props = this.#core.props;
64
71
  useScopedStyles('splitter', splitterScopedStyles);
65
72
  }
66
73
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsSplitterPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
67
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: BsSplitterPanelComponent, isStandalone: true, selector: "bs-splitter-panel", ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\">\n <ng-content />\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
74
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: BsSplitterPanelComponent, isStandalone: true, selector: "bs-splitter-panel", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, minSize: { classPropertyName: "minSize", publicName: "minSize", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\" [style]=\"p_view.paneStyle\">\n <ng-content />\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps],[mpHostAttrs]", inputs: ["mpProps", "mpHostAttrs"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
75
  }
69
76
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsSplitterPanelComponent, decorators: [{
70
77
  type: Component,
71
- args: [{ selector: 'bs-splitter-panel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\">\n <ng-content />\n</div>\n" }]
72
- }], ctorParameters: () => [] });
78
+ args: [{ selector: 'bs-splitter-panel', imports: [MpPropsDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\" [style]=\"p_view.paneStyle\">\n <ng-content />\n</div>\n" }]
79
+ }], ctorParameters: () => [], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], minSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minSize", required: false }] }], maxSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSize", required: false }] }] } });
73
80
 
74
81
  // GENERATED from the splitter manifest by @mintplayer/nx-component-compiler. Do not edit.
75
82
 
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["// GENERATED from the splitter manifest (splitter) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, numberAttribute, output } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { splitterCore, type SplitterInputs, type SplitterMethods, type SplitterResizeEventDetail, splitterScopedStyles } from '@mintplayer/ui-core/splitter';\n\n/**\n * Resizable panels along one axis. Put splitter panels inside; a divider between every two is dragged,\n * or focused and moved with the arrow keys (Shift for 1% steps), Home and End. Nest splitters for\n * two-dimensional layouts. With JavaScript off the panels share the space evenly.\n */\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitterComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly orientation = input<SplitterInputs['orientation']>('horizontal');\n readonly minPanelSize = input<SplitterInputs['minPanelSize'], unknown>(50, { transform: (v: unknown) => (v == null || v === '' ? 50 : numberAttribute(v)) as SplitterInputs['minPanelSize'] });\n readonly touchMode = input<SplitterInputs['touchMode'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<SplitterInputs['labels']>(null);\n /** A divider drag started, with the sizes before it. */\n readonly resizeStart = output<SplitterResizeEventDetail>();\n /** Every frame of a divider drag, with the sizes it previews. */\n readonly resizing = output<SplitterResizeEventDetail>();\n /** A drag or a key committed new sizes. */\n readonly resizeEnd = output<SplitterResizeEventDetail>();\n\n readonly #core = useCore(splitterCore, { inputs: () => ({ orientation: this.orientation(), minPanelSize: this.minPanelSize(), touchMode: this.touchMode(), labels: this.labels() }), idPrefix: 'bs-splitter', outputs: { resizeStart: this.resizeStart, resizing: this.resizing, resizeEnd: this.resizeEnd }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('splitter', splitterScopedStyles);\n }\n\n /** The panel sizes in px, in document order. */\n getPanelSizes(...args: Parameters<SplitterMethods['getPanelSizes']>): ReturnType<SplitterMethods['getPanelSizes']> {\n return this.#core.call('getPanelSizes', args) as ReturnType<SplitterMethods['getPanelSizes']>;\n }\n\n /** Set the panel sizes in px, one per panel. Emits nothing. */\n setPanelSizes(...args: Parameters<SplitterMethods['setPanelSizes']>): ReturnType<SplitterMethods['setPanelSizes']> {\n return this.#core.call('setPanelSizes', args) as ReturnType<SplitterMethods['setPanelSizes']>;\n }\n\n /** Move a divider as its arrow, Home or End key would. */\n resizeDividerBy(...args: Parameters<SplitterMethods['resizeDividerBy']>): ReturnType<SplitterMethods['resizeDividerBy']> {\n return this.#core.call('resizeDividerBy', args) as ReturnType<SplitterMethods['resizeDividerBy']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the splitter manifest (splitter-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { splitterPanelCore, splitterScopedStyles } from '@mintplayer/ui-core/splitter';\n\n/** One panel of a splitter. Its content fills the panel. */\n@Component({\n selector: 'bs-splitter-panel',\n templateUrl: './splitter-panel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitterPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly #core = useCore(splitterPanelCore, { inputs: () => ({ }), idPrefix: 'bs-splitter-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('splitter', splitterScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\">\n <ng-content />\n</div>\n","// GENERATED from the splitter manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsSplitterComponent } from './splitter.component.generated';\nexport { BsSplitterPanelComponent } from './splitter-panel.component.generated';\n","// The splitter is generated from @mintplayer/ui-core/splitter (PRD #437 D10).\nexport * from './generated';\nexport type {\n SplitterLabels,\n SplitterOrientation,\n SplitterResizeEventDetail,\n SplitterResizeKey,\n} from '@mintplayer/ui-core/splitter';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AAKA;;;;AAIG;MAOU,mBAAmB,CAAA;AAerB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAjBS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAExD,IAAA,CAAA,WAAW,GAAG,KAAK,CAAgC,YAAY;wFAAC;AAChE,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAA0C,EAAE,oFAAI,SAAS,EAAE,CAAC,CAAU,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,eAAe,CAAC,CAAC,CAAC,CAAmC,GAAG;QACrL,IAAA,CAAA,SAAS,GAAG,KAAK,CAAuC,KAAK,iFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC/F,IAAA,CAAA,MAAM,GAAG,KAAK,CAA2B,IAAI;mFAAC;;QAE9C,IAAA,CAAA,WAAW,GAAG,MAAM,EAA6B;;QAEjD,IAAA,CAAA,QAAQ,GAAG,MAAM,EAA6B;;QAE9C,IAAA,CAAA,SAAS,GAAG,MAAM,EAA6B;QAE/C,IAAA,CAAA,KAAK,GAAG,OAAO,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,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;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-splitter.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter-panel.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/splitter-panel.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/splitter/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/splitter/mintplayer-ng-bootstrap-splitter.ts"],"sourcesContent":["// GENERATED from the splitter manifest (splitter) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, numberAttribute, output } from '@angular/core';\nimport { useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { splitterCore, type SplitterInputs, type SplitterMethods, type SplitterResizeEventDetail, splitterScopedStyles } from '@mintplayer/ui-core/splitter';\n\n/**\n * Resizable panels along one axis. Put splitter panels inside; a divider between every two is dragged,\n * or focused and moved with the arrow keys (Shift for 1% steps), Home and End. Nest splitters for\n * two-dimensional layouts. With JavaScript off the panels share the space evenly.\n */\n@Component({\n selector: 'bs-splitter',\n templateUrl: './splitter.view.generated.html',\n imports: [],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitterComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly orientation = input<SplitterInputs['orientation']>('horizontal');\n readonly minPanelSize = input<SplitterInputs['minPanelSize'], unknown>(50, { transform: (v: unknown) => (v == null || v === '' ? 50 : numberAttribute(v)) as SplitterInputs['minPanelSize'] });\n readonly touchMode = input<SplitterInputs['touchMode'], unknown>(false, { transform: booleanAttribute });\n readonly labels = input<SplitterInputs['labels']>(null);\n /** A divider drag started, with the sizes before it. */\n readonly resizeStart = output<SplitterResizeEventDetail>();\n /** Every frame of a divider drag, with the sizes it previews. */\n readonly resizing = output<SplitterResizeEventDetail>();\n /** A drag or a key committed new sizes. */\n readonly resizeEnd = output<SplitterResizeEventDetail>();\n\n readonly #core = useCore(splitterCore, { inputs: () => ({ orientation: this.orientation(), minPanelSize: this.minPanelSize(), touchMode: this.touchMode(), labels: this.labels() }), idPrefix: 'bs-splitter', outputs: { resizeStart: this.resizeStart, resizing: this.resizing, resizeEnd: this.resizeEnd }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('splitter', splitterScopedStyles);\n }\n\n /** The panel sizes in px, in document order. */\n getPanelSizes(...args: Parameters<SplitterMethods['getPanelSizes']>): ReturnType<SplitterMethods['getPanelSizes']> {\n return this.#core.call('getPanelSizes', args) as ReturnType<SplitterMethods['getPanelSizes']>;\n }\n\n /** Set the panel sizes in px, one per panel. Emits nothing. */\n setPanelSizes(...args: Parameters<SplitterMethods['setPanelSizes']>): ReturnType<SplitterMethods['setPanelSizes']> {\n return this.#core.call('setPanelSizes', args) as ReturnType<SplitterMethods['setPanelSizes']>;\n }\n\n /** Move a divider as its arrow, Home or End key would. */\n resizeDividerBy(...args: Parameters<SplitterMethods['resizeDividerBy']>): ReturnType<SplitterMethods['resizeDividerBy']> {\n return this.#core.call('resizeDividerBy', args) as ReturnType<SplitterMethods['resizeDividerBy']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n<ng-content />\n","// GENERATED from the splitter manifest (splitter-panel) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, inject, input, numberAttribute } from '@angular/core';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { splitterPanelCore, type SplitterPanelInputs, splitterScopedStyles } from '@mintplayer/ui-core/splitter';\n\n/**\n * One panel of a splitter. Its content fills the panel. `size` makes it its content's size (`auto`) or\n * fixed px, so the dividers beside it do not move; `minSize` and `maxSize` bound what a divider can do.\n */\n@Component({\n selector: 'bs-splitter-panel',\n templateUrl: './splitter-panel.view.generated.html',\n imports: [MpPropsDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsSplitterPanelComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly size = input<SplitterPanelInputs['size']>(null);\n readonly minSize = input<SplitterPanelInputs['minSize'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as SplitterPanelInputs['minSize'] });\n readonly maxSize = input<SplitterPanelInputs['maxSize'], unknown>(null, { transform: (v: unknown) => (v == null || v === '' ? null : numberAttribute(v)) as SplitterPanelInputs['maxSize'] });\n\n readonly #core = useCore(splitterPanelCore, { inputs: () => ({ size: this.size(), minSize: this.minSize(), maxSize: this.maxSize() }), idPrefix: 'bs-splitter-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'splitter' }) });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('splitter', splitterScopedStyles);\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/splitter/src/templates/splitter-panel.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"splitter\" [mpProps]=\"p_view.divider\"></div>\n<div data-mps=\"splitter\" [mpProps]=\"p_view.pane\" [style]=\"p_view.paneStyle\">\n <ng-content />\n</div>\n","// GENERATED from the splitter manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsSplitterComponent } from './splitter.component.generated';\nexport { BsSplitterPanelComponent } from './splitter-panel.component.generated';\n","// The splitter is generated from @mintplayer/ui-core/splitter (PRD #437 D10).\nexport * from './generated';\nexport type {\n SplitterLabels,\n SplitterOrientation,\n SplitterResizeEventDetail,\n Split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AA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfrC,gWAMA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDMY,gBAAgB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAGf,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mBAAmB,WAEpB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EACV,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gWAAA,EAAA;;;AEbjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, input, booleanAttribute, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
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
- this.shown = input(false, { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
21
- this.#core = useCore(tooltipPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown() }), idPrefix: 'bs-tooltip-panel', hostBag: (props) => ({ ...props.view.root, 'data-mps': 'tooltip' }) });
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 }, shown: { classPropertyName: "shown", publicName: "shown", 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 }); }
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 }] }], shown: [{ type: i0.Input, args: [{ isSignal: true, alias: "shown", 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, booleanAttribute, 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 readonly shown = input<TooltipPanelInputs['shown'], unknown>(false, { transform: booleanAttribute });\n\n readonly #core = useCore(tooltipPanelCore, { inputs: () => ({ overlayId: this.overlayId(), side: this.side(), shown: this.shown() }), 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;AASzB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AAXS,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;;QAGxD,IAAA,CAAA,SAAS,GAAG,KAAK,CAAkC,EAAE;sFAAC;QACtD,IAA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ootstrap/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,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC,KAAK,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;;AAEvN,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK;AAGzC,QAAA,eAAe,CAAC,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,oBAAoB,CAAC,KAAK,EAAE,CAAC;AAAE,QAAA,e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AAA,EAAA,CAAA,CAAA;kGAAlB,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,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;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "22.34.0",
4
+ "version": "22.36.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -399,7 +399,7 @@
399
399
  }
400
400
  },
401
401
  "peerDependencies": {
402
- "@mintplayer/ui-core": "^1.7.0",
402
+ "@mintplayer/ui-core": "^1.11.0",
403
403
  "@angular/common": "^22.0.0",
404
404
  "@angular/core": "^22.0.0",
405
405
  "@angular/cdk": "^22.0.0",
@@ -420,8 +420,5 @@
420
420
  "module": "fesm2022/mintplayer-ng-bootstrap.mjs",
421
421
  "typings": "types/mintplayer-ng-bootstrap.d.ts",
422
422
  "sideEffects": false,
423
- "type": "module",
424
- "publishConfig": {
425
- "tag": "latest"
426
- }
423
+ "type": "module"
427
424
  }
@@ -1,4 +1,5 @@
1
1
  import * as _mintplayer_ui_core_component from '@mintplayer/ui-core/component';
2
+ import * as _mintplayer_ui_core_overlay from '@mintplayer/ui-core/overlay';
2
3
  import * as _angular_core from '@angular/core';
3
4
  import { ElementRef } from '@angular/core';
4
5
  import * as _mintplayer_ng_bootstrap_machine from '@mintplayer/ng-bootstrap/machine';
@@ -11,14 +12,15 @@ declare class BsContextMenuPanelComponent {
11
12
  readonly elementRef: ElementRef<HTMLElement>;
12
13
  /** The panel's id. */
13
14
  readonly overlayId: _angular_core.InputSignal<string>;
14
- readonly shown: _angular_core.InputSignalWithTransform<boolean, unknown>;
15
+ /** The overlay phase: `.show` while shown, `hidden` while closed (#465). */
16
+ readonly phase: _angular_core.InputSignal<_mintplayer_ui_core_overlay.OverlayPhase>;
15
17
  /** The template's props. */
16
18
  protected readonly props: _angular_core.Signal<{
17
19
  root: _mintplayer_ui_core_component.CoreBag;
18
20
  }>;
19
21
  constructor();
20
22
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsContextMenuPanelComponent, never>;
21
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsContextMenuPanelComponent, "bs-context-menu-panel", never, { "overlayId": { "alias": "overlayId"; "required": false; "isSignal": true; }; "shown": { "alias": "shown"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
23
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsContextMenuPanelComponent, "bs-context-menu-panel", never, { "overlayId": { "alias": "overlayId"; "required": false; "isSignal": true; }; "phase": { "alias": "phase"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
22
24
  }
23
25
 
24
26
  /**
@@ -108,6 +108,7 @@ declare class BsDatatableFilterDirective {
108
108
  * Columns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),
109
109
  * `cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a
110
110
  * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`, `filters`.
111
+ * The table owns the filter state (#465): bind `filters` two-way, or one-way with `filtersReadonly` (the user sees the filters but cannot edit them).
111
112
  * An `aria-label` names the table. With `fetch`, filters are applied server-side; `stateKey` prefetches
112
113
  * the first page during SSR and hands it to the client (#448).
113
114
  */
@@ -149,6 +150,7 @@ declare class BsDatatableComponent {
149
150
  readonly hrefFor: _angular_core.InputSignal<_mintplayer_ui_core_datatable.DatatableHrefFor | null>;
150
151
  readonly distincts: _angular_core.InputSignal<((request: _mintplayer_ui_core_datatable.DistinctsRequest<any>) => Promise<_mintplayer_ui_core_datatable.DistinctValues | null>) | null>;
151
152
  readonly filters: _angular_core.ModelSignal<Readonly<Record<string, _mintplayer_ui_core_datatable.DatatableFilter>> | null>;
153
+ readonly filtersReadonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
152
154
  readonly fetchParams: _angular_core.InputSignal<_mintplayer_ui_core_transfer_state.JsonValue>;
153
155
  readonly stateKey: _angular_core.InputSignal<string | null>;
154
156
  /** A row was clicked, or opened with Enter. */
@@ -220,7 +222,7 @@ declare class BsDatatableComponent {
220
222
  /** Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1. */
221
223
  reload(...args: Parameters<DatatableMethods['reload']>): ReturnType<DatatableMethods['reload']>;
222
224
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatatableComponent, never>;
223
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDatatableComponent, "bs-datatable", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "fetch": { "alias": "fetch"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "sortColumns": { "alias": "sortColumns"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "perPage": { "alias": "perPage"; "required": false; "isSignal": true; }; "perPageOptions": { "alias": "perPageOptions"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "autoSort": { "alias": "autoSort"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "cutIds": { "alias": "cutIds"; "required": false; "isSignal": true; }; "focusedRowKey": { "alias": "focusedRowKey"; "required": false; "isSignal": true; }; "rowLabel": { "alias": "rowLabel"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; "tree": { "alias": "tree"; "required": false; "isSignal": true; }; "idKey": { "alias": "idKey"; "required": false; "isSignal": true; }; "childCountKey": { "alias": "childCountKey"; "required": false; "isSignal": true; }; "treeIndent": { "alias": "treeIndent"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selectionStrategy": { "alias": "selectionStrategy"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "virtualBuffer": { "alias": "virtualBuffer"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; "isSignal": true; }; "hrefFor": { "alias": "hrefFor"; "required": false; "isSignal": true; }; "distincts": { "alias": "distincts"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "fetchParams": { "alias": "fetchParams"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; }, { "sortColumns": "sortColumnsChange"; "page": "pageChange"; "perPage": "perPageChange"; "selectedIds": "selectedIdsChange"; "expandedIds": "expandedIdsChange"; "filters": "filtersChange"; "rowClick": "rowClick"; "rowDblClick": "rowDblClick"; "rowContextMenu": "rowContextMenu"; "selectionChanged": "selectionChanged"; "rowExpand": "rowExpand"; "rowCollapse": "rowCollapse"; "loadError": "loadError"; "pageLoad": "pageLoad"; }, ["headerSlot", "cellSlot", "rowSlot", "filterSlot"], never, true, never>;
225
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsDatatableComponent, "bs-datatable", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "fetch": { "alias": "fetch"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "sortColumns": { "alias": "sortColumns"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "perPage": { "alias": "perPage"; "required": false; "isSignal": true; }; "perPageOptions": { "alias": "perPageOptions"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "autoSort": { "alias": "autoSort"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "cutIds": { "alias": "cutIds"; "required": false; "isSignal": true; }; "focusedRowKey": { "alias": "focusedRowKey"; "required": false; "isSignal": true; }; "rowLabel": { "alias": "rowLabel"; "required": false; "isSignal": true; }; "rowKey": { "alias": "rowKey"; "required": false; "isSignal": true; }; "tree": { "alias": "tree"; "required": false; "isSignal": true; }; "idKey": { "alias": "idKey"; "required": false; "isSignal": true; }; "childCountKey": { "alias": "childCountKey"; "required": false; "isSignal": true; }; "treeIndent": { "alias": "treeIndent"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "selectionStrategy": { "alias": "selectionStrategy"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "virtualBuffer": { "alias": "virtualBuffer"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; "isSignal": true; }; "hrefFor": { "alias": "hrefFor"; "required": false; "isSignal": true; }; "distincts": { "alias": "distincts"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "filtersReadonly": { "alias": "filtersReadonly"; "required": false; "isSignal": true; }; "fetchParams": { "alias": "fetchParams"; "required": false; "isSignal": true; }; "stateKey": { "alias": "stateKey"; "required": false; "isSignal": true; }; }, { "sortColumns": "sortColumnsChange"; "page": "pageChange"; "perPage": "perPageChange"; "selectedIds": "selectedIdsChange"; "expandedIds": "expandedIdsChange"; "filters": "filtersChange"; "rowClick": "rowClick"; "rowDblClick": "rowDblClick"; "rowContextMenu": "rowContextMenu"; "selectionChanged": "selectionChanged"; "rowExpand": "rowExpand"; "rowCollapse": "rowCollapse"; "loadError": "loadError"; "pageLoad": "pageLoad"; }, ["headerSlot", "cellSlot", "rowSlot", "filterSlot"], never, true, never>;
224
226
  }
225
227
 
226
228
  export { BsDatatableCellDirective, BsDatatableComponent, BsDatatableFilterDirective, BsDatatableHeaderDirective, BsDatatableRowDirective };