@nanahoshi/mona-ui 0.32.1 → 0.32.3

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 (45) hide show
  1. package/docs/api/calendar.md +1 -1
  2. package/docs/api/i18n.md +3 -3
  3. package/docs/api/list-box.md +1 -1
  4. package/docs/api/tabs.md +1 -1
  5. package/docs/breadcrumb.md +6 -1
  6. package/docs/chart-line-area.md +6 -1
  7. package/docs/chart-treemap.md +1 -1
  8. package/docs/checkbox.md +1 -3
  9. package/docs/circular-progress-bar.md +26 -5
  10. package/docs/collapsible.md +28 -6
  11. package/docs/color-palette.md +24 -3
  12. package/docs/date-range-picker.md +1 -5
  13. package/docs/dropdown-button.md +6 -1
  14. package/docs/editor.md +8 -2
  15. package/docs/expansion-panel.md +6 -1
  16. package/docs/otp-input.md +12 -4
  17. package/docs/popup.md +2 -6
  18. package/docs/progress-bar.md +12 -3
  19. package/docs/scroll-view.md +6 -3
  20. package/docs/sheet.md +6 -2
  21. package/docs/sidebar.md +5 -1
  22. package/docs/skeleton.md +9 -2
  23. package/docs/stepper.md +3 -1
  24. package/docs/textarea.md +7 -1
  25. package/docs/textbox.md +7 -1
  26. package/docs/window.md +1 -1
  27. package/fesm2022/nanahoshi-mona-ui-card.mjs +2 -2
  28. package/fesm2022/nanahoshi-mona-ui-chart.mjs +2 -2
  29. package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +2 -2
  30. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +6 -3
  31. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +8 -3
  32. package/fesm2022/nanahoshi-mona-ui-editor.mjs +8 -8
  33. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs → nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs} +2 -2
  34. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs → nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs} +3 -3
  35. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs} +2 -2
  36. package/fesm2022/nanahoshi-mona-ui-grid.mjs +8 -8
  37. package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -2
  38. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +2 -2
  39. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +4 -4
  40. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +2 -2
  41. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +2 -2
  42. package/fesm2022/nanahoshi-mona-ui-window.mjs +15 -67
  43. package/package.json +1 -1
  44. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -0
  45. package/types/nanahoshi-mona-ui-i18n.d.ts +13 -13
@@ -52382,7 +52382,7 @@ var ChartTooltipComponent = class ChartTooltipComponent {
52382
52382
  isSignal: true
52383
52383
  }],
52384
52384
  ngImport: i0,
52385
- template: "@if (enabled() && tooltipContext(); as context) {\n <div\n #tooltipContainer\n [class]=\"tooltipClasses()\"\n [style.left.px]=\"placement().left\"\n [style.top.px]=\"placement().top\"\n [attr.data-placement]=\"placement().placement\">\n @if (customTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"context\" />\n } @else if (context.point.seriesType === \"heatmap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span\n >,\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedYCategory || context.point.categoryY\n }}</span>\n </div>\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n </div>\n } @else if (context.point.seriesType === \"pie\" || context.point.seriesType === \"donut\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex items-center gap-2 text-xs text-muted-foreground\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedPercentage) {\n <span>·</span>\n <span>{{ context.point.formattedPercentage }}</span>\n }\n </div>\n } @else if (context.point.seriesType === \"gauge\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n @if (context.point.formattedRadialMin && context.point.formattedRadialMax) {\n <div>\n {{ messages().range }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ messages().valueRange(context.point.formattedRadialMin, context.point.formattedRadialMax) }}</span\n >\n </div>\n }\n @if (context.point.isClamped) {\n <div class=\"w-fit rounded bg-warning-subtle px-1 text-[11px] font-medium text-warning-subtle-foreground\">\n {{ messages().visualIndicatorClamped }}\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"treemap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.hierarchy?.formattedLabel || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.hierarchy?.formattedPath && context.point.hierarchy!.formattedPath.length > 1) {\n <div class=\"text-[11px] truncate max-w-[220px]\">\n {{ context.point.hierarchy!.formattedPath.join(messages().pathSeparator) }}\n </div>\n }\n <div class=\"flex items-center gap-2\">\n <span\n >{{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span></span\n >\n @if (\n context.point.hierarchy?.percentageOfRoot !== undefined &&\n context.point.hierarchy!.percentageOfRoot > 0\n ) {\n <span>·</span>\n <span>{{ formatPercent(context.point.hierarchy!.percentageOfRoot) }}</span>\n }\n </div>\n </div>\n } @else if (context.point.seriesType === \"funnel\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel?.formattedValue || context.point.formattedY\n }}</span>\n </div>\n @if (context.point.funnel?.formattedConversionRate) {\n <div>\n {{ messages().conversion }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.formattedOverallConversionRate) {\n <div>\n {{ messages().overall }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedOverallConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.dropOff !== undefined && context.point.funnel!.dropOff > 0) {\n <div>\n {{ messages().dropOff }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ formatValue(context.point.funnel!.dropOff) }}</span>\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"waterfall\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.waterfall?.kind === \"change\") {\n <div>\n {{ messages().change }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall?.formattedDelta || context.point.formattedY\n }}</span>\n </div>\n @if (\n context.point.waterfall?.formattedCumulativeBefore &&\n context.point.waterfall?.formattedCumulativeAfter\n ) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ context.point.waterfall!.formattedCumulativeBefore }} {{ changeArrow() }}\n {{ context.point.waterfall!.formattedCumulativeAfter }}</span\n >\n </div>\n } @else if (context.point.waterfall?.formattedCumulativeAfter) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall!.formattedCumulativeAfter\n }}</span>\n </div>\n }\n } @else {\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n }\n </div>\n } @else if (context.shared) {\n <div class=\"mb-1 font-semibold text-foreground\">{{ context.point.formattedX }}</div>\n <div class=\"flex flex-col gap-1.5\">\n @for (pt of context.points; track pt.markId) {\n @if (pt.valueKind === \"ohlc\" || pt.seriesType === \"candlestick\" || pt.seriesType === \"ohlc\") {\n <div class=\"flex flex-col gap-0.5\">\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-xs text-muted-foreground font-medium\">{{ pt.seriesName }}</span>\n </div>\n @if (pt.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.2 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-[11px] text-muted-foreground ps-3.5 flex items-center gap-1 flex-wrap\">\n <span\n >{{ messages().openAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedOpen || pt.open\n }}</span></span\n >\n <span\n >{{ messages().highAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedHigh || pt.high\n }}</span></span\n >\n <span\n >{{ messages().lowAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedLow || pt.low\n }}</span></span\n >\n <span\n >{{ messages().closeAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedClose || pt.close\n }}</span></span\n >\n @if (pt.formattedChange) {\n <span class=\"font-medium text-foreground\">({{ pt.formattedChange }})</span>\n }\n </div>\n </div>\n } @else if (pt.valueKind === \"range\") {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\"\n >{{ messages().valueRange(pt.formattedFrom ?? \"\", pt.formattedTo ?? \"\") }}</span\n >\n </div>\n </div>\n } @else {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{ pt.formattedY }}</span>\n @if (pt.formattedStackPercentage) {\n <span class=\"text-xs text-muted-foreground\"\n >({{ pt.formattedStackPercentage }})</span\n >\n }\n @if (pt.formattedSize) {\n <span class=\"text-xs text-muted-foreground\">({{ pt.formattedSize }})</span>\n }\n </div>\n </div>\n }\n }\n </div>\n } @else if (\n context.point.seriesType === \"candlestick\" ||\n context.point.seriesType === \"ohlc\" ||\n context.point.valueKind === \"ohlc\"\n ) {\n <div class=\"flex items-center justify-between gap-2 mb-1\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n @if (context.point.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.5 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-xs text-muted-foreground mb-1.5\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>\n </div>\n <div class=\"grid grid-cols-2 gap-x-3 gap-y-0.5 text-xs\">\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().open }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedOpen || context.point.open\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().high }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedHigh || context.point.high\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().low }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedLow || context.point.low\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().close }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedClose || context.point.close\n }}</span>\n </div>\n </div>\n @if (context.point.formattedChange || context.point.change !== undefined) {\n <div class=\"mt-1 pt-1 border-t border-border/50 flex items-center justify-between text-xs\">\n <span class=\"text-muted-foreground\">{{ messages().change }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">\n {{ context.point.formattedChange || context.point.change }}\n @if (context.point.formattedChangePercentage) {\n <span>({{ context.point.formattedChangePercentage }})</span>\n }\n </span>\n </div>\n }\n } @else {\n <div class=\"flex items-center gap-1.5 mb-0.5\">\n <span class=\"inline-block h-2 w-2 rounded-full\" [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"text-muted-foreground\">\n {{ context.point.formattedX }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedStackPercentage) {\n <span>·</span>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedStackPercentage }}</span>\n }\n @if (context.point.formattedSize) {\n <span class=\"ms-1.5\"\n >({{ messages().size }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedSize }}</span>)</span>\n }\n </div>\n }\n </div>\n}\n",
52385
+ template: "@if (enabled() && tooltipContext(); as context) {\n <div\n #tooltipContainer\n [class]=\"tooltipClasses()\"\n [style.left.px]=\"placement().left\"\n [style.top.px]=\"placement().top\"\n [attr.data-placement]=\"placement().placement\">\n @if (customTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"context\" />\n } @else if (context.point.seriesType === \"heatmap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>,\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedYCategory || context.point.categoryY\n }}</span>\n </div>\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n </div>\n } @else if (context.point.seriesType === \"pie\" || context.point.seriesType === \"donut\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex items-center gap-2 text-xs text-muted-foreground\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedPercentage) {\n <span>·</span>\n <span>{{ context.point.formattedPercentage }}</span>\n }\n </div>\n } @else if (context.point.seriesType === \"gauge\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n @if (context.point.formattedRadialMin && context.point.formattedRadialMax) {\n <div>\n {{ messages().range }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n messages().valueRange(context.point.formattedRadialMin, context.point.formattedRadialMax)\n }}</span>\n </div>\n }\n @if (context.point.isClamped) {\n <div\n class=\"w-fit rounded bg-warning-subtle px-1 text-[11px] font-medium text-warning-subtle-foreground\">\n {{ messages().visualIndicatorClamped }}\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"treemap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.hierarchy?.formattedLabel || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.hierarchy?.formattedPath && context.point.hierarchy!.formattedPath.length > 1) {\n <div class=\"text-[11px] truncate max-w-[220px]\">\n {{ context.point.hierarchy!.formattedPath.join(messages().pathSeparator) }}\n </div>\n }\n <div class=\"flex items-center gap-2\">\n <span\n >{{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span></span\n >\n @if (\n context.point.hierarchy?.percentageOfRoot !== undefined &&\n context.point.hierarchy!.percentageOfRoot > 0\n ) {\n <span>·</span>\n <span>{{ formatPercent(context.point.hierarchy!.percentageOfRoot) }}</span>\n }\n </div>\n </div>\n } @else if (context.point.seriesType === \"funnel\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel?.formattedValue || context.point.formattedY\n }}</span>\n </div>\n @if (context.point.funnel?.formattedConversionRate) {\n <div>\n {{ messages().conversion }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.formattedOverallConversionRate) {\n <div>\n {{ messages().overall }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedOverallConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.dropOff !== undefined && context.point.funnel!.dropOff > 0) {\n <div>\n {{ messages().dropOff }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n formatValue(context.point.funnel!.dropOff)\n }}</span>\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"waterfall\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.waterfall?.kind === \"change\") {\n <div>\n {{ messages().change }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall?.formattedDelta || context.point.formattedY\n }}</span>\n </div>\n @if (\n context.point.waterfall?.formattedCumulativeBefore &&\n context.point.waterfall?.formattedCumulativeAfter\n ) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ context.point.waterfall!.formattedCumulativeBefore }} {{ changeArrow() }}\n {{ context.point.waterfall!.formattedCumulativeAfter }}</span\n >\n </div>\n } @else if (context.point.waterfall?.formattedCumulativeAfter) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall!.formattedCumulativeAfter\n }}</span>\n </div>\n }\n } @else {\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n }\n </div>\n } @else if (context.shared) {\n <div class=\"mb-1 font-semibold text-foreground\">{{ context.point.formattedX }}</div>\n <div class=\"flex flex-col gap-1.5\">\n @for (pt of context.points; track pt.markId) {\n @if (pt.valueKind === \"ohlc\" || pt.seriesType === \"candlestick\" || pt.seriesType === \"ohlc\") {\n <div class=\"flex flex-col gap-0.5\">\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-xs text-muted-foreground font-medium\">{{ pt.seriesName }}</span>\n </div>\n @if (pt.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.2 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-[11px] text-muted-foreground ps-3.5 flex items-center gap-1 flex-wrap\">\n <span\n >{{ messages().openAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedOpen || pt.open\n }}</span></span\n >\n <span\n >{{ messages().highAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedHigh || pt.high\n }}</span></span\n >\n <span\n >{{ messages().lowAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedLow || pt.low\n }}</span></span\n >\n <span\n >{{ messages().closeAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedClose || pt.close\n }}</span></span\n >\n @if (pt.formattedChange) {\n <span class=\"font-medium text-foreground\">({{ pt.formattedChange }})</span>\n }\n </div>\n </div>\n } @else if (pt.valueKind === \"range\") {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{\n messages().valueRange(pt.formattedFrom ?? \"\", pt.formattedTo ?? \"\")\n }}</span>\n </div>\n </div>\n } @else {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{ pt.formattedY }}</span>\n @if (pt.formattedStackPercentage) {\n <span class=\"text-xs text-muted-foreground\"\n >({{ pt.formattedStackPercentage }})</span\n >\n }\n @if (pt.formattedSize) {\n <span class=\"text-xs text-muted-foreground\">({{ pt.formattedSize }})</span>\n }\n </div>\n </div>\n }\n }\n </div>\n } @else if (\n context.point.seriesType === \"candlestick\" ||\n context.point.seriesType === \"ohlc\" ||\n context.point.valueKind === \"ohlc\"\n ) {\n <div class=\"flex items-center justify-between gap-2 mb-1\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n @if (context.point.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.5 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-xs text-muted-foreground mb-1.5\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>\n </div>\n <div class=\"grid grid-cols-2 gap-x-3 gap-y-0.5 text-xs\">\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().open }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedOpen || context.point.open\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().high }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedHigh || context.point.high\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().low }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedLow || context.point.low\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\"\n >{{ messages().close }}{{ messages().labelValueSeparator }}</span\n >\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedClose || context.point.close\n }}</span>\n </div>\n </div>\n @if (context.point.formattedChange || context.point.change !== undefined) {\n <div class=\"mt-1 pt-1 border-t border-border/50 flex items-center justify-between text-xs\">\n <span class=\"text-muted-foreground\"\n >{{ messages().change }}{{ messages().labelValueSeparator }}</span\n >\n <span class=\"font-medium text-foreground\">\n {{ context.point.formattedChange || context.point.change }}\n @if (context.point.formattedChangePercentage) {\n <span>({{ context.point.formattedChangePercentage }})</span>\n }\n </span>\n </div>\n }\n } @else {\n <div class=\"flex items-center gap-1.5 mb-0.5\">\n <span class=\"inline-block h-2 w-2 rounded-full\" [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"text-muted-foreground\">\n {{ context.point.formattedX }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedStackPercentage) {\n <span>·</span>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedStackPercentage }}</span>\n }\n @if (context.point.formattedSize) {\n <span class=\"ms-1.5\"\n >({{ messages().size }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedSize }}</span>)</span\n >\n }\n </div>\n }\n </div>\n}\n",
52386
52386
  dependencies: [{
52387
52387
  kind: "directive",
52388
52388
  type: NgTemplateOutlet,
@@ -52407,7 +52407,7 @@ i0.ɵɵngDeclareClassMetadata({
52407
52407
  selector: "mona-chart-tooltip",
52408
52408
  imports: [NgTemplateOutlet],
52409
52409
  host: { class: "contents" },
52410
- template: "@if (enabled() && tooltipContext(); as context) {\n <div\n #tooltipContainer\n [class]=\"tooltipClasses()\"\n [style.left.px]=\"placement().left\"\n [style.top.px]=\"placement().top\"\n [attr.data-placement]=\"placement().placement\">\n @if (customTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"context\" />\n } @else if (context.point.seriesType === \"heatmap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span\n >,\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedYCategory || context.point.categoryY\n }}</span>\n </div>\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n </div>\n } @else if (context.point.seriesType === \"pie\" || context.point.seriesType === \"donut\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex items-center gap-2 text-xs text-muted-foreground\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedPercentage) {\n <span>·</span>\n <span>{{ context.point.formattedPercentage }}</span>\n }\n </div>\n } @else if (context.point.seriesType === \"gauge\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n @if (context.point.formattedRadialMin && context.point.formattedRadialMax) {\n <div>\n {{ messages().range }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ messages().valueRange(context.point.formattedRadialMin, context.point.formattedRadialMax) }}</span\n >\n </div>\n }\n @if (context.point.isClamped) {\n <div class=\"w-fit rounded bg-warning-subtle px-1 text-[11px] font-medium text-warning-subtle-foreground\">\n {{ messages().visualIndicatorClamped }}\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"treemap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.hierarchy?.formattedLabel || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.hierarchy?.formattedPath && context.point.hierarchy!.formattedPath.length > 1) {\n <div class=\"text-[11px] truncate max-w-[220px]\">\n {{ context.point.hierarchy!.formattedPath.join(messages().pathSeparator) }}\n </div>\n }\n <div class=\"flex items-center gap-2\">\n <span\n >{{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span></span\n >\n @if (\n context.point.hierarchy?.percentageOfRoot !== undefined &&\n context.point.hierarchy!.percentageOfRoot > 0\n ) {\n <span>·</span>\n <span>{{ formatPercent(context.point.hierarchy!.percentageOfRoot) }}</span>\n }\n </div>\n </div>\n } @else if (context.point.seriesType === \"funnel\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel?.formattedValue || context.point.formattedY\n }}</span>\n </div>\n @if (context.point.funnel?.formattedConversionRate) {\n <div>\n {{ messages().conversion }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.formattedOverallConversionRate) {\n <div>\n {{ messages().overall }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedOverallConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.dropOff !== undefined && context.point.funnel!.dropOff > 0) {\n <div>\n {{ messages().dropOff }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ formatValue(context.point.funnel!.dropOff) }}</span>\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"waterfall\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.waterfall?.kind === \"change\") {\n <div>\n {{ messages().change }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall?.formattedDelta || context.point.formattedY\n }}</span>\n </div>\n @if (\n context.point.waterfall?.formattedCumulativeBefore &&\n context.point.waterfall?.formattedCumulativeAfter\n ) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ context.point.waterfall!.formattedCumulativeBefore }} {{ changeArrow() }}\n {{ context.point.waterfall!.formattedCumulativeAfter }}</span\n >\n </div>\n } @else if (context.point.waterfall?.formattedCumulativeAfter) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall!.formattedCumulativeAfter\n }}</span>\n </div>\n }\n } @else {\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n }\n </div>\n } @else if (context.shared) {\n <div class=\"mb-1 font-semibold text-foreground\">{{ context.point.formattedX }}</div>\n <div class=\"flex flex-col gap-1.5\">\n @for (pt of context.points; track pt.markId) {\n @if (pt.valueKind === \"ohlc\" || pt.seriesType === \"candlestick\" || pt.seriesType === \"ohlc\") {\n <div class=\"flex flex-col gap-0.5\">\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-xs text-muted-foreground font-medium\">{{ pt.seriesName }}</span>\n </div>\n @if (pt.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.2 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-[11px] text-muted-foreground ps-3.5 flex items-center gap-1 flex-wrap\">\n <span\n >{{ messages().openAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedOpen || pt.open\n }}</span></span\n >\n <span\n >{{ messages().highAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedHigh || pt.high\n }}</span></span\n >\n <span\n >{{ messages().lowAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedLow || pt.low\n }}</span></span\n >\n <span\n >{{ messages().closeAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedClose || pt.close\n }}</span></span\n >\n @if (pt.formattedChange) {\n <span class=\"font-medium text-foreground\">({{ pt.formattedChange }})</span>\n }\n </div>\n </div>\n } @else if (pt.valueKind === \"range\") {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\"\n >{{ messages().valueRange(pt.formattedFrom ?? \"\", pt.formattedTo ?? \"\") }}</span\n >\n </div>\n </div>\n } @else {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{ pt.formattedY }}</span>\n @if (pt.formattedStackPercentage) {\n <span class=\"text-xs text-muted-foreground\"\n >({{ pt.formattedStackPercentage }})</span\n >\n }\n @if (pt.formattedSize) {\n <span class=\"text-xs text-muted-foreground\">({{ pt.formattedSize }})</span>\n }\n </div>\n </div>\n }\n }\n </div>\n } @else if (\n context.point.seriesType === \"candlestick\" ||\n context.point.seriesType === \"ohlc\" ||\n context.point.valueKind === \"ohlc\"\n ) {\n <div class=\"flex items-center justify-between gap-2 mb-1\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n @if (context.point.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.5 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-xs text-muted-foreground mb-1.5\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>\n </div>\n <div class=\"grid grid-cols-2 gap-x-3 gap-y-0.5 text-xs\">\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().open }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedOpen || context.point.open\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().high }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedHigh || context.point.high\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().low }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedLow || context.point.low\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().close }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedClose || context.point.close\n }}</span>\n </div>\n </div>\n @if (context.point.formattedChange || context.point.change !== undefined) {\n <div class=\"mt-1 pt-1 border-t border-border/50 flex items-center justify-between text-xs\">\n <span class=\"text-muted-foreground\">{{ messages().change }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">\n {{ context.point.formattedChange || context.point.change }}\n @if (context.point.formattedChangePercentage) {\n <span>({{ context.point.formattedChangePercentage }})</span>\n }\n </span>\n </div>\n }\n } @else {\n <div class=\"flex items-center gap-1.5 mb-0.5\">\n <span class=\"inline-block h-2 w-2 rounded-full\" [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"text-muted-foreground\">\n {{ context.point.formattedX }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedStackPercentage) {\n <span>·</span>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedStackPercentage }}</span>\n }\n @if (context.point.formattedSize) {\n <span class=\"ms-1.5\"\n >({{ messages().size }}{{ messages().labelValueSeparator }} <span class=\"font-medium text-foreground\">{{ context.point.formattedSize }}</span>)</span>\n }\n </div>\n }\n </div>\n}\n"
52410
+ template: "@if (enabled() && tooltipContext(); as context) {\n <div\n #tooltipContainer\n [class]=\"tooltipClasses()\"\n [style.left.px]=\"placement().left\"\n [style.top.px]=\"placement().top\"\n [attr.data-placement]=\"placement().placement\">\n @if (customTemplate(); as template) {\n <ng-container [ngTemplateOutlet]=\"template.templateRef\" [ngTemplateOutletContext]=\"context\" />\n } @else if (context.point.seriesType === \"heatmap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>,\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedYCategory || context.point.categoryY\n }}</span>\n </div>\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n </div>\n } @else if (context.point.seriesType === \"pie\" || context.point.seriesType === \"donut\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex items-center gap-2 text-xs text-muted-foreground\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedPercentage) {\n <span>·</span>\n <span>{{ context.point.formattedPercentage }}</span>\n }\n </div>\n } @else if (context.point.seriesType === \"gauge\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n @if (context.point.formattedRadialMin && context.point.formattedRadialMax) {\n <div>\n {{ messages().range }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n messages().valueRange(context.point.formattedRadialMin, context.point.formattedRadialMax)\n }}</span>\n </div>\n }\n @if (context.point.isClamped) {\n <div\n class=\"w-fit rounded bg-warning-subtle px-1 text-[11px] font-medium text-warning-subtle-foreground\">\n {{ messages().visualIndicatorClamped }}\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"treemap\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.hierarchy?.formattedLabel || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.hierarchy?.formattedPath && context.point.hierarchy!.formattedPath.length > 1) {\n <div class=\"text-[11px] truncate max-w-[220px]\">\n {{ context.point.hierarchy!.formattedPath.join(messages().pathSeparator) }}\n </div>\n }\n <div class=\"flex items-center gap-2\">\n <span\n >{{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span></span\n >\n @if (\n context.point.hierarchy?.percentageOfRoot !== undefined &&\n context.point.hierarchy!.percentageOfRoot > 0\n ) {\n <span>·</span>\n <span>{{ formatPercent(context.point.hierarchy!.percentageOfRoot) }}</span>\n }\n </div>\n </div>\n } @else if (context.point.seriesType === \"funnel\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel?.formattedValue || context.point.formattedY\n }}</span>\n </div>\n @if (context.point.funnel?.formattedConversionRate) {\n <div>\n {{ messages().conversion }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.formattedOverallConversionRate) {\n <div>\n {{ messages().overall }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.funnel!.formattedOverallConversionRate\n }}</span>\n </div>\n }\n @if (context.point.funnel?.dropOff !== undefined && context.point.funnel!.dropOff > 0) {\n <div>\n {{ messages().dropOff }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n formatValue(context.point.funnel!.dropOff)\n }}</span>\n </div>\n }\n </div>\n } @else if (context.point.seriesType === \"waterfall\") {\n <div class=\"flex items-center gap-1.5 mb-1\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{\n context.point.formattedCategory || context.point.formattedX || context.point.seriesName\n }}</span>\n </div>\n <div class=\"flex flex-col gap-0.5 text-xs text-muted-foreground\">\n @if (context.point.waterfall?.kind === \"change\") {\n <div>\n {{ messages().change }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall?.formattedDelta || context.point.formattedY\n }}</span>\n </div>\n @if (\n context.point.waterfall?.formattedCumulativeBefore &&\n context.point.waterfall?.formattedCumulativeAfter\n ) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\"\n >{{ context.point.waterfall!.formattedCumulativeBefore }} {{ changeArrow() }}\n {{ context.point.waterfall!.formattedCumulativeAfter }}</span\n >\n </div>\n } @else if (context.point.waterfall?.formattedCumulativeAfter) {\n <div>\n {{ messages().runningTotal }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n context.point.waterfall!.formattedCumulativeAfter\n }}</span>\n </div>\n }\n } @else {\n <div>\n {{ messages().value }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n </div>\n }\n </div>\n } @else if (context.shared) {\n <div class=\"mb-1 font-semibold text-foreground\">{{ context.point.formattedX }}</div>\n <div class=\"flex flex-col gap-1.5\">\n @for (pt of context.points; track pt.markId) {\n @if (pt.valueKind === \"ohlc\" || pt.seriesType === \"candlestick\" || pt.seriesType === \"ohlc\") {\n <div class=\"flex flex-col gap-0.5\">\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-xs text-muted-foreground font-medium\">{{ pt.seriesName }}</span>\n </div>\n @if (pt.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.2 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-[11px] text-muted-foreground ps-3.5 flex items-center gap-1 flex-wrap\">\n <span\n >{{ messages().openAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedOpen || pt.open\n }}</span></span\n >\n <span\n >{{ messages().highAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedHigh || pt.high\n }}</span></span\n >\n <span\n >{{ messages().lowAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedLow || pt.low\n }}</span></span\n >\n <span\n >{{ messages().closeAbbreviation }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{\n pt.formattedClose || pt.close\n }}</span></span\n >\n @if (pt.formattedChange) {\n <span class=\"font-medium text-foreground\">({{ pt.formattedChange }})</span>\n }\n </div>\n </div>\n } @else if (pt.valueKind === \"range\") {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{\n messages().valueRange(pt.formattedFrom ?? \"\", pt.formattedTo ?? \"\")\n }}</span>\n </div>\n </div>\n } @else {\n <div class=\"flex items-center justify-between gap-3\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"pt.color\"></span>\n <span class=\"text-muted-foreground\">{{ pt.seriesName }}</span>\n </div>\n <div class=\"flex items-center gap-1\">\n <span class=\"font-medium text-foreground\">{{ pt.formattedY }}</span>\n @if (pt.formattedStackPercentage) {\n <span class=\"text-xs text-muted-foreground\"\n >({{ pt.formattedStackPercentage }})</span\n >\n }\n @if (pt.formattedSize) {\n <span class=\"text-xs text-muted-foreground\">({{ pt.formattedSize }})</span>\n }\n </div>\n </div>\n }\n }\n </div>\n } @else if (\n context.point.seriesType === \"candlestick\" ||\n context.point.seriesType === \"ohlc\" ||\n context.point.valueKind === \"ohlc\"\n ) {\n <div class=\"flex items-center justify-between gap-2 mb-1\">\n <div class=\"flex items-center gap-1.5\">\n <span\n class=\"inline-block h-2 w-2 rounded-full flex-shrink-0\"\n [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n @if (context.point.financialDirection; as dir) {\n <span\n class=\"text-[10px] font-medium px-1 py-0.5 rounded text-foreground\"\n [style.background-color]=\"\n dir === 'rising'\n ? 'rgba(34, 197, 94, 0.15)'\n : dir === 'falling'\n ? 'rgba(239, 68, 68, 0.15)'\n : 'rgba(107, 114, 128, 0.15)'\n \">\n {{ financialDirectionLabel(dir) }}\n </span>\n }\n </div>\n <div class=\"text-xs text-muted-foreground mb-1.5\">\n <span class=\"font-medium text-foreground\">{{ context.point.formattedX }}</span>\n </div>\n <div class=\"grid grid-cols-2 gap-x-3 gap-y-0.5 text-xs\">\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().open }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedOpen || context.point.open\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().high }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedHigh || context.point.high\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\">{{ messages().low }}{{ messages().labelValueSeparator }}</span>\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedLow || context.point.low\n }}</span>\n </div>\n <div class=\"flex items-center justify-between gap-1.5\">\n <span class=\"text-muted-foreground\"\n >{{ messages().close }}{{ messages().labelValueSeparator }}</span\n >\n <span class=\"font-medium text-foreground\">{{\n context.point.formattedClose || context.point.close\n }}</span>\n </div>\n </div>\n @if (context.point.formattedChange || context.point.change !== undefined) {\n <div class=\"mt-1 pt-1 border-t border-border/50 flex items-center justify-between text-xs\">\n <span class=\"text-muted-foreground\"\n >{{ messages().change }}{{ messages().labelValueSeparator }}</span\n >\n <span class=\"font-medium text-foreground\">\n {{ context.point.formattedChange || context.point.change }}\n @if (context.point.formattedChangePercentage) {\n <span>({{ context.point.formattedChangePercentage }})</span>\n }\n </span>\n </div>\n }\n } @else {\n <div class=\"flex items-center gap-1.5 mb-0.5\">\n <span class=\"inline-block h-2 w-2 rounded-full\" [style.background-color]=\"context.point.color\"></span>\n <span class=\"font-semibold text-foreground\">{{ context.point.seriesName }}</span>\n </div>\n <div class=\"text-muted-foreground\">\n {{ context.point.formattedX }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedY }}</span>\n @if (context.point.formattedStackPercentage) {\n <span>·</span>\n <span class=\"font-medium text-foreground\">{{ context.point.formattedStackPercentage }}</span>\n }\n @if (context.point.formattedSize) {\n <span class=\"ms-1.5\"\n >({{ messages().size }}{{ messages().labelValueSeparator }}\n <span class=\"font-medium text-foreground\">{{ context.point.formattedSize }}</span>)</span\n >\n }\n </div>\n }\n </div>\n}\n"
52411
52411
  }]
52412
52412
  }],
52413
52413
  ctorParameters: () => [],
@@ -893,7 +893,7 @@ var DateRangePickerComponent = class DateRangePickerComponent {
893
893
  }],
894
894
  hostDirectives: [{ directive: i1.DropdownPopupHandlerDirective }],
895
895
  ngImport: i0,
896
- template: "<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of startSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('start')\"\n (inputFocus)=\"onInputFocus('start')\"\n (valueChange)=\"typedInput.edit('start', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().start\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"startInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"startInvalid()\"\n [placeholder]=\"startPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"startInvalid() || touched()\"\n [value]=\"typedInput.text.start()\" />\n</span>\n<span aria-hidden=\"true\" [class]=\"separatorClass\">–</span>\n<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of endSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('end')\"\n (inputFocus)=\"onInputFocus('end')\"\n (valueChange)=\"typedInput.edit('end', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().end\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"endInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"endInvalid()\"\n [placeholder]=\"endPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"endInvalid() || touched()\"\n [value]=\"typedInput.text.end()\" />\n</span>\n<button\n monaButton\n look=\"ghost\"\n [class]=\"buttonClass()\"\n [attr.aria-controls]=\"popupId\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-label]=\"messages().openCalendar\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [iconOnly]=\"true\"\n [rounded]=\"'none'\"\n [size]=\"size()\"\n [tabindex]=\"-1\"\n (click)=\"onCalendarButtonClick()\">\n <svg lucideCalendar [size]=\"16\" aria-hidden=\"true\"></svg>\n</button>\n\n<ng-template #popupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().dateRangePicker\"\n cdkTrapFocus>\n @if (presetItems().length > 0) {\n <div role=\"group\" [attr.aria-label]=\"messages().presets\" [class]=\"presetListClass\" (keydown)=\"onPresetKeydown($event)\">\n @for (item of presetItems(); track $index) {\n <button\n monaButton\n look=\"ghost\"\n type=\"button\"\n [class]=\"presetClass()\"\n [disabled]=\"item.disabled\"\n [rounded]=\"rounded()\"\n [selected]=\"item.selected\"\n size=\"small\"\n [toggleable]=\"true\"\n (click)=\"onPresetClick(item)\">\n {{ item.label }}\n </button>\n }\n </div>\n }\n <mona-calendar\n focusOnMount\n selection=\"range\"\n [disabledDates]=\"disabledDates()\"\n [firstDay]=\"firstDay()\"\n [maxDate]=\"maxDate()\"\n [minDate]=\"minDate()\"\n [months]=\"months()\"\n [readonly]=\"readonly()\"\n [rounded]=\"rounded()\"\n [value]=\"calendarValue()\"\n [weekNumber]=\"weekNumber()\"\n (valueChange)=\"onCalendarValueChange($event)\">\n @if (decadeCellTemplate()) {\n <ng-template monaCalendarDecadeCellTemplate let-year>\n <ng-container\n [ngTemplateOutlet]=\"decadeCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year }\"></ng-container>\n </ng-template>\n }\n @if (monthCellTemplate()) {\n <ng-template monaCalendarMonthCellTemplate let-day let-date=\"date\">\n <ng-container\n [ngTemplateOutlet]=\"monthCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: day, date }\"></ng-container>\n </ng-template>\n }\n @if (yearCellTemplate()) {\n <ng-template monaCalendarYearCellTemplate let-year let-text=\"text\">\n <ng-container\n [ngTemplateOutlet]=\"yearCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year, text }\"></ng-container>\n </ng-template>\n }\n </mona-calendar>\n </div>\n</ng-template>\n",
896
+ template: "<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of startSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('start')\"\n (inputFocus)=\"onInputFocus('start')\"\n (valueChange)=\"typedInput.edit('start', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().start\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"startInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"startInvalid()\"\n [placeholder]=\"startPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"startInvalid() || touched()\"\n [value]=\"typedInput.text.start()\" />\n</span>\n<span aria-hidden=\"true\" [class]=\"separatorClass\">–</span>\n<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of endSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('end')\"\n (inputFocus)=\"onInputFocus('end')\"\n (valueChange)=\"typedInput.edit('end', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().end\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"endInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"endInvalid()\"\n [placeholder]=\"endPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"endInvalid() || touched()\"\n [value]=\"typedInput.text.end()\" />\n</span>\n<button\n monaButton\n look=\"ghost\"\n [class]=\"buttonClass()\"\n [attr.aria-controls]=\"popupId\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-label]=\"messages().openCalendar\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [iconOnly]=\"true\"\n [rounded]=\"'none'\"\n [size]=\"size()\"\n [tabindex]=\"-1\"\n (click)=\"onCalendarButtonClick()\">\n <svg lucideCalendar [size]=\"16\" aria-hidden=\"true\"></svg>\n</button>\n\n<ng-template #popupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().dateRangePicker\"\n cdkTrapFocus>\n @if (presetItems().length > 0) {\n <div\n role=\"group\"\n [attr.aria-label]=\"messages().presets\"\n [class]=\"presetListClass\"\n (keydown)=\"onPresetKeydown($event)\">\n @for (item of presetItems(); track $index) {\n <button\n monaButton\n look=\"ghost\"\n type=\"button\"\n [class]=\"presetClass()\"\n [disabled]=\"item.disabled\"\n [rounded]=\"rounded()\"\n [selected]=\"item.selected\"\n size=\"small\"\n [toggleable]=\"true\"\n (click)=\"onPresetClick(item)\">\n {{ item.label }}\n </button>\n }\n </div>\n }\n <mona-calendar\n focusOnMount\n selection=\"range\"\n [disabledDates]=\"disabledDates()\"\n [firstDay]=\"firstDay()\"\n [maxDate]=\"maxDate()\"\n [minDate]=\"minDate()\"\n [months]=\"months()\"\n [readonly]=\"readonly()\"\n [rounded]=\"rounded()\"\n [value]=\"calendarValue()\"\n [weekNumber]=\"weekNumber()\"\n (valueChange)=\"onCalendarValueChange($event)\">\n @if (decadeCellTemplate()) {\n <ng-template monaCalendarDecadeCellTemplate let-year>\n <ng-container\n [ngTemplateOutlet]=\"decadeCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year }\"></ng-container>\n </ng-template>\n }\n @if (monthCellTemplate()) {\n <ng-template monaCalendarMonthCellTemplate let-day let-date=\"date\">\n <ng-container\n [ngTemplateOutlet]=\"monthCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: day, date }\"></ng-container>\n </ng-template>\n }\n @if (yearCellTemplate()) {\n <ng-template monaCalendarYearCellTemplate let-year let-text=\"text\">\n <ng-container\n [ngTemplateOutlet]=\"yearCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year, text }\"></ng-container>\n </ng-template>\n }\n </mona-calendar>\n </div>\n</ng-template>\n",
897
897
  dependencies: [
898
898
  {
899
899
  kind: "directive",
@@ -1064,7 +1064,7 @@ i0.ɵɵngDeclareClassMetadata({
1064
1064
  "(focusout)": "onFocusOut($event)",
1065
1065
  "(keydown)": "onKeydown($event)"
1066
1066
  },
1067
- template: "<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of startSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('start')\"\n (inputFocus)=\"onInputFocus('start')\"\n (valueChange)=\"typedInput.edit('start', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().start\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"startInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"startInvalid()\"\n [placeholder]=\"startPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"startInvalid() || touched()\"\n [value]=\"typedInput.text.start()\" />\n</span>\n<span aria-hidden=\"true\" [class]=\"separatorClass\">–</span>\n<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of endSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('end')\"\n (inputFocus)=\"onInputFocus('end')\"\n (valueChange)=\"typedInput.edit('end', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().end\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"endInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"endInvalid()\"\n [placeholder]=\"endPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"endInvalid() || touched()\"\n [value]=\"typedInput.text.end()\" />\n</span>\n<button\n monaButton\n look=\"ghost\"\n [class]=\"buttonClass()\"\n [attr.aria-controls]=\"popupId\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-label]=\"messages().openCalendar\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [iconOnly]=\"true\"\n [rounded]=\"'none'\"\n [size]=\"size()\"\n [tabindex]=\"-1\"\n (click)=\"onCalendarButtonClick()\">\n <svg lucideCalendar [size]=\"16\" aria-hidden=\"true\"></svg>\n</button>\n\n<ng-template #popupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().dateRangePicker\"\n cdkTrapFocus>\n @if (presetItems().length > 0) {\n <div role=\"group\" [attr.aria-label]=\"messages().presets\" [class]=\"presetListClass\" (keydown)=\"onPresetKeydown($event)\">\n @for (item of presetItems(); track $index) {\n <button\n monaButton\n look=\"ghost\"\n type=\"button\"\n [class]=\"presetClass()\"\n [disabled]=\"item.disabled\"\n [rounded]=\"rounded()\"\n [selected]=\"item.selected\"\n size=\"small\"\n [toggleable]=\"true\"\n (click)=\"onPresetClick(item)\">\n {{ item.label }}\n </button>\n }\n </div>\n }\n <mona-calendar\n focusOnMount\n selection=\"range\"\n [disabledDates]=\"disabledDates()\"\n [firstDay]=\"firstDay()\"\n [maxDate]=\"maxDate()\"\n [minDate]=\"minDate()\"\n [months]=\"months()\"\n [readonly]=\"readonly()\"\n [rounded]=\"rounded()\"\n [value]=\"calendarValue()\"\n [weekNumber]=\"weekNumber()\"\n (valueChange)=\"onCalendarValueChange($event)\">\n @if (decadeCellTemplate()) {\n <ng-template monaCalendarDecadeCellTemplate let-year>\n <ng-container\n [ngTemplateOutlet]=\"decadeCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year }\"></ng-container>\n </ng-template>\n }\n @if (monthCellTemplate()) {\n <ng-template monaCalendarMonthCellTemplate let-day let-date=\"date\">\n <ng-container\n [ngTemplateOutlet]=\"monthCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: day, date }\"></ng-container>\n </ng-template>\n }\n @if (yearCellTemplate()) {\n <ng-template monaCalendarYearCellTemplate let-year let-text=\"text\">\n <ng-container\n [ngTemplateOutlet]=\"yearCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year, text }\"></ng-container>\n </ng-template>\n }\n </mona-calendar>\n </div>\n</ng-template>\n"
1067
+ template: "<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of startSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('start')\"\n (inputFocus)=\"onInputFocus('start')\"\n (valueChange)=\"typedInput.edit('start', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().start\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"startInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"startInvalid()\"\n [placeholder]=\"startPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"startInvalid() || touched()\"\n [value]=\"typedInput.text.start()\" />\n</span>\n<span aria-hidden=\"true\" [class]=\"separatorClass\">–</span>\n<span [class]=\"fieldClass\">\n <span aria-hidden=\"true\" [class]=\"sizerClass()\">\n @for (text of endSizerTexts(); track $index) {\n <span class=\"block\">{{ text }}</span>\n }\n </span>\n <mona-text-box\n (inputBlur)=\"onInputBlur('end')\"\n (inputFocus)=\"onInputFocus('end')\"\n (valueChange)=\"typedInput.edit('end', $event)\"\n [aria-describedby]=\"describedBy() ?? ''\"\n [aria-label]=\"messages().end\"\n [clearButton]=\"showClearButton()\"\n [disabled]=\"effectiveDisabled()\"\n [inputAttributes]=\"inputAttributes()\"\n [inputClass]=\"inputClass\"\n [inputId]=\"endInputId\"\n [inputStyle]=\"inputStyle\"\n [invalid]=\"endInvalid()\"\n [placeholder]=\"endPlaceholder()\"\n [readonly]=\"readonly()\"\n [required]=\"required()\"\n [rounded]=\"rounded()\"\n [size]=\"size()\"\n [touched]=\"endInvalid() || touched()\"\n [value]=\"typedInput.text.end()\" />\n</span>\n<button\n monaButton\n look=\"ghost\"\n [class]=\"buttonClass()\"\n [attr.aria-controls]=\"popupId\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-label]=\"messages().openCalendar\"\n [disabled]=\"effectiveDisabled() || readonly()\"\n [iconOnly]=\"true\"\n [rounded]=\"'none'\"\n [size]=\"size()\"\n [tabindex]=\"-1\"\n (click)=\"onCalendarButtonClick()\">\n <svg lucideCalendar [size]=\"16\" aria-hidden=\"true\"></svg>\n</button>\n\n<ng-template #popupTemplate>\n <div\n [class]=\"pickerPopupClass()\"\n [id]=\"popupId\"\n aria-modal=\"true\"\n role=\"dialog\"\n [attr.aria-label]=\"messages().dateRangePicker\"\n cdkTrapFocus>\n @if (presetItems().length > 0) {\n <div\n role=\"group\"\n [attr.aria-label]=\"messages().presets\"\n [class]=\"presetListClass\"\n (keydown)=\"onPresetKeydown($event)\">\n @for (item of presetItems(); track $index) {\n <button\n monaButton\n look=\"ghost\"\n type=\"button\"\n [class]=\"presetClass()\"\n [disabled]=\"item.disabled\"\n [rounded]=\"rounded()\"\n [selected]=\"item.selected\"\n size=\"small\"\n [toggleable]=\"true\"\n (click)=\"onPresetClick(item)\">\n {{ item.label }}\n </button>\n }\n </div>\n }\n <mona-calendar\n focusOnMount\n selection=\"range\"\n [disabledDates]=\"disabledDates()\"\n [firstDay]=\"firstDay()\"\n [maxDate]=\"maxDate()\"\n [minDate]=\"minDate()\"\n [months]=\"months()\"\n [readonly]=\"readonly()\"\n [rounded]=\"rounded()\"\n [value]=\"calendarValue()\"\n [weekNumber]=\"weekNumber()\"\n (valueChange)=\"onCalendarValueChange($event)\">\n @if (decadeCellTemplate()) {\n <ng-template monaCalendarDecadeCellTemplate let-year>\n <ng-container\n [ngTemplateOutlet]=\"decadeCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year }\"></ng-container>\n </ng-template>\n }\n @if (monthCellTemplate()) {\n <ng-template monaCalendarMonthCellTemplate let-day let-date=\"date\">\n <ng-container\n [ngTemplateOutlet]=\"monthCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: day, date }\"></ng-container>\n </ng-template>\n }\n @if (yearCellTemplate()) {\n <ng-template monaCalendarYearCellTemplate let-year let-text=\"text\">\n <ng-container\n [ngTemplateOutlet]=\"yearCellTemplate()?.templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: year, text }\"></ng-container>\n </ng-template>\n }\n </mona-calendar>\n </div>\n</ng-template>\n"
1068
1068
  }]
1069
1069
  }],
1070
1070
  ctorParameters: () => [],
@@ -161,7 +161,7 @@ var DateTimePickerComponent = class DateTimePickerComponent {
161
161
  this.labelledBy = this.#label.labelledBy;
162
162
  this.messages = this.#i18n.componentMessages("dateTimePicker", DATETIME_PICKER_DEFAULT_MESSAGES);
163
163
  this.monthCellTemplate = contentChild(CalendarMonthCellTemplateDirective, ...ngDevMode ? [{ debugName: "monthCellTemplate" }] : /* istanbul ignore next */ []);
164
- this.navigatedDate = linkedSignal(() => this.value() ?? /* @__PURE__ */ new Date(), ...ngDevMode ? [{ debugName: "navigatedDate" }] : /* istanbul ignore next */ []);
164
+ this.navigatedDate = linkedSignal(() => this.value() ?? this.startDate(), ...ngDevMode ? [{ debugName: "navigatedDate" }] : /* istanbul ignore next */ []);
165
165
  this.panelId = createElementControlId();
166
166
  this.pickerPopupClass = computed(() => {
167
167
  const rounded = this.rounded();
@@ -318,7 +318,7 @@ var DateTimePickerComponent = class DateTimePickerComponent {
318
318
  this.activeView.set("time");
319
319
  }
320
320
  onCancelClick() {
321
- this.navigatedDate.set(this.value() ?? /* @__PURE__ */ new Date());
321
+ this.navigatedDate.set(this.value() ?? this.startDate());
322
322
  this.closePopup();
323
323
  }
324
324
  onDateInputButtonClick() {
@@ -412,7 +412,7 @@ var DateTimePickerComponent = class DateTimePickerComponent {
412
412
  else if (!this.#destroyRef.destroyed) this.touch.emit();
413
413
  this.activeView.set("date");
414
414
  this.focusViewOnMount.set(true);
415
- this.navigatedDate.set(this.value() ?? /* @__PURE__ */ new Date());
415
+ this.navigatedDate.set(this.value() ?? this.startDate());
416
416
  });
417
417
  }
418
418
  setPopupKeyboardSubscription() {
@@ -439,6 +439,9 @@ var DateTimePickerComponent = class DateTimePickerComponent {
439
439
  }
440
440
  });
441
441
  }
442
+ startDate() {
443
+ return this.updateDateIfNotInRange(/* @__PURE__ */ new Date());
444
+ }
442
445
  updateDateIfNotInRange(date) {
443
446
  const maxDate = this.max();
444
447
  const minDate = this.min();
@@ -666,12 +666,16 @@ var DropdownPopupHandlerDirective = class DropdownPopupHandlerDirective {
666
666
  #host = inject(DROPDOWN_POPUP_INPUT_TOKEN);
667
667
  #hostElementRef = inject(ElementRef);
668
668
  #popupService = inject(PopupService);
669
+ #hostDestroyed = false;
669
670
  constructor() {
670
671
  afterNextRender({ read: () => {
671
672
  this.#dropdownService.triggerPopupOpen$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe((s) => this.openPopup(s));
672
673
  this.#dropdownService.triggerPopupToggle$.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe((s) => this.togglePopup(s));
673
674
  } });
674
- this.#destroyRef.onDestroy(() => this.closePopup());
675
+ this.#destroyRef.onDestroy(() => {
676
+ this.#hostDestroyed = true;
677
+ this.closePopup();
678
+ });
675
679
  }
676
680
  closePopup() {
677
681
  this.#dropdownService.popupRef()?.close();
@@ -738,13 +742,14 @@ var DropdownPopupHandlerDirective = class DropdownPopupHandlerDirective {
738
742
  this.#dropdownService.popupRef.set(popupRef);
739
743
  this.setPopupCloseSubscriptions(popupRef);
740
744
  window.setTimeout(() => {
745
+ if (this.#hostDestroyed) return;
741
746
  this.#dropdownService.popupOpenComplete$.next();
742
747
  this.#host.opened.emit();
743
748
  });
744
749
  }
745
750
  setPopupCloseSubscriptions(popupRef) {
746
751
  popupRef.beforeClose.pipe(takeUntil(popupRef.closed)).subscribe((event) => {
747
- this.#host.close.emit(event);
752
+ if (!this.#hostDestroyed) this.#host.close.emit(event);
748
753
  });
749
754
  popupRef.closeStart.pipe(takeUntil(popupRef.closed)).subscribe((event) => {
750
755
  this.#dropdownService.popupCloseStart$.next(event);
@@ -753,7 +758,7 @@ var DropdownPopupHandlerDirective = class DropdownPopupHandlerDirective {
753
758
  this.#dropdownService.focusCanReturn.set(focusCanReturn(this.#document, this.#hostElementRef.nativeElement, popupRef.overlayRef.overlayElement));
754
759
  this.#dropdownService.popupRef.set(null);
755
760
  this.#dropdownService.popupCloseComplete$.next(event);
756
- this.#host.closed.emit();
761
+ if (!this.#hostDestroyed) this.#host.closed.emit();
757
762
  });
758
763
  }
759
764
  togglePopup(settings) {
@@ -907,7 +907,7 @@ var EditorBlockquoteComponent = class EditorBlockquoteComponent {
907
907
  isStandalone: true,
908
908
  selector: "mona-editor-blockquote",
909
909
  ngImport: i0,
910
- template: "<button monaButton [size]=\"'small'\" [selected]=\"blockquoteSelected()\" [monaEditorPressed]=\"blockquoteSelected()\" (click)=\"onBlockquoteToggle()\" [title]=\"messages().quotation\">\n <i class=\"ri-double-quotes-r\"></i>\n</button>\n",
910
+ template: "<button\n monaButton\n [size]=\"'small'\"\n [selected]=\"blockquoteSelected()\"\n [monaEditorPressed]=\"blockquoteSelected()\"\n (click)=\"onBlockquoteToggle()\"\n [title]=\"messages().quotation\">\n <i class=\"ri-double-quotes-r\"></i>\n</button>\n",
911
911
  dependencies: [{
912
912
  kind: "directive",
913
913
  type: ButtonDirective,
@@ -947,7 +947,7 @@ i0.ɵɵngDeclareClassMetadata({
947
947
  args: [{
948
948
  selector: "mona-editor-blockquote",
949
949
  imports: [ButtonDirective, EditorPressedDirective],
950
- template: "<button monaButton [size]=\"'small'\" [selected]=\"blockquoteSelected()\" [monaEditorPressed]=\"blockquoteSelected()\" (click)=\"onBlockquoteToggle()\" [title]=\"messages().quotation\">\n <i class=\"ri-double-quotes-r\"></i>\n</button>\n"
950
+ template: "<button\n monaButton\n [size]=\"'small'\"\n [selected]=\"blockquoteSelected()\"\n [monaEditorPressed]=\"blockquoteSelected()\"\n (click)=\"onBlockquoteToggle()\"\n [title]=\"messages().quotation\">\n <i class=\"ri-double-quotes-r\"></i>\n</button>\n"
951
951
  }]
952
952
  }]
953
953
  });
@@ -984,7 +984,7 @@ var EditorCodeBlockComponent = class EditorCodeBlockComponent {
984
984
  isStandalone: true,
985
985
  selector: "mona-editor-code-block",
986
986
  ngImport: i0,
987
- template: "<button monaButton [size]=\"'small'\" [selected]=\"codeBlockSelected()\" [monaEditorPressed]=\"codeBlockSelected()\" (click)=\"onCodeBlockClick()\" [title]=\"messages().codeBlock\">\n <i class=\"ri-code-s-slash-line\"></i>\n</button>\n",
987
+ template: "<button\n monaButton\n [size]=\"'small'\"\n [selected]=\"codeBlockSelected()\"\n [monaEditorPressed]=\"codeBlockSelected()\"\n (click)=\"onCodeBlockClick()\"\n [title]=\"messages().codeBlock\">\n <i class=\"ri-code-s-slash-line\"></i>\n</button>\n",
988
988
  dependencies: [{
989
989
  kind: "directive",
990
990
  type: ButtonDirective,
@@ -1024,7 +1024,7 @@ i0.ɵɵngDeclareClassMetadata({
1024
1024
  args: [{
1025
1025
  selector: "mona-editor-code-block",
1026
1026
  imports: [ButtonDirective, EditorPressedDirective],
1027
- template: "<button monaButton [size]=\"'small'\" [selected]=\"codeBlockSelected()\" [monaEditorPressed]=\"codeBlockSelected()\" (click)=\"onCodeBlockClick()\" [title]=\"messages().codeBlock\">\n <i class=\"ri-code-s-slash-line\"></i>\n</button>\n"
1027
+ template: "<button\n monaButton\n [size]=\"'small'\"\n [selected]=\"codeBlockSelected()\"\n [monaEditorPressed]=\"codeBlockSelected()\"\n (click)=\"onCodeBlockClick()\"\n [title]=\"messages().codeBlock\">\n <i class=\"ri-code-s-slash-line\"></i>\n</button>\n"
1028
1028
  }]
1029
1029
  }]
1030
1030
  });
@@ -2852,7 +2852,7 @@ var EditorTableComponent = class EditorTableComponent {
2852
2852
  isSignal: true
2853
2853
  }],
2854
2854
  ngImport: i0,
2855
- template: "<mona-button-group selection=\"single\" [size]=\"'small'\" [aria-label]=\"messages().tableGroup\">\n <button monaButton [toggleable]=\"false\" [title]=\"messages().insertTable\" #insertTableButton>\n <i class=\"ri-grid-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnBeforeDisabled()\"\n (click)=\"onAddColumnBeforeClick()\"\n [title]=\"messages().addColumnBefore\">\n <i class=\"ri-insert-column-left\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addColumnAfterDisabled()\" (click)=\"onAddColumnAfterClick()\" [title]=\"messages().addColumnAfter\">\n <i class=\"ri-insert-column-right\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addRowBeforeDisabled()\" (click)=\"onAddRowBeforeClick()\" [title]=\"messages().addRowBefore\">\n <i class=\"ri-insert-row-top\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addRowAfterDisabled()\" (click)=\"onAddRowAfterClick()\" [title]=\"messages().addRowAfter\">\n <i class=\"ri-insert-row-bottom\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteColumnDisabled()\" (click)=\"onDeleteColumnClick()\" [title]=\"messages().deleteColumn\">\n <i class=\"ri-delete-column\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteRowDisabled()\" (click)=\"onDeleteRowClick()\" [title]=\"messages().deleteRow\">\n <i class=\"ri-delete-row\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"mergeCellsDisabled()\" (click)=\"onMergeCellsClick()\" [title]=\"messages().mergeCells\">\n <i class=\"ri-merge-cells-horizontal\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"splitCellDisabled()\" (click)=\"onSplitCellClick()\" [title]=\"messages().splitCell\">\n <i class=\"ri-split-cells-horizontal\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"toggleHeaderRowDisabled()\" (click)=\"onToggleHeaderRow()\" [title]=\"messages().toggleHeaderRow\">\n <i class=\"ri-table-line\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteTableDisabled()\" (click)=\"onDeleteTableClick()\" [title]=\"messages().deleteTable\">\n <i class=\"ri-close-large-line\"></i>\n </button>\n</mona-button-group>\n\n<mona-popover [target]=\"insertTableButton\" position=\"bottom\" #popoverComponent>\n <mona-editor-table-creator (insert)=\"onTableInsert($event)\"></mona-editor-table-creator>\n</mona-popover>\n",
2855
+ template: "<mona-button-group selection=\"single\" [size]=\"'small'\" [aria-label]=\"messages().tableGroup\">\n <button monaButton [toggleable]=\"false\" [title]=\"messages().insertTable\" #insertTableButton>\n <i class=\"ri-grid-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnBeforeDisabled()\"\n (click)=\"onAddColumnBeforeClick()\"\n [title]=\"messages().addColumnBefore\">\n <i class=\"ri-insert-column-left\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnAfterDisabled()\"\n (click)=\"onAddColumnAfterClick()\"\n [title]=\"messages().addColumnAfter\">\n <i class=\"ri-insert-column-right\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addRowBeforeDisabled()\"\n (click)=\"onAddRowBeforeClick()\"\n [title]=\"messages().addRowBefore\">\n <i class=\"ri-insert-row-top\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addRowAfterDisabled()\"\n (click)=\"onAddRowAfterClick()\"\n [title]=\"messages().addRowAfter\">\n <i class=\"ri-insert-row-bottom\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteColumnDisabled()\"\n (click)=\"onDeleteColumnClick()\"\n [title]=\"messages().deleteColumn\">\n <i class=\"ri-delete-column\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteRowDisabled()\"\n (click)=\"onDeleteRowClick()\"\n [title]=\"messages().deleteRow\">\n <i class=\"ri-delete-row\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"mergeCellsDisabled()\"\n (click)=\"onMergeCellsClick()\"\n [title]=\"messages().mergeCells\">\n <i class=\"ri-merge-cells-horizontal\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"splitCellDisabled()\"\n (click)=\"onSplitCellClick()\"\n [title]=\"messages().splitCell\">\n <i class=\"ri-split-cells-horizontal\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"toggleHeaderRowDisabled()\"\n (click)=\"onToggleHeaderRow()\"\n [title]=\"messages().toggleHeaderRow\">\n <i class=\"ri-table-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteTableDisabled()\"\n (click)=\"onDeleteTableClick()\"\n [title]=\"messages().deleteTable\">\n <i class=\"ri-close-large-line\"></i>\n </button>\n</mona-button-group>\n\n<mona-popover [target]=\"insertTableButton\" position=\"bottom\" #popoverComponent>\n <mona-editor-table-creator (insert)=\"onTableInsert($event)\"></mona-editor-table-creator>\n</mona-popover>\n",
2856
2856
  dependencies: [
2857
2857
  {
2858
2858
  kind: "component",
@@ -2950,7 +2950,7 @@ i0.ɵɵngDeclareClassMetadata({
2950
2950
  PopoverComponent,
2951
2951
  EditorTableCreatorComponent
2952
2952
  ],
2953
- template: "<mona-button-group selection=\"single\" [size]=\"'small'\" [aria-label]=\"messages().tableGroup\">\n <button monaButton [toggleable]=\"false\" [title]=\"messages().insertTable\" #insertTableButton>\n <i class=\"ri-grid-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnBeforeDisabled()\"\n (click)=\"onAddColumnBeforeClick()\"\n [title]=\"messages().addColumnBefore\">\n <i class=\"ri-insert-column-left\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addColumnAfterDisabled()\" (click)=\"onAddColumnAfterClick()\" [title]=\"messages().addColumnAfter\">\n <i class=\"ri-insert-column-right\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addRowBeforeDisabled()\" (click)=\"onAddRowBeforeClick()\" [title]=\"messages().addRowBefore\">\n <i class=\"ri-insert-row-top\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"addRowAfterDisabled()\" (click)=\"onAddRowAfterClick()\" [title]=\"messages().addRowAfter\">\n <i class=\"ri-insert-row-bottom\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteColumnDisabled()\" (click)=\"onDeleteColumnClick()\" [title]=\"messages().deleteColumn\">\n <i class=\"ri-delete-column\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteRowDisabled()\" (click)=\"onDeleteRowClick()\" [title]=\"messages().deleteRow\">\n <i class=\"ri-delete-row\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"mergeCellsDisabled()\" (click)=\"onMergeCellsClick()\" [title]=\"messages().mergeCells\">\n <i class=\"ri-merge-cells-horizontal\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"splitCellDisabled()\" (click)=\"onSplitCellClick()\" [title]=\"messages().splitCell\">\n <i class=\"ri-split-cells-horizontal\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"toggleHeaderRowDisabled()\" (click)=\"onToggleHeaderRow()\" [title]=\"messages().toggleHeaderRow\">\n <i class=\"ri-table-line\"></i>\n </button>\n <button monaButton [toggleable]=\"false\" [disabled]=\"deleteTableDisabled()\" (click)=\"onDeleteTableClick()\" [title]=\"messages().deleteTable\">\n <i class=\"ri-close-large-line\"></i>\n </button>\n</mona-button-group>\n\n<mona-popover [target]=\"insertTableButton\" position=\"bottom\" #popoverComponent>\n <mona-editor-table-creator (insert)=\"onTableInsert($event)\"></mona-editor-table-creator>\n</mona-popover>\n"
2953
+ template: "<mona-button-group selection=\"single\" [size]=\"'small'\" [aria-label]=\"messages().tableGroup\">\n <button monaButton [toggleable]=\"false\" [title]=\"messages().insertTable\" #insertTableButton>\n <i class=\"ri-grid-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnBeforeDisabled()\"\n (click)=\"onAddColumnBeforeClick()\"\n [title]=\"messages().addColumnBefore\">\n <i class=\"ri-insert-column-left\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addColumnAfterDisabled()\"\n (click)=\"onAddColumnAfterClick()\"\n [title]=\"messages().addColumnAfter\">\n <i class=\"ri-insert-column-right\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addRowBeforeDisabled()\"\n (click)=\"onAddRowBeforeClick()\"\n [title]=\"messages().addRowBefore\">\n <i class=\"ri-insert-row-top\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"addRowAfterDisabled()\"\n (click)=\"onAddRowAfterClick()\"\n [title]=\"messages().addRowAfter\">\n <i class=\"ri-insert-row-bottom\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteColumnDisabled()\"\n (click)=\"onDeleteColumnClick()\"\n [title]=\"messages().deleteColumn\">\n <i class=\"ri-delete-column\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteRowDisabled()\"\n (click)=\"onDeleteRowClick()\"\n [title]=\"messages().deleteRow\">\n <i class=\"ri-delete-row\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"mergeCellsDisabled()\"\n (click)=\"onMergeCellsClick()\"\n [title]=\"messages().mergeCells\">\n <i class=\"ri-merge-cells-horizontal\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"splitCellDisabled()\"\n (click)=\"onSplitCellClick()\"\n [title]=\"messages().splitCell\">\n <i class=\"ri-split-cells-horizontal\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"toggleHeaderRowDisabled()\"\n (click)=\"onToggleHeaderRow()\"\n [title]=\"messages().toggleHeaderRow\">\n <i class=\"ri-table-line\"></i>\n </button>\n <button\n monaButton\n [toggleable]=\"false\"\n [disabled]=\"deleteTableDisabled()\"\n (click)=\"onDeleteTableClick()\"\n [title]=\"messages().deleteTable\">\n <i class=\"ri-close-large-line\"></i>\n </button>\n</mona-button-group>\n\n<mona-popover [target]=\"insertTableButton\" position=\"bottom\" #popoverComponent>\n <mona-editor-table-creator (insert)=\"onTableInsert($event)\"></mona-editor-table-creator>\n</mona-popover>\n"
2954
2954
  }]
2955
2955
  }],
2956
2956
  propDecorators: { popover: [{
@@ -2991,7 +2991,7 @@ var EditorTaskListComponent = class EditorTaskListComponent {
2991
2991
  isStandalone: true,
2992
2992
  selector: "mona-editor-task-list",
2993
2993
  ngImport: i0,
2994
- template: "<button monaButton [selected]=\"taskSelected()\" [monaEditorPressed]=\"taskSelected()\" [size]=\"'small'\" (click)=\"onTaskToggle()\" [title]=\"messages().insertTaskList\">\n <i class=\"ri-checkbox-fill\"></i>\n</button>\n",
2994
+ template: "<button\n monaButton\n [selected]=\"taskSelected()\"\n [monaEditorPressed]=\"taskSelected()\"\n [size]=\"'small'\"\n (click)=\"onTaskToggle()\"\n [title]=\"messages().insertTaskList\">\n <i class=\"ri-checkbox-fill\"></i>\n</button>\n",
2995
2995
  dependencies: [{
2996
2996
  kind: "directive",
2997
2997
  type: ButtonDirective,
@@ -3031,7 +3031,7 @@ i0.ɵɵngDeclareClassMetadata({
3031
3031
  args: [{
3032
3032
  selector: "mona-editor-task-list",
3033
3033
  imports: [ButtonDirective, EditorPressedDirective],
3034
- template: "<button monaButton [selected]=\"taskSelected()\" [monaEditorPressed]=\"taskSelected()\" [size]=\"'small'\" (click)=\"onTaskToggle()\" [title]=\"messages().insertTaskList\">\n <i class=\"ri-checkbox-fill\"></i>\n</button>\n"
3034
+ template: "<button\n monaButton\n [selected]=\"taskSelected()\"\n [monaEditorPressed]=\"taskSelected()\"\n [size]=\"'small'\"\n (click)=\"onTaskToggle()\"\n [title]=\"messages().insertTaskList\">\n <i class=\"ri-checkbox-fill\"></i>\n</button>\n"
3035
3035
  }]
3036
3036
  }]
3037
3037
  });
@@ -1,5 +1,5 @@
1
1
  import { A as gridListTableThemeVariants, B as GridLockedCellDirective, D as gridListBaseThemeVariants, M as gridRowDragPreviewThemeVariants, V as GridService } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs";
2
+ import { i as GridCellDirective, n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs";
3
3
  import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
4
4
  import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs";
5
5
  import * as i0 from "@angular/core";
@@ -467,4 +467,4 @@ i0.ɵɵngDeclareClassMetadata({
467
467
  });
468
468
  export { GridListComponent };
469
469
 
470
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs.map
470
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs.map
@@ -1807,7 +1807,7 @@ var GridSelectionCheckboxComponent = class GridSelectionCheckboxComponent {
1807
1807
  properties: { "class": "hostClass()" }
1808
1808
  },
1809
1809
  ngImport: i0,
1810
- template: "<mona-check-box\n [checked]=\"checked()\"\n (checkedChange)=\"onCheckedChange($event)\">\n <span class=\"sr-only\">{{ ariaLabel() }}</span>\n</mona-check-box>\n",
1810
+ template: "<mona-check-box [checked]=\"checked()\" (checkedChange)=\"onCheckedChange($event)\">\n <span class=\"sr-only\">{{ ariaLabel() }}</span>\n</mona-check-box>\n",
1811
1811
  dependencies: [{
1812
1812
  kind: "component",
1813
1813
  type: CheckBoxComponent,
@@ -1858,7 +1858,7 @@ i0.ɵɵngDeclareClassMetadata({
1858
1858
  "[class]": "hostClass()",
1859
1859
  "(click)": "$event.stopPropagation()"
1860
1860
  },
1861
- template: "<mona-check-box\n [checked]=\"checked()\"\n (checkedChange)=\"onCheckedChange($event)\">\n <span class=\"sr-only\">{{ ariaLabel() }}</span>\n</mona-check-box>\n"
1861
+ template: "<mona-check-box [checked]=\"checked()\" (checkedChange)=\"onCheckedChange($event)\">\n <span class=\"sr-only\">{{ ariaLabel() }}</span>\n</mona-check-box>\n"
1862
1862
  }]
1863
1863
  }],
1864
1864
  propDecorators: {
@@ -2112,4 +2112,4 @@ i0.ɵɵngDeclareClassMetadata({
2112
2112
  });
2113
2113
  export { GridCellDirective as i, GridGroupRowComponent as n, GridAddRowComponent as r, GridRowComponent as t };
2114
2114
 
2115
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs.map
2115
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { A as gridListTableThemeVariants, D as gridListBaseThemeVariants, U as GridNavigationService, V as GridService, _ as gridFooterThemeVariants, g as gridFooterTableThemeVariants } from "./nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs";
2
- import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs";
2
+ import { n as GridGroupRowComponent, r as GridAddRowComponent, t as GridRowComponent } from "./nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs";
3
3
  import { t as GridColgroupComponent } from "./nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs";
4
4
  import { GridFooterRowComponent } from "./nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs";
5
5
  import * as i0 from "@angular/core";
@@ -327,4 +327,4 @@ i0.ɵɵngDeclareClassMetadata({
327
327
  });
328
328
  export { GridVirtualListComponent };
329
329
 
330
- //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs.map
330
+ //# sourceMappingURL=nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs.map