@nanahoshi/mona-ui 0.51.0 → 0.51.1
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.
- package/docs/api/grid.json +1 -1
- package/docs/api/grid.md +1 -1
- package/docs/grid-columns.md +3 -1
- package/docs/grid.md +1 -1
- package/docs/manifest.json +1 -1
- package/fesm2022/{grid-colgroup.component-BFbiAvkG.mjs → grid-colgroup.component-Ccz4jNGD.mjs} +2 -2
- package/fesm2022/{grid-footer-row.component-DpSu7jvG.mjs → grid-footer-row.component-3i2wvQ6a.mjs} +2 -2
- package/fesm2022/{grid-list.component-B-F4bvFL.mjs → grid-list.component-BaI4IOC6.mjs} +5 -5
- package/fesm2022/{grid-row.component-CuCQ_Z5F.mjs → grid-row.component-CK8q0Ecr.mjs} +3 -3
- package/fesm2022/{grid-virtual-list.component-rIz5AUOU.mjs → grid-virtual-list.component-BPLi0OaO.mjs} +5 -5
- package/fesm2022/{grid.styles-D6jP3vwD.mjs → grid.styles-DBLUtq2X.mjs} +18 -10
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +42 -39
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-grid.d.ts +12 -4
package/docs/api/grid.md
CHANGED
|
@@ -50,7 +50,7 @@ Component.
|
|
|
50
50
|
| `expandedKeys` (two-way) | `unknown[]` | `[]` | Keys of the rows whose detail row is open: `rowKey` values, or the data items when the grid has no `rowKey`. Supports two-way binding; `expandedKeysChange` emits when the user opens or closes one. |
|
|
51
51
|
| `pageSize` (two-way) | `number` | — | The number of items to be displayed on a page. Values that aren't positive integers are ignored. A new size keeps the first row of the current page in view. Supports two-way binding. |
|
|
52
52
|
| `pageSizeValues` | `number[]` | `[]` | The page sizes that the user can select from. These values will be displayed in the page size dropdown. |
|
|
53
|
-
| `resizeMethod` | `ResizeMethod` | `"fitView"` | The method to be used to
|
|
53
|
+
| `resizeMethod` | `ResizeMethod` | `"fitView"` | The method to be used to size the columns that have no `width`. It can be the following values: - `fitView`: The columns share the width the other columns leave, and follow the grid's width as it changes, such as when the window is resized. A column the user resized, or whose width came from restored state, keeps its width. - `auto`: The columns will be resized based on the content. - A number representing the width of the columns. All columns except the columns with a specified width will have the same width. |
|
|
54
54
|
| `responsivePager` | `boolean` | `true` | Whether the pager is responsive. If set to `true`, the pager will be displayed as a dropdown when the grid width gets smaller. |
|
|
55
55
|
| `rounded` | `"large" \| "medium" \| "none" \| "small"` | `"medium"` | The border radius of the grid. |
|
|
56
56
|
| `rowClass` | `GridRowClass<T> \| null` | `null` | Returns extra CSS classes for the data row that shows an item, merged onto the row's own classes via `tailwind-merge`. It runs again whenever the item's row is rebound. Group, group footer and detail rows are not affected. To dim a row, prefer a text style such as `text-muted-foreground` over `opacity`: locked cells stay opaque so scrolled cells pass beneath them, and opacity on the row or its cells would let those show through. |
|
package/docs/grid-columns.md
CHANGED
|
@@ -216,12 +216,14 @@ Route holds two nested groups, so the header has two rows of group titles above
|
|
|
216
216
|
|
|
217
217
|
| `resizeMethod` | Columns without a `width` |
|
|
218
218
|
| :--- | :--- |
|
|
219
|
-
| `"fitView"` (default) | Share the width the fixed columns leave. |
|
|
219
|
+
| `"fitView"` (default) | Share the width the fixed columns leave, and follow the grid's width as it changes. |
|
|
220
220
|
| `"auto"` | Fit their rendered content. |
|
|
221
221
|
| A number | Get that many pixels each. |
|
|
222
222
|
|
|
223
223
|
`minWidth` (40 by default) and `maxWidth` bound a resize.
|
|
224
224
|
|
|
225
|
+
With `"fitView"`, the columns are fitted again whenever the grid's width changes, such as when the window is resized or a pane opens beside the grid. A column the user resized keeps its width, and the others share what it leaves. Widths restored with `monaGridStatePersistence` are kept the same way.
|
|
226
|
+
|
|
225
227
|
### Canceling a Move
|
|
226
228
|
|
|
227
229
|
```typescript
|
package/docs/grid.md
CHANGED
|
@@ -216,7 +216,7 @@ To show the condition in a column's filter UI as well, set the `filter` model of
|
|
|
216
216
|
| `class` | Classes on the grid element, merged with `tailwind-merge`. Set a height here for a grid that scrolls inside a fixed area. |
|
|
217
217
|
| `rounded` | The corner radius: `"none"`, `"small"`, `"medium"` (default) or `"large"`. |
|
|
218
218
|
| `rowClass` | A function that returns classes for each data row, such as a muted row for a cancelled order. See [Rows](grid-rows.md). |
|
|
219
|
-
| `resizeMethod` | How columns without a `width` get one: `"fitView"` (default) shares the free width, `"auto"` fits the content, and a number gives each of them that many pixels. See [Columns](grid-columns.md). |
|
|
219
|
+
| `resizeMethod` | How columns without a `width` get one: `"fitView"` (default) shares the free width and follows the grid's width as it changes, `"auto"` fits the content, and a number gives each of them that many pixels. See [Columns](grid-columns.md). |
|
|
220
220
|
|
|
221
221
|
Grid styling is implemented with Tailwind utility classes internally; there are no public CSS custom properties to override.
|
|
222
222
|
|
package/docs/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"essentials":"Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.\n\n## Essentials\n\n- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.\n- Import the styles in the main stylesheet, after Tailwind: `@import \"tailwindcss\";` then `@import \"@nanahoshi/mona-ui/styles.css\";`. Without it, components render unstyled.\n- Import every symbol from its entry point, such as `import { ButtonDirective } from \"@nanahoshi/mona-ui/button\";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.\n- Add what you import to the standalone component's `imports` array. There are no NgModules.\n- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).\n- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.\n\n## Common mistakes\n\n- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.\n- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.\n- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.\n- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.\n- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.\n- Using the rich text editor without its packages and styles. Mona UI doesn't install them: add `@tiptap/core`, `@tiptap/pm`, `@tiptap/starter-kit`, `@tiptap/extension-highlight`, `@tiptap/extension-image`, `@tiptap/extension-list`, `@tiptap/extension-subscript`, `@tiptap/extension-superscript`, `@tiptap/extension-table`, `@tiptap/extension-text-align`, `@tiptap/extension-text-style`, `remixicon` and `@tailwindcss/typography`, then `@import \"remixicon/fonts/remixicon.css\";` and `@plugin \"@tailwindcss/typography\";` to the global stylesheet.\n- Exporting a chart without its packages. `exportChart` and `downloadChart` need `jspdf`, `svg2pdf.js` and `html2canvas-pro`, which Mona UI doesn't install.","pages":[{"category":"Get Started","description":"What Mona UI is, what it includes and how it is built.","file":"docs/introduction.md","kind":"guide","path":"introduction","slug":"introduction","title":"Introduction"},{"category":"Get Started","description":"Install the package, set up its styles and choose a theme.","file":"docs/installation.md","kind":"guide","path":"installation","slug":"installation","title":"Installation"},{"category":"Get Started","description":"Choose and switch themes, follow the system's dark mode, and use theme tokens in your own styles.","entryPoint":"theme","file":"docs/theming.md","kind":"guide","path":"theming","slug":"theming","title":"Theming"},{"category":"Get Started","description":"Mona, Luna, Anna and Rena side by side, and when to use each one.","file":"docs/theming-built-in-themes.md","kind":"guide","path":"theming/built-in-themes","slug":"theming-built-in-themes","title":"Built-in Themes"},{"category":"Get Started","description":"Generate a palette from brand colors, override tokens, or let users choose a color.","file":"docs/theming-custom-colors.md","kind":"guide","path":"theming/custom-colors","slug":"theming-custom-colors","title":"Custom Colors"},{"category":"Get Started","description":"Register a theme of your own, from scratch or based on a built-in theme.","file":"docs/theming-custom-themes.md","kind":"guide","path":"theming/custom-themes","slug":"theming-custom-themes","title":"Custom Themes"},{"category":"Get Started","description":"Turn on a ripple that spreads from where a button is pressed, and add it to your own elements.","entryPoint":"ripple","file":"docs/ripple.md","kind":"guide","path":"ripple","slug":"ripple","title":"Ripple"},{"category":"Get Started","description":"Connect Mona UI controls to Angular signal forms.","file":"docs/forms.md","kind":"guide","path":"forms","slug":"forms","title":"Forms"},{"category":"Actions","description":"Styles a native button and adds loading, toggle and disabled behavior.","entryPoint":"button","file":"docs/button.md","kind":"component","path":"button","slug":"button","title":"Button"},{"category":"Actions","description":"Joins related buttons into one control with a shared look and size.","entryPoint":"button-group","file":"docs/button-group.md","kind":"component","path":"button-group","slug":"button-group","title":"Button Group"},{"category":"Actions","description":"A single button that opens a menu of actions.","entryPoint":"dropdown-button","file":"docs/dropdown-button.md","kind":"component","path":"dropdown-button","slug":"dropdown-button","title":"Dropdown Button"},{"category":"Actions","description":"A primary action button paired with a menu of secondary actions.","entryPoint":"split-button","file":"docs/split-button.md","kind":"component","path":"split-button","slug":"split-button","title":"Split Button"},{"category":"Actions","description":"A row of controls that is one Tab stop, moving what doesn't fit into a More menu.","entryPoint":"toolbar","file":"docs/toolbar.md","kind":"component","path":"toolbar","slug":"toolbar","title":"Toolbar"},{"category":"Form Fields","description":"A numeric input whose value is a decimal string, for exact values like money.","entryPoint":"numeric-text-box","file":"docs/decimal-textbox.md","kind":"component","path":"decimal-textbox","slug":"decimal-textbox","title":"Decimal Text Box"},{"category":"Form Fields","description":"A rich text editor with a configurable toolbar and an HTML value.","entryPoint":"editor","file":"docs/editor.md","kind":"component","path":"editor","slug":"editor","title":"Editor"},{"category":"Form Fields","description":"Groups related form controls under a labelled border.","entryPoint":"fieldset","file":"docs/fieldset.md","kind":"component","path":"fieldset","slug":"fieldset","title":"Fieldset"},{"category":"Form Fields","description":"Picks files from a drop zone or the file dialog, checks them, and uploads them with progress.","entryPoint":"file-upload","file":"docs/file-upload.md","kind":"component","path":"file-upload","slug":"file-upload","title":"File Upload"},{"category":"Form Fields","description":"Labels one form control, describes it with a hint and shows its validation errors.","entryPoint":"form-field","file":"docs/form-field.md","kind":"component","path":"form-field","slug":"form-field","title":"Form Field"},{"category":"Form Fields","description":"Styles a native input element and keeps its browser behavior.","entryPoint":"text-box","file":"docs/input.md","kind":"component","path":"input","slug":"input","title":"Input"},{"category":"Form Fields","description":"Styled, accessible labels associated with form controls.","entryPoint":"label","file":"docs/label.md","kind":"component","path":"label","slug":"label","title":"Label"},{"category":"Form Fields","description":"A text input for values in a fixed format, such as phone numbers, that fills in the format as you type.","entryPoint":"masked-text-box","file":"docs/masked-textbox.md","kind":"component","path":"masked-textbox","slug":"masked-textbox","title":"Masked Text Box"},{"category":"Form Fields","description":"A number input with spinner buttons, bounds and decimal formatting.","entryPoint":"numeric-text-box","file":"docs/numeric-textbox.md","kind":"component","path":"numeric-textbox","slug":"numeric-textbox","title":"Numeric Text Box"},{"category":"Form Fields","description":"A segmented input for one-time passwords and verification codes.","entryPoint":"otp-input","file":"docs/otp-input.md","kind":"component","path":"otp-input","slug":"otp-input","title":"OTP Input"},{"category":"Form Fields","description":"Styles a native textarea element and keeps its browser behavior.","entryPoint":"text-area","file":"docs/textarea.md","kind":"component","path":"textarea","slug":"textarea","title":"Text Area"},{"category":"Form Fields","description":"A text input with prefix and suffix slots and an optional clear button.","entryPoint":"text-box","file":"docs/textbox.md","kind":"component","path":"textbox","slug":"textbox","title":"Text Box"},{"category":"Selection","description":"A text input that suggests matching options as the user types.","entryPoint":"auto-complete","file":"docs/auto-complete.md","kind":"component","path":"auto-complete","slug":"auto-complete","title":"Auto Complete"},{"category":"Selection","description":"A checkbox with label handling and an indeterminate state.","entryPoint":"check-box","file":"docs/checkbox.md","kind":"component","path":"checkbox","slug":"checkbox","title":"Checkbox"},{"category":"Selection","description":"A text input that resolves typed text to one item from a collection.","entryPoint":"combo-box","file":"docs/combo-box.md","kind":"component","path":"combo-box","slug":"combo-box","title":"Combo Box"},{"category":"Selection","description":"A closed control that opens a list for choosing exactly one option.","entryPoint":"dropdown-list","file":"docs/dropdown-list.md","kind":"component","path":"dropdown-list","slug":"dropdown-list","title":"Dropdown List"},{"category":"Selection","description":"A closed control that opens a tree for choosing one item from a hierarchy.","entryPoint":"dropdown-tree","file":"docs/dropdown-tree.md","kind":"component","path":"dropdown-tree","slug":"dropdown-tree","title":"Dropdown Tree"},{"category":"Selection","description":"A control that shows selected options as removable tags.","entryPoint":"multi-select","file":"docs/multi-select.md","kind":"component","path":"multi-select","slug":"multi-select","title":"Multi Select"},{"category":"Selection","description":"A control that opens a tree with checkboxes and shows the checked items as removable tags.","entryPoint":"multi-select-tree","file":"docs/multi-select-tree.md","kind":"component","path":"multi-select-tree","slug":"multi-select-tree","title":"Multi Select Tree"},{"category":"Selection","description":"Radio buttons and groups for choosing one option from several.","entryPoint":"radio-button","file":"docs/radio-button.md","kind":"component","path":"radio-button","slug":"radio-button","title":"Radio Button"},{"category":"Selection","description":"A two-handle slider for selecting a numeric interval.","entryPoint":"slider","file":"docs/range-slider.md","kind":"component","path":"range-slider","slug":"range-slider","title":"Range Slider"},{"category":"Selection","description":"Choose a value from a visual scale of icons, in whole or half steps.","entryPoint":"rating","file":"docs/rating.md","kind":"component","path":"rating","slug":"rating","title":"Rating"},{"category":"Selection","description":"A compact set of mutually exclusive options.","entryPoint":"segmented","file":"docs/segmented.md","kind":"component","path":"segmented","slug":"segmented","title":"Segmented"},{"category":"Selection","description":"A single-handle slider for selecting a numeric value.","entryPoint":"slider","file":"docs/slider.md","kind":"component","path":"slider","slug":"slider","title":"Slider"},{"category":"Selection","description":"A binary on and off toggle with optional state labels.","entryPoint":"switch","file":"docs/switch.md","kind":"component","path":"switch","slug":"switch","title":"Switch"},{"category":"Date, Time & Color","description":"Date selection in single, multiple and range modes across month, year and decade views.","entryPoint":"calendar","file":"docs/calendar.md","kind":"component","path":"calendar","slug":"calendar","title":"Calendar"},{"category":"Date, Time & Color","description":"A color editor for saturation, value, hue and alpha.","entryPoint":"color-gradient","file":"docs/color-gradient.md","kind":"component","path":"color-gradient","slug":"color-gradient","title":"Color Gradient"},{"category":"Date, Time & Color","description":"A grid of selectable color swatches from a built-in or custom scheme.","entryPoint":"color-palette","file":"docs/color-palette.md","kind":"component","path":"color-palette","slug":"color-palette","title":"Color Palette"},{"category":"Date, Time & Color","description":"A compact control that opens a color palette or gradient editor.","entryPoint":"color-picker","file":"docs/color-picker.md","kind":"component","path":"color-picker","slug":"color-picker","title":"Color Picker"},{"category":"Date, Time & Color","description":"A date input that opens a calendar popup.","entryPoint":"date-picker","file":"docs/date-picker.md","kind":"component","path":"date-picker","slug":"date-picker","title":"Date Picker"},{"category":"Date, Time & Color","description":"Two date inputs for a range of days, with a calendar popup that shows two months.","entryPoint":"date-range-picker","file":"docs/date-range-picker.md","kind":"component","path":"date-range-picker","slug":"date-range-picker","title":"Date Range Picker"},{"category":"Date, Time & Color","description":"An input for choosing a date and a time together.","entryPoint":"datetime-picker","file":"docs/datetime-picker.md","kind":"component","path":"datetime-picker","slug":"datetime-picker","title":"Date Time Picker"},{"category":"Date, Time & Color","description":"A time input that opens a time selector popup.","entryPoint":"time-picker","file":"docs/time-picker.md","kind":"component","path":"time-picker","slug":"time-picker","title":"Time Picker"},{"category":"Data","description":"Shows a person or entity as an image, text label or projected content, alone or stacked in a group.","entryPoint":"avatar","file":"docs/avatar.md","kind":"component","path":"avatar","slug":"avatar","title":"Avatar"},{"category":"Data","description":"A small filled or outlined label for a count or a status.","entryPoint":"badge","file":"docs/badge.md","kind":"component","path":"badge","slug":"badge","title":"Badge"},{"category":"Data","description":"A compact label that can be selected, removed or given a prefix.","entryPoint":"chip","file":"docs/chip.md","kind":"component","path":"chip","slug":"chip","title":"Chip"},{"category":"Data","description":"A board of columns that cards move between by dragging or with the keyboard, with column limits.","entryPoint":"kanban","file":"docs/kanban.md","kind":"component","path":"kanban","slug":"kanban","title":"Kanban"},{"category":"Data","description":"A selectable list with a toolbar for moving items and transferring them between lists.","entryPoint":"list-box","file":"docs/list-box.md","kind":"component","path":"list-box","slug":"list-box","title":"List Box"},{"category":"Data","description":"Renders a collection as a list, with optional selection, grouping and paging.","entryPoint":"list-view","file":"docs/list-view.md","kind":"component","path":"list-view","slug":"list-view","title":"List View"},{"category":"Data","description":"Pagination controls with page buttons, a page-size selector and a page-jump input.","entryPoint":"pager","file":"docs/pager.md","kind":"component","path":"pager","slug":"pager","title":"Pager"},{"category":"Data","description":"Encodes text or a URL as a scannable QR code, with logo overlays and PNG, SVG and PDF export.","entryPoint":"qr-code","file":"docs/qr-code.md","kind":"component","path":"qr-code","slug":"qr-code","title":"QR Code"},{"category":"Data","description":"Lets users reorder any list by dragging or with the keyboard, and move items between connected lists.","entryPoint":"sortable","file":"docs/sortable.md","kind":"component","path":"sortable","slug":"sortable","title":"Sortable"},{"category":"Data","description":"Dated events along a line, down the page or across it, with cards that can open and close.","entryPoint":"timeline","file":"docs/timeline.md","kind":"component","path":"timeline","slug":"timeline","title":"Timeline"},{"category":"Data","description":"Hierarchical data as an expandable, keyboard-navigable tree.","entryPoint":"tree-view","file":"docs/tree-view.md","kind":"component","path":"tree-view","slug":"tree-view","title":"Tree View"},{"category":"Conversation","description":"A conversation with people or an assistant: message bubbles by day and author, a message box that sends files, and replies that stream in.","entryPoint":"chat","file":"docs/chat.md","kind":"component","path":"chat","slug":"chat","title":"Chat"},{"category":"Grid","description":"Tabular data in typed columns with paging, templates and a toolbar, extended by feature directives.","entryPoint":"grid","file":"docs/grid.md","kind":"component","path":"grid","slug":"grid","title":"Grid Overview"},{"category":"Grid","description":"Sort rows by column headers and filter them from a header menu or a filter row.","entryPoint":"grid","file":"docs/grid-sorting-filtering.md","kind":"component","path":"grid-sorting-filtering","slug":"grid-sorting-filtering","title":"Sorting & Filtering"},{"category":"Grid","description":"Group rows by column values and show sums, averages and other aggregates in footers.","entryPoint":"grid","file":"docs/grid-grouping.md","kind":"component","path":"grid-grouping","slug":"grid-grouping","title":"Grouping & Aggregates"},{"category":"Grid","description":"Show hierarchical rows in a grid, nested or linked by a parent key, with expandable levels.","entryPoint":"grid","file":"docs/grid-tree.md","kind":"component","path":"grid-tree","slug":"grid-tree","title":"Tree List"},{"category":"Grid","description":"Select rows by key with checkboxes, clicks and the keyboard, or a range of cells to copy and paste.","entryPoint":"grid","file":"docs/grid-selection.md","kind":"component","path":"grid-selection","slug":"grid-selection","title":"Selection"},{"category":"Grid","description":"Edit cells or rows inline with Signal Forms, and add, save, cancel and remove rows.","entryPoint":"grid","file":"docs/grid-editing.md","kind":"component","path":"grid-editing","slug":"grid-editing","title":"Editing"},{"category":"Grid","description":"Group, resize, reorder, lock and hide columns, by pointer, keyboard or the column chooser.","entryPoint":"grid","file":"docs/grid-columns.md","kind":"component","path":"grid-columns","slug":"grid-columns","title":"Columns"},{"category":"Grid","description":"Expandable detail rows, row reordering by drag or keyboard, row classes and row sizing.","entryPoint":"grid","file":"docs/grid-rows.md","kind":"component","path":"grid-rows","slug":"grid-rows","title":"Rows"},{"category":"Grid","description":"Load pages from a server, or render only the visible rows of a large data set.","entryPoint":"grid","file":"docs/grid-server.md","kind":"component","path":"grid-server","slug":"grid-server","title":"Server Binding & Virtualization"},{"category":"Grid","description":"Save and restore the grid's columns, sort, filter, groups and page size, and export rows as CSV, Excel or PDF.","entryPoint":"grid","file":"docs/grid-state-export.md","kind":"component","path":"grid-state-export","slug":"grid-state-export","title":"State & Export"},{"category":"Charts","description":"High-performance Canvas charts composed from series, axes and interaction parts.","entryPoint":"chart","file":"docs/chart.md","kind":"component","path":"chart","slug":"chart","title":"Chart Overview"},{"category":"Charts","description":"Line, area and range area series for values that change across a continuous or category axis.","entryPoint":"chart","file":"docs/chart-line-area.md","kind":"component","path":"chart-line-area","slug":"chart-line-area","title":"Line & Area"},{"category":"Charts","description":"Bar, range bar and waterfall series for comparing values, intervals and running totals.","entryPoint":"chart","file":"docs/chart-bar.md","kind":"component","path":"chart-bar","slug":"chart-bar","title":"Bar & Waterfall"},{"category":"Charts","description":"Scatter and bubble series for the relationship between two or three numeric values.","entryPoint":"chart","file":"docs/chart-scatter.md","kind":"component","path":"chart-scatter","slug":"chart-scatter","title":"Scatter & Bubble"},{"category":"Charts","description":"Candlestick and OHLC series for open, high, low and close prices.","entryPoint":"chart","file":"docs/chart-financial.md","kind":"component","path":"chart-financial","slug":"chart-financial","title":"Financial"},{"category":"Charts","description":"A heatmap series that colors a grid of cells by value, with a color legend.","entryPoint":"chart","file":"docs/chart-heatmap.md","kind":"component","path":"chart-heatmap","slug":"chart-heatmap","title":"Heatmap"},{"category":"Charts","description":"Pie and donut series for the parts of a whole, with slice labels and a donut center.","entryPoint":"chart","file":"docs/chart-pie.md","kind":"component","path":"chart-pie","slug":"chart-pie","title":"Pie & Donut"},{"category":"Charts","description":"A funnel series for stages that narrow, with conversion and drop-off between them.","entryPoint":"chart","file":"docs/chart-funnel.md","kind":"component","path":"chart-funnel","slug":"chart-funnel","title":"Funnel"},{"category":"Charts","description":"A treemap series that tiles hierarchical data by value.","entryPoint":"chart","file":"docs/chart-treemap.md","kind":"component","path":"chart-treemap","slug":"chart-treemap","title":"Treemap"},{"category":"Charts","description":"Radar and polar series on angular and radial axes, for comparing metrics or directions.","entryPoint":"chart","file":"docs/chart-radar.md","kind":"component","path":"chart-radar","slug":"chart-radar","title":"Radar & Polar"},{"category":"Charts","description":"Radial bar, rose and gauge series that draw values as arcs around a center.","entryPoint":"chart","file":"docs/chart-radial.md","kind":"component","path":"chart-radial","slug":"chart-radial","title":"Radial"},{"category":"Charts","description":"A word-sized line, area, column or win-loss chart, for a table cell or a line of text.","entryPoint":"sparkline","file":"docs/sparkline.md","kind":"component","path":"sparkline","slug":"sparkline","title":"Sparkline"},{"category":"Navigation","description":"A navigation trail showing where the current page sits in a hierarchy.","entryPoint":"breadcrumb","file":"docs/breadcrumb.md","kind":"component","path":"breadcrumb","slug":"breadcrumb","title":"Breadcrumb"},{"category":"Navigation","description":"A searchable list of actions or options, operated from one input, inline or in a dialog.","entryPoint":"command","file":"docs/command.md","kind":"component","path":"command","slug":"command","title":"Command Menu"},{"category":"Navigation","description":"A popup menu attached to an element, opened by right-click or keyboard.","entryPoint":"contextmenu","file":"docs/contextmenu.md","kind":"component","path":"contextmenu","slug":"contextmenu","title":"Context Menu"},{"category":"Navigation","description":"A persistent horizontal bar of top-level menus.","entryPoint":"menubar","file":"docs/menubar.md","kind":"component","path":"menubar","slug":"menubar","title":"Menubar"},{"category":"Navigation","description":"Opens a menu from an element you already have, such as an icon button or a row action.","entryPoint":"popup-menu","file":"docs/popup-menu.md","kind":"component","path":"popup-menu","slug":"popup-menu","title":"Popup Menu"},{"category":"Navigation","description":"A composable application shell with collapsible side panels.","entryPoint":"sidebar","file":"docs/sidebar.md","kind":"component","path":"sidebar","slug":"sidebar","title":"Sidebar"},{"category":"Navigation","description":"Groups, menus, rows, submenus, badges, actions and loading rows inside a sidebar.","entryPoint":"sidebar","file":"docs/sidebar-menus.md","kind":"component","path":"sidebar/menus","slug":"sidebar-menus","title":"Sidebar Menus"},{"category":"Navigation","description":"Collapsing, controlled and remembered state, the drawer on small screens, and reading a sidebar from code.","entryPoint":"sidebar","file":"docs/sidebar-state.md","kind":"component","path":"sidebar/state","slug":"sidebar-state","title":"Sidebar State & Behavior"},{"category":"Navigation","description":"Guides users through a sequential, multi-step process.","entryPoint":"stepper","file":"docs/stepper.md","kind":"component","path":"stepper","slug":"stepper","title":"Stepper"},{"category":"Navigation","description":"Switches between panels of related content.","entryPoint":"tabs","file":"docs/tabs.md","kind":"component","path":"tabs","slug":"tabs","title":"Tabs"},{"category":"Overlays","description":"Modal or non-modal messages, confirmations and content dialogs.","entryPoint":"dialog","file":"docs/dialog.md","kind":"component","path":"dialog","slug":"dialog","title":"Dialog"},{"category":"Overlays","description":"A floating panel anchored to a target and opened by a configurable trigger.","entryPoint":"popover","file":"docs/popover.md","kind":"component","path":"popover","slug":"popover","title":"Popover"},{"category":"Overlays","description":"Positions arbitrary content relative to an anchor, a point or the viewport.","entryPoint":"popup","file":"docs/popup.md","kind":"component","path":"popup","slug":"popup","title":"Popup"},{"category":"Overlays","description":"A modal panel attached to an edge of the viewport.","entryPoint":"sheet","file":"docs/sheet.md","kind":"component","path":"sheet","slug":"sheet","title":"Sheet"},{"category":"Overlays","description":"A floating tooltip with projected content, anchored to a separate target.","entryPoint":"tooltip","file":"docs/tooltip.md","kind":"component","path":"tooltip","slug":"tooltip","title":"Tooltip"},{"category":"Overlays","description":"Replaces a native title attribute with a styled tooltip.","entryPoint":"tooltip","file":"docs/tooltip-directive.md","kind":"component","path":"tooltip-directive","slug":"tooltip-directive","title":"Tooltip Directive"},{"category":"Overlays","description":"A draggable, resizable floating window that can be minimized and maximized.","entryPoint":"window","file":"docs/window.md","kind":"component","path":"window","slug":"window","title":"Window"},{"category":"Layout","description":"Groups related content and actions on one raised surface.","entryPoint":"card","file":"docs/card.md","kind":"component","path":"card","slug":"card","title":"Card"},{"category":"Layout","description":"A headless disclosure primitive for expandable regions.","entryPoint":"collapsible","file":"docs/collapsible.md","kind":"component","path":"collapsible","slug":"collapsible","title":"Collapsible"},{"category":"Layout","description":"A header that shows and hides its content, designed to stack with other panels.","entryPoint":"expansion-panel","file":"docs/expansion-panel.md","kind":"component","path":"expansion-panel","slug":"expansion-panel","title":"Expansion Panel"},{"category":"Layout","description":"A fixed-size carousel that pages through a collection one item at a time.","entryPoint":"scroll-view","file":"docs/scroll-view.md","kind":"component","path":"scroll-view","slug":"scroll-view","title":"Scroll View"},{"category":"Layout","description":"A thin line between groups of content, across or down, with an optional label.","entryPoint":"separator","file":"docs/separator.md","kind":"component","path":"separator","slug":"separator","title":"Separator"},{"category":"Layout","description":"Lays out panes in a row or column that can be resized and collapsed.","entryPoint":"splitter","file":"docs/splitter.md","kind":"component","path":"splitter","slug":"splitter","title":"Splitter"},{"category":"Feedback","description":"A message that stays on the page, tinted for what it means, with optional actions and dismissal.","entryPoint":"alert","file":"docs/alert.md","kind":"component","path":"alert","slug":"alert","title":"Alert"},{"category":"Feedback","description":"A circular progress indicator with an optional custom label.","entryPoint":"circular-progress-bar","file":"docs/circular-progress-bar.md","kind":"component","path":"circular-progress-bar","slug":"circular-progress-bar","title":"Circular Progress Bar"},{"category":"Feedback","description":"Transient toast notifications with optional auto-dismiss.","entryPoint":"notification","file":"docs/notification.md","kind":"component","path":"notification","slug":"notification","title":"Notification"},{"category":"Feedback","description":"Fills an empty area with a muted label or projected content.","entryPoint":"placeholder","file":"docs/placeholder.md","kind":"component","path":"placeholder","slug":"placeholder","title":"Placeholder"},{"category":"Feedback","description":"A horizontal progress indicator with determinate and indeterminate modes.","entryPoint":"progress-bar","file":"docs/progress-bar.md","kind":"component","path":"progress-bar","slug":"progress-bar","title":"Progress Bar"},{"category":"Feedback","description":"A decorative placeholder block for content that is still loading.","entryPoint":"skeleton","file":"docs/skeleton.md","kind":"component","path":"skeleton","slug":"skeleton","title":"Skeleton"},{"category":"Feedback","description":"An animated loading indicator and a service for loading overlays.","entryPoint":"spinner","file":"docs/spinner.md","kind":"component","path":"spinner","slug":"spinner","title":"Spinner"}],"schemaVersion":1,"version":"0.51.0"}
|
|
1
|
+
{"essentials":"Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.\n\n## Essentials\n\n- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.\n- Import the styles in the main stylesheet, after Tailwind: `@import \"tailwindcss\";` then `@import \"@nanahoshi/mona-ui/styles.css\";`. Without it, components render unstyled.\n- Import every symbol from its entry point, such as `import { ButtonDirective } from \"@nanahoshi/mona-ui/button\";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.\n- Add what you import to the standalone component's `imports` array. There are no NgModules.\n- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).\n- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.\n\n## Common mistakes\n\n- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.\n- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.\n- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.\n- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.\n- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.\n- Using the rich text editor without its packages and styles. Mona UI doesn't install them: add `@tiptap/core`, `@tiptap/pm`, `@tiptap/starter-kit`, `@tiptap/extension-highlight`, `@tiptap/extension-image`, `@tiptap/extension-list`, `@tiptap/extension-subscript`, `@tiptap/extension-superscript`, `@tiptap/extension-table`, `@tiptap/extension-text-align`, `@tiptap/extension-text-style`, `remixicon` and `@tailwindcss/typography`, then `@import \"remixicon/fonts/remixicon.css\";` and `@plugin \"@tailwindcss/typography\";` to the global stylesheet.\n- Exporting a chart without its packages. `exportChart` and `downloadChart` need `jspdf`, `svg2pdf.js` and `html2canvas-pro`, which Mona UI doesn't install.","pages":[{"category":"Get Started","description":"What Mona UI is, what it includes and how it is built.","file":"docs/introduction.md","kind":"guide","path":"introduction","slug":"introduction","title":"Introduction"},{"category":"Get Started","description":"Install the package, set up its styles and choose a theme.","file":"docs/installation.md","kind":"guide","path":"installation","slug":"installation","title":"Installation"},{"category":"Get Started","description":"Choose and switch themes, follow the system's dark mode, and use theme tokens in your own styles.","entryPoint":"theme","file":"docs/theming.md","kind":"guide","path":"theming","slug":"theming","title":"Theming"},{"category":"Get Started","description":"Mona, Luna, Anna and Rena side by side, and when to use each one.","file":"docs/theming-built-in-themes.md","kind":"guide","path":"theming/built-in-themes","slug":"theming-built-in-themes","title":"Built-in Themes"},{"category":"Get Started","description":"Generate a palette from brand colors, override tokens, or let users choose a color.","file":"docs/theming-custom-colors.md","kind":"guide","path":"theming/custom-colors","slug":"theming-custom-colors","title":"Custom Colors"},{"category":"Get Started","description":"Register a theme of your own, from scratch or based on a built-in theme.","file":"docs/theming-custom-themes.md","kind":"guide","path":"theming/custom-themes","slug":"theming-custom-themes","title":"Custom Themes"},{"category":"Get Started","description":"Turn on a ripple that spreads from where a button is pressed, and add it to your own elements.","entryPoint":"ripple","file":"docs/ripple.md","kind":"guide","path":"ripple","slug":"ripple","title":"Ripple"},{"category":"Get Started","description":"Connect Mona UI controls to Angular signal forms.","file":"docs/forms.md","kind":"guide","path":"forms","slug":"forms","title":"Forms"},{"category":"Actions","description":"Styles a native button and adds loading, toggle and disabled behavior.","entryPoint":"button","file":"docs/button.md","kind":"component","path":"button","slug":"button","title":"Button"},{"category":"Actions","description":"Joins related buttons into one control with a shared look and size.","entryPoint":"button-group","file":"docs/button-group.md","kind":"component","path":"button-group","slug":"button-group","title":"Button Group"},{"category":"Actions","description":"A single button that opens a menu of actions.","entryPoint":"dropdown-button","file":"docs/dropdown-button.md","kind":"component","path":"dropdown-button","slug":"dropdown-button","title":"Dropdown Button"},{"category":"Actions","description":"A primary action button paired with a menu of secondary actions.","entryPoint":"split-button","file":"docs/split-button.md","kind":"component","path":"split-button","slug":"split-button","title":"Split Button"},{"category":"Actions","description":"A row of controls that is one Tab stop, moving what doesn't fit into a More menu.","entryPoint":"toolbar","file":"docs/toolbar.md","kind":"component","path":"toolbar","slug":"toolbar","title":"Toolbar"},{"category":"Form Fields","description":"A numeric input whose value is a decimal string, for exact values like money.","entryPoint":"numeric-text-box","file":"docs/decimal-textbox.md","kind":"component","path":"decimal-textbox","slug":"decimal-textbox","title":"Decimal Text Box"},{"category":"Form Fields","description":"A rich text editor with a configurable toolbar and an HTML value.","entryPoint":"editor","file":"docs/editor.md","kind":"component","path":"editor","slug":"editor","title":"Editor"},{"category":"Form Fields","description":"Groups related form controls under a labelled border.","entryPoint":"fieldset","file":"docs/fieldset.md","kind":"component","path":"fieldset","slug":"fieldset","title":"Fieldset"},{"category":"Form Fields","description":"Picks files from a drop zone or the file dialog, checks them, and uploads them with progress.","entryPoint":"file-upload","file":"docs/file-upload.md","kind":"component","path":"file-upload","slug":"file-upload","title":"File Upload"},{"category":"Form Fields","description":"Labels one form control, describes it with a hint and shows its validation errors.","entryPoint":"form-field","file":"docs/form-field.md","kind":"component","path":"form-field","slug":"form-field","title":"Form Field"},{"category":"Form Fields","description":"Styles a native input element and keeps its browser behavior.","entryPoint":"text-box","file":"docs/input.md","kind":"component","path":"input","slug":"input","title":"Input"},{"category":"Form Fields","description":"Styled, accessible labels associated with form controls.","entryPoint":"label","file":"docs/label.md","kind":"component","path":"label","slug":"label","title":"Label"},{"category":"Form Fields","description":"A text input for values in a fixed format, such as phone numbers, that fills in the format as you type.","entryPoint":"masked-text-box","file":"docs/masked-textbox.md","kind":"component","path":"masked-textbox","slug":"masked-textbox","title":"Masked Text Box"},{"category":"Form Fields","description":"A number input with spinner buttons, bounds and decimal formatting.","entryPoint":"numeric-text-box","file":"docs/numeric-textbox.md","kind":"component","path":"numeric-textbox","slug":"numeric-textbox","title":"Numeric Text Box"},{"category":"Form Fields","description":"A segmented input for one-time passwords and verification codes.","entryPoint":"otp-input","file":"docs/otp-input.md","kind":"component","path":"otp-input","slug":"otp-input","title":"OTP Input"},{"category":"Form Fields","description":"Styles a native textarea element and keeps its browser behavior.","entryPoint":"text-area","file":"docs/textarea.md","kind":"component","path":"textarea","slug":"textarea","title":"Text Area"},{"category":"Form Fields","description":"A text input with prefix and suffix slots and an optional clear button.","entryPoint":"text-box","file":"docs/textbox.md","kind":"component","path":"textbox","slug":"textbox","title":"Text Box"},{"category":"Selection","description":"A text input that suggests matching options as the user types.","entryPoint":"auto-complete","file":"docs/auto-complete.md","kind":"component","path":"auto-complete","slug":"auto-complete","title":"Auto Complete"},{"category":"Selection","description":"A checkbox with label handling and an indeterminate state.","entryPoint":"check-box","file":"docs/checkbox.md","kind":"component","path":"checkbox","slug":"checkbox","title":"Checkbox"},{"category":"Selection","description":"A text input that resolves typed text to one item from a collection.","entryPoint":"combo-box","file":"docs/combo-box.md","kind":"component","path":"combo-box","slug":"combo-box","title":"Combo Box"},{"category":"Selection","description":"A closed control that opens a list for choosing exactly one option.","entryPoint":"dropdown-list","file":"docs/dropdown-list.md","kind":"component","path":"dropdown-list","slug":"dropdown-list","title":"Dropdown List"},{"category":"Selection","description":"A closed control that opens a tree for choosing one item from a hierarchy.","entryPoint":"dropdown-tree","file":"docs/dropdown-tree.md","kind":"component","path":"dropdown-tree","slug":"dropdown-tree","title":"Dropdown Tree"},{"category":"Selection","description":"A control that shows selected options as removable tags.","entryPoint":"multi-select","file":"docs/multi-select.md","kind":"component","path":"multi-select","slug":"multi-select","title":"Multi Select"},{"category":"Selection","description":"A control that opens a tree with checkboxes and shows the checked items as removable tags.","entryPoint":"multi-select-tree","file":"docs/multi-select-tree.md","kind":"component","path":"multi-select-tree","slug":"multi-select-tree","title":"Multi Select Tree"},{"category":"Selection","description":"Radio buttons and groups for choosing one option from several.","entryPoint":"radio-button","file":"docs/radio-button.md","kind":"component","path":"radio-button","slug":"radio-button","title":"Radio Button"},{"category":"Selection","description":"A two-handle slider for selecting a numeric interval.","entryPoint":"slider","file":"docs/range-slider.md","kind":"component","path":"range-slider","slug":"range-slider","title":"Range Slider"},{"category":"Selection","description":"Choose a value from a visual scale of icons, in whole or half steps.","entryPoint":"rating","file":"docs/rating.md","kind":"component","path":"rating","slug":"rating","title":"Rating"},{"category":"Selection","description":"A compact set of mutually exclusive options.","entryPoint":"segmented","file":"docs/segmented.md","kind":"component","path":"segmented","slug":"segmented","title":"Segmented"},{"category":"Selection","description":"A single-handle slider for selecting a numeric value.","entryPoint":"slider","file":"docs/slider.md","kind":"component","path":"slider","slug":"slider","title":"Slider"},{"category":"Selection","description":"A binary on and off toggle with optional state labels.","entryPoint":"switch","file":"docs/switch.md","kind":"component","path":"switch","slug":"switch","title":"Switch"},{"category":"Date, Time & Color","description":"Date selection in single, multiple and range modes across month, year and decade views.","entryPoint":"calendar","file":"docs/calendar.md","kind":"component","path":"calendar","slug":"calendar","title":"Calendar"},{"category":"Date, Time & Color","description":"A color editor for saturation, value, hue and alpha.","entryPoint":"color-gradient","file":"docs/color-gradient.md","kind":"component","path":"color-gradient","slug":"color-gradient","title":"Color Gradient"},{"category":"Date, Time & Color","description":"A grid of selectable color swatches from a built-in or custom scheme.","entryPoint":"color-palette","file":"docs/color-palette.md","kind":"component","path":"color-palette","slug":"color-palette","title":"Color Palette"},{"category":"Date, Time & Color","description":"A compact control that opens a color palette or gradient editor.","entryPoint":"color-picker","file":"docs/color-picker.md","kind":"component","path":"color-picker","slug":"color-picker","title":"Color Picker"},{"category":"Date, Time & Color","description":"A date input that opens a calendar popup.","entryPoint":"date-picker","file":"docs/date-picker.md","kind":"component","path":"date-picker","slug":"date-picker","title":"Date Picker"},{"category":"Date, Time & Color","description":"Two date inputs for a range of days, with a calendar popup that shows two months.","entryPoint":"date-range-picker","file":"docs/date-range-picker.md","kind":"component","path":"date-range-picker","slug":"date-range-picker","title":"Date Range Picker"},{"category":"Date, Time & Color","description":"An input for choosing a date and a time together.","entryPoint":"datetime-picker","file":"docs/datetime-picker.md","kind":"component","path":"datetime-picker","slug":"datetime-picker","title":"Date Time Picker"},{"category":"Date, Time & Color","description":"A time input that opens a time selector popup.","entryPoint":"time-picker","file":"docs/time-picker.md","kind":"component","path":"time-picker","slug":"time-picker","title":"Time Picker"},{"category":"Data","description":"Shows a person or entity as an image, text label or projected content, alone or stacked in a group.","entryPoint":"avatar","file":"docs/avatar.md","kind":"component","path":"avatar","slug":"avatar","title":"Avatar"},{"category":"Data","description":"A small filled or outlined label for a count or a status.","entryPoint":"badge","file":"docs/badge.md","kind":"component","path":"badge","slug":"badge","title":"Badge"},{"category":"Data","description":"A compact label that can be selected, removed or given a prefix.","entryPoint":"chip","file":"docs/chip.md","kind":"component","path":"chip","slug":"chip","title":"Chip"},{"category":"Data","description":"A board of columns that cards move between by dragging or with the keyboard, with column limits.","entryPoint":"kanban","file":"docs/kanban.md","kind":"component","path":"kanban","slug":"kanban","title":"Kanban"},{"category":"Data","description":"A selectable list with a toolbar for moving items and transferring them between lists.","entryPoint":"list-box","file":"docs/list-box.md","kind":"component","path":"list-box","slug":"list-box","title":"List Box"},{"category":"Data","description":"Renders a collection as a list, with optional selection, grouping and paging.","entryPoint":"list-view","file":"docs/list-view.md","kind":"component","path":"list-view","slug":"list-view","title":"List View"},{"category":"Data","description":"Pagination controls with page buttons, a page-size selector and a page-jump input.","entryPoint":"pager","file":"docs/pager.md","kind":"component","path":"pager","slug":"pager","title":"Pager"},{"category":"Data","description":"Encodes text or a URL as a scannable QR code, with logo overlays and PNG, SVG and PDF export.","entryPoint":"qr-code","file":"docs/qr-code.md","kind":"component","path":"qr-code","slug":"qr-code","title":"QR Code"},{"category":"Data","description":"Lets users reorder any list by dragging or with the keyboard, and move items between connected lists.","entryPoint":"sortable","file":"docs/sortable.md","kind":"component","path":"sortable","slug":"sortable","title":"Sortable"},{"category":"Data","description":"Dated events along a line, down the page or across it, with cards that can open and close.","entryPoint":"timeline","file":"docs/timeline.md","kind":"component","path":"timeline","slug":"timeline","title":"Timeline"},{"category":"Data","description":"Hierarchical data as an expandable, keyboard-navigable tree.","entryPoint":"tree-view","file":"docs/tree-view.md","kind":"component","path":"tree-view","slug":"tree-view","title":"Tree View"},{"category":"Conversation","description":"A conversation with people or an assistant: message bubbles by day and author, a message box that sends files, and replies that stream in.","entryPoint":"chat","file":"docs/chat.md","kind":"component","path":"chat","slug":"chat","title":"Chat"},{"category":"Grid","description":"Tabular data in typed columns with paging, templates and a toolbar, extended by feature directives.","entryPoint":"grid","file":"docs/grid.md","kind":"component","path":"grid","slug":"grid","title":"Grid Overview"},{"category":"Grid","description":"Sort rows by column headers and filter them from a header menu or a filter row.","entryPoint":"grid","file":"docs/grid-sorting-filtering.md","kind":"component","path":"grid-sorting-filtering","slug":"grid-sorting-filtering","title":"Sorting & Filtering"},{"category":"Grid","description":"Group rows by column values and show sums, averages and other aggregates in footers.","entryPoint":"grid","file":"docs/grid-grouping.md","kind":"component","path":"grid-grouping","slug":"grid-grouping","title":"Grouping & Aggregates"},{"category":"Grid","description":"Show hierarchical rows in a grid, nested or linked by a parent key, with expandable levels.","entryPoint":"grid","file":"docs/grid-tree.md","kind":"component","path":"grid-tree","slug":"grid-tree","title":"Tree List"},{"category":"Grid","description":"Select rows by key with checkboxes, clicks and the keyboard, or a range of cells to copy and paste.","entryPoint":"grid","file":"docs/grid-selection.md","kind":"component","path":"grid-selection","slug":"grid-selection","title":"Selection"},{"category":"Grid","description":"Edit cells or rows inline with Signal Forms, and add, save, cancel and remove rows.","entryPoint":"grid","file":"docs/grid-editing.md","kind":"component","path":"grid-editing","slug":"grid-editing","title":"Editing"},{"category":"Grid","description":"Group, resize, reorder, lock and hide columns, by pointer, keyboard or the column chooser.","entryPoint":"grid","file":"docs/grid-columns.md","kind":"component","path":"grid-columns","slug":"grid-columns","title":"Columns"},{"category":"Grid","description":"Expandable detail rows, row reordering by drag or keyboard, row classes and row sizing.","entryPoint":"grid","file":"docs/grid-rows.md","kind":"component","path":"grid-rows","slug":"grid-rows","title":"Rows"},{"category":"Grid","description":"Load pages from a server, or render only the visible rows of a large data set.","entryPoint":"grid","file":"docs/grid-server.md","kind":"component","path":"grid-server","slug":"grid-server","title":"Server Binding & Virtualization"},{"category":"Grid","description":"Save and restore the grid's columns, sort, filter, groups and page size, and export rows as CSV, Excel or PDF.","entryPoint":"grid","file":"docs/grid-state-export.md","kind":"component","path":"grid-state-export","slug":"grid-state-export","title":"State & Export"},{"category":"Charts","description":"High-performance Canvas charts composed from series, axes and interaction parts.","entryPoint":"chart","file":"docs/chart.md","kind":"component","path":"chart","slug":"chart","title":"Chart Overview"},{"category":"Charts","description":"Line, area and range area series for values that change across a continuous or category axis.","entryPoint":"chart","file":"docs/chart-line-area.md","kind":"component","path":"chart-line-area","slug":"chart-line-area","title":"Line & Area"},{"category":"Charts","description":"Bar, range bar and waterfall series for comparing values, intervals and running totals.","entryPoint":"chart","file":"docs/chart-bar.md","kind":"component","path":"chart-bar","slug":"chart-bar","title":"Bar & Waterfall"},{"category":"Charts","description":"Scatter and bubble series for the relationship between two or three numeric values.","entryPoint":"chart","file":"docs/chart-scatter.md","kind":"component","path":"chart-scatter","slug":"chart-scatter","title":"Scatter & Bubble"},{"category":"Charts","description":"Candlestick and OHLC series for open, high, low and close prices.","entryPoint":"chart","file":"docs/chart-financial.md","kind":"component","path":"chart-financial","slug":"chart-financial","title":"Financial"},{"category":"Charts","description":"A heatmap series that colors a grid of cells by value, with a color legend.","entryPoint":"chart","file":"docs/chart-heatmap.md","kind":"component","path":"chart-heatmap","slug":"chart-heatmap","title":"Heatmap"},{"category":"Charts","description":"Pie and donut series for the parts of a whole, with slice labels and a donut center.","entryPoint":"chart","file":"docs/chart-pie.md","kind":"component","path":"chart-pie","slug":"chart-pie","title":"Pie & Donut"},{"category":"Charts","description":"A funnel series for stages that narrow, with conversion and drop-off between them.","entryPoint":"chart","file":"docs/chart-funnel.md","kind":"component","path":"chart-funnel","slug":"chart-funnel","title":"Funnel"},{"category":"Charts","description":"A treemap series that tiles hierarchical data by value.","entryPoint":"chart","file":"docs/chart-treemap.md","kind":"component","path":"chart-treemap","slug":"chart-treemap","title":"Treemap"},{"category":"Charts","description":"Radar and polar series on angular and radial axes, for comparing metrics or directions.","entryPoint":"chart","file":"docs/chart-radar.md","kind":"component","path":"chart-radar","slug":"chart-radar","title":"Radar & Polar"},{"category":"Charts","description":"Radial bar, rose and gauge series that draw values as arcs around a center.","entryPoint":"chart","file":"docs/chart-radial.md","kind":"component","path":"chart-radial","slug":"chart-radial","title":"Radial"},{"category":"Charts","description":"A word-sized line, area, column or win-loss chart, for a table cell or a line of text.","entryPoint":"sparkline","file":"docs/sparkline.md","kind":"component","path":"sparkline","slug":"sparkline","title":"Sparkline"},{"category":"Navigation","description":"A navigation trail showing where the current page sits in a hierarchy.","entryPoint":"breadcrumb","file":"docs/breadcrumb.md","kind":"component","path":"breadcrumb","slug":"breadcrumb","title":"Breadcrumb"},{"category":"Navigation","description":"A searchable list of actions or options, operated from one input, inline or in a dialog.","entryPoint":"command","file":"docs/command.md","kind":"component","path":"command","slug":"command","title":"Command Menu"},{"category":"Navigation","description":"A popup menu attached to an element, opened by right-click or keyboard.","entryPoint":"contextmenu","file":"docs/contextmenu.md","kind":"component","path":"contextmenu","slug":"contextmenu","title":"Context Menu"},{"category":"Navigation","description":"A persistent horizontal bar of top-level menus.","entryPoint":"menubar","file":"docs/menubar.md","kind":"component","path":"menubar","slug":"menubar","title":"Menubar"},{"category":"Navigation","description":"Opens a menu from an element you already have, such as an icon button or a row action.","entryPoint":"popup-menu","file":"docs/popup-menu.md","kind":"component","path":"popup-menu","slug":"popup-menu","title":"Popup Menu"},{"category":"Navigation","description":"A composable application shell with collapsible side panels.","entryPoint":"sidebar","file":"docs/sidebar.md","kind":"component","path":"sidebar","slug":"sidebar","title":"Sidebar"},{"category":"Navigation","description":"Groups, menus, rows, submenus, badges, actions and loading rows inside a sidebar.","entryPoint":"sidebar","file":"docs/sidebar-menus.md","kind":"component","path":"sidebar/menus","slug":"sidebar-menus","title":"Sidebar Menus"},{"category":"Navigation","description":"Collapsing, controlled and remembered state, the drawer on small screens, and reading a sidebar from code.","entryPoint":"sidebar","file":"docs/sidebar-state.md","kind":"component","path":"sidebar/state","slug":"sidebar-state","title":"Sidebar State & Behavior"},{"category":"Navigation","description":"Guides users through a sequential, multi-step process.","entryPoint":"stepper","file":"docs/stepper.md","kind":"component","path":"stepper","slug":"stepper","title":"Stepper"},{"category":"Navigation","description":"Switches between panels of related content.","entryPoint":"tabs","file":"docs/tabs.md","kind":"component","path":"tabs","slug":"tabs","title":"Tabs"},{"category":"Overlays","description":"Modal or non-modal messages, confirmations and content dialogs.","entryPoint":"dialog","file":"docs/dialog.md","kind":"component","path":"dialog","slug":"dialog","title":"Dialog"},{"category":"Overlays","description":"A floating panel anchored to a target and opened by a configurable trigger.","entryPoint":"popover","file":"docs/popover.md","kind":"component","path":"popover","slug":"popover","title":"Popover"},{"category":"Overlays","description":"Positions arbitrary content relative to an anchor, a point or the viewport.","entryPoint":"popup","file":"docs/popup.md","kind":"component","path":"popup","slug":"popup","title":"Popup"},{"category":"Overlays","description":"A modal panel attached to an edge of the viewport.","entryPoint":"sheet","file":"docs/sheet.md","kind":"component","path":"sheet","slug":"sheet","title":"Sheet"},{"category":"Overlays","description":"A floating tooltip with projected content, anchored to a separate target.","entryPoint":"tooltip","file":"docs/tooltip.md","kind":"component","path":"tooltip","slug":"tooltip","title":"Tooltip"},{"category":"Overlays","description":"Replaces a native title attribute with a styled tooltip.","entryPoint":"tooltip","file":"docs/tooltip-directive.md","kind":"component","path":"tooltip-directive","slug":"tooltip-directive","title":"Tooltip Directive"},{"category":"Overlays","description":"A draggable, resizable floating window that can be minimized and maximized.","entryPoint":"window","file":"docs/window.md","kind":"component","path":"window","slug":"window","title":"Window"},{"category":"Layout","description":"Groups related content and actions on one raised surface.","entryPoint":"card","file":"docs/card.md","kind":"component","path":"card","slug":"card","title":"Card"},{"category":"Layout","description":"A headless disclosure primitive for expandable regions.","entryPoint":"collapsible","file":"docs/collapsible.md","kind":"component","path":"collapsible","slug":"collapsible","title":"Collapsible"},{"category":"Layout","description":"A header that shows and hides its content, designed to stack with other panels.","entryPoint":"expansion-panel","file":"docs/expansion-panel.md","kind":"component","path":"expansion-panel","slug":"expansion-panel","title":"Expansion Panel"},{"category":"Layout","description":"A fixed-size carousel that pages through a collection one item at a time.","entryPoint":"scroll-view","file":"docs/scroll-view.md","kind":"component","path":"scroll-view","slug":"scroll-view","title":"Scroll View"},{"category":"Layout","description":"A thin line between groups of content, across or down, with an optional label.","entryPoint":"separator","file":"docs/separator.md","kind":"component","path":"separator","slug":"separator","title":"Separator"},{"category":"Layout","description":"Lays out panes in a row or column that can be resized and collapsed.","entryPoint":"splitter","file":"docs/splitter.md","kind":"component","path":"splitter","slug":"splitter","title":"Splitter"},{"category":"Feedback","description":"A message that stays on the page, tinted for what it means, with optional actions and dismissal.","entryPoint":"alert","file":"docs/alert.md","kind":"component","path":"alert","slug":"alert","title":"Alert"},{"category":"Feedback","description":"A circular progress indicator with an optional custom label.","entryPoint":"circular-progress-bar","file":"docs/circular-progress-bar.md","kind":"component","path":"circular-progress-bar","slug":"circular-progress-bar","title":"Circular Progress Bar"},{"category":"Feedback","description":"Transient toast notifications with optional auto-dismiss.","entryPoint":"notification","file":"docs/notification.md","kind":"component","path":"notification","slug":"notification","title":"Notification"},{"category":"Feedback","description":"Fills an empty area with a muted label or projected content.","entryPoint":"placeholder","file":"docs/placeholder.md","kind":"component","path":"placeholder","slug":"placeholder","title":"Placeholder"},{"category":"Feedback","description":"A horizontal progress indicator with determinate and indeterminate modes.","entryPoint":"progress-bar","file":"docs/progress-bar.md","kind":"component","path":"progress-bar","slug":"progress-bar","title":"Progress Bar"},{"category":"Feedback","description":"A decorative placeholder block for content that is still loading.","entryPoint":"skeleton","file":"docs/skeleton.md","kind":"component","path":"skeleton","slug":"skeleton","title":"Skeleton"},{"category":"Feedback","description":"An animated loading indicator and a service for loading overlays.","entryPoint":"spinner","file":"docs/spinner.md","kind":"component","path":"spinner","slug":"spinner","title":"Spinner"}],"schemaVersion":1,"version":"0.51.1"}
|
package/fesm2022/{grid-colgroup.component-BFbiAvkG.mjs → grid-colgroup.component-Ccz4jNGD.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as GridService } from "./grid.styles-
|
|
1
|
+
import { q as GridService } from "./grid.styles-DBLUtq2X.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, inject } from "@angular/core";
|
|
4
4
|
import { take } from "rxjs";
|
|
@@ -74,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
74
74
|
});
|
|
75
75
|
export { removeGridRow as n, GridColgroupComponent as t };
|
|
76
76
|
|
|
77
|
-
//# sourceMappingURL=grid-colgroup.component-
|
|
77
|
+
//# sourceMappingURL=grid-colgroup.component-Ccz4jNGD.mjs.map
|
package/fesm2022/{grid-footer-row.component-DpSu7jvG.mjs → grid-footer-row.component-3i2wvQ6a.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as GridLogicalCellDirective, K as GridLockedCellDirective, h as gridFooterTableRowThemeVariants, m as gridFooterTableCellThemeVariants, q as GridService } from "./grid.styles-
|
|
1
|
+
import { H as GridLogicalCellDirective, K as GridLockedCellDirective, h as gridFooterTableRowThemeVariants, m as gridFooterTableCellThemeVariants, q as GridService } from "./grid.styles-DBLUtq2X.mjs";
|
|
2
2
|
import { NgTemplateOutlet } from "@angular/common";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import { Component, Directive, computed, inject, input } from "@angular/core";
|
|
@@ -484,4 +484,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
484
484
|
});
|
|
485
485
|
export { GridFooterRowComponent };
|
|
486
486
|
|
|
487
|
-
//# sourceMappingURL=grid-footer-row.component-
|
|
487
|
+
//# sourceMappingURL=grid-footer-row.component-3i2wvQ6a.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as gridRowDragPreviewThemeVariants, K as GridLockedCellDirective, P as gridListTableThemeVariants, j as gridListBaseThemeVariants, q as GridService } from "./grid.styles-
|
|
2
|
-
import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./grid-row.component-
|
|
3
|
-
import { t as GridColgroupComponent } from "./grid-colgroup.component-
|
|
4
|
-
import { GridFooterRowComponent } from "./grid-footer-row.component-
|
|
1
|
+
import { I as gridRowDragPreviewThemeVariants, K as GridLockedCellDirective, P as gridListTableThemeVariants, j as gridListBaseThemeVariants, q as GridService } from "./grid.styles-DBLUtq2X.mjs";
|
|
2
|
+
import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./grid-row.component-CK8q0Ecr.mjs";
|
|
3
|
+
import { t as GridColgroupComponent } from "./grid-colgroup.component-Ccz4jNGD.mjs";
|
|
4
|
+
import { GridFooterRowComponent } from "./grid-footer-row.component-3i2wvQ6a.mjs";
|
|
5
5
|
import { NgTemplateOutlet } from "@angular/common";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import { Component, DestroyRef, ElementRef, afterNextRender, afterRenderEffect, computed, effect, inject, input, untracked, viewChild } from "@angular/core";
|
|
@@ -471,4 +471,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
471
471
|
});
|
|
472
472
|
export { GridListComponent };
|
|
473
473
|
|
|
474
|
-
//# sourceMappingURL=grid-list.component-
|
|
474
|
+
//# sourceMappingURL=grid-list.component-BaI4IOC6.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as gridTreeLeafSpacerThemeVariants, H as GridLogicalCellDirective, K as GridLockedCellDirective, L as gridRowReorderHandleThemeVariants, M as gridListTableCellThemeVariants, N as gridListTableRowThemeVariants, Q as formatGridCellValue, U as GRID_CELL_FOCUSABLE_SELECTOR, V as gridTreeToggleThemeVariants, a as gridCellEditorBaseThemeVariants, b as gridGroupRowThemeVariants, i as gridCellDirtyIndicatorThemeVariants, n as gridCellBaseThemeVariants, o as gridCellEditorInputThemeVariants, q as GridService, r as gridCellContainerThemeVariants, s as gridCellTextThemeVariants, tt as GridNavigationService, z as gridSelectionCellThemeVariants } from "./grid.styles-
|
|
2
|
-
import { n as removeGridRow } from "./grid-colgroup.component-
|
|
1
|
+
import { B as gridTreeLeafSpacerThemeVariants, H as GridLogicalCellDirective, K as GridLockedCellDirective, L as gridRowReorderHandleThemeVariants, M as gridListTableCellThemeVariants, N as gridListTableRowThemeVariants, Q as formatGridCellValue, U as GRID_CELL_FOCUSABLE_SELECTOR, V as gridTreeToggleThemeVariants, a as gridCellEditorBaseThemeVariants, b as gridGroupRowThemeVariants, i as gridCellDirtyIndicatorThemeVariants, n as gridCellBaseThemeVariants, o as gridCellEditorInputThemeVariants, q as GridService, r as gridCellContainerThemeVariants, s as gridCellTextThemeVariants, tt as GridNavigationService, z as gridSelectionCellThemeVariants } from "./grid.styles-DBLUtq2X.mjs";
|
|
2
|
+
import { n as removeGridRow } from "./grid-colgroup.component-Ccz4jNGD.mjs";
|
|
3
3
|
import { NgTemplateOutlet } from "@angular/common";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, Directive, ElementRef, Injector, LOCALE_ID, afterNextRender, computed, effect, inject, input, isDevMode, model, output, signal, untracked, viewChild } from "@angular/core";
|
|
@@ -2174,4 +2174,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2174
2174
|
});
|
|
2175
2175
|
export { GridCellDirective as i, GridGroupRowComponent as n, GridAddRowComponent as r, GridRowComponent as t };
|
|
2176
2176
|
|
|
2177
|
-
//# sourceMappingURL=grid-row.component-
|
|
2177
|
+
//# sourceMappingURL=grid-row.component-CK8q0Ecr.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as gridListTableThemeVariants, _ as gridFooterThemeVariants, g as gridFooterTableThemeVariants, j as gridListBaseThemeVariants, q as GridService, tt as GridNavigationService } from "./grid.styles-
|
|
2
|
-
import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./grid-row.component-
|
|
3
|
-
import { t as GridColgroupComponent } from "./grid-colgroup.component-
|
|
4
|
-
import { GridFooterRowComponent } from "./grid-footer-row.component-
|
|
1
|
+
import { P as gridListTableThemeVariants, _ as gridFooterThemeVariants, g as gridFooterTableThemeVariants, j as gridListBaseThemeVariants, q as GridService, tt as GridNavigationService } from "./grid.styles-DBLUtq2X.mjs";
|
|
2
|
+
import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./grid-row.component-CK8q0Ecr.mjs";
|
|
3
|
+
import { t as GridColgroupComponent } from "./grid-colgroup.component-Ccz4jNGD.mjs";
|
|
4
|
+
import { GridFooterRowComponent } from "./grid-footer-row.component-3i2wvQ6a.mjs";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import { Component, DestroyRef, ElementRef, Injector, afterNextRender, computed, effect, inject, input, signal, untracked, viewChild } from "@angular/core";
|
|
7
7
|
import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
|
|
@@ -346,4 +346,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
346
346
|
});
|
|
347
347
|
export { GridVirtualListComponent };
|
|
348
348
|
|
|
349
|
-
//# sourceMappingURL=grid-virtual-list.component-
|
|
349
|
+
//# sourceMappingURL=grid-virtual-list.component-BPLi0OaO.mjs.map
|
|
@@ -1426,6 +1426,7 @@ var GridService = class GridService {
|
|
|
1426
1426
|
#anchorRowKey;
|
|
1427
1427
|
#bulkSelectionRowKeys;
|
|
1428
1428
|
#bulkSelectionSelectedCount;
|
|
1429
|
+
#columnIdsSizedByUser;
|
|
1429
1430
|
#document;
|
|
1430
1431
|
#editContext;
|
|
1431
1432
|
#editSession;
|
|
@@ -1446,7 +1447,6 @@ var GridService = class GridService {
|
|
|
1446
1447
|
#rowReorderableOptions;
|
|
1447
1448
|
#rowUidByData;
|
|
1448
1449
|
#rowUidByKeyObject;
|
|
1449
|
-
#scrollbarGutterMeasurementSource;
|
|
1450
1450
|
#scrollbarGutterWidth;
|
|
1451
1451
|
#seededFields;
|
|
1452
1452
|
#serverBindingEnabled;
|
|
@@ -1479,6 +1479,7 @@ var GridService = class GridService {
|
|
|
1479
1479
|
for (const key of this.selectedKeys()) if (scopeKeys.has(key)) count++;
|
|
1480
1480
|
return count;
|
|
1481
1481
|
}, ...ngDevMode ? [{ debugName: "#bulkSelectionSelectedCount" }] : /* istanbul ignore next */ []);
|
|
1482
|
+
this.#columnIdsSizedByUser = signal(ImmutableSet.create(), ...ngDevMode ? [{ debugName: "#columnIdsSizedByUser" }] : /* istanbul ignore next */ []);
|
|
1482
1483
|
this.#document = inject(DOCUMENT$1);
|
|
1483
1484
|
this.#editContext = signal(null, ...ngDevMode ? [{ debugName: "#editContext" }] : /* istanbul ignore next */ []);
|
|
1484
1485
|
this.#editSession = signal(null, ...ngDevMode ? [{ debugName: "#editSession" }] : /* istanbul ignore next */ []);
|
|
@@ -1507,7 +1508,6 @@ var GridService = class GridService {
|
|
|
1507
1508
|
this.#rowReorderableOptions = signal({ enabled: false }, ...ngDevMode ? [{ debugName: "#rowReorderableOptions" }] : /* istanbul ignore next */ []);
|
|
1508
1509
|
this.#rowUidByData = /* @__PURE__ */ new WeakMap();
|
|
1509
1510
|
this.#rowUidByKeyObject = /* @__PURE__ */ new WeakMap();
|
|
1510
|
-
this.#scrollbarGutterMeasurementSource = signal("fallback", ...ngDevMode ? [{ debugName: "#scrollbarGutterMeasurementSource" }] : /* istanbul ignore next */ []);
|
|
1511
1511
|
this.#scrollbarGutterWidth = signal(0, ...ngDevMode ? [{ debugName: "#scrollbarGutterWidth" }] : /* istanbul ignore next */ []);
|
|
1512
1512
|
this.#seededFields = /* @__PURE__ */ new WeakMap();
|
|
1513
1513
|
this.#serverBindingEnabled = signal(false, ...ngDevMode ? [{ debugName: "#serverBindingEnabled" }] : /* istanbul ignore next */ []);
|
|
@@ -1666,7 +1666,6 @@ var GridService = class GridService {
|
|
|
1666
1666
|
}, ...ngDevMode ? [{ debugName: "groupableOptions" }] : /* istanbul ignore next */ []);
|
|
1667
1667
|
this.hasFooter = computed(() => this.aggregateColumns().any(), ...ngDevMode ? [{ debugName: "hasFooter" }] : /* istanbul ignore next */ []);
|
|
1668
1668
|
this.hasLeftLockedColumns = computed(() => this.rowReorderColumnVisible() || this.selectionColumnVisible() || this.visibleColumns().any((column) => column.locked && column.lockedPosition === "left"), ...ngDevMode ? [{ debugName: "hasLeftLockedColumns" }] : /* istanbul ignore next */ []);
|
|
1669
|
-
this.hasLiveScrollbarGutterWidth = computed(() => this.#scrollbarGutterMeasurementSource() === "body", ...ngDevMode ? [{ debugName: "hasLiveScrollbarGutterWidth" }] : /* istanbul ignore next */ []);
|
|
1670
1669
|
this.headerGroupDepth = computed(() => this.headerGroupRows().length, ...ngDevMode ? [{ debugName: "headerGroupDepth" }] : /* istanbul ignore next */ []);
|
|
1671
1670
|
this.headerGroupRows = computed(() => buildHeaderGroupRows(this.layout()), ...ngDevMode ? [{ debugName: "headerGroupRows" }] : /* istanbul ignore next */ []);
|
|
1672
1671
|
this.headerRowCount = computed(() => this.headerGroupDepth() + (this.filterRowEnabled() ? 2 : 1), ...ngDevMode ? [{ debugName: "headerRowCount" }] : /* istanbul ignore next */ []);
|
|
@@ -1976,6 +1975,8 @@ var GridService = class GridService {
|
|
|
1976
1975
|
hidden: columnState.hidden
|
|
1977
1976
|
};
|
|
1978
1977
|
});
|
|
1978
|
+
const restoredColumnIds = columns.filter((column) => stateColumnById.get(this.getColumnStateId(column) ?? "")?.width != null).map((column) => column.id);
|
|
1979
|
+
this.#columnIdsSizedByUser.update((ids) => ids.addAll(restoredColumnIds));
|
|
1979
1980
|
const updatedColumnById = /* @__PURE__ */ new Map();
|
|
1980
1981
|
for (const column of columns) {
|
|
1981
1982
|
const id = this.getColumnStateId(column);
|
|
@@ -2280,6 +2281,9 @@ var GridService = class GridService {
|
|
|
2280
2281
|
const column = this.#rangeColumnIndexById().get(columnId);
|
|
2281
2282
|
return row != null && column != null && row >= bounds.firstRow && row <= bounds.lastRow && column >= bounds.firstColumn && column <= bounds.lastColumn;
|
|
2282
2283
|
}
|
|
2284
|
+
isColumnSizedByUser(columnId) {
|
|
2285
|
+
return this.#columnIdsSizedByUser().contains(columnId);
|
|
2286
|
+
}
|
|
2283
2287
|
isGroupCollapsed(groupKey) {
|
|
2284
2288
|
return this.collapsedGroupKeys().contains(groupKey);
|
|
2285
2289
|
}
|
|
@@ -2361,6 +2365,9 @@ var GridService = class GridService {
|
|
|
2361
2365
|
const current = this.treeExpandedKeys();
|
|
2362
2366
|
if (next.size() !== current.size() || !next.all((key) => current.contains(key))) this.treeExpandedKeys.set(next);
|
|
2363
2367
|
}
|
|
2368
|
+
markColumnSizedByUser(columnId) {
|
|
2369
|
+
this.#columnIdsSizedByUser.update((ids) => ids.add(columnId));
|
|
2370
|
+
}
|
|
2364
2371
|
moveGroupColumn(column, moveAs) {
|
|
2365
2372
|
const previous = this.#groupColumnIds();
|
|
2366
2373
|
this.#groupColumnIds.update((ids) => {
|
|
@@ -2624,10 +2631,13 @@ var GridService = class GridService {
|
|
|
2624
2631
|
this.updateColumn(columnId, { calculatedWidth: value });
|
|
2625
2632
|
}
|
|
2626
2633
|
setCalculatedWidths(widthByColumnId) {
|
|
2627
|
-
this.updateColumns((column) =>
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2634
|
+
this.updateColumns((column) => {
|
|
2635
|
+
const calculatedWidth = widthByColumnId.get(column.id) ?? null;
|
|
2636
|
+
return widthByColumnId.has(column.id) && column.calculatedWidth !== calculatedWidth ? {
|
|
2637
|
+
...column,
|
|
2638
|
+
calculatedWidth
|
|
2639
|
+
} : column;
|
|
2640
|
+
});
|
|
2631
2641
|
}
|
|
2632
2642
|
setCellRange(anchor, focus) {
|
|
2633
2643
|
const current = this.cellRange();
|
|
@@ -3423,12 +3433,10 @@ var GridService = class GridService {
|
|
|
3423
3433
|
effect((onCleanup) => {
|
|
3424
3434
|
const bodyElement = this.bodyScrollElement();
|
|
3425
3435
|
if (bodyElement == null) {
|
|
3426
|
-
this.#scrollbarGutterMeasurementSource.set("fallback");
|
|
3427
3436
|
this.#scrollbarGutterWidth.set(this.measureFallbackScrollbarGutter());
|
|
3428
3437
|
return;
|
|
3429
3438
|
}
|
|
3430
3439
|
const updateScrollbarGutter = () => {
|
|
3431
|
-
this.#scrollbarGutterMeasurementSource.set("body");
|
|
3432
3440
|
this.#scrollbarGutterWidth.set(this.measureElementScrollbarGutter(bodyElement));
|
|
3433
3441
|
};
|
|
3434
3442
|
updateScrollbarGutter();
|
|
@@ -4676,4 +4684,4 @@ const gridNoDataThemeVariants = cva(`
|
|
|
4676
4684
|
`);
|
|
4677
4685
|
export { getGridCellText as $, gridHeaderThemeVariants as A, gridTreeLeafSpacerThemeVariants as B, gridHeaderGroupTableRowThemeVariants as C, gridHeaderTableColumnWrapThemeVariants as D, gridHeaderTableColumnTitleThemeVariants as E, gridNoDataThemeVariants as F, observeGridCellTabStops as G, GridLogicalCellDirective as H, gridRowDragPreviewThemeVariants as I, getColumnGroupDepth as J, GridLockedCellDirective as K, gridRowReorderHandleThemeVariants as L, gridListTableCellThemeVariants as M, gridListTableRowThemeVariants as N, gridHeaderTableRowThemeVariants as O, gridListTableThemeVariants as P, formatGridCellValue as Q, gridSelectAllCellThemeVariants as R, gridHeaderGroupSpacerCellThemeVariants as S, gridHeaderTableCellThemeVariants as T, GRID_CELL_FOCUSABLE_SELECTOR as U, gridTreeToggleThemeVariants as V, isKeyboardEntryElement as W, getColumnStepTarget as X, getColumnGroups as Y, getSiblingRuns as Z, gridFooterThemeVariants as _, gridCellEditorBaseThemeVariants as a, GridEditEvent as at, gridGroupRowThemeVariants as b, gridColumnActionsThemeVariants as c, RowEditEvent as ct, gridColumnResizerThemeVariants as d, RowReorderEvent as et, gridFilterRowCellThemeVariants as f, gridFooterTableThemeVariants as g, gridFooterTableRowThemeVariants as h, gridCellDirtyIndicatorThemeVariants as i, GridRemoveEvent as it, gridListBaseThemeVariants as j, gridHeaderTableThemeVariants as k, gridColumnDragPreviewThemeVariants as l, CellEditEvent as lt, gridFooterTableCellThemeVariants as m, gridCellBaseThemeVariants as n, GRID_DEFAULT_MESSAGES as nt, gridCellEditorInputThemeVariants as o, GridCancelEvent as ot, gridFilterRowHeaderCellThemeVariants as p, GridService as q, gridCellContainerThemeVariants as r, GridSaveEvent as rt, gridCellTextThemeVariants as s, GridAddEvent as st, gridBaseThemeVariants as t, GridNavigationService as tt, gridColumnDropHintThemeVariants as u, gridGroupPanelPlaceholderThemeVariants as v, gridHeaderGroupTitleThemeVariants as w, gridHeaderGroupCellThemeVariants as x, gridGroupPanelThemeVariants as y, gridSelectionCellThemeVariants as z };
|
|
4678
4686
|
|
|
4679
|
-
//# sourceMappingURL=grid.styles-
|
|
4687
|
+
//# sourceMappingURL=grid.styles-DBLUtq2X.mjs.map
|