@nanahoshi/mona-ui 0.1.0 → 0.2.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/auto-complete/package.json +4 -0
- package/avatar/package.json +4 -0
- package/breadcrumb/package.json +4 -0
- package/button/package.json +4 -0
- package/button-group/package.json +4 -0
- package/calendar/package.json +4 -0
- package/check-box/package.json +4 -0
- package/chip/package.json +4 -0
- package/circular-progress-bar/package.json +4 -0
- package/color-gradient/package.json +4 -0
- package/color-palette/package.json +4 -0
- package/color-picker/package.json +4 -0
- package/combo-box/package.json +4 -0
- package/common/package.json +4 -0
- package/contextmenu/package.json +4 -0
- package/date-input/package.json +4 -0
- package/date-picker/package.json +4 -0
- package/datetime-picker/package.json +4 -0
- package/dialog/package.json +4 -0
- package/dropdown-button/package.json +4 -0
- package/dropdown-list/package.json +4 -0
- package/dropdowns/package.json +4 -0
- package/editor/package.json +4 -0
- package/expansion-panel/package.json +4 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +40 -55
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +24 -58
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +37 -48
- package/fesm2022/nanahoshi-mona-ui-button.mjs +130 -129
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +69 -165
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +81 -128
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +102 -112
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +11 -25
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +41 -92
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +27 -49
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +64 -65
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +39 -61
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +12 -15
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +44 -33
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +58 -60
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +52 -165
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +36 -59
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +56 -61
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +302 -81
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +33 -84
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +12 -45
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +18 -48
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-B9SQH5N-.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-B6FBLtrr.mjs} +14 -14
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DlLwcCFT.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-OJe4UYuw.mjs} +4 -8
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-DCd8K6ng.mjs +121 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-DIUutx9s.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-Dl8Hlkhj.mjs} +26 -55
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-C5FRZlvv.mjs +231 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-C3eZIaJK.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BRZUd8cE.mjs} +167 -451
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +10 -28
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +57 -87
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +48 -139
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +29 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +10 -32
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +8 -21
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +50 -156
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +40 -69
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +32 -116
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +81 -107
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +33 -85
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +12 -34
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +31 -52
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +38 -110
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +21 -62
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +66 -111
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +60 -151
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +117 -173
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +32 -45
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +29 -64
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +38 -101
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +58 -79
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +42 -118
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +29 -37
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +60 -81
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +1111 -269
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +45 -39
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +45 -109
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +54 -82
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-window.mjs +35 -115
- package/fieldset/package.json +4 -0
- package/filter/package.json +4 -0
- package/grid/package.json +4 -0
- package/internal/filter-input/package.json +4 -0
- package/internal/indicator-icon/package.json +4 -0
- package/internal/list/package.json +4 -0
- package/internal/package.json +4 -0
- package/internal/tree/package.json +4 -0
- package/list/package.json +4 -0
- package/list-box/package.json +4 -0
- package/list-view/package.json +4 -0
- package/menubar/package.json +4 -0
- package/multi-select/package.json +4 -0
- package/notification/package.json +4 -0
- package/numeric-text-box/package.json +4 -0
- package/package.json +31 -5
- package/pager/package.json +4 -0
- package/placeholder/package.json +4 -0
- package/popover/package.json +4 -0
- package/popup/package.json +4 -0
- package/popup-menu/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/query/package.json +4 -0
- package/radio-button/package.json +4 -0
- package/scroll-view/package.json +4 -0
- package/slider/package.json +4 -0
- package/split-button/package.json +4 -0
- package/splitter/package.json +4 -0
- package/stepper/package.json +4 -0
- package/switch/package.json +4 -0
- package/tabs/package.json +4 -0
- package/text-area/package.json +4 -0
- package/text-box/package.json +4 -0
- package/theme/package.json +4 -0
- package/time-picker/package.json +4 -0
- package/time-selector/package.json +4 -0
- package/tooltip/package.json +4 -0
- package/tree-view/package.json +4 -0
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +6 -7
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +4 -6
- package/types/nanahoshi-mona-ui-button-group.d.ts +2 -3
- package/types/nanahoshi-mona-ui-button.d.ts +6 -6
- package/types/nanahoshi-mona-ui-calendar.d.ts +21 -22
- package/types/nanahoshi-mona-ui-check-box.d.ts +6 -9
- package/types/nanahoshi-mona-ui-chip.d.ts +2 -3
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +2 -4
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +10 -11
- package/types/nanahoshi-mona-ui-color-palette.d.ts +4 -5
- package/types/nanahoshi-mona-ui-color-picker.d.ts +6 -8
- package/types/nanahoshi-mona-ui-combo-box.d.ts +6 -7
- package/types/nanahoshi-mona-ui-date-input.d.ts +2 -3
- package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -3
- package/types/nanahoshi-mona-ui-dialog.d.ts +7 -8
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +6 -7
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +2 -3
- package/types/nanahoshi-mona-ui-editor.d.ts +17 -17
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +8 -10
- package/types/nanahoshi-mona-ui-fieldset.d.ts +6 -8
- package/types/nanahoshi-mona-ui-filter.d.ts +3 -4
- package/types/nanahoshi-mona-ui-grid.d.ts +16 -17
- package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +0 -1
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +16 -16
- package/types/nanahoshi-mona-ui-internal.d.ts +8 -1
- package/types/nanahoshi-mona-ui-list-box.d.ts +4 -5
- package/types/nanahoshi-mona-ui-list-view.d.ts +2 -3
- package/types/nanahoshi-mona-ui-menubar.d.ts +7 -8
- package/types/nanahoshi-mona-ui-multi-select.d.ts +8 -9
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +2 -3
- package/types/nanahoshi-mona-ui-pager.d.ts +6 -7
- package/types/nanahoshi-mona-ui-placeholder.d.ts +4 -6
- package/types/nanahoshi-mona-ui-popover.d.ts +8 -9
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +12 -13
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +8 -9
- package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -11
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +18 -20
- package/types/nanahoshi-mona-ui-slider.d.ts +18 -18
- package/types/nanahoshi-mona-ui-split-button.d.ts +2 -3
- package/types/nanahoshi-mona-ui-splitter.d.ts +6 -8
- package/types/nanahoshi-mona-ui-stepper.d.ts +13 -14
- package/types/nanahoshi-mona-ui-switch.d.ts +6 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +15 -17
- package/types/nanahoshi-mona-ui-text-area.d.ts +2 -4
- package/types/nanahoshi-mona-ui-text-box.d.ts +4 -6
- package/types/nanahoshi-mona-ui-theme.d.ts +111 -12
- package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -3
- package/types/nanahoshi-mona-ui-time-selector.d.ts +10 -11
- package/types/nanahoshi-mona-ui-tooltip.d.ts +4 -5
- package/types/nanahoshi-mona-ui-window.d.ts +16 -17
- package/window/package.json +4 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Dgea-O0X.mjs +0 -130
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DRHycGIh.mjs +0 -240
|
@@ -8,7 +8,6 @@ import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
10
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
11
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
12
11
|
import { VariantProps } from 'class-variance-authority';
|
|
13
12
|
|
|
14
13
|
type DropdownFieldSelectorType<TData> = string | Selector<TData, string> | null | undefined;
|
|
@@ -165,11 +164,11 @@ declare class DropdownListService {
|
|
|
165
164
|
static ɵprov: i0.ɵɵInjectableDeclaration<DropdownListService>;
|
|
166
165
|
}
|
|
167
166
|
|
|
168
|
-
declare const dropdownPopupThemeVariants: (
|
|
167
|
+
declare const dropdownPopupThemeVariants: (props?: ({
|
|
169
168
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
170
169
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
171
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
|
-
type DropdownPopupVariantProps = VariantProps<
|
|
171
|
+
type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
|
|
173
172
|
type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
|
|
174
173
|
|
|
175
174
|
export { DropdownDataHandlerDirective, DropdownDataInputToken, DropdownFilterableDirective, DropdownFooterTemplateDirective, DropdownGroupHeaderTemplateDirective, DropdownGroupableDirective, DropdownHeaderTemplateDirective, DropdownItemTemplateDirective, DropdownListPopupHandlerDirective, DropdownListService, DropdownLiveRegionDirective, DropdownNoDataTemplateDirective, DropdownPopupHandlerDirective, DropdownPopupInputToken, DropdownPrefixTemplateDirective, DropdownService, DropdownSuffixTemplateDirective, DropdownVirtualScrollDirective, dropdownPopupThemeVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
3
|
import { JSONContent, Editor } from '@tiptap/core';
|
|
4
4
|
import { ImmutableSet } from '@mirei/ts-collections';
|
|
5
5
|
import { EditorState } from '@tiptap/pm/state';
|
|
@@ -56,43 +56,43 @@ declare class EditorService {
|
|
|
56
56
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<EditorService>;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare class EditorComponent
|
|
59
|
+
declare class EditorComponent {
|
|
60
|
+
#private;
|
|
61
|
+
protected readonly baseClass: _angular_core.Signal<string>;
|
|
62
|
+
protected readonly containerClass: _angular_core.Signal<string>;
|
|
60
63
|
protected readonly editorContainer: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
61
64
|
protected readonly editorService: EditorService;
|
|
65
|
+
protected readonly toolbarClass: _angular_core.Signal<string>;
|
|
62
66
|
/**
|
|
63
|
-
* Emits when the editor loses focus.
|
|
67
|
+
* @description Emits when the editor loses focus.
|
|
64
68
|
*/
|
|
65
69
|
readonly blur: _angular_core.OutputEmitterRef<void>;
|
|
66
70
|
/**
|
|
67
|
-
* Emits when the editor is created for the first time and is ready to be used.
|
|
71
|
+
* @description Emits when the editor is created for the first time and is ready to be used.
|
|
68
72
|
*/
|
|
69
73
|
readonly create: _angular_core.OutputEmitterRef<void>;
|
|
70
74
|
/**
|
|
71
|
-
* Emits when the editor gains focus.
|
|
75
|
+
* @description Emits when the editor gains focus.
|
|
72
76
|
*/
|
|
73
77
|
readonly focus: _angular_core.OutputEmitterRef<void>;
|
|
74
78
|
/**
|
|
75
|
-
* Emits when the selection of the editor changes.
|
|
79
|
+
* @description Emits when the selection of the editor changes.
|
|
76
80
|
*/
|
|
77
81
|
readonly selectionUpdate: _angular_core.OutputEmitterRef<void>;
|
|
78
82
|
/**
|
|
79
|
-
* Emits when the content of the editor changes.
|
|
83
|
+
* @description Emits when the content of the editor changes.
|
|
80
84
|
*/
|
|
81
85
|
readonly update: _angular_core.OutputEmitterRef<ContentChangeEvent>;
|
|
82
86
|
/**
|
|
83
|
-
* The initial content of the editor.
|
|
84
|
-
* Accepted values are:
|
|
85
|
-
* - A string representing the HTML content.
|
|
86
|
-
* - A {@link JSONContent} representing the content.
|
|
87
|
+
* @description The initial content of the editor.
|
|
87
88
|
*/
|
|
88
|
-
content: _angular_core.InputSignal<string | JSONContent | undefined>;
|
|
89
|
+
readonly content: _angular_core.InputSignal<string | JSONContent | undefined>;
|
|
89
90
|
/**
|
|
90
|
-
* The settings of the editor.
|
|
91
|
+
* @description The settings of the editor.
|
|
91
92
|
*/
|
|
92
|
-
settings: _angular_core.InputSignal<Partial<EditorSettings>>;
|
|
93
|
+
readonly settings: _angular_core.InputSignal<Partial<EditorSettings>>;
|
|
94
|
+
readonly userClass: _angular_core.InputSignal<string>;
|
|
93
95
|
constructor();
|
|
94
|
-
ngOnDestroy(): void;
|
|
95
|
-
ngOnInit(): void;
|
|
96
96
|
private loadEditorContent;
|
|
97
97
|
private setSubscriptions;
|
|
98
98
|
/**
|
|
@@ -106,7 +106,7 @@ declare class EditorComponent implements OnDestroy, OnInit {
|
|
|
106
106
|
*/
|
|
107
107
|
get json(): JSONContent;
|
|
108
108
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditorComponent, never>;
|
|
109
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditorComponent, "mona-editor", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; }, { "blur": "blur"; "create": "create"; "focus": "focus"; "selectionUpdate": "selectionUpdate"; "update": "update"; }, never, never, true, never>;
|
|
109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditorComponent, "mona-editor", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "settings": { "alias": "settings"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "blur": "blur"; "create": "create"; "focus": "focus"; "selectionUpdate": "selectionUpdate"; "update": "update"; }, never, never, true, never>;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export { EditorComponent };
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
5
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
8
|
-
declare const expansionPanelBaseThemeVariants: (
|
|
7
|
+
declare const expansionPanelBaseThemeVariants: (props?: ({
|
|
9
8
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const expansionPanelHeaderThemeVariants: (
|
|
10
|
+
declare const expansionPanelHeaderThemeVariants: (props?: ({
|
|
12
11
|
collapsed?: boolean | null | undefined;
|
|
13
12
|
disabled?: boolean | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
declare const expansionPanelIconContainerThemeVariants: (
|
|
14
|
+
declare const expansionPanelIconContainerThemeVariants: (props?: ({
|
|
16
15
|
hasTemplate?: boolean | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
declare const expansionPanelContentThemeVariants: (
|
|
17
|
+
declare const expansionPanelContentThemeVariants: (props?: ({
|
|
19
18
|
expanded?: boolean | null | undefined;
|
|
20
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
-
type ExpansionPanelBaseVariantProps = VariantProps<
|
|
20
|
+
type ExpansionPanelBaseVariantProps = VariantProps<typeof expansionPanelBaseThemeVariants>;
|
|
22
21
|
type ExpansionPanelBaseVariantInput = VariantInputs<ExpansionPanelBaseVariantProps>;
|
|
23
|
-
type ExpansionPanelHeaderVariantProps = VariantProps<
|
|
22
|
+
type ExpansionPanelHeaderVariantProps = VariantProps<typeof expansionPanelHeaderThemeVariants>;
|
|
24
23
|
type ExpansionPanelHeaderVariantInput = VariantInputs<ExpansionPanelHeaderVariantProps>;
|
|
25
|
-
type ExpansionPanelContentVariantProps = VariantProps<
|
|
24
|
+
type ExpansionPanelContentVariantProps = VariantProps<typeof expansionPanelContentThemeVariants>;
|
|
26
25
|
type ExpansionPanelContentVariantInput = VariantInputs<ExpansionPanelContentVariantProps>;
|
|
27
|
-
type ExpansionPanelIconContainerVariantProps = VariantProps<
|
|
26
|
+
type ExpansionPanelIconContainerVariantProps = VariantProps<typeof expansionPanelIconContainerThemeVariants>;
|
|
28
27
|
type ExpansionPanelIconContainerVariantInput = VariantInputs<ExpansionPanelIconContainerVariantProps>;
|
|
29
28
|
type ExpansionPanelVariantInput = ExpansionPanelBaseVariantInput & Omit<ExpansionPanelHeaderVariantInput, "collapsed"> & ExpansionPanelContentVariantInput & Omit<ExpansionPanelIconContainerVariantInput, "hasTemplate">;
|
|
30
29
|
|
|
31
30
|
declare class ExpansionPanelComponent implements ExpansionPanelVariantInput {
|
|
32
|
-
#private;
|
|
33
31
|
protected readonly actionsTemplateList: _angular_core.Signal<readonly TemplateRef<any>[]>;
|
|
34
32
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
35
33
|
protected readonly contentClass: _angular_core.Signal<string>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
5
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
@@ -10,25 +9,24 @@ declare class FieldsetLegendTemplateDirective {
|
|
|
10
9
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FieldsetLegendTemplateDirective, "ng-template[monaFieldsetLegendTemplate]", never, {}, {}, never, never, true, never>;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
declare const fieldsetBaseThemeVariants: (
|
|
14
|
-
declare const fieldsetThemeVariants: (
|
|
12
|
+
declare const fieldsetBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
13
|
+
declare const fieldsetThemeVariants: (props?: ({
|
|
15
14
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
16
15
|
disabled?: boolean | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
declare const fieldsetLegendThemeVariants: (
|
|
17
|
+
declare const fieldsetLegendThemeVariants: (props?: ({
|
|
19
18
|
hasTemplate?: boolean | null | undefined;
|
|
20
19
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
21
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
type FieldsetBaseVariantProps = VariantProps<
|
|
21
|
+
type FieldsetBaseVariantProps = VariantProps<typeof fieldsetBaseThemeVariants>;
|
|
23
22
|
type FieldsetBaseVariantInput = VariantInputs<FieldsetBaseVariantProps>;
|
|
24
|
-
type FieldsetFieldsetVariantProps = VariantProps<
|
|
23
|
+
type FieldsetFieldsetVariantProps = VariantProps<typeof fieldsetThemeVariants>;
|
|
25
24
|
type FieldsetFieldsetVariantInput = VariantInputs<FieldsetFieldsetVariantProps>;
|
|
26
|
-
type FieldsetLegendVariantProps = VariantProps<
|
|
25
|
+
type FieldsetLegendVariantProps = VariantProps<typeof fieldsetLegendThemeVariants>;
|
|
27
26
|
type FieldsetLegendVariantInput = VariantInputs<FieldsetLegendVariantProps>;
|
|
28
27
|
type FieldsetVariantInput = FieldsetBaseVariantInput & FieldsetFieldsetVariantInput & Omit<FieldsetLegendVariantInput, "hasTemplate">;
|
|
29
28
|
|
|
30
29
|
declare class FieldsetComponent implements FieldsetVariantInput {
|
|
31
|
-
#private;
|
|
32
30
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
33
31
|
protected readonly fieldsetClass: _angular_core.Signal<string>;
|
|
34
32
|
protected readonly legendClass: _angular_core.Signal<string>;
|
|
@@ -2,9 +2,8 @@ import { FilterOperators, FilterLogic, CompositeFilterDescriptor, BooleanFilterO
|
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { DataType } from '@nanahoshi/mona-ui/common';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
7
5
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
|
+
import { VariantProps } from 'class-variance-authority';
|
|
8
7
|
|
|
9
8
|
interface FilterMenuDataItem {
|
|
10
9
|
text: string;
|
|
@@ -30,11 +29,11 @@ interface FilterMenuConnectorItem {
|
|
|
30
29
|
value: FilterLogic;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
declare const filterMenuBaseThemeVariants: (
|
|
32
|
+
declare const filterMenuBaseThemeVariants: (props?: ({
|
|
34
33
|
rounded?: "none" | "small" | "medium" | "large" | null | undefined;
|
|
35
34
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
36
35
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
37
|
-
type FilterMenuBaseVariantProps = VariantProps<
|
|
36
|
+
type FilterMenuBaseVariantProps = VariantProps<typeof filterMenuBaseThemeVariants>;
|
|
38
37
|
type FilterMenuBaseVariantInput = VariantInputs<FilterMenuBaseVariantProps>;
|
|
39
38
|
type FilterMenuVariantInput = FilterMenuBaseVariantInput;
|
|
40
39
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DataType, PreventableEvent, VirtualScrollOptions } from '@nanahoshi/mona-ui/common';
|
|
2
|
-
import { FieldTree, SchemaOrSchemaFn, ValidationError } from '@angular/forms/signals';
|
|
3
2
|
import * as _angular_core from '@angular/core';
|
|
4
3
|
import { TemplateRef, WritableSignal, OnInit, ElementRef } from '@angular/core';
|
|
4
|
+
import { FieldTree, SchemaOrSchemaFn, ValidationError } from '@angular/forms/signals';
|
|
5
5
|
import { SortDirection, CompositeFilterDescriptor, SortDescriptor, FilterLogic, FilterOperators } from '@nanahoshi/mona-ui/query';
|
|
6
6
|
import { Selector, ImmutableDictionary, ImmutableList, ImmutableSet } from '@mirei/ts-collections';
|
|
7
7
|
import * as _nanahoshi_mona_ui_grid from '@nanahoshi/mona-ui/grid';
|
|
@@ -12,9 +12,8 @@ import * as rxjs from 'rxjs';
|
|
|
12
12
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
13
13
|
import { PopupMenuItem } from '@nanahoshi/mona-ui/popup-menu';
|
|
14
14
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
15
|
-
import { VariantProps } from 'class-variance-authority';
|
|
16
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
17
15
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
16
|
+
import { VariantProps } from 'class-variance-authority';
|
|
18
17
|
|
|
19
18
|
type AggregateFunction = "sum" | "avg" | "count" | "min" | "max" | "custom";
|
|
20
19
|
|
|
@@ -955,28 +954,28 @@ declare class GridService {
|
|
|
955
954
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GridService>;
|
|
956
955
|
}
|
|
957
956
|
|
|
958
|
-
declare const gridBaseThemeVariants: (
|
|
957
|
+
declare const gridBaseThemeVariants: (props?: ({
|
|
959
958
|
rounded?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
960
959
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
961
|
-
declare const
|
|
962
|
-
declare const
|
|
963
|
-
declare const
|
|
964
|
-
declare const
|
|
965
|
-
declare const
|
|
966
|
-
declare const
|
|
967
|
-
type GridBaseVariantProps = VariantProps<
|
|
960
|
+
declare const gridHeaderThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
961
|
+
declare const gridHeaderTableThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
962
|
+
declare const gridHeaderTableRowThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
963
|
+
declare const gridHeaderTableCellThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
964
|
+
declare const gridHeaderTableColumnWrapThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
965
|
+
declare const gridHeaderTableColumnTitleThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
966
|
+
type GridBaseVariantProps = VariantProps<typeof gridBaseThemeVariants>;
|
|
968
967
|
type GridBaseVariantInput = VariantInputs<GridBaseVariantProps>;
|
|
969
|
-
type GridHeaderTableCellVariantProps = VariantProps<
|
|
968
|
+
type GridHeaderTableCellVariantProps = VariantProps<typeof gridHeaderTableCellThemeVariants>;
|
|
970
969
|
type GridHeaderTableCellVariantInput = VariantInputs<GridHeaderTableCellVariantProps>;
|
|
971
|
-
type GridHeaderTableColumnTitleVariantProps = VariantProps<
|
|
970
|
+
type GridHeaderTableColumnTitleVariantProps = VariantProps<typeof gridHeaderTableColumnTitleThemeVariants>;
|
|
972
971
|
type GridHeaderTableColumnTitleVariantInput = VariantInputs<GridHeaderTableColumnTitleVariantProps>;
|
|
973
|
-
type GridHeaderTableColumnWrapVariantProps = VariantProps<
|
|
972
|
+
type GridHeaderTableColumnWrapVariantProps = VariantProps<typeof gridHeaderTableColumnWrapThemeVariants>;
|
|
974
973
|
type GridHeaderTableColumnWrapVariantInput = VariantInputs<GridHeaderTableColumnWrapVariantProps>;
|
|
975
|
-
type GridHeaderTableRowVariantProps = VariantProps<
|
|
974
|
+
type GridHeaderTableRowVariantProps = VariantProps<typeof gridHeaderTableRowThemeVariants>;
|
|
976
975
|
type GridHeaderTableRowVariantInput = VariantInputs<GridHeaderTableRowVariantProps>;
|
|
977
|
-
type GridHeaderTableVariantProps = VariantProps<
|
|
976
|
+
type GridHeaderTableVariantProps = VariantProps<typeof gridHeaderTableThemeVariants>;
|
|
978
977
|
type GridHeaderTableVariantInput = VariantInputs<GridHeaderTableVariantProps>;
|
|
979
|
-
type GridHeaderVariantProps = VariantProps<
|
|
978
|
+
type GridHeaderVariantProps = VariantProps<typeof gridHeaderThemeVariants>;
|
|
980
979
|
type GridHeaderVariantInput = VariantInputs<GridHeaderVariantProps>;
|
|
981
980
|
type GridVariantInput = GridBaseVariantInput & GridHeaderTableCellVariantInput & GridHeaderTableColumnTitleVariantInput & GridHeaderTableColumnWrapVariantInput & Omit<GridHeaderTableRowVariantInput, "isFilterRow"> & GridHeaderTableVariantInput & GridHeaderVariantInput;
|
|
982
981
|
|
|
@@ -4,7 +4,6 @@ import { LucideIconInput } from '@lucide/angular';
|
|
|
4
4
|
|
|
5
5
|
type IndicatorIconPreset = "clear" | "dropdown" | "loading";
|
|
6
6
|
declare class IndicatorIconComponent {
|
|
7
|
-
#private;
|
|
8
7
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
9
8
|
protected readonly hasProjectedContent: _angular_core.WritableSignal<boolean>;
|
|
10
9
|
protected readonly iconClass: _angular_core.Signal<string>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { ImmutableSet, Selector, List, Predicate } from '@mirei/ts-collections';
|
|
4
|
-
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
5
4
|
import { PreventableEvent, FilterableOptions, FilterChangeEvent } from '@nanahoshi/mona-ui/common';
|
|
5
|
+
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
6
6
|
|
|
7
7
|
interface CheckableOptions {
|
|
8
8
|
/**
|
|
@@ -170,21 +170,6 @@ declare class NodeSelectEvent<T> extends PreventableEvent {
|
|
|
170
170
|
get nodeItem(): NodeItem<T>;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
interface TreeNodeCheckEvent<T> {
|
|
174
|
-
checked: boolean;
|
|
175
|
-
node: TreeNode<T>;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
interface TreeNodeExpandEvent<T> {
|
|
179
|
-
expanded: boolean;
|
|
180
|
-
node: TreeNode<T>;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface TreeNodeSelectEvent<T> {
|
|
184
|
-
node: TreeNode<T>;
|
|
185
|
-
selected: boolean;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
173
|
type SelectableOptions = {
|
|
189
174
|
/**
|
|
190
175
|
* @description Determines if the selection functionality is active.
|
|
@@ -212,6 +197,21 @@ interface MultipleSelectionConfig {
|
|
|
212
197
|
mode: "multiple";
|
|
213
198
|
}
|
|
214
199
|
|
|
200
|
+
interface TreeNodeCheckEvent<T> {
|
|
201
|
+
checked: boolean;
|
|
202
|
+
node: TreeNode<T>;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
interface TreeNodeExpandEvent<T> {
|
|
206
|
+
expanded: boolean;
|
|
207
|
+
node: TreeNode<T>;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface TreeNodeSelectEvent<T> {
|
|
211
|
+
node: TreeNode<T>;
|
|
212
|
+
selected: boolean;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
215
|
type ChildrenSelector<T> = string | Selector<T, Iterable<T> | Observable<Iterable<T>>>;
|
|
216
216
|
type NodeKeySelector<T, K = any> = string | Selector<T, K> | null;
|
|
217
217
|
|
|
@@ -89,6 +89,13 @@ type VariantInputs<T> = {
|
|
|
89
89
|
[K in keyof T]-?: Signal<T[K]>;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
+
declare const themeControlBackdropClasses = "\n [background-image:var(--mona-effect-control-background-image,none)]\n [backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n";
|
|
93
|
+
declare const themeControlSurfaceClasses = "\n [background-color:var(--mona-effect-control-background-color,var(--color-input-background))]\n \n [background-image:var(--mona-effect-control-background-image,none)]\n [backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n\n";
|
|
94
|
+
declare const themeRaisedBackdropClasses = "\n [background-image:var(--mona-effect-raised-background-image,none)]\n [backdrop-filter:var(--mona-effect-raised-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-raised-backdrop-filter,none)]\n";
|
|
95
|
+
declare const themeRaisedSurfaceClasses = "\n [background-color:var(--mona-effect-raised-background-color,var(--color-surface-raised))]\n \n [background-image:var(--mona-effect-raised-background-image,none)]\n [backdrop-filter:var(--mona-effect-raised-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-raised-backdrop-filter,none)]\n\n";
|
|
96
|
+
declare const themeOverlayBackdropClasses = "\n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n";
|
|
97
|
+
declare const themeOverlaySurfaceClasses = "\n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n";
|
|
98
|
+
|
|
92
99
|
declare const restoreOverlayScroll: (overlayRef: OverlayRef, element: HTMLElement) => void;
|
|
93
100
|
|
|
94
101
|
interface WindowStyleSettings {
|
|
@@ -132,5 +139,5 @@ declare const isNavigationKey: (key: string) => boolean;
|
|
|
132
139
|
declare const isTypeaheadKey: (key: string) => boolean;
|
|
133
140
|
declare const setupTypeahead: (typeaheadKey$: Observable<string>) => Observable<string>;
|
|
134
141
|
|
|
135
|
-
export { AttributeBinderDirective, NavigationKeys, NavigationKeysList, createElementControlId, focusElement, hex2rgba, hsla2hsva, hsva2rgba, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setWindowStyles, setupTypeahead, string2Hsla, string2rgba, toCssValue };
|
|
142
|
+
export { AttributeBinderDirective, NavigationKeys, NavigationKeysList, createElementControlId, focusElement, hex2rgba, hsla2hsva, hsva2rgba, isNavigationKey, isTypeaheadKey, isValidHex, isValidHsla, isValidRgb, restoreOverlayScroll, rgba2hex, rgba2hsla, rgba2hsva, rxFromResize, rxTimeout, setWindowStyles, setupTypeahead, string2Hsla, string2rgba, themeControlBackdropClasses, themeControlSurfaceClasses, themeOverlayBackdropClasses, themeOverlaySurfaceClasses, themeRaisedBackdropClasses, themeRaisedSurfaceClasses, toCssValue };
|
|
136
143
|
export type { Action, AttributeConfig, Channel, ColorScheme, HSL, HSLA, HSV, HSVA, HSVChannel, RGB, RGBA, RGBAChannel, RGBChannel, VariantInputs, WindowStyleSettings };
|
|
@@ -6,7 +6,6 @@ import { ImmutableList, ImmutableSet } from '@mirei/ts-collections';
|
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
8
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
9
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
10
9
|
import { VariantProps } from 'class-variance-authority';
|
|
11
10
|
|
|
12
11
|
interface ToolbarOptions {
|
|
@@ -54,18 +53,18 @@ interface ListBoxSelectionEvent<T = any> {
|
|
|
54
53
|
selectedItems: T[];
|
|
55
54
|
}
|
|
56
55
|
|
|
57
|
-
declare const listBoxBaseThemeVariants: (
|
|
56
|
+
declare const listBoxBaseThemeVariants: (props?: ({
|
|
58
57
|
direction?: "horizontal" | "vertical" | null | undefined;
|
|
59
58
|
reversed?: boolean | null | undefined;
|
|
60
59
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
61
60
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
62
61
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
|
-
declare const listBoxToolbarThemeVariants: (
|
|
62
|
+
declare const listBoxToolbarThemeVariants: (props?: ({
|
|
64
63
|
direction?: "horizontal" | "vertical" | null | undefined;
|
|
65
64
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
66
|
-
type ListBoxBaseVariantProps = VariantProps<
|
|
65
|
+
type ListBoxBaseVariantProps = VariantProps<typeof listBoxBaseThemeVariants>;
|
|
67
66
|
type ListBoxBaseVariantInputs = Omit<VariantInputs<ListBoxBaseVariantProps>, "direction" | "reversed">;
|
|
68
|
-
type ListBoxToolbarVariantProps = VariantProps<
|
|
67
|
+
type ListBoxToolbarVariantProps = VariantProps<typeof listBoxToolbarThemeVariants>;
|
|
69
68
|
type ListBoxToolbarVariantInputs = Omit<VariantInputs<ListBoxToolbarVariantProps>, "direction">;
|
|
70
69
|
type ListBoxVariantInputs = ListBoxBaseVariantInputs & ListBoxToolbarVariantInputs;
|
|
71
70
|
|
|
@@ -6,15 +6,14 @@ import { PageChangeEvent, PageSizeChangeEvent } from '@nanahoshi/mona-ui/pager';
|
|
|
6
6
|
import { ImmutableSet } from '@mirei/ts-collections';
|
|
7
7
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
10
9
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
11
10
|
import { VirtualScrollOptions } from '@nanahoshi/mona-ui/common';
|
|
12
11
|
|
|
13
|
-
declare const listViewBaseThemeVariants: (
|
|
12
|
+
declare const listViewBaseThemeVariants: (props?: ({
|
|
14
13
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
15
14
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
type ListViewBaseVariantProps = VariantProps<
|
|
16
|
+
type ListViewBaseVariantProps = VariantProps<typeof listViewBaseThemeVariants>;
|
|
18
17
|
type ListViewBaseVariantInputs = VariantInputs<ListViewBaseVariantProps>;
|
|
19
18
|
type ListViewVariantInputs = ListViewBaseVariantInputs;
|
|
20
19
|
|
|
@@ -4,9 +4,8 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { TemplateRef } from '@angular/core';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
-
import { VariantProps } from 'class-variance-authority';
|
|
8
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
9
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
10
9
|
|
|
11
10
|
type MenuItemClickEvent = PopupMenuItemClickEvent;
|
|
12
11
|
|
|
@@ -75,17 +74,17 @@ declare class MenuSeparatorComponent extends PopupMenuSeparatorComponent {
|
|
|
75
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuSeparatorComponent, "mona-menu-separator", never, {}, {}, never, never, true, never>;
|
|
76
75
|
}
|
|
77
76
|
|
|
78
|
-
declare const menubarBaseThemeVariants: (
|
|
77
|
+
declare const menubarBaseThemeVariants: (props?: ({
|
|
79
78
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
80
79
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
81
80
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
82
|
-
declare const menubarListItemThemeVariants: (
|
|
81
|
+
declare const menubarListItemThemeVariants: (props?: ({
|
|
83
82
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
84
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
85
|
-
declare const menubarListThemeVariants: (
|
|
86
|
-
type MenubarBaseVariantProps = VariantProps<
|
|
87
|
-
type MenubarListItemVariants = VariantProps<
|
|
88
|
-
type MenubarListVariants = VariantProps<
|
|
84
|
+
declare const menubarListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
85
|
+
type MenubarBaseVariantProps = VariantProps<typeof menubarBaseThemeVariants>;
|
|
86
|
+
type MenubarListItemVariants = VariantProps<typeof menubarListItemThemeVariants>;
|
|
87
|
+
type MenubarListVariants = VariantProps<typeof menubarListThemeVariants>;
|
|
89
88
|
type MenubarVariantProps = MenubarBaseVariantProps & MenubarListItemVariants & MenubarListVariants;
|
|
90
89
|
type MenubarVariantInput = VariantInputs<MenubarVariantProps>;
|
|
91
90
|
|
|
@@ -9,30 +9,29 @@ import { ListItem, ListSizeInputType } from '@nanahoshi/mona-ui/internal/list';
|
|
|
9
9
|
import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
11
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
12
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
13
12
|
import { VariantProps } from 'class-variance-authority';
|
|
14
13
|
|
|
15
|
-
declare const multiSelectBaseThemeVariants: (
|
|
14
|
+
declare const multiSelectBaseThemeVariants: (props?: ({
|
|
16
15
|
disabled?: boolean | null | undefined;
|
|
17
16
|
focused?: boolean | null | undefined;
|
|
18
17
|
invalid?: boolean | null | undefined;
|
|
19
18
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
20
19
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
21
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
declare const multiSelectItemContainerThemeVariants: (
|
|
21
|
+
declare const multiSelectItemContainerThemeVariants: (props?: ({
|
|
23
22
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
24
23
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
declare const multiSelectAffixContainerThemeVariants: (
|
|
26
|
-
declare const multiSelectIndicatorContainerThemeVariants: (
|
|
24
|
+
declare const multiSelectAffixContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
25
|
+
declare const multiSelectIndicatorContainerThemeVariants: (props?: ({
|
|
27
26
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
28
27
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
-
type MultiSelectBaseVariantProps = VariantProps<
|
|
28
|
+
type MultiSelectBaseVariantProps = VariantProps<typeof multiSelectBaseThemeVariants>;
|
|
30
29
|
type MultiSelectBaseVariantInput = VariantInputs<MultiSelectBaseVariantProps>;
|
|
31
|
-
type MultiSelectItemContainerVariantProps = VariantProps<
|
|
30
|
+
type MultiSelectItemContainerVariantProps = VariantProps<typeof multiSelectItemContainerThemeVariants>;
|
|
32
31
|
type MultiSelectItemContainerVariantInput = VariantInputs<MultiSelectItemContainerVariantProps>;
|
|
33
|
-
type MultiSelectAffixContainerVariantProps = VariantProps<
|
|
32
|
+
type MultiSelectAffixContainerVariantProps = VariantProps<typeof multiSelectAffixContainerThemeVariants>;
|
|
34
33
|
type MultiSelectAffixContainerVariantInput = VariantInputs<MultiSelectAffixContainerVariantProps>;
|
|
35
|
-
type MultiSelectIndicatorContainerVariantProps = VariantProps<
|
|
34
|
+
type MultiSelectIndicatorContainerVariantProps = VariantProps<typeof multiSelectIndicatorContainerThemeVariants>;
|
|
36
35
|
type MultiSelectIndicatorContainerVariantInput = VariantInputs<MultiSelectIndicatorContainerVariantProps>;
|
|
37
36
|
type MultiSelectVariantProps = MultiSelectBaseVariantProps & MultiSelectItemContainerVariantProps & MultiSelectAffixContainerVariantProps & MultiSelectIndicatorContainerVariantProps;
|
|
38
37
|
type MultiSelectVariantInput = Omit<MultiSelectBaseVariantInput, "focused" | "invalid"> & MultiSelectItemContainerVariantInput & MultiSelectAffixContainerVariantInput & MultiSelectIndicatorContainerVariantInput;
|
|
@@ -4,14 +4,13 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
4
4
|
import { VariantInputs, Action } from '@nanahoshi/mona-ui/internal';
|
|
5
5
|
import { Subject } from 'rxjs';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
|
|
10
|
-
declare const numericTextboxThemeVariants: (
|
|
9
|
+
declare const numericTextboxThemeVariants: (props?: ({
|
|
11
10
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
12
11
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
13
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
type NumericTextboxVariantProps = VariantProps<
|
|
13
|
+
type NumericTextboxVariantProps = VariantProps<typeof numericTextboxThemeVariants>;
|
|
15
14
|
type NumericTextboxVariantInputs = VariantInputs<NumericTextboxVariantProps>;
|
|
16
15
|
|
|
17
16
|
type Sign = "-" | "+";
|
|
@@ -4,7 +4,6 @@ import { DropdownListComponent } from '@nanahoshi/mona-ui/dropdown-list';
|
|
|
4
4
|
import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
|
|
10
9
|
interface InfoTemplateContext {
|
|
@@ -68,17 +67,17 @@ declare class PageSizeChangeEvent extends PreventableEvent {
|
|
|
68
67
|
constructor(newPageSize: number, oldPageSize: number);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
|
-
declare const pagerBaseThemeVariants: (
|
|
70
|
+
declare const pagerBaseThemeVariants: (props?: ({
|
|
72
71
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
73
72
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
74
73
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
|
-
declare const pagerInputThemeVariants: (
|
|
76
|
-
declare const pagerListThemeVariants: (
|
|
77
|
-
type PagerBaseVariantProps = VariantProps<
|
|
74
|
+
declare const pagerInputThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
75
|
+
declare const pagerListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
76
|
+
type PagerBaseVariantProps = VariantProps<typeof pagerBaseThemeVariants>;
|
|
78
77
|
type PagerBaseVariantInputs = VariantInputs<PagerBaseVariantProps>;
|
|
79
|
-
type PagerInputVariantProps = VariantProps<
|
|
78
|
+
type PagerInputVariantProps = VariantProps<typeof pagerInputThemeVariants>;
|
|
80
79
|
type PagerInputVariantInputs = VariantInputs<PagerInputVariantProps>;
|
|
81
|
-
type PagerListVariantProps = VariantProps<
|
|
80
|
+
type PagerListVariantProps = VariantProps<typeof pagerListThemeVariants>;
|
|
82
81
|
type PagerListVariantInputs = VariantInputs<PagerListVariantProps>;
|
|
83
82
|
type PagerVariantInputs = PagerBaseVariantInputs & PagerInputVariantInputs & PagerListVariantInputs;
|
|
84
83
|
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
4
3
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
4
|
import { VariantProps } from 'class-variance-authority';
|
|
6
5
|
|
|
7
|
-
declare const placeholderBaseThemeVariants: (
|
|
8
|
-
declare const placeholderTextThemeVariants: (
|
|
9
|
-
type PlaceholderBaseVariantProps = VariantProps<
|
|
6
|
+
declare const placeholderBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7
|
+
declare const placeholderTextThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8
|
+
type PlaceholderBaseVariantProps = VariantProps<typeof placeholderBaseThemeVariants>;
|
|
10
9
|
type PlaceholderBaseVariantInput = VariantInputs<PlaceholderBaseVariantProps>;
|
|
11
|
-
type PlaceholderTextVariantProps = VariantProps<
|
|
10
|
+
type PlaceholderTextVariantProps = VariantProps<typeof placeholderTextThemeVariants>;
|
|
12
11
|
type PlaceholderTextVariantInput = VariantInputs<PlaceholderTextVariantProps>;
|
|
13
12
|
type PlaceholderVariantInput = PlaceholderBaseVariantInput & PlaceholderTextVariantInput;
|
|
14
13
|
|
|
15
14
|
declare class PlaceholderComponent implements PlaceholderVariantInput {
|
|
16
|
-
#private;
|
|
17
15
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
18
16
|
protected readonly textClass: _angular_core.Signal<string>;
|
|
19
17
|
/**
|
|
@@ -4,7 +4,6 @@ import { PreventableEvent, Position } from '@nanahoshi/mona-ui/common';
|
|
|
4
4
|
import { PopupRef } from '@nanahoshi/mona-ui/popup';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
|
|
10
9
|
declare class PopoverHideEvent extends PreventableEvent {
|
|
@@ -33,21 +32,21 @@ declare class PopoverShownEvent {
|
|
|
33
32
|
*/
|
|
34
33
|
type PopoverTrigger = "click" | "hover" | "none" | (string & {});
|
|
35
34
|
|
|
36
|
-
declare const popoverBaseThemeVariants: (
|
|
35
|
+
declare const popoverBaseThemeVariants: (props?: ({
|
|
37
36
|
rounded?: "none" | "large" | "medium" | "small" | null | undefined;
|
|
38
37
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
39
|
-
declare const popoverHeaderThemeVariants: (
|
|
38
|
+
declare const popoverHeaderThemeVariants: (props?: ({
|
|
40
39
|
rounded?: "none" | "large" | "medium" | "small" | null | undefined;
|
|
41
40
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
42
|
-
declare const popoverContentThemeVariants: (
|
|
43
|
-
declare const popoverArrowThemeVariants: (
|
|
44
|
-
type PopoverBaseVariantProps = VariantProps<
|
|
41
|
+
declare const popoverContentThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
42
|
+
declare const popoverArrowThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
43
|
+
type PopoverBaseVariantProps = VariantProps<typeof popoverBaseThemeVariants>;
|
|
45
44
|
type PopoverBaseVariantInputs = VariantInputs<PopoverBaseVariantProps>;
|
|
46
|
-
type PopoverHeaderVariantProps = VariantProps<
|
|
45
|
+
type PopoverHeaderVariantProps = VariantProps<typeof popoverHeaderThemeVariants>;
|
|
47
46
|
type PopoverHeaderVariantInputs = VariantInputs<PopoverHeaderVariantProps>;
|
|
48
|
-
type PopoverContentVariantProps = VariantProps<
|
|
47
|
+
type PopoverContentVariantProps = VariantProps<typeof popoverContentThemeVariants>;
|
|
49
48
|
type PopoverContentVariantInputs = VariantInputs<PopoverContentVariantProps>;
|
|
50
|
-
type PopoverArrowVariantProps = VariantProps<
|
|
49
|
+
type PopoverArrowVariantProps = VariantProps<typeof popoverArrowThemeVariants>;
|
|
51
50
|
type PopoverArrowVariantInputs = VariantInputs<PopoverArrowVariantProps>;
|
|
52
51
|
type PopoverVariantInputs = PopoverBaseVariantInputs & PopoverHeaderVariantInputs & PopoverContentVariantInputs & PopoverArrowVariantInputs;
|
|
53
52
|
|