@nanahoshi/mona-ui 0.24.8 → 0.24.10

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 (83) hide show
  1. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +37 -9
  2. package/fesm2022/nanahoshi-mona-ui-button.mjs +8 -2
  3. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +4 -3
  4. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +2 -2
  5. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +101 -47
  6. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +342 -102
  7. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +119 -69
  8. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1054 -452
  9. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs} +2 -2
  10. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs → nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs} +4 -4
  11. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs → nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs} +2 -3
  12. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs} +4 -4
  13. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs} +9 -9
  14. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  15. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +23 -0
  16. package/fesm2022/nanahoshi-mona-ui-internal.mjs +567 -33
  17. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +20 -0
  18. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +20 -0
  19. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +20 -0
  20. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +20 -0
  21. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +20 -0
  22. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +20 -0
  23. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +20 -0
  24. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +20 -0
  25. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +20 -0
  26. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +20 -0
  27. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +20 -0
  28. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +20 -0
  29. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +20 -0
  30. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +127 -133
  31. package/fesm2022/nanahoshi-mona-ui-notification.mjs +473 -240
  32. package/fesm2022/nanahoshi-mona-ui-popover.mjs +202 -90
  33. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +609 -256
  34. package/fesm2022/nanahoshi-mona-ui-popup.mjs +2 -0
  35. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +45 -10
  36. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +102 -58
  37. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +286 -443
  38. package/fesm2022/nanahoshi-mona-ui-window.mjs +594 -311
  39. package/i18n/catalogs/en-US.messages.json +24 -4
  40. package/locales/ar-sa/ar-sa.messages.json +20 -0
  41. package/locales/de-de/de-de.messages.json +20 -0
  42. package/locales/es-es/es-es.messages.json +20 -0
  43. package/locales/fr-fr/fr-fr.messages.json +20 -0
  44. package/locales/id-id/id-id.messages.json +20 -0
  45. package/locales/it-it/it-it.messages.json +20 -0
  46. package/locales/ja-jp/ja-jp.messages.json +20 -0
  47. package/locales/ko-kr/ko-kr.messages.json +20 -0
  48. package/locales/pt-br/pt-br.messages.json +20 -0
  49. package/locales/ru-ru/ru-ru.messages.json +20 -0
  50. package/locales/tr-tr/tr-tr.messages.json +20 -0
  51. package/locales/zh-cn/zh-cn.messages.json +20 -0
  52. package/locales/zh-tw/zh-tw.messages.json +20 -0
  53. package/package.json +1 -1
  54. package/types/nanahoshi-mona-ui-button-group.d.ts +13 -3
  55. package/types/nanahoshi-mona-ui-button.d.ts +20 -3
  56. package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -6
  57. package/types/nanahoshi-mona-ui-dialog.d.ts +131 -20
  58. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +75 -56
  59. package/types/nanahoshi-mona-ui-editor.d.ts +118 -21
  60. package/types/nanahoshi-mona-ui-i18n.d.ts +37 -0
  61. package/types/nanahoshi-mona-ui-internal.d.ts +142 -16
  62. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +20 -0
  63. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +20 -0
  64. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +20 -0
  65. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +20 -0
  66. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +20 -0
  67. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +20 -0
  68. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +20 -0
  69. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +20 -0
  70. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +20 -0
  71. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +20 -0
  72. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +20 -0
  73. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +20 -0
  74. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +20 -0
  75. package/types/nanahoshi-mona-ui-menubar.d.ts +65 -62
  76. package/types/nanahoshi-mona-ui-notification.d.ts +76 -16
  77. package/types/nanahoshi-mona-ui-popover.d.ts +44 -17
  78. package/types/nanahoshi-mona-ui-popup-menu.d.ts +110 -32
  79. package/types/nanahoshi-mona-ui-popup.d.ts +2 -0
  80. package/types/nanahoshi-mona-ui-sheet.d.ts +16 -5
  81. package/types/nanahoshi-mona-ui-split-button.d.ts +29 -7
  82. package/types/nanahoshi-mona-ui-tooltip.d.ts +43 -20
  83. package/types/nanahoshi-mona-ui-window.d.ts +103 -14
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, computed, input, Directive, Component } from '@angular/core';
3
- import { G as GridService, w as gridFooterTableCellThemeVariants, x as gridFooterTableRowThemeVariants, a as GridLockedCellDirective, k as GridLogicalCellDirective } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
3
+ import { G as GridService, w as gridFooterTableCellThemeVariants, x as gridFooterTableRowThemeVariants, a as GridLockedCellDirective, k as GridLogicalCellDirective } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs';
4
4
  import { NgTemplateOutlet } from '@angular/common';
5
5
  import { ImmutableDictionary } from '@mirei/ts-collections';
6
6
 
@@ -178,4 +178,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
178
178
  }], propDecorators: { ariaLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLevel", required: false }] }], ariaRowIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaRowIndex", required: false }] }], groupKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupKey", required: false }] }], rowIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowIndex", required: false }] }], section: [{ type: i0.Input, args: [{ isSignal: true, alias: "section", required: false }] }] } });
179
179
 
180
180
  export { GridFooterRowComponent };
181
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs.map
181
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs.map
@@ -4,11 +4,11 @@ import * as i0 from '@angular/core';
4
4
  import { computed, inject, input, Component, DestroyRef, ElementRef, viewChild, effect, untracked, afterNextRender, afterRenderEffect } from '@angular/core';
5
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
6
  import { ImmutableList } from '@mirei/ts-collections';
7
- import { G as GridService, a as GridLockedCellDirective, g as gridListBaseThemeVariants, b as gridRowDragPreviewThemeVariants, c as gridListTableThemeVariants, d as GridColgroupComponent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
7
+ import { G as GridService, a as GridLockedCellDirective, g as gridListBaseThemeVariants, b as gridRowDragPreviewThemeVariants, c as gridListTableThemeVariants, d as GridColgroupComponent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs';
8
8
  import { ContextMenuComponent } from '@nanahoshi/mona-ui/contextmenu';
9
- import { G as GridCellDirective, a as GridAddRowComponent, b as GridGroupRowComponent, c as GridRowComponent } from './nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs';
9
+ import { G as GridCellDirective, a as GridAddRowComponent, b as GridGroupRowComponent, c as GridRowComponent } from './nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs';
10
10
  import { NgTemplateOutlet } from '@angular/common';
11
- import { GridFooterRowComponent } from './nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs';
11
+ import { GridFooterRowComponent } from './nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs';
12
12
 
13
13
  /**
14
14
  * The expanded master-detail row below a data row. Leading layout columns get empty indent cells,
@@ -205,4 +205,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
205
205
  }], ctorParameters: () => [], propDecorators: { bodyTableElementRef: [{ type: i0.ViewChild, args: ["bodyTable", { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
206
206
 
207
207
  export { GridListComponent };
208
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs.map
208
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs.map
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, computed, input, Directive, ElementRef, Component, signal, viewChild, output, effect, isDevMode, untracked, afterNextRender, model, Injector, LOCALE_ID } from '@angular/core';
3
- import { G as GridService, j as gridListTableCellThemeVariants, e as GridNavigationService, k as GridLogicalCellDirective, l as gridCellEditorBaseThemeVariants, m as gridCellEditorInputThemeVariants, n as GRID_CELL_FOCUSABLE_SELECTOR, o as gridListTableRowThemeVariants, a as GridLockedCellDirective, p as gridGroupRowThemeVariants, q as gridCellBaseThemeVariants, r as gridCellContainerThemeVariants, s as gridCellDirtyIndicatorThemeVariants, t as gridCellTextThemeVariants, u as gridRowReorderHandleThemeVariants, v as gridSelectionCellThemeVariants } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
3
+ import { G as GridService, j as gridListTableCellThemeVariants, e as GridNavigationService, k as GridLogicalCellDirective, l as gridCellEditorBaseThemeVariants, m as gridCellEditorInputThemeVariants, n as GRID_CELL_FOCUSABLE_SELECTOR, o as gridListTableRowThemeVariants, a as GridLockedCellDirective, p as gridGroupRowThemeVariants, q as gridCellBaseThemeVariants, r as gridCellContainerThemeVariants, s as gridCellDirtyIndicatorThemeVariants, t as gridCellTextThemeVariants, u as gridRowReorderHandleThemeVariants, v as gridSelectionCellThemeVariants } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import { NgTemplateOutlet, formatDate } from '@angular/common';
6
6
  import { LucideCheck, LucideOctagonAlert, LucideX, LucidePencil, LucideTrash2, LucideMinus, LucideChevronDown, LucidePlus, LucideChevronRight, LucideDynamicIcon, LucideGripVertical } from '@lucide/angular';
@@ -168,7 +168,6 @@ class GridCommandCellComponent {
168
168
  if (!result.viaClose && result.action.data === DELETE_ACTION) {
169
169
  this.#removeRow(row, event);
170
170
  }
171
- dialogRef.close();
172
171
  });
173
172
  }
174
173
  save(event) {
@@ -1097,4 +1096,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1097
1096
  }], propDecorators: { ariaRowIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaRowIndex", required: false }] }], index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }], row: [{ type: i0.Input, args: [{ isSignal: true, alias: "row", required: true }] }] } });
1098
1097
 
1099
1098
  export { GridCellDirective as G, GridAddRowComponent as a, GridGroupRowComponent as b, GridRowComponent as c };
1100
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs.map
1099
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs.map
@@ -1,4 +1,4 @@
1
- import { e as GridNavigationService, G as GridService, g as gridListBaseThemeVariants, f as gridFooterThemeVariants, h as gridFooterTableThemeVariants, c as gridListTableThemeVariants, i as GRID_DEFAULT_VIRTUAL_ROW_HEIGHT, d as GridColgroupComponent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
1
+ import { e as GridNavigationService, G as GridService, g as gridListBaseThemeVariants, f as gridFooterThemeVariants, h as gridFooterTableThemeVariants, c as gridListTableThemeVariants, i as GRID_DEFAULT_VIRTUAL_ROW_HEIGHT, d as GridColgroupComponent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs';
2
2
  import { CdkVirtualScrollViewport, CdkFixedSizeVirtualScroll, CdkVirtualForOf } from '@angular/cdk/scrolling';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, DestroyRef, ElementRef, Injector, viewChild, computed, input, effect, untracked, afterNextRender, Component } from '@angular/core';
@@ -6,8 +6,8 @@ import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
6
  import { ImmutableList } from '@mirei/ts-collections';
7
7
  import { rxTimeout } from '@nanahoshi/mona-ui/internal';
8
8
  import { ContextMenuComponent } from '@nanahoshi/mona-ui/contextmenu';
9
- import { a as GridAddRowComponent, b as GridGroupRowComponent, c as GridRowComponent } from './nanahoshi-mona-ui-grid-grid-row.component-DdUY3I7P.mjs';
10
- import { GridFooterRowComponent } from './nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs';
9
+ import { a as GridAddRowComponent, b as GridGroupRowComponent, c as GridRowComponent } from './nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs';
10
+ import { GridFooterRowComponent } from './nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs';
11
11
 
12
12
  class GridVirtualListComponent {
13
13
  #destroyRef;
@@ -183,4 +183,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
183
183
  }], ctorParameters: () => [], propDecorators: { addRowScrollElementRef: [{ type: i0.ViewChild, args: ["addRowScrollElement", { isSignal: true }] }], bodyTableElementRef: [{ type: i0.ViewChild, args: ["bodyTable", { isSignal: true }] }], footerScrollElementRef: [{ type: i0.ViewChild, args: ["footerScrollElement", { isSignal: true }] }], viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }] } });
184
184
 
185
185
  export { GridVirtualListComponent };
186
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs.map
186
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs.map
@@ -6353,7 +6353,7 @@ class GridFilterRowCellComponent {
6353
6353
  }
6354
6354
  }
6355
6355
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: GridFilterRowCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6356
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: GridFilterRowCellComponent, isStandalone: true, selector: "mona-grid-filter-row-cell", inputs: { column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { apply: "apply" }, host: { properties: { "class": "baseClass()" } }, ngImport: i0, template: "@let dataType = column().dataType;\n@let inputLabel = messages().filterByColumn(column().title);\n\n@switch (dataType) {\n @case (\"string\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-text-box\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"stringValue()\"\n (ngModelChange)=\"onStringChange($event)\"\n [placeholder]=\"messages().filterPlaceholder\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"number\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-numeric-text-box\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"numberValue()\"\n (ngModelChange)=\"onNumberChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"date\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-date-picker\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [format]=\"dateFormat()\"\n [ngModel]=\"dateValue()\"\n (ngModelChange)=\"onDateChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"boolean\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-dropdown-list\n size=\"small\"\n [data]=\"booleanFilterMenuItems()\"\n textField=\"text\"\n valueField=\"value\"\n [placeholder]=\"messages().all\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"booleanValue()\"\n (ngModelChange)=\"onBooleanChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n}\n\n<ng-template #operatorButtonTemplate>\n <button\n monaButton\n look=\"ghost\"\n class=\"relative\"\n [iconOnly]=\"true\"\n [size]=\"'small'\"\n #filterButton\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"operatorMenuOpen()\"\n [attr.aria-label]=\"operatorLabel()\">\n <svg lucideFunnel [size]=\"14\" [class.text-info]=\"isFilterActive()\"></svg>\n @if (isFilterActive()) {\n <!-- Active is shown by more than colour: a dot on the funnel. -->\n <span\n class=\"absolute top-0.5 end-0.5 w-1.5 h-1.5 rounded-full bg-current text-info\"\n aria-hidden=\"true\"></span>\n }\n </button>\n <mona-popup-menu\n [target]=\"filterButton\"\n [size]=\"'small'\"\n (open)=\"operatorMenuOpen.set(true)\"\n (close)=\"operatorMenuOpen.set(false)\">\n @for (item of operatorItems(); track item.value) {\n <mona-popup-menu-checkbox-item\n size=\"small\"\n [label]=\"item.text\"\n (menuClick)=\"onOperatorChange(item.value)\"\n [checked]=\"selectedOperator() === item.value\"></mona-popup-menu-checkbox-item>\n }\n </mona-popup-menu>\n</ng-template>\n\n<ng-template #clearFilterButtonTemplate>\n @if (isFilterActive()) {\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"'small'\"\n (click)=\"onClear()\"\n [attr.aria-label]=\"messages().clearFilter(column().title)\">\n <svg lucideFunnelX [size]=\"14\" class=\"text-error\"></svg>\n </button>\n }\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "component", type: NumericTextBoxComponent, selector: "mona-numeric-text-box", inputs: ["formatter", "maxValue", "minValue", "step", "value"], outputs: ["valueChange"] }, { kind: "component", type: DatePickerComponent, selector: "mona-date-picker", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "disabled", "disabledDates", "firstDay", "format", "inputId", "invalid", "max", "min", "placeholder", "popupClass", "popupHeight", "popupWidth", "readonly", "readonlyInput", "required", "rounded", "showClearButton", "size", "touched", "class", "value", "weekNumber"], outputs: ["close", "closed", "open", "opened", "touch", "valueChange"] }, { kind: "component", type: DropdownListComponent, selector: "mona-dropdown-list", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "data", "disabled", "invalid", "itemDisabled", "loading", "placeholder", "popupClass", "popupHeight", "popupWidth", "readonly", "required", "rounded", "showClearButton", "size", "textField", "touched", "class", "value", "valueField", "valuePrimitive"], outputs: ["close", "closed", "open", "opened", "touch", "valueChange"] }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class"], outputs: ["lookChange", "selectedChange"] }, { kind: "component", type: PopupMenuComponent, selector: "mona-popup-menu", inputs: ["anchor", "anchorConnectionPoint", "items", "id", "minWidth", "offset", "popupConnectionPoint", "precise", "rounded", "size", "target", "trigger", "width", "class"], outputs: ["close", "menuClick", "navigate", "open"] }, { kind: "component", type: PopupMenuCheckboxItemComponent, selector: "mona-popup-menu-checkbox-item", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange", "menuClick"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LucideFunnelX, selector: "svg[lucideFunnelX], svg[lucideFilterX]" }, { kind: "component", type: LucideFunnel, selector: "svg[lucideFunnel], svg[lucideFilter]" }] }); }
6356
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: GridFilterRowCellComponent, isStandalone: true, selector: "mona-grid-filter-row-cell", inputs: { column: { classPropertyName: "column", publicName: "column", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { apply: "apply" }, host: { properties: { "class": "baseClass()" } }, ngImport: i0, template: "@let dataType = column().dataType;\n@let inputLabel = messages().filterByColumn(column().title);\n\n@switch (dataType) {\n @case (\"string\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-text-box\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"stringValue()\"\n (ngModelChange)=\"onStringChange($event)\"\n [placeholder]=\"messages().filterPlaceholder\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"number\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-numeric-text-box\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"numberValue()\"\n (ngModelChange)=\"onNumberChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"date\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-date-picker\n size=\"small\"\n [aria-label]=\"inputLabel\"\n [format]=\"dateFormat()\"\n [ngModel]=\"dateValue()\"\n (ngModelChange)=\"onDateChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"operatorButtonTemplate\"></ng-container>\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n @case (\"boolean\") {\n <div class=\"flex gap-0.5 w-full\">\n <mona-dropdown-list\n size=\"small\"\n [data]=\"booleanFilterMenuItems()\"\n textField=\"text\"\n valueField=\"value\"\n [placeholder]=\"messages().all\"\n [aria-label]=\"inputLabel\"\n [ngModel]=\"booleanValue()\"\n (ngModelChange)=\"onBooleanChange($event)\"\n [style.width.%]=\"100\" />\n <ng-container *ngTemplateOutlet=\"clearFilterButtonTemplate\"></ng-container>\n </div>\n }\n}\n\n<ng-template #operatorButtonTemplate>\n <button\n monaButton\n look=\"ghost\"\n class=\"relative\"\n [iconOnly]=\"true\"\n [size]=\"'small'\"\n #filterButton\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"operatorMenuOpen()\"\n [attr.aria-label]=\"operatorLabel()\">\n <svg lucideFunnel [size]=\"14\" [class.text-info]=\"isFilterActive()\"></svg>\n @if (isFilterActive()) {\n <!-- Active is shown by more than colour: a dot on the funnel. -->\n <span\n class=\"absolute top-0.5 end-0.5 w-1.5 h-1.5 rounded-full bg-current text-info\"\n aria-hidden=\"true\"></span>\n }\n </button>\n <mona-popup-menu\n [target]=\"filterButton\"\n [size]=\"'small'\"\n (open)=\"operatorMenuOpen.set(true)\"\n (close)=\"operatorMenuOpen.set(false)\">\n @for (item of operatorItems(); track item.value) {\n <mona-popup-menu-checkbox-item\n size=\"small\"\n [label]=\"item.text\"\n (menuClick)=\"onOperatorChange(item.value)\"\n [checked]=\"selectedOperator() === item.value\"></mona-popup-menu-checkbox-item>\n }\n </mona-popup-menu>\n</ng-template>\n\n<ng-template #clearFilterButtonTemplate>\n @if (isFilterActive()) {\n <button\n monaButton\n look=\"ghost\"\n [iconOnly]=\"true\"\n [size]=\"'small'\"\n (click)=\"onClear()\"\n [attr.aria-label]=\"messages().clearFilter(column().title)\">\n <svg lucideFunnelX [size]=\"14\" class=\"text-error\"></svg>\n </button>\n }\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "component", type: NumericTextBoxComponent, selector: "mona-numeric-text-box", inputs: ["formatter", "maxValue", "minValue", "step", "value"], outputs: ["valueChange"] }, { kind: "component", type: DatePickerComponent, selector: "mona-date-picker", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "disabled", "disabledDates", "firstDay", "format", "inputId", "invalid", "max", "min", "placeholder", "popupClass", "popupHeight", "popupWidth", "readonly", "readonlyInput", "required", "rounded", "showClearButton", "size", "touched", "class", "value", "weekNumber"], outputs: ["close", "closed", "open", "opened", "touch", "valueChange"] }, { kind: "component", type: DropdownListComponent, selector: "mona-dropdown-list", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "data", "disabled", "invalid", "itemDisabled", "loading", "placeholder", "popupClass", "popupHeight", "popupWidth", "readonly", "required", "rounded", "showClearButton", "size", "textField", "touched", "class", "value", "valueField", "valuePrimitive"], outputs: ["close", "closed", "open", "opened", "touch", "valueChange"] }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class"], outputs: ["lookChange", "selectedChange"] }, { kind: "component", type: PopupMenuComponent, selector: "mona-popup-menu", inputs: ["anchor", "anchorConnectionPoint", "ariaLabel", "ariaLabelledBy", "items", "id", "minWidth", "offset", "popupConnectionPoint", "precise", "rounded", "size", "target", "trigger", "class", "width"], outputs: ["close", "menuClick", "navigate", "open"] }, { kind: "component", type: PopupMenuCheckboxItemComponent, selector: "mona-popup-menu-checkbox-item", inputs: ["checked", "disabled", "label", "value"], outputs: ["checkedChange", "menuClick"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: LucideFunnelX, selector: "svg[lucideFunnelX], svg[lucideFilterX]" }, { kind: "component", type: LucideFunnel, selector: "svg[lucideFunnel], svg[lucideFilter]" }] }); }
6357
6357
  }
6358
6358
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: GridFilterRowCellComponent, decorators: [{
6359
6359
  type: Component,
@@ -7383,17 +7383,17 @@ class GridComponent {
7383
7383
  }
7384
7384
  }
7385
7385
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: GridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7386
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: GridComponent, isStandalone: true, selector: "mona-grid", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, expandedKeys: { classPropertyName: "expandedKeys", publicName: "expandedKeys", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, pageSizeValues: { classPropertyName: "pageSizeValues", publicName: "pageSizeValues", isSignal: true, isRequired: false, transformFunction: null }, resizeMethod: { classPropertyName: "resizeMethod", publicName: "resizeMethod", isSignal: true, isRequired: false, transformFunction: null }, responsivePager: { classPropertyName: "responsivePager", publicName: "responsivePager", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, rowClass: { classPropertyName: "rowClass", publicName: "rowClass", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: false, transformFunction: null }, skip: { classPropertyName: "skip", publicName: "skip", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedKeys: "expandedKeysChange", pageChange: "pageChange", pageSize: "pageSizeChange", skip: "skipChange" }, host: { properties: { "class": "baseClass()", "attr.data-uid": "uid" } }, providers: [GridService, GridNavigationService, FilterService], queries: [{ propertyName: "columnDefinitions", predicate: GRID_COLUMN_DEFINITION, isSignal: true }, { propertyName: "gridDetailTemplate", first: true, predicate: GridDetailTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "noDataTemplate", first: true, predicate: GridNoDataTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "toolbarTemplate", first: true, predicate: GridToolbarTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "filterMenus", predicate: GridFilterMenuComponent, descendants: true, isSignal: true }, { propertyName: "footerScrollElement", first: true, predicate: ["footerScrollElement"], descendants: true, isSignal: true }, { propertyName: "gridHeaderElement", first: true, predicate: ["gridHeaderElement"], descendants: true, isSignal: true }, { propertyName: "gridHeaderTableElement", first: true, predicate: ["headerTable"], descendants: true, isSignal: true }, { propertyName: "groupColumnList", first: true, predicate: ["groupColumnList"], descendants: true, isSignal: true }, { propertyName: "toolbarElement", first: true, predicate: ["toolbarElement"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (toolbarTemplate()) {\n <div\n class=\"flex min-h-10 items-center gap-2 border-b border-border p-2\"\n role=\"toolbar\"\n [attr.aria-label]=\"messages().toolbar\"\n #toolbarElement\n (focusin)=\"onToolbarFocusIn($event)\"\n (keydown)=\"onToolbarKeydown($event)\">\n <ng-container\n [ngTemplateOutlet]=\"toolbarTemplate() ?? null\"\n [ngTemplateOutletContext]=\"toolbarContext()\"></ng-container>\n <button monaButton size=\"small\" #columnsButton>{{ messages().columns }}</button>\n <mona-popup\n [anchor]=\"columnsButton\"\n [animation]=\"{ leave: [] }\"\n [width]=\"'max-content'\"\n [anchorConnectionPoint]=\"'bottomleft'\"\n [popupConnectionPoint]=\"'topleft'\"\n #popup>\n <mona-grid-column-chooser\n (apply)=\"popup.closePopup()\"\n (cancel)=\"popup.closePopup()\"></mona-grid-column-chooser>\n </mona-popup>\n </div>\n}\n\n@if (groupable()) {\n <div\n [class]=\"groupPanelClass()\"\n cdkDropList\n #groupColumnList=\"cdkDropList\"\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListEntered)=\"onColumnDragEnterForGrouping()\"\n (cdkDropListExited)=\"onColumnDragExitForGrouping()\"\n (cdkDropListDropped)=\"onColumnDropForGrouping($event)\">\n @if (gridService.groupColumns().length !== 0) {\n @for (groupColumn of gridService.groupColumns(); track $index) {\n <mona-chip\n [removable]=\"true\"\n size=\"small\"\n [rounded]=\"rounded()\"\n (click)=\"onGroupingColumnSort(groupColumn)\"\n (keydown)=\"onGroupChipKeydown($event, groupColumn)\"\n (remove)=\"onGroupingColumnRemove($event, groupColumn)\">\n @if (groupColumn.groupSortDirection === \"asc\") {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else if (groupColumn.groupSortDirection === \"desc\") {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n <span>{{ groupColumn.title }}</span>\n <span class=\"ms-2\" (click)=\"$event.stopPropagation()\" #groupReorder>\n <svg lucideEllipsisVertical [size]=\"16\" aria-hidden=\"true\"></svg>\n </span>\n <mona-popup-menu size=\"small\" [target]=\"groupReorder\">\n <mona-popup-menu-item\n [disabled]=\"$first\"\n (menuClick)=\"onGroupColumnReorder(groupColumn, 'prev')\">\n <ng-template monaPopupMenuTextTemplate>\n <svg lucideArrowLeft [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n {{ messages().moveAsPrevious }}\n </ng-template>\n </mona-popup-menu-item>\n <mona-popup-menu-item\n [disabled]=\"$last\"\n (menuClick)=\"onGroupColumnReorder(groupColumn, 'next')\">\n <ng-template monaPopupMenuTextTemplate>\n <svg lucideArrowRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n {{ messages().moveAsNext }}\n </ng-template>\n </mona-popup-menu-item>\n </mona-popup-menu>\n </mona-chip>\n }\n } @else if (groupPanelPlaceholderVisible()) {\n <span [class]=\"groupPanelPlaceholderClass()\">{{ messages().dragColumnHeaderToGroup }}</span>\n }\n </div>\n}\n<div\n class=\"flex flex-col flex-1 min-h-0\"\n [attr.role]=\"gridRole()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-busy]=\"gridService.serverLoading() || null\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n [attr.aria-colcount]=\"gridService.layout().length\"\n [attr.aria-multiselectable]=\"multiselectable() || null\"\n [attr.aria-readonly]=\"gridService.editableOptions().enabled ? null : true\">\n <div [class]=\"headerClass()\" [style.margin-inline-end.px]=\"headerMarginInlineEnd()\" #gridHeaderElement>\n <div>\n <table\n role=\"presentation\"\n #headerTable\n [class]=\"headerTableClass()\"\n [style.width.px]=\"gridService.tableWidth()\">\n <colgroup monaGridColgroup></colgroup>\n <thead role=\"rowgroup\" [style.visibility]=\"!gridWidthSet() ? 'hidden' : undefined\">\n <tr\n role=\"row\"\n aria-rowindex=\"1\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortingDisabled]=\"true\"\n [cdkDropListConnectedTo]=\"groupable() ? [groupColumnList()!] : []\"\n (cdkDropListDropped)=\"onColumnDrop()\"\n [class]=\"headerTableRowClass()\">\n @for (layoutColumn of gridService.layout(); track layoutColumn.key) {\n @if (layoutColumn.kind === \"column\") {\n @let column = layoutColumn.column;\n @let columnSortable =\n gridService.sortableOptions().enabled &&\n column.kind === \"data\" &&\n column.sortable &&\n column.field !== \"\";\n @let sortOrderShown =\n gridService.sortableOptions().enabled &&\n gridService.sortableOptions().mode === \"multiple\" &&\n gridService.sortableOptions().showIndices &&\n column.sortIndex !== null;\n @let defaultTitle = !column.headerTemplate && !column.titleTemplate;\n <th\n scope=\"col\"\n role=\"columnheader\"\n [attr.data-column-id]=\"column.id\"\n [attr.aria-labelledby]=\"defaultTitle ? uid + '-title-' + column.id : null\"\n [attr.aria-label]=\"!defaultTitle && column.title ? column.title : null\"\n [attr.aria-describedby]=\"sortOrderShown ? uid + '-sort-' + column.id : null\"\n cdkDrag\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'header'\"\n [columnId]=\"column.id\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n (toggleExpand)=\"onColumnSort(column)\"\n (menuOpen)=\"openColumnFilterMenu(column)\"\n [attr.aria-keyshortcuts]=\"headerKeyShortcuts().get(column.id) ?? null\"\n (keydown)=\"onHeaderKeydown($event, column)\"\n [cdkDragData]=\"column\"\n [cdkDragDisabled]=\"isColumnDragDisabled(column)\"\n [class]=\"headerTableCellClass()\"\n (cdkDragMoved)=\"onColumnDragMove($event)\"\n (cdkDragEntered)=\"onColumnDragEnter($event)\"\n (cdkDragStarted)=\"onColumnDragStart($event)\"\n (cdkDragEnded)=\"onColumnDragEnd($event)\"\n [style.min-width.px]=\"column.minWidth\"\n [style.width.px]=\"column.calculatedWidth\"\n [attr.aria-sort]=\"\n columnSortable && (column.sortIndex ?? 1) === 1\n ? (column.columnSortDirection | columnAriaSort)\n : null\n \">\n <div\n [class]=\"headerTableColumnWrapClass()\"\n [style.cursor]=\"columnSortable ? 'pointer' : 'default'\">\n @if (column.headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"column.headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: column,\n column\n }\"></ng-container>\n } @else if (column.titleTemplate) {\n <ng-container [ngTemplateOutlet]=\"column.titleTemplate\"></ng-container>\n } @else {\n <span\n [class]=\"headerTableColumnTitleClass()\"\n [id]=\"uid + '-title-' + column.id\"\n data-column-title\n (click)=\"onColumnSort(column)\"\n [title]=\"column.title\"\n >{{ column.title }}</span\n >\n }\n\n @if (sortOrderShown) {\n <span class=\"sr-only\" [id]=\"uid + '-sort-' + column.id\">{{\n messages().sortOrder(column.sortIndex ?? 1)\n }}</span>\n }\n <div [class]=\"columnActionsClass()\" [attr.data-column-actions]=\"true\">\n @if (\n gridService.sortableOptions().enabled &&\n column.columnSortDirection !== null\n ) {\n <div class=\"inline-flex shrink-0 items-center gap-0.5\">\n @if (column.columnSortDirection === \"asc\") {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @if (\n gridService.sortableOptions().mode === \"multiple\" &&\n gridService.sortableOptions().showIndices &&\n column.sortIndex !== null\n ) {\n <span class=\"tabular-nums\" aria-hidden=\"true\">{{\n column.sortIndex\n }}</span>\n }\n </div>\n }\n @if (filterMenuEnabled()) {\n @if (column.kind === \"data\" && column.filterable) {\n <mona-grid-filter-menu\n [column]=\"column\"\n [type]=\"column.dataType\"\n (apply)=\"\n onColumnFilter(column, $event)\n \"></mona-grid-filter-menu>\n }\n }\n </div>\n </div>\n @if (\n dropColumn() === column &&\n dragColumn() &&\n gridService.reorderableOptions().enabled &&\n !groupingInProgress()\n ) {\n <span [class]=\"columnDropHintClass()\"> </span>\n }\n @if (gridService.resizableOptions().enabled && !columnDragging()) {\n <div\n monaGridColumnResizeHandler\n [column]=\"column\"\n [class]=\"columnResizerClass()\"\n (resizeStart)=\"onColumnResizeStart()\"\n (resizeEnd)=\"onColumnResizeEnd($event)\"></div>\n }\n <ng-template cdkDragPreview>\n <div [class]=\"columnDragPreviewClass()\">\n <span>{{ column.title }}</span>\n </div>\n </ng-template>\n <ng-template cdkDragPlaceholder>\n @if (groupingInProgress()) {\n <mona-chip\n style=\"z-index: 10; pointer-events: none\"\n [removable]=\"true\"\n [rounded]=\"rounded()\"\n >{{ column.title }}</mona-chip\n >\n }\n </ng-template>\n </th>\n @if (columnDragging() && dragColumn() === column) {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n aria-hidden=\"true\"\n [class]=\"headerTableCellClass()\"\n [style.min-width.px]=\"column.minWidth\"\n [style.width.px]=\"column.calculatedWidth\">\n <div [class]=\"headerTableColumnWrapClass()\">\n @if (column.headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"column.headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: column,\n column\n }\"></ng-container>\n } @else if (column.titleTemplate) {\n <ng-container [ngTemplateOutlet]=\"column.titleTemplate\"></ng-container>\n } @else {\n <span\n [class]=\"headerTableColumnTitleClass()\"\n (click)=\"onColumnSort(column)\"\n [title]=\"column.title\"\n >{{ column.title }}</span\n >\n }\n </div>\n </th>\n }\n } @else if (layoutColumn.kind === \"reorder\") {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'command'\"\n [columnId]=\"'$rowReorder'\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n scope=\"col\"\n role=\"columnheader\"\n [attr.aria-label]=\"gridService.messages().rowReorder\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\"></th>\n } @else if (layoutColumn.kind === \"selection\") {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'command'\"\n [columnId]=\"'$selection'\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n scope=\"col\"\n role=\"columnheader\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\">\n @if (\n gridService.selectableOptions().mode === \"multiple\" &&\n gridService.selectableOptions().showSelectAll !== false\n ) {\n <mona-grid-select-all-checkbox />\n }\n </th>\n } @else {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n scope=\"col\"\n role=\"columnheader\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\">\n <span class=\"sr-only\">{{\n layoutColumn.kind === \"detail\" ? messages().details : messages().group\n }}</span>\n </th>\n }\n }\n </tr>\n @if (filterRowEnabled()) {\n <tr role=\"row\" aria-rowindex=\"2\" [class]=\"headerTableRowClass()\">\n @for (layoutColumn of gridService.layout(); track layoutColumn.key) {\n @if (layoutColumn.kind === \"column\") {\n @let column = layoutColumn.column;\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'filter'\"\n [columnId]=\"column.id\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'filter'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n role=\"gridcell\"\n [class]=\"filterRowCellClass()\"\n [style.width.px]=\"layoutColumn.width\"\n [attr.aria-label]=\"messages().filterByColumn(column.title)\">\n @if (column.kind === \"data\" && column.field && column.filterable) {\n <mona-grid-filter-row-cell\n [column]=\"column\"\n (apply)=\"onColumnFilter(column, $event)\" />\n }\n </th>\n } @else {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n role=\"gridcell\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\"></th>\n }\n }\n </tr>\n }\n </thead>\n </table>\n </div>\n </div>\n\n @defer (when gridWidthSet()) {\n @if (gridService.virtualScrollOptions().enabled) {\n @if (gridService.viewRows().length !== 0 || gridService.addRowVisible()) {\n <mona-grid-virtual-list [data]=\"gridService.viewRows()\" />\n } @else {\n <ng-container [ngTemplateOutlet]=\"emptyGridTemplate\" />\n }\n } @else {\n <div class=\"relative flex-1 min-h-0\" data-grid-body-region>\n @if (gridService.viewPageRows().length !== 0 || gridService.addRowVisible()) {\n <mona-grid-list [data]=\"gridService.viewPageRows()\" />\n } @else if (!gridService.serverLoading()) {\n <ng-container [ngTemplateOutlet]=\"emptyGridTemplate\" />\n }\n @if (gridService.serverLoading()) {\n <div\n class=\"absolute inset-0 z-20 flex items-center justify-center bg-surface/60\"\n aria-hidden=\"true\"\n data-grid-loading>\n <mona-spinner size=\"large\" />\n </div>\n }\n </div>\n @if (gridService.viewPageRows().length !== 0 || gridService.addRowVisible()) {\n @if (footerVisible()) {\n <div\n [class]=\"footerClass()\"\n [style.margin-inline-end.px]=\"gridService.scrollbarGutterWidth()\"\n #footerScrollElement\n data-grid-footer-scroll>\n <div>\n <table\n role=\"presentation\"\n [class]=\"footerTableClass()\"\n [style.width.px]=\"gridService.tableWidth()\">\n <colgroup monaGridColgroup></colgroup>\n <tfoot role=\"rowgroup\">\n <tr monaGridFooterRow [ariaRowIndex]=\"ariaRowCount()\"></tr>\n </tfoot>\n </table>\n </div>\n </div>\n }\n }\n }\n } @placeholder {\n <mona-placeholder [text]=\"messages().loading\" />\n }\n</div>\n@if (!gridService.virtualScrollOptions().enabled) {\n @if (gridService.serverBindingEnabled() || gridService.pagerTotal() !== 0 || gridService.addRowVisible()) {\n <mona-pager\n class=\"border-0 border-t border-t-border rounded-ss-none rounded-se-none\"\n [skip]=\"gridService.paginationState().skip\"\n [pageSize]=\"gridService.paginationState().take\"\n [total]=\"gridService.pagerTotal()\"\n [size]=\"'small'\"\n [rounded]=\"rounded()\"\n [pageInput]=\"true\"\n [pageSizeValues]=\"pageSizeValues()\"\n [responsive]=\"responsivePager()\"\n (pageChange)=\"onPageChange($event)\"></mona-pager>\n }\n}\n\n<ng-template #emptyGridTemplate>\n <div [class]=\"noDataClass()\" role=\"rowgroup\">\n <div role=\"row\" class=\"contents\" [attr.aria-rowindex]=\"gridService.bodyAriaRowStart() + 1\">\n <div role=\"gridcell\" class=\"contents\" [attr.aria-colspan]=\"gridService.layout().length\">\n @if (noDataTemplate()) {\n <ng-container [ngTemplateOutlet]=\"noDataTemplate() ?? null\"></ng-container>\n } @else {\n <mona-placeholder [text]=\"gridService.messages().noData\"></mona-placeholder>\n }\n </div>\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "component", type: LucideArrowDown, selector: "svg[lucideArrowDown]" }, { kind: "component", type: LucideArrowLeft, selector: "svg[lucideArrowLeft]" }, { kind: "component", type: LucideArrowRight, selector: "svg[lucideArrowRight]" }, { kind: "component", type: LucideArrowUp, selector: "svg[lucideArrowUp]" }, { kind: "component", type: LucideEllipsisVertical, selector: "svg[lucideEllipsisVertical], svg[lucideMoreVertical]" }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "component", type: ChipComponent, selector: "mona-chip", inputs: ["aria-label", "disabled", "label", "look", "removable", "removeLabel", "removeTabIndex", "rounded", "selected", "size", "tabindex", "toggleable", "class", "value"], outputs: ["contentClick", "remove", "selectedChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: GridColgroupComponent, selector: "colgroup[monaGridColgroup]" }, { kind: "component", type: GridFilterMenuComponent, selector: "mona-grid-filter-menu", inputs: ["column", "type"], outputs: ["apply"] }, { kind: "component", type: GridFilterRowCellComponent, selector: "mona-grid-filter-row-cell", inputs: ["column"], outputs: ["apply"] }, { kind: "directive", type: GridColumnResizeHandlerDirective, selector: "[monaGridColumnResizeHandler]", inputs: ["column"], outputs: ["resizeEnd", "resizeStart"] }, { kind: "directive", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: PagerComponent, selector: "mona-pager", inputs: ["aria-label", "aria-labelledby", "firstLast", "navigable", "pageInput", "pageSize", "pageSizeValues", "previousNext", "responsive", "rounded", "showInfo", "size", "skip", "total", "type", "class", "visiblePages"], outputs: ["pageChange", "pageSizeChange", "pageSizeSelect", "skipChange"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: PlaceholderComponent, selector: "mona-placeholder", inputs: ["text", "class"] }, { kind: "component", type: PopupMenuComponent, selector: "mona-popup-menu", inputs: ["anchor", "anchorConnectionPoint", "items", "id", "minWidth", "offset", "popupConnectionPoint", "precise", "rounded", "size", "target", "trigger", "width", "class"], outputs: ["close", "menuClick", "navigate", "open"] }, { kind: "component", type: PopupMenuItemComponent, selector: "mona-popup-menu-item", inputs: ["disabled", "label"], outputs: ["menuClick"] }, { kind: "directive", type: PopupMenuTextTemplateDirective, selector: "ng-template[monaPopupMenuTextTemplate]" }, { kind: "directive", type: GridLogicalCellDirective, selector: "td[monaGridLogicalCell], th[monaGridLogicalCell]", inputs: ["ariaColIndex", "cellKind", "colIndex", "columnId", "editable", "expanded", "firstInRow", "groupHeader", "groupKey", "lastInRow", "readOnly", "rowIndex", "rowUid", "section"], outputs: ["edit", "menuOpen", "toggleExpand"] }, { kind: "directive", type: GridLockedCellDirective, selector: "td[monaGridLockedCell], th[monaGridLockedCell]", inputs: ["monaGridLockedCell", "lockedCellHeader"] }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class"], outputs: ["lookChange", "selectedChange"] }, { kind: "component", type: PopupComponent, selector: "mona-popup", inputs: ["anchor", "anchorConnectionPoint", "animation", "backdropClass", "closeOnBackdropClick", "closeOnEscape", "closeOnMouseLeave", "closeOnOutsideClick", "closeOnScroll", "data", "hasBackdrop", "height", "maxHeight", "maxWidth", "minHeight", "minWidth", "offset", "popupClass", "popupConnectionPoint", "popupWrapperClass", "positionStrategy", "positions", "preventClose", "providers", "restoreFocus", "trigger", "width", "withPush", "withScrollTracking"], outputs: ["close", "open"] }, { kind: "component", type: GridColumnChooserComponent, selector: "mona-grid-column-chooser", outputs: ["apply", "cancel"] }, { kind: "component", type: GridSelectAllCheckboxComponent, selector: "mona-grid-select-all-checkbox" }, { kind: "pipe", type: ColumnAriaSortPipe, name: "columnAriaSort" }], deferBlockDependencies: [() => [NgTemplateOutlet,
7386
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: GridComponent, isStandalone: true, selector: "mona-grid", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, expandedKeys: { classPropertyName: "expandedKeys", publicName: "expandedKeys", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, pageSizeValues: { classPropertyName: "pageSizeValues", publicName: "pageSizeValues", isSignal: true, isRequired: false, transformFunction: null }, resizeMethod: { classPropertyName: "resizeMethod", publicName: "resizeMethod", isSignal: true, isRequired: false, transformFunction: null }, responsivePager: { classPropertyName: "responsivePager", publicName: "responsivePager", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, rowClass: { classPropertyName: "rowClass", publicName: "rowClass", isSignal: true, isRequired: false, transformFunction: null }, rowKey: { classPropertyName: "rowKey", publicName: "rowKey", isSignal: true, isRequired: false, transformFunction: null }, skip: { classPropertyName: "skip", publicName: "skip", isSignal: true, isRequired: false, transformFunction: null }, userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedKeys: "expandedKeysChange", pageChange: "pageChange", pageSize: "pageSizeChange", skip: "skipChange" }, host: { properties: { "class": "baseClass()", "attr.data-uid": "uid" } }, providers: [GridService, GridNavigationService, FilterService], queries: [{ propertyName: "columnDefinitions", predicate: GRID_COLUMN_DEFINITION, isSignal: true }, { propertyName: "gridDetailTemplate", first: true, predicate: GridDetailTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "noDataTemplate", first: true, predicate: GridNoDataTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "toolbarTemplate", first: true, predicate: GridToolbarTemplateDirective, descendants: true, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "filterMenus", predicate: GridFilterMenuComponent, descendants: true, isSignal: true }, { propertyName: "footerScrollElement", first: true, predicate: ["footerScrollElement"], descendants: true, isSignal: true }, { propertyName: "gridHeaderElement", first: true, predicate: ["gridHeaderElement"], descendants: true, isSignal: true }, { propertyName: "gridHeaderTableElement", first: true, predicate: ["headerTable"], descendants: true, isSignal: true }, { propertyName: "groupColumnList", first: true, predicate: ["groupColumnList"], descendants: true, isSignal: true }, { propertyName: "toolbarElement", first: true, predicate: ["toolbarElement"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (toolbarTemplate()) {\n <div\n class=\"flex min-h-10 items-center gap-2 border-b border-border p-2\"\n role=\"toolbar\"\n [attr.aria-label]=\"messages().toolbar\"\n #toolbarElement\n (focusin)=\"onToolbarFocusIn($event)\"\n (keydown)=\"onToolbarKeydown($event)\">\n <ng-container\n [ngTemplateOutlet]=\"toolbarTemplate() ?? null\"\n [ngTemplateOutletContext]=\"toolbarContext()\"></ng-container>\n <button monaButton size=\"small\" #columnsButton>{{ messages().columns }}</button>\n <mona-popup\n [anchor]=\"columnsButton\"\n [animation]=\"{ leave: [] }\"\n [width]=\"'max-content'\"\n [anchorConnectionPoint]=\"'bottomleft'\"\n [popupConnectionPoint]=\"'topleft'\"\n #popup>\n <mona-grid-column-chooser\n (apply)=\"popup.closePopup()\"\n (cancel)=\"popup.closePopup()\"></mona-grid-column-chooser>\n </mona-popup>\n </div>\n}\n\n@if (groupable()) {\n <div\n [class]=\"groupPanelClass()\"\n cdkDropList\n #groupColumnList=\"cdkDropList\"\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListEntered)=\"onColumnDragEnterForGrouping()\"\n (cdkDropListExited)=\"onColumnDragExitForGrouping()\"\n (cdkDropListDropped)=\"onColumnDropForGrouping($event)\">\n @if (gridService.groupColumns().length !== 0) {\n @for (groupColumn of gridService.groupColumns(); track $index) {\n <mona-chip\n [removable]=\"true\"\n size=\"small\"\n [rounded]=\"rounded()\"\n (click)=\"onGroupingColumnSort(groupColumn)\"\n (keydown)=\"onGroupChipKeydown($event, groupColumn)\"\n (remove)=\"onGroupingColumnRemove($event, groupColumn)\">\n @if (groupColumn.groupSortDirection === \"asc\") {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else if (groupColumn.groupSortDirection === \"desc\") {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n <span>{{ groupColumn.title }}</span>\n <span class=\"ms-2\" (click)=\"$event.stopPropagation()\" #groupReorder>\n <svg lucideEllipsisVertical [size]=\"16\" aria-hidden=\"true\"></svg>\n </span>\n <mona-popup-menu size=\"small\" [target]=\"groupReorder\">\n <mona-popup-menu-item\n [disabled]=\"$first\"\n (menuClick)=\"onGroupColumnReorder(groupColumn, 'prev')\">\n <ng-template monaPopupMenuTextTemplate>\n <svg lucideArrowLeft [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n {{ messages().moveAsPrevious }}\n </ng-template>\n </mona-popup-menu-item>\n <mona-popup-menu-item\n [disabled]=\"$last\"\n (menuClick)=\"onGroupColumnReorder(groupColumn, 'next')\">\n <ng-template monaPopupMenuTextTemplate>\n <svg lucideArrowRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n {{ messages().moveAsNext }}\n </ng-template>\n </mona-popup-menu-item>\n </mona-popup-menu>\n </mona-chip>\n }\n } @else if (groupPanelPlaceholderVisible()) {\n <span [class]=\"groupPanelPlaceholderClass()\">{{ messages().dragColumnHeaderToGroup }}</span>\n }\n </div>\n}\n<div\n class=\"flex flex-col flex-1 min-h-0\"\n [attr.role]=\"gridRole()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-busy]=\"gridService.serverLoading() || null\"\n [attr.aria-rowcount]=\"ariaRowCount()\"\n [attr.aria-colcount]=\"gridService.layout().length\"\n [attr.aria-multiselectable]=\"multiselectable() || null\"\n [attr.aria-readonly]=\"gridService.editableOptions().enabled ? null : true\">\n <div [class]=\"headerClass()\" [style.margin-inline-end.px]=\"headerMarginInlineEnd()\" #gridHeaderElement>\n <div>\n <table\n role=\"presentation\"\n #headerTable\n [class]=\"headerTableClass()\"\n [style.width.px]=\"gridService.tableWidth()\">\n <colgroup monaGridColgroup></colgroup>\n <thead role=\"rowgroup\" [style.visibility]=\"!gridWidthSet() ? 'hidden' : undefined\">\n <tr\n role=\"row\"\n aria-rowindex=\"1\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n [cdkDropListSortingDisabled]=\"true\"\n [cdkDropListConnectedTo]=\"groupable() ? [groupColumnList()!] : []\"\n (cdkDropListDropped)=\"onColumnDrop()\"\n [class]=\"headerTableRowClass()\">\n @for (layoutColumn of gridService.layout(); track layoutColumn.key) {\n @if (layoutColumn.kind === \"column\") {\n @let column = layoutColumn.column;\n @let columnSortable =\n gridService.sortableOptions().enabled &&\n column.kind === \"data\" &&\n column.sortable &&\n column.field !== \"\";\n @let sortOrderShown =\n gridService.sortableOptions().enabled &&\n gridService.sortableOptions().mode === \"multiple\" &&\n gridService.sortableOptions().showIndices &&\n column.sortIndex !== null;\n @let defaultTitle = !column.headerTemplate && !column.titleTemplate;\n <th\n scope=\"col\"\n role=\"columnheader\"\n [attr.data-column-id]=\"column.id\"\n [attr.aria-labelledby]=\"defaultTitle ? uid + '-title-' + column.id : null\"\n [attr.aria-label]=\"!defaultTitle && column.title ? column.title : null\"\n [attr.aria-describedby]=\"sortOrderShown ? uid + '-sort-' + column.id : null\"\n cdkDrag\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'header'\"\n [columnId]=\"column.id\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n (toggleExpand)=\"onColumnSort(column)\"\n (menuOpen)=\"openColumnFilterMenu(column)\"\n [attr.aria-keyshortcuts]=\"headerKeyShortcuts().get(column.id) ?? null\"\n (keydown)=\"onHeaderKeydown($event, column)\"\n [cdkDragData]=\"column\"\n [cdkDragDisabled]=\"isColumnDragDisabled(column)\"\n [class]=\"headerTableCellClass()\"\n (cdkDragMoved)=\"onColumnDragMove($event)\"\n (cdkDragEntered)=\"onColumnDragEnter($event)\"\n (cdkDragStarted)=\"onColumnDragStart($event)\"\n (cdkDragEnded)=\"onColumnDragEnd($event)\"\n [style.min-width.px]=\"column.minWidth\"\n [style.width.px]=\"column.calculatedWidth\"\n [attr.aria-sort]=\"\n columnSortable && (column.sortIndex ?? 1) === 1\n ? (column.columnSortDirection | columnAriaSort)\n : null\n \">\n <div\n [class]=\"headerTableColumnWrapClass()\"\n [style.cursor]=\"columnSortable ? 'pointer' : 'default'\">\n @if (column.headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"column.headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: column,\n column\n }\"></ng-container>\n } @else if (column.titleTemplate) {\n <ng-container [ngTemplateOutlet]=\"column.titleTemplate\"></ng-container>\n } @else {\n <span\n [class]=\"headerTableColumnTitleClass()\"\n [id]=\"uid + '-title-' + column.id\"\n data-column-title\n (click)=\"onColumnSort(column)\"\n [title]=\"column.title\"\n >{{ column.title }}</span\n >\n }\n\n @if (sortOrderShown) {\n <span class=\"sr-only\" [id]=\"uid + '-sort-' + column.id\">{{\n messages().sortOrder(column.sortIndex ?? 1)\n }}</span>\n }\n <div [class]=\"columnActionsClass()\" [attr.data-column-actions]=\"true\">\n @if (\n gridService.sortableOptions().enabled &&\n column.columnSortDirection !== null\n ) {\n <div class=\"inline-flex shrink-0 items-center gap-0.5\">\n @if (column.columnSortDirection === \"asc\") {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @if (\n gridService.sortableOptions().mode === \"multiple\" &&\n gridService.sortableOptions().showIndices &&\n column.sortIndex !== null\n ) {\n <span class=\"tabular-nums\" aria-hidden=\"true\">{{\n column.sortIndex\n }}</span>\n }\n </div>\n }\n @if (filterMenuEnabled()) {\n @if (column.kind === \"data\" && column.filterable) {\n <mona-grid-filter-menu\n [column]=\"column\"\n [type]=\"column.dataType\"\n (apply)=\"\n onColumnFilter(column, $event)\n \"></mona-grid-filter-menu>\n }\n }\n </div>\n </div>\n @if (\n dropColumn() === column &&\n dragColumn() &&\n gridService.reorderableOptions().enabled &&\n !groupingInProgress()\n ) {\n <span [class]=\"columnDropHintClass()\"> </span>\n }\n @if (gridService.resizableOptions().enabled && !columnDragging()) {\n <div\n monaGridColumnResizeHandler\n [column]=\"column\"\n [class]=\"columnResizerClass()\"\n (resizeStart)=\"onColumnResizeStart()\"\n (resizeEnd)=\"onColumnResizeEnd($event)\"></div>\n }\n <ng-template cdkDragPreview>\n <div [class]=\"columnDragPreviewClass()\">\n <span>{{ column.title }}</span>\n </div>\n </ng-template>\n <ng-template cdkDragPlaceholder>\n @if (groupingInProgress()) {\n <mona-chip\n style=\"z-index: 10; pointer-events: none\"\n [removable]=\"true\"\n [rounded]=\"rounded()\"\n >{{ column.title }}</mona-chip\n >\n }\n </ng-template>\n </th>\n @if (columnDragging() && dragColumn() === column) {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n aria-hidden=\"true\"\n [class]=\"headerTableCellClass()\"\n [style.min-width.px]=\"column.minWidth\"\n [style.width.px]=\"column.calculatedWidth\">\n <div [class]=\"headerTableColumnWrapClass()\">\n @if (column.headerTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"column.headerTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: column,\n column\n }\"></ng-container>\n } @else if (column.titleTemplate) {\n <ng-container [ngTemplateOutlet]=\"column.titleTemplate\"></ng-container>\n } @else {\n <span\n [class]=\"headerTableColumnTitleClass()\"\n (click)=\"onColumnSort(column)\"\n [title]=\"column.title\"\n >{{ column.title }}</span\n >\n }\n </div>\n </th>\n }\n } @else if (layoutColumn.kind === \"reorder\") {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'command'\"\n [columnId]=\"'$rowReorder'\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n scope=\"col\"\n role=\"columnheader\"\n [attr.aria-label]=\"gridService.messages().rowReorder\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\"></th>\n } @else if (layoutColumn.kind === \"selection\") {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'command'\"\n [columnId]=\"'$selection'\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'header'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n scope=\"col\"\n role=\"columnheader\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\">\n @if (\n gridService.selectableOptions().mode === \"multiple\" &&\n gridService.selectableOptions().showSelectAll !== false\n ) {\n <mona-grid-select-all-checkbox />\n }\n </th>\n } @else {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n scope=\"col\"\n role=\"columnheader\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\">\n <span class=\"sr-only\">{{\n layoutColumn.kind === \"detail\" ? messages().details : messages().group\n }}</span>\n </th>\n }\n }\n </tr>\n @if (filterRowEnabled()) {\n <tr role=\"row\" aria-rowindex=\"2\" [class]=\"headerTableRowClass()\">\n @for (layoutColumn of gridService.layout(); track layoutColumn.key) {\n @if (layoutColumn.kind === \"column\") {\n @let column = layoutColumn.column;\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n monaGridLogicalCell\n [cellKind]=\"'filter'\"\n [columnId]=\"column.id\"\n [rowIndex]=\"-1\"\n [colIndex]=\"layoutColumn.logicalIndex\"\n [section]=\"'filter'\"\n [firstInRow]=\"layoutColumn.firstInRow\"\n [lastInRow]=\"layoutColumn.lastInRow\"\n role=\"gridcell\"\n [class]=\"filterRowCellClass()\"\n [style.width.px]=\"layoutColumn.width\"\n [attr.aria-label]=\"messages().filterByColumn(column.title)\">\n @if (column.kind === \"data\" && column.field && column.filterable) {\n <mona-grid-filter-row-cell\n [column]=\"column\"\n (apply)=\"onColumnFilter(column, $event)\" />\n }\n </th>\n } @else {\n <th\n [monaGridLockedCell]=\"layoutColumn.key\"\n [lockedCellHeader]=\"true\"\n role=\"gridcell\"\n class=\"border-e border-border\"\n [style.width.px]=\"layoutColumn.width\"></th>\n }\n }\n </tr>\n }\n </thead>\n </table>\n </div>\n </div>\n\n @defer (when gridWidthSet()) {\n @if (gridService.virtualScrollOptions().enabled) {\n @if (gridService.viewRows().length !== 0 || gridService.addRowVisible()) {\n <mona-grid-virtual-list [data]=\"gridService.viewRows()\" />\n } @else {\n <ng-container [ngTemplateOutlet]=\"emptyGridTemplate\" />\n }\n } @else {\n <div class=\"relative flex-1 min-h-0\" data-grid-body-region>\n @if (gridService.viewPageRows().length !== 0 || gridService.addRowVisible()) {\n <mona-grid-list [data]=\"gridService.viewPageRows()\" />\n } @else if (!gridService.serverLoading()) {\n <ng-container [ngTemplateOutlet]=\"emptyGridTemplate\" />\n }\n @if (gridService.serverLoading()) {\n <div\n class=\"absolute inset-0 z-20 flex items-center justify-center bg-surface/60\"\n aria-hidden=\"true\"\n data-grid-loading>\n <mona-spinner size=\"large\" />\n </div>\n }\n </div>\n @if (gridService.viewPageRows().length !== 0 || gridService.addRowVisible()) {\n @if (footerVisible()) {\n <div\n [class]=\"footerClass()\"\n [style.margin-inline-end.px]=\"gridService.scrollbarGutterWidth()\"\n #footerScrollElement\n data-grid-footer-scroll>\n <div>\n <table\n role=\"presentation\"\n [class]=\"footerTableClass()\"\n [style.width.px]=\"gridService.tableWidth()\">\n <colgroup monaGridColgroup></colgroup>\n <tfoot role=\"rowgroup\">\n <tr monaGridFooterRow [ariaRowIndex]=\"ariaRowCount()\"></tr>\n </tfoot>\n </table>\n </div>\n </div>\n }\n }\n }\n } @placeholder {\n <mona-placeholder [text]=\"messages().loading\" />\n }\n</div>\n@if (!gridService.virtualScrollOptions().enabled) {\n @if (gridService.serverBindingEnabled() || gridService.pagerTotal() !== 0 || gridService.addRowVisible()) {\n <mona-pager\n class=\"border-0 border-t border-t-border rounded-ss-none rounded-se-none\"\n [skip]=\"gridService.paginationState().skip\"\n [pageSize]=\"gridService.paginationState().take\"\n [total]=\"gridService.pagerTotal()\"\n [size]=\"'small'\"\n [rounded]=\"rounded()\"\n [pageInput]=\"true\"\n [pageSizeValues]=\"pageSizeValues()\"\n [responsive]=\"responsivePager()\"\n (pageChange)=\"onPageChange($event)\"></mona-pager>\n }\n}\n\n<ng-template #emptyGridTemplate>\n <div [class]=\"noDataClass()\" role=\"rowgroup\">\n <div role=\"row\" class=\"contents\" [attr.aria-rowindex]=\"gridService.bodyAriaRowStart() + 1\">\n <div role=\"gridcell\" class=\"contents\" [attr.aria-colspan]=\"gridService.layout().length\">\n @if (noDataTemplate()) {\n <ng-container [ngTemplateOutlet]=\"noDataTemplate() ?? null\"></ng-container>\n } @else {\n <mona-placeholder [text]=\"gridService.messages().noData\"></mona-placeholder>\n }\n </div>\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "component", type: LucideArrowDown, selector: "svg[lucideArrowDown]" }, { kind: "component", type: LucideArrowLeft, selector: "svg[lucideArrowLeft]" }, { kind: "component", type: LucideArrowRight, selector: "svg[lucideArrowRight]" }, { kind: "component", type: LucideArrowUp, selector: "svg[lucideArrowUp]" }, { kind: "component", type: LucideEllipsisVertical, selector: "svg[lucideEllipsisVertical], svg[lucideMoreVertical]" }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "component", type: ChipComponent, selector: "mona-chip", inputs: ["aria-label", "disabled", "label", "look", "removable", "removeLabel", "removeTabIndex", "rounded", "selected", "size", "tabindex", "toggleable", "class", "value"], outputs: ["contentClick", "remove", "selectedChange"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: GridColgroupComponent, selector: "colgroup[monaGridColgroup]" }, { kind: "component", type: GridFilterMenuComponent, selector: "mona-grid-filter-menu", inputs: ["column", "type"], outputs: ["apply"] }, { kind: "component", type: GridFilterRowCellComponent, selector: "mona-grid-filter-row-cell", inputs: ["column"], outputs: ["apply"] }, { kind: "directive", type: GridColumnResizeHandlerDirective, selector: "[monaGridColumnResizeHandler]", inputs: ["column"], outputs: ["resizeEnd", "resizeStart"] }, { kind: "directive", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: PagerComponent, selector: "mona-pager", inputs: ["aria-label", "aria-labelledby", "firstLast", "navigable", "pageInput", "pageSize", "pageSizeValues", "previousNext", "responsive", "rounded", "showInfo", "size", "skip", "total", "type", "class", "visiblePages"], outputs: ["pageChange", "pageSizeChange", "pageSizeSelect", "skipChange"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: PlaceholderComponent, selector: "mona-placeholder", inputs: ["text", "class"] }, { kind: "component", type: PopupMenuComponent, selector: "mona-popup-menu", inputs: ["anchor", "anchorConnectionPoint", "ariaLabel", "ariaLabelledBy", "items", "id", "minWidth", "offset", "popupConnectionPoint", "precise", "rounded", "size", "target", "trigger", "class", "width"], outputs: ["close", "menuClick", "navigate", "open"] }, { kind: "component", type: PopupMenuItemComponent, selector: "mona-popup-menu-item", inputs: ["disabled", "label", "value"], outputs: ["menuClick"] }, { kind: "directive", type: PopupMenuTextTemplateDirective, selector: "ng-template[monaPopupMenuTextTemplate]" }, { kind: "directive", type: GridLogicalCellDirective, selector: "td[monaGridLogicalCell], th[monaGridLogicalCell]", inputs: ["ariaColIndex", "cellKind", "colIndex", "columnId", "editable", "expanded", "firstInRow", "groupHeader", "groupKey", "lastInRow", "readOnly", "rowIndex", "rowUid", "section"], outputs: ["edit", "menuOpen", "toggleExpand"] }, { kind: "directive", type: GridLockedCellDirective, selector: "td[monaGridLockedCell], th[monaGridLockedCell]", inputs: ["monaGridLockedCell", "lockedCellHeader"] }, { kind: "directive", type: ButtonDirective, selector: "button[monaButton]", inputs: ["aria-haspopup", "disabled", "iconOnly", "loading", "look", "rounded", "selected", "size", "tabindex", "toggleable", "type", "class"], outputs: ["lookChange", "selectedChange"] }, { kind: "component", type: PopupComponent, selector: "mona-popup", inputs: ["anchor", "anchorConnectionPoint", "animation", "backdropClass", "closeOnBackdropClick", "closeOnEscape", "closeOnMouseLeave", "closeOnOutsideClick", "closeOnScroll", "data", "hasBackdrop", "height", "maxHeight", "maxWidth", "minHeight", "minWidth", "offset", "popupClass", "popupConnectionPoint", "popupWrapperClass", "positionStrategy", "positions", "preventClose", "providers", "restoreFocus", "trigger", "width", "withPush", "withScrollTracking"], outputs: ["close", "open"] }, { kind: "component", type: GridColumnChooserComponent, selector: "mona-grid-column-chooser", outputs: ["apply", "cancel"] }, { kind: "component", type: GridSelectAllCheckboxComponent, selector: "mona-grid-select-all-checkbox" }, { kind: "pipe", type: ColumnAriaSortPipe, name: "columnAriaSort" }], deferBlockDependencies: [() => [NgTemplateOutlet,
7387
7387
  GridColgroupComponent, /* @ts-ignore */
7388
- import('./nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs').then(m => m.GridFooterRowComponent), /* @ts-ignore */
7389
- import('./nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs').then(m => m.GridListComponent), /* @ts-ignore */
7390
- import('./nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs').then(m => m.GridVirtualListComponent), /* @ts-ignore */
7388
+ import('./nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs').then(m => m.GridFooterRowComponent), /* @ts-ignore */
7389
+ import('./nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs').then(m => m.GridListComponent), /* @ts-ignore */
7390
+ import('./nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs').then(m => m.GridVirtualListComponent), /* @ts-ignore */
7391
7391
  import('@nanahoshi/mona-ui/spinner').then(m => m.SpinnerComponent)]] }); }
7392
7392
  }
7393
7393
  i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.0.6", ngImport: i0, type: GridComponent, resolveDeferredDeps: () => [/* @ts-ignore */
7394
- import('./nanahoshi-mona-ui-grid-grid-footer-row.component-DdyHnUIr.mjs').then(m => m.GridFooterRowComponent), /* @ts-ignore */
7395
- import('./nanahoshi-mona-ui-grid-grid-list.component-B6gq7Hu3.mjs').then(m => m.GridListComponent), /* @ts-ignore */
7396
- import('./nanahoshi-mona-ui-grid-grid-virtual-list.component-DG8Bu4Dy.mjs').then(m => m.GridVirtualListComponent), /* @ts-ignore */
7394
+ import('./nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs').then(m => m.GridFooterRowComponent), /* @ts-ignore */
7395
+ import('./nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs').then(m => m.GridListComponent), /* @ts-ignore */
7396
+ import('./nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs').then(m => m.GridVirtualListComponent), /* @ts-ignore */
7397
7397
  import('@nanahoshi/mona-ui/spinner').then(m => m.SpinnerComponent)], resolveMetadata: (GridFooterRowComponent, GridListComponent, GridVirtualListComponent, SpinnerComponent) => ({ decorators: [{
7398
7398
  type: Component,
7399
7399
  args: [{ selector: "mona-grid", providers: [GridService, GridNavigationService, FilterService], imports: [
@@ -7443,4 +7443,4 @@ i0.ɵɵngDeclareClassMetadataAsync({ minVersion: "18.0.0", version: "22.0.6", ng
7443
7443
  */
7444
7444
 
7445
7445
  export { GridRowReorderableDirective as $, GridAddEvent as A, GridCancelCommandDirective as B, CellEditEvent as C, GridCancelEvent as D, GridCellTemplateDirective as E, GridColumnComponent as F, GridService as G, GridColumnTitleTemplateDirective as H, GridCommandColumnComponent as I, GridComponent as J, GridContextMenuDirective as K, GridDetailTemplateDirective as L, GridEditCommandDirective as M, GridEditEvent as N, GridEditTemplateDirective as O, GridEditableDirective as P, GridExportDirective as Q, GridFilterableDirective as R, GridFooterTemplateDirective as S, GridGroupFooterTemplateDirective as T, GridGroupableDirective as U, GridHeaderTemplateDirective as V, GridNoDataTemplateDirective as W, GridRemoveCommandDirective as X, GridRemoveEvent as Y, GridReorderableDirective as Z, GridResizableDirective as _, GridLockedCellDirective as a, GridSaveCommandDirective as a0, GridSaveEvent as a1, GridSelectableDirective as a2, GridServerBindingDirective as a3, GridSortableDirective as a4, GridStatePersistenceDirective as a5, GridToolbarTemplateDirective as a6, GridVirtualScrollDirective as a7, RowEditEvent as a8, RowReorderEvent as a9, gridRowDragPreviewThemeVariants as b, gridListTableThemeVariants as c, GridColgroupComponent as d, GridNavigationService as e, gridFooterThemeVariants as f, gridListBaseThemeVariants as g, gridFooterTableThemeVariants as h, GRID_DEFAULT_VIRTUAL_ROW_HEIGHT as i, gridListTableCellThemeVariants as j, GridLogicalCellDirective as k, gridCellEditorBaseThemeVariants as l, gridCellEditorInputThemeVariants as m, GRID_CELL_FOCUSABLE_SELECTOR as n, gridListTableRowThemeVariants as o, gridGroupRowThemeVariants as p, gridCellBaseThemeVariants as q, gridCellContainerThemeVariants as r, gridCellDirtyIndicatorThemeVariants as s, gridCellTextThemeVariants as t, gridRowReorderHandleThemeVariants as u, gridSelectionCellThemeVariants as v, gridFooterTableCellThemeVariants as w, gridFooterTableRowThemeVariants as x, GRID_DEFAULT_MESSAGES as y, GridAddCommandDirective as z };
7446
- //# sourceMappingURL=nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs.map
7446
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs.map
@@ -1,2 +1,2 @@
1
- export { C as CellEditEvent, y as GRID_DEFAULT_MESSAGES, z as GridAddCommandDirective, A as GridAddEvent, B as GridCancelCommandDirective, D as GridCancelEvent, E as GridCellTemplateDirective, F as GridColumnComponent, H as GridColumnTitleTemplateDirective, I as GridCommandColumnComponent, J as GridComponent, K as GridContextMenuDirective, L as GridDetailTemplateDirective, M as GridEditCommandDirective, N as GridEditEvent, O as GridEditTemplateDirective, P as GridEditableDirective, Q as GridExportDirective, R as GridFilterableDirective, S as GridFooterTemplateDirective, T as GridGroupFooterTemplateDirective, U as GridGroupableDirective, V as GridHeaderTemplateDirective, W as GridNoDataTemplateDirective, X as GridRemoveCommandDirective, Y as GridRemoveEvent, Z as GridReorderableDirective, _ as GridResizableDirective, $ as GridRowReorderableDirective, a0 as GridSaveCommandDirective, a1 as GridSaveEvent, a2 as GridSelectableDirective, a3 as GridServerBindingDirective, a4 as GridSortableDirective, a5 as GridStatePersistenceDirective, a6 as GridToolbarTemplateDirective, a7 as GridVirtualScrollDirective, a8 as RowEditEvent, a9 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CVqpbMcb.mjs';
1
+ export { C as CellEditEvent, y as GRID_DEFAULT_MESSAGES, z as GridAddCommandDirective, A as GridAddEvent, B as GridCancelCommandDirective, D as GridCancelEvent, E as GridCellTemplateDirective, F as GridColumnComponent, H as GridColumnTitleTemplateDirective, I as GridCommandColumnComponent, J as GridComponent, K as GridContextMenuDirective, L as GridDetailTemplateDirective, M as GridEditCommandDirective, N as GridEditEvent, O as GridEditTemplateDirective, P as GridEditableDirective, Q as GridExportDirective, R as GridFilterableDirective, S as GridFooterTemplateDirective, T as GridGroupFooterTemplateDirective, U as GridGroupableDirective, V as GridHeaderTemplateDirective, W as GridNoDataTemplateDirective, X as GridRemoveCommandDirective, Y as GridRemoveEvent, Z as GridReorderableDirective, _ as GridResizableDirective, $ as GridRowReorderableDirective, a0 as GridSaveCommandDirective, a1 as GridSaveEvent, a2 as GridSelectableDirective, a3 as GridServerBindingDirective, a4 as GridSortableDirective, a5 as GridStatePersistenceDirective, a6 as GridToolbarTemplateDirective, a7 as GridVirtualScrollDirective, a8 as RowEditEvent, a9 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs';
2
2
  //# sourceMappingURL=nanahoshi-mona-ui-grid.mjs.map
@@ -151,24 +151,33 @@ const MONA_MESSAGE_PARAMETERS = {
151
151
  addRowAfter: null,
152
152
  addRowBefore: null,
153
153
  alignCenter: null,
154
+ alignEnd: null,
154
155
  alignLeft: null,
155
156
  alignRight: null,
157
+ alignStart: null,
158
+ alignmentGroup: null,
156
159
  altText: null,
160
+ apply: null,
157
161
  backgroundColor: null,
158
162
  bold: null,
159
163
  cancel: null,
160
164
  codeBlock: null,
161
165
  color: null,
166
+ contentLabel: null,
167
+ defaultFontFamily: null,
162
168
  deleteColumn: null,
163
169
  deleteRow: null,
164
170
  deleteTable: null,
171
+ editLink: null,
165
172
  enterUrl: null,
166
173
  fontSize: null,
167
174
  format: null,
168
175
  heading: [{ name: "level", type: "number" }],
169
176
  heightPx: null,
177
+ historyGroup: null,
170
178
  imageUrl: null,
171
179
  indent: null,
180
+ indentGroup: null,
172
181
  insert: null,
173
182
  insertImage: null,
174
183
  insertLink: null,
@@ -176,8 +185,11 @@ const MONA_MESSAGE_PARAMETERS = {
176
185
  insertTable: null,
177
186
  insertTaskList: null,
178
187
  insertUnorderedList: null,
188
+ invalidUrl: null,
179
189
  italic: null,
180
190
  justify: null,
191
+ linkGroup: null,
192
+ listGroup: null,
181
193
  mergeCells: null,
182
194
  outdent: null,
183
195
  paragraph: null,
@@ -190,7 +202,14 @@ const MONA_MESSAGE_PARAMETERS = {
190
202
  strikethrough: null,
191
203
  subscript: null,
192
204
  superscript: null,
205
+ tableGroup: null,
206
+ tableSize: [
207
+ { name: "rows", type: "number" },
208
+ { name: "columns", type: "number" }
209
+ ],
210
+ textStyleGroup: null,
193
211
  toggleHeaderRow: null,
212
+ toolbar: null,
194
213
  underline: null,
195
214
  undo: null,
196
215
  widthPx: null
@@ -340,6 +359,7 @@ const MONA_MESSAGE_PARAMETERS = {
340
359
  close: null,
341
360
  error: null,
342
361
  info: null,
362
+ region: null,
343
363
  success: null,
344
364
  warning: null
345
365
  },
@@ -410,6 +430,7 @@ const MONA_MESSAGE_PARAMETERS = {
410
430
  },
411
431
  splitButton: {
412
432
  menuButtonAriaLabel: null,
433
+ menuButtonWithText: [{ name: "text", type: "string" }],
413
434
  splitButton: [{ name: "text", type: "string" }]
414
435
  },
415
436
  splitter: {
@@ -479,6 +500,7 @@ const MONA_MESSAGE_PARAMETERS = {
479
500
  closeWindow: null,
480
501
  maximize: null,
481
502
  minimize: null,
503
+ moveOrResizeWindow: null,
482
504
  moveWindow: null,
483
505
  resizeBottom: null,
484
506
  resizeBottomLeft: null,
@@ -488,6 +510,7 @@ const MONA_MESSAGE_PARAMETERS = {
488
510
  resizeTop: null,
489
511
  resizeTopLeft: null,
490
512
  resizeTopRight: null,
513
+ resizeWindow: null,
491
514
  restore: null
492
515
  }
493
516
  };