@nanahoshi/mona-ui 0.24.10 → 0.25.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 +9 -0
- package/chart/README.md +223 -77
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +11 -10
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +37 -20
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +239 -47
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +184 -31
- package/fesm2022/nanahoshi-mona-ui-button.mjs +47 -11
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +17 -13
- package/fesm2022/nanahoshi-mona-ui-card.mjs +54 -30
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +1909 -666
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +112 -31
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +131 -89
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +59 -19
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +118 -41
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +243 -212
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +155 -86
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +161 -131
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +12 -11
- package/fesm2022/nanahoshi-mona-ui-common.mjs +18 -1
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +25 -24
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +202 -33
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +31 -10
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +1 -1
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs → nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs → nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs} +7 -7
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs} +27 -29
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +146 -5
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +183 -47
- package/fesm2022/nanahoshi-mona-ui-label.mjs +111 -15
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +111 -5
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +100 -6
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +105 -5
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +14 -13
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +13 -12
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +192 -56
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -1
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +60 -29
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +334 -37
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +84 -30
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +274 -108
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +127 -37
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +595 -170
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -2
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +323 -166
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +167 -82
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +273 -165
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +219 -132
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +84 -32
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +337 -116
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +10 -12
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +21 -8
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +444 -88
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +15 -14
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +17 -3
- package/fesm2022/nanahoshi-mona-ui-window.mjs +1 -1
- package/i18n/catalogs/en-US.messages.json +90 -5
- package/locales/ar-sa/ar-sa.messages.json +90 -5
- package/locales/de-de/de-de.messages.json +90 -5
- package/locales/es-es/es-es.messages.json +90 -5
- package/locales/fr-fr/fr-fr.messages.json +91 -6
- package/locales/id-id/id-id.messages.json +90 -5
- package/locales/it-it/it-it.messages.json +90 -5
- package/locales/ja-jp/ja-jp.messages.json +90 -5
- package/locales/ko-kr/ko-kr.messages.json +90 -5
- package/locales/pt-br/pt-br.messages.json +90 -5
- package/locales/ru-ru/ru-ru.messages.json +90 -5
- package/locales/tr-tr/tr-tr.messages.json +90 -5
- package/locales/zh-cn/zh-cn.messages.json +90 -5
- package/locales/zh-tw/zh-tw.messages.json +90 -5
- package/package.json +2 -1
- package/styles.css +156 -0
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -0
- package/types/nanahoshi-mona-ui-avatar.d.ts +18 -11
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +62 -14
- package/types/nanahoshi-mona-ui-button-group.d.ts +86 -16
- package/types/nanahoshi-mona-ui-button.d.ts +26 -3
- package/types/nanahoshi-mona-ui-calendar.d.ts +1 -0
- package/types/nanahoshi-mona-ui-card.d.ts +22 -6
- package/types/nanahoshi-mona-ui-chart.d.ts +519 -527
- package/types/nanahoshi-mona-ui-check-box.d.ts +54 -13
- package/types/nanahoshi-mona-ui-chip.d.ts +31 -18
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +21 -5
- package/types/nanahoshi-mona-ui-collapsible.d.ts +20 -11
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +62 -36
- package/types/nanahoshi-mona-ui-color-palette.d.ts +65 -27
- package/types/nanahoshi-mona-ui-color-picker.d.ts +64 -23
- package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -0
- package/types/nanahoshi-mona-ui-common.d.ts +28 -2
- package/types/nanahoshi-mona-ui-date-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +1 -0
- package/types/nanahoshi-mona-ui-editor.d.ts +1 -0
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +51 -7
- package/types/nanahoshi-mona-ui-fieldset.d.ts +18 -4
- package/types/nanahoshi-mona-ui-grid.d.ts +0 -1
- package/types/nanahoshi-mona-ui-i18n.d.ts +130 -3
- package/types/nanahoshi-mona-ui-internal.d.ts +95 -14
- package/types/nanahoshi-mona-ui-label.d.ts +17 -2
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +85 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +1 -0
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -0
- package/types/nanahoshi-mona-ui-otp-input.d.ts +49 -12
- package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -1
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +21 -9
- package/types/nanahoshi-mona-ui-radio-button.d.ts +165 -20
- package/types/nanahoshi-mona-ui-rating.d.ts +21 -6
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +59 -27
- package/types/nanahoshi-mona-ui-segmented.d.ts +52 -24
- package/types/nanahoshi-mona-ui-sidebar.d.ts +104 -41
- package/types/nanahoshi-mona-ui-skeleton.d.ts +1 -1
- package/types/nanahoshi-mona-ui-slider.d.ts +99 -35
- package/types/nanahoshi-mona-ui-spinner.d.ts +9 -5
- package/types/nanahoshi-mona-ui-splitter.d.ts +31 -10
- package/types/nanahoshi-mona-ui-stepper.d.ts +58 -12
- package/types/nanahoshi-mona-ui-switch.d.ts +32 -10
- package/types/nanahoshi-mona-ui-tabs.d.ts +75 -20
- package/types/nanahoshi-mona-ui-text-area.d.ts +7 -7
- package/types/nanahoshi-mona-ui-text-box.d.ts +2 -0
- package/types/nanahoshi-mona-ui-theme.d.ts +392 -15
- package/types/nanahoshi-mona-ui-time-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-time-selector.d.ts +1 -0
- package/types/nanahoshi-mona-ui-tooltip.d.ts +7 -1
|
@@ -38,6 +38,16 @@ interface FilterableOptions {
|
|
|
38
38
|
|
|
39
39
|
type Orientation = "horizontal" | "vertical";
|
|
40
40
|
|
|
41
|
+
/**
|
|
42
|
+
* A swatch with a name of its own, for a palette whose colors mean something, such as brand colors.
|
|
43
|
+
*/
|
|
44
|
+
interface ColorPaletteItem {
|
|
45
|
+
/** Any CSS color. */
|
|
46
|
+
readonly color: string;
|
|
47
|
+
/** What the color is called. Assistive technology reads it, and it shows as a tooltip. */
|
|
48
|
+
readonly name?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
41
51
|
type PaletteType = "flat" | "material" | "websafe";
|
|
42
52
|
|
|
43
53
|
type Position = "top" | "right" | "bottom" | "left";
|
|
@@ -422,6 +432,22 @@ declare const classInputToClass: (input: ClassInputType) => string;
|
|
|
422
432
|
*/
|
|
423
433
|
declare const getPercentage: (value: number, min: number, max: number, precision?: number) => number;
|
|
424
434
|
|
|
435
|
+
interface ProgressRange {
|
|
436
|
+
readonly max: number;
|
|
437
|
+
readonly min: number;
|
|
438
|
+
readonly now: number;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Gives the values a progress indicator can report: `value` clamped into the range, with a non-finite `value` read as
|
|
442
|
+
* `min`, the same place `getPercentage` draws it.
|
|
443
|
+
* @param value The current value.
|
|
444
|
+
* @param min The minimum value.
|
|
445
|
+
* @param max The maximum value.
|
|
446
|
+
* @returns The range and the value within it, or `null` when the range itself is invalid, because `min` or `max` isn't
|
|
447
|
+
* finite or `max` isn't above `min`.
|
|
448
|
+
*/
|
|
449
|
+
declare const normalizeProgressRange: (value: number, min: number, max: number) => ProgressRange | null;
|
|
450
|
+
|
|
425
451
|
/**
|
|
426
452
|
* Moves the items at `indices` by `offset` positions, keeping their relative order. Returns a copy of the array
|
|
427
453
|
* unchanged when the offset is 0 or not an integer, or when any index is not an integer, is out of bounds, or would
|
|
@@ -429,5 +455,5 @@ declare const getPercentage: (value: number, min: number, max: number, precision
|
|
|
429
455
|
*/
|
|
430
456
|
declare function moveIndices<T>(array: T[], indices: number[], offset: number): T[];
|
|
431
457
|
|
|
432
|
-
export { AnyPipe, ContainsPipe, FilterChangeEvent, IterablePatchStore, ObjectPatchStore, PreventableEvent, SlicePipe, TakeFirstPipe, buildNested, classInputToClass, createIterablePatchStore, createObjectPatchStore, deepEquals, deepMerge, getPercentage, isEmptyObject, isPlainObject, mergeInto, mergePatchInto, moveIndices, patchAt, prunePatch, setAt };
|
|
433
|
-
export type { ArrayStrategy, BaseChangeStrategy, ClassInputType, ColorMode, ColorOutputFormat, DataType, DeepMergeOptions, DeepPartial, FilterOperator, FilterableOptions, IIterablePatchStore, IObjectPatchStore, IterablePatchStoreOptions, ObjectPatchStoreOptions, Orientation, PaletteType, Path, PathValue, Position, ScrollDirection, SelectionMode, VirtualScrollOptions };
|
|
458
|
+
export { AnyPipe, ContainsPipe, FilterChangeEvent, IterablePatchStore, ObjectPatchStore, PreventableEvent, SlicePipe, TakeFirstPipe, buildNested, classInputToClass, createIterablePatchStore, createObjectPatchStore, deepEquals, deepMerge, getPercentage, isEmptyObject, isPlainObject, mergeInto, mergePatchInto, moveIndices, normalizeProgressRange, patchAt, prunePatch, setAt };
|
|
459
|
+
export type { ArrayStrategy, BaseChangeStrategy, ClassInputType, ColorMode, ColorOutputFormat, ColorPaletteItem, DataType, DeepMergeOptions, DeepPartial, FilterOperator, FilterableOptions, IIterablePatchStore, IObjectPatchStore, IterablePatchStoreOptions, ObjectPatchStoreOptions, Orientation, PaletteType, Path, PathValue, Position, ProgressRange, ScrollDirection, SelectionMode, VirtualScrollOptions };
|
|
@@ -28,6 +28,7 @@ declare class DatePickerComponent implements FormValueControl<Date | null>, Drop
|
|
|
28
28
|
#private;
|
|
29
29
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
30
30
|
protected readonly decadeCellTemplate: _angular_core.Signal<CalendarDecadeCellTemplateDirective | undefined>;
|
|
31
|
+
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
31
32
|
protected readonly effectiveFormat: _angular_core.Signal<string>;
|
|
32
33
|
protected readonly expanded: _angular_core.Signal<boolean>;
|
|
33
34
|
protected readonly inputAttributes: _angular_core.Signal<AttributeConfig>;
|
|
@@ -22,6 +22,7 @@ declare class DateTimePickerComponent implements FormValueControl<Date | null>,
|
|
|
22
22
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
23
23
|
protected readonly dateTabId: string;
|
|
24
24
|
protected readonly decadeCellTemplate: _angular_core.Signal<CalendarDecadeCellTemplateDirective | undefined>;
|
|
25
|
+
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
25
26
|
protected readonly effectiveFormat: _angular_core.Signal<string>;
|
|
26
27
|
protected readonly effectiveHourFormat: _angular_core.Signal<HourFormat>;
|
|
27
28
|
protected readonly expanded: _angular_core.Signal<boolean>;
|
|
@@ -41,6 +41,7 @@ declare class DropdownListComponent<TData = unknown, TValue = TData> implements
|
|
|
41
41
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
42
42
|
protected readonly clearButtonVisible: _angular_core.Signal<boolean>;
|
|
43
43
|
protected readonly effectiveAriaLabel: _angular_core.Signal<string>;
|
|
44
|
+
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
44
45
|
protected readonly expanded: _angular_core.Signal<boolean>;
|
|
45
46
|
protected readonly footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
46
47
|
protected readonly groupHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
@@ -92,6 +92,7 @@ declare class EditorComponent implements FormValueControl<string> {
|
|
|
92
92
|
protected readonly containerClass: _angular_core.Signal<string>;
|
|
93
93
|
protected readonly editorContainer: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
94
94
|
protected readonly editorService: EditorService;
|
|
95
|
+
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
95
96
|
protected readonly invalidState: _angular_core.Signal<boolean>;
|
|
96
97
|
protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaEditorMessages>;
|
|
97
98
|
protected readonly placeholderClass: _angular_core.Signal<string>;
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef } from '@angular/core';
|
|
3
3
|
import { CollapsibleConfig } from '@nanahoshi/mona-ui/collapsible';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @description
|
|
10
|
+
* Groups `mona-expansion-panel` elements: only one is open at a time unless `multiple` is set, and Up, Down, Home and End
|
|
11
|
+
* move between their headers. Adds no role of its own, as the pattern asks: each panel brings its heading and region.
|
|
12
|
+
*/
|
|
13
|
+
declare class AccordionComponent {
|
|
14
|
+
#private;
|
|
15
|
+
/**
|
|
16
|
+
* @description Lets several panels stay open. Without it, opening a panel closes the others, however it was opened.
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
constructor();
|
|
21
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "mona-accordion", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
8
26
|
declare const expansionPanelBaseThemeVariants: (props?: ({
|
|
9
27
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
10
28
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
+
/**
|
|
30
|
+
* Three columns: title, actions, icon. The heading and its button span them all through subgrid and put the title and
|
|
31
|
+
* icon in the outer two, so the button fills the row while the actions, its sibling, sit in the middle one above it.
|
|
32
|
+
*/
|
|
11
33
|
declare const expansionPanelHeaderThemeVariants: (props?: ({
|
|
12
34
|
collapsed?: boolean | null | undefined;
|
|
35
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
36
|
+
/** Inset focus, because the panel clips anything outside it. */
|
|
37
|
+
declare const expansionPanelTriggerThemeVariants: (props?: ({
|
|
13
38
|
disabled?: boolean | null | undefined;
|
|
14
39
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
40
|
declare const expansionPanelIconContainerThemeVariants: (props?: ({
|
|
@@ -22,21 +47,29 @@ type ExpansionPanelBaseVariantProps = VariantProps<typeof expansionPanelBaseThem
|
|
|
22
47
|
type ExpansionPanelBaseVariantInput = VariantInputs<ExpansionPanelBaseVariantProps>;
|
|
23
48
|
type ExpansionPanelHeaderVariantProps = VariantProps<typeof expansionPanelHeaderThemeVariants>;
|
|
24
49
|
type ExpansionPanelHeaderVariantInput = VariantInputs<ExpansionPanelHeaderVariantProps>;
|
|
50
|
+
type ExpansionPanelTriggerVariantProps = VariantProps<typeof expansionPanelTriggerThemeVariants>;
|
|
51
|
+
type ExpansionPanelTriggerVariantInput = VariantInputs<ExpansionPanelTriggerVariantProps>;
|
|
25
52
|
type ExpansionPanelContentVariantProps = VariantProps<typeof expansionPanelContentThemeVariants>;
|
|
26
53
|
type ExpansionPanelContentVariantInput = VariantInputs<ExpansionPanelContentVariantProps>;
|
|
27
54
|
type ExpansionPanelIconContainerVariantProps = VariantProps<typeof expansionPanelIconContainerThemeVariants>;
|
|
28
55
|
type ExpansionPanelIconContainerVariantInput = VariantInputs<ExpansionPanelIconContainerVariantProps>;
|
|
29
|
-
type ExpansionPanelVariantInput = ExpansionPanelBaseVariantInput & Omit<ExpansionPanelHeaderVariantInput, "collapsed"> & ExpansionPanelContentVariantInput & Omit<ExpansionPanelIconContainerVariantInput, "hasTemplate">;
|
|
56
|
+
type ExpansionPanelVariantInput = ExpansionPanelBaseVariantInput & Omit<ExpansionPanelHeaderVariantInput, "collapsed"> & ExpansionPanelTriggerVariantInput & ExpansionPanelContentVariantInput & Omit<ExpansionPanelIconContainerVariantInput, "hasTemplate">;
|
|
30
57
|
|
|
31
58
|
declare class ExpansionPanelComponent implements ExpansionPanelVariantInput, CollapsibleConfig {
|
|
59
|
+
#private;
|
|
60
|
+
protected readonly actionsClass: _angular_core.Signal<string>;
|
|
32
61
|
protected readonly actionsTemplateList: _angular_core.Signal<readonly TemplateRef<any>[]>;
|
|
33
62
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
34
63
|
protected readonly contentClass: _angular_core.Signal<string>;
|
|
35
64
|
protected readonly headerClass: _angular_core.Signal<string>;
|
|
36
65
|
protected readonly headerTitleClass: _angular_core.Signal<string>;
|
|
66
|
+
protected readonly headingClass: _angular_core.Signal<string>;
|
|
37
67
|
protected readonly iconContainerClass: _angular_core.Signal<string>;
|
|
38
68
|
protected readonly iconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
39
69
|
protected readonly titleTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
70
|
+
protected readonly triggerClass: _angular_core.Signal<string>;
|
|
71
|
+
protected readonly triggerElement: _angular_core.Signal<ElementRef<HTMLButtonElement>>;
|
|
72
|
+
protected readonly triggerId: string;
|
|
40
73
|
/**
|
|
41
74
|
* @description Always enabled. Satisfies the `CollapsibleConfig` contract for `monaCollapsibleTrigger`;
|
|
42
75
|
* this component doesn't use `monaCollapsibleContent`, so no animation ever consults it.
|
|
@@ -44,22 +77,28 @@ declare class ExpansionPanelComponent implements ExpansionPanelVariantInput, Col
|
|
|
44
77
|
readonly animate: _angular_core.Signal<boolean>;
|
|
45
78
|
readonly contentId: string;
|
|
46
79
|
/**
|
|
47
|
-
* @description Disables header
|
|
80
|
+
* @description Disables the header: toggling by click or key, and the actions in it.
|
|
48
81
|
* @default false
|
|
49
82
|
*/
|
|
50
|
-
readonly disabled: _angular_core.
|
|
83
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
51
84
|
/**
|
|
52
85
|
* @description Sets whether the expansion panel is expanded or collapsed.
|
|
53
86
|
* @default false
|
|
54
87
|
*/
|
|
55
88
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* @description The level of the heading around the header's button, from 1 to 6. Set it to fit the page's outline, or
|
|
91
|
+
* to `null` for no heading.
|
|
92
|
+
* @default 3
|
|
93
|
+
*/
|
|
94
|
+
readonly headingLevel: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
56
95
|
/**
|
|
57
96
|
* @description Sets the border radius of the expansion panel.
|
|
58
97
|
* @default "medium"
|
|
59
98
|
*/
|
|
60
99
|
readonly rounded: _angular_core.InputSignal<"small" | "medium" | "large" | "none" | null | undefined>;
|
|
61
100
|
/**
|
|
62
|
-
* @description Sets the title of the expansion panel.
|
|
101
|
+
* @description Sets the title of the expansion panel, which also names its button and region.
|
|
63
102
|
* @default ""
|
|
64
103
|
*/
|
|
65
104
|
readonly title: _angular_core.InputSignal<string>;
|
|
@@ -68,11 +107,16 @@ declare class ExpansionPanelComponent implements ExpansionPanelVariantInput, Col
|
|
|
68
107
|
* @default ""
|
|
69
108
|
*/
|
|
70
109
|
readonly userClass: _angular_core.InputSignal<string>;
|
|
110
|
+
constructor();
|
|
71
111
|
collapse(): void;
|
|
72
112
|
expand(): void;
|
|
113
|
+
/**
|
|
114
|
+
* Moves focus to the panel's header button.
|
|
115
|
+
*/
|
|
116
|
+
focus(): void;
|
|
73
117
|
toggle(): void;
|
|
74
118
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpansionPanelComponent, never>;
|
|
75
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExpansionPanelComponent, "mona-expansion-panel", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "userClass": { "alias": "
|
|
119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExpansionPanelComponent, "mona-expansion-panel", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, ["actionsTemplateList", "iconTemplate", "titleTemplate"], ["*"], true, never>;
|
|
76
120
|
}
|
|
77
121
|
|
|
78
122
|
declare class ExpansionPanelActionsTemplateDirective {
|
|
@@ -90,4 +134,4 @@ declare class ExpansionPanelTitleTemplateDirective {
|
|
|
90
134
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ExpansionPanelTitleTemplateDirective, "ng-template[monaExpansionPanelTitleTemplate]", never, {}, {}, never, never, true, never>;
|
|
91
135
|
}
|
|
92
136
|
|
|
93
|
-
export { ExpansionPanelActionsTemplateDirective, ExpansionPanelComponent, ExpansionPanelIconTemplateDirective, ExpansionPanelTitleTemplateDirective };
|
|
137
|
+
export { AccordionComponent, ExpansionPanelActionsTemplateDirective, ExpansionPanelComponent, ExpansionPanelIconTemplateDirective, ExpansionPanelTitleTemplateDirective };
|
|
@@ -24,20 +24,33 @@ type FieldsetFieldsetVariantProps = VariantProps<typeof fieldsetThemeVariants>;
|
|
|
24
24
|
type FieldsetFieldsetVariantInput = VariantInputs<FieldsetFieldsetVariantProps>;
|
|
25
25
|
type FieldsetLegendVariantProps = VariantProps<typeof fieldsetLegendThemeVariants>;
|
|
26
26
|
type FieldsetLegendVariantInput = VariantInputs<FieldsetLegendVariantProps>;
|
|
27
|
+
type FieldsetVariantProps = FieldsetBaseVariantProps & FieldsetFieldsetVariantProps & FieldsetLegendVariantProps;
|
|
27
28
|
type FieldsetVariantInput = FieldsetBaseVariantInput & FieldsetFieldsetVariantInput & Omit<FieldsetLegendVariantInput, "hasTemplate">;
|
|
28
29
|
|
|
29
30
|
declare class FieldsetComponent implements FieldsetVariantInput {
|
|
31
|
+
#private;
|
|
30
32
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
31
33
|
protected readonly fieldsetClass: _angular_core.Signal<string>;
|
|
32
34
|
protected readonly legendClass: _angular_core.Signal<string>;
|
|
33
35
|
protected readonly legendTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
34
36
|
protected readonly legendVisible: _angular_core.Signal<boolean>;
|
|
35
37
|
/**
|
|
36
|
-
* @description
|
|
37
|
-
*
|
|
38
|
+
* @description Accessible name of the fieldset when it has no legend.
|
|
39
|
+
* @default ""
|
|
40
|
+
*/
|
|
41
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
42
|
+
/**
|
|
43
|
+
* @description Id of the element that labels the fieldset when it has no legend.
|
|
44
|
+
* @default ""
|
|
45
|
+
*/
|
|
46
|
+
readonly ariaLabelledBy: _angular_core.InputSignal<string>;
|
|
47
|
+
/**
|
|
48
|
+
* @description Whether the fieldset and the Mona UI form controls inside it are disabled, including nested fieldsets.
|
|
49
|
+
* Reflected as the native `disabled` attribute on the rendered `<fieldset>`, which also covers native controls.
|
|
50
|
+
* A signal form field inside stays enabled in the form model, so its validation keeps running.
|
|
38
51
|
* @default false
|
|
39
52
|
*/
|
|
40
|
-
readonly disabled: _angular_core.
|
|
53
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
54
|
/**
|
|
42
55
|
* @description The legend text of the fieldset. Shown in the top border as a labelled notch.
|
|
43
56
|
* Ignored when `monaFieldsetLegendTemplate` is provided.
|
|
@@ -60,7 +73,8 @@ declare class FieldsetComponent implements FieldsetVariantInput {
|
|
|
60
73
|
*/
|
|
61
74
|
readonly userClass: _angular_core.InputSignal<string>;
|
|
62
75
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldsetComponent, never>;
|
|
63
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldsetComponent, "mona-fieldset", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["legendTemplate"], ["*"], true, never>;
|
|
76
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldsetComponent, "mona-fieldset", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["legendTemplate"], ["*"], true, never>;
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
export { FieldsetComponent, FieldsetLegendTemplateDirective };
|
|
80
|
+
export type { FieldsetVariantProps };
|
|
@@ -1612,7 +1612,6 @@ declare class GridComponent<T> implements GridVariantInput {
|
|
|
1612
1612
|
protected onColumnResizeStart(): void;
|
|
1613
1613
|
protected onColumnSort(column: Column): void;
|
|
1614
1614
|
/** Delete or Backspace on a group chip, or on its remove button, removes the group. */
|
|
1615
|
-
protected onGroupChipKeydown(event: KeyboardEvent, column: Column): void;
|
|
1616
1615
|
protected onGroupColumnReorder(column: Column, moveAs: "prev" | "next"): void;
|
|
1617
1616
|
protected onGroupingColumnRemove(event: Event, column: Column): void;
|
|
1618
1617
|
protected onGroupingColumnSort(column: Column): void;
|
|
@@ -16,6 +16,7 @@ interface MonaAutoCompleteMessages {
|
|
|
16
16
|
|
|
17
17
|
interface MonaBreadcrumbMessages {
|
|
18
18
|
readonly breadcrumb: string;
|
|
19
|
+
readonly showFullPath: string;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
interface MonaButtonGroupMessages {
|
|
@@ -46,33 +47,125 @@ interface MonaCardMessages {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
interface MonaChartMessages {
|
|
50
|
+
/** Joins the parts of a screen reader announcement (", " in English). */
|
|
51
|
+
readonly announcementSeparator: string;
|
|
52
|
+
/** Announced when a keyboard brush is committed. */
|
|
53
|
+
readonly brushApplied: (count: number) => string;
|
|
54
|
+
/** Announced when a keyboard brush is canceled. */
|
|
55
|
+
readonly brushCleared: string;
|
|
56
|
+
/** Announced while a keyboard brush is extended. */
|
|
57
|
+
readonly brushRange: (from: string, to: string) => string;
|
|
58
|
+
/** The data table's first column header when the X axis has no title. */
|
|
59
|
+
readonly category: string;
|
|
60
|
+
/** The name of a radar category without a value. */
|
|
61
|
+
readonly categoryFallbackName: (index: number) => string;
|
|
62
|
+
/** The category range of a Cartesian chart, in its description. */
|
|
63
|
+
readonly categoryRange: (from: string, to: string) => string;
|
|
49
64
|
readonly change: string;
|
|
65
|
+
/** The price change in a financial announcement. */
|
|
66
|
+
readonly changeValue: (change: string) => string;
|
|
50
67
|
readonly chart: string;
|
|
51
68
|
readonly chartLegend: string;
|
|
69
|
+
/** What screen readers call the chart (`aria-roledescription`). */
|
|
70
|
+
readonly chartRoleDescription: string;
|
|
52
71
|
readonly close: string;
|
|
53
72
|
readonly closeAbbreviation: string;
|
|
54
73
|
readonly colorScale: string;
|
|
55
74
|
readonly conversion: string;
|
|
75
|
+
/** A funnel stage's conversion from the previous stage, in an announcement. */
|
|
76
|
+
readonly conversionOfPrevious: (rate: string) => string;
|
|
77
|
+
/** Below the data table when it shows only the first rows. */
|
|
78
|
+
readonly dataTableTruncated: (shown: number, total: number) => string;
|
|
79
|
+
/** The waterfall legend's name for falling steps. */
|
|
80
|
+
readonly decrease: string;
|
|
81
|
+
readonly decreaseAnnouncement: (delta: string, from: string, to: string) => string;
|
|
56
82
|
readonly divergingRangeDescription: (title: string, minimum: string, midpoint: string, maximum: string) => string;
|
|
57
83
|
readonly dropOff: string;
|
|
84
|
+
readonly dropOffValue: (value: string) => string;
|
|
58
85
|
readonly falling: string;
|
|
86
|
+
/** A gauge's scale, in an announcement. */
|
|
87
|
+
readonly gaugeRange: (minimum: string, maximum: string) => string;
|
|
59
88
|
readonly high: string;
|
|
60
89
|
readonly highAbbreviation: string;
|
|
90
|
+
/** The waterfall legend's name for rising steps. */
|
|
91
|
+
readonly increase: string;
|
|
92
|
+
readonly increaseAnnouncement: (delta: string, from: string, to: string) => string;
|
|
93
|
+
readonly itemDeselected: (item: string) => string;
|
|
94
|
+
/** The name of a pie, donut, rose or radial bar item without a category. */
|
|
95
|
+
readonly itemFallbackName: (index: number) => string;
|
|
96
|
+
readonly itemSelected: (item: string) => string;
|
|
97
|
+
/** The keyboard instructions at the end of the chart's description. */
|
|
98
|
+
readonly keyboardHelp: string;
|
|
61
99
|
readonly labelValueSeparator: string;
|
|
100
|
+
readonly labeledValue: (label: string, value: string) => string;
|
|
62
101
|
readonly low: string;
|
|
63
102
|
readonly lowAbbreviation: string;
|
|
103
|
+
/** The waterfall legend's name for unchanged steps. */
|
|
104
|
+
readonly noChange: string;
|
|
105
|
+
readonly noChangeAnnouncement: (value: string) => string;
|
|
64
106
|
readonly noData: string;
|
|
107
|
+
/** A candlestick or OHLC point's prices, in an announcement. */
|
|
108
|
+
readonly ohlcValues: (open: string, high: string, low: string, close: string) => string;
|
|
65
109
|
readonly open: string;
|
|
66
110
|
readonly openAbbreviation: string;
|
|
67
111
|
readonly overall: string;
|
|
112
|
+
readonly overallConversion: (rate: string) => string;
|
|
113
|
+
readonly pannedDown: string;
|
|
114
|
+
readonly pannedLeft: string;
|
|
115
|
+
readonly pannedRight: string;
|
|
116
|
+
readonly pannedUp: string;
|
|
117
|
+
/** Joins a treemap node's path (" / " in English). */
|
|
118
|
+
readonly pathSeparator: string;
|
|
119
|
+
/** A point's position among the points it is navigated with, in an announcement. */
|
|
120
|
+
readonly pointPosition: (position: number, total: number) => string;
|
|
68
121
|
readonly range: string;
|
|
69
122
|
readonly rangeDescription: (title: string, minimum: string, maximum: string) => string;
|
|
123
|
+
/** A range value, in an announcement. */
|
|
124
|
+
readonly rangeValue: (from: string, to: string) => string;
|
|
70
125
|
readonly rising: string;
|
|
71
126
|
readonly runningTotal: string;
|
|
127
|
+
/** The name of a series without a name. */
|
|
128
|
+
readonly seriesFallbackName: (index: number) => string;
|
|
129
|
+
/** Announced when a legend item hides a series or item. */
|
|
130
|
+
readonly seriesHidden: (series: string) => string;
|
|
131
|
+
/** Announced when a legend item shows a series or item. */
|
|
132
|
+
readonly seriesShown: (series: string) => string;
|
|
133
|
+
/** The series of the chart, in its description. */
|
|
134
|
+
readonly seriesSummary: (count: number, names: string) => string;
|
|
135
|
+
/** A series' lowest and highest value, in the chart's description. */
|
|
136
|
+
readonly seriesValueRange: (series: string, minimum: string, maximum: string) => string;
|
|
137
|
+
/** A treemap node's share of the whole, in an announcement. */
|
|
138
|
+
readonly shareOfTotal: (share: string) => string;
|
|
72
139
|
readonly size: string;
|
|
140
|
+
/** A bubble's size, in an announcement. */
|
|
141
|
+
readonly sizeValue: (size: string) => string;
|
|
142
|
+
/** A point's share of its 100% stack, in an announcement. */
|
|
143
|
+
readonly stackShare: (share: string) => string;
|
|
144
|
+
/** The name of a funnel stage without a category. */
|
|
145
|
+
readonly stageFallbackName: (index: number) => string;
|
|
146
|
+
readonly stagePosition: (position: number, total: number) => string;
|
|
147
|
+
/** The name of a waterfall step without a category. */
|
|
148
|
+
readonly stepFallbackName: (index: number) => string;
|
|
149
|
+
readonly stepPosition: (position: number, total: number) => string;
|
|
150
|
+
/** The waterfall legend's name for subtotal steps. */
|
|
151
|
+
readonly subtotal: string;
|
|
152
|
+
readonly subtotalAnnouncement: (value: string) => string;
|
|
153
|
+
/** The waterfall legend's name for total steps. */
|
|
154
|
+
readonly total: string;
|
|
155
|
+
readonly totalAnnouncement: (value: string) => string;
|
|
156
|
+
/** A treemap group, in an announcement. */
|
|
157
|
+
readonly treemapGroup: (count: number) => string;
|
|
158
|
+
/** A treemap leaf, in an announcement. */
|
|
159
|
+
readonly treemapLeaf: string;
|
|
73
160
|
readonly unchanged: string;
|
|
74
161
|
readonly value: string;
|
|
162
|
+
/** A range value in the tooltip ("10 – 20" in English). */
|
|
163
|
+
readonly valueRange: (from: string, to: string) => string;
|
|
164
|
+
readonly viewportResetToDefault: string;
|
|
165
|
+
readonly viewportResetToFull: string;
|
|
75
166
|
readonly visualIndicatorClamped: string;
|
|
167
|
+
readonly zoomedIn: string;
|
|
168
|
+
readonly zoomedOut: string;
|
|
76
169
|
}
|
|
77
170
|
|
|
78
171
|
interface MonaChipMessages {
|
|
@@ -80,22 +173,35 @@ interface MonaChipMessages {
|
|
|
80
173
|
}
|
|
81
174
|
|
|
82
175
|
interface MonaColorGradientMessages {
|
|
176
|
+
readonly alpha: string;
|
|
177
|
+
readonly alphaText: (opacity: number) => string;
|
|
83
178
|
readonly apply: string;
|
|
179
|
+
readonly blue: string;
|
|
84
180
|
readonly cancel: string;
|
|
85
181
|
readonly clearColor: string;
|
|
182
|
+
readonly colorCopied: string;
|
|
183
|
+
readonly colorGradient: string;
|
|
86
184
|
readonly copyAsHex: string;
|
|
87
185
|
readonly copyAsRgb: string;
|
|
88
186
|
readonly copyColor: string;
|
|
187
|
+
readonly copyFailed: string;
|
|
89
188
|
readonly currentColor: string;
|
|
189
|
+
readonly green: string;
|
|
190
|
+
readonly hexColor: string;
|
|
191
|
+
readonly hue: string;
|
|
90
192
|
readonly previousColor: string;
|
|
193
|
+
readonly red: string;
|
|
194
|
+
readonly saturation: string;
|
|
91
195
|
readonly saturationAndValue: string;
|
|
92
196
|
readonly saturationAndValueText: (saturation: number, value: number) => string;
|
|
93
197
|
readonly switchColorMode: string;
|
|
198
|
+
readonly value: string;
|
|
94
199
|
}
|
|
95
200
|
|
|
96
201
|
interface MonaColorPaletteMessages {
|
|
97
202
|
readonly color: (color: string) => string;
|
|
98
203
|
readonly colorPalette: string;
|
|
204
|
+
readonly namedColor: (name: string, color: string) => string;
|
|
99
205
|
}
|
|
100
206
|
|
|
101
207
|
interface MonaColorPickerMessages {
|
|
@@ -103,6 +209,7 @@ interface MonaColorPickerMessages {
|
|
|
103
209
|
readonly colorGradientPicker: string;
|
|
104
210
|
readonly colorPalettePicker: string;
|
|
105
211
|
readonly colorPicker: string;
|
|
212
|
+
readonly noColor: string;
|
|
106
213
|
}
|
|
107
214
|
|
|
108
215
|
interface MonaComboBoxMessages {
|
|
@@ -154,10 +261,10 @@ interface MonaEditorMessages {
|
|
|
154
261
|
readonly alignEnd: string;
|
|
155
262
|
/** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
|
|
156
263
|
readonly alignLeft: string;
|
|
157
|
-
readonly alignmentGroup: string;
|
|
158
264
|
/** @deprecated No longer rendered: the toolbar aligns to the start and end with `alignStart` and `alignEnd`. */
|
|
159
265
|
readonly alignRight: string;
|
|
160
266
|
readonly alignStart: string;
|
|
267
|
+
readonly alignmentGroup: string;
|
|
161
268
|
readonly altText: string;
|
|
162
269
|
readonly apply: string;
|
|
163
270
|
readonly backgroundColor: string;
|
|
@@ -317,6 +424,10 @@ interface MonaGridMessages {
|
|
|
317
424
|
readonly toolbar: string;
|
|
318
425
|
}
|
|
319
426
|
|
|
427
|
+
interface MonaLabelMessages {
|
|
428
|
+
readonly optional: string;
|
|
429
|
+
}
|
|
430
|
+
|
|
320
431
|
interface MonaListMessages {
|
|
321
432
|
readonly filterList: string;
|
|
322
433
|
/** Status text while a list view is loading. */
|
|
@@ -414,6 +525,15 @@ interface MonaPagerMessages {
|
|
|
414
525
|
rangeStatus(start: number, end: number, total: number): string;
|
|
415
526
|
}
|
|
416
527
|
|
|
528
|
+
interface MonaProgressBarMessages {
|
|
529
|
+
readonly label: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
interface MonaSidebarMessages {
|
|
533
|
+
readonly drawerLabel: string;
|
|
534
|
+
readonly rail: string;
|
|
535
|
+
}
|
|
536
|
+
|
|
417
537
|
interface MonaRatingMessages {
|
|
418
538
|
readonly notRated: string;
|
|
419
539
|
valueText(value: number, max: number): string;
|
|
@@ -424,9 +544,10 @@ interface MonaScrollViewMessages {
|
|
|
424
544
|
readonly nextPage: string;
|
|
425
545
|
readonly page: (current: number) => string;
|
|
426
546
|
readonly pageOf: (current: number, total: number) => string;
|
|
547
|
+
readonly pages: string;
|
|
427
548
|
readonly previousPage: string;
|
|
428
|
-
readonly scrollPagerPrevious: string;
|
|
429
549
|
readonly scrollPagerNext: string;
|
|
550
|
+
readonly scrollPagerPrevious: string;
|
|
430
551
|
readonly slide: string;
|
|
431
552
|
}
|
|
432
553
|
|
|
@@ -464,6 +585,9 @@ interface MonaSplitterMessages {
|
|
|
464
585
|
}
|
|
465
586
|
|
|
466
587
|
interface MonaStepperMessages {
|
|
588
|
+
readonly stepCompleted: string;
|
|
589
|
+
readonly stepInvalid: string;
|
|
590
|
+
readonly stepPosition: (current: number, total: number) => string;
|
|
467
591
|
readonly stepProgress: string;
|
|
468
592
|
readonly stepper: string;
|
|
469
593
|
}
|
|
@@ -580,6 +704,7 @@ interface MonaLocaleMessages {
|
|
|
580
704
|
editor: MonaEditorMessages;
|
|
581
705
|
filter: MonaFilterMessages;
|
|
582
706
|
grid: MonaGridMessages;
|
|
707
|
+
label: MonaLabelMessages;
|
|
583
708
|
list: MonaListMessages;
|
|
584
709
|
listBox: MonaListBoxMessages;
|
|
585
710
|
multiSelect: MonaMultiSelectMessages;
|
|
@@ -587,6 +712,8 @@ interface MonaLocaleMessages {
|
|
|
587
712
|
numericTextBox: MonaNumericTextBoxMessages;
|
|
588
713
|
otpInput: MonaOtpInputMessages;
|
|
589
714
|
pager: MonaPagerMessages;
|
|
715
|
+
progressBar: MonaProgressBarMessages;
|
|
716
|
+
sidebar: MonaSidebarMessages;
|
|
590
717
|
rating: MonaRatingMessages;
|
|
591
718
|
scrollView: MonaScrollViewMessages;
|
|
592
719
|
sheet: MonaSheetMessages;
|
|
@@ -954,4 +1081,4 @@ declare function pseudoLocalizeCatalog<T extends object>(catalog: T, options?: P
|
|
|
954
1081
|
declare function generatePseudoLocale(catalogs: DeepPartial<MonaLocaleMessages>, options?: GeneratePseudoLocaleOptions): MonaLocale;
|
|
955
1082
|
|
|
956
1083
|
export { BIDI_CONTROL_REGEX, MONA_DEFAULT_LOCALE, MONA_FALLBACK_LOCALE_ID, MONA_I18N_CONFIG, MonaDirectionService, MonaI18nService, canonicalizeLocaleId, formatGregorianDateToLocaleString, formatNumber, generatePseudoLocale, getEditDecimalSeparators, getLocaleDateInputFormat, getLocaleDateTimeInputFormat, getLocaleFirstDayOfWeek, getLocaleTimeInputFormat, getNumberFormatter, getNumberGroupingPattern, getNumberSymbols, gregorianDateTime, gregorianDateTimeFromObject, injectComponentDirection, mergeMessages, mergeTwo, normalizeGregorianLocale, normalizeLocalizedDigits, normalizeLocalizedInput, normalizeLocalizedMinus, observeComponentDirection, parseGregorianDate, parseLocalizedDecimal, parseLocalizedNumber, provideMonaI18n, pseudoLocalize, pseudoLocalizeCatalog, resolveComponentDirection, sanitizeDateText, stripBidiControls, tryCanonicalizeLocaleId, validateLocalizedDecimal, validateLocalizedDecimalEdit, validateLocalizedNumber, validateLocalizedNumberEdit };
|
|
957
|
-
export type { CalendarMessages, DatePickerMessages, DateTimePickerMessages, DeepPartial, DialogMessages, DirectionObserverHandle, FilterMessages, GeneratePseudoLocaleOptions, LocaleFirstDayOfWeek, LocaleTimeFormatOptions, LocalizedDecimalEditValidationResult, LocalizedDecimalValidationResult, LocalizedNumberEditValidationResult, LocalizedNumberInvalidReason, LocalizedNumberParseMode, LocalizedNumberValidationResult, MonaAutoCompleteMessages, MonaBreadcrumbMessages, MonaButtonGroupMessages, MonaCalendarMessages, MonaCardMessages, MonaChartMessages, MonaChipMessages, MonaColorGradientMessages, MonaColorPaletteMessages, MonaColorPickerMessages, MonaComboBoxMessages, MonaDatePickerMessages, MonaDateTimePickerMessages, MonaDialogMessages, MonaDropdownListMessages, MonaDropdownsMessages, MonaEditorMessages, MonaFilterMessages, MonaGridMessages, MonaI18nConfig, MonaListBoxMessages, MonaListMessages, MonaLocale, MonaLocaleMessages, MonaMessageNamespace, MonaMessageOverrideOptions, MonaMultiSelectMessages, MonaNotificationMessages, MonaNumericTextBoxMessages, MonaOtpInputMessages, MonaPagerMessages, MonaRatingMessages, MonaScrollViewMessages, MonaSheetMessages, MonaSliderMessages, MonaSpinnerMessages, MonaSplitButtonMessages, MonaSplitterMessages, MonaStepperMessages, MonaTabsMessages, MonaTextBoxMessages, MonaTextDirection, MonaTimePickerMessages, MonaTimeSelectorMessages, MonaTreeViewMessages, MonaWindowMessages, NotificationMessages, NumberGroupingPattern, NumberSymbols, ParseLocalizedNumberOptions, PseudoLocalizationOptions, SheetMessages, TimePickerMessages, TimeSelectorMessages, ValidateLocalizedNumberEditOptions, WindowMessages };
|
|
1084
|
+
export type { CalendarMessages, DatePickerMessages, DateTimePickerMessages, DeepPartial, DialogMessages, DirectionObserverHandle, FilterMessages, GeneratePseudoLocaleOptions, LocaleFirstDayOfWeek, LocaleTimeFormatOptions, LocalizedDecimalEditValidationResult, LocalizedDecimalValidationResult, LocalizedNumberEditValidationResult, LocalizedNumberInvalidReason, LocalizedNumberParseMode, LocalizedNumberValidationResult, MonaAutoCompleteMessages, MonaBreadcrumbMessages, MonaButtonGroupMessages, MonaCalendarMessages, MonaCardMessages, MonaChartMessages, MonaChipMessages, MonaColorGradientMessages, MonaColorPaletteMessages, MonaColorPickerMessages, MonaComboBoxMessages, MonaDatePickerMessages, MonaDateTimePickerMessages, MonaDialogMessages, MonaDropdownListMessages, MonaDropdownsMessages, MonaEditorMessages, MonaFilterMessages, MonaGridMessages, MonaI18nConfig, MonaLabelMessages, MonaListBoxMessages, MonaListMessages, MonaLocale, MonaLocaleMessages, MonaMessageNamespace, MonaMessageOverrideOptions, MonaMultiSelectMessages, MonaNotificationMessages, MonaNumericTextBoxMessages, MonaOtpInputMessages, MonaPagerMessages, MonaProgressBarMessages, MonaRatingMessages, MonaScrollViewMessages, MonaSheetMessages, MonaSidebarMessages, MonaSliderMessages, MonaSpinnerMessages, MonaSplitButtonMessages, MonaSplitterMessages, MonaStepperMessages, MonaTabsMessages, MonaTextBoxMessages, MonaTextDirection, MonaTimePickerMessages, MonaTimeSelectorMessages, MonaTreeViewMessages, MonaWindowMessages, NotificationMessages, NumberGroupingPattern, NumberSymbols, ParseLocalizedNumberOptions, PseudoLocalizationOptions, SheetMessages, TimePickerMessages, TimeSelectorMessages, ValidateLocalizedNumberEditOptions, WindowMessages };
|