@nanahoshi/mona-ui 0.1.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.
Files changed (134) hide show
  1. package/README.md +25 -0
  2. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +590 -0
  3. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +168 -0
  4. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +220 -0
  5. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +225 -0
  6. package/fesm2022/nanahoshi-mona-ui-button.mjs +497 -0
  7. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +1569 -0
  8. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +339 -0
  9. package/fesm2022/nanahoshi-mona-ui-chip.mjs +453 -0
  10. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +200 -0
  11. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +853 -0
  12. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +923 -0
  13. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +495 -0
  14. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +686 -0
  15. package/fesm2022/nanahoshi-mona-ui-common.mjs +642 -0
  16. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +485 -0
  17. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +132 -0
  18. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +460 -0
  19. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +659 -0
  20. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +828 -0
  21. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +523 -0
  22. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +615 -0
  23. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +701 -0
  24. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1400 -0
  25. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +245 -0
  26. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +170 -0
  27. package/fesm2022/nanahoshi-mona-ui-filter.mjs +680 -0
  28. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-cell.component-B9SQH5N-.mjs +105 -0
  29. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DlLwcCFT.mjs +42 -0
  30. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Dgea-O0X.mjs +130 -0
  31. package/fesm2022/nanahoshi-mona-ui-grid-grid-toggle.component-DIUutx9s.mjs +773 -0
  32. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DRHycGIh.mjs +240 -0
  33. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-C3eZIaJK.mjs +5374 -0
  34. package/fesm2022/nanahoshi-mona-ui-grid.mjs +2 -0
  35. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +87 -0
  36. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +154 -0
  37. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1356 -0
  38. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2263 -0
  39. package/fesm2022/nanahoshi-mona-ui-internal.mjs +379 -0
  40. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +630 -0
  41. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +527 -0
  42. package/fesm2022/nanahoshi-mona-ui-list.mjs +4 -0
  43. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +966 -0
  44. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +641 -0
  45. package/fesm2022/nanahoshi-mona-ui-notification.mjs +536 -0
  46. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +597 -0
  47. package/fesm2022/nanahoshi-mona-ui-pager.mjs +790 -0
  48. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +83 -0
  49. package/fesm2022/nanahoshi-mona-ui-popover.mjs +325 -0
  50. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +1559 -0
  51. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1321 -0
  52. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +294 -0
  53. package/fesm2022/nanahoshi-mona-ui-query.mjs +175 -0
  54. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +339 -0
  55. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +565 -0
  56. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1049 -0
  57. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +636 -0
  58. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +843 -0
  59. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +537 -0
  60. package/fesm2022/nanahoshi-mona-ui-switch.mjs +308 -0
  61. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +664 -0
  62. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +111 -0
  63. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +369 -0
  64. package/fesm2022/nanahoshi-mona-ui-theme.mjs +314 -0
  65. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +450 -0
  66. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +723 -0
  67. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +716 -0
  68. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +733 -0
  69. package/fesm2022/nanahoshi-mona-ui-window.mjs +1329 -0
  70. package/fesm2022/nanahoshi-mona-ui.mjs +9 -0
  71. package/package.json +289 -0
  72. package/types/nanahoshi-mona-ui-auto-complete.d.ts +223 -0
  73. package/types/nanahoshi-mona-ui-avatar.d.ts +642 -0
  74. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +70 -0
  75. package/types/nanahoshi-mona-ui-button-group.d.ts +77 -0
  76. package/types/nanahoshi-mona-ui-button.d.ts +111 -0
  77. package/types/nanahoshi-mona-ui-calendar.d.ts +262 -0
  78. package/types/nanahoshi-mona-ui-check-box.d.ts +133 -0
  79. package/types/nanahoshi-mona-ui-chip.d.ts +130 -0
  80. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +113 -0
  81. package/types/nanahoshi-mona-ui-color-gradient.d.ts +201 -0
  82. package/types/nanahoshi-mona-ui-color-palette.d.ts +102 -0
  83. package/types/nanahoshi-mona-ui-color-picker.d.ts +156 -0
  84. package/types/nanahoshi-mona-ui-combo-box.d.ts +232 -0
  85. package/types/nanahoshi-mona-ui-common.d.ts +386 -0
  86. package/types/nanahoshi-mona-ui-contextmenu.d.ts +129 -0
  87. package/types/nanahoshi-mona-ui-date-input.d.ts +60 -0
  88. package/types/nanahoshi-mona-ui-date-picker.d.ts +177 -0
  89. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +199 -0
  90. package/types/nanahoshi-mona-ui-dialog.d.ts +261 -0
  91. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +159 -0
  92. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +219 -0
  93. package/types/nanahoshi-mona-ui-dropdowns.d.ts +176 -0
  94. package/types/nanahoshi-mona-ui-editor.d.ts +113 -0
  95. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +87 -0
  96. package/types/nanahoshi-mona-ui-fieldset.d.ts +68 -0
  97. package/types/nanahoshi-mona-ui-filter.d.ts +115 -0
  98. package/types/nanahoshi-mona-ui-grid.d.ts +1114 -0
  99. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +25 -0
  100. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +28 -0
  101. package/types/nanahoshi-mona-ui-internal-list.d.ts +269 -0
  102. package/types/nanahoshi-mona-ui-internal-tree.d.ts +391 -0
  103. package/types/nanahoshi-mona-ui-internal.d.ts +136 -0
  104. package/types/nanahoshi-mona-ui-list-box.d.ts +225 -0
  105. package/types/nanahoshi-mona-ui-list-view.d.ts +188 -0
  106. package/types/nanahoshi-mona-ui-list.d.ts +1 -0
  107. package/types/nanahoshi-mona-ui-menubar.d.ts +198 -0
  108. package/types/nanahoshi-mona-ui-multi-select.d.ts +247 -0
  109. package/types/nanahoshi-mona-ui-notification.d.ts +106 -0
  110. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +161 -0
  111. package/types/nanahoshi-mona-ui-pager.d.ts +238 -0
  112. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -0
  113. package/types/nanahoshi-mona-ui-popover.d.ts +130 -0
  114. package/types/nanahoshi-mona-ui-popup-menu.d.ts +412 -0
  115. package/types/nanahoshi-mona-ui-popup.d.ts +485 -0
  116. package/types/nanahoshi-mona-ui-progress-bar.d.ts +139 -0
  117. package/types/nanahoshi-mona-ui-query.d.ts +89 -0
  118. package/types/nanahoshi-mona-ui-radio-button.d.ts +128 -0
  119. package/types/nanahoshi-mona-ui-scroll-view.d.ts +166 -0
  120. package/types/nanahoshi-mona-ui-slider.d.ts +305 -0
  121. package/types/nanahoshi-mona-ui-split-button.d.ts +182 -0
  122. package/types/nanahoshi-mona-ui-splitter.d.ts +70 -0
  123. package/types/nanahoshi-mona-ui-stepper.d.ts +173 -0
  124. package/types/nanahoshi-mona-ui-switch.d.ts +125 -0
  125. package/types/nanahoshi-mona-ui-tabs.d.ts +158 -0
  126. package/types/nanahoshi-mona-ui-text-area.d.ts +42 -0
  127. package/types/nanahoshi-mona-ui-text-box.d.ts +164 -0
  128. package/types/nanahoshi-mona-ui-theme.d.ts +23 -0
  129. package/types/nanahoshi-mona-ui-time-picker.d.ts +184 -0
  130. package/types/nanahoshi-mona-ui-time-selector.d.ts +143 -0
  131. package/types/nanahoshi-mona-ui-tooltip.d.ts +130 -0
  132. package/types/nanahoshi-mona-ui-tree-view.d.ts +274 -0
  133. package/types/nanahoshi-mona-ui-window.d.ts +295 -0
  134. package/types/nanahoshi-mona-ui.d.ts +2 -0
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Public API Surface of mona-ui
3
+ */
4
+ var publicApi = void 0;
5
+
6
+ /**
7
+ * Generated bundle index. Do not edit.
8
+ */
9
+ //# sourceMappingURL=nanahoshi-mona-ui.mjs.map
package/package.json ADDED
@@ -0,0 +1,289 @@
1
+ {
2
+ "name": "@nanahoshi/mona-ui",
3
+ "version": "0.1.0",
4
+ "description": "A very light Angular UI framework",
5
+ "author": "Nanahoshi",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/nanahoshi-dev/mona-ui"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "peerDependencies": {
14
+ "@angular/cdk": ">=22.0.0 <24.0.0",
15
+ "@angular/common": ">=22.0.0 <24.0.0",
16
+ "@angular/compiler": ">=22.0.0 <24.0.0",
17
+ "@angular/core": ">=22.0.0 <24.0.0",
18
+ "@angular/forms": ">=22.0.0 <24.0.0",
19
+ "@angular/platform-browser": ">=22.0.0 <24.0.0",
20
+ "@angular/platform-browser-dynamic": ">=22.0.0 <24.0.0",
21
+ "@angular/router": ">=22.0.0 <24.0.0",
22
+ "@fortawesome/angular-fontawesome": "^5.0.0",
23
+ "@tiptap/core": "^3.26.1",
24
+ "@tiptap/extension-color": "^3.26.1",
25
+ "@tiptap/extension-font-family": "^3.26.1",
26
+ "@tiptap/extension-highlight": "^3.26.1",
27
+ "@tiptap/extension-image": "^3.26.1",
28
+ "@tiptap/extension-link": "^3.26.1",
29
+ "@tiptap/extension-subscript": "^3.26.1",
30
+ "@tiptap/extension-superscript": "^3.26.1",
31
+ "@tiptap/extension-table": "^3.26.1",
32
+ "@tiptap/extension-table-cell": "^3.26.1",
33
+ "@tiptap/extension-table-header": "^3.26.1",
34
+ "@tiptap/extension-table-row": "^3.26.1",
35
+ "@tiptap/extension-task-item": "^3.26.1",
36
+ "@tiptap/extension-task-list": "^3.26.1",
37
+ "@tiptap/extension-text-align": "^3.26.1",
38
+ "@tiptap/extension-text-style": "^3.26.1",
39
+ "@tiptap/extension-underline": "^3.26.1",
40
+ "@tiptap/pm": "^3.26.1",
41
+ "@tiptap/starter-kit": "^3.26.1",
42
+ "rxjs": "^7.8.2"
43
+ },
44
+ "dependencies": {
45
+ "@fortawesome/fontawesome-svg-core": "^7.2.0",
46
+ "@fortawesome/free-solid-svg-icons": "^7.2.0",
47
+ "@lucide/angular": "^1.21.0",
48
+ "@mirei/ts-collections": "^17.5.6",
49
+ "class-variance-authority": "^0.7.1",
50
+ "luxon": "^3.7.2",
51
+ "remixicon": "^4.9.1",
52
+ "tailwind-merge": "^3.6.0",
53
+ "tslib": "^2.8.1",
54
+ "uuid": "^14.0.0"
55
+ },
56
+ "module": "fesm2022/nanahoshi-mona-ui.mjs",
57
+ "typings": "types/nanahoshi-mona-ui.d.ts",
58
+ "exports": {
59
+ "./package.json": {
60
+ "default": "./package.json"
61
+ },
62
+ ".": {
63
+ "types": "./types/nanahoshi-mona-ui.d.ts",
64
+ "default": "./fesm2022/nanahoshi-mona-ui.mjs"
65
+ },
66
+ "./auto-complete": {
67
+ "types": "./types/nanahoshi-mona-ui-auto-complete.d.ts",
68
+ "default": "./fesm2022/nanahoshi-mona-ui-auto-complete.mjs"
69
+ },
70
+ "./avatar": {
71
+ "types": "./types/nanahoshi-mona-ui-avatar.d.ts",
72
+ "default": "./fesm2022/nanahoshi-mona-ui-avatar.mjs"
73
+ },
74
+ "./breadcrumb": {
75
+ "types": "./types/nanahoshi-mona-ui-breadcrumb.d.ts",
76
+ "default": "./fesm2022/nanahoshi-mona-ui-breadcrumb.mjs"
77
+ },
78
+ "./button": {
79
+ "types": "./types/nanahoshi-mona-ui-button.d.ts",
80
+ "default": "./fesm2022/nanahoshi-mona-ui-button.mjs"
81
+ },
82
+ "./button-group": {
83
+ "types": "./types/nanahoshi-mona-ui-button-group.d.ts",
84
+ "default": "./fesm2022/nanahoshi-mona-ui-button-group.mjs"
85
+ },
86
+ "./calendar": {
87
+ "types": "./types/nanahoshi-mona-ui-calendar.d.ts",
88
+ "default": "./fesm2022/nanahoshi-mona-ui-calendar.mjs"
89
+ },
90
+ "./check-box": {
91
+ "types": "./types/nanahoshi-mona-ui-check-box.d.ts",
92
+ "default": "./fesm2022/nanahoshi-mona-ui-check-box.mjs"
93
+ },
94
+ "./chip": {
95
+ "types": "./types/nanahoshi-mona-ui-chip.d.ts",
96
+ "default": "./fesm2022/nanahoshi-mona-ui-chip.mjs"
97
+ },
98
+ "./circular-progress-bar": {
99
+ "types": "./types/nanahoshi-mona-ui-circular-progress-bar.d.ts",
100
+ "default": "./fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs"
101
+ },
102
+ "./color-gradient": {
103
+ "types": "./types/nanahoshi-mona-ui-color-gradient.d.ts",
104
+ "default": "./fesm2022/nanahoshi-mona-ui-color-gradient.mjs"
105
+ },
106
+ "./color-palette": {
107
+ "types": "./types/nanahoshi-mona-ui-color-palette.d.ts",
108
+ "default": "./fesm2022/nanahoshi-mona-ui-color-palette.mjs"
109
+ },
110
+ "./color-picker": {
111
+ "types": "./types/nanahoshi-mona-ui-color-picker.d.ts",
112
+ "default": "./fesm2022/nanahoshi-mona-ui-color-picker.mjs"
113
+ },
114
+ "./combo-box": {
115
+ "types": "./types/nanahoshi-mona-ui-combo-box.d.ts",
116
+ "default": "./fesm2022/nanahoshi-mona-ui-combo-box.mjs"
117
+ },
118
+ "./common": {
119
+ "types": "./types/nanahoshi-mona-ui-common.d.ts",
120
+ "default": "./fesm2022/nanahoshi-mona-ui-common.mjs"
121
+ },
122
+ "./contextmenu": {
123
+ "types": "./types/nanahoshi-mona-ui-contextmenu.d.ts",
124
+ "default": "./fesm2022/nanahoshi-mona-ui-contextmenu.mjs"
125
+ },
126
+ "./date-picker": {
127
+ "types": "./types/nanahoshi-mona-ui-date-picker.d.ts",
128
+ "default": "./fesm2022/nanahoshi-mona-ui-date-picker.mjs"
129
+ },
130
+ "./datetime-picker": {
131
+ "types": "./types/nanahoshi-mona-ui-datetime-picker.d.ts",
132
+ "default": "./fesm2022/nanahoshi-mona-ui-datetime-picker.mjs"
133
+ },
134
+ "./dialog": {
135
+ "types": "./types/nanahoshi-mona-ui-dialog.d.ts",
136
+ "default": "./fesm2022/nanahoshi-mona-ui-dialog.mjs"
137
+ },
138
+ "./dropdown-button": {
139
+ "types": "./types/nanahoshi-mona-ui-dropdown-button.d.ts",
140
+ "default": "./fesm2022/nanahoshi-mona-ui-dropdown-button.mjs"
141
+ },
142
+ "./dropdown-list": {
143
+ "types": "./types/nanahoshi-mona-ui-dropdown-list.d.ts",
144
+ "default": "./fesm2022/nanahoshi-mona-ui-dropdown-list.mjs"
145
+ },
146
+ "./dropdowns": {
147
+ "types": "./types/nanahoshi-mona-ui-dropdowns.d.ts",
148
+ "default": "./fesm2022/nanahoshi-mona-ui-dropdowns.mjs"
149
+ },
150
+ "./editor": {
151
+ "types": "./types/nanahoshi-mona-ui-editor.d.ts",
152
+ "default": "./fesm2022/nanahoshi-mona-ui-editor.mjs"
153
+ },
154
+ "./expansion-panel": {
155
+ "types": "./types/nanahoshi-mona-ui-expansion-panel.d.ts",
156
+ "default": "./fesm2022/nanahoshi-mona-ui-expansion-panel.mjs"
157
+ },
158
+ "./fieldset": {
159
+ "types": "./types/nanahoshi-mona-ui-fieldset.d.ts",
160
+ "default": "./fesm2022/nanahoshi-mona-ui-fieldset.mjs"
161
+ },
162
+ "./filter": {
163
+ "types": "./types/nanahoshi-mona-ui-filter.d.ts",
164
+ "default": "./fesm2022/nanahoshi-mona-ui-filter.mjs"
165
+ },
166
+ "./grid": {
167
+ "types": "./types/nanahoshi-mona-ui-grid.d.ts",
168
+ "default": "./fesm2022/nanahoshi-mona-ui-grid.mjs"
169
+ },
170
+ "./list": {
171
+ "types": "./types/nanahoshi-mona-ui-list.d.ts",
172
+ "default": "./fesm2022/nanahoshi-mona-ui-list.mjs"
173
+ },
174
+ "./list-box": {
175
+ "types": "./types/nanahoshi-mona-ui-list-box.d.ts",
176
+ "default": "./fesm2022/nanahoshi-mona-ui-list-box.mjs"
177
+ },
178
+ "./list-view": {
179
+ "types": "./types/nanahoshi-mona-ui-list-view.d.ts",
180
+ "default": "./fesm2022/nanahoshi-mona-ui-list-view.mjs"
181
+ },
182
+ "./menubar": {
183
+ "types": "./types/nanahoshi-mona-ui-menubar.d.ts",
184
+ "default": "./fesm2022/nanahoshi-mona-ui-menubar.mjs"
185
+ },
186
+ "./multi-select": {
187
+ "types": "./types/nanahoshi-mona-ui-multi-select.d.ts",
188
+ "default": "./fesm2022/nanahoshi-mona-ui-multi-select.mjs"
189
+ },
190
+ "./notification": {
191
+ "types": "./types/nanahoshi-mona-ui-notification.d.ts",
192
+ "default": "./fesm2022/nanahoshi-mona-ui-notification.mjs"
193
+ },
194
+ "./numeric-text-box": {
195
+ "types": "./types/nanahoshi-mona-ui-numeric-text-box.d.ts",
196
+ "default": "./fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs"
197
+ },
198
+ "./pager": {
199
+ "types": "./types/nanahoshi-mona-ui-pager.d.ts",
200
+ "default": "./fesm2022/nanahoshi-mona-ui-pager.mjs"
201
+ },
202
+ "./placeholder": {
203
+ "types": "./types/nanahoshi-mona-ui-placeholder.d.ts",
204
+ "default": "./fesm2022/nanahoshi-mona-ui-placeholder.mjs"
205
+ },
206
+ "./popover": {
207
+ "types": "./types/nanahoshi-mona-ui-popover.d.ts",
208
+ "default": "./fesm2022/nanahoshi-mona-ui-popover.mjs"
209
+ },
210
+ "./popup": {
211
+ "types": "./types/nanahoshi-mona-ui-popup.d.ts",
212
+ "default": "./fesm2022/nanahoshi-mona-ui-popup.mjs"
213
+ },
214
+ "./popup-menu": {
215
+ "types": "./types/nanahoshi-mona-ui-popup-menu.d.ts",
216
+ "default": "./fesm2022/nanahoshi-mona-ui-popup-menu.mjs"
217
+ },
218
+ "./progress-bar": {
219
+ "types": "./types/nanahoshi-mona-ui-progress-bar.d.ts",
220
+ "default": "./fesm2022/nanahoshi-mona-ui-progress-bar.mjs"
221
+ },
222
+ "./radio-button": {
223
+ "types": "./types/nanahoshi-mona-ui-radio-button.d.ts",
224
+ "default": "./fesm2022/nanahoshi-mona-ui-radio-button.mjs"
225
+ },
226
+ "./scroll-view": {
227
+ "types": "./types/nanahoshi-mona-ui-scroll-view.d.ts",
228
+ "default": "./fesm2022/nanahoshi-mona-ui-scroll-view.mjs"
229
+ },
230
+ "./slider": {
231
+ "types": "./types/nanahoshi-mona-ui-slider.d.ts",
232
+ "default": "./fesm2022/nanahoshi-mona-ui-slider.mjs"
233
+ },
234
+ "./split-button": {
235
+ "types": "./types/nanahoshi-mona-ui-split-button.d.ts",
236
+ "default": "./fesm2022/nanahoshi-mona-ui-split-button.mjs"
237
+ },
238
+ "./splitter": {
239
+ "types": "./types/nanahoshi-mona-ui-splitter.d.ts",
240
+ "default": "./fesm2022/nanahoshi-mona-ui-splitter.mjs"
241
+ },
242
+ "./stepper": {
243
+ "types": "./types/nanahoshi-mona-ui-stepper.d.ts",
244
+ "default": "./fesm2022/nanahoshi-mona-ui-stepper.mjs"
245
+ },
246
+ "./switch": {
247
+ "types": "./types/nanahoshi-mona-ui-switch.d.ts",
248
+ "default": "./fesm2022/nanahoshi-mona-ui-switch.mjs"
249
+ },
250
+ "./tabs": {
251
+ "types": "./types/nanahoshi-mona-ui-tabs.d.ts",
252
+ "default": "./fesm2022/nanahoshi-mona-ui-tabs.mjs"
253
+ },
254
+ "./text-area": {
255
+ "types": "./types/nanahoshi-mona-ui-text-area.d.ts",
256
+ "default": "./fesm2022/nanahoshi-mona-ui-text-area.mjs"
257
+ },
258
+ "./text-box": {
259
+ "types": "./types/nanahoshi-mona-ui-text-box.d.ts",
260
+ "default": "./fesm2022/nanahoshi-mona-ui-text-box.mjs"
261
+ },
262
+ "./theme": {
263
+ "types": "./types/nanahoshi-mona-ui-theme.d.ts",
264
+ "default": "./fesm2022/nanahoshi-mona-ui-theme.mjs"
265
+ },
266
+ "./time-picker": {
267
+ "types": "./types/nanahoshi-mona-ui-time-picker.d.ts",
268
+ "default": "./fesm2022/nanahoshi-mona-ui-time-picker.mjs"
269
+ },
270
+ "./time-selector": {
271
+ "types": "./types/nanahoshi-mona-ui-time-selector.d.ts",
272
+ "default": "./fesm2022/nanahoshi-mona-ui-time-selector.mjs"
273
+ },
274
+ "./tooltip": {
275
+ "types": "./types/nanahoshi-mona-ui-tooltip.d.ts",
276
+ "default": "./fesm2022/nanahoshi-mona-ui-tooltip.mjs"
277
+ },
278
+ "./tree-view": {
279
+ "types": "./types/nanahoshi-mona-ui-tree-view.d.ts",
280
+ "default": "./fesm2022/nanahoshi-mona-ui-tree-view.mjs"
281
+ },
282
+ "./window": {
283
+ "types": "./types/nanahoshi-mona-ui-window.d.ts",
284
+ "default": "./fesm2022/nanahoshi-mona-ui-window.mjs"
285
+ }
286
+ },
287
+ "sideEffects": false,
288
+ "type": "module"
289
+ }
@@ -0,0 +1,223 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { FormValueControl } from '@angular/forms/signals';
4
+ import { PreventableEvent } from '@nanahoshi/mona-ui/common';
5
+ import { SelectableOptions, ListSizeInputType, SelectionChangeEvent } from '@nanahoshi/mona-ui/internal/list';
6
+ import * as i1 from '@nanahoshi/mona-ui/dropdowns';
7
+ import { DropdownDataInput, DropdownPopupInput, DropdownPopupVariantInput, DropdownFieldPredicateType, DropdownFieldSelectorType } from '@nanahoshi/mona-ui/dropdowns';
8
+ import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
9
+ import { Subject } from 'rxjs';
10
+ import * as class_variance_authority_types from 'class-variance-authority/types';
11
+ import { VariantProps } from 'class-variance-authority';
12
+ import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
13
+ import { VariantInputs } from '@nanahoshi/mona-ui/internal';
14
+
15
+ declare const autoCompleteBaseThemeVariants: (theme: ThemeStyle) => (props?: ({
16
+ disabled?: boolean | null | undefined;
17
+ expanded?: boolean | null | undefined;
18
+ focused?: boolean | null | undefined;
19
+ invalid?: boolean | null | undefined;
20
+ rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
21
+ size?: "small" | "medium" | "large" | null | undefined;
22
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
23
+ declare const autoCompleteTextInputThemeVariants: (theme: ThemeStyle) => (props?: ({
24
+ rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
25
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
26
+ declare const autoCompleteAffixContainerThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
27
+ type AutoCompleteBaseVariantProps = VariantProps<ReturnType<typeof autoCompleteBaseThemeVariants>>;
28
+ type AutoCompleteBaseVariantInput = VariantInputs<AutoCompleteBaseVariantProps>;
29
+ type AutoCompleteTextInputVariantProps = VariantProps<ReturnType<typeof autoCompleteTextInputThemeVariants>>;
30
+ type AutoCompleteTextInputVariantInput = VariantInputs<AutoCompleteTextInputVariantProps>;
31
+ type AutoCompleteAffixContainerVariantProps = VariantProps<ReturnType<typeof autoCompleteAffixContainerThemeVariants>>;
32
+ type AutoCompleteAffixContainerVariantInput = VariantInputs<AutoCompleteAffixContainerVariantProps>;
33
+ type AutoCompleteVariantInput = Omit<AutoCompleteBaseVariantInput, "expanded" | "focused" | "invalid"> & AutoCompleteTextInputVariantInput & AutoCompleteAffixContainerVariantInput;
34
+
35
+ declare class AutoCompleteComponent<TData = unknown> implements FormValueControl<string | null>, AutoCompleteVariantInput, DropdownDataInput<TData>, DropdownPopupInput, DropdownPopupVariantInput {
36
+ #private;
37
+ protected readonly activeDescendant: _angular_core.Signal<string | null>;
38
+ protected readonly affixClass: _angular_core.Signal<string>;
39
+ protected readonly autoCompleteValue: _angular_core.WritableSignal<string>;
40
+ protected readonly autoCompleteValue$: Subject<string | null>;
41
+ protected readonly baseClass: _angular_core.Signal<string>;
42
+ protected readonly effectiveAriaLabel: _angular_core.Signal<string>;
43
+ protected readonly expanded: _angular_core.Signal<boolean>;
44
+ protected readonly footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
45
+ protected readonly groupHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
46
+ protected readonly headerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
47
+ protected readonly id: string;
48
+ protected readonly inputClass: _angular_core.Signal<string>;
49
+ protected readonly itemTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
50
+ protected readonly invalidState: _angular_core.Signal<boolean>;
51
+ protected readonly isEmpty: _angular_core.Signal<boolean>;
52
+ protected readonly listId: string;
53
+ protected readonly listPopupClass: _angular_core.Signal<string>;
54
+ protected readonly noDataTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
55
+ protected readonly popupTemplate: _angular_core.Signal<TemplateRef<any>>;
56
+ protected readonly prefixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
57
+ protected readonly selectableOptions: SelectableOptions;
58
+ protected readonly suffixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
59
+ /**
60
+ * @description ID of an element that provides an extended description for the input.
61
+ * Use this to associate error messages or help text with the input.
62
+ * @default ""
63
+ */
64
+ readonly ariaDescribedBy: _angular_core.InputSignal<string>;
65
+ /**
66
+ * @description Accessible name for the input. Describe what the autocomplete represents.
67
+ * Falls back to {@link placeholder} when neither this nor {@link ariaLabelledBy} is set.
68
+ * @default ""
69
+ */
70
+ readonly ariaLabel: _angular_core.InputSignal<string>;
71
+ /**
72
+ * @description ID of an external element that provides the accessible name for the input.
73
+ * @default ""
74
+ */
75
+ readonly ariaLabelledBy: _angular_core.InputSignal<string>;
76
+ /**
77
+ * @description Emits when the popup is about to close. This event is preventable.
78
+ */
79
+ readonly close: _angular_core.OutputEmitterRef<PopupCloseEvent<unknown>>;
80
+ /**
81
+ * @description Emits after the popup is closed.
82
+ */
83
+ readonly closed: _angular_core.OutputEmitterRef<void>;
84
+ /**
85
+ * @description Collection of items to render.
86
+ * @default []
87
+ */
88
+ readonly data: _angular_core.InputSignal<Iterable<TData>>;
89
+ /**
90
+ * @description Renders the component with reduced visual emphasis and removes pointer interaction.
91
+ * @default false
92
+ */
93
+ readonly disabled: _angular_core.ModelSignal<boolean>;
94
+ /**
95
+ * @description Predicate or field name used to determine whether an individual item is disabled.
96
+ * @default undefined
97
+ */
98
+ readonly itemDisabled: _angular_core.InputSignal<DropdownFieldPredicateType<TData>>;
99
+ /**
100
+ * @description Marks the autocomplete as invalid. When bound to a signal form field via `[formField]`,
101
+ * this is written by the `FormField` directive.
102
+ * @default false
103
+ */
104
+ readonly invalid: _angular_core.InputSignal<boolean>;
105
+ /**
106
+ * @description Defines whether the first matching item should be highlighted while typing.
107
+ * @default true
108
+ */
109
+ readonly highlightFirst: _angular_core.InputSignal<boolean>;
110
+ /**
111
+ * @description Displays a loading indicator and prevents interaction while an operation is in progress.
112
+ * @default false
113
+ */
114
+ readonly loading: _angular_core.InputSignal<boolean>;
115
+ /**
116
+ * @description Emits when the popup is about to open. This event is preventable.
117
+ */
118
+ readonly open: _angular_core.OutputEmitterRef<PreventableEvent<Event>>;
119
+ /**
120
+ * @description Emits after the popup is opened.
121
+ */
122
+ readonly opened: _angular_core.OutputEmitterRef<void>;
123
+ /**
124
+ * @description Placeholder text shown when no value is selected or entered.
125
+ * @default ""
126
+ */
127
+ readonly placeholder: _angular_core.InputSignal<string>;
128
+ /**
129
+ * @description Additional CSS classes applied to the popup element.
130
+ * @default ""
131
+ */
132
+ readonly popupClass: _angular_core.InputSignal<string>;
133
+ /**
134
+ * @description Height of the popup element.
135
+ * @default null
136
+ */
137
+ readonly popupHeight: _angular_core.InputSignal<ListSizeInputType>;
138
+ /**
139
+ * @description Width of the popup element.
140
+ * @default null
141
+ */
142
+ readonly popupWidth: _angular_core.InputSignal<ListSizeInputType>;
143
+ /**
144
+ * @description Prevents value changes while preserving the component's visual state.
145
+ * @default false
146
+ */
147
+ readonly readonly: _angular_core.InputSignal<boolean>;
148
+ /**
149
+ * @description Marks the field as required for form validation.
150
+ * @default false
151
+ */
152
+ readonly required: _angular_core.InputSignal<boolean>;
153
+ /**
154
+ * @description Border-radius preset applied to the component.
155
+ * @default "medium"
156
+ */
157
+ readonly rounded: _angular_core.InputSignal<"none" | "small" | "medium" | "large" | "full" | null | undefined>;
158
+ /**
159
+ * @description Displays a button that clears the current value when clicked.
160
+ * @default true
161
+ */
162
+ readonly showClearButton: _angular_core.InputSignal<boolean>;
163
+ /**
164
+ * @description Size preset controlling the component's dimensions.
165
+ * @default "medium"
166
+ */
167
+ readonly size: _angular_core.InputSignal<"small" | "medium" | "large" | null | undefined>;
168
+ /**
169
+ * @description Property name or accessor used to derive the display text from a data item.
170
+ * If null, the item itself is used as the display text.
171
+ * @default null
172
+ */
173
+ readonly textField: _angular_core.InputSignal<DropdownFieldSelectorType<TData>>;
174
+ /**
175
+ * @description Emitted when the autocomplete is interacted with on blur, selection, clear, or committed input.
176
+ * The `FormField` directive listens to this to mark the field as touched.
177
+ */
178
+ readonly touch: _angular_core.OutputEmitterRef<void>;
179
+ /**
180
+ * @description Sets the touched state of the autocomplete. When bound to a signal form field via `[formField]`,
181
+ * this is written by the `FormField` directive.
182
+ * @default false
183
+ */
184
+ readonly touched: _angular_core.InputSignal<boolean>;
185
+ /**
186
+ * @description Additional CSS classes merged onto the host element via `tailwind-merge`.
187
+ * @default ""
188
+ */
189
+ readonly userClass: _angular_core.InputSignal<string>;
190
+ /**
191
+ * @description Property name or accessor used to derive the value from a data item.
192
+ * If null, the item itself is used as the value.
193
+ * @default null
194
+ */
195
+ readonly valueField: _angular_core.InputSignal<DropdownFieldSelectorType<TData>>;
196
+ /**
197
+ * @description Two-way bindable current autocomplete value. Implements `FormValueControl<string | null>`,
198
+ * enabling signal forms `[formField]` binding.
199
+ * @default null
200
+ */
201
+ readonly value: _angular_core.ModelSignal<string | null>;
202
+ constructor();
203
+ protected onInputBlur(): void;
204
+ protected onItemSelect(event: SelectionChangeEvent<TData>): void;
205
+ protected onValueClear(event: MouseEvent | KeyboardEvent): void;
206
+ private clear;
207
+ private closePopup;
208
+ focus(): void;
209
+ private initialize;
210
+ private notifyFilterChange;
211
+ private setArrowKeyNavigationSubscription;
212
+ private setAutoCompleteValueChangeSubscription;
213
+ private setEnterKeySubscription;
214
+ private setEscapeKeySubscription;
215
+ private setSpaceKeySubscription;
216
+ private setPopupCloseSubscriptions;
217
+ private setSubscriptions;
218
+ private updateValue;
219
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutoCompleteComponent<any>, never>;
220
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutoCompleteComponent<any>, "mona-auto-complete", never, { "ariaDescribedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "highlightFirst": { "alias": "highlightFirst"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupHeight": { "alias": "popupHeight"; "required": false; "isSignal": true; }; "popupWidth": { "alias": "popupWidth"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "close": "close"; "closed": "closed"; "disabled": "disabledChange"; "open": "open"; "opened": "opened"; "touch": "touch"; "value": "valueChange"; }, ["footerTemplate", "groupHeaderTemplate", "headerTemplate", "itemTemplate", "noDataTemplate", "prefixTemplate", "suffixTemplate"], never, true, [{ directive: typeof i1.DropdownDataHandlerDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DropdownListPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
221
+ }
222
+
223
+ export { AutoCompleteComponent };