@nanahoshi/mona-ui 0.20.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +5 -3
  2. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +4 -3
  3. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +4 -2
  4. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +4 -2
  5. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-DLqCAee3.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-cJjJ1b6M.mjs} +7 -4
  6. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-Bd2twji1.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-CkkLBnoI.mjs} +12 -6
  7. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Do-ktlth.mjs +164 -0
  8. package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-CtEs5t9x.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-BDMX9KGc.mjs} +47 -36
  9. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-Cs1gPJps.mjs +239 -0
  10. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BIK61ieq.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CIfTr1Qm.mjs} +564 -300
  11. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  12. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +3 -2
  13. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +17 -14
  14. package/fesm2022/nanahoshi-mona-ui-locales.mjs +26 -13
  15. package/fesm2022/nanahoshi-mona-ui-pager.mjs +10 -5
  16. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +11 -3
  17. package/package.json +1 -1
  18. package/types/nanahoshi-mona-ui-grid.d.ts +87 -42
  19. package/types/nanahoshi-mona-ui-i18n.d.ts +1 -0
  20. package/types/nanahoshi-mona-ui-locales.d.ts +13 -0
  21. package/types/nanahoshi-mona-ui-pager.d.ts +1 -0
  22. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-hakVMhqu.mjs +0 -145
  23. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DoAGYLzr.mjs +0 -233
@@ -1,2 +1,2 @@
1
- export { C as CellEditEvent, A as GRID_DEFAULT_MESSAGES, B as GridAddCommandDirective, D as GridAddEvent, E as GridCancelCommandDirective, F as GridCancelEvent, H as GridCellTemplateDirective, I as GridColumnComponent, J as GridColumnTitleTemplateDirective, K as GridCommandColumnComponent, L as GridComponent, M as GridContextMenuDirective, N as GridDetailTemplateDirective, O as GridEditCommandDirective, P as GridEditEvent, Q as GridEditTemplateDirective, R as GridEditableDirective, S as GridExportDirective, T as GridFilterableDirective, U as GridFooterTemplateDirective, V as GridGroupFooterTemplateDirective, W as GridGroupableDirective, X as GridHeaderTemplateDirective, Y as GridNoDataTemplateDirective, Z as GridRemoveCommandDirective, _ as GridRemoveEvent, $ as GridReorderableDirective, a0 as GridResizableDirective, a1 as GridRowReorderableDirective, a2 as GridSaveCommandDirective, a3 as GridSaveEvent, a4 as GridSelectableDirective, a5 as GridSortableDirective, a6 as GridStatePersistenceDirective, a7 as GridToolbarTemplateDirective, a8 as GridVirtualScrollDirective, a9 as RowEditEvent, aa as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BIK61ieq.mjs';
1
+ export { C as CellEditEvent, B as GRID_DEFAULT_MESSAGES, D as GridAddCommandDirective, E as GridAddEvent, F as GridCancelCommandDirective, H as GridCancelEvent, I as GridCellTemplateDirective, J as GridColumnComponent, K as GridColumnTitleTemplateDirective, L as GridCommandColumnComponent, M as GridComponent, N as GridContextMenuDirective, O as GridDetailTemplateDirective, P as GridEditCommandDirective, Q as GridEditEvent, R as GridEditTemplateDirective, S as GridEditableDirective, T as GridExportDirective, U as GridFilterableDirective, V as GridFooterTemplateDirective, W as GridGroupFooterTemplateDirective, X as GridGroupableDirective, Y as GridHeaderTemplateDirective, Z as GridNoDataTemplateDirective, _ as GridRemoveCommandDirective, $ as GridRemoveEvent, a0 as GridReorderableDirective, a1 as GridResizableDirective, a2 as GridRowReorderableDirective, a3 as GridSaveCommandDirective, a4 as GridSaveEvent, a5 as GridSelectableDirective, a6 as GridServerBindingDirective, a7 as GridSortableDirective, a8 as GridStatePersistenceDirective, a9 as GridToolbarTemplateDirective, aa as GridVirtualScrollDirective, ab as RowEditEvent, ac as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CIfTr1Qm.mjs';
2
2
  //# sourceMappingURL=nanahoshi-mona-ui-grid.mjs.map
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, DestroyRef, ElementRef, signal, input, output, effect, untracked, afterNextRender, Component } from '@angular/core';
3
+ import { LucideSearch } from '@lucide/angular';
3
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
5
  import * as i1 from '@angular/forms';
5
6
  import { FormsModule } from '@angular/forms';
@@ -68,11 +69,11 @@ class FilterInputComponent {
68
69
  });
69
70
  }
70
71
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [tabindex]=\"0\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <i class=\"ri-search-line\"></i>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["clearButton", "disabled", "inputAttributes", "inputClass", "inputStyle", "invalid", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { 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: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
72
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [tabindex]=\"0\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: LucideSearch, selector: "svg[lucideSearch]" }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["clearButton", "disabled", "inputAttributes", "inputClass", "inputStyle", "invalid", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { 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: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
72
73
  }
73
74
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, decorators: [{
74
75
  type: Component,
75
- args: [{ selector: "mona-filter-input", imports: [TextBoxComponent, FormsModule, TextBoxPrefixTemplateDirective], template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [tabindex]=\"0\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <i class=\"ri-search-line\"></i>\n </div>\n </ng-template>\n</mona-text-box>\n" }]
76
+ args: [{ selector: "mona-filter-input", imports: [LucideSearch, TextBoxComponent, FormsModule, TextBoxPrefixTemplateDirective], template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [tabindex]=\"0\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n" }]
76
77
  }], ctorParameters: () => [], propDecorators: { debounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "debounce", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], inputBlur: [{ type: i0.Output, args: ["inputBlur"] }], inputFocus: [{ type: i0.Output, args: ["inputFocus"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
77
78
 
78
79
  /*
@@ -10,11 +10,11 @@ import { v4 } from 'uuid';
10
10
  import { cva } from 'class-variance-authority';
11
11
  import { themeOverlaySurfaceClasses } from '@nanahoshi/mona-ui/internal';
12
12
  import { CdkDropList, CdkDrag, CdkDragPreview } from '@angular/cdk/drag-drop';
13
+ import { LucideArrowDown, LucideArrowUp, LucideBan, LucideChevronDown, LucideChevronRight, LucideLoaderCircle, LucidePlus } from '@lucide/angular';
13
14
  import * as i1 from '@angular/forms';
14
15
  import { FormsModule } from '@angular/forms';
15
16
  import { CheckBoxComponent } from '@nanahoshi/mona-ui/check-box';
16
17
  import { NgTemplateOutlet } from '@angular/common';
17
- import { twMerge } from 'tailwind-merge';
18
18
 
19
19
  class TreeNodeTemplateDirective {
20
20
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TreeNodeTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
@@ -1199,7 +1199,7 @@ const treeDropHintBaseThemeVariants = cva(`
1199
1199
  `);
1200
1200
  const treeDropHintIconThemeVariants = cva(`
1201
1201
  absolute flex items-center justify-center
1202
- -top-3.25 -start-3.5 text-xl rtl:rotate-180
1202
+ -top-2.25 -start-3.5 text-xl rtl:rotate-180
1203
1203
  `);
1204
1204
  const treeNodeBaseThemeVariants = cva(`
1205
1205
  cursor-default px-2 py-1 text-foreground
@@ -1710,11 +1710,18 @@ class SubTreeComponent {
1710
1710
  element.focus();
1711
1711
  }
1712
1712
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SubTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1713
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SubTreeComponent, isStandalone: true, selector: "mona-sub-tree", inputs: { depth: { classPropertyName: "depth", publicName: "depth", isSignal: true, isRequired: true, transformFunction: null }, nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: true, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : null\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-selected]=\"treeService.selectableOptions().enabled ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"\n (nodeComponent.expanded() ? messages().collapse : messages().expand) + ' ' + nodeComponent.nodeText()\n \"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <i class=\"ri-loader-2-line\"></i>\n } @else if (nodeComponent.expanded()) {\n <i class=\"ri-arrow-down-s-fill\"></i>\n } @else {\n <i class=\"ri-arrow-right-s-fill rtl:rotate-180\"></i>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node [node]=\"node\" [depth]=\"depth()\" #nodeComponent></mona-tree-node>\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <i class=\"ri-arrow-up-line\"></i>\n } @else {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <i class=\"ri-arrow-down-line\"></i>\n } @else {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n @case (\"inside\") {\n <i class=\"ri-add-line\"></i>\n }\n @default {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"], dependencies: [{ kind: "component", type: SubTreeComponent, selector: "mona-sub-tree", inputs: ["depth", "nodes", "parent"] }, { kind: "component", type: TreeNodeComponent, selector: "mona-tree-node", inputs: ["depth", "node"] }, { 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: "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: "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: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: CheckBoxComponent, selector: "mona-check-box", inputs: ["checked", "disabled", "indeterminate", "invalid", "label", "labelPosition", "labelSize", "required", "rounded", "tabIndex", "touched", "class"], outputs: ["checkedChange", "inputBlur", "inputChange", "inputFocus", "touch"] }, { kind: "pipe", type: TreeNodeElementIdPipe, name: "treeNodeElementId" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1713
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SubTreeComponent, isStandalone: true, selector: "mona-sub-tree", inputs: { depth: { classPropertyName: "depth", publicName: "depth", isSignal: true, isRequired: true, transformFunction: null }, nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: true, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : null\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-selected]=\"treeService.selectableOptions().enabled ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"\n (nodeComponent.expanded() ? messages().collapse : messages().expand) +\n ' ' +\n nodeComponent.nodeText()\n \"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <svg lucideLoaderCircle [size]=\"16\" aria-hidden=\"true\" class=\"animate-spin\"></svg>\n } @else if (nodeComponent.expanded()) {\n <svg lucideChevronDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideChevronRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node [node]=\"node\" [depth]=\"depth()\" #nodeComponent></mona-tree-node>\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"inside\") {\n <svg lucidePlus [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @default {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"], dependencies: [{ kind: "component", type: SubTreeComponent, selector: "mona-sub-tree", inputs: ["depth", "nodes", "parent"] }, { kind: "component", type: LucideArrowDown, selector: "svg[lucideArrowDown]" }, { kind: "component", type: LucideArrowUp, selector: "svg[lucideArrowUp]" }, { kind: "component", type: LucideBan, selector: "svg[lucideBan]" }, { kind: "component", type: LucideChevronDown, selector: "svg[lucideChevronDown]" }, { kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }, { kind: "component", type: LucideLoaderCircle, selector: "svg[lucideLoaderCircle], svg[lucideLoader2]" }, { kind: "component", type: LucidePlus, selector: "svg[lucidePlus]" }, { kind: "component", type: TreeNodeComponent, selector: "mona-tree-node", inputs: ["depth", "node"] }, { 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: "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: "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: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: CheckBoxComponent, selector: "mona-check-box", inputs: ["checked", "disabled", "indeterminate", "invalid", "label", "labelPosition", "labelSize", "required", "rounded", "tabIndex", "touched", "class"], outputs: ["checkedChange", "inputBlur", "inputChange", "inputFocus", "touch"] }, { kind: "pipe", type: TreeNodeElementIdPipe, name: "treeNodeElementId" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1714
1714
  }
1715
1715
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SubTreeComponent, decorators: [{
1716
1716
  type: Component,
1717
1717
  args: [{ selector: "mona-sub-tree", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
1718
+ LucideArrowDown,
1719
+ LucideArrowUp,
1720
+ LucideBan,
1721
+ LucideChevronDown,
1722
+ LucideChevronRight,
1723
+ LucideLoaderCircle,
1724
+ LucidePlus,
1718
1725
  TreeNodeComponent,
1719
1726
  FormsModule,
1720
1727
  CdkDropList,
@@ -1722,23 +1729,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
1722
1729
  CdkDragPreview,
1723
1730
  CheckBoxComponent,
1724
1731
  TreeNodeElementIdPipe
1725
- ], template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : null\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-selected]=\"treeService.selectableOptions().enabled ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"\n (nodeComponent.expanded() ? messages().collapse : messages().expand) + ' ' + nodeComponent.nodeText()\n \"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <i class=\"ri-loader-2-line\"></i>\n } @else if (nodeComponent.expanded()) {\n <i class=\"ri-arrow-down-s-fill\"></i>\n } @else {\n <i class=\"ri-arrow-right-s-fill rtl:rotate-180\"></i>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node [node]=\"node\" [depth]=\"depth()\" #nodeComponent></mona-tree-node>\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <i class=\"ri-arrow-up-line\"></i>\n } @else {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <i class=\"ri-arrow-down-line\"></i>\n } @else {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n @case (\"inside\") {\n <i class=\"ri-add-line\"></i>\n }\n @default {\n <i class=\"ri-prohibited-2-line\"></i>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"] }]
1732
+ ], template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : null\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-selected]=\"treeService.selectableOptions().enabled ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"\n (nodeComponent.expanded() ? messages().collapse : messages().expand) +\n ' ' +\n nodeComponent.nodeText()\n \"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <svg lucideLoaderCircle [size]=\"16\" aria-hidden=\"true\" class=\"animate-spin\"></svg>\n } @else if (nodeComponent.expanded()) {\n <svg lucideChevronDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideChevronRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node [node]=\"node\" [depth]=\"depth()\" #nodeComponent></mona-tree-node>\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"inside\") {\n <svg lucidePlus [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @default {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"] }]
1726
1733
  }], propDecorators: { depth: [{ type: i0.Input, args: [{ isSignal: true, alias: "depth", required: true }] }], nodes: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodes", required: true }] }], parent: [{ type: i0.Input, args: [{ isSignal: true, alias: "parent", required: true }] }] } });
1727
1734
 
1728
1735
  class TreeDropHintComponent {
1729
1736
  #direction;
1730
1737
  #dropPositionChange;
1731
1738
  #hostElementRef;
1732
- #i18n;
1733
1739
  constructor() {
1734
1740
  this.#direction = injectComponentDirection();
1735
1741
  this.#dropPositionChange = toSignal(inject(TreeService).dropPositionChange$, {
1736
1742
  initialValue: null
1737
1743
  });
1738
1744
  this.#hostElementRef = inject(ElementRef);
1739
- this.#i18n = inject(MonaI18nService);
1740
- this.isRtl = computed(() => this.#direction() === "rtl", /* @ts-ignore */
1741
- ...(ngDevMode ? [{ debugName: "isRtl" }] : /* istanbul ignore next */ []));
1742
1745
  this.baseClass = computed(() => {
1743
1746
  return treeDropHintBaseThemeVariants();
1744
1747
  }, /* @ts-ignore */
@@ -1780,11 +1783,11 @@ class TreeDropHintComponent {
1780
1783
  }, /* @ts-ignore */
1781
1784
  ...(ngDevMode ? [{ debugName: "dropHintStyles" }] : /* istanbul ignore next */ []));
1782
1785
  this.iconClass = computed(() => {
1783
- const icon = "ri-arrow-right-s-fill";
1784
- const variantClass = treeDropHintIconThemeVariants();
1785
- return twMerge(icon, variantClass);
1786
+ return treeDropHintIconThemeVariants();
1786
1787
  }, /* @ts-ignore */
1787
1788
  ...(ngDevMode ? [{ debugName: "iconClass" }] : /* istanbul ignore next */ []));
1789
+ this.isRtl = computed(() => this.#direction() === "rtl", /* @ts-ignore */
1790
+ ...(ngDevMode ? [{ debugName: "isRtl" }] : /* istanbul ignore next */ []));
1788
1791
  afterRenderEffect({
1789
1792
  write: () => {
1790
1793
  const styles = this.dropHintStyles();
@@ -1793,13 +1796,13 @@ class TreeDropHintComponent {
1793
1796
  });
1794
1797
  }
1795
1798
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TreeDropHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1796
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: TreeDropHintComponent, isStandalone: true, selector: "mona-tree-drop-hint", host: { properties: { "class": "baseClass()" } }, ngImport: i0, template: "<i [class]=\"iconClass()\"></i>\n" }); }
1799
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: TreeDropHintComponent, isStandalone: true, selector: "mona-tree-drop-hint", host: { properties: { "class": "baseClass()" } }, ngImport: i0, template: "<svg lucideChevronRight [size]=\"20\" [class]=\"iconClass()\" aria-hidden=\"true\"></svg>\n", dependencies: [{ kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }] }); }
1797
1800
  }
1798
1801
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: TreeDropHintComponent, decorators: [{
1799
1802
  type: Component,
1800
- args: [{ selector: "mona-tree-drop-hint", host: {
1803
+ args: [{ selector: "mona-tree-drop-hint", imports: [LucideChevronRight], host: {
1801
1804
  "[class]": "baseClass()"
1802
- }, template: "<i [class]=\"iconClass()\"></i>\n" }]
1805
+ }, template: "<svg lucideChevronRight [size]=\"20\" [class]=\"iconClass()\" aria-hidden=\"true\"></svg>\n" }]
1803
1806
  }], ctorParameters: () => [] });
1804
1807
 
1805
1808
  class TreeComponent {
@@ -246,6 +246,7 @@ const AR_SA_MESSAGES = {
246
246
  rowReorderDisabledEditing: "أكمل التحرير قبل إعادة ترتيب الصفوف.",
247
247
  rowReorderDisabledFiltered: "امسح التصفية قبل إعادة ترتيب الصفوف.",
248
248
  rowReorderDisabledGrouped: "ألغِ التجميع قبل إعادة ترتيب الصفوف.",
249
+ rowReorderDisabledServerBinding: "لا يمكن إعادة ترتيب الصفوف مع ربط الخادم.",
249
250
  rowReorderDisabledSingleRow: "يلزم صفّان على الأقل لإعادة ترتيب الصفوف.",
250
251
  rowReorderDisabledSorted: "ألغِ الفرز قبل إعادة ترتيب الصفوف.",
251
252
  rowReorderDisabledVirtualScroll: "لا يمكن إعادة ترتيب الصفوف أثناء استخدام التمرير الافتراضي.",
@@ -624,6 +625,7 @@ const ES_ES_MESSAGES = {
624
625
  rowReorderDisabledEditing: "Termina la edición para reordenar las filas.",
625
626
  rowReorderDisabledFiltered: "Limpia los filtros para reordenar las filas.",
626
627
  rowReorderDisabledGrouped: "Quita la agrupación para reordenar las filas.",
628
+ rowReorderDisabledServerBinding: "No se pueden reordenar filas con vinculación al servidor.",
627
629
  rowReorderDisabledSingleRow: "Se necesitan al menos dos filas para reordenarlas.",
628
630
  rowReorderDisabledSorted: "Quita la ordenación para reordenar las filas.",
629
631
  rowReorderDisabledVirtualScroll: "La reordenación de filas no está disponible mientras el desplazamiento virtual está activado.",
@@ -669,8 +671,8 @@ const ES_ES_MESSAGES = {
669
671
  },
670
672
  pager: {
671
673
  firstPageLabel: "Primera página",
672
- jumpBackwardLabel: (pages) => pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`,
673
- jumpForwardLabel: (pages) => pages === 1 ? "Avanzar 1 página" : `Avanzar ${pages} páginas`,
674
+ jumpBackwardLabel: (pages) => (pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`),
675
+ jumpForwardLabel: (pages) => (pages === 1 ? "Avanzar 1 página" : `Avanzar ${pages} páginas`),
674
676
  lastPageLabel: "Última página",
675
677
  nextPageLabel: "Página siguiente",
676
678
  ofText: "de",
@@ -891,7 +893,7 @@ const DE_DE_MESSAGES = {
891
893
  dropdowns: {
892
894
  itemPosition: (text, position, total) => `${text}, ${position} von ${total}`,
893
895
  noResultsFound: "Keine Ergebnisse gefunden",
894
- resultsAvailable: (count) => count === 1 ? "1 Ergebnis verfügbar" : `${count} Ergebnisse verfügbar`
896
+ resultsAvailable: (count) => (count === 1 ? "1 Ergebnis verfügbar" : `${count} Ergebnisse verfügbar`)
895
897
  },
896
898
  editor: {
897
899
  addColumnAfter: "Spalte danach einfügen",
@@ -978,7 +980,7 @@ const DE_DE_MESSAGES = {
978
980
  cancel: "Abbrechen",
979
981
  cancelRowEdit: "Zeilenbearbeitung abbrechen",
980
982
  columns: "Spalten",
981
- columnsSelected: (count) => count === 1 ? "1 Spalte ausgewählt" : `${count} Spalten ausgewählt`,
983
+ columnsSelected: (count) => (count === 1 ? "1 Spalte ausgewählt" : `${count} Spalten ausgewählt`),
982
984
  delete: "Löschen",
983
985
  deleteRowConfirmation: "Diese Zeile wirklich löschen?",
984
986
  deleteRowTitle: "Zeile löschen?",
@@ -1002,6 +1004,7 @@ const DE_DE_MESSAGES = {
1002
1004
  rowReorderDisabledEditing: "Bearbeitung abschließen, um Zeilen neu anzuordnen.",
1003
1005
  rowReorderDisabledFiltered: "Filter aufheben, um Zeilen neu anzuordnen.",
1004
1006
  rowReorderDisabledGrouped: "Gruppierung aufheben, um Zeilen neu anzuordnen.",
1007
+ rowReorderDisabledServerBinding: "Bei Serverbindung können Zeilen nicht neu angeordnet werden.",
1005
1008
  rowReorderDisabledSingleRow: "Zum Neuanordnen sind mindestens zwei Zeilen erforderlich.",
1006
1009
  rowReorderDisabledSorted: "Sortierung aufheben, um Zeilen neu anzuordnen.",
1007
1010
  rowReorderDisabledVirtualScroll: "Bei aktiviertem virtuellem Scrollen können Zeilen nicht neu angeordnet werden.",
@@ -1269,7 +1272,7 @@ const FR_FR_MESSAGES = {
1269
1272
  dropdowns: {
1270
1273
  itemPosition: (text, position, total) => `${text}, ${position} sur ${total}`,
1271
1274
  noResultsFound: "Aucun résultat trouvé",
1272
- resultsAvailable: (count) => count === 1 ? "1 résultat disponible" : `${count} résultats disponibles`
1275
+ resultsAvailable: (count) => (count === 1 ? "1 résultat disponible" : `${count} résultats disponibles`)
1273
1276
  },
1274
1277
  editor: {
1275
1278
  addColumnAfter: "Insérer une colonne après",
@@ -1380,6 +1383,7 @@ const FR_FR_MESSAGES = {
1380
1383
  rowReorderDisabledEditing: "Terminez la modification avant de réordonner les lignes.",
1381
1384
  rowReorderDisabledFiltered: "Supprimez les filtres avant de réordonner les lignes.",
1382
1385
  rowReorderDisabledGrouped: "Supprimez le regroupement avant de réordonner les lignes.",
1386
+ rowReorderDisabledServerBinding: "La réorganisation des lignes est indisponible avec la liaison serveur.",
1383
1387
  rowReorderDisabledSingleRow: "Au moins deux lignes sont nécessaires pour les réordonner.",
1384
1388
  rowReorderDisabledSorted: "Supprimez le tri avant de réordonner les lignes.",
1385
1389
  rowReorderDisabledVirtualScroll: "La réorganisation des lignes n’est pas disponible lorsque le défilement virtuel est activé.",
@@ -1425,8 +1429,8 @@ const FR_FR_MESSAGES = {
1425
1429
  },
1426
1430
  pager: {
1427
1431
  firstPageLabel: "Première page",
1428
- jumpBackwardLabel: (pages) => pages === 1 ? "Reculer de 1 page" : `Reculer de ${pages} pages`,
1429
- jumpForwardLabel: (pages) => pages === 1 ? "Avancer de 1 page" : `Avancer de ${pages} pages`,
1432
+ jumpBackwardLabel: (pages) => (pages === 1 ? "Reculer de 1 page" : `Reculer de ${pages} pages`),
1433
+ jumpForwardLabel: (pages) => (pages === 1 ? "Avancer de 1 page" : `Avancer de ${pages} pages`),
1430
1434
  lastPageLabel: "Dernière page",
1431
1435
  nextPageLabel: "Page suivante",
1432
1436
  ofText: "sur",
@@ -1734,7 +1738,7 @@ const IT_IT_MESSAGES = {
1734
1738
  cancel: "Annulla",
1735
1739
  cancelRowEdit: "Annulla modifica della riga",
1736
1740
  columns: "Colonne",
1737
- columnsSelected: (count) => count === 1 ? "1 colonna selezionata" : `${count} colonne selezionate`,
1741
+ columnsSelected: (count) => (count === 1 ? "1 colonna selezionata" : `${count} colonne selezionate`),
1738
1742
  delete: "Elimina",
1739
1743
  deleteRowConfirmation: "Sei sicuro di voler eliminare questo elemento?",
1740
1744
  deleteRowTitle: "Eliminare la riga?",
@@ -1758,6 +1762,7 @@ const IT_IT_MESSAGES = {
1758
1762
  rowReorderDisabledEditing: "Completa la modifica prima di riordinare le righe.",
1759
1763
  rowReorderDisabledFiltered: "Rimuovi i filtri prima di riordinare le righe.",
1760
1764
  rowReorderDisabledGrouped: "Rimuovi il raggruppamento prima di riordinare le righe.",
1765
+ rowReorderDisabledServerBinding: "Il riordino delle righe non è disponibile con il binding al server.",
1761
1766
  rowReorderDisabledSingleRow: "Sono necessarie almeno due righe per riordinarle.",
1762
1767
  rowReorderDisabledSorted: "Rimuovi l'ordinamento prima di riordinare le righe.",
1763
1768
  rowReorderDisabledVirtualScroll: "Il riordinamento delle righe non è disponibile con lo scorrimento virtuale attivo.",
@@ -1804,7 +1809,7 @@ const IT_IT_MESSAGES = {
1804
1809
  pager: {
1805
1810
  firstPageLabel: "Prima pagina",
1806
1811
  jumpBackwardLabel: (pages) => pages === 1 ? "Torna indietro di 1 pagina" : `Torna indietro di ${pages} pagine`,
1807
- jumpForwardLabel: (pages) => pages === 1 ? "Avanza di 1 pagina" : `Avanza di ${pages} pagine`,
1812
+ jumpForwardLabel: (pages) => (pages === 1 ? "Avanza di 1 pagina" : `Avanza di ${pages} pagine`),
1808
1813
  lastPageLabel: "Ultima pagina",
1809
1814
  nextPageLabel: "Pagina successiva",
1810
1815
  ofText: "di",
@@ -2136,6 +2141,7 @@ const JA_JP_MESSAGES = {
2136
2141
  rowReorderDisabledEditing: "行を並べ替える前に編集を完了してください。",
2137
2142
  rowReorderDisabledFiltered: "行を並べ替える前にフィルターを解除してください。",
2138
2143
  rowReorderDisabledGrouped: "行を並べ替える前にグループ化を解除してください。",
2144
+ rowReorderDisabledServerBinding: "サーバーバインディングでは行を並べ替えられません。",
2139
2145
  rowReorderDisabledSingleRow: "行を並べ替えるには2行以上必要です。",
2140
2146
  rowReorderDisabledSorted: "行を並べ替える前にソートを解除してください。",
2141
2147
  rowReorderDisabledVirtualScroll: "仮想スクロールが有効な場合、行の並べ替えは使用できません。",
@@ -2514,6 +2520,7 @@ const KO_KR_MESSAGES = {
2514
2520
  rowReorderDisabledEditing: "편집을 완료한 후 행 순서를 변경하세요.",
2515
2521
  rowReorderDisabledFiltered: "필터를 지운 후 행 순서를 변경하세요.",
2516
2522
  rowReorderDisabledGrouped: "그룹화를 해제한 후 행 순서를 변경하세요.",
2523
+ rowReorderDisabledServerBinding: "서버 바인딩에서는 행 순서를 변경할 수 없습니다.",
2517
2524
  rowReorderDisabledSingleRow: "행 순서를 변경하려면 행이 두 개 이상 필요합니다.",
2518
2525
  rowReorderDisabledSorted: "정렬을 해제한 후 행 순서를 변경하세요.",
2519
2526
  rowReorderDisabledVirtualScroll: "가상 스크롤을 사용하는 동안에는 행 순서를 변경할 수 없습니다.",
@@ -2868,7 +2875,7 @@ const PT_BR_MESSAGES = {
2868
2875
  cancel: "Cancelar",
2869
2876
  cancelRowEdit: "Cancelar edição da linha",
2870
2877
  columns: "Colunas",
2871
- columnsSelected: (count) => count === 1 ? "1 coluna selecionada" : `${count} colunas selecionadas`,
2878
+ columnsSelected: (count) => (count === 1 ? "1 coluna selecionada" : `${count} colunas selecionadas`),
2872
2879
  delete: "Excluir",
2873
2880
  deleteRowConfirmation: "Tem certeza de que deseja excluir este item?",
2874
2881
  deleteRowTitle: "Excluir linha?",
@@ -2892,6 +2899,7 @@ const PT_BR_MESSAGES = {
2892
2899
  rowReorderDisabledEditing: "Conclua a edição antes de reordenar as linhas.",
2893
2900
  rowReorderDisabledFiltered: "Remova os filtros antes de reordenar as linhas.",
2894
2901
  rowReorderDisabledGrouped: "Remova o agrupamento antes de reordenar as linhas.",
2902
+ rowReorderDisabledServerBinding: "A reordenação de linhas não está disponível com vinculação ao servidor.",
2895
2903
  rowReorderDisabledSingleRow: "São necessárias pelo menos duas linhas para reordenar.",
2896
2904
  rowReorderDisabledSorted: "Remova a ordenação antes de reordenar as linhas.",
2897
2905
  rowReorderDisabledVirtualScroll: "A reordenação de linhas não está disponível com a rolagem virtual ativada.",
@@ -2937,8 +2945,8 @@ const PT_BR_MESSAGES = {
2937
2945
  },
2938
2946
  pager: {
2939
2947
  firstPageLabel: "Primeira página",
2940
- jumpBackwardLabel: (pages) => pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`,
2941
- jumpForwardLabel: (pages) => pages === 1 ? "Avançar 1 página" : `Avançar ${pages} páginas`,
2948
+ jumpBackwardLabel: (pages) => (pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`),
2949
+ jumpForwardLabel: (pages) => (pages === 1 ? "Avançar 1 página" : `Avançar ${pages} páginas`),
2942
2950
  lastPageLabel: "Última página",
2943
2951
  nextPageLabel: "Próxima página",
2944
2952
  ofText: "de",
@@ -3270,6 +3278,7 @@ const ZH_CN_MESSAGES = {
3270
3278
  rowReorderDisabledEditing: "请完成编辑后再重新排列行。",
3271
3279
  rowReorderDisabledFiltered: "请清除筛选后再重新排列行。",
3272
3280
  rowReorderDisabledGrouped: "请清除分组后再重新排列行。",
3281
+ rowReorderDisabledServerBinding: "服务器绑定时无法重新排列行。",
3273
3282
  rowReorderDisabledSingleRow: "至少需要两行才能重新排列。",
3274
3283
  rowReorderDisabledSorted: "请清除排序后再重新排列行。",
3275
3284
  rowReorderDisabledVirtualScroll: "启用虚拟滚动时无法重新排列行。",
@@ -3648,6 +3657,7 @@ const ZH_TW_MESSAGES = {
3648
3657
  rowReorderDisabledEditing: "請完成編輯後再重新排列資料列。",
3649
3658
  rowReorderDisabledFiltered: "請清除篩選後再重新排列資料列。",
3650
3659
  rowReorderDisabledGrouped: "請清除群組後再重新排列資料列。",
3660
+ rowReorderDisabledServerBinding: "伺服器繫結時無法重新排列資料列。",
3651
3661
  rowReorderDisabledSingleRow: "至少需要兩個資料列才能重新排序。",
3652
3662
  rowReorderDisabledSorted: "請清除排序後再重新排列資料列。",
3653
3663
  rowReorderDisabledVirtualScroll: "啟用虛擬捲動時無法重新排列資料列。",
@@ -4026,6 +4036,7 @@ const TR_TR_MESSAGES = {
4026
4036
  rowReorderDisabledEditing: "Satırları yeniden sıralamadan önce düzenlemeyi tamamlayın.",
4027
4037
  rowReorderDisabledFiltered: "Satırları yeniden sıralamadan önce filtreleri kaldırın.",
4028
4038
  rowReorderDisabledGrouped: "Satırları yeniden sıralamadan önce gruplamayı kaldırın.",
4039
+ rowReorderDisabledServerBinding: "Sunucu bağlaması etkinken satırlar yeniden sıralanamaz.",
4029
4040
  rowReorderDisabledSingleRow: "Yeniden sıralamak için en az iki satır gerekir.",
4030
4041
  rowReorderDisabledSorted: "Satırları yeniden sıralamadan önce sıralamayı kaldırın.",
4031
4042
  rowReorderDisabledVirtualScroll: "Sanal kaydırma etkinken satırlar yeniden sıralanamaz.",
@@ -4404,6 +4415,7 @@ const ID_ID_MESSAGES = {
4404
4415
  rowReorderDisabledEditing: "Selesaikan pengeditan sebelum menyusun ulang baris.",
4405
4416
  rowReorderDisabledFiltered: "Hapus filter sebelum menyusun ulang baris.",
4406
4417
  rowReorderDisabledGrouped: "Hapus pengelompokan sebelum menyusun ulang baris.",
4418
+ rowReorderDisabledServerBinding: "Baris tidak dapat disusun ulang saat pengikatan server aktif.",
4407
4419
  rowReorderDisabledSingleRow: "Diperlukan setidaknya dua baris untuk menyusun ulang.",
4408
4420
  rowReorderDisabledSorted: "Hapus pengurutan sebelum menyusun ulang baris.",
4409
4421
  rowReorderDisabledVirtualScroll: "Baris tidak dapat disusun ulang saat pengguliran virtual aktif.",
@@ -4811,6 +4823,7 @@ const RU_RU_MESSAGES = {
4811
4823
  rowReorderDisabledEditing: "Завершите редактирование перед изменением порядка строк.",
4812
4824
  rowReorderDisabledFiltered: "Очистите фильтры перед изменением порядка строк.",
4813
4825
  rowReorderDisabledGrouped: "Отмените группировку перед изменением порядка строк.",
4826
+ rowReorderDisabledServerBinding: "Изменение порядка строк недоступно при привязке к серверу.",
4814
4827
  rowReorderDisabledSingleRow: "Для изменения порядка нужны как минимум две строки.",
4815
4828
  rowReorderDisabledSorted: "Сбросьте сортировку перед изменением порядка строк.",
4816
4829
  rowReorderDisabledVirtualScroll: "Нельзя изменять порядок строк при включённой виртуальной прокрутке.",
@@ -4896,7 +4909,7 @@ const RU_RU_MESSAGES = {
4896
4909
  },
4897
4910
  splitButton: {
4898
4911
  menuButtonAriaLabel: "Показать параметры меню",
4899
- splitButton: (text) => text ? `${text}, разделённая кнопка` : "Разделённая кнопка"
4912
+ splitButton: (text) => (text ? `${text}, разделённая кнопка` : "Разделённая кнопка")
4900
4913
  },
4901
4914
  splitter: {
4902
4915
  collapseDown: "Свернуть нижнюю панель",