@mintplayer/ng-bootstrap 22.29.0 → 22.30.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.
@@ -72,8 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
72
72
  *
73
73
  * Columns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),
74
74
  * `cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a
75
- * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`.
76
- * An `aria-label` names the table.
75
+ * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`, `filters`.
76
+ * An `aria-label` names the table. With `fetch`, filters are applied server-side; `stateKey` prefetches
77
+ * the first page during SSR and hands it to the client (#448).
77
78
  */
78
79
  class BsDatatableComponent {
79
80
  #core;
@@ -136,6 +137,12 @@ class BsDatatableComponent {
136
137
  ...(ngDevMode ? [{ debugName: "hrefFor" }] : /* istanbul ignore next */ []));
137
138
  this.distincts = input(null, /* @ts-ignore */
138
139
  ...(ngDevMode ? [{ debugName: "distincts" }] : /* istanbul ignore next */ []));
140
+ this.filters = model({}, /* @ts-ignore */
141
+ ...(ngDevMode ? [{ debugName: "filters" }] : /* istanbul ignore next */ []));
142
+ this.fetchParams = input(null, /* @ts-ignore */
143
+ ...(ngDevMode ? [{ debugName: "fetchParams" }] : /* istanbul ignore next */ []));
144
+ this.stateKey = input(null, /* @ts-ignore */
145
+ ...(ngDevMode ? [{ debugName: "stateKey" }] : /* istanbul ignore next */ []));
139
146
  /** The sort, after the user changed it. */
140
147
  this.sortcolumnschange = output();
141
148
  /** The page, after the user changed it. */
@@ -160,8 +167,8 @@ class BsDatatableComponent {
160
167
  this.rowcollapse = output();
161
168
  /** A `fetch` call rejected. */
162
169
  this.loaderror = output();
163
- /** A column's filter changed; the consumer decides which rows it removes. */
164
- this.filterchange = output();
170
+ /** The column filters, after the user changed them; `fetch` (or the consumer, over `data`) applies them. */
171
+ this.filterschange = output();
165
172
  this.headerSlot = contentChild(BsDatatableHeaderDirective, /* @ts-ignore */
166
173
  ...(ngDevMode ? [{ debugName: "headerSlot" }] : /* istanbul ignore next */ []));
167
174
  this.cellSlot = contentChild(BsDatatableCellDirective, /* @ts-ignore */
@@ -173,7 +180,7 @@ class BsDatatableComponent {
173
180
  /** The template's named slots. */
174
181
  this.slots = computed(() => ({ header: this.headerSlot()?.templateRef, cell: this.cellSlot()?.templateRef, row: this.rowSlot()?.templateRef, filter: this.filterSlot()?.templateRef }), /* @ts-ignore */
175
182
  ...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
176
- this.#core = useCore(datatableCore, { inputs: () => ({ columns: this.columns(), data: this.data(), fetch: this.fetch(), caption: this.caption(), labels: this.labels(), inputLabel: this.inputLabel(), sortColumns: this.sortColumns(), page: this.page(), perPage: this.perPage(), perPageOptions: this.perPageOptions(), pagination: this.pagination(), autoSort: this.autoSort(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), cutIds: this.cutIds(), focusedRowKey: this.focusedRowKey(), rowLabel: this.rowLabel(), rowKey: this.rowKey(), tree: this.tree(), idKey: this.idKey(), childCountKey: this.childCountKey(), treeIndent: this.treeIndent(), expandedIds: this.expandedIds(), selectionStrategy: this.selectionStrategy(), loading: this.loading(), emptyMessage: this.emptyMessage(), virtualScroll: this.virtualScroll(), itemSize: this.itemSize(), virtualBuffer: this.virtualBuffer(), fill: this.fill(), resizableColumns: this.resizableColumns(), hrefFor: this.hrefFor(), distincts: this.distincts() }), idPrefix: 'bs-datatable', outputs: { sortColumnsChange: this.sortcolumnschange, pageChange: this.pagechange, perPageChange: this.perpagechange, selectedIdsChange: this.selectedidschange, expandedIdsChange: this.expandedidschange, rowClick: this.rowclick, rowDblClick: this.rowdblclick, rowContextMenu: this.rowcontextmenu, selectionChanged: this.selectionchanged, rowExpand: this.rowexpand, rowCollapse: this.rowcollapse, loadError: this.loaderror, filterChange: this.filterchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: { sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, selectedIds: this.selectedIds, expandedIds: this.expandedIds } });
183
+ this.#core = useCore(datatableCore, { inputs: () => ({ columns: this.columns(), data: this.data(), fetch: this.fetch(), caption: this.caption(), labels: this.labels(), inputLabel: this.inputLabel(), sortColumns: this.sortColumns(), page: this.page(), perPage: this.perPage(), perPageOptions: this.perPageOptions(), pagination: this.pagination(), autoSort: this.autoSort(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), cutIds: this.cutIds(), focusedRowKey: this.focusedRowKey(), rowLabel: this.rowLabel(), rowKey: this.rowKey(), tree: this.tree(), idKey: this.idKey(), childCountKey: this.childCountKey(), treeIndent: this.treeIndent(), expandedIds: this.expandedIds(), selectionStrategy: this.selectionStrategy(), loading: this.loading(), emptyMessage: this.emptyMessage(), virtualScroll: this.virtualScroll(), itemSize: this.itemSize(), virtualBuffer: this.virtualBuffer(), fill: this.fill(), resizableColumns: this.resizableColumns(), hrefFor: this.hrefFor(), distincts: this.distincts(), filters: this.filters(), fetchParams: this.fetchParams(), stateKey: this.stateKey() }), idPrefix: 'bs-datatable', outputs: { sortColumnsChange: this.sortcolumnschange, pageChange: this.pagechange, perPageChange: this.perpagechange, selectedIdsChange: this.selectedidschange, expandedIdsChange: this.expandedidschange, rowClick: this.rowclick, rowDblClick: this.rowdblclick, rowContextMenu: this.rowcontextmenu, selectionChanged: this.selectionchanged, rowExpand: this.rowexpand, rowCollapse: this.rowcollapse, loadError: this.loaderror, filtersChange: this.filterschange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: { sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, selectedIds: this.selectedIds, expandedIds: this.expandedIds, filters: this.filters } });
177
184
  /** The template's props. */
178
185
  this.props = this.#core.props;
179
186
  useScopedStyles('datatable', datatableScopedStyles);
@@ -183,12 +190,12 @@ class BsDatatableComponent {
183
190
  return this.#core.call('reload', args);
184
191
  }
185
192
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatatableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatatableComponent, isStandalone: true, selector: "bs-datatable", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, fetch: { classPropertyName: "fetch", publicName: "fetch", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, sortColumns: { classPropertyName: "sortColumns", publicName: "sortColumns", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, perPage: { classPropertyName: "perPage", publicName: "perPage", isSignal: true, isRequired: false, transformFunction: null }, perPageOptions: { classPropertyName: "perPageOptions", publicName: "perPageOptions", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, autoSort: { classPropertyName: "autoSort", publicName: "autoSort", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, cutIds: { classPropertyName: "cutIds", publicName: "cutIds", isSignal: true, isRequired: false, transformFunction: null }, focusedRowKey: { classPropertyName: "focusedRowKey", publicName: "focusedRowKey", isSignal: true, isRequired: false, transformFunction: null }, rowLabel: { classPropertyName: "rowLabel", publicName: "rowLabel", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: false, transformFunction: null }, tree: { classPropertyName: "tree", publicName: "tree", isSignal: true, isRequired: false, transformFunction: null }, idKey: { classPropertyName: "idKey", publicName: "idKey", isSignal: true, isRequired: false, transformFunction: null }, childCountKey: { classPropertyName: "childCountKey", publicName: "childCountKey", isSignal: true, isRequired: false, transformFunction: null }, treeIndent: { classPropertyName: "treeIndent", publicName: "treeIndent", isSignal: true, isRequired: false, transformFunction: null }, expandedIds: { classPropertyName: "expandedIds", publicName: "expandedIds", isSignal: true, isRequired: false, transformFunction: null }, selectionStrategy: { classPropertyName: "selectionStrategy", publicName: "selectionStrategy", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualBuffer: { classPropertyName: "virtualBuffer", publicName: "virtualBuffer", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, hrefFor: { classPropertyName: "hrefFor", publicName: "hrefFor", isSignal: true, isRequired: false, transformFunction: null }, distincts: { classPropertyName: "distincts", publicName: "distincts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sortColumns: "sortColumnsChange", page: "pageChange", perPage: "perPageChange", selectedIds: "selectedIdsChange", expandedIds: "expandedIdsChange", sortcolumnschange: "sortcolumnschange", pagechange: "pagechange", perpagechange: "perpagechange", selectedidschange: "selectedidschange", expandedidschange: "expandedidschange", rowclick: "rowclick", rowdblclick: "rowdblclick", rowcontextmenu: "rowcontextmenu", selectionchanged: "selectionchanged", rowexpand: "rowexpand", rowcollapse: "rowcollapse", loaderror: "loaderror", filterchange: "filterchange" }, queries: [{ propertyName: "headerSlot", first: true, predicate: BsDatatableHeaderDirective, descendants: true, isSignal: true }, { propertyName: "cellSlot", first: true, predicate: BsDatatableCellDirective, descendants: true, isSignal: true }, { propertyName: "rowSlot", first: true, predicate: BsDatatableRowDirective, descendants: true, isSignal: true }, { propertyName: "filterSlot", first: true, predicate: BsDatatableFilterDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n \u2026\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n \u2212\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
193
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsDatatableComponent, isStandalone: true, selector: "bs-datatable", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, fetch: { classPropertyName: "fetch", publicName: "fetch", isSignal: true, isRequired: false, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null }, inputLabel: { classPropertyName: "inputLabel", publicName: "inputLabel", isSignal: true, isRequired: false, transformFunction: null }, sortColumns: { classPropertyName: "sortColumns", publicName: "sortColumns", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, perPage: { classPropertyName: "perPage", publicName: "perPage", isSignal: true, isRequired: false, transformFunction: null }, perPageOptions: { classPropertyName: "perPageOptions", publicName: "perPageOptions", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, autoSort: { classPropertyName: "autoSort", publicName: "autoSort", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, cutIds: { classPropertyName: "cutIds", publicName: "cutIds", isSignal: true, isRequired: false, transformFunction: null }, focusedRowKey: { classPropertyName: "focusedRowKey", publicName: "focusedRowKey", isSignal: true, isRequired: false, transformFunction: null }, rowLabel: { classPropertyName: "rowLabel", publicName: "rowLabel", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: false, transformFunction: null }, tree: { classPropertyName: "tree", publicName: "tree", isSignal: true, isRequired: false, transformFunction: null }, idKey: { classPropertyName: "idKey", publicName: "idKey", isSignal: true, isRequired: false, transformFunction: null }, childCountKey: { classPropertyName: "childCountKey", publicName: "childCountKey", isSignal: true, isRequired: false, transformFunction: null }, treeIndent: { classPropertyName: "treeIndent", publicName: "treeIndent", isSignal: true, isRequired: false, transformFunction: null }, expandedIds: { classPropertyName: "expandedIds", publicName: "expandedIds", isSignal: true, isRequired: false, transformFunction: null }, selectionStrategy: { classPropertyName: "selectionStrategy", publicName: "selectionStrategy", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualBuffer: { classPropertyName: "virtualBuffer", publicName: "virtualBuffer", isSignal: true, isRequired: false, transformFunction: null }, fill: { classPropertyName: "fill", publicName: "fill", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, hrefFor: { classPropertyName: "hrefFor", publicName: "hrefFor", isSignal: true, isRequired: false, transformFunction: null }, distincts: { classPropertyName: "distincts", publicName: "distincts", isSignal: true, isRequired: false, transformFunction: null }, filters: { classPropertyName: "filters", publicName: "filters", isSignal: true, isRequired: false, transformFunction: null }, fetchParams: { classPropertyName: "fetchParams", publicName: "fetchParams", isSignal: true, isRequired: false, transformFunction: null }, stateKey: { classPropertyName: "stateKey", publicName: "stateKey", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sortColumns: "sortColumnsChange", page: "pageChange", perPage: "perPageChange", selectedIds: "selectedIdsChange", expandedIds: "expandedIdsChange", filters: "filtersChange", sortcolumnschange: "sortcolumnschange", pagechange: "pagechange", perpagechange: "perpagechange", selectedidschange: "selectedidschange", expandedidschange: "expandedidschange", rowclick: "rowclick", rowdblclick: "rowdblclick", rowcontextmenu: "rowcontextmenu", selectionchanged: "selectionchanged", rowexpand: "rowexpand", rowcollapse: "rowcollapse", loaderror: "loaderror", filterschange: "filterschange" }, queries: [{ propertyName: "headerSlot", first: true, predicate: BsDatatableHeaderDirective, descendants: true, isSignal: true }, { propertyName: "cellSlot", first: true, predicate: BsDatatableCellDirective, descendants: true, isSignal: true }, { propertyName: "rowSlot", first: true, predicate: BsDatatableRowDirective, descendants: true, isSignal: true }, { propertyName: "filterSlot", first: true, predicate: BsDatatableFilterDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.comparison && fc.open.comparison.applied) {\n <small data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.applied\">\n {{ fc.open.comparison.appliedText }}\n </small>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n \u2026\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n \u2212\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
187
194
  }
188
195
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsDatatableComponent, decorators: [{
189
196
  type: Component,
190
- args: [{ selector: 'bs-datatable', imports: [MpPropsDirective, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n \u2026\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n \u2212\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n" }]
191
- }], ctorParameters: () => [], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], fetch: [{ type: i0.Input, args: [{ isSignal: true, alias: "fetch", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], sortColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortColumns", required: false }] }, { type: i0.Output, args: ["sortColumnsChange"] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], perPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "perPage", required: false }] }, { type: i0.Output, args: ["perPageChange"] }], perPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "perPageOptions", required: false }] }], pagination: [{ type: i0.Input, args: [{ isSignal: true, alias: "pagination", required: false }] }], autoSort: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoSort", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], selectedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedIds", required: false }] }, { type: i0.Output, args: ["selectedIdsChange"] }], cutIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "cutIds", required: false }] }], focusedRowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedRowKey", required: false }] }], rowLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowLabel", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: false }] }], tree: [{ type: i0.Input, args: [{ isSignal: true, alias: "tree", required: false }] }], idKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "idKey", required: false }] }], childCountKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "childCountKey", required: false }] }], treeIndent: [{ type: i0.Input, args: [{ isSignal: true, alias: "treeIndent", required: false }] }], expandedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedIds", required: false }] }, { type: i0.Output, args: ["expandedIdsChange"] }], selectionStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionStrategy", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], itemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSize", required: false }] }], virtualBuffer: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualBuffer", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], resizableColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizableColumns", required: false }] }], hrefFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "hrefFor", required: false }] }], distincts: [{ type: i0.Input, args: [{ isSignal: true, alias: "distincts", required: false }] }], sortcolumnschange: [{ type: i0.Output, args: ["sortcolumnschange"] }], pagechange: [{ type: i0.Output, args: ["pagechange"] }], perpagechange: [{ type: i0.Output, args: ["perpagechange"] }], selectedidschange: [{ type: i0.Output, args: ["selectedidschange"] }], expandedidschange: [{ type: i0.Output, args: ["expandedidschange"] }], rowclick: [{ type: i0.Output, args: ["rowclick"] }], rowdblclick: [{ type: i0.Output, args: ["rowdblclick"] }], rowcontextmenu: [{ type: i0.Output, args: ["rowcontextmenu"] }], selectionchanged: [{ type: i0.Output, args: ["selectionchanged"] }], rowexpand: [{ type: i0.Output, args: ["rowexpand"] }], rowcollapse: [{ type: i0.Output, args: ["rowcollapse"] }], loaderror: [{ type: i0.Output, args: ["loaderror"] }], filterchange: [{ type: i0.Output, args: ["filterchange"] }], headerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableHeaderDirective), { isSignal: true }] }], cellSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableCellDirective), { isSignal: true }] }], rowSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableRowDirective), { isSignal: true }] }], filterSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableFilterDirective), { isSignal: true }] }] } });
197
+ args: [{ selector: 'bs-datatable', imports: [MpPropsDirective, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.comparison && fc.open.comparison.applied) {\n <small data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.applied\">\n {{ fc.open.comparison.appliedText }}\n </small>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n \u2026\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n \u2212\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n" }]
198
+ }], ctorParameters: () => [], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], fetch: [{ type: i0.Input, args: [{ isSignal: true, alias: "fetch", required: false }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], labels: [{ type: i0.Input, args: [{ isSignal: true, alias: "labels", required: false }] }], inputLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputLabel", required: false }] }], sortColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortColumns", required: false }] }, { type: i0.Output, args: ["sortColumnsChange"] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], perPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "perPage", required: false }] }, { type: i0.Output, args: ["perPageChange"] }], perPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "perPageOptions", required: false }] }], pagination: [{ type: i0.Input, args: [{ isSignal: true, alias: "pagination", required: false }] }], autoSort: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoSort", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], selectedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedIds", required: false }] }, { type: i0.Output, args: ["selectedIdsChange"] }], cutIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "cutIds", required: false }] }], focusedRowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedRowKey", required: false }] }], rowLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowLabel", required: false }] }], rowKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowKey", required: false }] }], tree: [{ type: i0.Input, args: [{ isSignal: true, alias: "tree", required: false }] }], idKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "idKey", required: false }] }], childCountKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "childCountKey", required: false }] }], treeIndent: [{ type: i0.Input, args: [{ isSignal: true, alias: "treeIndent", required: false }] }], expandedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedIds", required: false }] }, { type: i0.Output, args: ["expandedIdsChange"] }], selectionStrategy: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionStrategy", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], itemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSize", required: false }] }], virtualBuffer: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualBuffer", required: false }] }], fill: [{ type: i0.Input, args: [{ isSignal: true, alias: "fill", required: false }] }], resizableColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizableColumns", required: false }] }], hrefFor: [{ type: i0.Input, args: [{ isSignal: true, alias: "hrefFor", required: false }] }], distincts: [{ type: i0.Input, args: [{ isSignal: true, alias: "distincts", required: false }] }], filters: [{ type: i0.Input, args: [{ isSignal: true, alias: "filters", required: false }] }, { type: i0.Output, args: ["filtersChange"] }], fetchParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "fetchParams", required: false }] }], stateKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "stateKey", required: false }] }], sortcolumnschange: [{ type: i0.Output, args: ["sortcolumnschange"] }], pagechange: [{ type: i0.Output, args: ["pagechange"] }], perpagechange: [{ type: i0.Output, args: ["perpagechange"] }], selectedidschange: [{ type: i0.Output, args: ["selectedidschange"] }], expandedidschange: [{ type: i0.Output, args: ["expandedidschange"] }], rowclick: [{ type: i0.Output, args: ["rowclick"] }], rowdblclick: [{ type: i0.Output, args: ["rowdblclick"] }], rowcontextmenu: [{ type: i0.Output, args: ["rowcontextmenu"] }], selectionchanged: [{ type: i0.Output, args: ["selectionchanged"] }], rowexpand: [{ type: i0.Output, args: ["rowexpand"] }], rowcollapse: [{ type: i0.Output, args: ["rowcollapse"] }], loaderror: [{ type: i0.Output, args: ["loaderror"] }], filterschange: [{ type: i0.Output, args: ["filterschange"] }], headerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableHeaderDirective), { isSignal: true }] }], cellSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableCellDirective), { isSignal: true }] }], rowSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableRowDirective), { isSignal: true }] }], filterSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => BsDatatableFilterDirective), { isSignal: true }] }] } });
192
199
 
193
200
  // GENERATED from the datatable manifest by @mintplayer/nx-component-compiler. Do not edit.
194
201
 
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-datatable.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/datatable.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/datatable.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/mintplayer-ng-bootstrap-datatable.ts"],"sourcesContent":["// GENERATED from the datatable manifest (datatable) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type DatatableColumnDef, datatableCore, type DatatableInputs, type DatatableLoadErrorDetail, type DatatableMethods, datatableScopedStyles, type FilterChangeDetail, type FilterContext, type RowEventDetail, type RowRenderContext, type SelectionChangeEventDetail, type SortColumn, type TreeRowExpandDetail } from '@mintplayer/ui-core/datatable';\n\n/** The `header` slot of `<bs-datatable>`: `<ng-template bsDatatableHeader>` or `*bsDatatableHeader`. */\n@Directive({ selector: '[bsDatatableHeader]' })\nexport class BsDatatableHeaderDirective {\n readonly templateRef = inject<TemplateRef<{ column: DatatableColumnDef } & { $implicit: { column: DatatableColumnDef } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableHeaderDirective, ctx: unknown): ctx is { column: DatatableColumnDef } & { $implicit: { column: DatatableColumnDef } } {\n return true;\n }\n}\n\n/** The `cell` slot of `<bs-datatable>`: `<ng-template bsDatatableCell>` or `*bsDatatableCell`. */\n@Directive({ selector: '[bsDatatableCell]' })\nexport class BsDatatableCellDirective {\n readonly templateRef = inject<TemplateRef<{ row: unknown; column: DatatableColumnDef; rowIndex: number } & { $implicit: { row: unknown; column: DatatableColumnDef; rowIndex: number } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableCellDirective, ctx: unknown): ctx is { row: unknown; column: DatatableColumnDef; rowIndex: number } & { $implicit: { row: unknown; column: DatatableColumnDef; rowIndex: number } } {\n return true;\n }\n}\n\n/** The `row` slot of `<bs-datatable>`: `<ng-template bsDatatableRow>` or `*bsDatatableRow`. */\n@Directive({ selector: '[bsDatatableRow]' })\nexport class BsDatatableRowDirective {\n readonly templateRef = inject<TemplateRef<{ row: unknown; rowIndex: number; ctx: RowRenderContext } & { $implicit: { row: unknown; rowIndex: number; ctx: RowRenderContext } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableRowDirective, ctx: unknown): ctx is { row: unknown; rowIndex: number; ctx: RowRenderContext } & { $implicit: { row: unknown; rowIndex: number; ctx: RowRenderContext } } {\n return true;\n }\n}\n\n/** The `filter` slot of `<bs-datatable>`: `<ng-template bsDatatableFilter>` or `*bsDatatableFilter`. */\n@Directive({ selector: '[bsDatatableFilter]' })\nexport class BsDatatableFilterDirective {\n readonly templateRef = inject<TemplateRef<{ column: DatatableColumnDef; ctx: FilterContext } & { $implicit: { column: DatatableColumnDef; ctx: FilterContext } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableFilterDirective, ctx: unknown): ctx is { column: DatatableColumnDef; ctx: FilterContext } & { $implicit: { column: DatatableColumnDef; ctx: FilterContext } } {\n return true;\n }\n}\n\n/**\n * A sortable, pageable, selectable table (#437), over local `data` or a server `fetch`;\n * virtual scrolling, a lazy tree (`tree` + `idKey` + `childCountKey`) and resizable columns.\n *\n * Columns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),\n * `cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a\n * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`.\n * An `aria-label` names the table.\n */\n@Component({\n selector: 'bs-datatable',\n templateUrl: './datatable.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDatatableComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly columns = input<DatatableInputs['columns']>([]);\n readonly data = input<DatatableInputs['data']>([]);\n readonly fetch = input<DatatableInputs['fetch']>(null);\n readonly caption = input<DatatableInputs['caption']>(null);\n readonly labels = input<DatatableInputs['labels']>(null);\n readonly inputLabel = input<DatatableInputs['inputLabel']>(null);\n readonly sortColumns = model<DatatableInputs['sortColumns']>([]);\n readonly page = model<DatatableInputs['page']>(1);\n readonly perPage = model<DatatableInputs['perPage']>(20);\n readonly perPageOptions = input<DatatableInputs['perPageOptions']>([10, 20, 50]);\n readonly pagination = input<DatatableInputs['pagination'], unknown>(false, { transform: booleanAttribute });\n readonly autoSort = input<DatatableInputs['autoSort'], unknown>(true, { transform: booleanAttribute });\n readonly selectionMode = input<DatatableInputs['selectionMode']>('none');\n readonly selectedIds = model<DatatableInputs['selectedIds']>([]);\n readonly cutIds = input<DatatableInputs['cutIds']>([]);\n readonly focusedRowKey = input<DatatableInputs['focusedRowKey']>(null);\n readonly rowLabel = input<DatatableInputs['rowLabel']>(null);\n readonly rowKey = input<DatatableInputs['rowKey']>(null);\n readonly tree = input<DatatableInputs['tree'], unknown>(false, { transform: booleanAttribute });\n readonly idKey = input<DatatableInputs['idKey']>(null);\n readonly childCountKey = input<DatatableInputs['childCountKey']>(null);\n readonly treeIndent = input<DatatableInputs['treeIndent'], unknown>(1.25, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['treeIndent'] });\n readonly expandedIds = model<DatatableInputs['expandedIds']>([]);\n readonly selectionStrategy = input<DatatableInputs['selectionStrategy']>('flat');\n readonly loading = input<DatatableInputs['loading'], unknown>(false, { transform: booleanAttribute });\n readonly emptyMessage = input<DatatableInputs['emptyMessage']>('No data');\n readonly virtualScroll = input<DatatableInputs['virtualScroll'], unknown>(false, { transform: booleanAttribute });\n readonly itemSize = input<DatatableInputs['itemSize'], unknown>(40, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['itemSize'] });\n readonly virtualBuffer = input<DatatableInputs['virtualBuffer'], unknown>(10, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['virtualBuffer'] });\n readonly fill = input<DatatableInputs['fill'], unknown>(false, { transform: booleanAttribute });\n readonly resizableColumns = input<DatatableInputs['resizableColumns'], unknown>(true, { transform: booleanAttribute });\n readonly hrefFor = input<DatatableInputs['hrefFor']>(null);\n readonly distincts = input<DatatableInputs['distincts']>(null);\n /** The sort, after the user changed it. */\n readonly sortcolumnschange = output<SortColumn[]>();\n /** The page, after the user changed it. */\n readonly pagechange = output<number>();\n /** The page size, after the user changed it. */\n readonly perpagechange = output<number>();\n /** The selected row keys, after the user changed them. */\n readonly selectedidschange = output<string[]>();\n /** The expanded row ids, after the user changed them. */\n readonly expandedidschange = output<unknown[]>();\n /** A row was clicked, or opened with Enter. */\n readonly rowclick = output<RowEventDetail>();\n /** A row was double-clicked. */\n readonly rowdblclick = output<RowEventDetail>();\n /** A row's context menu; `originalEvent.preventDefault()` suppresses the browser's. */\n readonly rowcontextmenu = output<RowEventDetail>();\n /** The user changed the selection: the keys and their rows. */\n readonly selectionchanged = output<SelectionChangeEventDetail>();\n /** A tree row expanded. */\n readonly rowexpand = output<TreeRowExpandDetail>();\n /** A tree row collapsed. */\n readonly rowcollapse = output<TreeRowExpandDetail>();\n /** A `fetch` call rejected. */\n readonly loaderror = output<DatatableLoadErrorDetail>();\n /** A column's filter changed; the consumer decides which rows it removes. */\n readonly filterchange = output<FilterChangeDetail>();\n\n private readonly headerSlot = contentChild(BsDatatableHeaderDirective);\n private readonly cellSlot = contentChild(BsDatatableCellDirective);\n private readonly rowSlot = contentChild(BsDatatableRowDirective);\n private readonly filterSlot = contentChild(BsDatatableFilterDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef, cell: this.cellSlot()?.templateRef, row: this.rowSlot()?.templateRef, filter: this.filterSlot()?.templateRef }));\n readonly #core = useCore(datatableCore, { inputs: () => ({ columns: this.columns(), data: this.data(), fetch: this.fetch(), caption: this.caption(), labels: this.labels(), inputLabel: this.inputLabel(), sortColumns: this.sortColumns(), page: this.page(), perPage: this.perPage(), perPageOptions: this.perPageOptions(), pagination: this.pagination(), autoSort: this.autoSort(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), cutIds: this.cutIds(), focusedRowKey: this.focusedRowKey(), rowLabel: this.rowLabel(), rowKey: this.rowKey(), tree: this.tree(), idKey: this.idKey(), childCountKey: this.childCountKey(), treeIndent: this.treeIndent(), expandedIds: this.expandedIds(), selectionStrategy: this.selectionStrategy(), loading: this.loading(), emptyMessage: this.emptyMessage(), virtualScroll: this.virtualScroll(), itemSize: this.itemSize(), virtualBuffer: this.virtualBuffer(), fill: this.fill(), resizableColumns: this.resizableColumns(), hrefFor: this.hrefFor(), distincts: this.distincts() }), idPrefix: 'bs-datatable', outputs: { sortColumnsChange: this.sortcolumnschange, pageChange: this.pagechange, perPageChange: this.perpagechange, selectedIdsChange: this.selectedidschange, expandedIdsChange: this.expandedidschange, rowClick: this.rowclick, rowDblClick: this.rowdblclick, rowContextMenu: this.rowcontextmenu, selectionChanged: this.selectionchanged, rowExpand: this.rowexpand, rowCollapse: this.rowcollapse, loadError: this.loaderror, filterChange: this.filterchange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: { sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, selectedIds: this.selectedIds, expandedIds: this.expandedIds } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('datatable', datatableScopedStyles);\n }\n\n /** Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1. */\n reload(...args: Parameters<DatatableMethods['reload']>): ReturnType<DatatableMethods['reload']> {\n return this.#core.call('reload', args) as ReturnType<DatatableMethods['reload']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n …\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n −\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n","// GENERATED from the datatable manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatatableComponent, BsDatatableHeaderDirective, BsDatatableCellDirective, BsDatatableRowDirective, BsDatatableFilterDirective } from './datatable.component.generated';\n","// The datatable is generated from @mintplayer/ui-core/datatable (PRD #437 D10).\nexport * from './generated';\nexport { DEFAULT_DATATABLE_LABELS, cellText, computeNextSort, sortRows } from '@mintplayer/ui-core/datatable';\nexport type {\n ComparisonFilterChangeDetail,\n DatatableColumnDef,\n DatatableDistincts,\n DatatableFetch,\n DatatableFetchRequest,\n DatatableFetchResponse,\n DatatableHrefFor,\n DatatableHrefState,\n DatatableLabels,\n DatatableLoadErrorDetail,\n DatatableReloadOptions,\n DatatableSelectionMode,\n DistinctValue,\n DistinctValues,\n DistinctsRequest,\n FilterChangeDetail,\n FilterContext,\n FilterInputType,\n FilterMode,\n FilterOperator,\n FilterSelection,\n RowEventDetail,\n RowKey,\n RowRenderContext,\n SelectionChangeEventDetail,\n SortColumn,\n SortDirection,\n TreeIdKey,\n TreeRowExpandDetail,\n TreeSelectionStrategy,\n ValuesFilterChangeDetail,\n} from '@mintplayer/ui-core/datatable';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAMA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA8F,WAAW,CAAC;AAIxI,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAgC,EAAE,GAAY,EAAA;AAC1E,QAAA,OAAO,IAAI;IACb;8GAJW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,SAAS;mBAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;AAQ9C;MAEa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA8J,WAAW,CAAC;AAIxM,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAA8B,EAAE,GAAY,EAAA;AACxE,QAAA,OAAO,IAAI;IACb;8GAJW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,C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AAA,EAAA,IAAA,EAAA,CAAA,cAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC5B,wBAAwB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACzB,uBAAuB,4FACpB,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE5HvE;;ACAA;;ACAA;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-datatable.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/datatable.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/datatable.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/datatable/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/datatable/mintplayer-ng-bootstrap-datatable.ts"],"sourcesContent":["// GENERATED from the datatable manifest (datatable) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model, numberAttribute, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { MpPropsDirective, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type DatatableColumnDef, datatableCore, type DatatableFilters, type DatatableInputs, type DatatableLoadErrorDetail, type DatatableMethods, datatableScopedStyles, type FilterContext, type RowEventDetail, type RowRenderContext, type SelectionChangeEventDetail, type SortColumn, type TreeRowExpandDetail } from '@mintplayer/ui-core/datatable';\n\n/** The `header` slot of `<bs-datatable>`: `<ng-template bsDatatableHeader>` or `*bsDatatableHeader`. */\n@Directive({ selector: '[bsDatatableHeader]' })\nexport class BsDatatableHeaderDirective {\n readonly templateRef = inject<TemplateRef<{ column: DatatableColumnDef } & { $implicit: { column: DatatableColumnDef } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableHeaderDirective, ctx: unknown): ctx is { column: DatatableColumnDef } & { $implicit: { column: DatatableColumnDef } } {\n return true;\n }\n}\n\n/** The `cell` slot of `<bs-datatable>`: `<ng-template bsDatatableCell>` or `*bsDatatableCell`. */\n@Directive({ selector: '[bsDatatableCell]' })\nexport class BsDatatableCellDirective {\n readonly templateRef = inject<TemplateRef<{ row: unknown; column: DatatableColumnDef; rowIndex: number } & { $implicit: { row: unknown; column: DatatableColumnDef; rowIndex: number } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableCellDirective, ctx: unknown): ctx is { row: unknown; column: DatatableColumnDef; rowIndex: number } & { $implicit: { row: unknown; column: DatatableColumnDef; rowIndex: number } } {\n return true;\n }\n}\n\n/** The `row` slot of `<bs-datatable>`: `<ng-template bsDatatableRow>` or `*bsDatatableRow`. */\n@Directive({ selector: '[bsDatatableRow]' })\nexport class BsDatatableRowDirective {\n readonly templateRef = inject<TemplateRef<{ row: unknown; rowIndex: number; ctx: RowRenderContext } & { $implicit: { row: unknown; rowIndex: number; ctx: RowRenderContext } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableRowDirective, ctx: unknown): ctx is { row: unknown; rowIndex: number; ctx: RowRenderContext } & { $implicit: { row: unknown; rowIndex: number; ctx: RowRenderContext } } {\n return true;\n }\n}\n\n/** The `filter` slot of `<bs-datatable>`: `<ng-template bsDatatableFilter>` or `*bsDatatableFilter`. */\n@Directive({ selector: '[bsDatatableFilter]' })\nexport class BsDatatableFilterDirective {\n readonly templateRef = inject<TemplateRef<{ column: DatatableColumnDef; ctx: FilterContext } & { $implicit: { column: DatatableColumnDef; ctx: FilterContext } }>>(TemplateRef);\n static ngTemplateContextGuard(_dir: BsDatatableFilterDirective, ctx: unknown): ctx is { column: DatatableColumnDef; ctx: FilterContext } & { $implicit: { column: DatatableColumnDef; ctx: FilterContext } } {\n return true;\n }\n}\n\n/**\n * A sortable, pageable, selectable table (#437), over local `data` or a server `fetch`;\n * virtual scrolling, a lazy tree (`tree` + `idKey` + `childCountKey`) and resizable columns.\n *\n * Columns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),\n * `cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a\n * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`, `filters`.\n * An `aria-label` names the table. With `fetch`, filters are applied server-side; `stateKey` prefetches\n * the first page during SSR and hands it to the client (#448).\n */\n@Component({\n selector: 'bs-datatable',\n templateUrl: './datatable.view.generated.html',\n imports: [MpPropsDirective, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BsDatatableComponent {\n /** The host element. */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n readonly columns = input<DatatableInputs['columns']>([]);\n readonly data = input<DatatableInputs['data']>([]);\n readonly fetch = input<DatatableInputs['fetch']>(null);\n readonly caption = input<DatatableInputs['caption']>(null);\n readonly labels = input<DatatableInputs['labels']>(null);\n readonly inputLabel = input<DatatableInputs['inputLabel']>(null);\n readonly sortColumns = model<DatatableInputs['sortColumns']>([]);\n readonly page = model<DatatableInputs['page']>(1);\n readonly perPage = model<DatatableInputs['perPage']>(20);\n readonly perPageOptions = input<DatatableInputs['perPageOptions']>([10, 20, 50]);\n readonly pagination = input<DatatableInputs['pagination'], unknown>(false, { transform: booleanAttribute });\n readonly autoSort = input<DatatableInputs['autoSort'], unknown>(true, { transform: booleanAttribute });\n readonly selectionMode = input<DatatableInputs['selectionMode']>('none');\n readonly selectedIds = model<DatatableInputs['selectedIds']>([]);\n readonly cutIds = input<DatatableInputs['cutIds']>([]);\n readonly focusedRowKey = input<DatatableInputs['focusedRowKey']>(null);\n readonly rowLabel = input<DatatableInputs['rowLabel']>(null);\n readonly rowKey = input<DatatableInputs['rowKey']>(null);\n readonly tree = input<DatatableInputs['tree'], unknown>(false, { transform: booleanAttribute });\n readonly idKey = input<DatatableInputs['idKey']>(null);\n readonly childCountKey = input<DatatableInputs['childCountKey']>(null);\n readonly treeIndent = input<DatatableInputs['treeIndent'], unknown>(1.25, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['treeIndent'] });\n readonly expandedIds = model<DatatableInputs['expandedIds']>([]);\n readonly selectionStrategy = input<DatatableInputs['selectionStrategy']>('flat');\n readonly loading = input<DatatableInputs['loading'], unknown>(false, { transform: booleanAttribute });\n readonly emptyMessage = input<DatatableInputs['emptyMessage']>('No data');\n readonly virtualScroll = input<DatatableInputs['virtualScroll'], unknown>(false, { transform: booleanAttribute });\n readonly itemSize = input<DatatableInputs['itemSize'], unknown>(40, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['itemSize'] });\n readonly virtualBuffer = input<DatatableInputs['virtualBuffer'], unknown>(10, { transform: (v: unknown) => numberAttribute(v) as DatatableInputs['virtualBuffer'] });\n readonly fill = input<DatatableInputs['fill'], unknown>(false, { transform: booleanAttribute });\n readonly resizableColumns = input<DatatableInputs['resizableColumns'], unknown>(true, { transform: booleanAttribute });\n readonly hrefFor = input<DatatableInputs['hrefFor']>(null);\n readonly distincts = input<DatatableInputs['distincts']>(null);\n readonly filters = model<DatatableInputs['filters']>({});\n readonly fetchParams = input<DatatableInputs['fetchParams']>(null);\n readonly stateKey = input<DatatableInputs['stateKey']>(null);\n /** The sort, after the user changed it. */\n readonly sortcolumnschange = output<SortColumn[]>();\n /** The page, after the user changed it. */\n readonly pagechange = output<number>();\n /** The page size, after the user changed it. */\n readonly perpagechange = output<number>();\n /** The selected row keys, after the user changed them. */\n readonly selectedidschange = output<string[]>();\n /** The expanded row ids, after the user changed them. */\n readonly expandedidschange = output<unknown[]>();\n /** A row was clicked, or opened with Enter. */\n readonly rowclick = output<RowEventDetail>();\n /** A row was double-clicked. */\n readonly rowdblclick = output<RowEventDetail>();\n /** A row's context menu; `originalEvent.preventDefault()` suppresses the browser's. */\n readonly rowcontextmenu = output<RowEventDetail>();\n /** The user changed the selection: the keys and their rows. */\n readonly selectionchanged = output<SelectionChangeEventDetail>();\n /** A tree row expanded. */\n readonly rowexpand = output<TreeRowExpandDetail>();\n /** A tree row collapsed. */\n readonly rowcollapse = output<TreeRowExpandDetail>();\n /** A `fetch` call rejected. */\n readonly loaderror = output<DatatableLoadErrorDetail>();\n /** The column filters, after the user changed them; `fetch` (or the consumer, over `data`) applies them. */\n readonly filterschange = output<DatatableFilters>();\n\n private readonly headerSlot = contentChild(BsDatatableHeaderDirective);\n private readonly cellSlot = contentChild(BsDatatableCellDirective);\n private readonly rowSlot = contentChild(BsDatatableRowDirective);\n private readonly filterSlot = contentChild(BsDatatableFilterDirective);\n /** The template's named slots. */\n protected readonly slots = computed(() => ({ header: this.headerSlot()?.templateRef, cell: this.cellSlot()?.templateRef, row: this.rowSlot()?.templateRef, filter: this.filterSlot()?.templateRef }));\n readonly #core = useCore(datatableCore, { inputs: () => ({ columns: this.columns(), data: this.data(), fetch: this.fetch(), caption: this.caption(), labels: this.labels(), inputLabel: this.inputLabel(), sortColumns: this.sortColumns(), page: this.page(), perPage: this.perPage(), perPageOptions: this.perPageOptions(), pagination: this.pagination(), autoSort: this.autoSort(), selectionMode: this.selectionMode(), selectedIds: this.selectedIds(), cutIds: this.cutIds(), focusedRowKey: this.focusedRowKey(), rowLabel: this.rowLabel(), rowKey: this.rowKey(), tree: this.tree(), idKey: this.idKey(), childCountKey: this.childCountKey(), treeIndent: this.treeIndent(), expandedIds: this.expandedIds(), selectionStrategy: this.selectionStrategy(), loading: this.loading(), emptyMessage: this.emptyMessage(), virtualScroll: this.virtualScroll(), itemSize: this.itemSize(), virtualBuffer: this.virtualBuffer(), fill: this.fill(), resizableColumns: this.resizableColumns(), hrefFor: this.hrefFor(), distincts: this.distincts(), filters: this.filters(), fetchParams: this.fetchParams(), stateKey: this.stateKey() }), idPrefix: 'bs-datatable', outputs: { sortColumnsChange: this.sortcolumnschange, pageChange: this.pagechange, perPageChange: this.perpagechange, selectedIdsChange: this.selectedidschange, expandedIdsChange: this.expandedidschange, rowClick: this.rowclick, rowDblClick: this.rowdblclick, rowContextMenu: this.rowcontextmenu, selectionChanged: this.selectionchanged, rowExpand: this.rowexpand, rowCollapse: this.rowcollapse, loadError: this.loaderror, filtersChange: this.filterschange }, hostBag: (props) => ({ ...props.view.root, 'data-mps': 'datatable' }), models: { sortColumns: this.sortColumns, page: this.page, perPage: this.perPage, selectedIds: this.selectedIds, expandedIds: this.expandedIds, filters: this.filters } });\n /** The template's props. */\n protected readonly props = this.#core.props;\n\n constructor() {\n useScopedStyles('datatable', datatableScopedStyles);\n }\n\n /** Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1. */\n reload(...args: Parameters<DatatableMethods['reload']>): ReturnType<DatatableMethods['reload']> {\n return this.#core.call('reload', args) as ReturnType<DatatableMethods['reload']>;\n }\n}\n","<!-- GENERATED from libs/mintplayer-ui-core/datatable/src/templates/datatable.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"datatable\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.shell\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.scroll\">\n <table data-mps=\"datatable\" [mpProps]=\"p_view.table\" [style]=\"p_view.tableStyle\">\n @if (p_view.caption) {\n <caption data-mps=\"datatable\" [mpProps]=\"p_view.captionBag\">\n {{ p_view.caption }}\n </caption>\n }\n <thead data-mps=\"datatable\" [mpProps]=\"p_view.thead\">\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.headerRow\">\n @if (p_view.chevronHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.chevronHeader\"></th>\n }\n @if (p_view.checkHeader) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.checkHeader\">\n <input data-mps=\"datatable\" [mpProps]=\"p_view.deselectAll\" [checked]=\"false\" [indeterminate]=\"p_view.anySelected\">\n </th>\n }\n @for (h of p_view.headers; track h.key) {\n <th data-mps=\"datatable\" [mpProps]=\"h.th\" [style]=\"h.style\">\n @if (h.sortHref) {\n <a data-mps=\"datatable\" [mpProps]=\"h.sort\" [attr.href]=\"h.sortHref\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </a>\n } @else if (h.sortable) {\n <button data-mps=\"datatable\" [mpProps]=\"h.sort\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n @if (h.sortIndex) {\n <span data-mps=\"datatable\" [mpProps]=\"h.sortIndex\">\n {{ h.sortIndexText }}\n </span>\n }\n </button>\n } @else {\n <span data-mps=\"datatable\" [mpProps]=\"h.plain\">\n <span data-mps=\"datatable\" [mpProps]=\"h.text\">\n @if (slots().header; as slot_header) {\n <ng-container [ngTemplateOutlet]=\"slot_header\" [ngTemplateOutletContext]=\"{ $implicit: { column: h.column }, column: h.column }\" />\n } @else {\n {{ h.label }}\n }\n </span>\n </span>\n }\n @if (h.resize) {\n <span data-mps=\"datatable\" [mpProps]=\"h.resize\"></span>\n }\n </th>\n }\n </tr>\n @if (p_view.filterRow) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.filterRow\">\n @if (p_view.filterChevronCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterChevronCell\"></th>\n }\n @if (p_view.filterCheckCell) {\n <th data-mps=\"datatable\" [mpProps]=\"p_view.filterCheckCell\"></th>\n }\n @for (fc of p_view.filterCells; track fc.key) {\n <th data-mps=\"datatable\" [mpProps]=\"fc.th\">\n @if (fc.trigger) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.trigger\">\n <svg data-mps=\"datatable\" [mpProps]=\"fc.icon\">\n <path data-mps=\"datatable\" [mpProps]=\"fc.path\"></path>\n </svg>\n @if (fc.summary) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.summary\">\n {{ fc.summaryText }}\n </span>\n }\n </button>\n }\n @if (fc.panel) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.panel\">\n @if (fc.open && fc.open.custom) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n @if (slots().filter; as slot_filter) {\n <ng-container [ngTemplateOutlet]=\"slot_filter\" [ngTemplateOutletContext]=\"{ $implicit: { column: fc.open.column, ctx: fc.open.ctx }, column: fc.open.column, ctx: fc.open.ctx }\" />\n }\n </div>\n } @else if (fc.open) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.body\">\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.clear\">\n {{ fc.open.clearText }}\n </button>\n @if (fc.open.comparison) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.wrap\">\n <select data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operator\">\n @for (op of fc.open.comparison.operators; track op.key) {\n <option data-mps=\"datatable\" [mpProps]=\"op.option\">\n {{ op.text }}\n </option>\n }\n </select>\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.operand\" [value]=\"fc.open.comparison.operandText\">\n </div>\n }\n @if (fc.open.comparison && fc.open.comparison.applied) {\n <small data-mps=\"datatable\" [mpProps]=\"fc.open.comparison.applied\">\n {{ fc.open.comparison.appliedText }}\n </small>\n }\n @if (fc.open.list) {\n <input data-mps=\"datatable\" [mpProps]=\"fc.open.list.search\" [value]=\"fc.open.list.term\">\n }\n @if (fc.open.list) {\n <button data-mps=\"datatable\" [mpProps]=\"fc.open.list.invert\">\n {{ fc.open.list.invertText }}\n </button>\n }\n @if (fc.open.list) {\n <div data-mps=\"datatable\" [mpProps]=\"fc.open.list.group\">\n @if (fc.open.list.loading) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.loading\">\n {{ fc.open.list.loadingText }}\n </span>\n }\n @for (opt of fc.open.list.options; track opt.key) {\n <label data-mps=\"datatable\" [mpProps]=\"opt.label\">\n <input data-mps=\"datatable\" [mpProps]=\"opt.input\" [checked]=\"opt.checked\">\n <span data-mps=\"datatable\">\n {{ opt.text }}\n </span>\n </label>\n }\n @if (fc.open.list.noValues) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.noValues\">\n {{ fc.open.list.noValuesText }}\n </span>\n }\n </div>\n }\n @if (fc.open.list && fc.open.list.hasMore) {\n <span data-mps=\"datatable\" [mpProps]=\"fc.open.list.hasMore\">\n {{ fc.open.list.hasMoreText }}\n </span>\n }\n </div>\n }\n </div>\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody data-mps=\"datatable\" [mpProps]=\"p_view.tbody\">\n @if (p_view.stateCell) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.stateRow\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.stateCell\">\n {{ p_view.stateText }}\n </td>\n </tr>\n }\n @if (p_view.spacerTop) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerTop.td\" [style]=\"p_view.spacerTop.style\"></td>\n </tr>\n }\n @for (r of p_view.rows; track r.key) {\n <tr data-mps=\"datatable\" [mpProps]=\"r.tr\">\n @if (r.chevronCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.chevronCell\" [style]=\"r.chevronStyle\">\n @if (r.chevron) {\n <button data-mps=\"datatable\" [mpProps]=\"r.chevron\">\n {{ r.chevronText }}\n </button>\n }\n </td>\n }\n @if (r.checkCell) {\n <td data-mps=\"datatable\" [mpProps]=\"r.checkCell\">\n @if (r.check) {\n <input data-mps=\"datatable\" [mpProps]=\"r.check\" [checked]=\"r.checked\" [indeterminate]=\"r.indeterminate\">\n }\n </td>\n }\n @if (r.placeholder) {\n <td data-mps=\"datatable\" [mpProps]=\"r.placeholder\">\n …\n </td>\n } @else {\n @if (slots().row; as slot_row) {\n <ng-container [ngTemplateOutlet]=\"slot_row\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }, row: r.row, rowIndex: r.rowIndex, ctx: r.ctx }\" />\n } @else {\n @for (c of r.cells; track c.key) {\n <td data-mps=\"datatable\" [mpProps]=\"c.td\">\n @if (slots().cell; as slot_cell) {\n <ng-container [ngTemplateOutlet]=\"slot_cell\" [ngTemplateOutletContext]=\"{ $implicit: { row: r.row, column: c.column, rowIndex: r.rowIndex }, row: r.row, column: c.column, rowIndex: r.rowIndex }\" />\n } @else {\n {{ c.text }}\n }\n </td>\n }\n }\n }\n </tr>\n }\n @if (p_view.spacerBottom) {\n <tr data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.tr\">\n <td data-mps=\"datatable\" [mpProps]=\"p_view.spacerBottom.td\" [style]=\"p_view.spacerBottom.style\"></td>\n </tr>\n }\n </tbody>\n </table>\n </div>\n @if (p_view.footer) {\n <div data-mps=\"datatable\" [mpProps]=\"p_view.footer\">\n @for (p of p_view.pagers; track p.key) {\n <nav data-mps=\"datatable\" [mpProps]=\"p.nav\">\n <ul data-mps=\"datatable\" [mpProps]=\"p.list\">\n @for (e of p.entries; track e.key) {\n <li data-mps=\"datatable\" [mpProps]=\"e.item\">\n @if (e.gap) {\n <span data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </span>\n } @else if (e.anchor) {\n <a data-mps=\"datatable\" [mpProps]=\"e.link\" [attr.href]=\"e.href\">\n {{ e.text }}\n </a>\n } @else {\n <button data-mps=\"datatable\" [mpProps]=\"e.link\">\n {{ e.text }}\n </button>\n }\n </li>\n }\n </ul>\n </nav>\n }\n </div>\n }\n</div>\n<div data-mps=\"datatable\" [mpProps]=\"p_view.resizePanel\">\n <div data-mps=\"datatable\" [mpProps]=\"p_view.resizeSteps\">\n <button data-mps=\"datatable\" [mpProps]=\"p_view.narrower\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n −\n </span>\n </button>\n <output data-mps=\"datatable\" [mpProps]=\"p_view.widthOutput\">\n {{ p_view.widthText }}\n </output>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.wider\">\n <span data-mps=\"datatable\" [mpProps]=\"p_view.stepGlyph\">\n +\n </span>\n </button>\n </div>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.fit\">\n {{ p_view.labels.fitColumn }}\n </button>\n <button data-mps=\"datatable\" [mpProps]=\"p_view.reset\">\n {{ p_view.labels.resetColumn }}\n </button>\n</div>\n","// GENERATED from the datatable manifest by @mintplayer/nx-component-compiler. Do not edit.\nexport { BsDatatableComponent, BsDatatableHeaderDirective, BsDatatableCellDirective, BsDatatableRowDirective, BsDatatableFilterDirective } from './datatable.component.generated';\n","// The datatable is generated from @mintplayer/ui-core/datatable (PRD #437 D10).\nexport * from './generated';\nexport { DEFAULT_DATATABLE_LABELS, cellText, computeNextSort, sortRows } from '@mintplayer/ui-core/datatable';\nexport type {\n DatatableFilter,\n DatatableColumnDef,\n DatatableDistincts,\n DatatableFetch,\n DatatableFetchRequest,\n DatatableFetchResponse,\n DatatableHrefFor,\n DatatableHrefState,\n DatatableLabels,\n DatatableLoadErrorDetail,\n DatatableReloadOptions,\n DatatableSelectionMode,\n DistinctValue,\n DistinctValues,\n DistinctsRequest,\n DatatableFilters,\n FilterContext,\n FilterInputType,\n FilterMode,\n FilterOperator,\n FilterSelection,\n RowEventDetail,\n RowKey,\n RowRenderContext,\n SelectionChangeEventDetail,\n SortColumn,\n SortDirection,\n TreeIdKey,\n TreeRowExpandDetail,\n TreeSelectionStrategy,\n} from '@mintplayer/ui-core/datatable';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AAMA;MAEa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA8F,WAAW,CAAC;AAIxI,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAAgC,EAAE,GAAY,EAAA;AAC1E,QAAA,OAAO,IAAI;IACb;8GAJW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,SAAS;mBAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE;;AAQ9C;MAEa,wBAAwB,CAAA;AADrC,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAA8J,WAAW,CAAC;AAIxM,IAAA;AAHC,IAAA,OAAO,sBAAsB,CAAC,IAA8B,EAAE,GAAY,EAAA;AACxE,QAAA,OAAO,IAAI;IACb;8GAJW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,S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EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC5B,wBAAwB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACzB,uBAAuB,4FACpB,0BAA0B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhIvE;;ACAA;;ACAA;;AAEG;;;;"}
@@ -100,7 +100,7 @@ class BsFileManagerComponent {
100
100
  return this.#core.call('clearUpload', args);
101
101
  }
102
102
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
103
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeopen: "nodeopen", selectionchanged: "selectionchanged", uploadrequest: "uploadrequest", operation: "operation", errorreported: "errorreported", childrenloaded: "childrenloaded", currentfolderidchange: "currentfolderidchange", selectedidschange: "selectedidschange", viewmodechange: "viewmodechange", uploadschange: "uploadschange", pendingchange: "pendingchange" }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n \u203A\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeselect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowdblclick)=\"p_view.onRowDblClick($event)\" (rowcontextmenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizestart", "resizing", "resizeend"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeselect", "nodeexpand", "nodecollapse", "nodeloaderror", "selectedidschange", "expandedidschange"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "sortcolumnschange", "pagechange", "perpagechange", "selectedidschange", "expandedidschange", "rowclick", "rowdblclick", "rowcontextmenu", "selectionchanged", "rowexpand", "rowcollapse", "loaderror", "filterchange"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
103
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: BsFileManagerComponent, isStandalone: true, selector: "bs-file-manager", inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, rootFolderId: { classPropertyName: "rootFolderId", publicName: "rootFolderId", isSignal: true, isRequired: false, transformFunction: null }, currentFolderId: { classPropertyName: "currentFolderId", publicName: "currentFolderId", isSignal: true, isRequired: false, transformFunction: null }, allowUpload: { classPropertyName: "allowUpload", publicName: "allowUpload", isSignal: true, isRequired: false, transformFunction: null }, allowOperations: { classPropertyName: "allowOperations", publicName: "allowOperations", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, searchPlaceholder: { classPropertyName: "searchPlaceholder", publicName: "searchPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, iconResolver: { classPropertyName: "iconResolver", publicName: "iconResolver", isSignal: true, isRequired: false, transformFunction: null }, messages: { classPropertyName: "messages", publicName: "messages", isSignal: true, isRequired: false, transformFunction: null }, dialogResolver: { classPropertyName: "dialogResolver", publicName: "dialogResolver", isSignal: true, isRequired: false, transformFunction: null }, conflictResolver: { classPropertyName: "conflictResolver", publicName: "conflictResolver", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, uploads: { classPropertyName: "uploads", publicName: "uploads", isSignal: true, isRequired: false, transformFunction: null }, pending: { classPropertyName: "pending", publicName: "pending", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentFolderId: "currentFolderIdChange", viewMode: "viewModeChange", selectedIds: "selectedIdsChange", uploads: "uploadsChange", pending: "pendingChange", navigate: "navigate", nodeopen: "nodeopen", selectionchanged: "selectionchanged", uploadrequest: "uploadrequest", operation: "operation", errorreported: "errorreported", childrenloaded: "childrenloaded", currentfolderidchange: "currentfolderidchange", selectedidschange: "selectedidschange", viewmodechange: "viewmodechange", uploadschange: "uploadschange", pendingchange: "pendingchange" }, ngImport: i0, template: "<!-- GENERATED from libs/mintplayer-ui-core/file-manager/src/templates/file-manager.view.vue by @mintplayer/nx-component-compiler. Do not edit. -->\n@let p_view = props().view;\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.live\">\n {{ p_view.announcement }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.alert\">\n {{ p_view.alertText }}\n</div>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.toolbar\">\n @for (a of p_view.actions; track a.key) {\n <button data-mps=\"file-manager\" [mpProps]=\"a.bag\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.glyph\">\n {{ a.glyph }}\n </span>\n {{ a.label }}\n </button>\n }\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.spacer\"></span>\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.search\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.viewToggle\">\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.listToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.listIcon | mpTrustedHtml\"></span>\n </button>\n <button data-mps=\"file-manager\" [mpProps]=\"p_view.iconsToggle\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.toggleIcon\" [innerHTML]=\"p_view.gridIcon | mpTrustedHtml\"></span>\n </button>\n </div>\n</div>\n<nav data-mps=\"file-manager\" [mpProps]=\"p_view.breadcrumb\">\n @for (c of p_view.crumbs; track c.key) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbItem\">\n @if (c.separator) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.crumbSeparator\">\n \u203A\n </span>\n }\n <button data-mps=\"file-manager\" [mpProps]=\"c.bag\">\n {{ c.label }}\n </button>\n </span>\n }\n</nav>\n<div data-mps=\"file-manager\" [mpProps]=\"p_view.splitArea\">\n <bs-splitter [orientation]=\"'horizontal'\" [minPanelSize]=\"120\" [touchMode]=\"p_view.touchMode\">\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.treePane\">\n <bs-treeview [items]=\"p_view.tree.items\" [selectedIds]=\"p_view.tree.selected\" [selectionMode]=\"'single'\" [hideBorders]=\"true\" [iconResolver]=\"p_view.tree.icon\" [loadChildren]=\"p_view.treeLoad\" [inputLabel]=\"p_view.tree.label\" [expandedIds]=\"p_view.treeExpanded.value\" (expandedIdsChange)=\"p_view.treeExpanded.set($event)\" (nodeselect)=\"p_view.onTreeSelect($event)\"></bs-treeview>\n </div>\n </bs-splitter-panel>\n <bs-splitter-panel>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentPane\">\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.contentBody\">\n @if (p_view.list) {\n <bs-datatable [columns]=\"p_view.columns\" [data]=\"p_view.data\" [rowKey]=\"p_view.rowKey\" [selectionMode]=\"p_view.selectionMode\" [autoSort]=\"false\" [cutIds]=\"p_view.cutIds\" [virtualScroll]=\"true\" [itemSize]=\"40\" [fill]=\"true\" [emptyMessage]=\"p_view.emptyMessage\" [inputLabel]=\"p_view.listLabel\" [selectedIds]=\"p_view.selection.value\" (selectedIdsChange)=\"p_view.selection.set($event)\" [sortColumns]=\"p_view.sort.value\" (sortColumnsChange)=\"p_view.sort.set($event)\" (rowdblclick)=\"p_view.onRowDblClick($event)\" (rowcontextmenu)=\"p_view.onRowContextMenu($event)\">\n <ng-template bsDatatableCell let-column=\"column\" let-rowIndex=\"rowIndex\">\n @if (column.name === 'name' && p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].cell\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowIcon\" [innerHTML]=\"p_view.rows[rowIndex].icon | mpTrustedHtml\"></span>\n @if (p_view.rows[rowIndex].renameInput) {\n <input data-mps=\"file-manager\" [mpProps]=\"p_view.rows[rowIndex].renameInput\">\n } @else {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.rowName\">\n {{ p_view.rows[rowIndex].name }}\n </span>\n }\n </span>\n } @else if (p_view.rows[rowIndex]) {\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cellText\">\n {{ p_view.rows[rowIndex].texts[column.name] }}\n </span>\n }\n </ng-template>\n </bs-datatable>\n } @else {\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.grid\">\n @for (r of p_view.rows; track r.id) {\n <button data-mps=\"file-manager\" [mpProps]=\"r.card\">\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardIcon\" [innerHTML]=\"r.icon | mpTrustedHtml\"></span>\n <span data-mps=\"file-manager\" [mpProps]=\"p_view.cardName\">\n {{ r.name }}\n </span>\n </button>\n }\n </div>\n }\n </div>\n <div data-mps=\"file-manager\" [mpProps]=\"p_view.overlay\">\n {{ p_view.dropText }}\n </div>\n </div>\n </bs-splitter-panel>\n </bs-splitter>\n</div>\n@if (p_view.menu) {\n <ul data-mps=\"file-manager\" [mpProps]=\"p_view.menu.list\" [style]=\"p_view.menu.style\">\n @for (i of p_view.menu.items; track i.key) {\n <li data-mps=\"file-manager\" [mpProps]=\"i.li\">\n @if (i.button) {\n <button data-mps=\"file-manager\" [mpProps]=\"i.button\">\n {{ i.label }}\n </button>\n }\n </li>\n }\n </ul>\n}\n", dependencies: [{ kind: "directive", type: MpPropsDirective, selector: "[mpProps]", inputs: ["mpProps"] }, { kind: "component", type: BsSplitterComponent, selector: "bs-splitter", inputs: ["orientation", "minPanelSize", "touchMode", "labels"], outputs: ["resizestart", "resizing", "resizeend"] }, { kind: "component", type: BsSplitterPanelComponent, selector: "bs-splitter-panel" }, { kind: "component", type: BsTreeviewComponent, selector: "bs-treeview", inputs: ["items", "expandedIds", "selectedIds", "selectionMode", "hideBorders", "iconResolver", "loadChildren", "inputLabel", "labels"], outputs: ["expandedIdsChange", "selectedIdsChange", "nodeselect", "nodeexpand", "nodecollapse", "nodeloaderror", "selectedidschange", "expandedidschange"] }, { kind: "component", type: BsDatatableComponent, selector: "bs-datatable", inputs: ["columns", "data", "fetch", "caption", "labels", "inputLabel", "sortColumns", "page", "perPage", "perPageOptions", "pagination", "autoSort", "selectionMode", "selectedIds", "cutIds", "focusedRowKey", "rowLabel", "rowKey", "tree", "idKey", "childCountKey", "treeIndent", "expandedIds", "selectionStrategy", "loading", "emptyMessage", "virtualScroll", "itemSize", "virtualBuffer", "fill", "resizableColumns", "hrefFor", "distincts", "filters", "fetchParams", "stateKey"], outputs: ["sortColumnsChange", "pageChange", "perPageChange", "selectedIdsChange", "expandedIdsChange", "filtersChange", "sortcolumnschange", "pagechange", "perpagechange", "selectedidschange", "expandedidschange", "rowclick", "rowdblclick", "rowcontextmenu", "selectionchanged", "rowexpand", "rowcollapse", "loaderror", "filterschange"] }, { kind: "directive", type: BsDatatableCellDirective, selector: "[bsDatatableCell]" }, { kind: "pipe", type: MpTrustedHtmlPipe, name: "mpTrustedHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
104
104
  }
105
105
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: BsFileManagerComponent, decorators: [{
106
106
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-file-manager.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.component.generated.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/file-manager.view.generated.html","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/generated/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/src/index.ts","../../../../libs/mintplayer-ng-bootstrap/file-manager/mintplayer-ng-bootstrap-file-manager.ts"],"sourcesContent":["// GENERATED from the file-manager manifest (file-manager) by @mintplayer/nx-component-compiler. Do not edit.\nimport { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, inject, input, model, output } from '@angular/core';\nimport { MpPropsDirective, MpTrustedHtmlPipe, useCore, useScopedStyles } from '@mintplayer/ng-bootstrap/machine';\nimport { type ChildrenLoadedEventDetail, fileManagerCore, type FileManagerErrorEventDetail, type FileManagerInputs, type FileManagerMethods, fileManagerScopedStyles, type FileManagerSelectionEventDetail, type FileManagerViewMode, type NavigateEventDetail, type NodeOpenEventDetail, type OperationEventDetail, type OperationKind, type UploadEntry, 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';\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 /** The open folder, after the user changed it. */\n readonly currentfolderidchange = output<string | null>();\n /** The selected node ids, after the user changed them. */\n readonly selectedidschange = output<string[]>();\n /** The view, after the user switched it. */\n readonly viewmodechange = output<FileManagerViewMode>();\n /** The tracked uploads, after a change. */\n readonly uploadschange = output<UploadEntry[]>();\n /** The nodes with an operation in flight, after a change. */\n readonly pendingchange = output<Record<string, OperationKind>>();\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, currentFolderIdChange: this.currentfolderidchange, selectedIdsChange: this.selectedidschange, viewModeChange: this.viewmodechange, uploadsChange: this.uploadschange, pendingChange: this.pendingchange }, 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('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;AASA;;;;;AAKG;MAOU,sBAAsB,CAAA;AA6CxB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AA/CS,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,e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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;;;AEnBjD;;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 FileManagerViewMode, type NavigateEventDetail, type NodeOpenEventDetail, type OperationEventDetail, type OperationKind, type UploadEntry, 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';\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 /** The open folder, after the user changed it. */\n readonly currentfolderidchange = output<string | null>();\n /** The selected node ids, after the user changed them. */\n readonly selectedidschange = output<string[]>();\n /** The view, after the user switched it. */\n readonly viewmodechange = output<FileManagerViewMode>();\n /** The tracked uploads, after a change. */\n readonly uploadschange = output<UploadEntry[]>();\n /** The nodes with an operation in flight, after a change. */\n readonly pendingchange = output<Record<string, OperationKind>>();\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, currentFolderIdChange: this.currentfolderidchange, selectedIdsChange: this.selectedidschange, viewModeChange: this.viewmodechange, uploadsChange: this.uploadschange, pendingChange: this.pendingchange }, 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('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;AASA;;;;;AAKG;MAOU,sBAAsB,CAAA;AA6CxB,IAAA,KAAK;AAId,IAAA,WAAA,GAAA;;AA/CS,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,CA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AwB,CAAC,EAAA,eAAA,EACjJ,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,u/KAAA,EAAA;;;AEnBjD;;ACAA;;ACAA;;AAEG;;;;"}
@@ -1,9 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { signal, inject, DestroyRef, input, ElementRef, Renderer2, effect, Directive, PLATFORM_ID, DOCUMENT, InjectionToken, untracked, computed, afterNextRender, TemplateRef, ViewContainerRef, Pipe } from '@angular/core';
2
+ import { signal, inject, DestroyRef, input, ElementRef, Renderer2, effect, Directive, PLATFORM_ID, DOCUMENT, InjectionToken, makeEnvironmentProviders, TransferState, untracked, makeStateKey, PendingTasks, computed, afterNextRender, TemplateRef, ViewContainerRef, Pipe } from '@angular/core';
3
3
  import { isPlatformServer } from '@angular/common';
4
4
  import { writeScopedStyleTag, installLightStyles } from '@mintplayer/ui-core/scoped-styles';
5
5
  import { BsIdService } from '@mintplayer/ng-bootstrap/a11y';
6
6
  import { coreRuntime } from '@mintplayer/ui-core/component';
7
+ import { DEFAULT_PREFETCH_TIMEOUT, runPrefetch } from '@mintplayer/ui-core/transfer-state';
7
8
  import { DomSanitizer } from '@angular/platform-browser';
8
9
 
9
10
  /**
@@ -145,6 +146,14 @@ function useHostProps(bag) {
145
146
  });
146
147
  }
147
148
 
149
+ const MACHINE_SSR_OPTIONS = new InjectionToken('mp-machine-ssr-options', {
150
+ factory: () => ({ prefetchTimeout: DEFAULT_PREFETCH_TIMEOUT }),
151
+ });
152
+ /** App-level settings for components that load data during a server render. */
153
+ function provideMachineSsr(options) {
154
+ return makeEnvironmentProviders([{ provide: MACHINE_SSR_OPTIONS, useValue: { prefetchTimeout: DEFAULT_PREFETCH_TIMEOUT, ...options } }]);
155
+ }
156
+
148
157
  const tokens = new WeakMap();
149
158
  /** The Angular token for a core context: one per context object. */
150
159
  function coreContextToken(context) {
@@ -177,6 +186,12 @@ function useCore(core, options) {
177
186
  // have not, and the server would render a bound model input's default.
178
187
  const written = signal(null, /* @ts-ignore */
179
188
  ...(ngDevMode ? [{ debugName: "written" }] : /* istanbul ignore next */ []));
189
+ const server = isPlatformServer(inject(PLATFORM_ID));
190
+ const transfer = core.transferKey ? inject(TransferState) : null;
191
+ /** Server only: starts the prefetch with the first inputs that name one (a `transferKey`), however late they arrive. */
192
+ let prefetchOnce = null;
193
+ /** Client only: the transferred seed is still unread, because no inputs have named its key yet. */
194
+ let transferArmed = !server && !!transfer;
180
195
  let seeded = null;
181
196
  const seed = () => {
182
197
  if (seeded)
@@ -185,8 +200,41 @@ function useCore(core, options) {
185
200
  // The baseline the state was seeded from: inputs that change before attaching
186
201
  // (a form control writing its value) reach inputsChanged on attach.
187
202
  runtime.inputs(inputs);
188
- return (seeded = core.state ? core.state(inputs) : {});
203
+ return (seeded = core.state ? core.state(inputs, server ? undefined : takeTransferred(inputs)) : {});
189
204
  };
205
+ /**
206
+ * The server's prefetched seed for these inputs, read once: a later instance with the same query fetches fresh (#448).
207
+ * Inputs without a key (a `fetch` the consumer sets after an async step) leave it armed for the next delivery.
208
+ */
209
+ const takeTransferred = (inputs) => {
210
+ const key = transferArmed && transfer ? core.transferKey?.(inputs) : undefined;
211
+ if (!transfer || !key)
212
+ return undefined;
213
+ transferArmed = false;
214
+ const stateKey = makeStateKey(key);
215
+ if (!transfer.hasKey(stateKey))
216
+ return undefined;
217
+ const value = transfer.get(stateKey, undefined);
218
+ transfer.remove(stateKey);
219
+ return value;
220
+ };
221
+ if (server && transfer && core.prefetch) {
222
+ // Outside the state computed, which must not write signals: the first change
223
+ // detection seeds the loading snapshot, this replaces it before serialization.
224
+ const pendingTasks = inject(PendingTasks);
225
+ const ssr = inject(MACHINE_SSR_OPTIONS);
226
+ const abort = new AbortController();
227
+ inject(DestroyRef).onDestroy(() => abort.abort());
228
+ prefetchOnce = (inputs) => {
229
+ void pendingTasks.run(async () => {
230
+ const result = await runPrefetch(core, inputs, { timeout: ssr.prefetchTimeout, signal: abort.signal });
231
+ if (!result || abort.signal.aborted)
232
+ return;
233
+ transfer.set(makeStateKey(result.key), result.seed);
234
+ written.set(core.state(inputs, result.seed));
235
+ });
236
+ };
237
+ }
190
238
  const state = computed(() => written() ?? seed(), /* @ts-ignore */
191
239
  ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
192
240
  const args = computed(() => ({
@@ -222,7 +270,22 @@ function useCore(core, options) {
222
270
  });
223
271
  effect(() => {
224
272
  const inputs = options.inputs();
225
- untracked(() => runtime.inputs(inputs));
273
+ untracked(() => {
274
+ // A seed whose key the first inputs did not name: applied before the inputs reach the core,
275
+ // so its inputsChanged sees the seeded page as the answer rather than reloading it.
276
+ if (transferArmed && core.adopt) {
277
+ const late = takeTransferred(inputs);
278
+ if (late !== undefined)
279
+ written.set(core.adopt(state(), inputs, late));
280
+ }
281
+ runtime.inputs(inputs);
282
+ // Armed until the inputs name a prefetch: a `fetch` or `stateKey` can arrive after the first delivery.
283
+ if (prefetchOnce && core.transferKey?.(inputs)) {
284
+ const start = prefetchOnce;
285
+ prefetchOnce = null;
286
+ start(inputs);
287
+ }
288
+ });
226
289
  });
227
290
  inject(DestroyRef).onDestroy(() => runtime.dispose());
228
291
  return { props, provided, call: (name, callArgs) => runtime.call(name, callArgs) };
@@ -298,5 +361,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
298
361
  * Generated bundle index. Do not edit.
299
362
  */
300
363
 
301
- export { MpPropsDirective, MpTeleportDirective, MpTrustedHtmlPipe, applyPropBag, coreContextToken, machineSignal, provideCoreContext, repairEventReplayBodyPaths, useCore, useHostProps, useScopedStyles };
364
+ export { MACHINE_SSR_OPTIONS, MpPropsDirective, MpTeleportDirective, MpTrustedHtmlPipe, applyPropBag, coreContextToken, machineSignal, provideCoreContext, provideMachineSsr, repairEventReplayBodyPaths, useCore, useHostProps, useScopedStyles };
302
365
  //# sourceMappingURL=mintplayer-ng-bootstrap-machine.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap-machine.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/machine/src/machine-signal.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/props.directive.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/scoped-styles.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/host-props.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/core.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/teleport.directive.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/trusted-html.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/machine/mintplayer-ng-bootstrap-machine.ts"],"sourcesContent":["import { DestroyRef, inject, Signal, signal } from '@angular/core';\nimport type { Store } from '@mintplayer/ui-core/store';\n\n/**\n * Bridge a `@mintplayer/ui-core` store into Angular's reactivity: a read-only\n * `Signal` of the store's snapshot, kept current by `subscribe` and released on\n * the injection context's `DestroyRef`.\n *\n * The signal is set synchronously from the store's notification; Angular\n * coalesces the resulting change detection, so a command that commits one\n * snapshot costs one render (measured in `machine-signal.spec.ts`, spike S1).\n */\nexport function machineSignal<S extends object>(store: Store<S>, destroyRef: DestroyRef = inject(DestroyRef)): Signal<S> {\n const state = signal<S>(store.snapshot);\n const unsubscribe = store.subscribe((snapshot) => state.set(snapshot));\n destroyRef.onDestroy(unsubscribe);\n return state.asReadonly();\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\n\n/** An attribute bag as a core's `connect()` returns it. `null`/`undefined`/`false` remove the attribute; `true` sets it empty. */\nexport type PropBag = Record<string, string | number | boolean | null | undefined>;\n\n/**\n * Attribute names a bag may never set. A bag is data the core computed, but a\n * generic setter is still an injection sink, so URL-bearing and script-bearing\n * attributes are refused outright rather than sanitised.\n */\nconst REFUSED = new Set(['href', 'src', 'srcdoc', 'xlink:href', 'style', 'action', 'formaction', 'data']);\n\nfunction isRefused(name: string): boolean {\n return REFUSED.has(name) || name.startsWith('on');\n}\n\n/**\n * Apply a core's attribute bag to the host element — the Angular stand-in for\n * JSX/Lit/Vue attribute spread. The directive diffs the previous and next bag:\n * a key that disappears is *removed* from the DOM (a stale\n * `aria-activedescendant` would otherwise survive a close), and unchanged keys\n * are not rewritten.\n *\n * Attributes are written through `Renderer2`, so they land in the server-\n * rendered HTML and are re-applied identically after hydration (spike S2 in\n * docs/prd/typeahead-wc-436.md). Consumers never see a bag: the front's own\n * template binds `[mpProps]=\"api().input\"` on its own nodes.\n */\n@Directive({ selector: '[mpProps]' })\nexport class MpPropsDirective {\n readonly mpProps = input<PropBag | null | undefined>(null);\n\n private readonly element = inject(ElementRef).nativeElement as Element;\n private readonly renderer = inject(Renderer2);\n private applied: PropBag = {};\n\n constructor() {\n effect(() => (this.applied = applyPropBag(this.renderer, this.element, this.applied, this.mpProps() ?? {})));\n }\n}\n\n/** Write `next` onto `element`, removing what `previous` set and `next` drops. Returns `next`. */\nexport function applyPropBag(renderer: Renderer2, element: Element, previous: PropBag, next: PropBag): PropBag {\n Object.keys(previous)\n .filter((name) => !(name in next) || next[name] === null || next[name] === undefined || next[name] === false)\n .forEach((name) => renderer.removeAttribute(element, name));\n Object.entries(next)\n .filter(([, value]) => value !== null && value !== undefined && value !== false)\n .filter(([name]) => {\n if (isRefused(name)) {\n throw new Error(`[mpProps] refuses to set \"${name}\"; bind it explicitly in the template.`);\n }\n return true;\n })\n .filter(([name, value]) => !Object.is(previous[name], value))\n .forEach(([name, value]) => renderer.setAttribute(element, name, value === true ? '' : String(value)));\n return next;\n}\n","import { DOCUMENT, inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { installLightStyles, writeScopedStyleTag } from '@mintplayer/ui-core/scoped-styles';\n\n/**\n * Install a core's scoped stylesheet from an Angular front. In the browser it\n * goes through the shared registry (`installLightStyles`: once per key,\n * cross-bundle safe). On the server the registry cannot run, so the marker\n * `<style data-mp-light-styles=\"<key>\">` is written straight into the\n * request's `DOCUMENT` head — the client registry then treats it as already\n * installed. No string post-processing of the response is involved.\n *\n * In the browser it also repairs the event-replay body shift (below) — every\n * front calls this first thing, so the repair runs before any front's\n * projected children are hydrated.\n *\n * Call from the component's constructor (an injection context).\n */\nexport function useScopedStyles(key: string, cssText: string): void {\n if (isPlatformServer(inject(PLATFORM_ID))) {\n writeScopedStyleTag(inject(DOCUMENT), key, cssText);\n } else {\n repairEventReplayBodyPaths(inject(DOCUMENT));\n installLightStyles(key, cssText);\n }\n}\n\n/**\n * Angular SSR defect (platform-server 22): `_annotateForHydration` records the\n * hydration paths, and only THEN `insertEventRecordScript` adds the replay\n * `<script>` right after `#ng-event-dispatch-contract` in `<body>`. A node\n * whose path is body-relative — any projected node a front renders outside\n * its own host (an accordion tab's body inside the accordion's `<details>`, a\n * tab page's body inside the tab control's panel) — is then looked up one\n * sibling off, and hydration throws \"Cannot read properties of null\n * (reading 'nextSibling')\". The replay script has already run by the time any\n * component is constructed, so removing its element restores the body the\n * paths were computed against. Idempotent; a no-op without event replay.\n */\nexport function repairEventReplayBodyPaths(doc: Document): void {\n const replay = doc.getElementById('ng-event-dispatch-contract')?.nextSibling;\n if (replay instanceof HTMLScriptElement && replay.textContent?.startsWith('window.__jsaction_bootstrap(')) replay.remove();\n}\n","import { effect, ElementRef, inject, Renderer2 } from '@angular/core';\nimport { applyPropBag, type PropBag } from './props.directive';\n\n/**\n * Apply a core's attribute bag to the component's own host element: the host\n * twin of `[mpProps]`, for a compiled template whose root is marked `mp-host`\n * (the root element IS the host, so the template holds only its children).\n *\n * Diffs like `[mpProps]` and writes through `Renderer2`, so the attributes are\n * in the server-rendered HTML. `class` is merged token by token, never\n * written as an attribute: the consumer's own classes on the host survive.\n *\n * constructor() { useHostProps(() => this.view().root); }\n */\nexport function useHostProps(bag: () => PropBag | null | undefined): void {\n const element = inject(ElementRef).nativeElement as Element;\n const renderer = inject(Renderer2);\n let applied: PropBag = {};\n let classes: string[] = [];\n effect(() => {\n const { class: className, ...rest } = bag() ?? {};\n const next = typeof className === 'string' ? className.split(/\\s+/).filter(Boolean) : [];\n classes.filter((name) => !next.includes(name)).forEach((name) => renderer.removeClass(element, name));\n next.filter((name) => !classes.includes(name)).forEach((name) => renderer.addClass(element, name));\n classes = next;\n applied = applyPropBag(renderer, element, applied, rest);\n });\n}\n","import {\n afterNextRender,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n InjectionToken,\n signal,\n untracked,\n type Provider,\n type Signal,\n type Type,\n} from '@angular/core';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { coreRuntime, type ComponentCore, type CoreBag, type CoreContext, type ViewArgs } from '@mintplayer/ui-core/component';\nimport { useHostProps } from './host-props';\n\nconst tokens = new WeakMap<CoreContext<unknown>, InjectionToken<Signal<unknown>>>();\n\n/** The Angular token for a core context: one per context object. */\nexport function coreContextToken<T>(context: CoreContext<T>): InjectionToken<Signal<T>> {\n let token = tokens.get(context as CoreContext<unknown>);\n if (!token) {\n token = new InjectionToken<Signal<unknown>>(`mp-core-context:${context.name}`);\n tokens.set(context as CoreContext<unknown>, token);\n }\n return token as InjectionToken<Signal<T>>;\n}\n\n/** Provides `context` to the component's content, read from the component's `useCore().provided`. */\nexport function provideCoreContext<T>(context: CoreContext<T>, component: Type<{ readonly provided: Signal<T> }>): Provider {\n return { provide: coreContextToken(context), useFactory: () => inject(component).provided };\n}\n\nexport interface UseCoreOptions<I, P> {\n readonly inputs: () => I;\n /** Prefix of the deterministic id, e.g. `bs-navbar`. */\n readonly idPrefix: string;\n /** The outputs by name; `api.emit` calls their `emit`. */\n readonly outputs?: Readonly<Record<string, { emit(detail: never): void }>>;\n /** The host element's bag, where the template root is the host (`mp-host`). Default: `core.host`. */\n readonly hostBag?: (props: P) => CoreBag | null | undefined;\n /** Two-way inputs (`model()`), by name; written back when the core changes the state of the same name. */\n readonly models?: Readonly<Record<string, { set(value: never): void }>>;\n}\n\nexport interface CoreHandle<P, PC> {\n /** The template's props. */\n readonly props: Signal<P>;\n /** The value this component provides to its content. */\n readonly provided: Signal<PC>;\n /** Runs a core method; does nothing before the first client render. */\n call(name: string, args: unknown[]): unknown;\n}\n\n/**\n * Host a `ComponentCore` in a generated Angular component (PRD #437 D10).\n * Call it in a field initializer. The template's root is the host element\n * where `hostBag` is given, else the host's first element child.\n */\nexport function useCore<I, S, P, E, C, PC, M>(core: ComponentCore<I, S, P, E, C, PC, M>, options: UseCoreOptions<I, P>): CoreHandle<P, PC> {\n const element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const consumed = core.consume ? inject(coreContextToken(core.consume), { optional: true, skipSelf: true }) : null;\n const id = inject(BsIdService).next(options.idPrefix);\n // Read once: a host attribute is static content, and Angular does not observe it.\n const label = element.getAttribute('aria-label');\n const hydrated = signal(false);\n // The state is seeded at its first read, in the first change detection: the\n // template's bindings have set the inputs by then. In the constructor they\n // have not, and the server would render a bound model input's default.\n const written = signal<S | null>(null);\n let seeded: S | null = null;\n const seed = (): S => {\n if (seeded) return seeded;\n const inputs = untracked(options.inputs);\n // The baseline the state was seeded from: inputs that change before attaching\n // (a form control writing its value) reach inputsChanged on attach.\n runtime.inputs(inputs);\n return (seeded = core.state ? core.state(inputs) : ({} as S));\n };\n const state = computed(() => written() ?? seed());\n\n const args = computed<ViewArgs<I, S, C, E>>(() => ({\n inputs: options.inputs(),\n state: state(),\n id,\n hydrated: hydrated(),\n context: (consumed ? consumed() : core.consume?.defaultValue) as C,\n label,\n api: () => runtime.api,\n }));\n const props = computed(() => core.view(args()));\n const provided = computed(() => core.provide?.(args()) as PC);\n\n const hostBag = options.hostBag ?? core.host?.bind(core);\n if (hostBag) useHostProps(() => hostBag(props()));\n\n const runtime = coreRuntime(core, {\n inputs: () => untracked(options.inputs),\n state: () => untracked(state),\n setState: (next) => written.set(next),\n emit: (name, detail) => options.outputs?.[name]?.emit(detail as never),\n models: Object.keys(options.models ?? {}) as never,\n writeModel: (name, value) => options.models?.[name]?.set(value as never),\n });\n afterNextRender(() => {\n hydrated.set(true);\n const root = options.hostBag ? element : (element.firstElementChild as HTMLElement | null);\n if (root) runtime.attachTo(root);\n });\n effect(() => {\n const inputs = options.inputs();\n untracked(() => runtime.inputs(inputs));\n });\n inject(DestroyRef).onDestroy(() => runtime.dispose());\n\n return { props, provided, call: (name, callArgs) => runtime.call(name, callArgs) };\n}\n","import { DestroyRef, Directive, effect, EmbeddedViewRef, inject, input, TemplateRef, ViewContainerRef } from '@angular/core';\n\n/**\n * Render an `<ng-template>` into another element, the compiled form of a view's\n * `<teleport :to>`. The twin of React's `createPortal`, Vue's `<Teleport>` and\n * Lit's `teleport()`. The view lives in this container, so change detection and\n * destruction follow the component, but its root nodes are moved into `to`, as\n * CDK's DomPortalOutlet does. Nothing renders while `to` is null, which is the\n * server's case. A core hands a target whose identity never changes (the\n * dock's per-pane hosts), so the content's state survives wherever the core\n * moves that target.\n *\n * <ng-template [mpTeleport]=\"view.paneHosts[pane]\">...</ng-template>\n */\n@Directive({ selector: '[mpTeleport]' })\nexport class MpTeleportDirective {\n readonly mpTeleport = input<Element | null | undefined>(null);\n\n private readonly template = inject(TemplateRef);\n private readonly container = inject(ViewContainerRef);\n private view: EmbeddedViewRef<unknown> | null = null;\n\n constructor() {\n effect(() => {\n const to = this.mpTeleport() ?? null;\n if (!to) {\n this.container.clear();\n this.view = null;\n return;\n }\n this.view ??= this.container.createEmbeddedView(this.template);\n // The view's nodes render in place first; detectChanges fills them before they move.\n this.view.detectChanges();\n this.view.rootNodes.filter((node: Node) => node.parentNode !== to).forEach((node: Node) => to.appendChild(node));\n });\n inject(DestroyRef).onDestroy(() => this.container.clear());\n }\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n/**\n * Marks core-produced markup as trusted for `[innerHTML]`: the compiled form of\n * a view's `v-html`. The view contract is that `v-html` only ever carries markup\n * the core produced (flag and file-type SVGs, highlighted code rows), which the\n * React, Vue and Lit fronts insert as-is. Angular's sanitiser would instead drop\n * every `<svg>` — an empty flag, an icon-less file manager — so the Angular front\n * trusts it the same way.\n *\n * <span [innerHTML]=\"view.flagHtml | mpTrustedHtml\"></span>\n */\n@Pipe({ name: 'mpTrustedHtml' })\nexport class MpTrustedHtmlPipe implements PipeTransform {\n private readonly sanitizer = inject(DomSanitizer);\n\n transform(html: string | null | undefined): SafeHtml {\n return this.sanitizer.bypassSecurityTrustHtml(html ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAGA;;;;;;;;AAQG;AACG,SAAU,aAAa,CAAmB,KAAe,EAAE,UAAA,GAAyB,MAAM,CAAC,UAAU,CAAC,EAAA;AAC1G,IAAA,MAAM,KAAK,GAAG,MAAM,CAAI,KAAK,CAAC,QAAQ;8EAAC;AACvC,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,KAAK,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACtE,IAAA,UAAU,CAAC,SAAS,CAAC,WAAW,CAAC;AACjC,IAAA,OAAO,KAAK,CAAC,UAAU,EAAE;AAC3B;;ACZA;;;;AAIG;AACH,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AAEzG,SAAS,SAAS,CAAC,IAAY,EAAA;AAC7B,IAAA,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;AACnD;AAEA;;;;;;;;;;;AAWG;MAEU,gBAAgB,CAAA;AAO3B,IAAA,WAAA,GAAA;QANS,IAAA,CAAA,OAAO,GAAG,KAAK,CAA6B,IAAI;oFAAC;AAEzC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAAwB;AACrD,QAAA,IAAA,CAAA,QA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AAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAKlD,IAAA;AAHC,IAAA,SAAS,CAAC,IAA+B,EAAA;QACvC,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,IAAI,EAAE,CAAC;IAC3D;8GALW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B,IAAI;mBAAC,EAAE,IAAI,EAAE,eAAe,EAAE;;;ACb/B;;AAEG;;;;"}
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-machine.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/machine/src/machine-signal.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/props.directive.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/scoped-styles.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/host-props.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/ssr.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/core.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/teleport.directive.ts","../../../../libs/mintplayer-ng-bootstrap/machine/src/trusted-html.pipe.ts","../../../../libs/mintplayer-ng-bootstrap/machine/mintplayer-ng-bootstrap-machine.ts"],"sourcesContent":["import { DestroyRef, inject, Signal, signal } from '@angular/core';\nimport type { Store } from '@mintplayer/ui-core/store';\n\n/**\n * Bridge a `@mintplayer/ui-core` store into Angular's reactivity: a read-only\n * `Signal` of the store's snapshot, kept current by `subscribe` and released on\n * the injection context's `DestroyRef`.\n *\n * The signal is set synchronously from the store's notification; Angular\n * coalesces the resulting change detection, so a command that commits one\n * snapshot costs one render (measured in `machine-signal.spec.ts`, spike S1).\n */\nexport function machineSignal<S extends object>(store: Store<S>, destroyRef: DestroyRef = inject(DestroyRef)): Signal<S> {\n const state = signal<S>(store.snapshot);\n const unsubscribe = store.subscribe((snapshot) => state.set(snapshot));\n destroyRef.onDestroy(unsubscribe);\n return state.asReadonly();\n}\n","import { Directive, effect, ElementRef, inject, input, Renderer2 } from '@angular/core';\n\n/** An attribute bag as a core's `connect()` returns it. `null`/`undefined`/`false` remove the attribute; `true` sets it empty. */\nexport type PropBag = Record<string, string | number | boolean | null | undefined>;\n\n/**\n * Attribute names a bag may never set. A bag is data the core computed, but a\n * generic setter is still an injection sink, so URL-bearing and script-bearing\n * attributes are refused outright rather than sanitised.\n */\nconst REFUSED = new Set(['href', 'src', 'srcdoc', 'xlink:href', 'style', 'action', 'formaction', 'data']);\n\nfunction isRefused(name: string): boolean {\n return REFUSED.has(name) || name.startsWith('on');\n}\n\n/**\n * Apply a core's attribute bag to the host element — the Angular stand-in for\n * JSX/Lit/Vue attribute spread. The directive diffs the previous and next bag:\n * a key that disappears is *removed* from the DOM (a stale\n * `aria-activedescendant` would otherwise survive a close), and unchanged keys\n * are not rewritten.\n *\n * Attributes are written through `Renderer2`, so they land in the server-\n * rendered HTML and are re-applied identically after hydration (spike S2 in\n * docs/prd/typeahead-wc-436.md). Consumers never see a bag: the front's own\n * template binds `[mpProps]=\"api().input\"` on its own nodes.\n */\n@Directive({ selector: '[mpProps]' })\nexport class MpPropsDirective {\n readonly mpProps = input<PropBag | null | undefined>(null);\n\n private readonly element = inject(ElementRef).nativeElement as Element;\n private readonly renderer = inject(Renderer2);\n private applied: PropBag = {};\n\n constructor() {\n effect(() => (this.applied = applyPropBag(this.renderer, this.element, this.applied, this.mpProps() ?? {})));\n }\n}\n\n/** Write `next` onto `element`, removing what `previous` set and `next` drops. Returns `next`. */\nexport function applyPropBag(renderer: Renderer2, element: Element, previous: PropBag, next: PropBag): PropBag {\n Object.keys(previous)\n .filter((name) => !(name in next) || next[name] === null || next[name] === undefined || next[name] === false)\n .forEach((name) => renderer.removeAttribute(element, name));\n Object.entries(next)\n .filter(([, value]) => value !== null && value !== undefined && value !== false)\n .filter(([name]) => {\n if (isRefused(name)) {\n throw new Error(`[mpProps] refuses to set \"${name}\"; bind it explicitly in the template.`);\n }\n return true;\n })\n .filter(([name, value]) => !Object.is(previous[name], value))\n .forEach(([name, value]) => renderer.setAttribute(element, name, value === true ? '' : String(value)));\n return next;\n}\n","import { DOCUMENT, inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { installLightStyles, writeScopedStyleTag } from '@mintplayer/ui-core/scoped-styles';\n\n/**\n * Install a core's scoped stylesheet from an Angular front. In the browser it\n * goes through the shared registry (`installLightStyles`: once per key,\n * cross-bundle safe). On the server the registry cannot run, so the marker\n * `<style data-mp-light-styles=\"<key>\">` is written straight into the\n * request's `DOCUMENT` head — the client registry then treats it as already\n * installed. No string post-processing of the response is involved.\n *\n * In the browser it also repairs the event-replay body shift (below) — every\n * front calls this first thing, so the repair runs before any front's\n * projected children are hydrated.\n *\n * Call from the component's constructor (an injection context).\n */\nexport function useScopedStyles(key: string, cssText: string): void {\n if (isPlatformServer(inject(PLATFORM_ID))) {\n writeScopedStyleTag(inject(DOCUMENT), key, cssText);\n } else {\n repairEventReplayBodyPaths(inject(DOCUMENT));\n installLightStyles(key, cssText);\n }\n}\n\n/**\n * Angular SSR defect (platform-server 22): `_annotateForHydration` records the\n * hydration paths, and only THEN `insertEventRecordScript` adds the replay\n * `<script>` right after `#ng-event-dispatch-contract` in `<body>`. A node\n * whose path is body-relative — any projected node a front renders outside\n * its own host (an accordion tab's body inside the accordion's `<details>`, a\n * tab page's body inside the tab control's panel) — is then looked up one\n * sibling off, and hydration throws \"Cannot read properties of null\n * (reading 'nextSibling')\". The replay script has already run by the time any\n * component is constructed, so removing its element restores the body the\n * paths were computed against. Idempotent; a no-op without event replay.\n */\nexport function repairEventReplayBodyPaths(doc: Document): void {\n const replay = doc.getElementById('ng-event-dispatch-contract')?.nextSibling;\n if (replay instanceof HTMLScriptElement && replay.textContent?.startsWith('window.__jsaction_bootstrap(')) replay.remove();\n}\n","import { effect, ElementRef, inject, Renderer2 } from '@angular/core';\nimport { applyPropBag, type PropBag } from './props.directive';\n\n/**\n * Apply a core's attribute bag to the component's own host element: the host\n * twin of `[mpProps]`, for a compiled template whose root is marked `mp-host`\n * (the root element IS the host, so the template holds only its children).\n *\n * Diffs like `[mpProps]` and writes through `Renderer2`, so the attributes are\n * in the server-rendered HTML. `class` is merged token by token, never\n * written as an attribute: the consumer's own classes on the host survive.\n *\n * constructor() { useHostProps(() => this.view().root); }\n */\nexport function useHostProps(bag: () => PropBag | null | undefined): void {\n const element = inject(ElementRef).nativeElement as Element;\n const renderer = inject(Renderer2);\n let applied: PropBag = {};\n let classes: string[] = [];\n effect(() => {\n const { class: className, ...rest } = bag() ?? {};\n const next = typeof className === 'string' ? className.split(/\\s+/).filter(Boolean) : [];\n classes.filter((name) => !next.includes(name)).forEach((name) => renderer.removeClass(element, name));\n next.filter((name) => !classes.includes(name)).forEach((name) => renderer.addClass(element, name));\n classes = next;\n applied = applyPropBag(renderer, element, applied, rest);\n });\n}\n","import { InjectionToken, makeEnvironmentProviders, type EnvironmentProviders } from '@angular/core';\nimport { DEFAULT_PREFETCH_TIMEOUT } from '@mintplayer/ui-core/transfer-state';\n\nexport interface MachineSsrOptions {\n /**\n * How long a server render waits for one component's prefetch (a `[fetch]`\n * datatable's first page with a `stateKey`), ms. On expiry the component\n * renders its loading state and the browser fetches. Default 3000 (#448 D6).\n */\n readonly prefetchTimeout?: number;\n}\n\nexport const MACHINE_SSR_OPTIONS = new InjectionToken<MachineSsrOptions>('mp-machine-ssr-options', {\n factory: () => ({ prefetchTimeout: DEFAULT_PREFETCH_TIMEOUT }),\n});\n\n/** App-level settings for components that load data during a server render. */\nexport function provideMachineSsr(options: MachineSsrOptions): EnvironmentProviders {\n return makeEnvironmentProviders([{ provide: MACHINE_SSR_OPTIONS, useValue: { prefetchTimeout: DEFAULT_PREFETCH_TIMEOUT, ...options } }]);\n}\n","import {\n afterNextRender,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n InjectionToken,\n makeStateKey,\n PendingTasks,\n PLATFORM_ID,\n signal,\n TransferState,\n untracked,\n type Provider,\n type Signal,\n type Type,\n} from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { BsIdService } from '@mintplayer/ng-bootstrap/a11y';\nimport { coreRuntime, type ComponentCore, type CoreBag, type CoreContext, type ViewArgs } from '@mintplayer/ui-core/component';\nimport { runPrefetch } from '@mintplayer/ui-core/transfer-state';\nimport { useHostProps } from './host-props';\nimport { MACHINE_SSR_OPTIONS } from './ssr';\n\nconst tokens = new WeakMap<CoreContext<unknown>, InjectionToken<Signal<unknown>>>();\n\n/** The Angular token for a core context: one per context object. */\nexport function coreContextToken<T>(context: CoreContext<T>): InjectionToken<Signal<T>> {\n let token = tokens.get(context as CoreContext<unknown>);\n if (!token) {\n token = new InjectionToken<Signal<unknown>>(`mp-core-context:${context.name}`);\n tokens.set(context as CoreContext<unknown>, token);\n }\n return token as InjectionToken<Signal<T>>;\n}\n\n/** Provides `context` to the component's content, read from the component's `useCore().provided`. */\nexport function provideCoreContext<T>(context: CoreContext<T>, component: Type<{ readonly provided: Signal<T> }>): Provider {\n return { provide: coreContextToken(context), useFactory: () => inject(component).provided };\n}\n\nexport interface UseCoreOptions<I, P> {\n readonly inputs: () => I;\n /** Prefix of the deterministic id, e.g. `bs-navbar`. */\n readonly idPrefix: string;\n /** The outputs by name; `api.emit` calls their `emit`. */\n readonly outputs?: Readonly<Record<string, { emit(detail: never): void }>>;\n /** The host element's bag, where the template root is the host (`mp-host`). Default: `core.host`. */\n readonly hostBag?: (props: P) => CoreBag | null | undefined;\n /** Two-way inputs (`model()`), by name; written back when the core changes the state of the same name. */\n readonly models?: Readonly<Record<string, { set(value: never): void }>>;\n}\n\nexport interface CoreHandle<P, PC> {\n /** The template's props. */\n readonly props: Signal<P>;\n /** The value this component provides to its content. */\n readonly provided: Signal<PC>;\n /** Runs a core method; does nothing before the first client render. */\n call(name: string, args: unknown[]): unknown;\n}\n\n/**\n * Host a `ComponentCore` in a generated Angular component (PRD #437 D10).\n * Call it in a field initializer. The template's root is the host element\n * where `hostBag` is given, else the host's first element child.\n */\nexport function useCore<I, S, P, E, C, PC, M>(core: ComponentCore<I, S, P, E, C, PC, M>, options: UseCoreOptions<I, P>): CoreHandle<P, PC> {\n const element = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n const consumed = core.consume ? inject(coreContextToken(core.consume), { optional: true, skipSelf: true }) : null;\n const id = inject(BsIdService).next(options.idPrefix);\n // Read once: a host attribute is static content, and Angular does not observe it.\n const label = element.getAttribute('aria-label');\n const hydrated = signal(false);\n // The state is seeded at its first read, in the first change detection: the\n // template's bindings have set the inputs by then. In the constructor they\n // have not, and the server would render a bound model input's default.\n const written = signal<S | null>(null);\n const server = isPlatformServer(inject(PLATFORM_ID));\n const transfer = core.transferKey ? inject(TransferState) : null;\n /** Server only: starts the prefetch with the first inputs that name one (a `transferKey`), however late they arrive. */\n let prefetchOnce: ((inputs: I) => void) | null = null;\n /** Client only: the transferred seed is still unread, because no inputs have named its key yet. */\n let transferArmed = !server && !!transfer;\n let seeded: S | null = null;\n const seed = (): S => {\n if (seeded) return seeded;\n const inputs = untracked(options.inputs);\n // The baseline the state was seeded from: inputs that change before attaching\n // (a form control writing its value) reach inputsChanged on attach.\n runtime.inputs(inputs);\n return (seeded = core.state ? core.state(inputs, server ? undefined : takeTransferred(inputs)) : ({} as S));\n };\n /**\n * The server's prefetched seed for these inputs, read once: a later instance with the same query fetches fresh (#448).\n * Inputs without a key (a `fetch` the consumer sets after an async step) leave it armed for the next delivery.\n */\n const takeTransferred = (inputs: I): unknown => {\n const key = transferArmed && transfer ? core.transferKey?.(inputs) : undefined;\n if (!transfer || !key) return undefined;\n transferArmed = false;\n const stateKey = makeStateKey<unknown>(key);\n if (!transfer.hasKey(stateKey)) return undefined;\n const value = transfer.get(stateKey, undefined);\n transfer.remove(stateKey);\n return value;\n };\n if (server && transfer && core.prefetch) {\n // Outside the state computed, which must not write signals: the first change\n // detection seeds the loading snapshot, this replaces it before serialization.\n const pendingTasks = inject(PendingTasks);\n const ssr = inject(MACHINE_SSR_OPTIONS);\n const abort = new AbortController();\n inject(DestroyRef).onDestroy(() => abort.abort());\n prefetchOnce = (inputs) => {\n void pendingTasks.run(async () => {\n const result = await runPrefetch(core, inputs, { timeout: ssr.prefetchTimeout, signal: abort.signal });\n if (!result || abort.signal.aborted) return;\n transfer.set(makeStateKey<unknown>(result.key), result.seed);\n written.set(core.state!(inputs, result.seed));\n });\n };\n }\n const state = computed(() => written() ?? seed());\n\n const args = computed<ViewArgs<I, S, C, E>>(() => ({\n inputs: options.inputs(),\n state: state(),\n id,\n hydrated: hydrated(),\n context: (consumed ? consumed() : core.consume?.defaultValue) as C,\n label,\n api: () => runtime.api,\n }));\n const props = computed(() => core.view(args()));\n const provided = computed(() => core.provide?.(args()) as PC);\n\n const hostBag = options.hostBag ?? core.host?.bind(core);\n if (hostBag) useHostProps(() => hostBag(props()));\n\n const runtime = coreRuntime(core, {\n inputs: () => untracked(options.inputs),\n state: () => untracked(state),\n setState: (next) => written.set(next),\n emit: (name, detail) => options.outputs?.[name]?.emit(detail as never),\n models: Object.keys(options.models ?? {}) as never,\n writeModel: (name, value) => options.models?.[name]?.set(value as never),\n });\n afterNextRender(() => {\n hydrated.set(true);\n const root = options.hostBag ? element : (element.firstElementChild as HTMLElement | null);\n if (root) runtime.attachTo(root);\n });\n effect(() => {\n const inputs = options.inputs();\n untracked(() => {\n // A seed whose key the first inputs did not name: applied before the inputs reach the core,\n // so its inputsChanged sees the seeded page as the answer rather than reloading it.\n if (transferArmed && core.adopt) {\n const late = takeTransferred(inputs);\n if (late !== undefined) written.set(core.adopt(state(), inputs, late));\n }\n runtime.inputs(inputs);\n // Armed until the inputs name a prefetch: a `fetch` or `stateKey` can arrive after the first delivery.\n if (prefetchOnce && core.transferKey?.(inputs)) {\n const start = prefetchOnce;\n prefetchOnce = null;\n start(inputs);\n }\n });\n });\n inject(DestroyRef).onDestroy(() => runtime.dispose());\n\n return { props, provided, call: (name, callArgs) => runtime.call(name, callArgs) };\n}\n","import { DestroyRef, Directive, effect, EmbeddedViewRef, inject, input, TemplateRef, ViewContainerRef } from '@angular/core';\n\n/**\n * Render an `<ng-template>` into another element, the compiled form of a view's\n * `<teleport :to>`. The twin of React's `createPortal`, Vue's `<Teleport>` and\n * Lit's `teleport()`. The view lives in this container, so change detection and\n * destruction follow the component, but its root nodes are moved into `to`, as\n * CDK's DomPortalOutlet does. Nothing renders while `to` is null, which is the\n * server's case. A core hands a target whose identity never changes (the\n * dock's per-pane hosts), so the content's state survives wherever the core\n * moves that target.\n *\n * <ng-template [mpTeleport]=\"view.paneHosts[pane]\">...</ng-template>\n */\n@Directive({ selector: '[mpTeleport]' })\nexport class MpTeleportDirective {\n readonly mpTeleport = input<Element | null | undefined>(null);\n\n private readonly template = inject(TemplateRef);\n private readonly container = inject(ViewContainerRef);\n private view: EmbeddedViewRef<unknown> | null = null;\n\n constructor() {\n effect(() => {\n const to = this.mpTeleport() ?? null;\n if (!to) {\n this.container.clear();\n this.view = null;\n return;\n }\n this.view ??= this.container.createEmbeddedView(this.template);\n // The view's nodes render in place first; detectChanges fills them before they move.\n this.view.detectChanges();\n this.view.rootNodes.filter((node: Node) => node.parentNode !== to).forEach((node: Node) => to.appendChild(node));\n });\n inject(DestroyRef).onDestroy(() => this.container.clear());\n }\n}\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n/**\n * Marks core-produced markup as trusted for `[innerHTML]`: the compiled form of\n * a view's `v-html`. The view contract is that `v-html` only ever carries markup\n * the core produced (flag and file-type SVGs, highlighted code rows), which the\n * React, Vue and Lit fronts insert as-is. Angular's sanitiser would instead drop\n * every `<svg>` — an empty flag, an icon-less file manager — so the Angular front\n * trusts it the same way.\n *\n * <span [innerHTML]=\"view.flagHtml | mpTrustedHtml\"></span>\n */\n@Pipe({ name: 'mpTrustedHtml' })\nexport class MpTrustedHtmlPipe implements PipeTransform {\n private readonly sanitizer = inject(DomSanitizer);\n\n transform(html: string | null | undefined): SafeHtml {\n return this.sanitizer.bypassSecurityTrustHtml(html ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;;;;;;;AAQG;AACG,SAAU,aAAa,CAAmB,KAAe,EAAE,UAAA,GAAyB,MAAM,CAAC,UAAU,CAAC,EAAA;AAC1G,IAAA,MAAM,KAAK,GAAG,MAAM,CAAI,KAAK,CAAC,QAAQ;8EAAC;AACvC,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,KAAK,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACtE,IAAA,UAAU,CAAC,SAAS,CAAC,WAAW,CAAC;AACjC,IAAA,OAAO,KAAK,CAAC,UAAU,EAAE;AAC3B;;ACZA;;;;AAIG;AACH,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AAEzG,SAAS,SAAS,CAAC,IAAY,EAAA;AAC7B,IAAA,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;AACnD;AAEA;;;;;;;;;;;AAWG;MAEU,gBAAgB,CAAA;AAO3B,IAAA,WAAA,GAAA;QANS,IAAA,CAAA,OAAO,GAAG,KAAK,CAA6B,IAAI;oFAAC;AAEzC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,aAAwB;AACrD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,S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vC;;;;;;;;;AASG;MAEU,iBAAiB,CAAA;AAD9B,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAKlD,IAAA;AAHC,IAAA,SAAS,CAAC,IAA+B,EAAA;QACvC,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,IAAI,EAAE,CAAC;IAC3D;8GALW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B,IAAI;mBAAC,EAAE,IAAI,EAAE,eAAe,EAAE;;;ACb/B;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "22.29.0",
4
+ "version": "22.30.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -415,7 +415,7 @@
415
415
  }
416
416
  },
417
417
  "peerDependencies": {
418
- "@mintplayer/ui-core": "^1.2.0",
418
+ "@mintplayer/ui-core": "^1.3.0",
419
419
  "@angular/common": "^22.0.0",
420
420
  "@angular/core": "^22.0.0",
421
421
  "@angular/cdk": "^22.0.0",
@@ -429,7 +429,7 @@
429
429
  "@mintplayer/ng-animations": "^22.1.1",
430
430
  "@mintplayer/pagination": "^2.5.1",
431
431
  "@mintplayer/ng-focus-on-load": "^22.1.2",
432
- "@mintplayer/web-components": "^3.2.0"
432
+ "@mintplayer/web-components": "^3.3.0"
433
433
  },
434
434
  "dependencies": {
435
435
  "tslib": "^2.3.0"
@@ -1,6 +1,7 @@
1
+ import * as _mintplayer_ui_core_transfer_state from '@mintplayer/ui-core/transfer-state';
1
2
  import * as _mintplayer_ui_core_datatable from '@mintplayer/ui-core/datatable';
2
- import { DatatableColumnDef, SortColumn, RowEventDetail, SelectionChangeEventDetail, TreeRowExpandDetail, DatatableLoadErrorDetail, FilterChangeDetail, RowRenderContext, FilterContext, DatatableMethods } from '@mintplayer/ui-core/datatable';
3
- export { ComparisonFilterChangeDetail, DEFAULT_DATATABLE_LABELS, DatatableColumnDef, DatatableDistincts, DatatableFetch, DatatableFetchRequest, DatatableFetchResponse, DatatableHrefFor, DatatableHrefState, DatatableLabels, DatatableLoadErrorDetail, DatatableReloadOptions, DatatableSelectionMode, DistinctValue, DistinctValues, DistinctsRequest, FilterChangeDetail, FilterContext, FilterInputType, FilterMode, FilterOperator, FilterSelection, RowEventDetail, RowKey, RowRenderContext, SelectionChangeEventDetail, SortColumn, SortDirection, TreeIdKey, TreeRowExpandDetail, TreeSelectionStrategy, ValuesFilterChangeDetail, cellText, computeNextSort, sortRows } from '@mintplayer/ui-core/datatable';
3
+ import { DatatableColumnDef, SortColumn, RowEventDetail, SelectionChangeEventDetail, TreeRowExpandDetail, DatatableLoadErrorDetail, RowRenderContext, FilterContext, DatatableMethods } from '@mintplayer/ui-core/datatable';
4
+ export { DEFAULT_DATATABLE_LABELS, DatatableColumnDef, DatatableDistincts, DatatableFetch, DatatableFetchRequest, DatatableFetchResponse, DatatableFilter, DatatableFilters, DatatableHrefFor, DatatableHrefState, DatatableLabels, DatatableLoadErrorDetail, DatatableReloadOptions, DatatableSelectionMode, DistinctValue, DistinctValues, DistinctsRequest, FilterContext, FilterInputType, FilterMode, FilterOperator, FilterSelection, RowEventDetail, RowKey, RowRenderContext, SelectionChangeEventDetail, SortColumn, SortDirection, TreeIdKey, TreeRowExpandDetail, TreeSelectionStrategy, cellText, computeNextSort, sortRows } from '@mintplayer/ui-core/datatable';
4
5
  import * as _angular_core from '@angular/core';
5
6
  import { TemplateRef, ElementRef } from '@angular/core';
6
7
 
@@ -106,8 +107,9 @@ declare class BsDatatableFilterDirective {
106
107
  *
107
108
  * Columns are data (`DatatableColumnDef`). Slots: `header {column}` (a header label),
108
109
  * `cell {row, column, rowIndex}` (one cell) and `row {row, rowIndex, ctx}` (all of a
109
- * row's data cells) and `filter {column, ctx}` (the panel of a column with `filterMode: 'custom'`). Two-way: `sortColumns`, `page`, `perPage`, `selectedIds`, `expandedIds`.
110
- * An `aria-label` names the table.
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
+ * An `aria-label` names the table. With `fetch`, filters are applied server-side; `stateKey` prefetches
112
+ * the first page during SSR and hands it to the client (#448).
111
113
  */
112
114
  declare class BsDatatableComponent {
113
115
  #private;
@@ -115,7 +117,7 @@ declare class BsDatatableComponent {
115
117
  readonly elementRef: ElementRef<HTMLElement>;
116
118
  readonly columns: _angular_core.InputSignal<DatatableColumnDef<unknown>[]>;
117
119
  readonly data: _angular_core.InputSignal<unknown[]>;
118
- readonly fetch: _angular_core.InputSignal<_mintplayer_ui_core_datatable.DatatableFetch | null>;
120
+ readonly fetch: _angular_core.InputSignal<_mintplayer_ui_core_datatable.DatatableFetch<any, any> | null>;
119
121
  readonly caption: _angular_core.InputSignal<string | null>;
120
122
  readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_datatable.DatatableLabels> | null>;
121
123
  readonly inputLabel: _angular_core.InputSignal<string | null>;
@@ -145,7 +147,10 @@ declare class BsDatatableComponent {
145
147
  readonly fill: _angular_core.InputSignalWithTransform<boolean, unknown>;
146
148
  readonly resizableColumns: _angular_core.InputSignalWithTransform<boolean, unknown>;
147
149
  readonly hrefFor: _angular_core.InputSignal<_mintplayer_ui_core_datatable.DatatableHrefFor | null>;
148
- readonly distincts: _angular_core.InputSignal<_mintplayer_ui_core_datatable.DatatableDistincts | null>;
150
+ readonly distincts: _angular_core.InputSignal<((request: _mintplayer_ui_core_datatable.DistinctsRequest<any>) => Promise<_mintplayer_ui_core_datatable.DistinctValues | null>) | null>;
151
+ readonly filters: _angular_core.ModelSignal<Readonly<Record<string, _mintplayer_ui_core_datatable.DatatableFilter>> | null>;
152
+ readonly fetchParams: _angular_core.InputSignal<_mintplayer_ui_core_transfer_state.JsonValue>;
153
+ readonly stateKey: _angular_core.InputSignal<string | null>;
149
154
  /** The sort, after the user changed it. */
150
155
  readonly sortcolumnschange: _angular_core.OutputEmitterRef<SortColumn[]>;
151
156
  /** The page, after the user changed it. */
@@ -170,8 +175,8 @@ declare class BsDatatableComponent {
170
175
  readonly rowcollapse: _angular_core.OutputEmitterRef<TreeRowExpandDetail<unknown>>;
171
176
  /** A `fetch` call rejected. */
172
177
  readonly loaderror: _angular_core.OutputEmitterRef<DatatableLoadErrorDetail>;
173
- /** A column's filter changed; the consumer decides which rows it removes. */
174
- readonly filterchange: _angular_core.OutputEmitterRef<FilterChangeDetail>;
178
+ /** The column filters, after the user changed them; `fetch` (or the consumer, over `data`) applies them. */
179
+ readonly filterschange: _angular_core.OutputEmitterRef<Readonly<Record<string, _mintplayer_ui_core_datatable.DatatableFilter>>>;
175
180
  private readonly headerSlot;
176
181
  private readonly cellSlot;
177
182
  private readonly rowSlot;
@@ -225,7 +230,7 @@ declare class BsDatatableComponent {
225
230
  /** Re-query `fetch` for the current sort, page and page size; `{ resetPage: true }` also returns to page 1. */
226
231
  reload(...args: Parameters<DatatableMethods['reload']>): ReturnType<DatatableMethods['reload']>;
227
232
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsDatatableComponent, never>;
228
- 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; }; }, { "sortColumns": "sortColumnsChange"; "page": "pageChange"; "perPage": "perPageChange"; "selectedIds": "selectedIdsChange"; "expandedIds": "expandedIdsChange"; "sortcolumnschange": "sortcolumnschange"; "pagechange": "pagechange"; "perpagechange": "perpagechange"; "selectedidschange": "selectedidschange"; "expandedidschange": "expandedidschange"; "rowclick": "rowclick"; "rowdblclick": "rowdblclick"; "rowcontextmenu": "rowcontextmenu"; "selectionchanged": "selectionchanged"; "rowexpand": "rowexpand"; "rowcollapse": "rowcollapse"; "loaderror": "loaderror"; "filterchange": "filterchange"; }, ["headerSlot", "cellSlot", "rowSlot", "filterSlot"], never, true, never>;
233
+ 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"; "sortcolumnschange": "sortcolumnschange"; "pagechange": "pagechange"; "perpagechange": "perpagechange"; "selectedidschange": "selectedidschange"; "expandedidschange": "expandedidschange"; "rowclick": "rowclick"; "rowdblclick": "rowdblclick"; "rowcontextmenu": "rowcontextmenu"; "selectionchanged": "selectionchanged"; "rowexpand": "rowexpand"; "rowcollapse": "rowcollapse"; "loaderror": "loaderror"; "filterschange": "filterschange"; }, ["headerSlot", "cellSlot", "rowSlot", "filterSlot"], never, true, never>;
229
234
  }
230
235
 
231
236
  export { BsDatatableCellDirective, BsDatatableComponent, BsDatatableFilterDirective, BsDatatableHeaderDirective, BsDatatableRowDirective };
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { DestroyRef, Signal, Renderer2, InjectionToken, Type, Provider, PipeTransform } from '@angular/core';
2
+ import { DestroyRef, Signal, Renderer2, InjectionToken, Type, Provider, EnvironmentProviders, PipeTransform } from '@angular/core';
3
3
  import { Store } from '@mintplayer/ui-core/store';
4
4
  import { CoreBag, CoreContext, ComponentCore } from '@mintplayer/ui-core/component';
5
5
  import { SafeHtml } from '@angular/platform-browser';
@@ -119,6 +119,18 @@ interface CoreHandle<P, PC> {
119
119
  */
120
120
  declare function useCore<I, S, P, E, C, PC, M>(core: ComponentCore<I, S, P, E, C, PC, M>, options: UseCoreOptions<I, P>): CoreHandle<P, PC>;
121
121
 
122
+ interface MachineSsrOptions {
123
+ /**
124
+ * How long a server render waits for one component's prefetch (a `[fetch]`
125
+ * datatable's first page with a `stateKey`), ms. On expiry the component
126
+ * renders its loading state and the browser fetches. Default 3000 (#448 D6).
127
+ */
128
+ readonly prefetchTimeout?: number;
129
+ }
130
+ declare const MACHINE_SSR_OPTIONS: InjectionToken<MachineSsrOptions>;
131
+ /** App-level settings for components that load data during a server render. */
132
+ declare function provideMachineSsr(options: MachineSsrOptions): EnvironmentProviders;
133
+
122
134
  /**
123
135
  * Render an `<ng-template>` into another element, the compiled form of a view's
124
136
  * `<teleport :to>`. The twin of React's `createPortal`, Vue's `<Teleport>` and
@@ -158,5 +170,5 @@ declare class MpTrustedHtmlPipe implements PipeTransform {
158
170
  static ɵpipe: i0.ɵɵPipeDeclaration<MpTrustedHtmlPipe, "mpTrustedHtml", true>;
159
171
  }
160
172
 
161
- export { MpPropsDirective, MpTeleportDirective, MpTrustedHtmlPipe, applyPropBag, coreContextToken, machineSignal, provideCoreContext, repairEventReplayBodyPaths, useCore, useHostProps, useScopedStyles };
162
- export type { CoreHandle, PropBag, UseCoreOptions };
173
+ export { MACHINE_SSR_OPTIONS, MpPropsDirective, MpTeleportDirective, MpTrustedHtmlPipe, applyPropBag, coreContextToken, machineSignal, provideCoreContext, provideMachineSsr, repairEventReplayBodyPaths, useCore, useHostProps, useScopedStyles };
174
+ export type { CoreHandle, MachineSsrOptions, PropBag, UseCoreOptions };