@nanahoshi/mona-ui 0.18.5 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -13
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +11 -3
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +17 -9
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +16 -7
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +122 -48
- package/fesm2022/nanahoshi-mona-ui-card.mjs +22 -14
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +78 -18
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +199 -77
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +1 -2
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +23 -5
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +49 -28
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +42 -26
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +11 -3
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +28 -16
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +74 -51
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +57 -25
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +13 -5
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +17 -6
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +178 -59
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +137 -54
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-WEDbZ5vy.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-Bg7rckst.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-ibH5osCg.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-BSSpaCLL.mjs} +2 -2
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-D9AwQFDV.mjs +145 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-hc-LeIb0.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-Byb9iTes.mjs} +21 -17
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DYajpOb9.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-CBmdtrXm.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-Pm8Fbp6M.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-DPmJmCap.mjs} +90 -42
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +1168 -0
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +12 -4
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +48 -21
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +33 -18
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +10 -10
- package/fesm2022/nanahoshi-mona-ui-list.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +29 -16
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +12 -3
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +23 -18
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +211 -106
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +14 -6
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +46 -19
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +57 -46
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +35 -15
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +38 -17
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +25 -7
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +431 -101
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +26 -8
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +222 -28
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +91 -36
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +34 -15
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +39 -23
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +50 -25
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +32 -14
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +74 -56
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +16 -8
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +33 -19
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +66 -27
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +23 -15
- package/fesm2022/nanahoshi-mona-ui-window.mjs +71 -40
- package/i18n/package.json +4 -0
- package/package.json +5 -1
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +6 -1
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +9 -3
- package/types/nanahoshi-mona-ui-button-group.d.ts +9 -3
- package/types/nanahoshi-mona-ui-calendar.d.ts +13 -3
- package/types/nanahoshi-mona-ui-card.d.ts +8 -2
- package/types/nanahoshi-mona-ui-chart.d.ts +10 -1
- package/types/nanahoshi-mona-ui-chip.d.ts +14 -5
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +6 -1
- package/types/nanahoshi-mona-ui-color-palette.d.ts +21 -10
- package/types/nanahoshi-mona-ui-color-picker.d.ts +30 -20
- package/types/nanahoshi-mona-ui-combo-box.d.ts +6 -1
- package/types/nanahoshi-mona-ui-date-picker.d.ts +7 -2
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +33 -8
- package/types/nanahoshi-mona-ui-dialog.d.ts +16 -7
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +6 -1
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +4 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +6 -1
- package/types/nanahoshi-mona-ui-filter.d.ts +16 -10
- package/types/nanahoshi-mona-ui-grid.d.ts +38 -1
- package/types/nanahoshi-mona-ui-i18n.d.ts +633 -0
- package/types/nanahoshi-mona-ui-internal-list.d.ts +7 -2
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +7 -3
- package/types/nanahoshi-mona-ui-list-box.d.ts +9 -4
- package/types/nanahoshi-mona-ui-list-view.d.ts +6 -6
- package/types/nanahoshi-mona-ui-list.d.ts +1 -1
- package/types/nanahoshi-mona-ui-menubar.d.ts +59 -58
- package/types/nanahoshi-mona-ui-multi-select.d.ts +6 -1
- package/types/nanahoshi-mona-ui-notification.d.ts +11 -5
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +24 -15
- package/types/nanahoshi-mona-ui-otp-input.d.ts +9 -3
- package/types/nanahoshi-mona-ui-pager.d.ts +19 -6
- package/types/nanahoshi-mona-ui-popup.d.ts +2 -1
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +9 -7
- package/types/nanahoshi-mona-ui-rating.d.ts +19 -12
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +34 -28
- package/types/nanahoshi-mona-ui-sheet.d.ts +8 -2
- package/types/nanahoshi-mona-ui-sidebar.d.ts +3 -0
- package/types/nanahoshi-mona-ui-slider.d.ts +44 -26
- package/types/nanahoshi-mona-ui-spinner.d.ts +13 -4
- package/types/nanahoshi-mona-ui-split-button.d.ts +62 -56
- package/types/nanahoshi-mona-ui-splitter.d.ts +9 -6
- package/types/nanahoshi-mona-ui-stepper.d.ts +9 -3
- package/types/nanahoshi-mona-ui-switch.d.ts +1 -1
- package/types/nanahoshi-mona-ui-tabs.d.ts +96 -35
- package/types/nanahoshi-mona-ui-text-box.d.ts +11 -5
- package/types/nanahoshi-mona-ui-time-picker.d.ts +7 -2
- package/types/nanahoshi-mona-ui-time-selector.d.ts +16 -5
- package/types/nanahoshi-mona-ui-tree-view.d.ts +15 -10
- package/types/nanahoshi-mona-ui-window.d.ts +26 -20
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ZM3CneJ0.mjs +0 -145
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as _nanahoshi_mona_ui_chart from '@nanahoshi/mona-ui/chart';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { TemplateRef, Signal, ElementRef, AfterContentChecked, OnInit } from '@angular/core';
|
|
4
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
5
|
+
import { MonaChartMessages } from '@nanahoshi/mona-ui/i18n';
|
|
4
6
|
|
|
5
7
|
interface ChartViewportAxisRef {
|
|
6
8
|
readonly axis: "x" | "y";
|
|
@@ -4193,6 +4195,7 @@ interface ChartSeriesVisibilityEvent {
|
|
|
4193
4195
|
|
|
4194
4196
|
declare class ChartComponent implements ChartRegistrationContext, AfterContentChecked {
|
|
4195
4197
|
#private;
|
|
4198
|
+
protected readonly messages: Signal<_nanahoshi_mona_ui_i18n.MonaChartMessages>;
|
|
4196
4199
|
protected readonly activeAccessibilityText: _angular_core.WritableSignal<string>;
|
|
4197
4200
|
protected readonly animationDurationCss: Signal<string>;
|
|
4198
4201
|
protected readonly animationEasingCss: Signal<string>;
|
|
@@ -5652,6 +5655,7 @@ declare class PolarSeriesComponent implements OnInit {
|
|
|
5652
5655
|
|
|
5653
5656
|
declare class ChartLegendComponent implements OnInit {
|
|
5654
5657
|
#private;
|
|
5658
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaChartMessages>;
|
|
5655
5659
|
protected readonly containerClasses: _angular_core.Signal<string>;
|
|
5656
5660
|
protected readonly gradientCss: _angular_core.Signal<string>;
|
|
5657
5661
|
protected readonly hostClasses: _angular_core.Signal<"block w-full flex-shrink-0" | "flex flex-col justify-center flex-shrink-0">;
|
|
@@ -5697,6 +5701,7 @@ interface ChartTooltipPlacement {
|
|
|
5697
5701
|
}
|
|
5698
5702
|
declare class ChartTooltipComponent implements OnInit {
|
|
5699
5703
|
#private;
|
|
5704
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaChartMessages>;
|
|
5700
5705
|
protected readonly customTemplate: _angular_core.Signal<ChartTooltipTemplateDirective | undefined>;
|
|
5701
5706
|
protected readonly placement: _angular_core.Signal<ChartTooltipPlacement>;
|
|
5702
5707
|
protected readonly tooltipClasses: _angular_core.Signal<string>;
|
|
@@ -5720,6 +5725,8 @@ declare class ChartTooltipComponent implements OnInit {
|
|
|
5720
5725
|
readonly userClass: _angular_core.InputSignal<string>;
|
|
5721
5726
|
constructor();
|
|
5722
5727
|
ngOnInit(): void;
|
|
5728
|
+
protected financialDirectionLabel(dir: "falling" | "rising" | "unchanged" | string | null | undefined): string;
|
|
5729
|
+
protected formatPercent(value: number): string;
|
|
5723
5730
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipComponent, never>;
|
|
5724
5731
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartTooltipComponent, "mona-chart-tooltip", never, { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; "shared": { "alias": "shared"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["customTemplate"], never, true, never>;
|
|
5725
5732
|
}
|
|
@@ -7825,5 +7832,7 @@ declare class ChartBrushComponent implements OnInit {
|
|
|
7825
7832
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartBrushComponent, "mona-chart-brush", never, { "activation": { "alias": "activation"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "borderWidth": { "alias": "borderWidth"; "required": false; "isSignal": true; }; "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; "fillColor": { "alias": "fillColor"; "required": false; "isSignal": true; }; "fillOpacity": { "alias": "fillOpacity"; "required": false; "isSignal": true; }; "hitPolicy": { "alias": "hitPolicy"; "required": false; "isSignal": true; }; "lineStyle": { "alias": "lineStyle"; "required": false; "isSignal": true; }; "minDragDistance": { "alias": "minDragDistance"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "xAxisId": { "alias": "xAxisId"; "required": false; "isSignal": true; }; "yAxisId": { "alias": "yAxisId"; "required": false; "isSignal": true; }; }, { "brushChange": "brushChange"; }, never, never, true, never>;
|
|
7826
7833
|
}
|
|
7827
7834
|
|
|
7828
|
-
|
|
7835
|
+
declare const CHART_DEFAULT_MESSAGES: MonaChartMessages;
|
|
7836
|
+
|
|
7837
|
+
export { AreaSeriesComponent, BarSeriesComponent, BubbleSeriesComponent, CHART_DEFAULT_MESSAGES, CandlestickSeriesComponent, ChartAngularAxisComponent, ChartAnnotationComponent, ChartAnnotationLabelTemplateDirective, ChartAxisLabelTemplateDirective, ChartBrushComponent, ChartCenterTemplateDirective, ChartComponent, ChartCrosshairComponent, ChartCrosshairLabelTemplateDirective, ChartDataLabelTemplateDirective, ChartExportError, ChartFunnelLabelTemplateDirective, ChartGaugeCenterTemplateDirective, ChartLegendComponent, ChartLegendItemTemplateDirective, ChartNoDataTemplateDirective, ChartRadialAxisComponent, ChartReferenceBandComponent, ChartReferenceLabelTemplateDirective, ChartReferenceLineComponent, ChartSelectionComponent, ChartSliceLabelTemplateDirective, ChartSubtitleTemplateDirective, ChartTitleTemplateDirective, ChartTooltipComponent, ChartTooltipTemplateDirective, ChartTreemapLabelTemplateDirective, ChartWaterfallLabelTemplateDirective, ChartXAxisComponent, ChartYAxisComponent, DonutSeriesComponent, FunnelSeriesComponent, GaugeSeriesComponent, HeatmapSeriesComponent, LineSeriesComponent, OhlcSeriesComponent, PieSeriesComponent, PolarSeriesComponent, RadarSeriesComponent, RadialBarSeriesComponent, RangeAreaSeriesComponent, RangeBarSeriesComponent, RoseSeriesComponent, ScatterSeriesComponent, TreemapSeriesComponent, WaterfallSeriesComponent, getChartSeriesFamily, isCartesianCoordinateFamily, isHierarchicalCoordinateFamily, isPolarCoordinateFamily };
|
|
7829
7838
|
export type { ChartAnimationEasing, ChartAnimationInput, ChartAnimationOptions, ChartAnnotationAxisValue, ChartAnnotationLabelPlacement, ChartAnnotationLabelTemplateContext, ChartAnnotationMarker, ChartAreaFillMode, ChartAxisFormatter, ChartAxisLabelRotation, ChartAxisLabelTemplateContext, ChartAxisPosition, ChartAxisTick, ChartBarOrientation, ChartBrushActivation, ChartBrushAxisRange, ChartBrushCancelReason, ChartBrushCategoryRange, ChartBrushChangeEvent, ChartBrushContinuousRange, ChartBrushHitPolicy, ChartBrushLineStyle, ChartBrushMode, ChartBrushPhase, ChartBrushSelectionBehavior, ChartCategoryViewportWindow, ChartCenterTemplateContext, ChartColorLegendScale, ChartColorLegendStop, ChartColorLegendTick, ChartContinuousViewportWindow, ChartCoordinateSystem, ChartCrosshairAxisLabelContext, ChartCrosshairLineStyle, ChartCrosshairMode, ChartCrosshairResolvedAxisValue, ChartCrosshairSnapMode, ChartCrosshairSynchronizationOptions, ChartCurve, ChartDataLabelContext, ChartDataLabelFormatter, ChartDataLabelOptions, ChartDataLabelPosition, ChartDataLabelsInput, ChartDownloadOptions, ChartDownsamplingAlgorithm, ChartDownsamplingInput, ChartDownsamplingOptions, ChartExportBackground, ChartExportBaseOptions, ChartExportErrorCode, ChartExportFormat, ChartExportOptions, ChartExportPresentationOptions, ChartExportResult, ChartField, ChartFinancialDirection, ChartFinancialFillMode, ChartFunnelLabelContent, ChartFunnelLabelTemplateContext, ChartFunnelOrientation, ChartFunnelPointMetadata, ChartFunnelStageContext, ChartFunnelStageVisibilityEvent, ChartGaugeCenterTemplateContext, ChartGaugeIndicator, ChartHeaderAlignment, ChartHeatmapCategory, ChartHeatmapCellData, ChartHeatmapColorMode, ChartHierarchicalKind, ChartHierarchyNodeContext, ChartHierarchyPointMetadata, ChartLabelMeasurement, ChartLegendItem, ChartLegendItemKind, ChartLegendItemTemplateContext, ChartLegendMode, ChartLineStyle, ChartNavigationAxisTarget, ChartNavigationInput, ChartNavigationOptions, ChartNumericScaleType, ChartOhlcPointValue, ChartOverlayLayer, ChartPadding, ChartPdfExportOptions, ChartPdfMargins, ChartPdfPageOptions, ChartPdfPageSize, ChartPdfRenderMode, ChartPngExportOptions, ChartPoint, ChartPointEvent, ChartPointFocusEvent, ChartPointValue, ChartPointValueKind, ChartPolarFillMode, ChartPolarLabelContent, ChartPolarLabelPosition, ChartPolarLabelSide, ChartRadialArcFillMode, ChartRadialCurve, ChartRadialDatumVisibilityEvent, ChartRadialFillMode, ChartRadialGridShape, ChartRangePointValue, ChartRect, ChartReferenceBandLabelContext, ChartReferenceLabelPosition, ChartReferenceLabelTemplateContext, ChartReferenceLineLabelContext, ChartReferenceLineStyle, ChartRendererMode, ChartRoseScaleMode, ChartScalarPointValue, ChartSelectedPoint, ChartSelectionChangeEvent, ChartSelectionChangeSource, ChartSelectionMode, ChartSeriesFamily, ChartSeriesStyle, ChartSeriesType, ChartSeriesVisibilityEvent, ChartSize, ChartSliceContext, ChartSliceLabelTemplateContext, ChartSliceVisibilityEvent, ChartStackMode, ChartSubtitleTemplateContext, ChartSvgExportOptions, ChartSynchronizationAxisMapping, ChartSynchronizationInput, ChartSynchronizationMode, ChartSynchronizationOptions, ChartTitleTemplateContext, ChartTooltipPointContext, ChartTooltipTemplateContext, ChartTreemapLabelTemplateContext, ChartTreemapNodeVisibilityEvent, ChartTreemapSort, ChartTreemapTile, ChartValueAccessor, ChartValueFormatter, ChartViewportAxisRef, ChartViewportChangeEvent, ChartViewportChangePhase, ChartViewportChangeSource, ChartViewportConstraint, ChartViewportLinkGroup, ChartViewportLinkMode, ChartViewportState, ChartViewportSynchronizationOptions, ChartViewportWindow, ChartWaterfallDatumKind, ChartWaterfallLabelTemplateContext, ChartWaterfallPointContext, ChartWaterfallPointValue, ChartWaterfallVisualKind, ChartXAxisPosition, ChartXAxisType, ChartYAxisPosition, ChartYAxisType, HeatmapCellClickEvent, HeatmapColorStop };
|
|
@@ -1,26 +1,35 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
import { TemplateRef } from '@angular/core';
|
|
3
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
5
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
7
|
|
|
8
|
+
declare const CHIP_DEFAULT_MESSAGES: {
|
|
9
|
+
removeLabel: (label?: string) => string;
|
|
10
|
+
};
|
|
11
|
+
|
|
7
12
|
declare const chipThemeVariants: (props?: ({
|
|
8
13
|
disabled?: boolean | null | undefined;
|
|
14
|
+
interactive?: boolean | null | undefined;
|
|
9
15
|
look?: "default" | "primary" | "success" | "error" | "warning" | "info" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
10
16
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
11
17
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
12
18
|
selected?: boolean | null | undefined;
|
|
13
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
20
|
type ChipVariantProps = VariantProps<typeof chipThemeVariants>;
|
|
15
|
-
type ChipVariantInputs = VariantInputs<ChipVariantProps
|
|
21
|
+
type ChipVariantInputs = VariantInputs<Omit<ChipVariantProps, "interactive">>;
|
|
16
22
|
|
|
17
23
|
declare class ChipComponent implements ChipVariantInputs {
|
|
18
24
|
#private;
|
|
19
25
|
protected readonly ariaChecked: _angular_core.Signal<"true" | "false" | undefined>;
|
|
20
26
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
27
|
+
protected readonly bodyInteractive: _angular_core.Signal<boolean>;
|
|
21
28
|
protected readonly effectiveAriaLabel: _angular_core.Signal<string | undefined>;
|
|
22
29
|
protected readonly effectiveTabIndex: _angular_core.Signal<string | number>;
|
|
23
30
|
protected readonly iconSize: _angular_core.Signal<13 | 14 | 16>;
|
|
31
|
+
protected readonly isLink: _angular_core.Signal<boolean>;
|
|
32
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaChipMessages>;
|
|
24
33
|
protected readonly prefixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
25
34
|
protected readonly role: _angular_core.Signal<"checkbox" | undefined>;
|
|
26
35
|
/**
|
|
@@ -30,8 +39,8 @@ declare class ChipComponent implements ChipVariantInputs {
|
|
|
30
39
|
*/
|
|
31
40
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
32
41
|
/**
|
|
33
|
-
* @description Emitted when
|
|
34
|
-
* Not emitted when the remove button is activated.
|
|
42
|
+
* @description Emitted when a toggleable chip body is activated via click, Enter, or Space.
|
|
43
|
+
* Not emitted when the remove button is activated or for non-toggleable chips.
|
|
35
44
|
*/
|
|
36
45
|
readonly contentClick: _angular_core.OutputEmitterRef<void>;
|
|
37
46
|
/**
|
|
@@ -89,7 +98,7 @@ declare class ChipComponent implements ChipVariantInputs {
|
|
|
89
98
|
readonly size: _angular_core.InputSignal<"large" | "medium" | "small" | null | undefined>;
|
|
90
99
|
/**
|
|
91
100
|
* @description Tab index override for the chip host element. When not set, computed automatically:
|
|
92
|
-
* `0` when `toggleable`
|
|
101
|
+
* `0` when `toggleable` is `true` or functioning as a link, `-1` otherwise. Overridden to `-1` when `disabled` is `true`.
|
|
93
102
|
* @default undefined
|
|
94
103
|
*/
|
|
95
104
|
readonly tabindex: _angular_core.InputSignal<string | number | undefined>;
|
|
@@ -125,5 +134,5 @@ declare class ChipPrefixTemplateDirective {
|
|
|
125
134
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChipPrefixTemplateDirective, "ng-template[monaChipPrefixTemplate]", never, {}, {}, never, never, true, never>;
|
|
126
135
|
}
|
|
127
136
|
|
|
128
|
-
export { ChipComponent, ChipPrefixTemplateDirective };
|
|
137
|
+
export { CHIP_DEFAULT_MESSAGES, ChipComponent, ChipPrefixTemplateDirective };
|
|
129
138
|
export type { ChipVariantProps };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { MonaColorGradientMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { Signal, ElementRef } from '@angular/core';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -74,6 +76,7 @@ declare class ColorGradientComponent implements ColorGradientVariantInputs, Form
|
|
|
74
76
|
protected readonly hueValue$: Subject<number>;
|
|
75
77
|
protected readonly invalidState: Signal<boolean>;
|
|
76
78
|
protected readonly lastSelectedColor: _angular_core.WritableSignal<string>;
|
|
79
|
+
protected readonly messages: Signal<_nanahoshi_mona_ui_i18n.MonaColorGradientMessages>;
|
|
77
80
|
protected readonly rgb: _angular_core.WritableSignal<RGB>;
|
|
78
81
|
protected readonly selectedColor: Signal<string>;
|
|
79
82
|
protected readonly sliderHandleClasses: Signal<string>;
|
|
@@ -196,5 +199,7 @@ declare class ColorGradientComponent implements ColorGradientVariantInputs, Form
|
|
|
196
199
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorGradientComponent, "mona-color-gradient", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "opacity": { "alias": "opacity"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "showHexInput": { "alias": "showHexInput"; "required": false; "isSignal": true; }; "showColorInputs": { "alias": "showColorInputs"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "apply": "apply"; "cancel": "cancel"; "touch": "touch"; "value": "valueChange"; }, never, never, true, never>;
|
|
197
200
|
}
|
|
198
201
|
|
|
199
|
-
|
|
202
|
+
declare const COLOR_GRADIENT_DEFAULT_MESSAGES: MonaColorGradientMessages;
|
|
203
|
+
|
|
204
|
+
export { COLOR_GRADIENT_DEFAULT_MESSAGES, ColorGradientComponent };
|
|
200
205
|
export type { ColorGradientVariantProps };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { MonaColorPaletteMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { Signal } from '@angular/core';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -19,13 +21,20 @@ type ColorPaletteVariantInput = ColorPaletteBaseVariantInput & ColorPaletteItemV
|
|
|
19
21
|
|
|
20
22
|
declare class ColorPaletteComponent implements ColorPaletteVariantInput, FormValueControl<string | null> {
|
|
21
23
|
#private;
|
|
24
|
+
protected readonly isRtl: Signal<boolean>;
|
|
25
|
+
protected readonly activeColorIndex: Signal<number>;
|
|
22
26
|
protected readonly baseClasses: Signal<string>;
|
|
23
|
-
protected readonly colorScheme: Signal<ColorScheme>;
|
|
24
|
-
protected readonly paletteItemClasses: Signal<string>;
|
|
25
27
|
protected readonly colorRows: Signal<string[][]>;
|
|
28
|
+
protected readonly colorScheme: Signal<ColorScheme>;
|
|
26
29
|
protected readonly focusedColorIndex: _angular_core.WritableSignal<number>;
|
|
27
|
-
protected readonly activeColorIndex: Signal<number>;
|
|
28
30
|
protected readonly invalidState: Signal<boolean>;
|
|
31
|
+
protected readonly messages: Signal<_nanahoshi_mona_ui_i18n.MonaColorPaletteMessages>;
|
|
32
|
+
protected readonly paletteItemClasses: Signal<string>;
|
|
33
|
+
/**
|
|
34
|
+
* @description Accessible label for the color palette grid.
|
|
35
|
+
* @default ""
|
|
36
|
+
*/
|
|
37
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
29
38
|
/**
|
|
30
39
|
* @description The number of columns in the color palette grid.
|
|
31
40
|
* Only applicable when using a custom palette.
|
|
@@ -55,17 +64,17 @@ declare class ColorPaletteComponent implements ColorPaletteVariantInput, FormVal
|
|
|
55
64
|
* @default false
|
|
56
65
|
*/
|
|
57
66
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* @description Border-radius preset applied to the color palette items.
|
|
60
|
-
* @default "none"
|
|
61
|
-
*/
|
|
62
|
-
readonly rounded: _angular_core.InputSignal<"none" | "small" | "medium" | "large" | "full" | null | undefined>;
|
|
63
67
|
/**
|
|
64
68
|
* @description Sets whether the color palette is required. When bound to a signal form field via `[formField]`,
|
|
65
69
|
* this is written by the `FormField` directive.
|
|
66
70
|
* @default false
|
|
67
71
|
*/
|
|
68
72
|
readonly required: _angular_core.InputSignal<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* @description Border-radius preset applied to the color palette items.
|
|
75
|
+
* @default "none"
|
|
76
|
+
*/
|
|
77
|
+
readonly rounded: _angular_core.InputSignal<"none" | "small" | "medium" | "large" | "full" | null | undefined>;
|
|
69
78
|
/**
|
|
70
79
|
* @description The size of each tile in the color palette grid.
|
|
71
80
|
* @default 18
|
|
@@ -94,8 +103,10 @@ declare class ColorPaletteComponent implements ColorPaletteVariantInput, FormVal
|
|
|
94
103
|
protected onKeyDown(event: KeyboardEvent, colorIndex: number): void;
|
|
95
104
|
private getColorScheme;
|
|
96
105
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPaletteComponent, never>;
|
|
97
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPaletteComponent, "mona-color-palette", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "
|
|
106
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPaletteComponent, "mona-color-palette", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "tileSize": { "alias": "tileSize"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "touch": "touch"; "value": "valueChange"; }, never, never, true, never>;
|
|
98
107
|
}
|
|
99
108
|
|
|
100
|
-
|
|
109
|
+
declare const COLOR_PALETTE_DEFAULT_MESSAGES: MonaColorPaletteMessages;
|
|
110
|
+
|
|
111
|
+
export { COLOR_PALETTE_DEFAULT_MESSAGES, ColorPaletteComponent };
|
|
101
112
|
export type { ColorPaletteVariantProps };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, Signal, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
4
|
+
import { MonaColorPickerMessages } from '@nanahoshi/mona-ui/i18n';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
4
6
|
import { PaletteType } from '@nanahoshi/mona-ui/common';
|
|
5
7
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -29,12 +31,18 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
29
31
|
protected readonly baseClasses: Signal<string>;
|
|
30
32
|
protected readonly colorClasses: Signal<string>;
|
|
31
33
|
protected readonly expanded: Signal<boolean>;
|
|
32
|
-
protected readonly invalidState: Signal<boolean>;
|
|
33
34
|
protected readonly gradientPopupClasses = "\n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n border border-border shadow-(--shadow-overlay)";
|
|
35
|
+
protected readonly invalidState: Signal<boolean>;
|
|
36
|
+
protected readonly messages: Signal<_nanahoshi_mona_ui_i18n.MonaColorPickerMessages>;
|
|
34
37
|
protected readonly palettePopupClasses = "flex flex-col p-0.5 \n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n border border-border shadow-(--shadow-overlay) outline-none";
|
|
35
38
|
protected readonly popupId: string;
|
|
36
|
-
protected readonly popupTemplate: Signal<TemplateRef<
|
|
39
|
+
protected readonly popupTemplate: Signal<TemplateRef<void>>;
|
|
37
40
|
protected readonly valueTemplate: Signal<TemplateRef<any> | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* @description Accessible label for the color picker combobox.
|
|
43
|
+
* @default ""
|
|
44
|
+
*/
|
|
45
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
38
46
|
/**
|
|
39
47
|
* @description Whether to close the color picker when a color is selected.
|
|
40
48
|
* Only applies when the view is set to "palette".
|
|
@@ -77,6 +85,12 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
77
85
|
* @default false
|
|
78
86
|
*/
|
|
79
87
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* @description Sets whether the color picker is required. When bound to a signal form field via `[formField]`,
|
|
90
|
+
* this is written by the `FormField` directive.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
80
94
|
/**
|
|
81
95
|
* @description Border-radius preset applied to the color picker.
|
|
82
96
|
* @default "medium"
|
|
@@ -93,18 +107,6 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
93
107
|
* @default "medium"
|
|
94
108
|
*/
|
|
95
109
|
readonly size: _angular_core.InputSignal<"small" | "medium" | "large" | null | undefined>;
|
|
96
|
-
/**
|
|
97
|
-
* @description The view mode of the color picker.
|
|
98
|
-
* This can be either "palette" or "gradient".
|
|
99
|
-
* @default "gradient"
|
|
100
|
-
*/
|
|
101
|
-
readonly view: _angular_core.InputSignal<ColorPickerView>;
|
|
102
|
-
/**
|
|
103
|
-
* @description Sets whether the color picker is required. When bound to a signal form field via `[formField]`,
|
|
104
|
-
* this is written by the `FormField` directive.
|
|
105
|
-
* @default false
|
|
106
|
-
*/
|
|
107
|
-
readonly required: _angular_core.InputSignal<boolean>;
|
|
108
110
|
/**
|
|
109
111
|
* @description Emitted when the color picker is interacted with on blur or color selection.
|
|
110
112
|
* The `FormField` directive listens to this to mark the field as touched.
|
|
@@ -121,14 +123,20 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
121
123
|
* @default null
|
|
122
124
|
*/
|
|
123
125
|
readonly value: _angular_core.ModelSignal<string | null>;
|
|
126
|
+
/**
|
|
127
|
+
* @description The view mode of the color picker.
|
|
128
|
+
* This can be either "palette" or "gradient".
|
|
129
|
+
* @default "gradient"
|
|
130
|
+
*/
|
|
131
|
+
readonly view: _angular_core.InputSignal<ColorPickerView>;
|
|
124
132
|
ngOnInit(): void;
|
|
125
133
|
protected onClearClick(): void;
|
|
126
|
-
onColorGradientApply(): void;
|
|
127
|
-
onColorGradientCancel(): void;
|
|
128
|
-
protected onColorGradientValueChange(value: string | null | undefined): void;
|
|
134
|
+
protected onColorGradientApply(): void;
|
|
135
|
+
protected onColorGradientCancel(): void;
|
|
129
136
|
protected onColorGradientTouch(): void;
|
|
130
|
-
protected
|
|
137
|
+
protected onColorGradientValueChange(value: string | null | undefined): void;
|
|
131
138
|
protected onColorPaletteTouch(): void;
|
|
139
|
+
protected onColorPaletteValueChange(value: string | null): void;
|
|
132
140
|
protected onPaletteContainerKeyDown(event: KeyboardEvent): void;
|
|
133
141
|
protected open(): void;
|
|
134
142
|
private close;
|
|
@@ -138,7 +146,7 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
138
146
|
private setKeyboardEventListeners;
|
|
139
147
|
private setupPopupKeyboardHandling;
|
|
140
148
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
141
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "mona-color-picker", never, { "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "opacity": { "alias": "opacity"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "
|
|
149
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "mona-color-picker", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "opacity": { "alias": "opacity"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; }, { "touch": "touch"; "value": "valueChange"; }, ["valueTemplate"], never, true, never>;
|
|
142
150
|
}
|
|
143
151
|
|
|
144
152
|
declare class ColorPickerValueTemplateDirective {
|
|
@@ -150,5 +158,7 @@ interface ColorPickerValueTemplateContext {
|
|
|
150
158
|
$implicit: string;
|
|
151
159
|
}
|
|
152
160
|
|
|
153
|
-
|
|
161
|
+
declare const COLOR_PICKER_DEFAULT_MESSAGES: MonaColorPickerMessages;
|
|
162
|
+
|
|
163
|
+
export { COLOR_PICKER_DEFAULT_MESSAGES, ColorPickerComponent, ColorPickerValueTemplateDirective };
|
|
154
164
|
export type { ColorPickerValueTemplateContext, ColorPickerVariantProps, ColorPickerView };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { MonaComboBoxMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { TemplateRef } from '@angular/core';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -49,6 +51,7 @@ declare class ComboBoxComponent<TData = unknown, TValue = TData> implements Form
|
|
|
49
51
|
protected readonly itemTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
50
52
|
protected readonly listId: string;
|
|
51
53
|
protected readonly listPopupClass: _angular_core.Signal<string>;
|
|
54
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaComboBoxMessages>;
|
|
52
55
|
protected readonly noDataTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
53
56
|
protected readonly popupTemplate: _angular_core.Signal<TemplateRef<any>>;
|
|
54
57
|
protected readonly prefixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
@@ -243,5 +246,7 @@ declare class ComboBoxComponent<TData = unknown, TValue = TData> implements Form
|
|
|
243
246
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ComboBoxComponent<any, any>, "mona-combo-box", never, { "allowCustomValue": { "alias": "allowCustomValue"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupHeight": { "alias": "popupHeight"; "required": false; "isSignal": true; }; "popupWidth": { "alias": "popupWidth"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "close": "close"; "closed": "closed"; "disabled": "disabledChange"; "open": "open"; "opened": "opened"; "touch": "touch"; "valueAdd": "valueAdd"; "value": "valueChange"; }, ["footerTemplate", "groupHeaderTemplate", "headerTemplate", "itemTemplate", "noDataTemplate", "prefixTemplate"], never, true, [{ directive: typeof i1.DropdownDataHandlerDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DropdownListPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
|
|
244
247
|
}
|
|
245
248
|
|
|
246
|
-
|
|
249
|
+
declare const COMBO_BOX_DEFAULT_MESSAGES: MonaComboBoxMessages;
|
|
250
|
+
|
|
251
|
+
export { COMBO_BOX_DEFAULT_MESSAGES, ComboBoxComponent };
|
|
247
252
|
export type { ComboBoxVariantProps };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { MonaDatePickerMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { TemplateRef } from '@angular/core';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -30,6 +32,7 @@ declare class DatePickerComponent implements FormValueControl<Date | null>, Drop
|
|
|
30
32
|
protected readonly expanded: _angular_core.Signal<boolean>;
|
|
31
33
|
protected readonly inputAttributes: _angular_core.Signal<AttributeConfig>;
|
|
32
34
|
protected readonly invalidState: _angular_core.Signal<boolean>;
|
|
35
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaDatePickerMessages>;
|
|
33
36
|
protected readonly monthCellTemplate: _angular_core.Signal<CalendarMonthCellTemplateDirective | undefined>;
|
|
34
37
|
protected readonly navigatedDate: _angular_core.WritableSignal<Date>;
|
|
35
38
|
protected readonly pickerPopupClass: _angular_core.Signal<string>;
|
|
@@ -153,6 +156,7 @@ declare class DatePickerComponent implements FormValueControl<Date | null>, Drop
|
|
|
153
156
|
*/
|
|
154
157
|
readonly weekNumber: _angular_core.InputSignal<boolean>;
|
|
155
158
|
constructor();
|
|
159
|
+
focus(): void;
|
|
156
160
|
protected onCalendarValueChange(date: Date | Date[] | null): void;
|
|
157
161
|
protected onDateInputBlur(): void;
|
|
158
162
|
protected onDateInputButtonClick(): void;
|
|
@@ -160,7 +164,6 @@ declare class DatePickerComponent implements FormValueControl<Date | null>, Drop
|
|
|
160
164
|
private closePopup;
|
|
161
165
|
private compareDatesEqual;
|
|
162
166
|
private dateStringEquals;
|
|
163
|
-
focus(): void;
|
|
164
167
|
private handleKeydown;
|
|
165
168
|
private isDateDisabledByInput;
|
|
166
169
|
private openPopup;
|
|
@@ -172,5 +175,7 @@ declare class DatePickerComponent implements FormValueControl<Date | null>, Drop
|
|
|
172
175
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "mona-date-picker", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "firstDay": { "alias": "firstDay"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupHeight": { "alias": "popupHeight"; "required": false; "isSignal": true; }; "popupWidth": { "alias": "popupWidth"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "weekNumber": { "alias": "weekNumber"; "required": false; "isSignal": true; }; }, { "close": "close"; "closed": "closed"; "open": "open"; "opened": "opened"; "touch": "touch"; "value": "valueChange"; }, ["decadeCellTemplate", "monthCellTemplate", "prefixTemplate", "yearCellTemplate"], never, true, [{ directive: typeof i1.DropdownPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
|
|
173
176
|
}
|
|
174
177
|
|
|
175
|
-
|
|
178
|
+
declare const DATE_PICKER_DEFAULT_MESSAGES: MonaDatePickerMessages;
|
|
179
|
+
|
|
180
|
+
export { DATE_PICKER_DEFAULT_MESSAGES, DatePickerComponent };
|
|
176
181
|
export type { DatePickerVariantInput, DatePickerVariantProps };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { MonaDateTimePickerMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { TemplateRef } from '@angular/core';
|
|
3
5
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -6,14 +8,17 @@ import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
|
6
8
|
import { DateDisabledType, HourFormat } from '@nanahoshi/mona-ui/date-input';
|
|
7
9
|
import * as i1 from '@nanahoshi/mona-ui/dropdowns';
|
|
8
10
|
import { DropdownPopupInput } from '@nanahoshi/mona-ui/dropdowns';
|
|
9
|
-
import { AttributeConfig } from '@nanahoshi/mona-ui/internal';
|
|
11
|
+
import { AttributeConfig, VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
10
12
|
import { ListSizeInputType } from '@nanahoshi/mona-ui/internal/list';
|
|
11
13
|
import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
14
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
15
|
+
import { VariantProps } from 'class-variance-authority';
|
|
12
16
|
|
|
13
17
|
type ActiveView = "date" | "time";
|
|
14
18
|
|
|
15
19
|
declare class DateTimePickerComponent implements FormValueControl<Date | null>, DropdownPopupInput {
|
|
16
20
|
#private;
|
|
21
|
+
protected readonly isRtl: _angular_core.Signal<boolean>;
|
|
17
22
|
protected readonly activeView: _angular_core.WritableSignal<ActiveView>;
|
|
18
23
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
19
24
|
protected readonly currentDateString: _angular_core.WritableSignal<string>;
|
|
@@ -23,6 +28,7 @@ declare class DateTimePickerComponent implements FormValueControl<Date | null>,
|
|
|
23
28
|
protected readonly headerClass: _angular_core.Signal<string>;
|
|
24
29
|
protected readonly inputAttributes: _angular_core.Signal<AttributeConfig>;
|
|
25
30
|
protected readonly invalidState: _angular_core.Signal<boolean>;
|
|
31
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaDateTimePickerMessages>;
|
|
26
32
|
protected readonly monthCellTemplate: _angular_core.Signal<CalendarMonthCellTemplateDirective | undefined>;
|
|
27
33
|
protected readonly navigatedDate: _angular_core.WritableSignal<Date>;
|
|
28
34
|
protected readonly pickerPopupClass: _angular_core.Signal<string>;
|
|
@@ -172,28 +178,47 @@ declare class DateTimePickerComponent implements FormValueControl<Date | null>,
|
|
|
172
178
|
*/
|
|
173
179
|
readonly weekNumber: _angular_core.InputSignal<boolean>;
|
|
174
180
|
constructor();
|
|
175
|
-
|
|
181
|
+
focus(): void;
|
|
176
182
|
protected onCalendarValueChange(date: Date | Date[] | null): void;
|
|
183
|
+
protected onCancelClick(): void;
|
|
177
184
|
protected onDateInputBlur(): void;
|
|
178
185
|
protected onDateInputButtonClick(): void;
|
|
179
186
|
protected onDateStringEdit(dateString: string): void;
|
|
180
187
|
protected onSetDateClick(): void;
|
|
181
188
|
protected onTimeSelectorValueChange(date: Date | null): void;
|
|
189
|
+
private closePopup;
|
|
182
190
|
private compareDatesEqual;
|
|
183
191
|
private dateStringEquals;
|
|
184
|
-
focus(): void;
|
|
185
|
-
private isDateDisabledByInput;
|
|
186
|
-
private setCurrentDate;
|
|
187
|
-
private closePopup;
|
|
188
192
|
private handleKeydown;
|
|
193
|
+
private isDateDisabledByInput;
|
|
189
194
|
private openPopup;
|
|
195
|
+
private setCurrentDate;
|
|
190
196
|
private setKeyboardSubscriptions;
|
|
191
197
|
private setPopupCloseSubscriptions;
|
|
192
198
|
private setSubscriptions;
|
|
193
|
-
private updateDateIfNotInRange;
|
|
194
199
|
private updateCurrentDateString;
|
|
200
|
+
private updateDateIfNotInRange;
|
|
195
201
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
196
202
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateTimePickerComponent, "mona-datetime-picker", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "firstDay": { "alias": "firstDay"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "hourStep": { "alias": "hourStep"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupHeight": { "alias": "popupHeight"; "required": false; "isSignal": true; }; "popupWidth": { "alias": "popupWidth"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "secondStep": { "alias": "secondStep"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "weekNumber": { "alias": "weekNumber"; "required": false; "isSignal": true; }; }, { "close": "close"; "closed": "closed"; "open": "open"; "opened": "opened"; "touch": "touch"; "value": "valueChange"; }, ["decadeCellTemplate", "monthCellTemplate", "prefixTemplate", "yearCellTemplate"], never, true, [{ directive: typeof i1.DropdownPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
|
|
197
203
|
}
|
|
198
204
|
|
|
199
|
-
|
|
205
|
+
declare const DATETIME_PICKER_DEFAULT_MESSAGES: MonaDateTimePickerMessages;
|
|
206
|
+
|
|
207
|
+
declare const dateTimePickerBaseThemeVariants: (props?: ({
|
|
208
|
+
focused?: boolean | null | undefined;
|
|
209
|
+
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
210
|
+
size?: "large" | "medium" | "small" | null | undefined;
|
|
211
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
212
|
+
declare const dateTimePickerHeaderThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
213
|
+
declare const dateTimePickerFooterThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
214
|
+
type DateTimePickerBaseVariantProps = VariantProps<typeof dateTimePickerBaseThemeVariants>;
|
|
215
|
+
type DateTimePickerBaseVariantInput = VariantInputs<DateTimePickerBaseVariantProps>;
|
|
216
|
+
type DateTimePickerHeaderVariantProps = VariantProps<typeof dateTimePickerHeaderThemeVariants>;
|
|
217
|
+
type DateTimePickerHeaderVariantInput = VariantInputs<DateTimePickerHeaderVariantProps>;
|
|
218
|
+
type DateTimePickerFooterVariantProps = VariantProps<typeof dateTimePickerFooterThemeVariants>;
|
|
219
|
+
type DateTimePickerFooterVariantInput = VariantInputs<DateTimePickerFooterVariantProps>;
|
|
220
|
+
type DateTimePickerVariantProps = DateTimePickerBaseVariantProps & DateTimePickerHeaderVariantProps & DateTimePickerFooterVariantProps;
|
|
221
|
+
type DateTimePickerVariantInput = Omit<DateTimePickerBaseVariantInput, "focused"> & DateTimePickerHeaderVariantInput & DateTimePickerFooterVariantInput;
|
|
222
|
+
|
|
223
|
+
export { DATETIME_PICKER_DEFAULT_MESSAGES, DateTimePickerComponent };
|
|
224
|
+
export type { DateTimePickerVariantInput, DateTimePickerVariantProps };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
2
|
+
import { DialogMessages, MonaDialogMessages } from '@nanahoshi/mona-ui/i18n';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { ElementRef, TemplateRef, ComponentRef } from '@angular/core';
|
|
3
5
|
import { PopupCloseEvent, PopupRef } from '@nanahoshi/mona-ui/popup';
|
|
@@ -79,15 +81,15 @@ declare class DialogComponent implements DialogVariantInput {
|
|
|
79
81
|
* This event is preventable.
|
|
80
82
|
*/
|
|
81
83
|
readonly close: _angular_core.OutputEmitterRef<PopupCloseEvent<unknown>>;
|
|
82
|
-
/**
|
|
83
|
-
* @description Emits when the dialog is closed.
|
|
84
|
-
*/
|
|
85
|
-
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
86
84
|
/**
|
|
87
85
|
* @description Sets whether the dialog should close when the escape key is pressed.
|
|
88
86
|
* @default true
|
|
89
87
|
*/
|
|
90
88
|
readonly closeOnEscape: _angular_core.InputSignal<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* @description Emits when the dialog is closed.
|
|
91
|
+
*/
|
|
92
|
+
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
91
93
|
/**
|
|
92
94
|
* @description Sets the description of the dialog.
|
|
93
95
|
*/
|
|
@@ -113,6 +115,10 @@ declare class DialogComponent implements DialogVariantInput {
|
|
|
113
115
|
* @description Sets the maximum width of the dialog.
|
|
114
116
|
*/
|
|
115
117
|
readonly maxWidth: _angular_core.InputSignal<number | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* @description Sets the custom messages for the dialog.
|
|
120
|
+
*/
|
|
121
|
+
readonly messages: _angular_core.InputSignal<Partial<_nanahoshi_mona_ui_i18n.MonaDialogMessages> | undefined>;
|
|
116
122
|
/**
|
|
117
123
|
* @description Sets the minimum height of the dialog.
|
|
118
124
|
*/
|
|
@@ -155,7 +161,7 @@ declare class DialogComponent implements DialogVariantInput {
|
|
|
155
161
|
readonly width: _angular_core.InputSignal<number | undefined>;
|
|
156
162
|
constructor();
|
|
157
163
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
158
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "mona-dialog", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "focusedElement": { "alias": "focusedElement"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "left": { "alias": "left"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "top": { "alias": "top"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "action": "action"; "close": "close"; "closed": "closed"; }, ["contentTemplate", "descriptionTemplate", "footerTemplate", "iconTemplate", "titleTemplate"], never, true, never>;
|
|
164
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "mona-dialog", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "focusedElement": { "alias": "focusedElement"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "left": { "alias": "left"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "top": { "alias": "top"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, { "action": "action"; "close": "close"; "closed": "closed"; }, ["contentTemplate", "descriptionTemplate", "footerTemplate", "iconTemplate", "titleTemplate"], never, true, never>;
|
|
159
165
|
}
|
|
160
166
|
|
|
161
167
|
declare class DialogContentTemplateDirective {
|
|
@@ -205,6 +211,7 @@ interface DialogSettings {
|
|
|
205
211
|
left?: number;
|
|
206
212
|
maxHeight?: number;
|
|
207
213
|
maxWidth?: number;
|
|
214
|
+
messages?: Partial<DialogMessages>;
|
|
208
215
|
minHeight?: number;
|
|
209
216
|
minWidth?: number;
|
|
210
217
|
modal?: boolean;
|
|
@@ -219,7 +226,6 @@ interface DialogSettings {
|
|
|
219
226
|
|
|
220
227
|
interface DialogRefParams<R = unknown> {
|
|
221
228
|
close: (result?: R) => void;
|
|
222
|
-
update: (data: Partial<DialogSettings>) => void;
|
|
223
229
|
get close$(): Observable<PopupCloseEvent<R>>;
|
|
224
230
|
get closed$(): Observable<void>;
|
|
225
231
|
get component(): ComponentRef<unknown> | null;
|
|
@@ -227,6 +233,7 @@ interface DialogRefParams<R = unknown> {
|
|
|
227
233
|
get height(): number;
|
|
228
234
|
get popupRef(): PopupRef;
|
|
229
235
|
get result(): Observable<DialogResult>;
|
|
236
|
+
update: (data: Partial<DialogSettings>) => void;
|
|
230
237
|
get width(): number;
|
|
231
238
|
}
|
|
232
239
|
|
|
@@ -256,5 +263,7 @@ declare class DialogService {
|
|
|
256
263
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DialogService>;
|
|
257
264
|
}
|
|
258
265
|
|
|
259
|
-
|
|
266
|
+
declare const DIALOG_DEFAULT_MESSAGES: MonaDialogMessages;
|
|
267
|
+
|
|
268
|
+
export { DIALOG_DEFAULT_MESSAGES, DialogActionEvent, DialogComponent, DialogContentTemplateDirective, DialogDescriptionTemplateDirective, DialogFooterTemplateDirective, DialogIconTemplateDirective, DialogRef, DialogService, DialogTitleTemplateDirective };
|
|
260
269
|
export type { ActionsLayout, DialogAction, DialogResult, DialogSettings, DialogVariantProps };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as _nanahoshi_mona_ui_internal_list from '@nanahoshi/mona-ui/internal/list';
|
|
2
2
|
import { SelectableOptions, ListSizeInputType, SelectionChangeEvent } from '@nanahoshi/mona-ui/internal/list';
|
|
3
|
+
import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
|
|
4
|
+
import { MonaDropdownListMessages } from '@nanahoshi/mona-ui/i18n';
|
|
3
5
|
import * as _angular_core from '@angular/core';
|
|
4
6
|
import { TemplateRef } from '@angular/core';
|
|
5
7
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -47,6 +49,7 @@ declare class DropdownListComponent<TData = unknown, TValue = TData> implements
|
|
|
47
49
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
48
50
|
protected readonly listId: string;
|
|
49
51
|
protected readonly listPopupClass: _angular_core.Signal<string>;
|
|
52
|
+
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaDropdownListMessages>;
|
|
50
53
|
protected readonly noDataTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
51
54
|
protected readonly popupTemplate: _angular_core.Signal<TemplateRef<any>>;
|
|
52
55
|
protected readonly prefixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
@@ -230,5 +233,7 @@ declare class DropdownListValueTemplateDirective {
|
|
|
230
233
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DropdownListValueTemplateDirective, "ng-template[monaDropDownListValueTemplate]", never, {}, {}, never, never, true, never>;
|
|
231
234
|
}
|
|
232
235
|
|
|
233
|
-
|
|
236
|
+
declare const DROPDOWN_LIST_DEFAULT_MESSAGES: MonaDropdownListMessages;
|
|
237
|
+
|
|
238
|
+
export { DROPDOWN_LIST_DEFAULT_MESSAGES, DropdownListComponent, DropdownListValueTemplateDirective };
|
|
234
239
|
export type { DropDownListVariantProps };
|