@nanahoshi/mona-ui 0.45.0 → 0.46.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/THIRD_PARTY_NOTICES.md +34 -0
- package/alert/package.json +3 -2
- package/auto-complete/package.json +3 -2
- package/avatar/package.json +3 -2
- package/badge/package.json +3 -2
- package/breadcrumb/package.json +3 -2
- package/button/package.json +3 -2
- package/button-group/package.json +3 -2
- package/calendar/package.json +3 -2
- package/card/package.json +3 -2
- package/chart/package.json +3 -2
- package/chat/package.json +3 -2
- package/check-box/package.json +3 -2
- package/chip/package.json +3 -2
- package/circular-progress-bar/package.json +3 -2
- package/collapsible/package.json +3 -2
- package/color-gradient/package.json +3 -2
- package/color-palette/package.json +3 -2
- package/color-picker/package.json +3 -2
- package/combo-box/package.json +3 -2
- package/command/package.json +3 -2
- package/common/package.json +3 -2
- package/contextmenu/package.json +3 -2
- package/date-input/package.json +3 -2
- package/date-picker/package.json +3 -2
- package/date-range-picker/package.json +3 -2
- package/datetime-picker/package.json +3 -2
- package/dialog/package.json +3 -2
- package/docs/api/index.json +1 -1
- package/docs/api/theme.json +1 -1
- package/docs/api/theme.md +14 -6
- package/docs/installation.md +1 -1
- package/docs/manifest.json +1 -1
- package/docs/theming-built-in-themes.md +25 -12
- package/docs/theming-custom-themes.md +19 -0
- package/docs/theming.md +2 -1
- package/dropdown-button/package.json +3 -2
- package/dropdown-list/package.json +3 -2
- package/dropdown-tree/package.json +3 -2
- package/dropdowns/package.json +3 -2
- package/editor/package.json +3 -2
- package/expansion-panel/package.json +3 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-DpszxgFY.mjs → grid-colgroup.component-B4jx10Yi.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CpvzAcX8.mjs → grid-footer-row.component-CVUltI39.mjs} +12 -12
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-tRmEWiQR.mjs → grid-list.component-Cv1KB5VQ.mjs} +14 -14
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-eET6dh2Q.mjs → grid-row.component-BauMmps5.mjs} +42 -42
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-8h2EMexB.mjs → grid-virtual-list.component-DNjoZfHq.mjs} +10 -10
- package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-wAf6jsT9.mjs → grid.styles-BJHVTT_v.mjs} +27 -27
- package/fesm2022/nanahoshi-mona-ui-alert.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-badge.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-button.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +32 -32
- package/fesm2022/nanahoshi-mona-ui-card.mjs +25 -25
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +170 -170
- package/fesm2022/nanahoshi-mona-ui-chat.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-command.mjs +48 -48
- package/fesm2022/nanahoshi-mona-ui-common.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +37 -37
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +33 -33
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +68 -68
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +100 -100
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-form-field.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +154 -154
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +35 -35
- package/fesm2022/nanahoshi-mona-ui-internal-live-announcer.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +39 -39
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-kanban.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-label.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-locales.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +51 -51
- package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +11 -11
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +22 -22
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +145 -64
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-qr-code.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-query.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-separator.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +85 -85
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +31 -31
- package/fesm2022/nanahoshi-mona-ui-sortable.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +10 -10
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +44 -44
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +21 -21
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +302 -58
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-timeline.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +27 -27
- package/fesm2022/nanahoshi-mona-ui-window.mjs +40 -40
- package/fesm2022/nanahoshi-mona-ui.mjs +2 -0
- package/fieldset/package.json +3 -2
- package/file-upload/package.json +3 -2
- package/filter/package.json +3 -2
- package/form-field/package.json +3 -2
- package/grid/package.json +3 -2
- package/i18n/icu/package.json +3 -2
- package/i18n/package.json +3 -2
- package/internal/filter-input/package.json +3 -2
- package/internal/indicator-icon/package.json +3 -2
- package/internal/list/package.json +3 -2
- package/internal/live-announcer/package.json +3 -2
- package/internal/package.json +3 -2
- package/internal/popup-menu/package.json +3 -2
- package/internal/tree/package.json +3 -2
- package/kanban/package.json +3 -2
- package/label/package.json +3 -2
- package/list/package.json +3 -2
- package/list-box/package.json +3 -2
- package/list-view/package.json +3 -2
- package/llms.txt +2 -2
- package/locales/ar-sa/package.json +3 -2
- package/locales/de-de/package.json +3 -2
- package/locales/es-es/package.json +3 -2
- package/locales/fr-fr/package.json +3 -2
- package/locales/id-id/package.json +3 -2
- package/locales/it-it/package.json +3 -2
- package/locales/ja-jp/package.json +3 -2
- package/locales/ko-kr/package.json +3 -2
- package/locales/package.json +3 -2
- package/locales/pl-pl/package.json +3 -2
- package/locales/pt-br/package.json +3 -2
- package/locales/ru-ru/package.json +3 -2
- package/locales/tr-tr/package.json +3 -2
- package/locales/zh-cn/package.json +3 -2
- package/locales/zh-tw/package.json +3 -2
- package/masked-text-box/package.json +3 -2
- package/menubar/package.json +3 -2
- package/multi-select/package.json +3 -2
- package/multi-select-tree/package.json +3 -2
- package/notification/package.json +3 -2
- package/numeric-text-box/package.json +3 -2
- package/otp-input/package.json +3 -2
- package/package.json +170 -169
- package/pager/package.json +3 -2
- package/placeholder/package.json +3 -2
- package/popover/package.json +3 -2
- package/popup/package.json +3 -2
- package/popup-menu/package.json +3 -2
- package/progress-bar/package.json +3 -2
- package/qr-code/package.json +3 -2
- package/query/package.json +3 -2
- package/radio-button/package.json +3 -2
- package/rating/package.json +3 -2
- package/scroll-view/package.json +3 -2
- package/segmented/package.json +3 -2
- package/separator/package.json +3 -2
- package/sheet/package.json +3 -2
- package/sidebar/package.json +3 -2
- package/skeleton/package.json +3 -2
- package/slider/package.json +3 -2
- package/sortable/package.json +3 -2
- package/sparkline/package.json +3 -2
- package/spinner/package.json +3 -2
- package/split-button/package.json +3 -2
- package/splitter/package.json +3 -2
- package/stepper/package.json +3 -2
- package/switch/package.json +3 -2
- package/tabs/package.json +3 -2
- package/text-area/package.json +3 -2
- package/text-box/package.json +3 -2
- package/theme/package.json +3 -2
- package/time-picker/package.json +3 -2
- package/time-selector/package.json +3 -2
- package/timeline/package.json +3 -2
- package/toolbar/package.json +3 -2
- package/tooltip/package.json +3 -2
- package/tree-view/package.json +3 -2
- package/types/nanahoshi-mona-ui-alert.d.ts +2 -2
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +9 -9
- package/types/nanahoshi-mona-ui-badge.d.ts +7 -7
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +2 -2
- package/types/nanahoshi-mona-ui-button-group.d.ts +9 -9
- package/types/nanahoshi-mona-ui-button.d.ts +15 -15
- package/types/nanahoshi-mona-ui-calendar.d.ts +9 -9
- package/types/nanahoshi-mona-ui-card.d.ts +5 -5
- package/types/nanahoshi-mona-ui-chart.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chat.d.ts +2 -2
- package/types/nanahoshi-mona-ui-check-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chip.d.ts +9 -9
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -2
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +7 -7
- package/types/nanahoshi-mona-ui-color-palette.d.ts +6 -6
- package/types/nanahoshi-mona-ui-color-picker.d.ts +9 -9
- package/types/nanahoshi-mona-ui-combo-box.d.ts +10 -10
- package/types/nanahoshi-mona-ui-command.d.ts +2 -2
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +2 -2
- package/types/nanahoshi-mona-ui-date-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-date-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-date-range-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +13 -13
- package/types/nanahoshi-mona-ui-dialog.d.ts +8 -8
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +4 -4
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +9 -9
- package/types/nanahoshi-mona-ui-editor.d.ts +3 -3
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +4 -4
- package/types/nanahoshi-mona-ui-fieldset.d.ts +4 -4
- package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -1
- package/types/nanahoshi-mona-ui-filter.d.ts +8 -8
- package/types/nanahoshi-mona-ui-grid.d.ts +50 -49
- package/types/nanahoshi-mona-ui-i18n.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +5 -5
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +2 -2
- package/types/nanahoshi-mona-ui-kanban.d.ts +2 -2
- package/types/nanahoshi-mona-ui-list-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-list-view.d.ts +9 -9
- package/types/nanahoshi-mona-ui-locales.d.ts +1 -1
- package/types/nanahoshi-mona-ui-masked-text-box.d.ts +6 -6
- package/types/nanahoshi-mona-ui-menubar.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -11
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-otp-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-pager.d.ts +7 -7
- package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -2
- package/types/nanahoshi-mona-ui-popover.d.ts +5 -5
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +9 -9
- package/types/nanahoshi-mona-ui-popup.d.ts +4 -4
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-qr-code.d.ts +1 -1
- package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -8
- package/types/nanahoshi-mona-ui-rating.d.ts +10 -10
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +6 -6
- package/types/nanahoshi-mona-ui-segmented.d.ts +9 -9
- package/types/nanahoshi-mona-ui-separator.d.ts +1 -1
- package/types/nanahoshi-mona-ui-sheet.d.ts +4 -4
- package/types/nanahoshi-mona-ui-sidebar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-skeleton.d.ts +3 -3
- package/types/nanahoshi-mona-ui-slider.d.ts +8 -8
- package/types/nanahoshi-mona-ui-sortable.d.ts +2 -2
- package/types/nanahoshi-mona-ui-sparkline.d.ts +1 -1
- package/types/nanahoshi-mona-ui-spinner.d.ts +6 -6
- package/types/nanahoshi-mona-ui-split-button.d.ts +10 -10
- package/types/nanahoshi-mona-ui-splitter.d.ts +3 -3
- package/types/nanahoshi-mona-ui-stepper.d.ts +6 -6
- package/types/nanahoshi-mona-ui-switch.d.ts +7 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +13 -13
- package/types/nanahoshi-mona-ui-text-area.d.ts +4 -4
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-theme.d.ts +107 -37
- package/types/nanahoshi-mona-ui-time-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-time-selector.d.ts +8 -8
- package/types/nanahoshi-mona-ui-toolbar.d.ts +3 -3
- package/types/nanahoshi-mona-ui-tooltip.d.ts +6 -6
- package/types/nanahoshi-mona-ui-tree-view.d.ts +2 -2
- package/types/nanahoshi-mona-ui-window.d.ts +7 -7
- package/types/nanahoshi-mona-ui.d.ts +2 -1
- package/window/package.json +3 -2
|
@@ -18,7 +18,7 @@ export declare class DropdownButtonComponent implements ButtonGroupMember, Dropd
|
|
|
18
18
|
protected readonly menuItemTextTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
19
19
|
protected readonly menuItems: import("@angular/core").Signal<import("@nanahoshi/mona-ui/popup-menu").PopupMenuItem[]>;
|
|
20
20
|
protected readonly popupMenuRef: import("@angular/core").Signal<PopupMenuComponent | undefined>;
|
|
21
|
-
protected readonly popupMenuRounded: import("@angular/core").Signal<"
|
|
21
|
+
protected readonly popupMenuRounded: import("@angular/core").Signal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
22
22
|
protected readonly popupMinWidth: import("@angular/core").Signal<number | undefined>;
|
|
23
23
|
protected readonly textTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
24
24
|
/**
|
|
@@ -59,7 +59,7 @@ export declare class DropdownButtonComponent implements ButtonGroupMember, Dropd
|
|
|
59
59
|
* @description Visual style preset applied to the button.
|
|
60
60
|
* @default "default"
|
|
61
61
|
*/
|
|
62
|
-
readonly look: import("@angular/core").InputSignal<"
|
|
62
|
+
readonly look: import("@angular/core").InputSignal<"clear" | "error" | "info" | "success" | "warning" | "link" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
63
63
|
/**
|
|
64
64
|
* @description Emitted when a menu item in the dropdown menu is clicked.
|
|
65
65
|
*/
|
|
@@ -74,7 +74,7 @@ export declare class DropdownButtonComponent implements ButtonGroupMember, Dropd
|
|
|
74
74
|
* @description Border-radius preset applied to the button. The menu follows it (`"full"` gives it large corners).
|
|
75
75
|
* @default "medium"
|
|
76
76
|
*/
|
|
77
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
77
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
78
78
|
/**
|
|
79
79
|
* @description Shows a down arrow after the text, so the button reads as one that opens a menu. Icon-only buttons
|
|
80
80
|
* never show it.
|
|
@@ -85,7 +85,7 @@ export declare class DropdownButtonComponent implements ButtonGroupMember, Dropd
|
|
|
85
85
|
* @description Size preset controlling the button's dimensions.
|
|
86
86
|
* @default "medium"
|
|
87
87
|
*/
|
|
88
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
88
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* @description Primary text content displayed inside the dropdown button.
|
|
91
91
|
* Passed as `$implicit` to a `monaDropdownButtonTextTemplate` when one is provided.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
+
import { MonaDropdownListMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
4
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
7
|
+
import { ListSizeInputType, SelectableOptions, SelectionChangeEvent } from "@nanahoshi/mona-ui/internal/list";
|
|
5
8
|
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
6
9
|
import { AdaptiveMode, DropdownDataInput, DropdownFieldPredicateType, DropdownFieldSelectorType, DropdownPopupInput } from "@nanahoshi/mona-ui/dropdowns";
|
|
7
|
-
import { ListSizeInputType, SelectableOptions, SelectionChangeEvent } from "@nanahoshi/mona-ui/internal/list";
|
|
8
10
|
import { PopupCloseEvent } from "@nanahoshi/mona-ui/popup";
|
|
9
11
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
10
|
-
import { VariantProps } from "class-variance-authority";
|
|
11
|
-
import { MonaDropdownListMessages } from "@nanahoshi/mona-ui/i18n";
|
|
12
12
|
/** @hidden Shared with the dropdown tree, which looks the same. */
|
|
13
13
|
export declare const dropdownListInputThemeVariants: (props?: ({
|
|
14
14
|
disabled?: boolean | null | undefined;
|
|
15
15
|
expanded?: boolean | null | undefined;
|
|
16
16
|
hasPrefix?: boolean | null | undefined;
|
|
17
17
|
invalid?: boolean | null | undefined;
|
|
18
|
-
rounded?: "
|
|
19
|
-
size?: "small" | "
|
|
18
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
19
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
20
20
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
21
|
/** @hidden Shared with the dropdown tree, which looks the same. */
|
|
22
22
|
export declare const dropdownListValueContainerThemeVariants: (props?: ({
|
|
@@ -52,7 +52,7 @@ export declare class DropdownListComponent<TData = unknown, TValue = TData> impl
|
|
|
52
52
|
protected readonly listId: string;
|
|
53
53
|
protected readonly listPopupClass: import("@angular/core").Signal<string>;
|
|
54
54
|
/** The list's size: large in a bottom sheet, for touch. */
|
|
55
|
-
protected readonly listSize: import("@angular/core").Signal<"small" | "
|
|
55
|
+
protected readonly listSize: import("@angular/core").Signal<"small" | "large" | "medium" | null | undefined>;
|
|
56
56
|
protected readonly messages: import("@angular/core").Signal<import("@nanahoshi/mona-ui/i18n").MonaDropdownListMessages>;
|
|
57
57
|
protected readonly noDataTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
58
58
|
protected readonly popupTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
@@ -169,7 +169,7 @@ export declare class DropdownListComponent<TData = unknown, TValue = TData> impl
|
|
|
169
169
|
* @description Border-radius preset applied to the component.
|
|
170
170
|
* @default "medium"
|
|
171
171
|
*/
|
|
172
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
172
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
173
173
|
/**
|
|
174
174
|
* @description Shows a clear button that resets the selected value when clicked.
|
|
175
175
|
* @default false
|
|
@@ -179,7 +179,7 @@ export declare class DropdownListComponent<TData = unknown, TValue = TData> impl
|
|
|
179
179
|
* @description Size preset controlling the component's dimensions.
|
|
180
180
|
* @default "medium"
|
|
181
181
|
*/
|
|
182
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
182
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
183
183
|
/**
|
|
184
184
|
* @description Property name or accessor used to derive the display text from a data item.
|
|
185
185
|
* If omitted, the item itself is used as the display text.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { MonaDropdownTreeMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
|
-
import { Predicate } from "@mirei/ts-collections";
|
|
5
4
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
6
|
-
import {
|
|
5
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
6
|
+
import { ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
7
7
|
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
8
8
|
import { AdaptiveMode, DropdownFieldPredicateType, DropdownFieldSelectorType, DropdownPopupInput } from "@nanahoshi/mona-ui/dropdowns";
|
|
9
|
-
import { ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
10
|
-
import { ChildrenSelector, DataStructure, TreeNode } from "@nanahoshi/mona-ui/internal/tree";
|
|
11
9
|
import { PopupCloseEvent } from "@nanahoshi/mona-ui/popup";
|
|
12
|
-
import {
|
|
10
|
+
import { Predicate } from "@mirei/ts-collections";
|
|
11
|
+
import { DropDownListVariantInput } from "@nanahoshi/mona-ui/dropdown-list";
|
|
12
|
+
import { ChildrenSelector, DataStructure, TreeNode } from "@nanahoshi/mona-ui/internal/tree";
|
|
13
13
|
export declare class DropdownTreeComponent<TData = unknown, TValue = TData> implements FormValueControl<TValue | null>, DropDownListVariantInput, DropdownPopupInput {
|
|
14
14
|
#private;
|
|
15
15
|
/** While the popup is open and the field has focus (no filter box), the active node of the popup's tree. */
|
|
@@ -31,7 +31,7 @@ export declare class DropdownTreeComponent<TData = unknown, TValue = TData> impl
|
|
|
31
31
|
/** The field's name, which names the popup's tree and its filter box. */
|
|
32
32
|
protected readonly popupAriaLabel: import("@angular/core").Signal<string>;
|
|
33
33
|
/** The popup's size: large in a bottom sheet, for touch. */
|
|
34
|
-
protected readonly popupSize: import("@angular/core").Signal<"small" | "
|
|
34
|
+
protected readonly popupSize: import("@angular/core").Signal<"small" | "large" | "medium">;
|
|
35
35
|
protected readonly popupSurfaceClass: import("@angular/core").Signal<string>;
|
|
36
36
|
protected readonly popupTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
37
37
|
protected readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
@@ -177,7 +177,7 @@ export declare class DropdownTreeComponent<TData = unknown, TValue = TData> impl
|
|
|
177
177
|
* @description Border-radius preset applied to the component.
|
|
178
178
|
* @default "medium"
|
|
179
179
|
*/
|
|
180
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
180
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
181
181
|
/**
|
|
182
182
|
* @description Shows a clear button that resets the selected value when clicked.
|
|
183
183
|
* @default false
|
|
@@ -187,7 +187,7 @@ export declare class DropdownTreeComponent<TData = unknown, TValue = TData> impl
|
|
|
187
187
|
* @description Size preset controlling the component's dimensions.
|
|
188
188
|
* @default "medium"
|
|
189
189
|
*/
|
|
190
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
190
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
191
191
|
/**
|
|
192
192
|
* @description Property name or accessor that gives an item's text. When unset, the item itself is the text.
|
|
193
193
|
* @default undefined
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { MonaDropdownsMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, InjectionToken, InputSignal, OutputEmitterRef, Signal, TemplateRef } from "@angular/core";
|
|
3
|
-
import {
|
|
4
|
+
import { FilterChangeEvent, FilterableOptions, PreventableEvent, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
6
|
import { GroupableOptions, ListItem, ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
5
7
|
import { PopupCloseEvent, PopupRef, PopupSettings } from "@nanahoshi/mona-ui/popup";
|
|
6
|
-
import { FilterChangeEvent, FilterableOptions, PreventableEvent, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
|
|
7
|
-
import { TreeService } from "@nanahoshi/mona-ui/internal/tree";
|
|
8
|
-
import { ConnectionPositionPair } from "@angular/cdk/overlay";
|
|
9
8
|
import { Subject } from "rxjs";
|
|
10
9
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { Predicate, Selector } from "@mirei/ts-collections";
|
|
11
|
+
import { TreeService } from "@nanahoshi/mona-ui/internal/tree";
|
|
12
|
+
import { ConnectionPositionPair } from "@angular/cdk/overlay";
|
|
13
13
|
/**
|
|
14
14
|
* How a dropdown's popup adapts to a small screen: `"auto"` opens it as a sheet along the bottom of the screen when
|
|
15
15
|
* the screen is narrower than 640 pixels, and `"none"` always opens it under the field.
|
|
@@ -109,7 +109,7 @@ export declare class DropdownTreePopupComponent<T> {
|
|
|
109
109
|
readonly noDataTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
110
110
|
/** Classes of the popup's surface. */
|
|
111
111
|
readonly popupClass: import("@angular/core").InputSignal<string>;
|
|
112
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
112
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium">;
|
|
113
113
|
/** The id of the tree, which the field's `aria-controls` points at. */
|
|
114
114
|
readonly treeId: import("@angular/core").InputSignal<string>;
|
|
115
115
|
constructor();
|
|
@@ -466,8 +466,8 @@ export declare class DropdownListService<TData = unknown> {
|
|
|
466
466
|
}
|
|
467
467
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
468
468
|
export declare const dropdownPopupThemeVariants: (props?: ({
|
|
469
|
-
rounded?: "
|
|
470
|
-
size?: "
|
|
469
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
470
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
471
471
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
472
472
|
export type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
|
|
473
473
|
export type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { MonaEditorMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef } from "@angular/core";
|
|
3
4
|
import { FormValueControl } from "@angular/forms/signals";
|
|
4
|
-
import { FileUploadHandler } from "@nanahoshi/mona-ui/file-upload";
|
|
5
|
-
import { Editor, JSONContent } from "@tiptap/core";
|
|
6
5
|
import { Observable, Subject } from "rxjs";
|
|
7
6
|
import { ImmutableSet } from "@mirei/ts-collections";
|
|
7
|
+
import { FileUploadHandler } from "@nanahoshi/mona-ui/file-upload";
|
|
8
|
+
import { Editor, JSONContent } from "@tiptap/core";
|
|
8
9
|
import { EditorState } from "@tiptap/pm/state";
|
|
9
|
-
import { MonaEditorMessages } from "@nanahoshi/mona-ui/i18n";
|
|
10
10
|
import "@tiptap/pm/model";
|
|
11
11
|
/** The content of the editor after a user change, emitted by `EditorComponent.update`. */
|
|
12
12
|
interface ContentChangeEvent {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
-
import { CollapsibleConfig } from "@nanahoshi/mona-ui/collapsible";
|
|
4
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
|
+
import { CollapsibleConfig } from "@nanahoshi/mona-ui/collapsible";
|
|
6
6
|
/**
|
|
7
7
|
* @description
|
|
8
8
|
* Groups `mona-expansion-panel` elements: only one is open at a time unless `multiple` is set, and Up, Down, Home and End
|
|
@@ -27,7 +27,7 @@ export declare class AccordionComponent {
|
|
|
27
27
|
}, {}, never, ["*"], true, never>;
|
|
28
28
|
}
|
|
29
29
|
declare const expansionPanelBaseThemeVariants: (props?: ({
|
|
30
|
-
rounded?: "small" | "
|
|
30
|
+
rounded?: "small" | "none" | "large" | "medium" | null | undefined;
|
|
31
31
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
32
32
|
/**
|
|
33
33
|
* Three columns: title, actions, icon. The heading and its button span them all through subgrid and put the title and
|
|
@@ -98,7 +98,7 @@ export declare class ExpansionPanelComponent implements ExpansionPanelVariantInp
|
|
|
98
98
|
* @description Sets the border radius of the expansion panel.
|
|
99
99
|
* @default "medium"
|
|
100
100
|
*/
|
|
101
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
101
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
102
102
|
/**
|
|
103
103
|
* @description Sets the title of the expansion panel, which also names its button and region.
|
|
104
104
|
* @default ""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
5
|
/**
|
|
6
6
|
* Replaces the string `legend` with projected content inside the `<legend>` element. When this template is present, no
|
|
7
7
|
* default legend styling is applied — the consumer is responsible for all visual treatment. The template has no context
|
|
@@ -13,12 +13,12 @@ export declare class FieldsetLegendTemplateDirective {
|
|
|
13
13
|
}
|
|
14
14
|
declare const fieldsetBaseThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
15
15
|
declare const fieldsetThemeVariants: (props?: ({
|
|
16
|
-
rounded?: "small" | "
|
|
16
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
17
17
|
disabled?: boolean | null | undefined;
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
19
19
|
declare const fieldsetLegendThemeVariants: (props?: ({
|
|
20
20
|
hasTemplate?: boolean | null | undefined;
|
|
21
|
-
rounded?: "small" | "
|
|
21
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
23
|
type FieldsetBaseVariantProps = VariantProps<typeof fieldsetBaseThemeVariants>;
|
|
24
24
|
type FieldsetBaseVariantInput = VariantInputs<FieldsetBaseVariantProps>;
|
|
@@ -67,7 +67,7 @@ export declare class FieldsetComponent implements FieldsetVariantInput {
|
|
|
67
67
|
* @description Border-radius preset applied to the fieldset and its legend.
|
|
68
68
|
* @default "medium"
|
|
69
69
|
*/
|
|
70
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
70
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
71
71
|
/**
|
|
72
72
|
* @description Additional CSS classes merged onto the rendered `<fieldset>` element via `tailwind-merge`.
|
|
73
73
|
* @default ""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MonaFileUploadMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef } from "@angular/core";
|
|
3
4
|
import { FormValueControl } from "@angular/forms/signals";
|
|
4
5
|
import { Observable } from "rxjs";
|
|
5
|
-
import { MonaFileUploadMessages } from "@nanahoshi/mona-ui/i18n";
|
|
6
6
|
import "@nanahoshi/mona-ui/internal";
|
|
7
7
|
/**
|
|
8
8
|
* What the upload function gets with each file.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaFilterMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
import { DataType } from "@nanahoshi/mona-ui/common";
|
|
3
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
|
+
import { BooleanFilterDescriptor, BooleanFilterOperators, CompositeFilterDescriptor, DateFilterDescriptor, DateFilterOperators, FilterLogic, FilterOperators, NumericFilterDescriptor, NumericFilterOperators, StringFilterDescriptor, StringFilterOperators } from "@nanahoshi/mona-ui/query";
|
|
7
7
|
export type FilterDescriptorBuildArgs<TValue, TOperator extends FilterOperators> = {
|
|
8
8
|
field: string;
|
|
9
9
|
operator1: TOperator;
|
|
@@ -37,8 +37,8 @@ interface FilterMenuConnectorItem {
|
|
|
37
37
|
value: FilterLogic;
|
|
38
38
|
}
|
|
39
39
|
declare const filterMenuBaseThemeVariants: (props?: ({
|
|
40
|
-
rounded?: "
|
|
41
|
-
size?: "small" | "
|
|
40
|
+
rounded?: "small" | "none" | "large" | "medium" | null | undefined;
|
|
41
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
42
42
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
43
43
|
type FilterMenuBaseVariantProps = VariantProps<typeof filterMenuBaseThemeVariants>;
|
|
44
44
|
type FilterMenuBaseVariantInput = VariantInputs<FilterMenuBaseVariantProps>;
|
|
@@ -80,8 +80,8 @@ export declare class FilterMenuComponent implements FilterMenuVariantInput {
|
|
|
80
80
|
* @default []
|
|
81
81
|
*/
|
|
82
82
|
readonly operators: import("@angular/core").InputSignal<Iterable<FilterOperators>>;
|
|
83
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
84
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
83
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
84
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
85
85
|
/**
|
|
86
86
|
* @description The data type of the field, which picks the operators and the value input.
|
|
87
87
|
* @default "string"
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaGridMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import { ElementRef, TemplateRef, WritableSignal } from "@angular/core";
|
|
3
|
+
import { ElementRef, Signal, TemplateRef, WritableSignal } from "@angular/core";
|
|
4
|
+
import { DataType, PreventableEvent, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
6
|
import { FieldTree, SchemaOrSchemaFn, ValidationError } from "@angular/forms/signals";
|
|
5
|
-
import {
|
|
7
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
8
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
9
|
import { ImmutableDictionary, ImmutableList, ImmutableSet, Selector } from "@mirei/ts-collections";
|
|
10
|
+
import { PopupMenuItem } from "@nanahoshi/mona-ui/popup-menu";
|
|
11
|
+
import { CompositeFilterDescriptor, FilterLogic, FilterOperators, SortDescriptor, SortDirection } from "@nanahoshi/mona-ui/query";
|
|
7
12
|
import { CdkDragDrop, CdkDragEnd, CdkDragEnter, CdkDragMove, CdkDragStart, CdkDropList } from "@angular/cdk/drag-drop";
|
|
8
13
|
import { PageChangeEvent } from "@nanahoshi/mona-ui/pager";
|
|
9
14
|
import { FilterMenuValue } from "@nanahoshi/mona-ui/filter";
|
|
10
|
-
import { PopupMenuItem } from "@nanahoshi/mona-ui/popup-menu";
|
|
11
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
|
12
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
13
|
-
import { VariantProps } from "class-variance-authority";
|
|
14
15
|
type AggregateFunction = "sum" | "avg" | "count" | "min" | "max" | "custom";
|
|
15
16
|
/** A `mona-grid-column-group`: a header over the columns inside it. */
|
|
16
17
|
interface ColumnGroup {
|
|
@@ -2134,7 +2135,7 @@ declare class GridService {
|
|
|
2134
2135
|
type GridSelectionModifiers = Pick<MouseEvent, "ctrlKey" | "metaKey" | "shiftKey">;
|
|
2135
2136
|
type RowReorderDisabledReason = "disabled" | "editing" | "filtered" | "grouped" | "server-binding" | "single-row" | "sorted" | "virtual-scroll" | null;
|
|
2136
2137
|
declare const gridBaseThemeVariants: (props?: ({
|
|
2137
|
-
rounded?: "small" | "none" | "
|
|
2138
|
+
rounded?: "small" | "none" | "large" | "medium" | null | undefined;
|
|
2138
2139
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
2139
2140
|
declare const gridHeaderThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
2140
2141
|
declare const gridHeaderTableThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
@@ -2166,61 +2167,61 @@ export declare class GridComponent<T> implements GridVariantInput {
|
|
|
2166
2167
|
* Every row of the grid: header rows, add row, body rows (group, detail and group footer rows included) and
|
|
2167
2168
|
* footer. Exact when every row is drawn or rows are plain; -1 (unknown) for paged groups or detail rows.
|
|
2168
2169
|
*/
|
|
2169
|
-
protected readonly ariaRowCount:
|
|
2170
|
-
protected readonly baseClass:
|
|
2171
|
-
protected readonly columnActionsClass:
|
|
2172
|
-
protected readonly columnDragPreviewClass:
|
|
2170
|
+
protected readonly ariaRowCount: Signal<number>;
|
|
2171
|
+
protected readonly baseClass: Signal<string>;
|
|
2172
|
+
protected readonly columnActionsClass: Signal<string>;
|
|
2173
|
+
protected readonly columnDragPreviewClass: Signal<string>;
|
|
2173
2174
|
protected readonly columnDragging: import("@angular/core").WritableSignal<boolean>;
|
|
2174
|
-
protected readonly columnDropHintClass:
|
|
2175
|
-
protected readonly columnResizerClass:
|
|
2175
|
+
protected readonly columnDropHintClass: Signal<string>;
|
|
2176
|
+
protected readonly columnResizerClass: Signal<string>;
|
|
2176
2177
|
protected readonly dragColumn: import("@angular/core").WritableSignal<Column | null>;
|
|
2177
2178
|
/** Whether a dragged column goes after the hovered column rather than before it. */
|
|
2178
2179
|
protected readonly dropAfter: import("@angular/core").WritableSignal<boolean>;
|
|
2179
2180
|
protected readonly dropColumn: import("@angular/core").WritableSignal<Column | null>;
|
|
2180
|
-
protected readonly filterMenuEnabled:
|
|
2181
|
-
protected readonly filterRowCellClass:
|
|
2182
|
-
protected readonly filterRowEnabled:
|
|
2183
|
-
protected readonly footerClass:
|
|
2184
|
-
protected readonly footerTableClass:
|
|
2185
|
-
protected readonly footerVisible:
|
|
2186
|
-
protected readonly gridDetailTemplate:
|
|
2187
|
-
protected readonly gridHeaderElement:
|
|
2188
|
-
protected readonly gridHeaderTableElement:
|
|
2181
|
+
protected readonly filterMenuEnabled: Signal<boolean>;
|
|
2182
|
+
protected readonly filterRowCellClass: Signal<string>;
|
|
2183
|
+
protected readonly filterRowEnabled: Signal<boolean>;
|
|
2184
|
+
protected readonly footerClass: Signal<string>;
|
|
2185
|
+
protected readonly footerTableClass: Signal<string>;
|
|
2186
|
+
protected readonly footerVisible: Signal<boolean>;
|
|
2187
|
+
protected readonly gridDetailTemplate: Signal<TemplateRef<any> | undefined>;
|
|
2188
|
+
protected readonly gridHeaderElement: Signal<ElementRef<HTMLDivElement>>;
|
|
2189
|
+
protected readonly gridHeaderTableElement: Signal<ElementRef<HTMLTableElement>>;
|
|
2189
2190
|
/** A treegrid while rows are grouped or the grid is a tree, a grid otherwise. */
|
|
2190
|
-
protected readonly gridRole:
|
|
2191
|
+
protected readonly gridRole: Signal<"grid" | "treegrid">;
|
|
2191
2192
|
protected readonly gridService: GridService;
|
|
2192
2193
|
protected readonly gridWidthSet: import("@angular/core").WritableSignal<boolean>;
|
|
2193
|
-
protected readonly groupColumnList:
|
|
2194
|
-
protected readonly groupPanelClass:
|
|
2195
|
-
protected readonly groupPanelPlaceholderClass:
|
|
2194
|
+
protected readonly groupColumnList: Signal<CdkDropList<any> | undefined>;
|
|
2195
|
+
protected readonly groupPanelClass: Signal<string>;
|
|
2196
|
+
protected readonly groupPanelPlaceholderClass: Signal<string>;
|
|
2196
2197
|
protected readonly groupPanelPlaceholderVisible: import("@angular/core").WritableSignal<boolean>;
|
|
2197
|
-
protected readonly groupable:
|
|
2198
|
+
protected readonly groupable: Signal<boolean>;
|
|
2198
2199
|
protected readonly groupingInProgress: import("@angular/core").WritableSignal<boolean>;
|
|
2199
|
-
protected readonly headerClass:
|
|
2200
|
-
protected readonly headerGroupCellClass:
|
|
2201
|
-
protected readonly headerGroupRowClass:
|
|
2202
|
-
protected readonly headerGroupSpacerCellClass:
|
|
2203
|
-
protected readonly headerGroupTitleClass:
|
|
2200
|
+
protected readonly headerClass: Signal<string>;
|
|
2201
|
+
protected readonly headerGroupCellClass: Signal<string>;
|
|
2202
|
+
protected readonly headerGroupRowClass: Signal<string>;
|
|
2203
|
+
protected readonly headerGroupSpacerCellClass: Signal<string>;
|
|
2204
|
+
protected readonly headerGroupTitleClass: Signal<string>;
|
|
2204
2205
|
/** Each header's keyboard shortcuts, for `aria-keyshortcuts`. */
|
|
2205
|
-
protected readonly headerKeyShortcuts:
|
|
2206
|
-
protected readonly headerMarginInlineEnd:
|
|
2207
|
-
protected readonly headerTableCellClass:
|
|
2208
|
-
protected readonly headerTableClass:
|
|
2206
|
+
protected readonly headerKeyShortcuts: Signal<Map<string, string>>;
|
|
2207
|
+
protected readonly headerMarginInlineEnd: Signal<number>;
|
|
2208
|
+
protected readonly headerTableCellClass: Signal<string>;
|
|
2209
|
+
protected readonly headerTableClass: Signal<string>;
|
|
2209
2210
|
/** The column header row: under group rows it draws no line of its own, as the group titles have one. */
|
|
2210
|
-
protected readonly headerTableColumnRowClass:
|
|
2211
|
-
protected readonly headerTableColumnTitleClass:
|
|
2212
|
-
protected readonly headerTableColumnWrapClass:
|
|
2213
|
-
protected readonly headerTableRowClass:
|
|
2214
|
-
protected readonly messages:
|
|
2215
|
-
protected readonly multiselectable:
|
|
2216
|
-
protected readonly noDataClass:
|
|
2217
|
-
protected readonly noDataTemplate:
|
|
2211
|
+
protected readonly headerTableColumnRowClass: Signal<string>;
|
|
2212
|
+
protected readonly headerTableColumnTitleClass: Signal<string>;
|
|
2213
|
+
protected readonly headerTableColumnWrapClass: Signal<string>;
|
|
2214
|
+
protected readonly headerTableRowClass: Signal<string>;
|
|
2215
|
+
protected readonly messages: Signal<MonaGridMessages>;
|
|
2216
|
+
protected readonly multiselectable: Signal<boolean>;
|
|
2217
|
+
protected readonly noDataClass: Signal<string>;
|
|
2218
|
+
protected readonly noDataTemplate: Signal<TemplateRef<any> | undefined>;
|
|
2218
2219
|
/** The column whose group chip has its menu open. */
|
|
2219
2220
|
protected readonly openGroupMenuColumnId: import("@angular/core").WritableSignal<string | null>;
|
|
2220
2221
|
protected readonly resizing: import("@angular/core").WritableSignal<boolean>;
|
|
2221
|
-
protected readonly toolbarContext:
|
|
2222
|
-
protected readonly toolbarElement:
|
|
2223
|
-
protected readonly toolbarTemplate:
|
|
2222
|
+
protected readonly toolbarContext: Signal<GridToolbarTemplateContext>;
|
|
2223
|
+
protected readonly toolbarElement: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
2224
|
+
protected readonly toolbarTemplate: Signal<TemplateRef<any> | undefined>;
|
|
2224
2225
|
protected readonly uid: string;
|
|
2225
2226
|
/**
|
|
2226
2227
|
* @description The grid's accessible name, such as "Orders". Use it, or `aria-labelledby`. The grid moves
|
|
@@ -2280,7 +2281,7 @@ export declare class GridComponent<T> implements GridVariantInput {
|
|
|
2280
2281
|
* @description The border radius of the grid.
|
|
2281
2282
|
* @default "medium"
|
|
2282
2283
|
*/
|
|
2283
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "
|
|
2284
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
2284
2285
|
/**
|
|
2285
2286
|
* @description Returns extra CSS classes for the data row that shows an item, merged onto the row's own
|
|
2286
2287
|
* classes via `tailwind-merge`. It runs again whenever the item's row is rebound.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef, EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
|
|
3
|
-
import { Directionality } from "@angular/cdk/bidi";
|
|
4
3
|
import { DateTime } from "luxon";
|
|
4
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
5
5
|
export type DeepPartial<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly (infer U)[] ? readonly DeepPartial<U>[] : T extends object ? { [K in keyof T]?: DeepPartial<T[K]>; } : T;
|
|
6
6
|
export type MonaTextDirection = "ltr" | "rtl";
|
|
7
7
|
/**
|
|
@@ -1153,7 +1153,7 @@ export interface MonaMessageOverrideOptions {
|
|
|
1153
1153
|
export declare const MONA_I18N_CONFIG: InjectionToken<MonaI18nConfig>;
|
|
1154
1154
|
export declare class MonaI18nService {
|
|
1155
1155
|
#private;
|
|
1156
|
-
readonly direction: Signal<
|
|
1156
|
+
readonly direction: Signal<MonaTextDirection>;
|
|
1157
1157
|
/** The error of the latest `load()` when it failed, otherwise `null`. */
|
|
1158
1158
|
readonly loadError: Signal<unknown>;
|
|
1159
1159
|
/** Whether a `load()` is in progress and has not been superseded. */
|
|
@@ -58,7 +58,7 @@ export declare class FilterInputComponent implements OnInit {
|
|
|
58
58
|
readonly inputBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
59
59
|
readonly inputFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
60
60
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
61
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
61
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
62
62
|
constructor();
|
|
63
63
|
focus(): void;
|
|
64
64
|
ngOnInit(): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaListMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { InjectionToken, OnInit, Signal, TemplateRef } from "@angular/core";
|
|
4
4
|
import { FilterChangeEvent, FilterableOptions, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
|
|
5
|
-
import { ImmutableSet, Predicate, Selector } from "@mirei/ts-collections";
|
|
6
5
|
import { ReplaySubject, Subject } from "rxjs";
|
|
7
|
-
import {
|
|
6
|
+
import { ImmutableSet, Predicate, Selector } from "@mirei/ts-collections";
|
|
7
|
+
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
8
8
|
interface ListItemOptions<T> {
|
|
9
9
|
data: T;
|
|
10
10
|
header?: string;
|
|
@@ -172,7 +172,7 @@ export declare class ListService<TData> {
|
|
|
172
172
|
readonly selectAllItem: ListItem<TData>;
|
|
173
173
|
readonly selectAllLabel: import("@angular/core").WritableSignal<string>;
|
|
174
174
|
/** How many of the options "Select all" covers are selected. */
|
|
175
|
-
readonly selectAllState: import("@angular/core").Signal<"
|
|
175
|
+
readonly selectAllState: import("@angular/core").Signal<"all" | "some" | "none">;
|
|
176
176
|
readonly selectableOptions: import("@angular/core").WritableSignal<SelectableOptions>;
|
|
177
177
|
readonly selectedKeys: import("@angular/core").WritableSignal<ImmutableSet<unknown>>;
|
|
178
178
|
readonly selectedKeysChange$: Subject<unknown[]>;
|
|
@@ -359,7 +359,7 @@ export declare class ListComponent<TData> implements OnInit {
|
|
|
359
359
|
readonly listStyle: import("@angular/core").InputSignal<Partial<CSSStyleDeclaration>>;
|
|
360
360
|
readonly maxHeight: import("@angular/core").InputSignal<ListSizeInputType>;
|
|
361
361
|
readonly maxWidth: import("@angular/core").InputSignal<ListSizeInputType>;
|
|
362
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
362
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
363
363
|
readonly textField: import("@angular/core").InputSignal<ListKeySelector<TData, string> | undefined>;
|
|
364
364
|
readonly width: import("@angular/core").InputSignal<ListSizeInputType>;
|
|
365
365
|
constructor();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken, Signal, TemplateRef } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
2
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
4
|
/**
|
|
5
5
|
* Emitted when a menu item is activated by a click, Enter or Space. Preventing it keeps the menu open and leaves a
|
|
6
6
|
* checkbox or radio item's state unchanged.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { MonaTreeViewMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { ImmutableSet, List, Predicate, Selector } from "@mirei/ts-collections";
|
|
4
4
|
import { FilterChangeEvent, FilterableOptions, PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
5
|
import { BehaviorSubject, Observable, ReplaySubject, Subject } from "rxjs";
|
|
6
|
-
import {
|
|
6
|
+
import { ImmutableSet, List, Predicate, Selector } from "@mirei/ts-collections";
|
|
7
7
|
export interface CheckableOptions {
|
|
8
8
|
/**
|
|
9
9
|
* @description Determines whether checking a node should also check its children.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Action, Action as Action$1, AttributeConfig, AttributeConfig as AttributeConfig$1 } from "@nanahoshi/mona-ui/common";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { DestroyRef, ElementRef, InjectionToken, Provider, Signal } from "@angular/core";
|
|
4
|
-
import {
|
|
3
|
+
import { Action, Action as Action$1, AttributeConfig, AttributeConfig as AttributeConfig$1 } from "@nanahoshi/mona-ui/common";
|
|
5
4
|
import { Observable } from "rxjs";
|
|
5
|
+
import { ConnectionPositionPair, OverlayRef, ScrollStrategy } from "@angular/cdk/overlay";
|
|
6
6
|
export declare class AttributeBinderDirective {
|
|
7
7
|
#private;
|
|
8
8
|
readonly attributes: import("@angular/core").InputSignal<AttributeConfig$1>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { MonaKanbanMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
4
|
+
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
3
5
|
import * as i2 from "@nanahoshi/mona-ui/sortable";
|
|
4
6
|
import { SortableMoveEvent } from "@nanahoshi/mona-ui/sortable";
|
|
5
|
-
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
6
7
|
import * as i1 from "@angular/cdk/scrolling";
|
|
7
|
-
import { MonaKanbanMessages } from "@nanahoshi/mona-ui/i18n";
|
|
8
8
|
/**
|
|
9
9
|
* A card dragged, or moved with Control+Shift and the arrow keys, to a new place on a Kanban board: within its column
|
|
10
10
|
* or into another. Call `preventDefault()` to refuse the move: the board then doesn't emit its new data, and the card
|