@nanahoshi/mona-ui 0.41.0 → 0.43.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.
Files changed (154) hide show
  1. package/README.md +2 -0
  2. package/docs/api/alert.json +1 -0
  3. package/docs/api/auto-complete.json +1 -0
  4. package/docs/api/auto-complete.md +2 -0
  5. package/docs/api/avatar.json +1 -0
  6. package/docs/api/badge.json +1 -0
  7. package/docs/api/breadcrumb.json +1 -0
  8. package/docs/api/button-group.json +1 -0
  9. package/docs/api/button.json +1 -0
  10. package/docs/api/calendar.json +1 -0
  11. package/docs/api/card.json +1 -0
  12. package/docs/api/chart.json +1 -0
  13. package/docs/api/check-box.json +1 -0
  14. package/docs/api/chip.json +1 -0
  15. package/docs/api/circular-progress-bar.json +1 -0
  16. package/docs/api/collapsible.json +1 -0
  17. package/docs/api/color-gradient.json +1 -0
  18. package/docs/api/color-palette.json +1 -0
  19. package/docs/api/color-picker.json +1 -0
  20. package/docs/api/combo-box.json +1 -0
  21. package/docs/api/combo-box.md +2 -0
  22. package/docs/api/command.json +1 -0
  23. package/docs/api/common.json +1 -0
  24. package/docs/api/contextmenu.json +1 -0
  25. package/docs/api/date-input.json +1 -0
  26. package/docs/api/date-picker.json +1 -0
  27. package/docs/api/date-range-picker.json +1 -0
  28. package/docs/api/datetime-picker.json +1 -0
  29. package/docs/api/dialog.json +1 -0
  30. package/docs/api/dropdown-button.json +1 -0
  31. package/docs/api/dropdown-list.json +1 -0
  32. package/docs/api/dropdown-tree.json +1 -0
  33. package/docs/api/dropdowns.json +1 -0
  34. package/docs/api/dropdowns.md +3 -1
  35. package/docs/api/editor.json +1 -0
  36. package/docs/api/expansion-panel.json +1 -0
  37. package/docs/api/fieldset.json +1 -0
  38. package/docs/api/file-upload.json +1 -0
  39. package/docs/api/filter.json +1 -0
  40. package/docs/api/form-field.json +1 -0
  41. package/docs/api/grid.json +1 -0
  42. package/docs/api/i18n.json +1 -0
  43. package/docs/api/i18n.md +20 -0
  44. package/docs/api/index.json +1 -0
  45. package/docs/api/kanban.json +1 -0
  46. package/docs/api/label.json +1 -0
  47. package/docs/api/list-box.json +1 -0
  48. package/docs/api/list-view.json +1 -0
  49. package/docs/api/list.json +1 -0
  50. package/docs/api/locales.json +1 -0
  51. package/docs/api/locales.md +14 -14
  52. package/docs/api/masked-text-box.json +1 -0
  53. package/docs/api/menubar.json +1 -0
  54. package/docs/api/multi-select-tree.json +1 -0
  55. package/docs/api/multi-select.json +1 -0
  56. package/docs/api/notification.json +1 -0
  57. package/docs/api/numeric-text-box.json +1 -0
  58. package/docs/api/otp-input.json +1 -0
  59. package/docs/api/pager.json +1 -0
  60. package/docs/api/placeholder.json +1 -0
  61. package/docs/api/popover.json +1 -0
  62. package/docs/api/popup-menu.json +1 -0
  63. package/docs/api/popup.json +1 -0
  64. package/docs/api/progress-bar.json +1 -0
  65. package/docs/api/qr-code.json +1 -0
  66. package/docs/api/query.json +1 -0
  67. package/docs/api/radio-button.json +1 -0
  68. package/docs/api/rating.json +1 -0
  69. package/docs/api/scroll-view.json +1 -0
  70. package/docs/api/segmented.json +1 -0
  71. package/docs/api/separator.json +1 -0
  72. package/docs/api/sheet.json +1 -0
  73. package/docs/api/sidebar.json +1 -0
  74. package/docs/api/skeleton.json +1 -0
  75. package/docs/api/slider.json +1 -0
  76. package/docs/api/sortable.json +1 -0
  77. package/docs/api/sparkline.json +1 -0
  78. package/docs/api/sparkline.md +85 -0
  79. package/docs/api/spinner.json +1 -0
  80. package/docs/api/split-button.json +1 -0
  81. package/docs/api/splitter.json +1 -0
  82. package/docs/api/stepper.json +1 -0
  83. package/docs/api/switch.json +1 -0
  84. package/docs/api/tabs.json +1 -0
  85. package/docs/api/text-area.json +1 -0
  86. package/docs/api/text-box.json +1 -0
  87. package/docs/api/theme.json +1 -0
  88. package/docs/api/time-picker.json +1 -0
  89. package/docs/api/time-selector.json +1 -0
  90. package/docs/api/toolbar.json +1 -0
  91. package/docs/api/tooltip.json +1 -0
  92. package/docs/api/tree-view.json +1 -0
  93. package/docs/api/window.json +1 -0
  94. package/docs/auto-complete.md +64 -0
  95. package/docs/combo-box.md +65 -0
  96. package/docs/installation.md +8 -0
  97. package/docs/manifest.json +1 -0
  98. package/docs/sparkline.md +303 -0
  99. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +95 -30
  100. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +58 -5
  101. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +64 -29
  102. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +39 -0
  103. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +5 -0
  104. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +5 -0
  105. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +5 -0
  106. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +5 -0
  107. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +5 -0
  108. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +5 -0
  109. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +5 -0
  110. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +5 -0
  111. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +25 -0
  112. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +5 -0
  113. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +25 -0
  114. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +5 -0
  115. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +5 -0
  116. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +5 -0
  117. package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +573 -0
  118. package/i18n/catalogs/en-US.messages.json +5 -0
  119. package/llms.txt +3 -1
  120. package/locales/ar-sa/ar-sa.messages.json +5 -0
  121. package/locales/de-de/de-de.messages.json +5 -0
  122. package/locales/es-es/es-es.messages.json +5 -0
  123. package/locales/fr-fr/fr-fr.messages.json +5 -0
  124. package/locales/id-id/id-id.messages.json +5 -0
  125. package/locales/it-it/it-it.messages.json +5 -0
  126. package/locales/ja-jp/ja-jp.messages.json +5 -0
  127. package/locales/ko-kr/ko-kr.messages.json +5 -0
  128. package/locales/pl-pl/pl-pl.messages.json +5 -0
  129. package/locales/pt-br/pt-br.messages.json +5 -0
  130. package/locales/ru-ru/ru-ru.messages.json +5 -0
  131. package/locales/tr-tr/tr-tr.messages.json +5 -0
  132. package/locales/zh-cn/zh-cn.messages.json +5 -0
  133. package/locales/zh-tw/zh-tw.messages.json +5 -0
  134. package/package.json +5 -1
  135. package/sparkline/package.json +4 -0
  136. package/types/nanahoshi-mona-ui-auto-complete.d.ts +42 -1
  137. package/types/nanahoshi-mona-ui-combo-box.d.ts +37 -1
  138. package/types/nanahoshi-mona-ui-dropdowns.d.ts +54 -4
  139. package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
  140. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +5 -0
  141. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +5 -0
  142. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +5 -0
  143. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +5 -0
  144. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +5 -0
  145. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +5 -0
  146. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +5 -0
  147. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +5 -0
  148. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +5 -0
  149. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +5 -0
  150. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +5 -0
  151. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +5 -0
  152. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +5 -0
  153. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +5 -0
  154. package/types/nanahoshi-mona-ui-sparkline.d.ts +228 -0
@@ -0,0 +1 @@
1
+ {"links":{"AggregateFunction":"grid","CellEditEvent":"grid","Column":"grid","ColumnConfig":"grid","ColumnFormat":"grid","ColumnFormatFunction":"grid","ColumnGroup":"grid","ColumnKind":"grid","ColumnReorderEvent":"grid","ColumnResizeEvent":"grid","ColumnSortComparator":"grid","ColumnSortEvent":"grid","CompositeFilterDescriptor":"query","DataType":"common","DropdownFilterableDirective":"dropdowns","DropdownGroupableDirective":"dropdowns","EditableOptions":"grid","FilterLogic":"query","FilterOperators":"query","FilterableOptions":"grid","GRID_DEFAULT_MESSAGES":"grid","GridAddCommandDirective":"grid","GridAddEvent":"grid","GridCancelCommandDirective":"grid","GridCancelEvent":"grid","GridCancelReason":"grid","GridCellRange":"grid","GridCellTemplateDirective":"grid","GridColumnComponent":"grid","GridColumnGroupComponent":"grid","GridColumnLockedPosition":"grid","GridColumnState":"grid","GridColumnTitleTemplateDirective":"grid","GridCommandColumnComponent":"grid","GridComponent":"grid","GridContextMenuDirective":"grid","GridDataState":"grid","GridDetailTemplateDirective":"grid","GridEditCommandDirective":"grid","GridEditEvent":"grid","GridEditFormContext":"grid","GridEditOperation":"grid","GridEditSchemaFactory":"grid","GridEditSession":"grid","GridEditTemplateContext":"grid","GridEditTemplateDirective":"grid","GridEditableDirective":"grid","GridExportDirective":"grid","GridFilterableDirective":"grid","GridFooterTemplateDirective":"grid","GridGroupFooterTemplateDirective":"grid","GridGroupableDirective":"grid","GridHeaderTemplateDirective":"grid","GridKeySelector":"grid","GridNoDataTemplateDirective":"grid","GridPdfExportOptions":"grid","GridPdfFont":"grid","GridPdfFontSource":"grid","GridPdfPaperSize":"grid","GridRangePasteChange":"grid","GridRangePasteEvent":"grid","GridRangeSelectableDirective":"grid","GridRemoveCommandDirective":"grid","GridRemoveEvent":"grid","GridReorderableDirective":"grid","GridResizableDirective":"grid","GridRowClass":"grid","GridRowClassValue":"grid","GridRowCommand":"grid","GridRowReorderableDirective":"grid","GridSaveCommandDirective":"grid","GridSaveEvent":"grid","GridSaveOperation":"grid","GridSelectableDirective":"grid","GridServerBindingDirective":"grid","GridSortableDirective":"grid","GridState":"grid","GridStateCompositeFilterDescriptor":"grid","GridStateFilterDescriptor":"grid","GridStateFilterValue":"grid","GridStateLoadResult":"grid","GridStateLoadStatus":"grid","GridStatePersistenceDirective":"grid","GridStatePersistenceOptions":"grid","GridStateSortDescriptor":"grid","GridStateVersion":"grid","GridToolbarContext":"grid","GridToolbarTemplateContext":"grid","GridToolbarTemplateDirective":"grid","GridTreeChildren":"grid","GridTreeDirective":"grid","GridVirtualScrollDirective":"grid","GroupDescriptor":"grid","GroupableOptions":"grid","ListViewGroupableDirective":"list-view","ListViewSelectableDirective":"list-view","PageChangeEvent":"pager","PreventableEvent":"common","ReorderableOptions":"grid","ResizableOptions":"grid","ResizeMethod":"grid","Row":"grid","RowEditEvent":"grid","RowReorderEvent":"grid","RowReorderableOptions":"grid","SelectableOptions":"grid","SortDescriptor":"query","SortDirection":"query","SortableOptions":"grid","TreeViewFilterableDirective":"tree-view","TreeViewSelectableDirective":"tree-view","VirtualScrollOptions":"common"},"name":"grid","pages":[{"path":"grid","title":"Grid Overview"},{"path":"grid-sorting-filtering","title":"Sorting & Filtering"},{"path":"grid-grouping","title":"Grouping & Aggregates"},{"path":"grid-tree","title":"Tree List"},{"path":"grid-selection","title":"Selection"},{"path":"grid-editing","title":"Editing"},{"path":"grid-columns","title":"Columns"},{"path":"grid-rows","title":"Rows"},{"path":"grid-server","title":"Server Binding & Virtualization"},{"path":"grid-state-export","title":"State & Export"}],"symbols":[{"description":"","kind":"component","name":"GridColumnComponent","selector":"mona-grid-column","inputs":[{"defaultValue":"null","description":"The aggregate shown in the grid footer for this column.","name":"aggregate","type":"AggregateFunction | null"},{"defaultValue":"null","description":"Whether this column is editable when the grid is in edit mode. Left unset, every column is\neditable except the one whose `field` is the grid's `rowKey`.","name":"editable","type":"boolean | null"},{"defaultValue":"false","description":"In a tree grid (`monaGridTree`), whether this column shows the expand toggles and indents its\ncells by each row's level. Without it on any column, the first visible data column does.","name":"expandable","type":"boolean"},{"defaultValue":"\"\"","description":"The field name of the data property to display in this column.","name":"field","type":"string"},{"defaultValue":"true","description":"Whether this column can be filtered when grid filtering is enabled. Has no effect if filtering is disabled on the grid.","name":"filterable","type":"boolean"},{"description":"Formats the displayed cell value. String formats apply to date columns and their date filters; formatter functions replace the cell text.","name":"format","type":"ColumnFormat | null"},{"defaultValue":"false","description":"Whether this column is hidden from the rendered grid.","name":"hidden","type":"boolean"},{"defaultValue":"false","description":"Whether this column remains fixed while the grid scrolls horizontally.","name":"locked","type":"boolean"},{"defaultValue":"\"left\"","description":"The side of the grid where this locked column is fixed.","name":"lockedPosition","type":"GridColumnLockedPosition"},{"defaultValue":"null","description":"The maximum width of this column in pixels.","name":"maxWidth","type":"number | null"},{"defaultValue":"40","description":"The minimum width of this column in pixels.","name":"minWidth","type":"number"},{"defaultValue":"true","description":"Whether this column can be sorted through its header when grid sorting is enabled. Has no effect if sorting is disabled on the grid.","name":"sortable","type":"boolean"},{"defaultValue":"null","description":"Compares two values of this column when the user sorts it, returning a negative number, zero\nor a positive number. Without it, values sort by type (empty values first) and strings by the locale.","name":"sortComparator","type":"ColumnSortComparator | null"},{"defaultValue":"null","description":"A stable key used to persist state for columns whose field is empty or unstable.","name":"stateKey","type":"string | null"},{"defaultValue":"\"\"","description":"The title displayed in the column header.","name":"title","type":"string"},{"defaultValue":"\"string\"","description":"The data type of the column. Determines the edit component and filter behavior.","name":"type","type":"DataType"},{"description":"The fixed width of this column in pixels. If not set, the column width is calculated automatically.","name":"width","type":"number | null"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"component","name":"GridComponent","selector":"mona-grid","typeParameters":["T"],"inputs":[{"alias":"aria-label","defaultValue":"null","description":"The grid's accessible name, such as \"Orders\". Use it, or `aria-labelledby`. The grid moves\nthe name to its `role=\"grid\"` element, so the host keeps no `aria-label` attribute.","name":"ariaLabel","type":"string | null"},{"alias":"aria-labelledby","defaultValue":"null","description":"The id of the element that names the grid, such as a heading above it.","name":"ariaLabelledBy","type":"string | null"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"[]","description":"The row data to be displayed in the grid.","name":"data","type":"Iterable<T>"},{"defaultValue":"[]","description":"Keys of the rows whose detail row is open: `rowKey` values, or the data items when the grid\nhas no `rowKey`. Supports two-way binding; `expandedKeysChange` emits when the user opens or closes one.","name":"expandedKeys","twoWay":true,"type":"unknown[]"},{"description":"The number of items to be displayed on a page. Values that aren't positive integers are\nignored. A new size keeps the first row of the current page in view. Supports two-way binding.","name":"pageSize","twoWay":true,"type":"number"},{"defaultValue":"[]","description":"The page sizes that the user can select from.\nThese values will be displayed in the page size dropdown.","name":"pageSizeValues","type":"number[]"},{"defaultValue":"\"fitView\"","description":"The method to be used to set initial column widths.\nIt can be the following values:\n- `fitView`: The columns will be resized to fit the available width.\n- `auto`: The columns will be resized based on the content.\n- A number representing the width of the columns. All columns except the columns with a specified width\n will have the same width.","name":"resizeMethod","type":"ResizeMethod"},{"defaultValue":"true","description":"Whether the pager is responsive.\nIf set to `true`, the pager will be displayed as a dropdown when the grid width gets smaller.","name":"responsivePager","type":"boolean"},{"defaultValue":"\"medium\"","description":"The border radius of the grid.","name":"rounded","type":"\"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"null","description":"Returns extra CSS classes for the data row that shows an item, merged onto the row's own\nclasses via `tailwind-merge`. It runs again whenever the item's row is rebound.\nGroup, group footer and detail rows are not affected.\n\nTo dim a row, prefer a text style such as `text-muted-foreground` over `opacity`: locked cells stay\nopaque so scrolled cells pass beneath them, and opacity on the row or its cells would let those show through.","name":"rowClass","type":"GridRowClass<T> | null"},{"defaultValue":"null","description":"Field name or selector used to derive a stable identity for each row.\nThe resolved value must be unique within the grid data.","name":"rowKey","type":"GridKeySelector<unknown> | null"},{"defaultValue":"0","description":"The number of rows before the current page, in client paging. Supports two-way binding. With\n`monaGridServerBinding`, the directive's `skip` sets the page and this model reports user changes.","name":"skip","twoWay":true,"type":"number"}],"methods":[],"outputs":[{"description":"Emitted when the user changes the page or the page size, when the user's sort or filter moves a\nclient-side grid back to the first page, and when the grid moves back to the last page because the data shrank.\nNot emitted for `skip` or `pageSize` values set from code.","name":"pageChange","type":"PageChangeEvent"}],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"component","name":"GridCommandColumnComponent","selector":"mona-grid-command-column","inputs":[{"defaultValue":"false","description":"Whether this command column is hidden from the rendered grid.","name":"hidden","type":"boolean"},{"defaultValue":"false","description":"Whether this command column remains fixed while the grid scrolls horizontally.","name":"locked","type":"boolean"},{"defaultValue":"\"left\"","description":"The side of the grid where this locked command column is fixed.","name":"lockedPosition","type":"GridColumnLockedPosition"},{"defaultValue":"null","description":"The maximum width of this command column in pixels.","name":"maxWidth","type":"number | null"},{"defaultValue":"null","description":"The minimum width of this command column in pixels.","name":"minWidth","type":"number | null"},{"defaultValue":"false","description":"Whether removing a row asks for confirmation before emitting `remove`: from the built-in Remove button, or from a\n`monaGridRemoveCommand` button in this column's template.","name":"removeConfirmation","type":"boolean"},{"defaultValue":"\"commands\"","description":"A stable key used to persist state for this command column.","name":"stateKey","type":"string | null"},{"defaultValue":"null","description":"The title displayed in the command column header. Without one, the localized\n`commandColumnTitle` message (\"Commands\").","name":"title","type":"string | null"},{"defaultValue":"160","description":"The fixed width of this command column in pixels.","name":"width","type":"number | null"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"Puts a header over the `mona-grid-column`s and `mona-grid-command-column`s inside it. Groups nest: each level adds a\nheader row above the column headers.","kind":"component","name":"GridColumnGroupComponent","selector":"mona-grid-column-group","inputs":[{"defaultValue":"\"\"","description":"The text shown in the group's header, which also names it for assistive technologies.","name":"title","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-columns","title":"Columns"}},{"description":"","kind":"directive","name":"GridEditableDirective","selector":"mona-grid[monaGridEditable]","typeParameters":["T extends object = Record<PropertyKey, unknown>"],"inputs":[{"alias":"monaGridEditable","defaultValue":"\"\"","description":"Enables inline editing. An empty string enables cell-mode editing with default settings; pass an\nobject to choose `\"cell\"` or `\"row\"` mode and an optional validation `schema`.","name":"options","type":"EditableOptions<T> | \"\""},{"description":"Creates the initial data object used by the add-row editor.","name":"newRowFactory","type":"() => T"}],"methods":[{"description":"Closes the current edit without reporting it, such as after a `save` that was prevented to save on the\nserver has finished.","name":"endEdit","signature":"endEdit(): void"}],"outputs":[{"description":"Emitted before the grid displays the new-row editor.","name":"add","type":"GridAddEvent"},{"description":"Emitted before an edit operation is canceled; `reason` says why. Prevent it to keep editing,\nexcept for `\"removed\"`, when the edited row left the data or the view.","name":"cancel","type":"GridCancelEvent"},{"description":"Emitted before a changed cell is saved in cell mode; not when the value didn't change.\n`rowData` is the row as it was; persist from `save`, whose `rowData` holds the edited values.","name":"cellEdit","type":"CellEditEvent"},{"description":"Emitted before a row enters edit mode.","name":"edit","type":"GridEditEvent"},{"description":"Emitted when a row remove command is triggered, with the row's `key` and `index`.","name":"remove","type":"GridRemoveEvent"},{"description":"Emitted after a changed row is saved (row mode only).","name":"rowEdit","type":"RowEditEvent"},{"description":"Emitted before an edited or new row is saved; not when an edit changed nothing. `rowData`\nholds the edited values and `originalRowData` the row as it was. Prevent it to keep the editor open,\nfor example while saving on the server, then call `endEdit()`.","name":"save","type":"GridSaveEvent<T>"}],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"Shows the grid's rows as a tree: each row can have child rows, shown below it, indented, when it's expanded.\nGive either `children`, for data items that hold their children, or `parentKey`, for flat data whose items\nname their parent's `rowKey` value.","exportAs":"monaGridTree","kind":"directive","name":"GridTreeDirective","selector":"mona-grid[monaGridTree]","typeParameters":["T = Record<PropertyKey, unknown>"],"inputs":[{"defaultValue":"\"\"","description":"The field holding a data item's child items, or a function returning them. Use it when the\ngrid's `data` holds the root items and each item holds its children.","name":"children","type":"GridTreeChildren<T> | \"\""},{"defaultValue":"\"\"","description":"The parent key of each data item: the field holding the `rowKey` value of its parent, or a\nfunction returning it. Use it when the grid's `data` is flat; the grid needs a `rowKey`. An item whose parent\nisn't in the data is a root.","name":"parentKey","type":"GridKeySelector<T>"},{"defaultValue":"[]","description":"The keys of the expanded tree rows: their `rowKey` values, or the data items when the grid has\nno `rowKey`. Rows start collapsed. It's apart from the grid's own `expandedKeys`, which opens detail rows.","name":"treeExpandedKeys","type":"Iterable<unknown>"}],"methods":[{"description":"Collapses every row, and emits `treeExpandedKeysChange`.","name":"collapseAll","signature":"collapseAll(): void"},{"description":"Expands every row that has children, so the whole tree shows, and emits `treeExpandedKeysChange`.","name":"expandAll","signature":"expandAll(): void"}],"outputs":[{"description":"Emitted with every expanded tree row's key when the user expands or collapses a row, and when\nfiltering expands the rows above its matches. Not emitted for a `treeExpandedKeys` value set from code.","name":"treeExpandedKeysChange","type":"unknown[]"}],"properties":[],"page":{"path":"grid-tree","title":"Tree List"}},{"description":"Lets the user select a rectangle of cells: drag across them with the mouse, Shift+click the far corner, or extend\nfrom the focused cell with Shift and the arrow keys. Ctrl+A selects every cell and Escape clears the range.\nCtrl+C copies the range as tab-separated text, which spreadsheets paste as cells. With `monaGridEditable`, Ctrl+V\npastes such text from the focused cell, or from the range's first cell, and `rangePaste` reports what changes.","exportAs":"monaGridRangeSelectable","kind":"directive","name":"GridRangeSelectableDirective","selector":"mona-grid[monaGridRangeSelectable]","typeParameters":["T = Record<PropertyKey, unknown>"],"inputs":[{"alias":"monaGridRangeSelectable","defaultValue":"true","description":"Turns range selection on; `false` turns it off.","name":"enabled","type":"boolean"}],"methods":[{"description":"Clears the selected range.","name":"clearRange","signature":"clearRange(): void"},{"description":"Selects every cell of the current page, or of the whole view in a virtual grid.","name":"selectAll","signature":"selectAll(): void"}],"outputs":[{"description":"Emitted when the user changes the selected range, with the data items of its rows and the\nfields of its columns, and with `null` when the range is cleared.","name":"rangeChange","type":"GridCellRange<T> | null"},{"description":"Emitted after a paste into the cells, with each changed row's data as it was and with the pasted\nvalues. The grid doesn't change its data: save `rowData` as you would an edit. Only editable columns take\nvalues, and only text that fits the column's type.","name":"rangePaste","type":"GridRangePasteEvent<T>"}],"properties":[],"page":{"path":"grid-selection","title":"Selection"}},{"description":"","kind":"directive","name":"GridSelectableDirective","selector":"mona-grid[monaGridSelectable]","inputs":[{"alias":"monaGridSelectable","defaultValue":"\"\"","description":"Enables row selection on the grid. Pass a `SelectableOptions` object to configure single or multiple selection mode. Selection is on unless the object sets `enabled: false`.","name":"options","type":"SelectableOptions | \"\""},{"defaultValue":"\"\"","description":"Field name or function that gives a row's selection key. Without it, rows are selected by the\ngrid's `rowKey` value, or by the data item when there's no `rowKey`.","name":"selectBy","type":"GridKeySelector<unknown>"},{"defaultValue":"[]","description":"Currently selected row keys.","name":"selectedKeys","type":"Iterable<unknown>"}],"methods":[],"outputs":[{"description":"Emitted when the user changes the selection. Not emitted for a `selectedKeys` value set from code.","name":"selectedKeysChange","type":"unknown[]"}],"properties":[],"page":{"path":"grid-selection","title":"Selection"}},{"description":"","kind":"directive","name":"GridServerBindingDirective","selector":"mona-grid[monaGridServerBinding]","inputs":[{"defaultValue":"false","description":"Shows a loading overlay while the application requests server data.","name":"loading","type":"boolean"},{"defaultValue":"0","description":"Zero-based offset of the supplied server page. External changes do not request data.","name":"skip","type":"number"},{"description":"Total matching server records before paging. Must be a non-negative integer.","name":"total","required":true,"type":"number"}],"methods":[],"outputs":[{"description":"Emitted once per user paging, sorting, or filtering action with the requested server state.","name":"dataStateChange","type":"GridDataState"}],"properties":[],"page":{"path":"grid-server","title":"Server Binding & Virtualization"}},{"description":"","exportAs":"monaGridStatePersistence","kind":"directive","name":"GridStatePersistenceDirective","selector":"mona-grid[monaGridStatePersistence]","inputs":[{"alias":"monaGridStatePersistence","defaultValue":"\"\"","description":"State persistence options such as schema version and page size persistence.","name":"options","type":"GridStatePersistenceOptions | \"\""},{"defaultValue":"null","description":"The persisted grid state to apply and update when the grid state changes.","name":"state","twoWay":true,"type":"GridState | null"}],"methods":[{"description":"Captures the grid's current state (columns, sort, filter, group) without waiting for the next change cycle.","name":"captureState","signature":"captureState(): GridState"},{"description":"Applies a previously captured state to the grid. A state that isn't well formed (a missing array, a duplicate\ncolumn id, an unknown filter operator, a page size or width that isn't a positive number) returns\n`rejected-invalid` and changes nothing.","name":"loadState","signature":"loadState(state: GridState | null, options: GridStatePersistenceOptions = this.#resolveOptions()): GridStateLoadResult"}],"outputs":[],"properties":[],"page":{"path":"grid-state-export","title":"State & Export"}},{"description":"","exportAs":"monaGridExport","kind":"directive","name":"GridExportDirective","selector":"mona-grid[monaGridExport]","inputs":[],"methods":[{"description":"Exports the visible columns of the current view as CSV (only the loaded page with server binding).","name":"exportCsv","signature":"exportCsv(filename?: string): void"},{"description":"Exports the same rows and columns as `exportCsv` as an Excel workbook (`.xlsx`), with column groups as merged\nheader cells and values that keep their types. Resolves once the download has started.","name":"exportExcel","signature":"exportExcel(filename?: string): Promise<void>"},{"description":"Exports the same rows and columns as `exportCsv` as a PDF table, with the column groups and titles at the top\nof every page and cells as the grid shows them. Pass a file name, or options for the paper, a title and a\nTrueType font for scripts Helvetica can't show, such as Chinese, Japanese or Korean. Resolves once the download\nhas started; rejects when the font can't be read.","name":"exportPdf","signature":"exportPdf(options?: GridPdfExportOptions | string): Promise<void>"}],"outputs":[],"properties":[],"page":{"path":"grid-state-export","title":"State & Export"}},{"description":"","kind":"directive","name":"GridSortableDirective","selector":"mona-grid[monaGridSortable]","inputs":[{"alias":"monaGridSortable","defaultValue":"\"\"","description":"Enables column sorting on the grid. Pass a `SortableOptions` object to configure sort mode, unsort behavior, or sort-index display. Sorting is on unless the object sets `enabled: false`.","name":"options","type":"SortableOptions | \"\""},{"defaultValue":"[]","description":"Current sort descriptors applied to the grid. Descriptors are kept even when no column shows\nthe field, and a repeated field keeps its last descriptor. Supports two-way binding; a restored grid\nstate updates it too.","name":"sort","twoWay":true,"type":"SortDescriptor[]"}],"methods":[],"outputs":[{"description":"Emitted when a column header is activated to change its sort direction. Call `preventDefault()` on the event to cancel the sort.","name":"columnSort","type":"ColumnSortEvent"}],"properties":[],"page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"}},{"description":"","kind":"directive","name":"GridVirtualScrollDirective","selector":"mona-grid[monaGridVirtualScroll]","inputs":[{"alias":"monaGridVirtualScroll","defaultValue":"undefined","description":"Enables row virtualization on the grid. Pass a `VirtualScrollOptions` object to configure the fixed row height.","name":"options","type":"Partial<VirtualScrollOptions> | \"\" | undefined"},{"defaultValue":"5","description":"Distance, in rows, from the bottom of the virtualized list at which `scrollEnd` is emitted.","name":"scrollEndThreshold","type":"number"}],"methods":[],"outputs":[{"description":"Emitted when the scroll position reaches the configured threshold from the bottom of the virtualized list.","name":"scrollEnd","type":"void"}],"properties":[],"page":{"path":"grid-server","title":"Server Binding & Virtualization"}},{"description":"","kind":"directive","name":"GridFilterableDirective","selector":"mona-grid[monaGridFilterable]","inputs":[{"defaultValue":"[]","description":"Current filter descriptors applied to the grid. Conditions on one field show in that column's\nfilter menu (repeated fields are combined with `and`); filters across fields, such as an `or` of two\ncolumns, are still applied and reported. Conditions with an unknown operator are ignored. Supports\ntwo-way binding.","name":"filter","twoWay":true,"type":"CompositeFilterDescriptor[]"},{"alias":"monaGridFilterable","defaultValue":"\"\"","description":"Enables column filtering on the grid. Pass a `FilterableOptions` object to configure whether filters render in the header menu, a filter row, or both. Filtering is on unless the object sets `enabled: false`.","name":"options","type":"Partial<FilterableOptions> | \"\""}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"}},{"description":"","kind":"directive","name":"GridGroupableDirective","selector":"mona-grid[monaGridGroupable]","inputs":[{"defaultValue":"[]","description":"Current group descriptors applied to the grid. A repeated field keeps its last descriptor;\na field without a column is grouped once its column appears. Supports two-way binding: `groupChange`\nemits after the user groups, ungroups, reorders or re-sorts groups, and after a grid state is restored,\nnever for a value set here.","name":"group","twoWay":true,"type":"GroupDescriptor[]"},{"alias":"monaGridGroupable","defaultValue":"undefined","description":"Enables column grouping on the grid. Pass a `GroupableOptions` object to configure group footer display. Grouping is on unless the object sets `enabled: false`.","name":"options","type":"Partial<GroupableOptions> | \"\" | undefined"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-grouping","title":"Grouping & Aggregates"}},{"description":"","kind":"directive","name":"GridReorderableDirective","selector":"mona-grid[monaGridReorderable]","inputs":[{"alias":"monaGridReorderable","defaultValue":"\"\"","description":"Enables column reordering via drag and drop. Pass a `ReorderableOptions` object to configure it explicitly.","name":"options","type":"ReorderableOptions | \"\""}],"methods":[],"outputs":[{"description":"Emitted when a column is dropped into a new position. Call `preventDefault()` on the event to cancel the reorder.","name":"columnReorder","type":"ColumnReorderEvent"}],"properties":[],"page":{"path":"grid-columns","title":"Columns"}},{"description":"","kind":"directive","name":"GridResizableDirective","selector":"mona-grid[monaGridResizable]","inputs":[{"alias":"monaGridResizable","defaultValue":"\"\"","description":"Enables column resizing on the grid. Pass a `ResizableOptions` object to configure it explicitly.","name":"options","type":"ResizableOptions | \"\""}],"methods":[],"outputs":[{"description":"Emitted when a column resize completes, with the column and its old and new widths.","name":"columnResize","type":"ColumnResizeEvent"}],"properties":[],"page":{"path":"grid-columns","title":"Columns"}},{"description":"","kind":"directive","name":"GridRowReorderableDirective","selector":"mona-grid[monaGridRowReorderable]","inputs":[{"alias":"monaGridRowReorderable","defaultValue":"\"\"","description":"Enables row reordering via the reorder-handle column. Pass a `RowReorderableOptions`\nobject to configure it explicitly.","name":"options","type":"RowReorderableOptions | \"\""}],"methods":[],"outputs":[{"description":"Emitted when a row is moved to a new position. The event carries the moved row,\nsource- and page-relative indices, and the complete reordered application data.","name":"rowReorder","type":"RowReorderEvent<Record<PropertyKey, unknown>>"}],"properties":[],"page":{"path":"grid-rows","title":"Rows"}},{"description":"","kind":"directive","name":"GridEditCommandDirective","selector":"button[monaGridEditCommand]","inputs":[{"alias":"monaGridEditCommand","defaultValue":"null","description":"The row the button puts into row edit mode when clicked, usually the command template's `row`.\nDoes nothing while `null` or when the grid isn't in row edit mode.","name":"row","type":"Row | null"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridRemoveCommandDirective","selector":"button[monaGridRemoveCommand]","inputs":[{"alias":"monaGridRemoveCommand","defaultValue":"null","description":"The row the button removes when clicked, usually the command template's `row`. The click emits the\ngrid's `remove` event for that row. Inside a command column with `removeConfirmation`, it asks first, as the\nbuilt-in remove command does. Does nothing while `null`.","name":"row","type":"Row | null"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridAddCommandDirective","selector":"button[monaGridAddCommand]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridCancelCommandDirective","selector":"button[monaGridCancelCommand]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridCellTemplateDirective","selector":"ng-template[monaGridCellTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"directive","name":"GridColumnTitleTemplateDirective","selector":"[monaGridColumnTitleTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"directive","name":"GridContextMenuDirective","selector":"[monaGridContextMenu]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"directive","name":"GridDetailTemplateDirective","selector":"ng-template[monaGridDetailTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-rows","title":"Rows"}},{"description":"","kind":"directive","name":"GridEditTemplateDirective","selector":"ng-template[monaGridEditTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridFooterTemplateDirective","selector":"ng-template[monaGridFooterTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-grouping","title":"Grouping & Aggregates"}},{"description":"","kind":"directive","name":"GridGroupFooterTemplateDirective","selector":"ng-template[monaGridGroupFooterTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-grouping","title":"Grouping & Aggregates"}},{"description":"","kind":"directive","name":"GridHeaderTemplateDirective","selector":"ng-template[monaGridHeaderTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"directive","name":"GridNoDataTemplateDirective","selector":"ng-template[monaGridNoDataTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","kind":"directive","name":"GridSaveCommandDirective","selector":"button[monaGridSaveCommand]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","kind":"directive","name":"GridToolbarTemplateDirective","selector":"ng-template[monaGridToolbarTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"CellEditEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"field","readonly":true,"type":"string"},{"description":"","name":"newValue","readonly":true,"type":"unknown"},{"description":"","name":"oldValue","readonly":true,"type":"unknown"},{"description":"","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"ColumnReorderEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"column","readonly":true,"type":"Column"},{"description":"","name":"newIndex","readonly":true,"type":"number"},{"description":"","name":"oldIndex","readonly":true,"type":"number"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-columns","title":"Columns"},"usedBy":["GridReorderableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"ColumnSortEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"column","readonly":true,"type":"Column"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"},"usedBy":["GridSortableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"GridAddEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"GridCancelEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"operation","readonly":true,"type":"GridSaveOperation"},{"description":"","name":"reason","readonly":true,"type":"GridCancelReason"},{"description":"","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"GridEditEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"GridRemoveEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"The row's position in the grid's `data`, or -1 when it is no longer there.","name":"index","readonly":true,"type":"number"},{"description":"The row's `rowKey` value, or the data item when the grid has no `rowKey`.","name":"key","readonly":true,"type":"unknown"},{"description":"The data item of the row being removed.","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"`T` is the row type, which a typed `schema` or `newRowFactory` on `monaGridEditable` sets.","extends":["PreventableEvent"],"kind":"class","name":"GridSaveEvent","typeParameters":["T extends object = Record<PropertyKey, unknown>"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"operation","readonly":true,"type":"GridSaveOperation"},{"description":"","name":"originalRowData","readonly":true,"type":"T | null"},{"description":"","name":"rowData","readonly":true,"type":"T"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"A row of the grid, wrapping its data item.","kind":"class","name":"Row","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"data","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"uid","readonly":true,"type":"string"}],"page":{"path":"grid","title":"Grid Overview"},"usedBy":["GridEditCommandDirective","GridEditSession","GridRemoveCommandDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"RowEditEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"originalRowData","readonly":true,"type":"Record<PropertyKey, unknown> | null"},{"description":"","name":"rowData","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"","name":"session","readonly":true,"type":"GridEditSession"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"RowReorderEvent","typeParameters":["TData extends Record<PropertyKey, unknown> = Record<PropertyKey, unknown>"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"currentIndex","readonly":true,"type":"number"},{"description":"","name":"currentPageIndex","readonly":true,"type":"number"},{"description":"","name":"previousIndex","readonly":true,"type":"number"},{"description":"","name":"previousPageIndex","readonly":true,"type":"number"},{"description":"","name":"reorderedData","readonly":true,"type":"readonly TData[]"},{"description":"","name":"rowData","readonly":true,"type":"TData"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"grid-rows","title":"Rows"},"usedBy":["GridRowReorderableDirective"]},{"description":"","kind":"constant","name":"GRID_DEFAULT_MESSAGES","signature":"const GRID_DEFAULT_MESSAGES: { all: string; apply: string; cancel: string; cancelNewRow: string; cancelRowEdit: (rowNumber: number) => string; cellsCopied: (count: number) => string; cellsPasted: (count: number) => string; clearFilter: (column: string) => string; collapseDetail: (rowNumber: number) => string; columnGrouped: (column: string) => string; columnMoved: (column: string, position: number) => string; columns: string; columnsSelected: (count: number) => string; commandColumnTitle: string; delete: string; deleteRowConfirmation: (rowNumber: number) => string; deleteRowTitle: string; details: string; dragColumnHeaderToGroup: string; edit: string; editRow: (rowNumber: number) => string; expandDetail: (rowNumber: number) => string; fieldValidationError: string; filterByColumn: (column: string) => string; filterByColumnFiltered: (column: string) => string; filterOperator: (column: string, operator: string) => string; filterPlaceholder: string; group: string; groupOptions: (column: string) => string; loading: string; modified: string; moveAsNext: string; moveAsPrevious: string; moveRow: string; noData: string; remove: string; removeRow: (rowNumber: number) => string; reorderRow: (rowNumber: number) => string; resizeColumn: (column: string) => string; rowReorder: string; rowReorderDisabled: string; rowReorderDisabledEditing: string; rowReorderDisabledFiltered: string; rowReorderDisabledGrouped: string; rowReorderDisabledServerBinding: string; rowReorderDisabledSingleRow: string; rowReorderDisabledSorted: string; rowReorderDisabledVirtualScroll: string; rowReorderHandleAriaLabel: (rowLabel: string, keyboardHint: string, disabledReason?: string) => string; rowReorderKeyboardHint: string; rowReorderMoved: (fromRowNumber: number, toPosition: number) => string; rowValidationError: string; save: string; saveNewRow: string; saveRow: (rowNumber: number) => string; selectAllRows: string; selectRow: (rowNumber: number) => string; sortOrder: (position: number) => string; toolbar: string; };","page":{"path":"grid","title":"Grid Overview"}},{"description":"The grid state and actions a toolbar template can use.","extends":[],"kind":"interface","methods":[{"description":"Closes the add row without saving. Returns whether it closed.","name":"cancelAdd","signature":"cancelAdd(): boolean"},{"description":"Ends the current cell or row edit without saving. Returns whether an edit was cancelled.","name":"cancelEdit","signature":"cancelEdit(): boolean"},{"description":"Saves the add row. Returns whether it was saved.","name":"saveAdd","signature":"saveAdd(): boolean"},{"description":"Opens the add row. Returns whether it opened.","name":"startAdd","signature":"startAdd(): boolean"}],"name":"GridToolbarContext","properties":[{"description":"The new row's values while a row is being added, otherwise `null`.","name":"addRowData","readonly":true,"type":"Record<PropertyKey, unknown> | null"},{"description":"Whether the add row is open.","name":"addRowVisible","readonly":true,"type":"boolean"},{"description":"The current paging, sorting and filtering.","name":"dataState","readonly":true,"type":"GridDataState"},{"description":"The current edit, or `null` when nothing is being edited.","name":"editSession","readonly":true,"type":"GridEditSession | null"},{"description":"The selected row keys.","name":"selectedKeys","readonly":true,"type":"readonly unknown[]"}],"page":{"path":"grid","title":"Grid Overview"},"usedBy":["GridToolbarTemplateContext"]},{"description":"Set `locked` and `lockedPosition` on a `mona-grid-column` (or `mona-grid-command-column`) to keep it fixed while the\ngrid scrolls horizontally.","extends":["ColumnConfig"],"kind":"interface","methods":[],"name":"Column","properties":[{"description":"The column's currently rendered width.","name":"calculatedWidth","readonly":true,"type":"number | null"},{"description":"The direction the grid is currently sorted by this column, or `null` when it isn't.","name":"columnSortDirection","readonly":true,"type":"SortDirection | null"},{"description":"Whether a filter is currently applied to this column.","name":"filtered","readonly":true,"type":"boolean"},{"description":"The sort direction of the grid's grouping by this column, or `null` when the grid isn't grouped by it.","name":"groupSortDirection","readonly":true,"type":"SortDirection | null"},{"description":"Whether the column is hidden.","name":"hidden","readonly":true,"type":"boolean"},{"description":"The column's one-based position among the grid's sorted columns, or `null` when it isn't sorted.","name":"sortIndex","readonly":true,"type":"number | null"}],"inherited":[{"from":"ColumnConfig","methods":[],"properties":[{"description":"The aggregate shown in the grid footer for this column, or `null` for none.","name":"aggregate","readonly":true,"type":"AggregateFunction | null"},{"description":"The column's `monaGridCellTemplate`, which renders its body cells, or `null` for the default text.","name":"cellTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"A command column's `monaGridCellTemplate`, which replaces the built-in command buttons, or `null`.","name":"commandTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The `editable` input as the consumer set it; `null` leaves it to the default, which is every column but\nthe `rowKey` field. Left out, `editable` is used as given.","name":"configuredEditable","optional":true,"readonly":true,"type":"boolean | null"},{"description":"The column's data type, which picks the editor and the filter. Command columns use `\"string\"`.","name":"dataType","readonly":true,"type":"DataType"},{"description":"Whether the column can be edited. The grid resolves it from {@link configuredEditable} when that is set.","name":"editable","readonly":true,"type":"boolean"},{"description":"The column's `monaGridEditTemplate`, which renders the cell editor, or `null` for the editor of its data type.","name":"editTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"Whether the column shows a tree's expand toggles, indented by each row's level, when the grid has\n`monaGridTree`. Left out on every column, the first visible data column shows them.","name":"expandable","optional":true,"readonly":true,"type":"boolean"},{"description":"The data property the column shows. A command column uses its `stateKey`, or `\"commands\"`.","name":"field","readonly":true,"type":"string"},{"description":"Whether the column can be filtered when the grid's filtering is enabled.","name":"filterable","readonly":true,"type":"boolean"},{"description":"The column's `monaGridFooterTemplate`, which renders its footer cell, or `null`.","name":"footerTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"How cell values are formatted for display, or `null` to show them as they are.","name":"format","readonly":true,"type":"ColumnFormat | null"},{"description":"The column's `monaGridGroupFooterTemplate`, which renders its cell in group footer rows, or `null`.","name":"groupFooterTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The `mona-grid-column-group`s the column sits in, outermost first. Left out, or empty, when it isn't in a group.","name":"groups","optional":true,"readonly":true,"type":"readonly ColumnGroup[]"},{"description":"The column's `monaGridHeaderTemplate`, which replaces the whole header content and receives the column, or\n`null`.","name":"headerTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The column's `hidden` input as set.","name":"hidden","readonly":true,"type":"boolean"},{"description":"A unique id generated for the column.","name":"id","readonly":true,"type":"string"},{"description":"`\"data\"` for a `mona-grid-column`, `\"command\"` for a `mona-grid-command-column`.","name":"kind","readonly":true,"type":"ColumnKind"},{"description":"Whether the column stays fixed while the grid scrolls horizontally.","name":"locked","readonly":true,"type":"boolean"},{"description":"The side of the grid a locked column is fixed to.","name":"lockedPosition","readonly":true,"type":"GridColumnLockedPosition"},{"description":"The column's maximum width in pixels, or `null` for no maximum.","name":"maxWidth","readonly":true,"type":"number | null"},{"description":"The column's minimum width in pixels, or `null` for no minimum.","name":"minWidth","readonly":true,"type":"number | null"},{"description":"Whether the built-in remove command asks for confirmation before emitting `remove`. Only command columns set it.","name":"removeConfirmation","readonly":true,"type":"boolean"},{"description":"Whether the column can be sorted from its header when the grid's sorting is enabled.","name":"sortable","readonly":true,"type":"boolean"},{"description":"Compares values when the user sorts this column; without it values sort by type, strings by locale.","name":"sortComparator","optional":true,"readonly":true,"type":"ColumnSortComparator | null"},{"description":"The key the column's saved state is stored under, or `null` to use `field`.","name":"stateKey","readonly":true,"type":"string | null"},{"description":"The text shown in the column header.","name":"title","readonly":true,"type":"string"},{"description":"The column's `monaGridColumnTitleTemplate`, shown in the header in place of `title` when there is no header\ntemplate, or `null`.","name":"titleTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The column's configured width in pixels, or `null` to size it automatically.","name":"width","readonly":true,"type":"number | null"}]}],"page":{"path":"grid","title":"Grid Overview"},"usedBy":["ColumnFormatFunction","ColumnReorderEvent","ColumnResizeEvent","ColumnSortEvent","GridEditFormContext","GridEditSession"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ColumnConfig","properties":[{"description":"The aggregate shown in the grid footer for this column, or `null` for none.","name":"aggregate","readonly":true,"type":"AggregateFunction | null"},{"description":"The column's `monaGridCellTemplate`, which renders its body cells, or `null` for the default text.","name":"cellTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"A command column's `monaGridCellTemplate`, which replaces the built-in command buttons, or `null`.","name":"commandTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The `editable` input as the consumer set it; `null` leaves it to the default, which is every column but\nthe `rowKey` field. Left out, `editable` is used as given.","name":"configuredEditable","optional":true,"readonly":true,"type":"boolean | null"},{"description":"The column's data type, which picks the editor and the filter. Command columns use `\"string\"`.","name":"dataType","readonly":true,"type":"DataType"},{"description":"Whether the column can be edited. The grid resolves it from {@link configuredEditable} when that is set.","name":"editable","readonly":true,"type":"boolean"},{"description":"The column's `monaGridEditTemplate`, which renders the cell editor, or `null` for the editor of its data type.","name":"editTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"Whether the column shows a tree's expand toggles, indented by each row's level, when the grid has\n`monaGridTree`. Left out on every column, the first visible data column shows them.","name":"expandable","optional":true,"readonly":true,"type":"boolean"},{"description":"The data property the column shows. A command column uses its `stateKey`, or `\"commands\"`.","name":"field","readonly":true,"type":"string"},{"description":"Whether the column can be filtered when the grid's filtering is enabled.","name":"filterable","readonly":true,"type":"boolean"},{"description":"The column's `monaGridFooterTemplate`, which renders its footer cell, or `null`.","name":"footerTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"How cell values are formatted for display, or `null` to show them as they are.","name":"format","readonly":true,"type":"ColumnFormat | null"},{"description":"The column's `monaGridGroupFooterTemplate`, which renders its cell in group footer rows, or `null`.","name":"groupFooterTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The `mona-grid-column-group`s the column sits in, outermost first. Left out, or empty, when it isn't in a group.","name":"groups","optional":true,"readonly":true,"type":"readonly ColumnGroup[]"},{"description":"The column's `monaGridHeaderTemplate`, which replaces the whole header content and receives the column, or\n`null`.","name":"headerTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The column's `hidden` input as set.","name":"hidden","readonly":true,"type":"boolean"},{"description":"A unique id generated for the column.","name":"id","readonly":true,"type":"string"},{"description":"`\"data\"` for a `mona-grid-column`, `\"command\"` for a `mona-grid-command-column`.","name":"kind","readonly":true,"type":"ColumnKind"},{"description":"Whether the column stays fixed while the grid scrolls horizontally.","name":"locked","readonly":true,"type":"boolean"},{"description":"The side of the grid a locked column is fixed to.","name":"lockedPosition","readonly":true,"type":"GridColumnLockedPosition"},{"description":"The column's maximum width in pixels, or `null` for no maximum.","name":"maxWidth","readonly":true,"type":"number | null"},{"description":"The column's minimum width in pixels, or `null` for no minimum.","name":"minWidth","readonly":true,"type":"number | null"},{"description":"Whether the built-in remove command asks for confirmation before emitting `remove`. Only command columns set it.","name":"removeConfirmation","readonly":true,"type":"boolean"},{"description":"Whether the column can be sorted from its header when the grid's sorting is enabled.","name":"sortable","readonly":true,"type":"boolean"},{"description":"Compares values when the user sorts this column; without it values sort by type, strings by locale.","name":"sortComparator","optional":true,"readonly":true,"type":"ColumnSortComparator | null"},{"description":"The key the column's saved state is stored under, or `null` to use `field`.","name":"stateKey","readonly":true,"type":"string | null"},{"description":"The text shown in the column header.","name":"title","readonly":true,"type":"string"},{"description":"The column's `monaGridColumnTitleTemplate`, shown in the header in place of `title` when there is no header\ntemplate, or `null`.","name":"titleTemplate","readonly":true,"type":"TemplateRef<unknown> | null"},{"description":"The column's configured width in pixels, or `null` to size it automatically.","name":"width","readonly":true,"type":"number | null"}],"page":{"path":"grid","title":"Grid Overview"},"usedBy":["Column"]},{"description":"A `mona-grid-column-group`: a header over the columns inside it.","extends":[],"kind":"interface","methods":[],"name":"ColumnGroup","properties":[{"description":"A unique id generated for the group.","name":"id","readonly":true,"type":"string"},{"description":"The text shown in the group's header.","name":"title","readonly":true,"type":"string"}],"page":{"path":"grid-columns","title":"Columns"},"usedBy":["ColumnConfig"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ColumnResizeEvent","properties":[{"description":"","name":"column","type":"Column"},{"description":"","name":"newWidth","type":"number"},{"description":"","name":"oldWidth","type":"number"}],"page":{"path":"grid-columns","title":"Columns"},"usedBy":["GridResizableDirective"]},{"description":"`T` is the row type, which a typed `schema` sets.","extends":[],"kind":"interface","methods":[],"name":"EditableOptions","properties":[{"description":"Returns the accessible name of a row's command button, such as \"Edit order 10248\". Without it the\nbuttons are named by position (\"Edit row 3\"). `absoluteIndex` is the row's 0-based position in the\nfiltered and sorted rows; the add row isn't passed here.","name":"commandAriaLabel","optional":true,"type":"( command: GridRowCommand, rowData: Record<PropertyKey, unknown>, absoluteIndex: number ) => string"},{"description":"Whether editing is active. On unless set to `false`; options replace earlier ones.","name":"enabled","optional":true,"type":"boolean"},{"description":"Whether editing commits per cell or per row.","name":"mode","type":"\"cell\" | \"row\""},{"description":"Builds a Signal Forms validation schema for the row being edited.","name":"schema","optional":true,"type":"GridEditSchemaFactory<T>"}],"typeParameters":["T extends object = Record<PropertyKey, unknown>"],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"FilterableOptions","properties":[{"description":"","name":"enabled","type":"boolean"},{"description":"","name":"type","type":"\"menu\" | \"row\" | \"menu, row\""}],"page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"},"usedBy":["DropdownFilterableDirective","GridFilterableDirective","TreeViewFilterableDirective"]},{"description":"The cells a range selection covers: the data items of its rows and the fields of its columns, each in the order\nthe grid shows them.","extends":[],"kind":"interface","methods":[],"name":"GridCellRange","properties":[{"description":"","name":"fields","readonly":true,"type":"readonly string[]"},{"description":"","name":"rows","readonly":true,"type":"readonly T[]"}],"typeParameters":["T = Record<PropertyKey, unknown>"],"page":{"path":"grid-selection","title":"Selection"},"usedBy":["GridRangeSelectableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridColumnState","properties":[{"description":"","name":"hidden","type":"boolean"},{"description":"","name":"id","type":"string"},{"description":"","name":"order","type":"number"},{"description":"","name":"width","type":"number | null"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridState"]},{"description":"The paging, sorting, and filtering requested by a server-bound Grid.","extends":[],"kind":"interface","methods":[],"name":"GridDataState","properties":[{"description":"Applied composite filter descriptors.","name":"filter","readonly":true,"type":"readonly CompositeFilterDescriptor[]"},{"description":"Requested zero-based offset.","name":"skip","readonly":true,"type":"number"},{"description":"Sort descriptors in priority order.","name":"sort","readonly":true,"type":"readonly SortDescriptor[]"},{"description":"Requested page size.","name":"take","readonly":true,"type":"number"}],"page":{"path":"grid-server","title":"Server Binding & Virtualization"},"usedBy":["GridServerBindingDirective","GridToolbarContext"]},{"description":"What a schema factory is told about the edit. `T` is the row type, untyped unless you give one.","extends":[],"kind":"interface","methods":[],"name":"GridEditFormContext","properties":[{"description":"","name":"column","readonly":true,"type":"Column | null"},{"description":"","name":"field","readonly":true,"type":"string | null"},{"description":"","name":"isNew","readonly":true,"type":"boolean"},{"description":"","name":"mode","readonly":true,"type":"\"cell\" | \"row\""},{"description":"","name":"operation","readonly":true,"type":"GridEditOperation"},{"description":"","name":"originalRowData","readonly":true,"type":"T | null"},{"description":"","name":"rowData","readonly":true,"type":"T"}],"typeParameters":["T extends object = Record<PropertyKey, unknown>"],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditSchemaFactory"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridEditSession","properties":[{"description":"The column currently being edited, in cell mode.","name":"column","readonly":true,"type":"Column | null"},{"description":"The field name currently being edited, in cell mode.","name":"field","readonly":true,"type":"string | null"},{"description":"The Signal Forms field tree backing the row being edited.","name":"form","readonly":true,"type":"FieldTree<Record<PropertyKey, unknown>>"},{"description":"Whether this session represents a new row being added.","name":"isNew","readonly":true,"type":"boolean"},{"description":"The active editing mode.","name":"mode","readonly":true,"type":"\"cell\" | \"row\""},{"description":"The signal holding the row's current edited values.","name":"model","readonly":true,"type":"WritableSignal<Record<PropertyKey, unknown>>"},{"description":"`\"create\"` or `\"update\"`.","name":"operation","readonly":true,"type":"GridEditOperation"},{"description":"The row's data before editing began.","name":"originalRowData","readonly":true,"type":"Record<PropertyKey, unknown> | null"},{"description":"The internal row wrapper being edited.","name":"row","readonly":true,"type":"Row | null"},{"description":"The stable identifier of the row being edited.","name":"rowUid","readonly":true,"type":"string | null"}],"page":{"path":"grid-editing","title":"Editing"},"usedBy":["CellEditEvent","GridAddEvent","GridCancelEvent","GridEditEvent","GridEditTemplateContext","GridSaveEvent","GridToolbarContext","RowEditEvent"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridEditTemplateContext","properties":[{"description":"Cancels the current edit.","name":"cancel","readonly":true,"type":"() => void"},{"description":"The field name of the column being edited.","name":"column","readonly":true,"type":"string"},{"description":"Commits the current edit.","name":"commit","readonly":true,"type":"() => void"},{"description":"Same as `column`; the field name being edited.","name":"dataField","readonly":true,"type":"string"},{"description":"The row's current edited values.","name":"dataItem","readonly":true,"type":"Record<PropertyKey, unknown>"},{"description":"Validation errors for this field.","name":"errors","readonly":true,"type":"readonly ValidationError.WithFieldTree[]"},{"description":"The Signal Forms field for this column.","name":"field","readonly":true,"type":"FieldTree<unknown>"},{"description":"The row's full Signal Forms field tree.","name":"form","readonly":true,"type":"GridEditSession[\"form\"]"},{"description":"Whether this field currently fails validation.","name":"invalid","readonly":true,"type":"boolean"},{"description":"Whether this is a new row being added.","name":"isNew","readonly":true,"type":"boolean"},{"description":"The full edit session for this row.","name":"session","readonly":true,"type":"GridEditSession"},{"description":"Sets this field's value.","name":"setValue","readonly":true,"type":"(value: unknown) => void"},{"description":"Whether this field has been touched.","name":"touched","readonly":true,"type":"boolean"},{"description":"This field's current value.","name":"value","readonly":true,"type":"unknown"}],"page":{"path":"grid-editing","title":"Editing"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridPdfExportOptions","properties":[{"description":"The file's name. Defaults to `export.pdf`.","name":"filename","optional":true,"readonly":true,"type":"string"},{"description":"A TrueType font to embed. Without it, text is set in Helvetica, which shows Western European characters only;\nother characters print as `?`. Only the glyphs the document uses are embedded.","name":"font","optional":true,"readonly":true,"type":"GridPdfFont"},{"description":"The text size in points before a wide table is scaled to fit the page. Defaults to 9.","name":"fontSize","optional":true,"readonly":true,"type":"number"},{"description":"The margin around the page, in points. Defaults to 36 (half an inch).","name":"margin","optional":true,"readonly":true,"type":"number"},{"description":"Defaults to `portrait`.","name":"orientation","optional":true,"readonly":true,"type":"\"landscape\" | \"portrait\""},{"description":"Defaults to `A4`.","name":"paperSize","optional":true,"readonly":true,"type":"GridPdfPaperSize"},{"description":"A title printed above the table on the first page, and stored as the document's title.","name":"title","optional":true,"readonly":true,"type":"string"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridExportDirective"]},{"description":"The font a PDF export embeds for the text Helvetica can't show, such as Chinese, Japanese or Korean. It must have\nTrueType outlines: most `.otf` files have CFF outlines, and web fonts (`.woff`, `.woff2`) are compressed, so the\nexport rejects both. A variable font prints at its default instance, which is often its lightest weight, so prefer\na static font of the weight you want.","extends":[],"kind":"interface","methods":[],"name":"GridPdfFont","properties":[{"description":"The bold face, for the header and the title. Without it, the regular face is drawn thicker.","name":"bold","optional":true,"readonly":true,"type":"GridPdfFontSource"},{"description":"Which font of a TrueType collection (`.ttc`) to use, from 0.","name":"collectionIndex","optional":true,"readonly":true,"type":"number"},{"description":"","name":"regular","readonly":true,"type":"GridPdfFontSource"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridPdfExportOptions"]},{"description":"One row's pasted values: the row as it was, and as it is with the values in.","extends":[],"kind":"interface","methods":[],"name":"GridRangePasteChange","properties":[{"description":"The fields that took a pasted value.","name":"fields","readonly":true,"type":"readonly string[]"},{"description":"","name":"originalRowData","readonly":true,"type":"T"},{"description":"A copy of the row with the pasted values; save it to change the grid's data.","name":"rowData","readonly":true,"type":"T"}],"typeParameters":["T = Record<PropertyKey, unknown>"],"page":{"path":"grid-selection","title":"Selection"},"usedBy":["GridRangePasteEvent"]},{"description":"What a paste into the grid's cells would change. The grid doesn't change its data itself.","extends":[],"kind":"interface","methods":[],"name":"GridRangePasteEvent","properties":[{"description":"The rows that take pasted values, in the order the grid shows them.","name":"changes","readonly":true,"type":"readonly GridRangePasteChange<T>[]"},{"description":"How many cells kept their value: their column can't be edited, or the text doesn't fit its type.","name":"skippedCells","readonly":true,"type":"number"},{"description":"The pasted text, as it came from the clipboard.","name":"text","readonly":true,"type":"string"}],"typeParameters":["T = Record<PropertyKey, unknown>"],"page":{"path":"grid-selection","title":"Selection"},"usedBy":["GridRangeSelectableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridState","properties":[{"description":"Persisted per-column hidden/order/width state.","name":"columns","type":"readonly GridColumnState[]"},{"description":"Persisted filter descriptors.","name":"filter","type":"readonly GridStateCompositeFilterDescriptor[]"},{"description":"Persisted group descriptors.","name":"group","type":"readonly GroupDescriptor[]"},{"description":"Persisted page size, unless `persistPageSize` is `false`.","name":"pageSize","optional":true,"type":"number"},{"description":"Consumer-defined version tag used to reject stale persisted state.","name":"schemaVersion","optional":true,"type":"number | string"},{"description":"Persisted sort descriptors.","name":"sort","type":"readonly GridStateSortDescriptor[]"},{"description":"The state schema version produced by this version of the library.","name":"version","type":"GridStateVersion"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStatePersistenceDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridStateCompositeFilterDescriptor","properties":[{"description":"","name":"filters","type":"readonly (GridStateFilterDescriptor | GridStateCompositeFilterDescriptor)[]"},{"description":"","name":"logic","type":"FilterLogic"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridState"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridStateFilterDescriptor","properties":[{"description":"","name":"field","type":"string"},{"description":"","name":"operator","type":"Exclude<FilterOperators, \"function\">"},{"description":"","name":"value","optional":true,"type":"GridStateFilterValue"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStateCompositeFilterDescriptor"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridStateLoadResult","properties":[{"description":"","name":"ignoredColumns","type":"readonly string[]"},{"description":"","name":"missingColumns","type":"readonly string[]"},{"description":"","name":"status","type":"GridStateLoadStatus"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStatePersistenceDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridStatePersistenceOptions","properties":[{"description":"","name":"enabled","optional":true,"type":"boolean"},{"description":"","name":"persistPageSize","optional":true,"type":"boolean"},{"description":"","name":"schemaVersion","optional":true,"type":"number | string"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStatePersistenceDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GridStateSortDescriptor","properties":[{"description":"","name":"dir","type":"SortDirection"},{"description":"","name":"field","type":"string"}],"page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridState"]},{"description":"Context of `monaGridToolbarTemplate`: the toolbar state, also as `$implicit`.","extends":["GridToolbarContext"],"kind":"interface","methods":[],"name":"GridToolbarTemplateContext","properties":[{"description":"","name":"$implicit","readonly":true,"type":"GridToolbarContext"}],"inherited":[{"from":"GridToolbarContext","methods":[{"description":"Closes the add row without saving. Returns whether it closed.","name":"cancelAdd","signature":"cancelAdd(): boolean"},{"description":"Ends the current cell or row edit without saving. Returns whether an edit was cancelled.","name":"cancelEdit","signature":"cancelEdit(): boolean"},{"description":"Saves the add row. Returns whether it was saved.","name":"saveAdd","signature":"saveAdd(): boolean"},{"description":"Opens the add row. Returns whether it opened.","name":"startAdd","signature":"startAdd(): boolean"}],"properties":[{"description":"The new row's values while a row is being added, otherwise `null`.","name":"addRowData","readonly":true,"type":"Record<PropertyKey, unknown> | null"},{"description":"Whether the add row is open.","name":"addRowVisible","readonly":true,"type":"boolean"},{"description":"The current paging, sorting and filtering.","name":"dataState","readonly":true,"type":"GridDataState"},{"description":"The current edit, or `null` when nothing is being edited.","name":"editSession","readonly":true,"type":"GridEditSession | null"},{"description":"The selected row keys.","name":"selectedKeys","readonly":true,"type":"readonly unknown[]"}]}],"page":{"path":"grid","title":"Grid Overview"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GroupableOptions","properties":[{"description":"Whether grouping is active.","name":"enabled","type":"boolean"},{"description":"Whether a group's aggregate footer also shows while the group is collapsed; expanded groups always show it.","name":"showFooter","type":"boolean"}],"page":{"path":"grid-grouping","title":"Grouping & Aggregates"},"usedBy":["DropdownGroupableDirective","GridGroupableDirective","ListViewGroupableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"GroupDescriptor","properties":[{"description":"","name":"dir","optional":true,"type":"SortDirection"},{"description":"","name":"field","type":"string"}],"page":{"path":"grid-grouping","title":"Grouping & Aggregates"},"usedBy":["GridGroupableDirective","GridState"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ReorderableOptions","properties":[{"description":"Whether column reordering is active. On unless set to `false`; options replace earlier ones.","name":"enabled","type":"boolean"}],"page":{"path":"grid-columns","title":"Columns"},"usedBy":["GridReorderableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ResizableOptions","properties":[{"description":"Whether column resizing is active. On unless set to `false`; options replace earlier ones.","name":"enabled","type":"boolean"}],"page":{"path":"grid-columns","title":"Columns"},"usedBy":["GridResizableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"RowReorderableOptions","properties":[{"description":"Determines whether an individual row may be reordered.\n\nRows for which this returns false must show a disabled handle.","name":"canReorder","optional":true,"type":"(rowData: Record<PropertyKey, unknown>) => boolean"},{"description":"Enables row reordering.","name":"enabled","optional":true,"type":"boolean"},{"description":"Returns the accessible label fragment for a row's reorder handle.\nLocale-aware composition supplies sentence punctuation, keyboard instructions,\nand disabled reasons around this fragment.\n\nThe default must be positional, such as:\n\"Reorder row 3\"","name":"rowAriaLabel","optional":true,"type":"(rowData: Record<PropertyKey, unknown>, absoluteIndex: number) => string"}],"page":{"path":"grid-rows","title":"Rows"},"usedBy":["GridRowReorderableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SelectableOptions","properties":[{"description":"Enables row selection.","name":"enabled","optional":true,"type":"boolean"},{"description":"Controls whether one or multiple rows can be selected.","name":"mode","optional":true,"type":"\"single\" | \"multiple\""},{"description":"Derives the accessible label for a row's selection checkbox from its data.\n\nWhen omitted, the checkbox falls back to a positional label (e.g. \"Select row 3\").","name":"rowAriaLabel","optional":true,"type":"(rowData: Record<PropertyKey, unknown>) => string"},{"description":"Determines which rows are affected by the header checkbox.\n\n- \"page\": rows on the current paginated page\n- \"view\": all rows in the current filtered and sorted view\n\nFor virtual scrolling, \"page\" resolves to the complete current view\nbecause virtual scrolling does not have logical pages.","name":"selectAllScope","optional":true,"type":"\"page\" | \"view\""},{"description":"Whether clicking the row itself changes selection.\n\nOff by default so that clicking a row to interact with its content (a link, a button,\nan editable cell) never silently discards the current selection. Set this to true to\nalso select rows via a plain click, in addition to checkboxes or application code.","name":"selectOnRowClick","optional":true,"type":"boolean"},{"description":"Displays the built-in checkbox selection column.","name":"showCheckboxes","optional":true,"type":"boolean"},{"description":"Displays a select-all checkbox in the selection-column header.\n\nOnly applies to multiple-selection mode.","name":"showSelectAll","optional":true,"type":"boolean"}],"page":{"path":"grid-selection","title":"Selection"},"usedBy":["GridSelectableDirective","ListViewSelectableDirective","TreeViewSelectableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SortableOptions","properties":[{"description":"Whether a third click on a sorted column clears its sort.","name":"allowUnsort","optional":true,"type":"boolean"},{"description":"Whether sorting is active. On unless set to `false`; options replace earlier ones.","name":"enabled","optional":true,"type":"boolean"},{"description":"Whether one or several columns can be sorted at once.","name":"mode","optional":true,"type":"\"single\" | \"multiple\""},{"description":"Whether sort order indices are displayed on header cells.","name":"showIndices","optional":true,"type":"boolean"}],"page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"},"usedBy":["GridSortableDirective"]},{"description":"","kind":"type","name":"AggregateFunction","signature":"type AggregateFunction = \"sum\" | \"avg\" | \"count\" | \"min\" | \"max\" | \"custom\";","page":{"path":"grid-grouping","title":"Grouping & Aggregates"},"usedBy":["ColumnConfig","GridColumnComponent"]},{"description":"A date format string, for `date` columns, or a formatter function, for any column.","kind":"type","name":"ColumnFormat","signature":"type ColumnFormat = string | ColumnFormatFunction;","page":{"path":"grid","title":"Grid Overview"},"usedBy":["ColumnConfig","GridColumnComponent"]},{"description":"Formats a cell's value for display. Written in method form so a formatter typed for the column's own\nvalue (`(value: number) => string`) is accepted.","kind":"type","name":"ColumnFormatFunction","signature":"type ColumnFormatFunction = { format(value: unknown, row: Record<PropertyKey, unknown>, column: Column): string; }[\"format\"];","page":{"path":"grid","title":"Grid Overview"},"usedBy":["ColumnFormat"]},{"description":"","kind":"type","name":"ColumnKind","signature":"type ColumnKind = \"command\" | \"data\";","page":{"path":"grid","title":"Grid Overview"},"usedBy":["ColumnConfig"]},{"description":"Compares two cell values for sorting: negative, zero or positive, as for `Array.prototype.sort`.","kind":"type","name":"ColumnSortComparator","signature":"type ColumnSortComparator = { compare(left: unknown, right: unknown): number }[\"compare\"];","page":{"path":"grid-sorting-filtering","title":"Sorting & Filtering"},"usedBy":["ColumnConfig","GridColumnComponent"]},{"description":"Why an edit is being canceled: `\"command\"` for the Cancel button or `cancel()` in a template, `\"escape\"` for\nthe Escape key, `\"switch\"` when another edit or the add row starts, `\"removed\"` when the edited row left the\ndata or the view. A `\"removed\"` cancel can't be prevented: the row is gone.","kind":"type","name":"GridCancelReason","signature":"type GridCancelReason = \"command\" | \"escape\" | \"removed\" | \"switch\";","page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridCancelEvent"]},{"description":"","kind":"type","name":"GridColumnLockedPosition","signature":"type GridColumnLockedPosition = \"left\" | \"right\";","page":{"path":"grid-columns","title":"Columns"},"usedBy":["ColumnConfig","GridColumnComponent","GridCommandColumnComponent"]},{"description":"","kind":"type","name":"GridEditOperation","signature":"type GridEditOperation = \"create\" | \"update\";","page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridEditFormContext","GridEditSession","GridSaveOperation"]},{"description":"Builds the Signal Forms schema for the row being edited. `T` is the row type, untyped unless you give one.","kind":"type","name":"GridEditSchemaFactory","signature":"type GridEditSchemaFactory<T extends object = Record<PropertyKey, unknown>> = ( context: GridEditFormContext<T> ) => SchemaOrSchemaFn<T> | null | undefined;","page":{"path":"grid-editing","title":"Editing"},"usedBy":["EditableOptions"]},{"description":"The field holding a row's key, or a function returning it.","kind":"type","name":"GridKeySelector","signature":"type GridKeySelector<TData, TKey = unknown> = string | Selector<TData, TKey> | null;","page":{"path":"grid-selection","title":"Selection"},"usedBy":["GridComponent","GridSelectableDirective","GridTreeDirective"]},{"description":"A TrueType font file (`.ttf` or `.ttc`): its bytes, or the URL to fetch it from.","kind":"type","name":"GridPdfFontSource","signature":"type GridPdfFontSource = ArrayBuffer | Uint8Array | string;","page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridPdfFont"]},{"description":"A paper size by name, or a page's width and height in points (1/72 inch).","kind":"type","name":"GridPdfPaperSize","signature":"type GridPdfPaperSize = \"A3\" | \"A4\" | \"Legal\" | \"Letter\" | readonly [number, number];","page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridPdfExportOptions"]},{"description":"Returns the classes to add to the data row that shows the given item.","kind":"type","name":"GridRowClass","signature":"type GridRowClass<TData> = (data: TData) => GridRowClassValue;","page":{"path":"grid-rows","title":"Rows"},"usedBy":["GridComponent"]},{"description":"The classes a {@link GridRowClass} function adds to a data row. Nullish values add nothing.","kind":"type","name":"GridRowClassValue","signature":"type GridRowClassValue = string | readonly string[] | null | undefined;","page":{"path":"grid-rows","title":"Rows"},"usedBy":["GridRowClass"]},{"description":"A row command button: Edit, Remove, Save or Cancel.","kind":"type","name":"GridRowCommand","signature":"type GridRowCommand = \"cancel\" | \"edit\" | \"remove\" | \"save\";","page":{"path":"grid-editing","title":"Editing"},"usedBy":["EditableOptions"]},{"description":"","kind":"type","name":"GridSaveOperation","signature":"type GridSaveOperation = GridEditOperation;","page":{"path":"grid-editing","title":"Editing"},"usedBy":["GridCancelEvent","GridSaveEvent"]},{"description":"","kind":"type","name":"GridStateFilterValue","signature":"type GridStateFilterValue = boolean | number | string | null | readonly (boolean | number | string | null)[];","page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStateFilterDescriptor"]},{"description":"The outcome of loading a state. `rejected-invalid`: the state isn't a well-formed `GridState` (a missing\narray, a duplicate column id, an unknown filter operator, a page size or width that isn't a positive\nnumber), and nothing was changed.","kind":"type","name":"GridStateLoadStatus","signature":"type GridStateLoadStatus = \"applied\" | \"empty\" | \"rejected-invalid\" | \"rejected-schema\" | \"rejected-version\";","page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridStateLoadResult"]},{"description":"","kind":"type","name":"GridStateVersion","signature":"type GridStateVersion = 1;","page":{"path":"grid-state-export","title":"State & Export"},"usedBy":["GridState"]},{"description":"The field holding a data item's children, or a function returning them.","kind":"type","name":"GridTreeChildren","signature":"type GridTreeChildren<T = Record<PropertyKey, unknown>> = string | { children(dataItem: T): Iterable<T> | null | undefined }[\"children\"];","page":{"path":"grid-tree","title":"Tree List"},"usedBy":["GridTreeDirective"]},{"description":"","kind":"type","name":"ResizeMethod","signature":"type ResizeMethod = \"auto\" | \"fitView\" | number;","page":{"path":"grid-columns","title":"Columns"},"usedBy":["GridComponent"]}]}