@stramien/angular 0.13.1 → 0.15.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.
@@ -354,9 +354,11 @@ class StramienGridComponent {
354
354
  maxHeight = input(undefined);
355
355
  stickyHeader = input(undefined);
356
356
  rowHeight = input(undefined);
357
+ fitColumns = input(undefined);
357
358
  getRowHeight = input(undefined);
358
359
  getRowHref = input(undefined);
359
360
  asyncTransactionWaitMillis = input(undefined);
361
+ rowsNearEndThreshold = input(undefined);
360
362
  headerHeight = input(undefined);
361
363
  // Unbound inputs stay undefined so the grid's own defaults (and values set through the
362
364
  // API, e.g. api.setTheme) are not overwritten when another input changes
@@ -387,6 +389,7 @@ class StramienGridComponent {
387
389
  treeNodeToggled = output();
388
390
  treeExpansionChanged = output();
389
391
  cellSelectionChanged = output();
392
+ rowsNearEnd = output();
390
393
  api = null;
391
394
  mountAdapter = new AngularMountAdapter(this.appRef, this.envInjector);
392
395
  /** Input-derived options as last sent to the grid; only differences are sent later. */
@@ -416,6 +419,7 @@ class StramienGridComponent {
416
419
  onTreeNodeToggled: (e) => this.treeNodeToggled.emit(e),
417
420
  onTreeExpansionChanged: (e) => this.treeExpansionChanged.emit(e),
418
421
  onCellSelectionChanged: (e) => this.cellSelectionChanged.emit(e),
422
+ onRowsNearEnd: (e) => this.rowsNearEnd.emit(e),
419
423
  };
420
424
  constructor() {
421
425
  afterNextRender(() => {
@@ -538,9 +542,11 @@ class StramienGridComponent {
538
542
  maxHeight: this.maxHeight(),
539
543
  stickyHeader: this.stickyHeader(),
540
544
  rowHeight: this.rowHeight(),
545
+ fitColumns: this.fitColumns(),
541
546
  getRowHeight: this.getRowHeight(),
542
547
  getRowHref: this.getRowHref(),
543
548
  asyncTransactionWaitMillis: this.asyncTransactionWaitMillis(),
549
+ rowsNearEndThreshold: this.rowsNearEndThreshold(),
544
550
  headerHeight: this.headerHeight(),
545
551
  theme: this.theme(),
546
552
  density: this.density(),
@@ -554,7 +560,7 @@ class StramienGridComponent {
554
560
  };
555
561
  }
556
562
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StramienGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
557
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: StramienGridComponent, isStandalone: true, selector: "stramien-grid", inputs: { rowData: { classPropertyName: "rowData", publicName: "rowData", isSignal: true, isRequired: false, transformFunction: null }, columnDefs: { classPropertyName: "columnDefs", publicName: "columnDefs", isSignal: true, isRequired: false, transformFunction: null }, defaultColDef: { classPropertyName: "defaultColDef", publicName: "defaultColDef", isSignal: true, isRequired: false, transformFunction: null }, columnTypes: { classPropertyName: "columnTypes", publicName: "columnTypes", isSignal: true, isRequired: false, transformFunction: null }, getRowId: { classPropertyName: "getRowId", publicName: "getRowId", isSignal: true, isRequired: false, transformFunction: null }, rowModelType: { classPropertyName: "rowModelType", publicName: "rowModelType", isSignal: true, isRequired: false, transformFunction: null }, serverSideDatasource: { classPropertyName: "serverSideDatasource", publicName: "serverSideDatasource", isSignal: true, isRequired: false, transformFunction: null }, masterDetail: { classPropertyName: "masterDetail", publicName: "masterDetail", isSignal: true, isRequired: false, transformFunction: null }, isRowMaster: { classPropertyName: "isRowMaster", publicName: "isRowMaster", isSignal: true, isRequired: false, transformFunction: null }, detailRowHeight: { classPropertyName: "detailRowHeight", publicName: "detailRowHeight", isSignal: true, isRequired: false, transformFunction: null }, detailCellRenderer: { classPropertyName: "detailCellRenderer", publicName: "detailCellRenderer", isSignal: true, isRequired: false, transformFunction: null }, expandOnRowClick: { classPropertyName: "expandOnRowClick", publicName: "expandOnRowClick", isSignal: true, isRequired: false, transformFunction: null }, treeData: { classPropertyName: "treeData", publicName: "treeData", isSignal: true, isRequired: false, transformFunction: null }, getDataPath: { classPropertyName: "getDataPath", publicName: "getDataPath", isSignal: true, isRequired: false, transformFunction: null }, treeColumnId: { classPropertyName: "treeColumnId", publicName: "treeColumnId", isSignal: true, isRequired: false, transformFunction: null }, groupDefaultExpanded: { classPropertyName: "groupDefaultExpanded", publicName: "groupDefaultExpanded", isSignal: true, isRequired: false, transformFunction: null }, treeShowChildCount: { classPropertyName: "treeShowChildCount", publicName: "treeShowChildCount", isSignal: true, isRequired: false, transformFunction: null }, treeIndentPx: { classPropertyName: "treeIndentPx", publicName: "treeIndentPx", isSignal: true, isRequired: false, transformFunction: null }, treeToggleLabel: { classPropertyName: "treeToggleLabel", publicName: "treeToggleLabel", isSignal: true, isRequired: false, transformFunction: null }, treeExpandAllControl: { classPropertyName: "treeExpandAllControl", publicName: "treeExpandAllControl", isSignal: true, isRequired: false, transformFunction: null }, groupHideGroupedColumns: { classPropertyName: "groupHideGroupedColumns", publicName: "groupHideGroupedColumns", isSignal: true, isRequired: false, transformFunction: null }, pinnedTopRowData: { classPropertyName: "pinnedTopRowData", publicName: "pinnedTopRowData", isSignal: true, isRequired: false, transformFunction: null }, pinnedBottomRowData: { classPropertyName: "pinnedBottomRowData", publicName: "pinnedBottomRowData", isSignal: true, isRequired: false, transformFunction: null }, pinnedBottomSummary: { classPropertyName: "pinnedBottomSummary", publicName: "pinnedBottomSummary", isSignal: true, isRequired: false, transformFunction: null }, globalSearch: { classPropertyName: "globalSearch", publicName: "globalSearch", isSignal: true, isRequired: false, transformFunction: null }, quickFilterText: { classPropertyName: "quickFilterText", publicName: "quickFilterText", isSignal: true, isRequired: false, transformFunction: null }, columnChooser: { classPropertyName: "columnChooser", publicName: "columnChooser", isSignal: true, isRequired: false, transformFunction: null }, csvExport: { classPropertyName: "csvExport", publicName: "csvExport", isSignal: true, isRequired: false, transformFunction: null }, rowSelection: { classPropertyName: "rowSelection", publicName: "rowSelection", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, paginationPageSize: { classPropertyName: "paginationPageSize", publicName: "paginationPageSize", isSignal: true, isRequired: false, transformFunction: null }, paginationPageSizeSelector: { classPropertyName: "paginationPageSizeSelector", publicName: "paginationPageSizeSelector", isSignal: true, isRequired: false, transformFunction: null }, virtualization: { classPropertyName: "virtualization", publicName: "virtualization", isSignal: true, isRequired: false, transformFunction: null }, responsivePinning: { classPropertyName: "responsivePinning", publicName: "responsivePinning", isSignal: true, isRequired: false, transformFunction: null }, cellEditors: { classPropertyName: "cellEditors", publicName: "cellEditors", isSignal: true, isRequired: false, transformFunction: null }, singleClickEdit: { classPropertyName: "singleClickEdit", publicName: "singleClickEdit", isSignal: true, isRequired: false, transformFunction: null }, undoRedoCellEditing: { classPropertyName: "undoRedoCellEditing", publicName: "undoRedoCellEditing", isSignal: true, isRequired: false, transformFunction: null }, undoRedoCellEditingLimit: { classPropertyName: "undoRedoCellEditingLimit", publicName: "undoRedoCellEditingLimit", isSignal: true, isRequired: false, transformFunction: null }, initialState: { classPropertyName: "initialState", publicName: "initialState", isSignal: true, isRequired: false, transformFunction: null }, initialSortModel: { classPropertyName: "initialSortModel", publicName: "initialSortModel", isSignal: true, isRequired: false, transformFunction: null }, initialFilterModel: { classPropertyName: "initialFilterModel", publicName: "initialFilterModel", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, stickyHeader: { classPropertyName: "stickyHeader", publicName: "stickyHeader", isSignal: true, isRequired: false, transformFunction: null }, rowHeight: { classPropertyName: "rowHeight", publicName: "rowHeight", isSignal: true, isRequired: false, transformFunction: null }, getRowHeight: { classPropertyName: "getRowHeight", publicName: "getRowHeight", isSignal: true, isRequired: false, transformFunction: null }, getRowHref: { classPropertyName: "getRowHref", publicName: "getRowHref", isSignal: true, isRequired: false, transformFunction: null }, asyncTransactionWaitMillis: { classPropertyName: "asyncTransactionWaitMillis", publicName: "asyncTransactionWaitMillis", isSignal: true, isRequired: false, transformFunction: null }, headerHeight: { classPropertyName: "headerHeight", publicName: "headerHeight", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, enableCellChangeFlash: { classPropertyName: "enableCellChangeFlash", publicName: "enableCellChangeFlash", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, noRowsMessage: { classPropertyName: "noRowsMessage", publicName: "noRowsMessage", isSignal: true, isRequired: false, transformFunction: null }, noMatchingRowsMessage: { classPropertyName: "noMatchingRowsMessage", publicName: "noMatchingRowsMessage", isSignal: true, isRequired: false, transformFunction: null }, localeText: { classPropertyName: "localeText", publicName: "localeText", isSignal: true, isRequired: false, transformFunction: null }, cellSelection: { classPropertyName: "cellSelection", publicName: "cellSelection", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { gridReady: "gridReady", rowClicked: "rowClicked", cellClicked: "cellClicked", cellValueChanged: "cellValueChanged", selectionChanged: "selectionChanged", sortChanged: "sortChanged", filterChanged: "filterChanged", columnResized: "columnResized", columnMoved: "columnMoved", columnPinned: "columnPinned", columnVisibilityChanged: "columnVisibilityChanged", paginationChanged: "paginationChanged", stateChanged: "stateChanged", rowDetailToggled: "rowDetailToggled", treeNodeToggled: "treeNodeToggled", treeExpansionChanged: "treeExpansionChanged", cellSelectionChanged: "cellSelectionChanged" }, host: { properties: { "class.st-grid-content-height": "heightMode() === 'content'" } }, queries: [{ propertyName: "cellTemplates", predicate: StCellDirective, isSignal: true }, { propertyName: "editorTemplates", predicate: StEditorDirective, isSignal: true }, { propertyName: "detailTemplate", first: true, predicate: StDetailDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "gridHost", first: true, predicate: ["gridHost"], descendants: true, isSignal: true }], ngImport: i0, template: `<div #gridHost class="st-grid-angular-host"></div>`, isInline: true, styles: ["@layer stramien.base{:host{display:block;width:100%;height:100%}.st-grid-angular-host{width:100%;height:100%}:host(.st-grid-content-height),:host(.st-grid-content-height) .st-grid-angular-host{height:auto}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
563
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: StramienGridComponent, isStandalone: true, selector: "stramien-grid", inputs: { rowData: { classPropertyName: "rowData", publicName: "rowData", isSignal: true, isRequired: false, transformFunction: null }, columnDefs: { classPropertyName: "columnDefs", publicName: "columnDefs", isSignal: true, isRequired: false, transformFunction: null }, defaultColDef: { classPropertyName: "defaultColDef", publicName: "defaultColDef", isSignal: true, isRequired: false, transformFunction: null }, columnTypes: { classPropertyName: "columnTypes", publicName: "columnTypes", isSignal: true, isRequired: false, transformFunction: null }, getRowId: { classPropertyName: "getRowId", publicName: "getRowId", isSignal: true, isRequired: false, transformFunction: null }, rowModelType: { classPropertyName: "rowModelType", publicName: "rowModelType", isSignal: true, isRequired: false, transformFunction: null }, serverSideDatasource: { classPropertyName: "serverSideDatasource", publicName: "serverSideDatasource", isSignal: true, isRequired: false, transformFunction: null }, masterDetail: { classPropertyName: "masterDetail", publicName: "masterDetail", isSignal: true, isRequired: false, transformFunction: null }, isRowMaster: { classPropertyName: "isRowMaster", publicName: "isRowMaster", isSignal: true, isRequired: false, transformFunction: null }, detailRowHeight: { classPropertyName: "detailRowHeight", publicName: "detailRowHeight", isSignal: true, isRequired: false, transformFunction: null }, detailCellRenderer: { classPropertyName: "detailCellRenderer", publicName: "detailCellRenderer", isSignal: true, isRequired: false, transformFunction: null }, expandOnRowClick: { classPropertyName: "expandOnRowClick", publicName: "expandOnRowClick", isSignal: true, isRequired: false, transformFunction: null }, treeData: { classPropertyName: "treeData", publicName: "treeData", isSignal: true, isRequired: false, transformFunction: null }, getDataPath: { classPropertyName: "getDataPath", publicName: "getDataPath", isSignal: true, isRequired: false, transformFunction: null }, treeColumnId: { classPropertyName: "treeColumnId", publicName: "treeColumnId", isSignal: true, isRequired: false, transformFunction: null }, groupDefaultExpanded: { classPropertyName: "groupDefaultExpanded", publicName: "groupDefaultExpanded", isSignal: true, isRequired: false, transformFunction: null }, treeShowChildCount: { classPropertyName: "treeShowChildCount", publicName: "treeShowChildCount", isSignal: true, isRequired: false, transformFunction: null }, treeIndentPx: { classPropertyName: "treeIndentPx", publicName: "treeIndentPx", isSignal: true, isRequired: false, transformFunction: null }, treeToggleLabel: { classPropertyName: "treeToggleLabel", publicName: "treeToggleLabel", isSignal: true, isRequired: false, transformFunction: null }, treeExpandAllControl: { classPropertyName: "treeExpandAllControl", publicName: "treeExpandAllControl", isSignal: true, isRequired: false, transformFunction: null }, groupHideGroupedColumns: { classPropertyName: "groupHideGroupedColumns", publicName: "groupHideGroupedColumns", isSignal: true, isRequired: false, transformFunction: null }, pinnedTopRowData: { classPropertyName: "pinnedTopRowData", publicName: "pinnedTopRowData", isSignal: true, isRequired: false, transformFunction: null }, pinnedBottomRowData: { classPropertyName: "pinnedBottomRowData", publicName: "pinnedBottomRowData", isSignal: true, isRequired: false, transformFunction: null }, pinnedBottomSummary: { classPropertyName: "pinnedBottomSummary", publicName: "pinnedBottomSummary", isSignal: true, isRequired: false, transformFunction: null }, globalSearch: { classPropertyName: "globalSearch", publicName: "globalSearch", isSignal: true, isRequired: false, transformFunction: null }, quickFilterText: { classPropertyName: "quickFilterText", publicName: "quickFilterText", isSignal: true, isRequired: false, transformFunction: null }, columnChooser: { classPropertyName: "columnChooser", publicName: "columnChooser", isSignal: true, isRequired: false, transformFunction: null }, csvExport: { classPropertyName: "csvExport", publicName: "csvExport", isSignal: true, isRequired: false, transformFunction: null }, rowSelection: { classPropertyName: "rowSelection", publicName: "rowSelection", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, paginationPageSize: { classPropertyName: "paginationPageSize", publicName: "paginationPageSize", isSignal: true, isRequired: false, transformFunction: null }, paginationPageSizeSelector: { classPropertyName: "paginationPageSizeSelector", publicName: "paginationPageSizeSelector", isSignal: true, isRequired: false, transformFunction: null }, virtualization: { classPropertyName: "virtualization", publicName: "virtualization", isSignal: true, isRequired: false, transformFunction: null }, responsivePinning: { classPropertyName: "responsivePinning", publicName: "responsivePinning", isSignal: true, isRequired: false, transformFunction: null }, cellEditors: { classPropertyName: "cellEditors", publicName: "cellEditors", isSignal: true, isRequired: false, transformFunction: null }, singleClickEdit: { classPropertyName: "singleClickEdit", publicName: "singleClickEdit", isSignal: true, isRequired: false, transformFunction: null }, undoRedoCellEditing: { classPropertyName: "undoRedoCellEditing", publicName: "undoRedoCellEditing", isSignal: true, isRequired: false, transformFunction: null }, undoRedoCellEditingLimit: { classPropertyName: "undoRedoCellEditingLimit", publicName: "undoRedoCellEditingLimit", isSignal: true, isRequired: false, transformFunction: null }, initialState: { classPropertyName: "initialState", publicName: "initialState", isSignal: true, isRequired: false, transformFunction: null }, initialSortModel: { classPropertyName: "initialSortModel", publicName: "initialSortModel", isSignal: true, isRequired: false, transformFunction: null }, initialFilterModel: { classPropertyName: "initialFilterModel", publicName: "initialFilterModel", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, stickyHeader: { classPropertyName: "stickyHeader", publicName: "stickyHeader", isSignal: true, isRequired: false, transformFunction: null }, rowHeight: { classPropertyName: "rowHeight", publicName: "rowHeight", isSignal: true, isRequired: false, transformFunction: null }, fitColumns: { classPropertyName: "fitColumns", publicName: "fitColumns", isSignal: true, isRequired: false, transformFunction: null }, getRowHeight: { classPropertyName: "getRowHeight", publicName: "getRowHeight", isSignal: true, isRequired: false, transformFunction: null }, getRowHref: { classPropertyName: "getRowHref", publicName: "getRowHref", isSignal: true, isRequired: false, transformFunction: null }, asyncTransactionWaitMillis: { classPropertyName: "asyncTransactionWaitMillis", publicName: "asyncTransactionWaitMillis", isSignal: true, isRequired: false, transformFunction: null }, rowsNearEndThreshold: { classPropertyName: "rowsNearEndThreshold", publicName: "rowsNearEndThreshold", isSignal: true, isRequired: false, transformFunction: null }, headerHeight: { classPropertyName: "headerHeight", publicName: "headerHeight", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, enableCellChangeFlash: { classPropertyName: "enableCellChangeFlash", publicName: "enableCellChangeFlash", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, noRowsMessage: { classPropertyName: "noRowsMessage", publicName: "noRowsMessage", isSignal: true, isRequired: false, transformFunction: null }, noMatchingRowsMessage: { classPropertyName: "noMatchingRowsMessage", publicName: "noMatchingRowsMessage", isSignal: true, isRequired: false, transformFunction: null }, localeText: { classPropertyName: "localeText", publicName: "localeText", isSignal: true, isRequired: false, transformFunction: null }, cellSelection: { classPropertyName: "cellSelection", publicName: "cellSelection", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { gridReady: "gridReady", rowClicked: "rowClicked", cellClicked: "cellClicked", cellValueChanged: "cellValueChanged", selectionChanged: "selectionChanged", sortChanged: "sortChanged", filterChanged: "filterChanged", columnResized: "columnResized", columnMoved: "columnMoved", columnPinned: "columnPinned", columnVisibilityChanged: "columnVisibilityChanged", paginationChanged: "paginationChanged", stateChanged: "stateChanged", rowDetailToggled: "rowDetailToggled", treeNodeToggled: "treeNodeToggled", treeExpansionChanged: "treeExpansionChanged", cellSelectionChanged: "cellSelectionChanged", rowsNearEnd: "rowsNearEnd" }, host: { properties: { "class.st-grid-content-height": "heightMode() === 'content'" } }, queries: [{ propertyName: "cellTemplates", predicate: StCellDirective, isSignal: true }, { propertyName: "editorTemplates", predicate: StEditorDirective, isSignal: true }, { propertyName: "detailTemplate", first: true, predicate: StDetailDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "gridHost", first: true, predicate: ["gridHost"], descendants: true, isSignal: true }], ngImport: i0, template: `<div #gridHost class="st-grid-angular-host"></div>`, isInline: true, styles: ["@layer stramien.base{:host{display:block;width:100%;height:100%}.st-grid-angular-host{width:100%;height:100%}:host(.st-grid-content-height),:host(.st-grid-content-height) .st-grid-angular-host{height:auto}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
558
564
  }
559
565
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: StramienGridComponent, decorators: [{
560
566
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"stramien-angular.mjs","sources":["../../src/angular-mount-adapter.ts","../../src/st-cell.directive.ts","../../src/st-detail.directive.ts","../../src/st-editor.directive.ts","../../src/st-grid.component.ts","../../src/stramien-angular.ts"],"sourcesContent":["import {\n type ApplicationRef,\n ChangeDetectorRef,\n type ComponentRef,\n createComponent,\n type EnvironmentInjector,\n reflectComponentType,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport type {\n CellEditorComponentParams,\n CellRendererParams,\n ComponentMountAdapter,\n DetailCellRendererParams,\n MountedComponentHandle,\n} from '@stramien/core';\nimport type { StCellTemplateContext } from './st-cell.directive';\nimport type { StDetailTemplateContext } from './st-detail.directive';\nimport type { StEditorTemplateContext } from './st-editor.directive';\n\nexport interface StCellRendererComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellRendererParams<TData, TValue>;\n}\n\n/** A component used as a custom cell editor receives the editor params as `params`. */\nexport interface StCellEditorComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellEditorComponentParams<TData, TValue>;\n}\n\nexport interface StDetailRendererComponent<TData = Record<string, unknown>> {\n params?: DetailCellRendererParams<TData>;\n}\n\nfunction isAngularComponentClass(value: unknown): value is Type<unknown> {\n return typeof value === 'function' && 'ɵcmp' in value;\n}\n\n/**\n * Passes `params` to a mounted component. Uses setInput when the component declares a\n * `params` input (signal or decorator); otherwise assigns the plain property. setInput on\n * an undeclared input does not throw (it only logs NG0303 in dev mode), so it cannot be\n * used as a try/catch probe.\n */\nfunction setParams(compRef: ComponentRef<unknown>, renderer: Type<unknown>, params: unknown): void {\n const declaresInput = reflectComponentType(renderer)?.inputs.some(\n (input) => input.templateName === 'params' || input.propName === 'params',\n );\n if (declaresInput) {\n compRef.setInput('params', params);\n } else {\n (compRef.instance as { params?: unknown }).params = params;\n // A plain field assignment does not mark an OnPush component dirty (setInput does)\n compRef.injector.get(ChangeDetectorRef).markForCheck();\n }\n}\n\nexport class AngularMountAdapter implements ComponentMountAdapter {\n private templateMap = new Map<string, TemplateRef<StCellTemplateContext<any, any>>>();\n private detailTemplate: TemplateRef<StDetailTemplateContext<any>> | null = null;\n private editorTemplateMap = new Map<string, TemplateRef<StEditorTemplateContext<any, any>>>();\n\n constructor(\n private readonly appRef: ApplicationRef,\n private readonly envInjector: EnvironmentInjector,\n ) {}\n\n setTemplates(map: Map<string, TemplateRef<StCellTemplateContext<any, any>>>): void {\n this.templateMap = map;\n }\n\n setEditorTemplates(map: Map<string, TemplateRef<StEditorTemplateContext<any, any>>>): void {\n this.editorTemplateMap = map;\n }\n\n canMountEditor(editor: unknown, name: string | undefined): boolean {\n if (name && this.editorTemplateMap.has(name)) return true;\n return isAngularComponentClass(editor);\n }\n\n mountEditor(\n container: HTMLElement,\n editor: unknown,\n params: CellEditorComponentParams<any, any>,\n ): MountedComponentHandle {\n const templateRef = params.editorName\n ? this.editorTemplateMap.get(params.editorName)\n : undefined;\n if (templateRef) {\n const context: StEditorTemplateContext<any, any> = {\n $implicit: params,\n params,\n value: params.value,\n data: params.data,\n node: params.node,\n colDef: params.colDef,\n api: params.api,\n editorParams: params.editorParams,\n setValue: params.setValue,\n stopEditing: params.stopEditing,\n };\n const viewRef = templateRef.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n return {\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(editor)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n const compRef = createComponent(editor, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n setParams(compRef, editor, params);\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n return {\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n\n setDetailTemplate(tpl: TemplateRef<StDetailTemplateContext<any>> | null): void {\n this.detailTemplate = tpl;\n }\n\n canMount(renderer: unknown, colId: string): boolean {\n if (this.templateMap.has(colId)) return true;\n return isAngularComponentClass(renderer);\n }\n\n canMountDetail(renderer: unknown): boolean {\n if (this.detailTemplate) return true;\n return isAngularComponentClass(renderer);\n }\n\n mountDetail(\n container: HTMLElement,\n renderer: unknown,\n params: DetailCellRendererParams<any>,\n ): MountedComponentHandle {\n if (this.detailTemplate) {\n const context: StDetailTemplateContext<any> = {\n $implicit: params.data,\n data: params.data,\n node: params.node,\n api: params.api,\n };\n const viewRef = this.detailTemplate.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n\n return {\n update: (next) => {\n const p = next as unknown as DetailCellRendererParams<any>;\n Object.assign(viewRef.context, { $implicit: p.data, data: p.data, node: p.node });\n viewRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(renderer)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n\n const compRef = createComponent(renderer, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n\n setParams(compRef, renderer, params);\n\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n\n return {\n update: (next) => {\n setParams(compRef, renderer, next);\n compRef.changeDetectorRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n\n mount(\n container: HTMLElement,\n renderer: unknown,\n params: CellRendererParams<any, any>,\n ): MountedComponentHandle {\n const templateRef = this.templateMap.get(params.colDef.colId);\n if (templateRef) {\n const context: StCellTemplateContext<any, any> = {\n $implicit: params.value,\n value: params.value,\n formattedValue: params.formattedValue,\n subtitle: params.subtitle ?? '',\n data: params.data,\n node: params.node,\n colDef: params.colDef,\n api: params.api,\n };\n const viewRef = templateRef.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n\n return {\n update: (next) => {\n Object.assign(viewRef.context, {\n $implicit: next.value,\n value: next.value,\n formattedValue: next.formattedValue,\n subtitle: next.subtitle ?? '',\n data: next.data,\n node: next.node,\n });\n viewRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(renderer)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n\n const compRef = createComponent(renderer, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n\n setParams(compRef, renderer, params);\n\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n\n return {\n update: (next) => {\n setParams(compRef, renderer, next);\n compRef.changeDetectorRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, ResolvedColDef, RowNode } from '@stramien/core';\n\nexport interface StCellTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n $implicit: TValue;\n value: TValue;\n formattedValue: string;\n /** The column's `cellSubtitle` for this cell (`''` when it has none), e.g. `let-sub=\"subtitle\"`. */\n subtitle: string;\n data: TData;\n node: RowNode<TData>;\n colDef: ResolvedColDef<TData, TValue>;\n api: GridApi<TData>;\n}\n\n@Directive({\n selector: 'ng-template[stCell]',\n standalone: true,\n})\nexport class StCellDirective<TData = Record<string, unknown>, TValue = unknown> {\n readonly colId = input.required<string>({ alias: 'stCell' });\n /**\n * Optional type-inference binding: `[stCellRows]=\"rowData()\"` types `let-row=\"data\"`\n * (and `node`) as the grid's row type in strict templates.\n */\n readonly rows = input<readonly TData[] | undefined>(undefined, { alias: 'stCellRows' });\n readonly templateRef = inject(TemplateRef<StCellTemplateContext<TData, TValue>>);\n\n static ngTemplateContextGuard<TData, TValue>(\n _dir: StCellDirective<TData, TValue>,\n ctx: unknown,\n ): ctx is StCellTemplateContext<TData, TValue> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, RowNode } from '@stramien/core';\n\nexport interface StDetailTemplateContext<TData = Record<string, unknown>> {\n $implicit: TData;\n data: TData;\n node: RowNode<TData>;\n api: GridApi<TData>;\n}\n\n@Directive({\n selector: 'ng-template[stDetail]',\n standalone: true,\n})\nexport class StDetailDirective<TData = Record<string, unknown>> {\n /**\n * Optional type-inference binding: pass `[stDetail]=\"rowData()\"` to get full\n * strict TypeScript inference on `let-row` inside Angular templates.\n */\n readonly stDetail = input<readonly TData[] | TData | ''>('');\n readonly templateRef = inject(TemplateRef<StDetailTemplateContext<TData>>);\n\n static ngTemplateContextGuard<TData>(\n _dir: StDetailDirective<TData>,\n ctx: unknown,\n ): ctx is StDetailTemplateContext<TData> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type {\n CellEditorComponentParams,\n CellEditorParams,\n GridApi,\n ResolvedColDef,\n RowNode,\n} from '@stramien/core';\n\nexport interface StEditorTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n /** All editor params (`let-params`). */\n $implicit: CellEditorComponentParams<TData, TValue>;\n params: CellEditorComponentParams<TData, TValue>;\n /** The value when editing started. */\n value: TValue;\n data: TData;\n node: RowNode<TData>;\n colDef: ResolvedColDef<TData, TValue>;\n api: GridApi<TData>;\n editorParams: CellEditorParams;\n /** Sets the value that will be committed (typed; no valueParser runs). */\n setValue: (value: TValue) => void;\n /** Commits (or cancels) the edit. Returns false when the validator rejected the value. */\n stopEditing: (cancel?: boolean) => boolean;\n}\n\n/**\n * Registers a custom cell editor under a name, for use as `cellEditor: 'name'` (also from\n * the function form of `cellEditor`):\n *\n * ```html\n * <ng-template stEditor=\"tags\" let-p>\n * <app-tags-input [value]=\"p.value\" (valueChange)=\"p.setValue($event)\" />\n * </ng-template>\n * ```\n *\n * `Enter` commits, `Escape` cancels and `Tab` commits and moves on; an editor that needs\n * one of those keys itself stops the key event's propagation. Focus leaving the cell\n * commits too.\n */\n@Directive({\n selector: 'ng-template[stEditor]',\n standalone: true,\n})\nexport class StEditorDirective {\n readonly name = input.required<string>({ alias: 'stEditor' });\n readonly templateRef = inject(TemplateRef<StEditorTemplateContext<any, any>>);\n\n /**\n * An editor template can serve rows and values of any type (the function form of\n * `cellEditor` picks it per row), so its context is loosely typed: `p.value` binds to any\n * input without `$any()`. Use a component in `cellEditors` for a fully typed editor.\n */\n static ngTemplateContextGuard(\n _dir: StEditorDirective,\n ctx: unknown,\n ): ctx is StEditorTemplateContext<any, any> {\n return true;\n }\n}\n","import {\n ApplicationRef,\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n contentChild,\n contentChildren,\n DestroyRef,\n type ElementRef,\n EnvironmentInjector,\n effect,\n inject,\n input,\n output,\n type TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n type CellClickedEvent,\n type CellSelectionChangedEvent,\n type CellValueChangedEvent,\n type ColDef,\n type ColumnDefItem,\n type ColumnMovedEvent,\n type ColumnPinnedEvent,\n type ColumnResizedEvent,\n type ColumnTypeDef,\n type ColumnVisibilityChangedEvent,\n type CsvExportParams,\n createGrid,\n type DetailCellRenderer,\n type FilterChangedEvent,\n type FilterModel,\n type GlobalSearchConfig,\n type GridApi,\n type GridDensity,\n type GridOptions,\n type GridReadyEvent,\n type GridState,\n type GridThemeMode,\n type PaginationChangedEvent,\n type PinnedSummaryConfig,\n type ResponsivePinningConfig,\n type RowClickedEvent,\n type RowDetailToggledEvent,\n type RowModelType,\n type RowNode,\n type RowSelectionConfig,\n type SelectionChangedEvent,\n type ServerSideDatasource,\n type SortChangedEvent,\n type SortModelItem,\n type StateChangedEvent,\n type TreeExpansionChangedEvent,\n type TreeNodeToggledEvent,\n type VirtualizationConfig,\n} from '@stramien/core';\nimport { AngularMountAdapter } from './angular-mount-adapter';\nimport { StCellDirective, type StCellTemplateContext } from './st-cell.directive';\nimport { StDetailDirective } from './st-detail.directive';\nimport { StEditorDirective, type StEditorTemplateContext } from './st-editor.directive';\n\n@Component({\n selector: 'stramien-grid',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `<div #gridHost class=\"st-grid-angular-host\"></div>`,\n // Content height: the host follows the grid instead of filling its container\n host: { '[class.st-grid-content-height]': \"heightMode() === 'content'\" },\n // In a cascade layer, so a height the app gives <stramien-grid> (unlayered CSS) always wins,\n // although component styles are added after the app's\n styles: `\n @layer stramien.base {\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .st-grid-angular-host {\n width: 100%;\n height: 100%;\n }\n :host(.st-grid-content-height),\n :host(.st-grid-content-height) .st-grid-angular-host {\n height: auto;\n }\n }\n `,\n})\nexport class StramienGridComponent<TData = Record<string, unknown>> {\n private readonly appRef = inject(ApplicationRef);\n private readonly envInjector = inject(EnvironmentInjector);\n private readonly destroyRef = inject(DestroyRef);\n\n private readonly gridHost = viewChild.required<ElementRef<HTMLElement>>('gridHost');\n private readonly cellTemplates = contentChildren(StCellDirective);\n private readonly editorTemplates = contentChildren(StEditorDirective);\n private readonly detailTemplate = contentChild(StDetailDirective);\n\n // Inputs\n readonly rowData = input<TData[]>([]);\n readonly columnDefs = input<ColumnDefItem<TData>[]>([]);\n readonly defaultColDef = input<Partial<ColDef<TData, any>> | undefined>(undefined);\n readonly columnTypes = input<Record<string, ColumnTypeDef<TData>> | undefined>(undefined);\n readonly getRowId = input<((params: { data: TData; index: number }) => string) | undefined>(\n undefined,\n );\n readonly rowModelType = input<RowModelType | undefined>(undefined);\n readonly serverSideDatasource = input<ServerSideDatasource<TData> | null | undefined>(undefined);\n readonly masterDetail = input<boolean | undefined>(undefined);\n readonly isRowMaster = input<((data: TData, node: RowNode<TData>) => boolean) | undefined>(\n undefined,\n );\n readonly detailRowHeight = input<number | undefined>(undefined);\n readonly detailCellRenderer = input<DetailCellRenderer<TData> | undefined>(undefined);\n readonly expandOnRowClick = input<boolean | undefined>(undefined);\n readonly treeData = input<boolean | undefined>(undefined);\n readonly getDataPath = input<((data: TData) => string[]) | undefined>(undefined);\n readonly treeColumnId = input<string | undefined>(undefined);\n readonly groupDefaultExpanded = input<number | undefined>(undefined);\n readonly treeShowChildCount = input<boolean | undefined>(undefined);\n readonly treeIndentPx = input<number | undefined>(undefined);\n readonly treeToggleLabel = input<GridOptions<TData>['treeToggleLabel']>(undefined);\n readonly treeExpandAllControl = input<GridOptions<TData>['treeExpandAllControl']>(undefined);\n readonly groupHideGroupedColumns = input<boolean | undefined>(undefined);\n readonly pinnedTopRowData = input<TData[] | undefined>(undefined);\n readonly pinnedBottomRowData = input<TData[] | undefined>(undefined);\n readonly pinnedBottomSummary = input<boolean | PinnedSummaryConfig | undefined>(undefined);\n readonly globalSearch = input<boolean | GlobalSearchConfig | undefined>(undefined);\n readonly quickFilterText = input<string | undefined>(undefined);\n readonly columnChooser = input<boolean | undefined>(undefined);\n readonly csvExport = input<boolean | CsvExportParams | undefined>(undefined);\n readonly rowSelection = input<'single' | 'multiple' | RowSelectionConfig<TData> | undefined>(\n undefined,\n );\n readonly pagination = input<boolean | undefined>(undefined);\n readonly paginationPageSize = input<number | undefined>(undefined);\n readonly paginationPageSizeSelector = input<number[] | false | undefined>(undefined);\n readonly virtualization = input<boolean | VirtualizationConfig | undefined>(undefined);\n readonly responsivePinning = input<boolean | ResponsivePinningConfig | undefined>(undefined);\n /** Custom cell editors by name (Angular components); see also `<ng-template stEditor>`. */\n readonly cellEditors = input<Record<string, unknown> | undefined>(undefined);\n readonly singleClickEdit = input<boolean | undefined>(undefined);\n readonly undoRedoCellEditing = input<boolean | undefined>(undefined);\n readonly undoRedoCellEditingLimit = input<number | undefined>(undefined);\n readonly initialState = input<Partial<GridState> | undefined>(undefined);\n readonly initialSortModel = input<SortModelItem[] | undefined>(undefined);\n readonly initialFilterModel = input<FilterModel | undefined>(undefined);\n readonly heightMode = input<'fill' | 'content' | undefined>(undefined);\n readonly maxHeight = input<string | undefined>(undefined);\n readonly stickyHeader = input<boolean | { top?: string } | undefined>(undefined);\n readonly rowHeight = input<number | undefined>(undefined);\n readonly getRowHeight = input<GridOptions<TData>['getRowHeight']>(undefined);\n readonly getRowHref = input<GridOptions<TData>['getRowHref']>(undefined);\n readonly asyncTransactionWaitMillis = input<number | undefined>(undefined);\n readonly headerHeight = input<number | undefined>(undefined);\n // Unbound inputs stay undefined so the grid's own defaults (and values set through the\n // API, e.g. api.setTheme) are not overwritten when another input changes\n readonly theme = input<GridThemeMode | undefined>(undefined);\n readonly density = input<GridDensity | undefined>(undefined);\n readonly enableCellChangeFlash = input<boolean | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly noRowsMessage = input<string | undefined>(undefined);\n readonly noMatchingRowsMessage = input<string | undefined>(undefined);\n readonly localeText = input<GridOptions<TData>['localeText']>(undefined);\n readonly cellSelection = input<GridOptions<TData>['cellSelection']>(undefined);\n readonly loading = input<boolean | undefined>(undefined);\n\n // Outputs\n readonly gridReady = output<GridReadyEvent<TData>>();\n readonly rowClicked = output<RowClickedEvent<TData>>();\n readonly cellClicked = output<CellClickedEvent<TData>>();\n readonly cellValueChanged = output<CellValueChangedEvent<TData, any>>();\n readonly selectionChanged = output<SelectionChangedEvent<TData>>();\n readonly sortChanged = output<SortChangedEvent<TData>>();\n readonly filterChanged = output<FilterChangedEvent<TData>>();\n readonly columnResized = output<ColumnResizedEvent<TData>>();\n readonly columnMoved = output<ColumnMovedEvent<TData>>();\n readonly columnPinned = output<ColumnPinnedEvent<TData>>();\n readonly columnVisibilityChanged = output<ColumnVisibilityChangedEvent<TData>>();\n readonly paginationChanged = output<PaginationChangedEvent<TData>>();\n readonly stateChanged = output<StateChangedEvent<TData>>();\n readonly rowDetailToggled = output<RowDetailToggledEvent<TData>>();\n readonly treeNodeToggled = output<TreeNodeToggledEvent<TData>>();\n readonly treeExpansionChanged = output<TreeExpansionChangedEvent<TData>>();\n readonly cellSelectionChanged = output<CellSelectionChangedEvent<TData>>();\n\n private api: GridApi<TData> | null = null;\n private readonly mountAdapter = new AngularMountAdapter(this.appRef, this.envInjector);\n /** Input-derived options as last sent to the grid; only differences are sent later. */\n private sentOptions: Partial<GridOptions<TData>> = {};\n private templateSignature: unknown[] = [];\n\n /** Output bridges; created once so they never count as changed options. */\n private readonly eventOptions: Partial<GridOptions<TData>> = {\n componentMountAdapter: this.mountAdapter,\n onGridReady: (e) => {\n // Fires synchronously inside createGrid: expose the API before handlers run\n this.api = e.api;\n this.gridReady.emit(e);\n },\n onRowClicked: (e) => this.rowClicked.emit(e),\n onCellClicked: (e) => this.cellClicked.emit(e),\n onCellValueChanged: (e) => this.cellValueChanged.emit(e),\n onSelectionChanged: (e) => this.selectionChanged.emit(e),\n onSortChanged: (e) => this.sortChanged.emit(e),\n onFilterChanged: (e) => this.filterChanged.emit(e),\n onColumnResized: (e) => this.columnResized.emit(e),\n onColumnMoved: (e) => this.columnMoved.emit(e),\n onColumnPinned: (e) => this.columnPinned.emit(e),\n onColumnVisibilityChanged: (e) => this.columnVisibilityChanged.emit(e),\n onPaginationChanged: (e) => this.paginationChanged.emit(e),\n onStateChanged: (e) => this.stateChanged.emit(e),\n onRowDetailToggled: (e) => this.rowDetailToggled.emit(e),\n onTreeNodeToggled: (e) => this.treeNodeToggled.emit(e),\n onTreeExpansionChanged: (e) => this.treeExpansionChanged.emit(e),\n onCellSelectionChanged: (e) => this.cellSelectionChanged.emit(e),\n };\n\n constructor() {\n afterNextRender(() => {\n this.syncTemplateMap();\n const options = this.buildOptions();\n this.sentOptions = options;\n untracked(() => {\n this.api = createGrid<TData>(this.gridHost().nativeElement, {\n ...options,\n ...this.eventOptions,\n } as GridOptions<TData>);\n });\n });\n\n effect(() => {\n // Reading the inputs and content templates here makes the effect track them\n const templatesChanged = this.syncTemplateMap();\n const options = this.buildOptions();\n const api = this.api;\n if (!api) return;\n const changed = this.diffOptions(options);\n this.sentOptions = options;\n // Grid callbacks (valueFormatter, cellClass, getRowId, …) run inside these calls;\n // signals they read must not become dependencies of this effect\n untracked(() => {\n if (changed) api.updateOptions(changed);\n if (templatesChanged) api.refreshCells();\n });\n });\n\n this.destroyRef.onDestroy(() => {\n this.api?.destroy();\n this.api = null;\n });\n }\n\n private diffOptions(next: Partial<GridOptions<TData>>): Partial<GridOptions<TData>> | null {\n const prev = this.sentOptions as Record<string, unknown>;\n const changed: Record<string, unknown> = {};\n let any = false;\n for (const [key, value] of Object.entries(next)) {\n if (!Object.is(prev[key], value)) {\n changed[key] = value;\n any = true;\n }\n }\n return any ? (changed as Partial<GridOptions<TData>>) : null;\n }\n\n getApi(): GridApi<TData> | null {\n return this.api;\n }\n\n /** Updates the adapter's templates. Returns true when they differ from the last call. */\n private syncTemplateMap(): boolean {\n const map = new Map<string, TemplateRef<StCellTemplateContext<any, any>>>();\n const signature: unknown[] = [];\n for (const dir of this.cellTemplates()) {\n const colId = dir.colId();\n map.set(colId, dir.templateRef);\n signature.push(colId, dir.templateRef);\n }\n const editorMap = new Map<string, TemplateRef<StEditorTemplateContext<any, any>>>();\n for (const dir of this.editorTemplates()) {\n editorMap.set(dir.name(), dir.templateRef);\n signature.push(`editor:${dir.name()}`, dir.templateRef);\n }\n const detail = this.detailTemplate()?.templateRef ?? null;\n signature.push(detail);\n this.mountAdapter.setTemplates(map);\n this.mountAdapter.setEditorTemplates(editorMap);\n this.mountAdapter.setDetailTemplate(detail);\n const changed =\n signature.length !== this.templateSignature.length ||\n signature.some((v, i) => v !== this.templateSignature[i]);\n this.templateSignature = signature;\n return changed;\n }\n\n private buildOptions(): Partial<GridOptions<TData>> {\n return {\n rowData: this.rowData(),\n columnDefs: this.columnDefs(),\n defaultColDef: this.defaultColDef(),\n columnTypes: this.columnTypes(),\n getRowId: this.getRowId(),\n rowModelType: this.rowModelType(),\n serverSideDatasource: this.serverSideDatasource(),\n masterDetail: this.masterDetail(),\n isRowMaster: this.isRowMaster(),\n detailRowHeight: this.detailRowHeight(),\n detailCellRenderer: this.detailCellRenderer(),\n expandOnRowClick: this.expandOnRowClick(),\n treeData: this.treeData(),\n getDataPath: this.getDataPath(),\n treeColumnId: this.treeColumnId(),\n groupDefaultExpanded: this.groupDefaultExpanded(),\n treeShowChildCount: this.treeShowChildCount(),\n treeIndentPx: this.treeIndentPx(),\n treeToggleLabel: this.treeToggleLabel(),\n treeExpandAllControl: this.treeExpandAllControl(),\n groupHideGroupedColumns: this.groupHideGroupedColumns(),\n pinnedTopRowData: this.pinnedTopRowData(),\n pinnedBottomRowData: this.pinnedBottomRowData(),\n pinnedBottomSummary: this.pinnedBottomSummary(),\n globalSearch: this.globalSearch(),\n quickFilterText: this.quickFilterText(),\n columnChooser: this.columnChooser(),\n csvExport: this.csvExport(),\n rowSelection: this.rowSelection(),\n pagination: this.pagination(),\n paginationPageSize: this.paginationPageSize(),\n paginationPageSizeSelector: this.paginationPageSizeSelector(),\n virtualization: this.virtualization(),\n responsivePinning: this.responsivePinning(),\n cellEditors: this.cellEditors(),\n singleClickEdit: this.singleClickEdit(),\n undoRedoCellEditing: this.undoRedoCellEditing(),\n undoRedoCellEditingLimit: this.undoRedoCellEditingLimit(),\n initialState: this.initialState(),\n initialSortModel: this.initialSortModel(),\n initialFilterModel: this.initialFilterModel(),\n heightMode: this.heightMode(),\n maxHeight: this.maxHeight(),\n stickyHeader: this.stickyHeader(),\n rowHeight: this.rowHeight(),\n getRowHeight: this.getRowHeight(),\n getRowHref: this.getRowHref(),\n asyncTransactionWaitMillis: this.asyncTransactionWaitMillis(),\n headerHeight: this.headerHeight(),\n theme: this.theme(),\n density: this.density(),\n enableCellChangeFlash: this.enableCellChangeFlash(),\n ariaLabel: this.ariaLabel(),\n noRowsMessage: this.noRowsMessage(),\n noMatchingRowsMessage: this.noMatchingRowsMessage(),\n localeText: this.localeText(),\n cellSelection: this.cellSelection(),\n loading: this.loading(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAkCA,SAAS,uBAAuB,CAAC,KAAc,EAAA;IAC7C,OAAO,OAAO,KAAK,KAAK,UAAU,IAAI,MAAM,IAAI,KAAK;AACvD;AAEA;;;;;AAKG;AACH,SAAS,SAAS,CAAC,OAA8B,EAAE,QAAuB,EAAE,MAAe,EAAA;AACzF,IAAA,MAAM,aAAa,GAAG,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,IAAI,CAC/D,CAAC,KAAK,KAAK,KAAK,CAAC,YAAY,KAAK,QAAQ,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAC1E;IACD,IAAI,aAAa,EAAE;AACjB,QAAA,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IACpC;SAAO;AACJ,QAAA,OAAO,CAAC,QAAiC,CAAC,MAAM,GAAG,MAAM;;QAE1D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,YAAY,EAAE;IACxD;AACF;MAEa,mBAAmB,C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,CAAoD,EAAA,IAAA,EAExD,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,EAAA,MAAA,EAAA,CAAA,kNAAA,CAAA,EAAA;;;ACrE1E;;AAEG;;"}
1
+ {"version":3,"file":"stramien-angular.mjs","sources":["../../src/angular-mount-adapter.ts","../../src/st-cell.directive.ts","../../src/st-detail.directive.ts","../../src/st-editor.directive.ts","../../src/st-grid.component.ts","../../src/stramien-angular.ts"],"sourcesContent":["import {\n type ApplicationRef,\n ChangeDetectorRef,\n type ComponentRef,\n createComponent,\n type EnvironmentInjector,\n reflectComponentType,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport type {\n CellEditorComponentParams,\n CellRendererParams,\n ComponentMountAdapter,\n DetailCellRendererParams,\n MountedComponentHandle,\n} from '@stramien/core';\nimport type { StCellTemplateContext } from './st-cell.directive';\nimport type { StDetailTemplateContext } from './st-detail.directive';\nimport type { StEditorTemplateContext } from './st-editor.directive';\n\nexport interface StCellRendererComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellRendererParams<TData, TValue>;\n}\n\n/** A component used as a custom cell editor receives the editor params as `params`. */\nexport interface StCellEditorComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellEditorComponentParams<TData, TValue>;\n}\n\nexport interface StDetailRendererComponent<TData = Record<string, unknown>> {\n params?: DetailCellRendererParams<TData>;\n}\n\nfunction isAngularComponentClass(value: unknown): value is Type<unknown> {\n return typeof value === 'function' && 'ɵcmp' in value;\n}\n\n/**\n * Passes `params` to a mounted component. Uses setInput when the component declares a\n * `params` input (signal or decorator); otherwise assigns the plain property. setInput on\n * an undeclared input does not throw (it only logs NG0303 in dev mode), so it cannot be\n * used as a try/catch probe.\n */\nfunction setParams(compRef: ComponentRef<unknown>, renderer: Type<unknown>, params: unknown): void {\n const declaresInput = reflectComponentType(renderer)?.inputs.some(\n (input) => input.templateName === 'params' || input.propName === 'params',\n );\n if (declaresInput) {\n compRef.setInput('params', params);\n } else {\n (compRef.instance as { params?: unknown }).params = params;\n // A plain field assignment does not mark an OnPush component dirty (setInput does)\n compRef.injector.get(ChangeDetectorRef).markForCheck();\n }\n}\n\nexport class AngularMountAdapter implements ComponentMountAdapter {\n private templateMap = new Map<string, TemplateRef<StCellTemplateContext<any, any>>>();\n private detailTemplate: TemplateRef<StDetailTemplateContext<any>> | null = null;\n private editorTemplateMap = new Map<string, TemplateRef<StEditorTemplateContext<any, any>>>();\n\n constructor(\n private readonly appRef: ApplicationRef,\n private readonly envInjector: EnvironmentInjector,\n ) {}\n\n setTemplates(map: Map<string, TemplateRef<StCellTemplateContext<any, any>>>): void {\n this.templateMap = map;\n }\n\n setEditorTemplates(map: Map<string, TemplateRef<StEditorTemplateContext<any, any>>>): void {\n this.editorTemplateMap = map;\n }\n\n canMountEditor(editor: unknown, name: string | undefined): boolean {\n if (name && this.editorTemplateMap.has(name)) return true;\n return isAngularComponentClass(editor);\n }\n\n mountEditor(\n container: HTMLElement,\n editor: unknown,\n params: CellEditorComponentParams<any, any>,\n ): MountedComponentHandle {\n const templateRef = params.editorName\n ? this.editorTemplateMap.get(params.editorName)\n : undefined;\n if (templateRef) {\n const context: StEditorTemplateContext<any, any> = {\n $implicit: params,\n params,\n value: params.value,\n data: params.data,\n node: params.node,\n colDef: params.colDef,\n api: params.api,\n editorParams: params.editorParams,\n setValue: params.setValue,\n stopEditing: params.stopEditing,\n };\n const viewRef = templateRef.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n return {\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(editor)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n const compRef = createComponent(editor, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n setParams(compRef, editor, params);\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n return {\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n\n setDetailTemplate(tpl: TemplateRef<StDetailTemplateContext<any>> | null): void {\n this.detailTemplate = tpl;\n }\n\n canMount(renderer: unknown, colId: string): boolean {\n if (this.templateMap.has(colId)) return true;\n return isAngularComponentClass(renderer);\n }\n\n canMountDetail(renderer: unknown): boolean {\n if (this.detailTemplate) return true;\n return isAngularComponentClass(renderer);\n }\n\n mountDetail(\n container: HTMLElement,\n renderer: unknown,\n params: DetailCellRendererParams<any>,\n ): MountedComponentHandle {\n if (this.detailTemplate) {\n const context: StDetailTemplateContext<any> = {\n $implicit: params.data,\n data: params.data,\n node: params.node,\n api: params.api,\n };\n const viewRef = this.detailTemplate.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n\n return {\n update: (next) => {\n const p = next as unknown as DetailCellRendererParams<any>;\n Object.assign(viewRef.context, { $implicit: p.data, data: p.data, node: p.node });\n viewRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(renderer)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n\n const compRef = createComponent(renderer, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n\n setParams(compRef, renderer, params);\n\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n\n return {\n update: (next) => {\n setParams(compRef, renderer, next);\n compRef.changeDetectorRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n\n mount(\n container: HTMLElement,\n renderer: unknown,\n params: CellRendererParams<any, any>,\n ): MountedComponentHandle {\n const templateRef = this.templateMap.get(params.colDef.colId);\n if (templateRef) {\n const context: StCellTemplateContext<any, any> = {\n $implicit: params.value,\n value: params.value,\n formattedValue: params.formattedValue,\n subtitle: params.subtitle ?? '',\n data: params.data,\n node: params.node,\n colDef: params.colDef,\n api: params.api,\n };\n const viewRef = templateRef.createEmbeddedView(context);\n this.appRef.attachView(viewRef);\n for (const node of viewRef.rootNodes) {\n container.appendChild(node);\n }\n viewRef.detectChanges();\n\n return {\n update: (next) => {\n Object.assign(viewRef.context, {\n $implicit: next.value,\n value: next.value,\n formattedValue: next.formattedValue,\n subtitle: next.subtitle ?? '',\n data: next.data,\n node: next.node,\n });\n viewRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(viewRef);\n viewRef.destroy();\n },\n };\n }\n\n if (isAngularComponentClass(renderer)) {\n const host = document.createElement('div');\n host.style.display = 'contents';\n container.appendChild(host);\n\n const compRef = createComponent(renderer, {\n environmentInjector: this.envInjector,\n hostElement: host,\n });\n\n setParams(compRef, renderer, params);\n\n this.appRef.attachView(compRef.hostView);\n compRef.changeDetectorRef.detectChanges();\n\n return {\n update: (next) => {\n setParams(compRef, renderer, next);\n compRef.changeDetectorRef.detectChanges();\n },\n destroy: () => {\n this.appRef.detachView(compRef.hostView);\n compRef.destroy();\n },\n };\n }\n\n return { destroy: () => {} };\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, ResolvedColDef, RowNode } from '@stramien/core';\n\nexport interface StCellTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n $implicit: TValue;\n value: TValue;\n formattedValue: string;\n /** The column's `cellSubtitle` for this cell (`''` when it has none), e.g. `let-sub=\"subtitle\"`. */\n subtitle: string;\n data: TData;\n node: RowNode<TData>;\n colDef: ResolvedColDef<TData, TValue>;\n api: GridApi<TData>;\n}\n\n@Directive({\n selector: 'ng-template[stCell]',\n standalone: true,\n})\nexport class StCellDirective<TData = Record<string, unknown>, TValue = unknown> {\n readonly colId = input.required<string>({ alias: 'stCell' });\n /**\n * Optional type-inference binding: `[stCellRows]=\"rowData()\"` types `let-row=\"data\"`\n * (and `node`) as the grid's row type in strict templates.\n */\n readonly rows = input<readonly TData[] | undefined>(undefined, { alias: 'stCellRows' });\n readonly templateRef = inject(TemplateRef<StCellTemplateContext<TData, TValue>>);\n\n static ngTemplateContextGuard<TData, TValue>(\n _dir: StCellDirective<TData, TValue>,\n ctx: unknown,\n ): ctx is StCellTemplateContext<TData, TValue> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, RowNode } from '@stramien/core';\n\nexport interface StDetailTemplateContext<TData = Record<string, unknown>> {\n $implicit: TData;\n data: TData;\n node: RowNode<TData>;\n api: GridApi<TData>;\n}\n\n@Directive({\n selector: 'ng-template[stDetail]',\n standalone: true,\n})\nexport class StDetailDirective<TData = Record<string, unknown>> {\n /**\n * Optional type-inference binding: pass `[stDetail]=\"rowData()\"` to get full\n * strict TypeScript inference on `let-row` inside Angular templates.\n */\n readonly stDetail = input<readonly TData[] | TData | ''>('');\n readonly templateRef = inject(TemplateRef<StDetailTemplateContext<TData>>);\n\n static ngTemplateContextGuard<TData>(\n _dir: StDetailDirective<TData>,\n ctx: unknown,\n ): ctx is StDetailTemplateContext<TData> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type {\n CellEditorComponentParams,\n CellEditorParams,\n GridApi,\n ResolvedColDef,\n RowNode,\n} from '@stramien/core';\n\nexport interface StEditorTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n /** All editor params (`let-params`). */\n $implicit: CellEditorComponentParams<TData, TValue>;\n params: CellEditorComponentParams<TData, TValue>;\n /** The value when editing started. */\n value: TValue;\n data: TData;\n node: RowNode<TData>;\n colDef: ResolvedColDef<TData, TValue>;\n api: GridApi<TData>;\n editorParams: CellEditorParams;\n /** Sets the value that will be committed (typed; no valueParser runs). */\n setValue: (value: TValue) => void;\n /** Commits (or cancels) the edit. Returns false when the validator rejected the value. */\n stopEditing: (cancel?: boolean) => boolean;\n}\n\n/**\n * Registers a custom cell editor under a name, for use as `cellEditor: 'name'` (also from\n * the function form of `cellEditor`):\n *\n * ```html\n * <ng-template stEditor=\"tags\" let-p>\n * <app-tags-input [value]=\"p.value\" (valueChange)=\"p.setValue($event)\" />\n * </ng-template>\n * ```\n *\n * `Enter` commits, `Escape` cancels and `Tab` commits and moves on; an editor that needs\n * one of those keys itself stops the key event's propagation. Focus leaving the cell\n * commits too.\n */\n@Directive({\n selector: 'ng-template[stEditor]',\n standalone: true,\n})\nexport class StEditorDirective {\n readonly name = input.required<string>({ alias: 'stEditor' });\n readonly templateRef = inject(TemplateRef<StEditorTemplateContext<any, any>>);\n\n /**\n * An editor template can serve rows and values of any type (the function form of\n * `cellEditor` picks it per row), so its context is loosely typed: `p.value` binds to any\n * input without `$any()`. Use a component in `cellEditors` for a fully typed editor.\n */\n static ngTemplateContextGuard(\n _dir: StEditorDirective,\n ctx: unknown,\n ): ctx is StEditorTemplateContext<any, any> {\n return true;\n }\n}\n","import {\n ApplicationRef,\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n contentChild,\n contentChildren,\n DestroyRef,\n type ElementRef,\n EnvironmentInjector,\n effect,\n inject,\n input,\n output,\n type TemplateRef,\n untracked,\n viewChild,\n} from '@angular/core';\nimport {\n type CellClickedEvent,\n type CellSelectionChangedEvent,\n type CellValueChangedEvent,\n type ColDef,\n type ColumnDefItem,\n type ColumnMovedEvent,\n type ColumnPinnedEvent,\n type ColumnResizedEvent,\n type ColumnTypeDef,\n type ColumnVisibilityChangedEvent,\n type CsvExportParams,\n createGrid,\n type DetailCellRenderer,\n type FilterChangedEvent,\n type FilterModel,\n type GlobalSearchConfig,\n type GridApi,\n type GridDensity,\n type GridOptions,\n type GridReadyEvent,\n type GridState,\n type GridThemeMode,\n type PaginationChangedEvent,\n type PinnedSummaryConfig,\n type ResponsivePinningConfig,\n type RowClickedEvent,\n type RowDetailToggledEvent,\n type RowModelType,\n type RowNode,\n type RowSelectionConfig,\n type RowsNearEndEvent,\n type SelectionChangedEvent,\n type ServerSideDatasource,\n type SortChangedEvent,\n type SortModelItem,\n type StateChangedEvent,\n type TreeExpansionChangedEvent,\n type TreeNodeToggledEvent,\n type VirtualizationConfig,\n} from '@stramien/core';\nimport { AngularMountAdapter } from './angular-mount-adapter';\nimport { StCellDirective, type StCellTemplateContext } from './st-cell.directive';\nimport { StDetailDirective } from './st-detail.directive';\nimport { StEditorDirective, type StEditorTemplateContext } from './st-editor.directive';\n\n@Component({\n selector: 'stramien-grid',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `<div #gridHost class=\"st-grid-angular-host\"></div>`,\n // Content height: the host follows the grid instead of filling its container\n host: { '[class.st-grid-content-height]': \"heightMode() === 'content'\" },\n // In a cascade layer, so a height the app gives <stramien-grid> (unlayered CSS) always wins,\n // although component styles are added after the app's\n styles: `\n @layer stramien.base {\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .st-grid-angular-host {\n width: 100%;\n height: 100%;\n }\n :host(.st-grid-content-height),\n :host(.st-grid-content-height) .st-grid-angular-host {\n height: auto;\n }\n }\n `,\n})\nexport class StramienGridComponent<TData = Record<string, unknown>> {\n private readonly appRef = inject(ApplicationRef);\n private readonly envInjector = inject(EnvironmentInjector);\n private readonly destroyRef = inject(DestroyRef);\n\n private readonly gridHost = viewChild.required<ElementRef<HTMLElement>>('gridHost');\n private readonly cellTemplates = contentChildren(StCellDirective);\n private readonly editorTemplates = contentChildren(StEditorDirective);\n private readonly detailTemplate = contentChild(StDetailDirective);\n\n // Inputs\n readonly rowData = input<TData[]>([]);\n readonly columnDefs = input<ColumnDefItem<TData>[]>([]);\n readonly defaultColDef = input<Partial<ColDef<TData, any>> | undefined>(undefined);\n readonly columnTypes = input<Record<string, ColumnTypeDef<TData>> | undefined>(undefined);\n readonly getRowId = input<((params: { data: TData; index: number }) => string) | undefined>(\n undefined,\n );\n readonly rowModelType = input<RowModelType | undefined>(undefined);\n readonly serverSideDatasource = input<ServerSideDatasource<TData> | null | undefined>(undefined);\n readonly masterDetail = input<boolean | undefined>(undefined);\n readonly isRowMaster = input<((data: TData, node: RowNode<TData>) => boolean) | undefined>(\n undefined,\n );\n readonly detailRowHeight = input<number | undefined>(undefined);\n readonly detailCellRenderer = input<DetailCellRenderer<TData> | undefined>(undefined);\n readonly expandOnRowClick = input<boolean | undefined>(undefined);\n readonly treeData = input<boolean | undefined>(undefined);\n readonly getDataPath = input<((data: TData) => string[]) | undefined>(undefined);\n readonly treeColumnId = input<string | undefined>(undefined);\n readonly groupDefaultExpanded = input<number | undefined>(undefined);\n readonly treeShowChildCount = input<boolean | undefined>(undefined);\n readonly treeIndentPx = input<number | undefined>(undefined);\n readonly treeToggleLabel = input<GridOptions<TData>['treeToggleLabel']>(undefined);\n readonly treeExpandAllControl = input<GridOptions<TData>['treeExpandAllControl']>(undefined);\n readonly groupHideGroupedColumns = input<boolean | undefined>(undefined);\n readonly pinnedTopRowData = input<TData[] | undefined>(undefined);\n readonly pinnedBottomRowData = input<TData[] | undefined>(undefined);\n readonly pinnedBottomSummary = input<boolean | PinnedSummaryConfig | undefined>(undefined);\n readonly globalSearch = input<boolean | GlobalSearchConfig | undefined>(undefined);\n readonly quickFilterText = input<string | undefined>(undefined);\n readonly columnChooser = input<boolean | undefined>(undefined);\n readonly csvExport = input<boolean | CsvExportParams | undefined>(undefined);\n readonly rowSelection = input<'single' | 'multiple' | RowSelectionConfig<TData> | undefined>(\n undefined,\n );\n readonly pagination = input<boolean | undefined>(undefined);\n readonly paginationPageSize = input<number | undefined>(undefined);\n readonly paginationPageSizeSelector = input<number[] | false | undefined>(undefined);\n readonly virtualization = input<boolean | VirtualizationConfig | undefined>(undefined);\n readonly responsivePinning = input<boolean | ResponsivePinningConfig | undefined>(undefined);\n /** Custom cell editors by name (Angular components); see also `<ng-template stEditor>`. */\n readonly cellEditors = input<Record<string, unknown> | undefined>(undefined);\n readonly singleClickEdit = input<boolean | undefined>(undefined);\n readonly undoRedoCellEditing = input<boolean | undefined>(undefined);\n readonly undoRedoCellEditingLimit = input<number | undefined>(undefined);\n readonly initialState = input<Partial<GridState> | undefined>(undefined);\n readonly initialSortModel = input<SortModelItem[] | undefined>(undefined);\n readonly initialFilterModel = input<FilterModel | undefined>(undefined);\n readonly heightMode = input<'fill' | 'content' | undefined>(undefined);\n readonly maxHeight = input<string | undefined>(undefined);\n readonly stickyHeader = input<boolean | { top?: string } | undefined>(undefined);\n readonly rowHeight = input<number | undefined>(undefined);\n readonly fitColumns = input<boolean | undefined>(undefined);\n readonly getRowHeight = input<GridOptions<TData>['getRowHeight']>(undefined);\n readonly getRowHref = input<GridOptions<TData>['getRowHref']>(undefined);\n readonly asyncTransactionWaitMillis = input<number | undefined>(undefined);\n readonly rowsNearEndThreshold = input<number | undefined>(undefined);\n readonly headerHeight = input<number | undefined>(undefined);\n // Unbound inputs stay undefined so the grid's own defaults (and values set through the\n // API, e.g. api.setTheme) are not overwritten when another input changes\n readonly theme = input<GridThemeMode | undefined>(undefined);\n readonly density = input<GridDensity | undefined>(undefined);\n readonly enableCellChangeFlash = input<boolean | undefined>(undefined);\n readonly ariaLabel = input<string | undefined>(undefined);\n readonly noRowsMessage = input<string | undefined>(undefined);\n readonly noMatchingRowsMessage = input<string | undefined>(undefined);\n readonly localeText = input<GridOptions<TData>['localeText']>(undefined);\n readonly cellSelection = input<GridOptions<TData>['cellSelection']>(undefined);\n readonly loading = input<boolean | undefined>(undefined);\n\n // Outputs\n readonly gridReady = output<GridReadyEvent<TData>>();\n readonly rowClicked = output<RowClickedEvent<TData>>();\n readonly cellClicked = output<CellClickedEvent<TData>>();\n readonly cellValueChanged = output<CellValueChangedEvent<TData, any>>();\n readonly selectionChanged = output<SelectionChangedEvent<TData>>();\n readonly sortChanged = output<SortChangedEvent<TData>>();\n readonly filterChanged = output<FilterChangedEvent<TData>>();\n readonly columnResized = output<ColumnResizedEvent<TData>>();\n readonly columnMoved = output<ColumnMovedEvent<TData>>();\n readonly columnPinned = output<ColumnPinnedEvent<TData>>();\n readonly columnVisibilityChanged = output<ColumnVisibilityChangedEvent<TData>>();\n readonly paginationChanged = output<PaginationChangedEvent<TData>>();\n readonly stateChanged = output<StateChangedEvent<TData>>();\n readonly rowDetailToggled = output<RowDetailToggledEvent<TData>>();\n readonly treeNodeToggled = output<TreeNodeToggledEvent<TData>>();\n readonly treeExpansionChanged = output<TreeExpansionChangedEvent<TData>>();\n readonly cellSelectionChanged = output<CellSelectionChangedEvent<TData>>();\n readonly rowsNearEnd = output<RowsNearEndEvent<TData>>();\n\n private api: GridApi<TData> | null = null;\n private readonly mountAdapter = new AngularMountAdapter(this.appRef, this.envInjector);\n /** Input-derived options as last sent to the grid; only differences are sent later. */\n private sentOptions: Partial<GridOptions<TData>> = {};\n private templateSignature: unknown[] = [];\n\n /** Output bridges; created once so they never count as changed options. */\n private readonly eventOptions: Partial<GridOptions<TData>> = {\n componentMountAdapter: this.mountAdapter,\n onGridReady: (e) => {\n // Fires synchronously inside createGrid: expose the API before handlers run\n this.api = e.api;\n this.gridReady.emit(e);\n },\n onRowClicked: (e) => this.rowClicked.emit(e),\n onCellClicked: (e) => this.cellClicked.emit(e),\n onCellValueChanged: (e) => this.cellValueChanged.emit(e),\n onSelectionChanged: (e) => this.selectionChanged.emit(e),\n onSortChanged: (e) => this.sortChanged.emit(e),\n onFilterChanged: (e) => this.filterChanged.emit(e),\n onColumnResized: (e) => this.columnResized.emit(e),\n onColumnMoved: (e) => this.columnMoved.emit(e),\n onColumnPinned: (e) => this.columnPinned.emit(e),\n onColumnVisibilityChanged: (e) => this.columnVisibilityChanged.emit(e),\n onPaginationChanged: (e) => this.paginationChanged.emit(e),\n onStateChanged: (e) => this.stateChanged.emit(e),\n onRowDetailToggled: (e) => this.rowDetailToggled.emit(e),\n onTreeNodeToggled: (e) => this.treeNodeToggled.emit(e),\n onTreeExpansionChanged: (e) => this.treeExpansionChanged.emit(e),\n onCellSelectionChanged: (e) => this.cellSelectionChanged.emit(e),\n onRowsNearEnd: (e) => this.rowsNearEnd.emit(e),\n };\n\n constructor() {\n afterNextRender(() => {\n this.syncTemplateMap();\n const options = this.buildOptions();\n this.sentOptions = options;\n untracked(() => {\n this.api = createGrid<TData>(this.gridHost().nativeElement, {\n ...options,\n ...this.eventOptions,\n } as GridOptions<TData>);\n });\n });\n\n effect(() => {\n // Reading the inputs and content templates here makes the effect track them\n const templatesChanged = this.syncTemplateMap();\n const options = this.buildOptions();\n const api = this.api;\n if (!api) return;\n const changed = this.diffOptions(options);\n this.sentOptions = options;\n // Grid callbacks (valueFormatter, cellClass, getRowId, …) run inside these calls;\n // signals they read must not become dependencies of this effect\n untracked(() => {\n if (changed) api.updateOptions(changed);\n if (templatesChanged) api.refreshCells();\n });\n });\n\n this.destroyRef.onDestroy(() => {\n this.api?.destroy();\n this.api = null;\n });\n }\n\n private diffOptions(next: Partial<GridOptions<TData>>): Partial<GridOptions<TData>> | null {\n const prev = this.sentOptions as Record<string, unknown>;\n const changed: Record<string, unknown> = {};\n let any = false;\n for (const [key, value] of Object.entries(next)) {\n if (!Object.is(prev[key], value)) {\n changed[key] = value;\n any = true;\n }\n }\n return any ? (changed as Partial<GridOptions<TData>>) : null;\n }\n\n getApi(): GridApi<TData> | null {\n return this.api;\n }\n\n /** Updates the adapter's templates. Returns true when they differ from the last call. */\n private syncTemplateMap(): boolean {\n const map = new Map<string, TemplateRef<StCellTemplateContext<any, any>>>();\n const signature: unknown[] = [];\n for (const dir of this.cellTemplates()) {\n const colId = dir.colId();\n map.set(colId, dir.templateRef);\n signature.push(colId, dir.templateRef);\n }\n const editorMap = new Map<string, TemplateRef<StEditorTemplateContext<any, any>>>();\n for (const dir of this.editorTemplates()) {\n editorMap.set(dir.name(), dir.templateRef);\n signature.push(`editor:${dir.name()}`, dir.templateRef);\n }\n const detail = this.detailTemplate()?.templateRef ?? null;\n signature.push(detail);\n this.mountAdapter.setTemplates(map);\n this.mountAdapter.setEditorTemplates(editorMap);\n this.mountAdapter.setDetailTemplate(detail);\n const changed =\n signature.length !== this.templateSignature.length ||\n signature.some((v, i) => v !== this.templateSignature[i]);\n this.templateSignature = signature;\n return changed;\n }\n\n private buildOptions(): Partial<GridOptions<TData>> {\n return {\n rowData: this.rowData(),\n columnDefs: this.columnDefs(),\n defaultColDef: this.defaultColDef(),\n columnTypes: this.columnTypes(),\n getRowId: this.getRowId(),\n rowModelType: this.rowModelType(),\n serverSideDatasource: this.serverSideDatasource(),\n masterDetail: this.masterDetail(),\n isRowMaster: this.isRowMaster(),\n detailRowHeight: this.detailRowHeight(),\n detailCellRenderer: this.detailCellRenderer(),\n expandOnRowClick: this.expandOnRowClick(),\n treeData: this.treeData(),\n getDataPath: this.getDataPath(),\n treeColumnId: this.treeColumnId(),\n groupDefaultExpanded: this.groupDefaultExpanded(),\n treeShowChildCount: this.treeShowChildCount(),\n treeIndentPx: this.treeIndentPx(),\n treeToggleLabel: this.treeToggleLabel(),\n treeExpandAllControl: this.treeExpandAllControl(),\n groupHideGroupedColumns: this.groupHideGroupedColumns(),\n pinnedTopRowData: this.pinnedTopRowData(),\n pinnedBottomRowData: this.pinnedBottomRowData(),\n pinnedBottomSummary: this.pinnedBottomSummary(),\n globalSearch: this.globalSearch(),\n quickFilterText: this.quickFilterText(),\n columnChooser: this.columnChooser(),\n csvExport: this.csvExport(),\n rowSelection: this.rowSelection(),\n pagination: this.pagination(),\n paginationPageSize: this.paginationPageSize(),\n paginationPageSizeSelector: this.paginationPageSizeSelector(),\n virtualization: this.virtualization(),\n responsivePinning: this.responsivePinning(),\n cellEditors: this.cellEditors(),\n singleClickEdit: this.singleClickEdit(),\n undoRedoCellEditing: this.undoRedoCellEditing(),\n undoRedoCellEditingLimit: this.undoRedoCellEditingLimit(),\n initialState: this.initialState(),\n initialSortModel: this.initialSortModel(),\n initialFilterModel: this.initialFilterModel(),\n heightMode: this.heightMode(),\n maxHeight: this.maxHeight(),\n stickyHeader: this.stickyHeader(),\n rowHeight: this.rowHeight(),\n fitColumns: this.fitColumns(),\n getRowHeight: this.getRowHeight(),\n getRowHref: this.getRowHref(),\n asyncTransactionWaitMillis: this.asyncTransactionWaitMillis(),\n rowsNearEndThreshold: this.rowsNearEndThreshold(),\n headerHeight: this.headerHeight(),\n theme: this.theme(),\n density: this.density(),\n enableCellChangeFlash: this.enableCellChangeFlash(),\n ariaLabel: this.ariaLabel(),\n noRowsMessage: this.noRowsMessage(),\n noMatchingRowsMessage: this.noMatchingRowsMessage(),\n localeText: this.localeText(),\n cellSelection: this.cellSelection(),\n loading: this.loading(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAkCA,SAAS,uBAAuB,CAAC,KAAc,EAAA;IAC7C,OAAO,OAAO,KAAK,KAAK,UAAU,IAAI,MAAM,IAAI,KAAK;AACvD;AAEA;;;;;AAKG;AACH,SAAS,SAAS,CAAC,OAA8B,EAAE,QAAuB,EAAE,MAAe,EAAA;AACzF,IAAA,MAAM,aAAa,GAAG,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,IAAI,CAC/D,CAAC,KAAK,KAAK,KAAK,CAAC,YAAY,KAAK,QAAQ,IAAI,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAC1E;IACD,IAAI,aAAa,EAAE;AACjB,QAAA,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IACpC;SAAO;AACJ,QAAA,OAAO,CAAC,QAAiC,CAAC,MAAM,GAAG,MAAM;;QAE1D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,YAAY,EAAE;IACxD;AACF;MAEa,mBAAmB,CAAA;AAMX,IAAA,MAAA;AACA,IAAA,WAAA;AANX,IAAA,WAAW,GAAG,IAAI,GAAG,EAAwD;IAC7E,cAAc,GAAqD,IAAI;AACvE,IAAA,iBAAiB,GAAG,IAAI,GAAG,EAA0D;IAE7F,WAAA,CACmB,MAAsB,EACtB,WAAgC,EAAA;QADhC,IAAA,CAAA,MAAM,GAAN,MAAM;QACN,IAAA,C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A,EACb,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EACrC,CAAA,kDAAA,CAAoD,EAAA,IAAA,EAExD,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,EAAA,MAAA,EAAA,CAAA,kNAAA,CAAA,EAAA;;;ACtE1E;;AAEG;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stramien/angular",
3
- "version": "0.13.1",
3
+ "version": "0.15.0",
4
4
  "description": "Modern Angular (v18+, Signals, zoneless) adapter for Stramien",
5
5
  "license": "MIT",
6
6
  "author": "Erik-Jan van Baaren <erikjan@gmail.com>",
@@ -31,7 +31,7 @@
31
31
  "typings": "index.d.ts",
32
32
  "dependencies": {
33
33
  "tslib": "^2.3.0",
34
- "@stramien/core": "0.13.1"
34
+ "@stramien/core": "0.15.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@angular/common": ">=18.0.0",
package/public-api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type { ActionButtonDef, ActionButtonParams, ActionButtonTone, ActionButtonVariant, ActionsColumnOptions, AggFunc, AggFuncParams, BadgeColumnOptions, BadgeStyleConfig, BadgeTone, BarColumnOptions, BarColumnThresholds, BooleanColumnOptions, BuiltInActionIcon, BuiltInAggFunc, CellClassParams, CellClickedEvent, CellEditorComponentParams, CellEditorOption, CellEditorParams, CellEditorSelectorParams, CellEditorSpec, CellEditorType, CellRange, CellRangeParams, CellRenderer, CellRendererParams, CellSelectionChangedEvent, CellSelectionConfig, CellValidatorParams, CellValueChangedEvent, ColDef, ColGroupDef, ColumnDefItem, ColumnFilterModel, ColumnMovedEvent, ColumnPinnedEvent, ColumnResizedEvent, ColumnStateItem, ColumnTypeDef, ColumnVisibilityChangedEvent, CsvExportParams, CurrencyColumnOptions, CustomFilterDef, DateFilterModel, DateFilterOperator, DetailCellRenderer, DetailCellRendererParams, EditableParams, FilterChangedEvent, FilterModel, FilterType, GlobalSearchConfig, GridApi, GridDensity, GridEventMap, GridOptions, GridReadyEvent, GridState, GridThemeMode, HeaderGroupMeta, LocaleText, LocaleTextKey, LocaleTextParams, LocaleTextValue, NumberFilterModel, NumberFilterOperator, PaginationChangedEvent, PaginationState, PercentColumnOptions, PinnedDirection, PinnedSummaryConfig, QuickFilterTextParams, RefreshCellsParams, RelativeTimeColumnOptions, ResolvedColDef, ResponsivePinningConfig, RowClickedEvent, RowDataTransaction, RowDataTransactionResult, RowDetailToggledEvent, RowHeightParams, RowHrefParams, RowModelType, RowNode, RowSelectionConfig, ScrollAlign, SelectionChangedEvent, ServerSideDatasource, ServerSideGetRowsRequest, ServerSideGetRowsResult, SetFilterModel, SortChangedEvent, SortDirection, SortModelItem, SparklineColumnOptions, StateChangedEvent, TextFilterModel, TextFilterOperator, TreeExpandAllControl, TreeExpansionChangedEvent, TreeExpansionChangeSource, TreeNodeToggledEvent, TreeToggleLabelParams, ValueFormatterParams, ValueGetterParams, ValueParserParams, ValueSetterParams, VanillaCellEditorFn, VanillaCellEditorInstance, VanillaCellRendererFn, VanillaDetailCellRendererFn, VirtualizationConfig, } from '@stramien/core';
1
+ export type { ActionButtonDef, ActionButtonParams, ActionButtonTone, ActionButtonVariant, ActionsColumnOptions, AggFunc, AggFuncParams, BadgeColumnOptions, BadgeStyleConfig, BadgeTone, BarColumnOptions, BarColumnThresholds, BooleanColumnOptions, BuiltInActionIcon, BuiltInAggFunc, CellClassParams, CellClickedEvent, CellEditorComponentParams, CellEditorOption, CellEditorParams, CellEditorSelectorParams, CellEditorSpec, CellEditorType, CellRange, CellRangeParams, CellRenderer, CellRendererParams, CellSelectionChangedEvent, CellSelectionConfig, CellValidatorParams, CellValueChangedEvent, ColDef, ColGroupDef, ColumnDefItem, ColumnFilterModel, ColumnMovedEvent, ColumnPinnedEvent, ColumnResizedEvent, ColumnStateItem, ColumnTypeDef, ColumnVisibilityChangedEvent, CsvExportParams, CurrencyColumnOptions, CustomFilterDef, DateFilterModel, DateFilterOperator, DetailCellRenderer, DetailCellRendererParams, EditableParams, FilterChangedEvent, FilterModel, FilterType, GlobalSearchConfig, GridApi, GridDensity, GridEventMap, GridOptions, GridReadyEvent, GridState, GridThemeMode, HeaderGroupMeta, LocaleText, LocaleTextKey, LocaleTextParams, LocaleTextValue, NumberFilterModel, NumberFilterOperator, PaginationChangedEvent, PaginationState, PercentColumnOptions, PinnedDirection, PinnedSummaryConfig, QuickFilterTextParams, RefreshCellsParams, RelativeTimeColumnOptions, ResolvedColDef, ResponsivePinningConfig, RowClickedEvent, RowDataTransaction, RowDataTransactionResult, RowDetailToggledEvent, RowHeightParams, RowHrefParams, RowModelType, RowNode, RowSelectionConfig, RowsNearEndEvent, ScrollAlign, SelectionChangedEvent, ServerSideDatasource, ServerSideGetRowsRequest, ServerSideGetRowsResult, SetFilterModel, SortChangedEvent, SortDirection, SortModelItem, SparklineColumnOptions, StateChangedEvent, TextFilterModel, TextFilterOperator, TreeExpandAllControl, TreeExpansionChangedEvent, TreeExpansionChangeSource, TreeNodeToggledEvent, TreeToggleLabelParams, ValueFormatterParams, ValueGetterParams, ValueParserParams, ValueSetterParams, VanillaCellEditorFn, VanillaCellEditorInstance, VanillaCellRendererFn, VanillaDetailCellRendererFn, VirtualizationConfig, } from '@stramien/core';
2
2
  export { actionsColumn, badgeColumn, barColumn, booleanColumn, createBuiltInColumnTypes, currencyColumn, DEFAULT_LOCALE_TEXT, formatLocaleText, markVanillaRenderer, percentColumn, plural, relativeTimeColumn, sparklineColumn, VANILLA_RENDERER_SYMBOL, } from '@stramien/core';
3
3
  export { AngularMountAdapter, type StCellEditorComponent, type StCellRendererComponent, type StDetailRendererComponent, } from './angular-mount-adapter';
4
4
  export { StCellDirective, type StCellTemplateContext } from './st-cell.directive';
@@ -1,4 +1,4 @@
1
- import { type CellClickedEvent, type CellSelectionChangedEvent, type CellValueChangedEvent, type ColDef, type ColumnDefItem, type ColumnMovedEvent, type ColumnPinnedEvent, type ColumnResizedEvent, type ColumnVisibilityChangedEvent, type CsvExportParams, type DetailCellRenderer, type FilterChangedEvent, type FilterModel, type GlobalSearchConfig, type GridApi, type GridDensity, type GridReadyEvent, type GridState, type GridThemeMode, type PaginationChangedEvent, type PinnedSummaryConfig, type ResponsivePinningConfig, type RowClickedEvent, type RowDetailToggledEvent, type RowModelType, type RowNode, type RowSelectionConfig, type SelectionChangedEvent, type ServerSideDatasource, type SortChangedEvent, type SortModelItem, type StateChangedEvent, type TreeExpansionChangedEvent, type TreeNodeToggledEvent, type VirtualizationConfig } from '@stramien/core';
1
+ import { type CellClickedEvent, type CellSelectionChangedEvent, type CellValueChangedEvent, type ColDef, type ColumnDefItem, type ColumnMovedEvent, type ColumnPinnedEvent, type ColumnResizedEvent, type ColumnVisibilityChangedEvent, type CsvExportParams, type DetailCellRenderer, type FilterChangedEvent, type FilterModel, type GlobalSearchConfig, type GridApi, type GridDensity, type GridReadyEvent, type GridState, type GridThemeMode, type PaginationChangedEvent, type PinnedSummaryConfig, type ResponsivePinningConfig, type RowClickedEvent, type RowDetailToggledEvent, type RowModelType, type RowNode, type RowSelectionConfig, type RowsNearEndEvent, type SelectionChangedEvent, type ServerSideDatasource, type SortChangedEvent, type SortModelItem, type StateChangedEvent, type TreeExpansionChangedEvent, type TreeNodeToggledEvent, type VirtualizationConfig } from '@stramien/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class StramienGridComponent<TData = Record<string, unknown>> {
4
4
  private readonly appRef;
@@ -59,9 +59,11 @@ export declare class StramienGridComponent<TData = Record<string, unknown>> {
59
59
  top?: string;
60
60
  }>;
61
61
  readonly rowHeight: import("@angular/core").InputSignal<number>;
62
+ readonly fitColumns: import("@angular/core").InputSignal<boolean>;
62
63
  readonly getRowHeight: import("@angular/core").InputSignal<(params: import("@stramien/core").RowHeightParams<TData>) => number | null | undefined>;
63
64
  readonly getRowHref: import("@angular/core").InputSignal<(params: import("@stramien/core").RowHrefParams<TData>) => string | null | undefined>;
64
65
  readonly asyncTransactionWaitMillis: import("@angular/core").InputSignal<number>;
66
+ readonly rowsNearEndThreshold: import("@angular/core").InputSignal<number>;
65
67
  readonly headerHeight: import("@angular/core").InputSignal<number>;
66
68
  readonly theme: import("@angular/core").InputSignal<GridThemeMode>;
67
69
  readonly density: import("@angular/core").InputSignal<GridDensity>;
@@ -89,6 +91,7 @@ export declare class StramienGridComponent<TData = Record<string, unknown>> {
89
91
  readonly treeNodeToggled: import("@angular/core").OutputEmitterRef<TreeNodeToggledEvent<TData>>;
90
92
  readonly treeExpansionChanged: import("@angular/core").OutputEmitterRef<TreeExpansionChangedEvent<TData>>;
91
93
  readonly cellSelectionChanged: import("@angular/core").OutputEmitterRef<CellSelectionChangedEvent<TData>>;
94
+ readonly rowsNearEnd: import("@angular/core").OutputEmitterRef<RowsNearEndEvent<TData>>;
92
95
  private api;
93
96
  private readonly mountAdapter;
94
97
  /** Input-derived options as last sent to the grid; only differences are sent later. */
@@ -103,5 +106,5 @@ export declare class StramienGridComponent<TData = Record<string, unknown>> {
103
106
  private syncTemplateMap;
104
107
  private buildOptions;
105
108
  static ɵfac: i0.ɵɵFactoryDeclaration<StramienGridComponent<any>, never>;
106
- static ɵcmp: i0.ɵɵComponentDeclaration<StramienGridComponent<any>, "stramien-grid", never, { "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "columnDefs": { "alias": "columnDefs"; "required": false; "isSignal": true; }; "defaultColDef": { "alias": "defaultColDef"; "required": false; "isSignal": true; }; "columnTypes": { "alias": "columnTypes"; "required": false; "isSignal": true; }; "getRowId": { "alias": "getRowId"; "required": false; "isSignal": true; }; "rowModelType": { "alias": "rowModelType"; "required": false; "isSignal": true; }; "serverSideDatasource": { "alias": "serverSideDatasource"; "required": false; "isSignal": true; }; "masterDetail": { "alias": "masterDetail"; "required": false; "isSignal": true; }; "isRowMaster": { "alias": "isRowMaster"; "required": false; "isSignal": true; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; "isSignal": true; }; "detailCellRenderer": { "alias": "detailCellRenderer"; "required": false; "isSignal": true; }; "expandOnRowClick": { "alias": "expandOnRowClick"; "required": false; "isSignal": true; }; "treeData": { "alias": "treeData"; "required": false; "isSignal": true; }; "getDataPath": { "alias": "getDataPath"; "required": false; "isSignal": true; }; "treeColumnId": { "alias": "treeColumnId"; "required": false; "isSignal": true; }; "groupDefaultExpanded": { "alias": "groupDefaultExpanded"; "required": false; "isSignal": true; }; "treeShowChildCount": { "alias": "treeShowChildCount"; "required": false; "isSignal": true; }; "treeIndentPx": { "alias": "treeIndentPx"; "required": false; "isSignal": true; }; "treeToggleLabel": { "alias": "treeToggleLabel"; "required": false; "isSignal": true; }; "treeExpandAllControl": { "alias": "treeExpandAllControl"; "required": false; "isSignal": true; }; "groupHideGroupedColumns": { "alias": "groupHideGroupedColumns"; "required": false; "isSignal": true; }; "pinnedTopRowData": { "alias": "pinnedTopRowData"; "required": false; "isSignal": true; }; "pinnedBottomRowData": { "alias": "pinnedBottomRowData"; "required": false; "isSignal": true; }; "pinnedBottomSummary": { "alias": "pinnedBottomSummary"; "required": false; "isSignal": true; }; "globalSearch": { "alias": "globalSearch"; "required": false; "isSignal": true; }; "quickFilterText": { "alias": "quickFilterText"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "csvExport": { "alias": "csvExport"; "required": false; "isSignal": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "paginationPageSize": { "alias": "paginationPageSize"; "required": false; "isSignal": true; }; "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; "isSignal": true; }; "virtualization": { "alias": "virtualization"; "required": false; "isSignal": true; }; "responsivePinning": { "alias": "responsivePinning"; "required": false; "isSignal": true; }; "cellEditors": { "alias": "cellEditors"; "required": false; "isSignal": true; }; "singleClickEdit": { "alias": "singleClickEdit"; "required": false; "isSignal": true; }; "undoRedoCellEditing": { "alias": "undoRedoCellEditing"; "required": false; "isSignal": true; }; "undoRedoCellEditingLimit": { "alias": "undoRedoCellEditingLimit"; "required": false; "isSignal": true; }; "initialState": { "alias": "initialState"; "required": false; "isSignal": true; }; "initialSortModel": { "alias": "initialSortModel"; "required": false; "isSignal": true; }; "initialFilterModel": { "alias": "initialFilterModel"; "required": false; "isSignal": true; }; "heightMode": { "alias": "heightMode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "getRowHeight": { "alias": "getRowHeight"; "required": false; "isSignal": true; }; "getRowHref": { "alias": "getRowHref"; "required": false; "isSignal": true; }; "asyncTransactionWaitMillis": { "alias": "asyncTransactionWaitMillis"; "required": false; "isSignal": true; }; "headerHeight": { "alias": "headerHeight"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "enableCellChangeFlash": { "alias": "enableCellChangeFlash"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "noRowsMessage": { "alias": "noRowsMessage"; "required": false; "isSignal": true; }; "noMatchingRowsMessage": { "alias": "noMatchingRowsMessage"; "required": false; "isSignal": true; }; "localeText": { "alias": "localeText"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "gridReady": "gridReady"; "rowClicked": "rowClicked"; "cellClicked": "cellClicked"; "cellValueChanged": "cellValueChanged"; "selectionChanged": "selectionChanged"; "sortChanged": "sortChanged"; "filterChanged": "filterChanged"; "columnResized": "columnResized"; "columnMoved": "columnMoved"; "columnPinned": "columnPinned"; "columnVisibilityChanged": "columnVisibilityChanged"; "paginationChanged": "paginationChanged"; "stateChanged": "stateChanged"; "rowDetailToggled": "rowDetailToggled"; "treeNodeToggled": "treeNodeToggled"; "treeExpansionChanged": "treeExpansionChanged"; "cellSelectionChanged": "cellSelectionChanged"; }, ["cellTemplates", "editorTemplates", "detailTemplate"], never, true, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<StramienGridComponent<any>, "stramien-grid", never, { "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "columnDefs": { "alias": "columnDefs"; "required": false; "isSignal": true; }; "defaultColDef": { "alias": "defaultColDef"; "required": false; "isSignal": true; }; "columnTypes": { "alias": "columnTypes"; "required": false; "isSignal": true; }; "getRowId": { "alias": "getRowId"; "required": false; "isSignal": true; }; "rowModelType": { "alias": "rowModelType"; "required": false; "isSignal": true; }; "serverSideDatasource": { "alias": "serverSideDatasource"; "required": false; "isSignal": true; }; "masterDetail": { "alias": "masterDetail"; "required": false; "isSignal": true; }; "isRowMaster": { "alias": "isRowMaster"; "required": false; "isSignal": true; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; "isSignal": true; }; "detailCellRenderer": { "alias": "detailCellRenderer"; "required": false; "isSignal": true; }; "expandOnRowClick": { "alias": "expandOnRowClick"; "required": false; "isSignal": true; }; "treeData": { "alias": "treeData"; "required": false; "isSignal": true; }; "getDataPath": { "alias": "getDataPath"; "required": false; "isSignal": true; }; "treeColumnId": { "alias": "treeColumnId"; "required": false; "isSignal": true; }; "groupDefaultExpanded": { "alias": "groupDefaultExpanded"; "required": false; "isSignal": true; }; "treeShowChildCount": { "alias": "treeShowChildCount"; "required": false; "isSignal": true; }; "treeIndentPx": { "alias": "treeIndentPx"; "required": false; "isSignal": true; }; "treeToggleLabel": { "alias": "treeToggleLabel"; "required": false; "isSignal": true; }; "treeExpandAllControl": { "alias": "treeExpandAllControl"; "required": false; "isSignal": true; }; "groupHideGroupedColumns": { "alias": "groupHideGroupedColumns"; "required": false; "isSignal": true; }; "pinnedTopRowData": { "alias": "pinnedTopRowData"; "required": false; "isSignal": true; }; "pinnedBottomRowData": { "alias": "pinnedBottomRowData"; "required": false; "isSignal": true; }; "pinnedBottomSummary": { "alias": "pinnedBottomSummary"; "required": false; "isSignal": true; }; "globalSearch": { "alias": "globalSearch"; "required": false; "isSignal": true; }; "quickFilterText": { "alias": "quickFilterText"; "required": false; "isSignal": true; }; "columnChooser": { "alias": "columnChooser"; "required": false; "isSignal": true; }; "csvExport": { "alias": "csvExport"; "required": false; "isSignal": true; }; "rowSelection": { "alias": "rowSelection"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "paginationPageSize": { "alias": "paginationPageSize"; "required": false; "isSignal": true; }; "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; "isSignal": true; }; "virtualization": { "alias": "virtualization"; "required": false; "isSignal": true; }; "responsivePinning": { "alias": "responsivePinning"; "required": false; "isSignal": true; }; "cellEditors": { "alias": "cellEditors"; "required": false; "isSignal": true; }; "singleClickEdit": { "alias": "singleClickEdit"; "required": false; "isSignal": true; }; "undoRedoCellEditing": { "alias": "undoRedoCellEditing"; "required": false; "isSignal": true; }; "undoRedoCellEditingLimit": { "alias": "undoRedoCellEditingLimit"; "required": false; "isSignal": true; }; "initialState": { "alias": "initialState"; "required": false; "isSignal": true; }; "initialSortModel": { "alias": "initialSortModel"; "required": false; "isSignal": true; }; "initialFilterModel": { "alias": "initialFilterModel"; "required": false; "isSignal": true; }; "heightMode": { "alias": "heightMode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; "fitColumns": { "alias": "fitColumns"; "required": false; "isSignal": true; }; "getRowHeight": { "alias": "getRowHeight"; "required": false; "isSignal": true; }; "getRowHref": { "alias": "getRowHref"; "required": false; "isSignal": true; }; "asyncTransactionWaitMillis": { "alias": "asyncTransactionWaitMillis"; "required": false; "isSignal": true; }; "rowsNearEndThreshold": { "alias": "rowsNearEndThreshold"; "required": false; "isSignal": true; }; "headerHeight": { "alias": "headerHeight"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "enableCellChangeFlash": { "alias": "enableCellChangeFlash"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "noRowsMessage": { "alias": "noRowsMessage"; "required": false; "isSignal": true; }; "noMatchingRowsMessage": { "alias": "noMatchingRowsMessage"; "required": false; "isSignal": true; }; "localeText": { "alias": "localeText"; "required": false; "isSignal": true; }; "cellSelection": { "alias": "cellSelection"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "gridReady": "gridReady"; "rowClicked": "rowClicked"; "cellClicked": "cellClicked"; "cellValueChanged": "cellValueChanged"; "selectionChanged": "selectionChanged"; "sortChanged": "sortChanged"; "filterChanged": "filterChanged"; "columnResized": "columnResized"; "columnMoved": "columnMoved"; "columnPinned": "columnPinned"; "columnVisibilityChanged": "columnVisibilityChanged"; "paginationChanged": "paginationChanged"; "stateChanged": "stateChanged"; "rowDetailToggled": "rowDetailToggled"; "treeNodeToggled": "treeNodeToggled"; "treeExpansionChanged": "treeExpansionChanged"; "cellSelectionChanged": "cellSelectionChanged"; "rowsNearEnd": "rowsNearEnd"; }, ["cellTemplates", "editorTemplates", "detailTemplate"], never, true, never>;
107
110
  }