@ya-grid/angular 0.3.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
+ import { createGrid } from '@ya-grid/core';
2
+ export { actionsColumn, badgeColumn, barColumn, booleanColumn, createBuiltInColumnTypes, currencyColumn, percentColumn, sparklineColumn } from '@ya-grid/core';
1
3
  import * as i0 from '@angular/core';
2
4
  import { reflectComponentType, createComponent, input, inject, TemplateRef, Directive, ApplicationRef, EnvironmentInjector, DestroyRef, viewChild, contentChildren, contentChild, output, afterNextRender, untracked, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { createGrid } from '@ya-grid/core';
4
5
 
5
6
  function isAngularComponentClass(value) {
6
7
  return typeof value === 'function' && 'ɵcmp' in value;
@@ -182,6 +183,7 @@ class YaGridComponent {
182
183
  rowData = input([]);
183
184
  columnDefs = input([]);
184
185
  defaultColDef = input(undefined);
186
+ columnTypes = input(undefined);
185
187
  getRowId = input(undefined);
186
188
  rowModelType = input(undefined);
187
189
  serverSideDatasource = input(undefined);
@@ -333,6 +335,7 @@ class YaGridComponent {
333
335
  rowData: this.rowData(),
334
336
  columnDefs: this.columnDefs(),
335
337
  defaultColDef: this.defaultColDef(),
338
+ columnTypes: this.columnTypes(),
336
339
  getRowId: this.getRowId(),
337
340
  rowModelType: this.rowModelType(),
338
341
  serverSideDatasource: this.serverSideDatasource(),
@@ -370,7 +373,7 @@ class YaGridComponent {
370
373
  };
371
374
  }
372
375
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: YaGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
373
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: YaGridComponent, isStandalone: true, selector: "ya-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 }, 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 }, 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 }, 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 }, rowHeight: { classPropertyName: "rowHeight", publicName: "rowHeight", 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 }, 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" }, queries: [{ propertyName: "cellTemplates", predicate: YaCellDirective, isSignal: true }, { propertyName: "detailTemplate", first: true, predicate: YaDetailDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "gridHost", first: true, predicate: ["gridHost"], descendants: true, isSignal: true }], ngImport: i0, template: `<div #gridHost class="ya-grid-angular-host"></div>`, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ya-grid-angular-host{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
376
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: YaGridComponent, isStandalone: true, selector: "ya-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 }, 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 }, 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 }, rowHeight: { classPropertyName: "rowHeight", publicName: "rowHeight", 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 }, 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" }, queries: [{ propertyName: "cellTemplates", predicate: YaCellDirective, isSignal: true }, { propertyName: "detailTemplate", first: true, predicate: YaDetailDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "gridHost", first: true, predicate: ["gridHost"], descendants: true, isSignal: true }], ngImport: i0, template: `<div #gridHost class="ya-grid-angular-host"></div>`, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ya-grid-angular-host{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
374
377
  }
375
378
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: YaGridComponent, decorators: [{
376
379
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"ya-grid-angular.mjs","sources":["../../src/angular-mount-adapter.ts","../../src/ya-cell.directive.ts","../../src/ya-detail.directive.ts","../../src/ya-grid.component.ts","../../src/ya-grid-angular.ts"],"sourcesContent":["import {\n type ApplicationRef,\n type ComponentRef,\n createComponent,\n type EnvironmentInjector,\n reflectComponentType,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport type {\n CellRendererParams,\n ComponentMountAdapter,\n DetailCellRendererParams,\n MountedComponentHandle,\n} from '@ya-grid/core';\nimport type { YaCellTemplateContext } from './ya-cell.directive';\nimport type { YaDetailTemplateContext } from './ya-detail.directive';\n\nexport interface YaCellRendererComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellRendererParams<TData, TValue>;\n}\n\nexport interface YaDetailRendererComponent<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 }\n}\n\nexport class AngularMountAdapter implements ComponentMountAdapter {\n private templateMap = new Map<string, TemplateRef<YaCellTemplateContext<any, any>>>();\n private detailTemplate: TemplateRef<YaDetailTemplateContext<any>> | null = null;\n\n constructor(\n private readonly appRef: ApplicationRef,\n private readonly envInjector: EnvironmentInjector,\n ) {}\n\n setTemplates(map: Map<string, TemplateRef<YaCellTemplateContext<any, any>>>): void {\n this.templateMap = map;\n }\n\n setDetailTemplate(tpl: TemplateRef<YaDetailTemplateContext<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: YaDetailTemplateContext<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 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 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: YaCellTemplateContext<any, any> = {\n $implicit: params.value,\n value: params.value,\n formattedValue: params.formattedValue,\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 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 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 '@ya-grid/core';\n\nexport interface YaCellTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n $implicit: TValue;\n value: TValue;\n formattedValue: 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[yaCell]',\n standalone: true,\n})\nexport class YaCellDirective<TData = Record<string, unknown>, TValue = unknown> {\n readonly colId = input.required<string>({ alias: 'yaCell' });\n readonly templateRef = inject(TemplateRef<YaCellTemplateContext<TData, TValue>>);\n\n static ngTemplateContextGuard<TData, TValue>(\n _dir: YaCellDirective<TData, TValue>,\n ctx: unknown,\n ): ctx is YaCellTemplateContext<TData, TValue> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, RowNode } from '@ya-grid/core';\n\nexport interface YaDetailTemplateContext<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[yaDetail]',\n standalone: true,\n})\nexport class YaDetailDirective<TData = Record<string, unknown>> {\n /**\n * Optional type-inference binding: pass `[yaDetail]=\"rowData()\"` to get full\n * strict TypeScript inference on `let-row` inside Angular templates.\n */\n readonly yaDetail = input<readonly TData[] | TData | ''>('');\n readonly templateRef = inject(TemplateRef<YaDetailTemplateContext<TData>>);\n\n static ngTemplateContextGuard<TData>(\n _dir: YaDetailDirective<TData>,\n ctx: unknown,\n ): ctx is YaDetailTemplateContext<TData> {\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 CellValueChangedEvent,\n type ColDef,\n type ColumnDefItem,\n type ColumnMovedEvent,\n type ColumnPinnedEvent,\n type ColumnResizedEvent,\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 VirtualizationConfig,\n} from '@ya-grid/core';\nimport { AngularMountAdapter } from './angular-mount-adapter';\nimport { YaCellDirective, type YaCellTemplateContext } from './ya-cell.directive';\nimport { YaDetailDirective } from './ya-detail.directive';\n\n@Component({\n selector: 'ya-grid',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `<div #gridHost class=\"ya-grid-angular-host\"></div>`,\n styles: `\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .ya-grid-angular-host {\n width: 100%;\n height: 100%;\n }\n `,\n})\nexport class YaGridComponent<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(YaCellDirective);\n private readonly detailTemplate = contentChild(YaDetailDirective);\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 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 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 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 rowHeight = 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 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\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 };\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<YaCellTemplateContext<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 detail = this.detailTemplate()?.templateRef ?? null;\n signature.push(detail);\n this.mountAdapter.setTemplates(map);\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 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 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 undoRedoCellEditing: this.undoRedoCellEditing(),\n undoRedoCellEditingLimit: this.undoRedoCellEditingLimit(),\n initialState: this.initialState(),\n initialSortModel: this.initialSortModel(),\n initialFilterModel: this.initialFilterModel(),\n rowHeight: this.rowHeight(),\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 loading: this.loading(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AA0BA,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;IAC5D;AACF;MAEa,mBAAmB,CAAA;AAKX,IAAA,MAAA;AACA,IAAA,WAAA;AALX,IAAA,WAAW,GAAG,IAAI,GAAG,EAAwD;IAC7E,cAAc,GAAqD,IAAI;IAE/E,WAAA,CACmB,MAAsB,EACtB,WAAgC,EAAA;QADhC,IAAA,CAAA,MAAM,GAAN,MAAM;QACN,IAAA,CAAA,WAAW,GAAX,WAAW;IAC3B;AAEH,IAAA,YAAY,CAAC,GAA8D,EAAA;AACzE,QAAA,IAAI,CAAC,WAAW,GAAG,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AA,EAAA,YAAA,EAAA,WAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,aAAA,EAAA,eAAA,EAAA,aAAA,EAAA,eAAA,EAAA,WAAA,EAAA,aAAA,EAAA,YAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,yBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,eAAA,EAAA,SAAA,EAMuB,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EACjB,iBAAiB,sLApBtD,CAAA,kDAAA,CAAoD,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAanD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAjB3B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,cACP,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,YACrC,CAAA,kDAAA,CAAoD,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA;;;AC9DhE;;AAEG;;"}
1
+ {"version":3,"file":"ya-grid-angular.mjs","sources":["../../src/angular-mount-adapter.ts","../../src/ya-cell.directive.ts","../../src/ya-detail.directive.ts","../../src/ya-grid.component.ts","../../src/ya-grid-angular.ts"],"sourcesContent":["import {\n type ApplicationRef,\n type ComponentRef,\n createComponent,\n type EnvironmentInjector,\n reflectComponentType,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport type {\n CellRendererParams,\n ComponentMountAdapter,\n DetailCellRendererParams,\n MountedComponentHandle,\n} from '@ya-grid/core';\nimport type { YaCellTemplateContext } from './ya-cell.directive';\nimport type { YaDetailTemplateContext } from './ya-detail.directive';\n\nexport interface YaCellRendererComponent<TData = Record<string, unknown>, TValue = unknown> {\n params?: CellRendererParams<TData, TValue>;\n}\n\nexport interface YaDetailRendererComponent<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 }\n}\n\nexport class AngularMountAdapter implements ComponentMountAdapter {\n private templateMap = new Map<string, TemplateRef<YaCellTemplateContext<any, any>>>();\n private detailTemplate: TemplateRef<YaDetailTemplateContext<any>> | null = null;\n\n constructor(\n private readonly appRef: ApplicationRef,\n private readonly envInjector: EnvironmentInjector,\n ) {}\n\n setTemplates(map: Map<string, TemplateRef<YaCellTemplateContext<any, any>>>): void {\n this.templateMap = map;\n }\n\n setDetailTemplate(tpl: TemplateRef<YaDetailTemplateContext<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: YaDetailTemplateContext<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 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 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: YaCellTemplateContext<any, any> = {\n $implicit: params.value,\n value: params.value,\n formattedValue: params.formattedValue,\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 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 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 '@ya-grid/core';\n\nexport interface YaCellTemplateContext<TData = Record<string, unknown>, TValue = unknown> {\n $implicit: TValue;\n value: TValue;\n formattedValue: 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[yaCell]',\n standalone: true,\n})\nexport class YaCellDirective<TData = Record<string, unknown>, TValue = unknown> {\n readonly colId = input.required<string>({ alias: 'yaCell' });\n readonly templateRef = inject(TemplateRef<YaCellTemplateContext<TData, TValue>>);\n\n static ngTemplateContextGuard<TData, TValue>(\n _dir: YaCellDirective<TData, TValue>,\n ctx: unknown,\n ): ctx is YaCellTemplateContext<TData, TValue> {\n return true;\n }\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\nimport type { GridApi, RowNode } from '@ya-grid/core';\n\nexport interface YaDetailTemplateContext<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[yaDetail]',\n standalone: true,\n})\nexport class YaDetailDirective<TData = Record<string, unknown>> {\n /**\n * Optional type-inference binding: pass `[yaDetail]=\"rowData()\"` to get full\n * strict TypeScript inference on `let-row` inside Angular templates.\n */\n readonly yaDetail = input<readonly TData[] | TData | ''>('');\n readonly templateRef = inject(TemplateRef<YaDetailTemplateContext<TData>>);\n\n static ngTemplateContextGuard<TData>(\n _dir: YaDetailDirective<TData>,\n ctx: unknown,\n ): ctx is YaDetailTemplateContext<TData> {\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 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 VirtualizationConfig,\n} from '@ya-grid/core';\nimport { AngularMountAdapter } from './angular-mount-adapter';\nimport { YaCellDirective, type YaCellTemplateContext } from './ya-cell.directive';\nimport { YaDetailDirective } from './ya-detail.directive';\n\n@Component({\n selector: 'ya-grid',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `<div #gridHost class=\"ya-grid-angular-host\"></div>`,\n styles: `\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n .ya-grid-angular-host {\n width: 100%;\n height: 100%;\n }\n `,\n})\nexport class YaGridComponent<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(YaCellDirective);\n private readonly detailTemplate = contentChild(YaDetailDirective);\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 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 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 rowHeight = 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 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\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 };\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<YaCellTemplateContext<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 detail = this.detailTemplate()?.templateRef ?? null;\n signature.push(detail);\n this.mountAdapter.setTemplates(map);\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 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 undoRedoCellEditing: this.undoRedoCellEditing(),\n undoRedoCellEditingLimit: this.undoRedoCellEditingLimit(),\n initialState: this.initialState(),\n initialSortModel: this.initialSortModel(),\n initialFilterModel: this.initialFilterModel(),\n rowHeight: this.rowHeight(),\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 loading: this.loading(),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA0BA,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,M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A,EAMuB,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EACjB,iBAAiB,sLApBtD,CAAA,kDAAA,CAAoD,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAanD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAjB3B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,cACP,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,YACrC,CAAA,kDAAA,CAAoD,EAAA,MAAA,EAAA,CAAA,4FAAA,CAAA,EAAA;;;AC/DhE;;AAEG;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ya-grid/angular",
3
- "version": "0.3.1",
3
+ "version": "0.5.0",
4
4
  "description": "Modern Angular (v18+, Signals, zoneless) adapter for YA-Grid",
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
- "@ya-grid/core": "0.3.1"
34
+ "@ya-grid/core": "0.5.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@angular/common": ">=18.0.0",
package/public-api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export type { AggFunc, AggFuncParams, BuiltInAggFunc, CellClassParams, CellClickedEvent, CellEditorParams, CellEditorType, CellRenderer, CellRendererParams, CellValidatorParams, CellValueChangedEvent, ColDef, ColGroupDef, ColumnDefItem, ColumnFilterModel, ColumnMovedEvent, ColumnPinnedEvent, ColumnResizedEvent, ColumnStateItem, ColumnVisibilityChangedEvent, CsvExportParams, DetailCellRenderer, DetailCellRendererParams, EditableParams, FilterChangedEvent, FilterModel, FilterType, GlobalSearchConfig, GridApi, GridDensity, GridOptions, GridReadyEvent, GridState, GridThemeMode, HeaderGroupMeta, PaginationChangedEvent, PaginationState, PinnedDirection, PinnedSummaryConfig, ResolvedColDef, ResponsivePinningConfig, RowClickedEvent, RowDataTransaction, RowDataTransactionResult, RowDetailToggledEvent, RowModelType, RowNode, RowSelectionConfig, SelectionChangedEvent, ServerSideDatasource, ServerSideGetRowsRequest, ServerSideGetRowsResult, SortChangedEvent, SortDirection, SortModelItem, StateChangedEvent, ValueParserParams, ValueSetterParams, VirtualizationConfig, } from '@ya-grid/core';
1
+ export type { ActionButtonDef, ActionButtonParams, ActionButtonTone, ActionButtonVariant, ActionsColumnOptions, AggFunc, AggFuncParams, BadgeColumnOptions, BadgeStyleConfig, BadgeTone, BarColumnOptions, BarColumnThresholds, BooleanColumnOptions, BuiltInActionIcon, BuiltInAggFunc, CellClassParams, CellClickedEvent, CellEditorParams, CellEditorType, CellRenderer, CellRendererParams, CellValidatorParams, CellValueChangedEvent, ColDef, ColGroupDef, ColumnDefItem, ColumnFilterModel, ColumnMovedEvent, ColumnPinnedEvent, ColumnResizedEvent, ColumnStateItem, ColumnTypeDef, ColumnVisibilityChangedEvent, CsvExportParams, CurrencyColumnOptions, DetailCellRenderer, DetailCellRendererParams, EditableParams, FilterChangedEvent, FilterModel, FilterType, GlobalSearchConfig, GridApi, GridDensity, GridOptions, GridReadyEvent, GridState, GridThemeMode, HeaderGroupMeta, PaginationChangedEvent, PaginationState, PercentColumnOptions, PinnedDirection, PinnedSummaryConfig, ResolvedColDef, ResponsivePinningConfig, RowClickedEvent, RowDataTransaction, RowDataTransactionResult, RowDetailToggledEvent, RowModelType, RowNode, RowSelectionConfig, SelectionChangedEvent, ServerSideDatasource, ServerSideGetRowsRequest, ServerSideGetRowsResult, SortChangedEvent, SortDirection, SortModelItem, SparklineColumnOptions, StateChangedEvent, ValueParserParams, ValueSetterParams, VirtualizationConfig, } from '@ya-grid/core';
2
+ export { actionsColumn, badgeColumn, barColumn, booleanColumn, createBuiltInColumnTypes, currencyColumn, percentColumn, sparklineColumn, } from '@ya-grid/core';
2
3
  export { AngularMountAdapter, type YaCellRendererComponent, type YaDetailRendererComponent, } from './angular-mount-adapter';
3
4
  export { YaCellDirective, type YaCellTemplateContext } from './ya-cell.directive';
4
5
  export { YaDetailDirective, type YaDetailTemplateContext } from './ya-detail.directive';
@@ -10,6 +10,7 @@ export declare class YaGridComponent<TData = Record<string, unknown>> {
10
10
  readonly rowData: import("@angular/core").InputSignal<TData[]>;
11
11
  readonly columnDefs: import("@angular/core").InputSignal<ColumnDefItem<TData>[]>;
12
12
  readonly defaultColDef: import("@angular/core").InputSignal<Partial<ColDef<TData, any>>>;
13
+ readonly columnTypes: import("@angular/core").InputSignal<Record<string, Partial<ColDef<TData, any>>>>;
13
14
  readonly getRowId: import("@angular/core").InputSignal<(params: {
14
15
  data: TData;
15
16
  index: number;
@@ -75,5 +76,5 @@ export declare class YaGridComponent<TData = Record<string, unknown>> {
75
76
  private syncTemplateMap;
76
77
  private buildOptions;
77
78
  static ɵfac: i0.ɵɵFactoryDeclaration<YaGridComponent<any>, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<YaGridComponent<any>, "ya-grid", never, { "rowData": { "alias": "rowData"; "required": false; "isSignal": true; }; "columnDefs": { "alias": "columnDefs"; "required": false; "isSignal": true; }; "defaultColDef": { "alias": "defaultColDef"; "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; }; "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; }; "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; }; "rowHeight": { "alias": "rowHeight"; "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; }; "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"; }, ["cellTemplates", "detailTemplate"], never, true, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<YaGridComponent<any>, "ya-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; }; "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; }; "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; }; "rowHeight": { "alias": "rowHeight"; "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; }; "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"; }, ["cellTemplates", "detailTemplate"], never, true, never>;
79
80
  }