@edsis/angular 21.3.13 → 22.0.1

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 (514) hide show
  1. package/.npmignore +2 -0
  2. package/README.md +261 -88
  3. package/collection.json +30 -0
  4. package/component/accordion/README.md +195 -0
  5. package/component/accordion/package.json +4 -0
  6. package/component/alert/README.md +182 -0
  7. package/component/alert/package.json +4 -0
  8. package/component/alert-dialog/README.md +239 -0
  9. package/component/alert-dialog/package.json +4 -0
  10. package/component/aspect-ratio/README.md +112 -0
  11. package/component/aspect-ratio/package.json +4 -0
  12. package/component/avatar/README.md +176 -0
  13. package/component/avatar/package.json +4 -0
  14. package/component/badge/README.md +133 -0
  15. package/component/badge/package.json +4 -0
  16. package/component/breadcrumb/README.md +216 -0
  17. package/component/breadcrumb/package.json +4 -0
  18. package/component/button/README.md +139 -0
  19. package/component/button/package.json +4 -0
  20. package/component/button-group/README.md +208 -0
  21. package/component/button-group/package.json +4 -0
  22. package/component/calendar/README.md +132 -0
  23. package/component/calendar/package.json +4 -0
  24. package/component/card/README.md +220 -0
  25. package/component/card/package.json +4 -0
  26. package/component/carousel/README.md +276 -0
  27. package/component/carousel/package.json +4 -0
  28. package/component/chart/README.md +249 -0
  29. package/component/chart/area/package.json +4 -0
  30. package/component/chart/bar/package.json +4 -0
  31. package/component/chart/line/package.json +4 -0
  32. package/component/chart/package.json +4 -0
  33. package/component/chart/pie/package.json +4 -0
  34. package/component/chart/radar/package.json +4 -0
  35. package/component/chart/radial/package.json +4 -0
  36. package/component/chart/scatter/package.json +4 -0
  37. package/component/checkbox/README.md +149 -0
  38. package/component/checkbox/package.json +4 -0
  39. package/component/collapsible/README.md +195 -0
  40. package/component/collapsible/package.json +4 -0
  41. package/component/combobox/README.md +198 -0
  42. package/component/combobox/package.json +4 -0
  43. package/component/command/README.md +275 -0
  44. package/component/command/package.json +4 -0
  45. package/component/composer/README.md +235 -0
  46. package/component/composer/package.json +4 -0
  47. package/component/context-menu/README.md +267 -0
  48. package/component/context-menu/package.json +4 -0
  49. package/component/date-picker/README.md +177 -0
  50. package/component/date-picker/package.json +4 -0
  51. package/component/dialog/README.md +237 -0
  52. package/component/dialog/package.json +4 -0
  53. package/component/drawer/README.md +145 -0
  54. package/component/drawer/package.json +4 -0
  55. package/component/dropdown-menu/README.md +311 -0
  56. package/component/dropdown-menu/package.json +4 -0
  57. package/component/editor/README.md +136 -0
  58. package/component/editor/package.json +4 -0
  59. package/component/empty/README.md +183 -0
  60. package/component/empty/package.json +4 -0
  61. package/component/form/README.md +210 -0
  62. package/component/form/package.json +4 -0
  63. package/component/hover-card/README.md +146 -0
  64. package/component/hover-card/package.json +4 -0
  65. package/component/input/README.md +159 -0
  66. package/component/input/package.json +4 -0
  67. package/component/input-group/README.md +239 -0
  68. package/component/input-group/package.json +4 -0
  69. package/component/input-otp/README.md +278 -0
  70. package/component/input-otp/package.json +4 -0
  71. package/component/item/README.md +247 -0
  72. package/component/item/package.json +4 -0
  73. package/component/kanban/README.md +81 -0
  74. package/component/kanban/package.json +4 -0
  75. package/component/kbd/README.md +139 -0
  76. package/component/kbd/package.json +4 -0
  77. package/component/label/README.md +136 -0
  78. package/component/label/package.json +4 -0
  79. package/component/menubar/README.md +269 -0
  80. package/component/menubar/package.json +4 -0
  81. package/component/native-select/README.md +176 -0
  82. package/component/native-select/package.json +4 -0
  83. package/component/navigation-menu/README.md +160 -0
  84. package/component/navigation-menu/package.json +4 -0
  85. package/component/pagination/README.md +144 -0
  86. package/component/pagination/package.json +4 -0
  87. package/component/pillbox/README.md +67 -0
  88. package/component/pillbox/package.json +4 -0
  89. package/component/popover/README.md +43 -0
  90. package/component/popover/package.json +4 -0
  91. package/component/progress/README.md +160 -0
  92. package/component/progress/package.json +4 -0
  93. package/component/radio/README.md +209 -0
  94. package/component/radio/package.json +4 -0
  95. package/component/resizable/README.md +168 -0
  96. package/component/resizable/package.json +4 -0
  97. package/component/scroll-area/README.md +143 -0
  98. package/component/scroll-area/package.json +4 -0
  99. package/component/select/README.md +174 -0
  100. package/component/select/package.json +4 -0
  101. package/component/separator/README.md +170 -0
  102. package/component/separator/package.json +4 -0
  103. package/component/sheet/README.md +183 -0
  104. package/component/sheet/package.json +4 -0
  105. package/component/skeleton/README.md +158 -0
  106. package/component/skeleton/package.json +4 -0
  107. package/component/slider/README.md +207 -0
  108. package/component/slider/package.json +4 -0
  109. package/component/spinner/README.md +160 -0
  110. package/component/spinner/package.json +4 -0
  111. package/component/switch/README.md +166 -0
  112. package/component/switch/package.json +4 -0
  113. package/component/table/README.md +291 -0
  114. package/component/table/package.json +4 -0
  115. package/component/tabs/README.md +219 -0
  116. package/component/tabs/package.json +4 -0
  117. package/component/textarea/README.md +154 -0
  118. package/component/textarea/package.json +4 -0
  119. package/component/timeline/README.md +94 -0
  120. package/component/timeline/package.json +4 -0
  121. package/component/toast/README.md +321 -0
  122. package/component/toast/package.json +4 -0
  123. package/component/toggle/README.md +131 -0
  124. package/component/toggle/package.json +4 -0
  125. package/component/toggle-group/README.md +206 -0
  126. package/component/toggle-group/package.json +4 -0
  127. package/component/tooltip/README.md +211 -0
  128. package/component/tooltip/package.json +4 -0
  129. package/component/utils/package.json +4 -0
  130. package/fesm2022/ojiepermana-angular-component-accordion.mjs +189 -0
  131. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +1 -0
  132. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +276 -0
  133. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +1 -0
  134. package/fesm2022/ojiepermana-angular-component-alert.mjs +99 -0
  135. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +1 -0
  136. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +37 -0
  137. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +1 -0
  138. package/fesm2022/ojiepermana-angular-component-avatar.mjs +139 -0
  139. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +1 -0
  140. package/fesm2022/ojiepermana-angular-component-badge.mjs +50 -0
  141. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +1 -0
  142. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +200 -0
  143. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +1 -0
  144. package/fesm2022/ojiepermana-angular-component-button-group.mjs +103 -0
  145. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +1 -0
  146. package/fesm2022/ojiepermana-angular-component-button.mjs +68 -0
  147. package/fesm2022/ojiepermana-angular-component-button.mjs.map +1 -0
  148. package/fesm2022/ojiepermana-angular-component-calendar.mjs +88 -0
  149. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +1 -0
  150. package/fesm2022/ojiepermana-angular-component-card.mjs +152 -0
  151. package/fesm2022/ojiepermana-angular-component-card.mjs.map +1 -0
  152. package/fesm2022/ojiepermana-angular-component-carousel.mjs +334 -0
  153. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +1 -0
  154. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +6 -0
  155. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +1 -0
  156. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +6 -0
  157. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +1 -0
  158. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +6 -0
  159. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +1 -0
  160. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +6 -0
  161. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +1 -0
  162. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +6 -0
  163. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +1 -0
  164. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +6 -0
  165. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +1 -0
  166. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +6 -0
  167. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +1 -0
  168. package/fesm2022/ojiepermana-angular-component-chart.mjs +3925 -0
  169. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +1 -0
  170. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +114 -0
  171. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +1 -0
  172. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +124 -0
  173. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +1 -0
  174. package/fesm2022/ojiepermana-angular-component-combobox.mjs +272 -0
  175. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +1 -0
  176. package/fesm2022/ojiepermana-angular-component-command.mjs +293 -0
  177. package/fesm2022/ojiepermana-angular-component-command.mjs.map +1 -0
  178. package/fesm2022/ojiepermana-angular-component-composer.mjs +352 -0
  179. package/fesm2022/ojiepermana-angular-component-composer.mjs.map +1 -0
  180. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +103 -0
  181. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +1 -0
  182. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +170 -0
  183. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +1 -0
  184. package/fesm2022/ojiepermana-angular-component-dialog.mjs +279 -0
  185. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +1 -0
  186. package/fesm2022/ojiepermana-angular-component-drawer.mjs +6 -0
  187. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +1 -0
  188. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +492 -0
  189. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +1 -0
  190. package/fesm2022/ojiepermana-angular-component-editor.mjs +717 -0
  191. package/fesm2022/ojiepermana-angular-component-editor.mjs.map +1 -0
  192. package/fesm2022/ojiepermana-angular-component-empty.mjs +145 -0
  193. package/fesm2022/ojiepermana-angular-component-empty.mjs.map +1 -0
  194. package/fesm2022/ojiepermana-angular-component-form.mjs +366 -0
  195. package/fesm2022/ojiepermana-angular-component-form.mjs.map +1 -0
  196. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +297 -0
  197. package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +1 -0
  198. package/fesm2022/ojiepermana-angular-component-input-group.mjs +179 -0
  199. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +1 -0
  200. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +514 -0
  201. package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +1 -0
  202. package/fesm2022/ojiepermana-angular-component-input.mjs +45 -0
  203. package/fesm2022/ojiepermana-angular-component-input.mjs.map +1 -0
  204. package/fesm2022/ojiepermana-angular-component-item.mjs +264 -0
  205. package/fesm2022/ojiepermana-angular-component-item.mjs.map +1 -0
  206. package/fesm2022/ojiepermana-angular-component-kanban.mjs +314 -0
  207. package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +1 -0
  208. package/fesm2022/ojiepermana-angular-component-kbd.mjs +55 -0
  209. package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +1 -0
  210. package/fesm2022/ojiepermana-angular-component-label.mjs +33 -0
  211. package/fesm2022/ojiepermana-angular-component-label.mjs.map +1 -0
  212. package/fesm2022/ojiepermana-angular-component-menubar.mjs +308 -0
  213. package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +1 -0
  214. package/fesm2022/ojiepermana-angular-component-native-select.mjs +67 -0
  215. package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +1 -0
  216. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +413 -0
  217. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +1 -0
  218. package/fesm2022/ojiepermana-angular-component-pagination.mjs +226 -0
  219. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +1 -0
  220. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +812 -0
  221. package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +1 -0
  222. package/fesm2022/ojiepermana-angular-component-popover.mjs +169 -0
  223. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +1 -0
  224. package/fesm2022/ojiepermana-angular-component-progress.mjs +60 -0
  225. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +1 -0
  226. package/fesm2022/ojiepermana-angular-component-radio.mjs +122 -0
  227. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +1 -0
  228. package/fesm2022/ojiepermana-angular-component-resizable.mjs +481 -0
  229. package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +1 -0
  230. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +54 -0
  231. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +1 -0
  232. package/fesm2022/ojiepermana-angular-component-select.mjs +176 -0
  233. package/fesm2022/ojiepermana-angular-component-select.mjs.map +1 -0
  234. package/fesm2022/ojiepermana-angular-component-separator.mjs +37 -0
  235. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +1 -0
  236. package/fesm2022/ojiepermana-angular-component-sheet.mjs +284 -0
  237. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +1 -0
  238. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +31 -0
  239. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +1 -0
  240. package/fesm2022/ojiepermana-angular-component-slider.mjs +423 -0
  241. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +1 -0
  242. package/fesm2022/ojiepermana-angular-component-spinner.mjs +60 -0
  243. package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +1 -0
  244. package/fesm2022/ojiepermana-angular-component-switch.mjs +116 -0
  245. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +1 -0
  246. package/fesm2022/ojiepermana-angular-component-table.mjs +155 -0
  247. package/fesm2022/ojiepermana-angular-component-table.mjs.map +1 -0
  248. package/fesm2022/ojiepermana-angular-component-tabs.mjs +272 -0
  249. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +1 -0
  250. package/fesm2022/ojiepermana-angular-component-textarea.mjs +39 -0
  251. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +1 -0
  252. package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -0
  253. package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +1 -0
  254. package/fesm2022/ojiepermana-angular-component-toast.mjs +71 -0
  255. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +1 -0
  256. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +289 -0
  257. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +1 -0
  258. package/fesm2022/ojiepermana-angular-component-toggle.mjs +82 -0
  259. package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +1 -0
  260. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +354 -0
  261. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +1 -0
  262. package/fesm2022/ojiepermana-angular-component-utils.mjs +13 -0
  263. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +1 -0
  264. package/fesm2022/ojiepermana-angular-generator-api.mjs +68 -0
  265. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +1 -0
  266. package/fesm2022/ojiepermana-angular-layout-component.mjs +602 -0
  267. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +1 -0
  268. package/fesm2022/ojiepermana-angular-layout-provider.mjs +21 -0
  269. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +1 -0
  270. package/fesm2022/ojiepermana-angular-layout-services.mjs +116 -0
  271. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +1 -0
  272. package/fesm2022/ojiepermana-angular-layout-shell.mjs +48 -0
  273. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +1 -0
  274. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +30 -0
  275. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +1 -0
  276. package/fesm2022/ojiepermana-angular-layout-token.mjs +33 -0
  277. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +1 -0
  278. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +49 -0
  279. package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +1 -0
  280. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +128 -0
  281. package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +1 -0
  282. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +123 -0
  283. package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +1 -0
  284. package/fesm2022/ojiepermana-angular-layout.mjs +485 -0
  285. package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -0
  286. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +334 -0
  287. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +1 -0
  288. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +63 -0
  289. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +1 -0
  290. package/fesm2022/ojiepermana-angular-navigation-item.mjs +559 -0
  291. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +1 -0
  292. package/fesm2022/ojiepermana-angular-navigation-service.mjs +213 -0
  293. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +1 -0
  294. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +401 -0
  295. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +1 -0
  296. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +670 -0
  297. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +1 -0
  298. package/fesm2022/ojiepermana-angular-navigation-types.mjs +4 -0
  299. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +1 -0
  300. package/fesm2022/ojiepermana-angular-theme-provider.mjs +35 -0
  301. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +1 -0
  302. package/fesm2022/ojiepermana-angular-theme-services.mjs +294 -0
  303. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +1 -0
  304. package/fesm2022/ojiepermana-angular-theme-token.mjs +56 -0
  305. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +1 -0
  306. package/fesm2022/ojiepermana-angular-theme.mjs +390 -0
  307. package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -0
  308. package/fesm2022/ojiepermana-angular.mjs +22 -0
  309. package/fesm2022/ojiepermana-angular.mjs.map +1 -0
  310. package/generator/api/README.md +252 -0
  311. package/generator/api/bin/package.json +3 -0
  312. package/generator/api/bin/schematics/init/index.js +90 -0
  313. package/generator/api/bin/schematics/ng-add/index.js +131 -0
  314. package/generator/api/bin/schematics/sdk/index.js +76 -0
  315. package/generator/api/bin/src/config/loader.js +41 -0
  316. package/generator/api/bin/src/config/schema.js +57 -0
  317. package/generator/api/bin/src/emit/client.js +248 -0
  318. package/generator/api/bin/src/emit/metadata.js +295 -0
  319. package/generator/api/bin/src/emit/models.js +106 -0
  320. package/generator/api/bin/src/emit/navigation.js +56 -0
  321. package/generator/api/bin/src/emit/operations.js +122 -0
  322. package/generator/api/bin/src/emit/public-api.js +54 -0
  323. package/generator/api/bin/src/emit/services.js +87 -0
  324. package/generator/api/bin/src/engine.js +65 -0
  325. package/generator/api/bin/src/layout/per-domain.js +359 -0
  326. package/generator/api/bin/src/parser/bundle.js +25 -0
  327. package/generator/api/bin/src/parser/ir.js +320 -0
  328. package/generator/api/bin/src/parser/types.js +7 -0
  329. package/generator/api/bin/src/render/template.js +58 -0
  330. package/generator/api/bin/src/writer/index.js +278 -0
  331. package/generator/api/package.json +4 -0
  332. package/generator/api/schematics/init/schema.json +19 -0
  333. package/generator/api/schematics/ng-add/schema.json +14 -0
  334. package/generator/api/schematics/sdk/schema.json +19 -0
  335. package/generator/api/sdk.config.example.json +24 -0
  336. package/generator/guide/README.md +84 -0
  337. package/generator/guide/bin/package.json +3 -0
  338. package/generator/guide/bin/schematics/build/index.js +36 -0
  339. package/generator/guide/bin/schematics/init/index.js +70 -0
  340. package/generator/guide/bin/src/config/loader.js +50 -0
  341. package/generator/guide/bin/src/config/schema.js +12 -0
  342. package/generator/guide/bin/src/engine/component.js +74 -0
  343. package/generator/guide/bin/src/engine/frontmatter.js +42 -0
  344. package/generator/guide/bin/src/engine/index.js +42 -0
  345. package/generator/guide/bin/src/engine/naming.js +39 -0
  346. package/generator/guide/bin/src/engine/render.js +36 -0
  347. package/generator/guide/bin/src/engine/routes.js +106 -0
  348. package/generator/guide/bin/src/engine/walk.js +35 -0
  349. package/generator/guide/guide.config.example.json +9 -0
  350. package/generator/guide/schematics/build/schema.json +14 -0
  351. package/generator/guide/schematics/init/schema.json +19 -0
  352. package/layout/component/package.json +4 -0
  353. package/layout/package.json +4 -0
  354. package/layout/provider/package.json +4 -0
  355. package/layout/services/package.json +4 -0
  356. package/layout/shell/package.json +4 -0
  357. package/layout/token/directive/package.json +4 -0
  358. package/layout/token/package.json +4 -0
  359. package/layout/type/empty/package.json +4 -0
  360. package/layout/type/horizontal/package.json +4 -0
  361. package/layout/type/vertical/package.json +4 -0
  362. package/navigation/demo-data/package.json +4 -0
  363. package/navigation/icon/package.json +4 -0
  364. package/navigation/item/package.json +4 -0
  365. package/navigation/service/package.json +4 -0
  366. package/navigation/sidebar/package.json +4 -0
  367. package/navigation/topbar/README.md +196 -0
  368. package/navigation/topbar/package.json +4 -0
  369. package/navigation/types/package.json +4 -0
  370. package/package.json +433 -18
  371. package/theme/README.md +174 -0
  372. package/theme/package.json +4 -0
  373. package/theme/provider/package.json +4 -0
  374. package/theme/services/package.json +4 -0
  375. package/theme/styles/foundation/components.css +81 -0
  376. package/theme/styles/foundation/layers.css +15 -0
  377. package/theme/styles/foundation/tokens.css +55 -0
  378. package/theme/styles/index.css +37 -0
  379. package/theme/styles/integrations/material/autocomplete.css +178 -0
  380. package/theme/styles/integrations/material/button.css +468 -0
  381. package/theme/styles/integrations/material/dialog.css +152 -0
  382. package/theme/styles/integrations/material/select.css +175 -0
  383. package/theme/styles/integrations/material/slide-toggle.css +234 -0
  384. package/theme/styles/integrations/material/slider.css +194 -0
  385. package/theme/styles/integrations/material/tabs.css +229 -0
  386. package/theme/styles/integrations/material.css +264 -0
  387. package/theme/styles/integrations/tailwind.css +114 -0
  388. package/theme/styles/variants/color/amber.css +31 -0
  389. package/theme/styles/variants/color/base.css +36 -0
  390. package/theme/styles/variants/color/blue.css +31 -0
  391. package/theme/styles/variants/color/cyan.css +31 -0
  392. package/theme/styles/variants/color/emerald.css +31 -0
  393. package/theme/styles/variants/color/fuchsia.css +31 -0
  394. package/theme/styles/variants/color/green.css +31 -0
  395. package/theme/styles/variants/color/index.css +22 -0
  396. package/theme/styles/variants/color/indigo.css +31 -0
  397. package/theme/styles/variants/color/lime.css +31 -0
  398. package/theme/styles/variants/color/orange.css +31 -0
  399. package/theme/styles/variants/color/pink.css +31 -0
  400. package/theme/styles/variants/color/purple.css +31 -0
  401. package/theme/styles/variants/color/red.css +31 -0
  402. package/theme/styles/variants/color/rose.css +31 -0
  403. package/theme/styles/variants/color/sky.css +31 -0
  404. package/theme/styles/variants/color/teal.css +31 -0
  405. package/theme/styles/variants/color/violet.css +31 -0
  406. package/theme/styles/variants/color/yellow.css +31 -0
  407. package/theme/styles/variants/mode/dark.css +20 -0
  408. package/theme/styles/variants/mode/index.css +6 -0
  409. package/theme/styles/variants/mode/light.css +24 -0
  410. package/theme/styles/variants/style/brutal.css +50 -0
  411. package/theme/styles/variants/style/default.css +54 -0
  412. package/theme/styles/variants/style/index.css +8 -0
  413. package/theme/styles/variants/style/sharp.css +50 -0
  414. package/theme/styles/variants/style/soft.css +50 -0
  415. package/theme/token/package.json +4 -0
  416. package/types/ojiepermana-angular-component-accordion.d.ts +51 -0
  417. package/types/ojiepermana-angular-component-alert-dialog.d.ts +93 -0
  418. package/types/ojiepermana-angular-component-alert.d.ts +37 -0
  419. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -0
  420. package/types/ojiepermana-angular-component-avatar.d.ts +51 -0
  421. package/types/ojiepermana-angular-component-badge.d.ts +19 -0
  422. package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -0
  423. package/types/ojiepermana-angular-component-button-group.d.ts +26 -0
  424. package/types/ojiepermana-angular-component-button.d.ts +22 -0
  425. package/types/ojiepermana-angular-component-calendar.d.ts +33 -0
  426. package/types/ojiepermana-angular-component-card.d.ts +60 -0
  427. package/types/ojiepermana-angular-component-carousel.d.ts +86 -0
  428. package/types/ojiepermana-angular-component-chart-area.d.ts +1 -0
  429. package/types/ojiepermana-angular-component-chart-bar.d.ts +1 -0
  430. package/types/ojiepermana-angular-component-chart-line.d.ts +1 -0
  431. package/types/ojiepermana-angular-component-chart-pie.d.ts +1 -0
  432. package/types/ojiepermana-angular-component-chart-radar.d.ts +1 -0
  433. package/types/ojiepermana-angular-component-chart-radial.d.ts +1 -0
  434. package/types/ojiepermana-angular-component-chart-scatter.d.ts +1 -0
  435. package/types/ojiepermana-angular-component-chart.d.ts +1094 -0
  436. package/types/ojiepermana-angular-component-checkbox.d.ts +35 -0
  437. package/types/ojiepermana-angular-component-collapsible.d.ts +42 -0
  438. package/types/ojiepermana-angular-component-combobox.d.ts +50 -0
  439. package/types/ojiepermana-angular-component-command.d.ts +99 -0
  440. package/types/ojiepermana-angular-component-composer.d.ts +90 -0
  441. package/types/ojiepermana-angular-component-context-menu.d.ts +35 -0
  442. package/types/ojiepermana-angular-component-date-picker.d.ts +41 -0
  443. package/types/ojiepermana-angular-component-dialog.d.ts +87 -0
  444. package/types/ojiepermana-angular-component-drawer.d.ts +1 -0
  445. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +137 -0
  446. package/types/ojiepermana-angular-component-editor.d.ts +123 -0
  447. package/types/ojiepermana-angular-component-empty.d.ts +50 -0
  448. package/types/ojiepermana-angular-component-form.d.ts +141 -0
  449. package/types/ojiepermana-angular-component-hover-card.d.ts +74 -0
  450. package/types/ojiepermana-angular-component-input-group.d.ts +51 -0
  451. package/types/ojiepermana-angular-component-input-otp.d.ts +136 -0
  452. package/types/ojiepermana-angular-component-input.d.ts +16 -0
  453. package/types/ojiepermana-angular-component-item.d.ts +88 -0
  454. package/types/ojiepermana-angular-component-kanban.d.ts +70 -0
  455. package/types/ojiepermana-angular-component-kbd.d.ts +16 -0
  456. package/types/ojiepermana-angular-component-label.d.ts +11 -0
  457. package/types/ojiepermana-angular-component-menubar.d.ts +67 -0
  458. package/types/ojiepermana-angular-component-native-select.d.ts +26 -0
  459. package/types/ojiepermana-angular-component-navigation-menu.d.ts +96 -0
  460. package/types/ojiepermana-angular-component-pagination.d.ts +33 -0
  461. package/types/ojiepermana-angular-component-pillbox.d.ts +157 -0
  462. package/types/ojiepermana-angular-component-popover.d.ts +43 -0
  463. package/types/ojiepermana-angular-component-progress.d.ts +17 -0
  464. package/types/ojiepermana-angular-component-radio.d.ts +40 -0
  465. package/types/ojiepermana-angular-component-resizable.d.ts +99 -0
  466. package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -0
  467. package/types/ojiepermana-angular-component-select.d.ts +57 -0
  468. package/types/ojiepermana-angular-component-separator.d.ts +14 -0
  469. package/types/ojiepermana-angular-component-sheet.d.ts +76 -0
  470. package/types/ojiepermana-angular-component-skeleton.d.ts +10 -0
  471. package/types/ojiepermana-angular-component-slider.d.ts +74 -0
  472. package/types/ojiepermana-angular-component-spinner.d.ts +13 -0
  473. package/types/ojiepermana-angular-component-switch.d.ts +40 -0
  474. package/types/ojiepermana-angular-component-table.d.ts +52 -0
  475. package/types/ojiepermana-angular-component-tabs.d.ts +92 -0
  476. package/types/ojiepermana-angular-component-textarea.d.ts +12 -0
  477. package/types/ojiepermana-angular-component-timeline.d.ts +63 -0
  478. package/types/ojiepermana-angular-component-toast.d.ts +38 -0
  479. package/types/ojiepermana-angular-component-toggle-group.d.ts +89 -0
  480. package/types/ojiepermana-angular-component-toggle.d.ts +25 -0
  481. package/types/ojiepermana-angular-component-tooltip.d.ts +89 -0
  482. package/types/ojiepermana-angular-component-utils.d.ts +5 -0
  483. package/types/ojiepermana-angular-generator-api.d.ts +86 -0
  484. package/types/ojiepermana-angular-layout-component.d.ts +205 -0
  485. package/types/ojiepermana-angular-layout-provider.d.ts +6 -0
  486. package/types/ojiepermana-angular-layout-services.d.ts +25 -0
  487. package/types/ojiepermana-angular-layout-shell.d.ts +8 -0
  488. package/types/ojiepermana-angular-layout-token-directive.d.ts +13 -0
  489. package/types/ojiepermana-angular-layout-token.d.ts +36 -0
  490. package/types/ojiepermana-angular-layout-type-empty.d.ts +22 -0
  491. package/types/ojiepermana-angular-layout-type-horizontal.d.ts +36 -0
  492. package/types/ojiepermana-angular-layout-type-vertical.d.ts +38 -0
  493. package/types/ojiepermana-angular-layout.d.ts +164 -0
  494. package/types/ojiepermana-angular-navigation-demo-data.d.ts +5 -0
  495. package/types/ojiepermana-angular-navigation-icon.d.ts +17 -0
  496. package/types/ojiepermana-angular-navigation-item.d.ts +54 -0
  497. package/types/ojiepermana-angular-navigation-service.d.ts +77 -0
  498. package/types/ojiepermana-angular-navigation-sidebar.d.ts +75 -0
  499. package/types/ojiepermana-angular-navigation-topbar.d.ts +74 -0
  500. package/types/ojiepermana-angular-navigation-types.d.ts +135 -0
  501. package/types/ojiepermana-angular-theme-provider.d.ts +11 -0
  502. package/types/ojiepermana-angular-theme-services.d.ts +55 -0
  503. package/types/ojiepermana-angular-theme-token.d.ts +57 -0
  504. package/types/ojiepermana-angular-theme.d.ts +116 -0
  505. package/types/ojiepermana-angular.d.ts +3 -0
  506. package/fesm2022/edsis-angular-block-shell.mjs +0 -698
  507. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  508. package/fesm2022/edsis-angular-module-auth.mjs +0 -1317
  509. package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
  510. package/fesm2022/edsis-angular.mjs +0 -8
  511. package/fesm2022/edsis-angular.mjs.map +0 -1
  512. package/types/edsis-angular-block-shell.d.ts +0 -111
  513. package/types/edsis-angular-module-auth.d.ts +0 -132
  514. package/types/edsis-angular.d.ts +0 -2
@@ -0,0 +1,275 @@
1
+ # Command
2
+
3
+ Searchable command palette primitive for quick actions, navigation, and settings.
4
+
5
+ Use Command inline for filterable action lists, or compose it with Dialog to recreate shadcn's `CommandDialog` pattern. The same primitive also powers [Combobox](../combobox/README.md).
6
+
7
+ ## Import
8
+
9
+ Import the command parts directly from the component package.
10
+
11
+ ```ts
12
+ import {
13
+ CommandComponent,
14
+ CommandEmptyComponent,
15
+ CommandGroupComponent,
16
+ CommandInputComponent,
17
+ CommandItemComponent,
18
+ CommandListComponent,
19
+ CommandSeparatorComponent,
20
+ CommandShortcutComponent,
21
+ } from '@edsis/angular/component/command';
22
+ ```
23
+
24
+ When you want a palette launcher like shadcn's `CommandDialog`, add Button and Dialog primitives as well.
25
+
26
+ ```ts
27
+ import { ButtonComponent } from '@edsis/angular/component/button';
28
+ import {
29
+ DialogComponent,
30
+ DialogDescriptionComponent,
31
+ DialogHeaderComponent,
32
+ DialogTitleComponent,
33
+ } from '@edsis/angular/component/dialog';
34
+ ```
35
+
36
+ ## Composition
37
+
38
+ The Angular composition mirrors shadcn's structure while keeping overlay behavior separate.
39
+
40
+ ```text
41
+ ui-command
42
+ ├── input[ui-command-input]
43
+ └── ui-command-list
44
+ ├── ui-command-empty
45
+ ├── ui-command-group
46
+ │ ├── button[ui-command-item]
47
+ │ └── button[ui-command-item]
48
+ ├── ui-command-separator
49
+ └── ui-command-group
50
+ ├── button[ui-command-item]
51
+ └── button[ui-command-item]
52
+ ```
53
+
54
+ ## Basic usage
55
+
56
+ Build the searchable surface from the root, input, list, and grouped items. Add `span[ui-command-shortcut]` when an item should expose a trailing keyboard hint.
57
+
58
+ ```html
59
+ <ui-command class="max-w-md rounded-lg border border-border">
60
+ <input ui-command-input placeholder="Type a command or search..." />
61
+ <ui-command-list>
62
+ <ui-command-empty>No results found.</ui-command-empty>
63
+
64
+ <ui-command-group heading="Suggestions">
65
+ <button type="button" ui-command-item value="Calendar" (selected)="open('calendar')">Calendar</button>
66
+ <button type="button" ui-command-item value="Search Emoji" (selected)="open('emoji')">Search Emoji</button>
67
+ </ui-command-group>
68
+
69
+ <ui-command-separator />
70
+
71
+ <ui-command-group heading="Settings">
72
+ <button type="button" ui-command-item value="Profile" (selected)="open('profile')">
73
+ Profile
74
+ <span ui-command-shortcut>⌘P</span>
75
+ </button>
76
+ </ui-command-group>
77
+ </ui-command-list>
78
+ </ui-command>
79
+ ```
80
+
81
+ ## Common patterns
82
+
83
+ ### Command palette dialog
84
+
85
+ shadcn ships a dedicated `CommandDialog` helper. In this Angular library, compose `ui-dialog` with `ui-command` instead.
86
+
87
+ ```ts
88
+ const commandOpen = signal(false);
89
+ ```
90
+
91
+ ```html
92
+ <button type="button" ui-button variant="outline" (click)="commandOpen.set(true)">Open menu</button>
93
+
94
+ <ui-dialog [(open)]="commandOpen">
95
+ <ui-dialog-header>
96
+ <ui-dialog-title>Command palette</ui-dialog-title>
97
+ <ui-dialog-description> Search for navigation, billing, or settings actions. </ui-dialog-description>
98
+ </ui-dialog-header>
99
+
100
+ <ui-command class="mt-4 rounded-lg border border-border">
101
+ <input ui-command-input placeholder="Type a command or search..." />
102
+ <ui-command-list>
103
+ <ui-command-empty>No results found.</ui-command-empty>
104
+ <ui-command-group heading="Suggestions">
105
+ <button type="button" ui-command-item value="Calendar" (selected)="commandOpen.set(false)">Calendar</button>
106
+ </ui-command-group>
107
+ </ui-command-list>
108
+ </ui-command>
109
+ </ui-dialog>
110
+ ```
111
+
112
+ ### Shortcuts
113
+
114
+ Use `span[ui-command-shortcut]` for keyboard hints aligned to the trailing edge of each row.
115
+
116
+ ```html
117
+ <ui-command class="max-w-md rounded-lg border border-border">
118
+ <input ui-command-input placeholder="Search shortcuts..." />
119
+ <ui-command-list>
120
+ <ui-command-group heading="Quick actions">
121
+ <button type="button" ui-command-item value="Profile">
122
+ Profile
123
+ <span ui-command-shortcut>⌘P</span>
124
+ </button>
125
+ <button type="button" ui-command-item value="Billing">
126
+ Billing
127
+ <span ui-command-shortcut>⌘B</span>
128
+ </button>
129
+ </ui-command-group>
130
+ </ui-command-list>
131
+ </ui-command>
132
+ ```
133
+
134
+ ### Scrollable command lists
135
+
136
+ The list container defaults to a scrollable max height. Override it with `class` when the palette needs to expose many groups.
137
+
138
+ ```html
139
+ <ui-command class="max-w-xl rounded-lg border border-border">
140
+ <input ui-command-input placeholder="Jump to a tool or action..." />
141
+ <ui-command-list class="max-h-56">
142
+ <ui-command-empty>No results found.</ui-command-empty>
143
+ <ui-command-group heading="Navigation">...</ui-command-group>
144
+ <ui-command-separator />
145
+ <ui-command-group heading="Actions">...</ui-command-group>
146
+ <ui-command-separator />
147
+ <ui-command-group heading="Tools">...</ui-command-group>
148
+ </ui-command-list>
149
+ </ui-command>
150
+ ```
151
+
152
+ ### Controlled query
153
+
154
+ Two-way bind the query when the parent needs to inspect, reset, or prefill the current search string.
155
+
156
+ ```ts
157
+ const query = signal('');
158
+ ```
159
+
160
+ ```html
161
+ <ui-command [(query)]="query" class="max-w-md rounded-lg border border-border">
162
+ <input ui-command-input placeholder="Filter actions..." />
163
+ <ui-command-list>...</ui-command-list>
164
+ </ui-command>
165
+ ```
166
+
167
+ ### RTL
168
+
169
+ For right-to-left interfaces, apply `dir="rtl"` to the wrapper and input.
170
+
171
+ ```html
172
+ <section dir="rtl" lang="ar" class="max-w-md text-right">
173
+ <ui-command class="rounded-lg border border-border">
174
+ <input ui-command-input placeholder="اكتب أمرًا أو ابحث..." dir="rtl" />
175
+ <ui-command-list>
176
+ <ui-command-empty>لم يتم العثور على نتائج.</ui-command-empty>
177
+ <ui-command-group heading="اقتراحات">...</ui-command-group>
178
+ <ui-command-separator />
179
+ <ui-command-group heading="الإعدادات">...</ui-command-group>
180
+ </ui-command-list>
181
+ </ui-command>
182
+ </section>
183
+ ```
184
+
185
+ ## API reference
186
+
187
+ ### `CommandComponent`
188
+
189
+ | Input / Model | Type | Default |
190
+ | ------------- | -------- | ------- |
191
+ | `query` | `string` | `''` |
192
+ | `class` | `string` | `''` |
193
+
194
+ ### `CommandInputComponent`
195
+
196
+ | Input | Type | Default |
197
+ | ------------- | -------- | ----------------------------- |
198
+ | `placeholder` | `string` | `Type a command or search...` |
199
+ | `class` | `string` | `''` |
200
+
201
+ Behavior:
202
+
203
+ - Uses `role="combobox"` and `aria-autocomplete="list"`.
204
+ - Arrow Down and Arrow Up move the active item.
205
+ - Enter selects the active visible item.
206
+
207
+ ### `CommandListComponent`
208
+
209
+ | Input | Type | Default |
210
+ | ------- | -------- | ------- |
211
+ | `class` | `string` | `''` |
212
+
213
+ Behavior: renders the listbox region and scroll container.
214
+
215
+ ### `CommandGroupComponent`
216
+
217
+ | Input | Type | Default |
218
+ | --------- | ---------------- | ------- |
219
+ | `heading` | `string \| null` | `null` |
220
+ | `class` | `string` | `''` |
221
+
222
+ ### `CommandItemComponent`
223
+
224
+ | Input / Output | Type | Default |
225
+ | -------------- | ----------------------------- | -------------------- |
226
+ | `value` | `string` | `''` |
227
+ | `disabled` | `boolean` | `false` |
228
+ | `class` | `string` | `''` |
229
+ | `selected` | `MouseEvent \| KeyboardEvent` | emitted on selection |
230
+
231
+ Behavior:
232
+
233
+ - Uses `role="option"`.
234
+ - Hides automatically when the current query does not match its `value` or text content.
235
+ - Skips selection when `disabled` is `true`.
236
+
237
+ ### Auxiliary parts
238
+
239
+ - `ui-command-empty` appears only when no visible items match the query.
240
+ - `ui-command-separator` renders a divider between groups.
241
+ - `span[ui-command-shortcut]` aligns trailing shortcut text with `ml-auto` styling.
242
+
243
+ ## Styling and theming
244
+
245
+ Pass `class` to the root and parts to tune borders, width, list height, and embedded dialog layouts.
246
+
247
+ The primitive already applies shared theme tokens such as `bg-popover`, `text-popover-foreground`, `border-border`, and active-row accent styles. Typical overrides include:
248
+
249
+ - `rounded-lg border border-border` on the root for shadcn-like cards.
250
+ - `max-h-*` on `ui-command-list` for taller or shorter scroll regions.
251
+ - Additional spacing or layout classes on items when an app supplies inline badges or icons.
252
+
253
+ ## Accessibility
254
+
255
+ - The input uses combobox semantics while the list exposes listbox-style options.
256
+ - Items expose `aria-selected`, `data-active`, and disabled state markers.
257
+ - Disabled items remain visible for discoverability but are skipped by keyboard selection.
258
+ - Keep item labels descriptive and avoid deeply nested interactive content inside a command item.
259
+
260
+ ## Keyboard interactions
261
+
262
+ - Arrow Down and Arrow Up move the active option through visible items.
263
+ - Enter selects the active item.
264
+ - Typing filters items by the configured `value` or fallback text content.
265
+
266
+ ## Angular notes
267
+
268
+ - The root exposes a signal-backed `query` model, so `[(query)]` works naturally in standalone components.
269
+ - `button[ui-command-item]` is the most practical item host because it preserves native semantics for click and keyboard handlers.
270
+ - `ComboboxComponent` already builds on this primitive, so keep command examples action-oriented instead of mixing them with form-specific behavior.
271
+ - This primitive intentionally stays presentational. Compose it with higher-level surfaces such as Dialog rather than coupling it to overlay infrastructure.
272
+
273
+ ## Source parity
274
+
275
+ This Angular implementation follows shadcn's Command information architecture and `cmdk` mental model while translating the dialog helper into existing `ui-dialog` primitives and Angular selectors.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-command.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-command.d.ts"
4
+ }
@@ -0,0 +1,235 @@
1
+ # Composer
2
+
3
+ Configurable prompt composer for chat, AI, and message surfaces.
4
+
5
+ This Angular implementation takes conceptual inspiration from Flux Composer, but the API, styling, and composition model follow the shadcn-style patterns already established in this library.
6
+
7
+ ## Import
8
+
9
+ ```ts
10
+ import {
11
+ ComposerActionsLeadingComponent,
12
+ ComposerActionsTrailingComponent,
13
+ ComposerComponent,
14
+ ComposerFooterComponent,
15
+ ComposerHeaderComponent,
16
+ ComposerInputComponent,
17
+ ComposerTextareaComponent,
18
+ } from '@edsis/angular/component/composer';
19
+ ```
20
+
21
+ ## Composition
22
+
23
+ ```text
24
+ ui-composer
25
+ ├── ui-composer-header (optional)
26
+ ├── ui-composer-actions-leading (optional)
27
+ ├── textarea[ui-composer-input] or ui-composer-input
28
+ ├── ui-composer-actions-trailing (optional)
29
+ └── ui-composer-footer (optional)
30
+ ```
31
+
32
+ Use `textarea[ui-composer-input]` when you want native textarea behavior, template-driven forms, or reactive forms.
33
+ Use `ui-composer-input` when you want to project a custom rich-text surface or editor shell.
34
+
35
+ ## Basic Usage
36
+
37
+ ```html
38
+ <form (ngSubmit)="send()">
39
+ <ui-composer (submitRequested)="send()">
40
+ <textarea
41
+ ui-composer-input
42
+ rows="2"
43
+ maxRows="6"
44
+ placeholder="How can I help you today?"
45
+ [(ngModel)]="prompt"
46
+ name="prompt"></textarea>
47
+
48
+ <ui-composer-actions-trailing>
49
+ <button ui-button type="submit" size="icon-sm" aria-label="Send prompt">Send</button>
50
+ </ui-composer-actions-trailing>
51
+ </ui-composer>
52
+ </form>
53
+ ```
54
+
55
+ ## With Header
56
+
57
+ Use the header slot for file previews, avatars, upload summaries, or compact context cards.
58
+
59
+ ```html
60
+ <ui-composer>
61
+ <ui-composer-header>
62
+ <div class="flex items-center gap-3 rounded-lg border border-border bg-muted/40 px-3 py-2">
63
+ <img src="/avatar.png" alt="Uploaded file owner" class="size-10 rounded-md object-cover" />
64
+ <div class="min-w-0">
65
+ <p class="truncate text-sm font-medium">profile-shot.png</p>
66
+ <p class="text-xs text-muted-foreground">2.1 MB</p>
67
+ </div>
68
+ </div>
69
+ </ui-composer-header>
70
+
71
+ <textarea ui-composer-input rows="2" maxRows="6" placeholder="Ask about this asset..."></textarea>
72
+
73
+ <ui-composer-actions-trailing>
74
+ <button ui-button type="button" size="sm">Send</button>
75
+ </ui-composer-actions-trailing>
76
+ </ui-composer>
77
+ ```
78
+
79
+ ## Inline Layout
80
+
81
+ Set `inline` when actions and input should share a compact single-row shell.
82
+
83
+ ```html
84
+ <ui-composer inline submit="enter">
85
+ <ui-composer-actions-leading>
86
+ <button ui-button type="button" variant="ghost" size="icon-sm" aria-label="Add attachment">+</button>
87
+ </ui-composer-actions-leading>
88
+
89
+ <textarea ui-composer-input rows="1" maxRows="4" placeholder="Reply..."></textarea>
90
+
91
+ <ui-composer-actions-trailing>
92
+ <button ui-button type="button" variant="secondary" size="icon-sm" aria-label="Voice input">Mic</button>
93
+ <button ui-button type="submit" size="icon-sm" aria-label="Send reply">Send</button>
94
+ </ui-composer-actions-trailing>
95
+ </ui-composer>
96
+ ```
97
+
98
+ ## Input Variant
99
+
100
+ Set `variant="input"` when the composer should align more closely with the radius and density of other input surfaces.
101
+
102
+ ```html
103
+ <ui-composer variant="input">
104
+ <textarea ui-composer-input rows="2" maxRows="5" placeholder="What's on your mind?"></textarea>
105
+ </ui-composer>
106
+ ```
107
+
108
+ ## Height And Autosize
109
+
110
+ `rows` sets the initial height of the native textarea surface.
111
+ `maxRows` caps autosize growth before the textarea begins scrolling.
112
+
113
+ ```html
114
+ <ui-composer>
115
+ <textarea ui-composer-input rows="3" maxRows="8" placeholder="Write a longer prompt..."></textarea>
116
+ </ui-composer>
117
+ ```
118
+
119
+ ## Submit Behavior
120
+
121
+ By default, keyboard submission uses `cmd-enter`, which means `Cmd+Enter` on macOS and `Ctrl+Enter` on Windows/Linux.
122
+
123
+ Use `submit="enter"` when pressing `Enter` should submit immediately. `Shift+Enter` still inserts a new line.
124
+
125
+ ```html
126
+ <ui-composer submit="enter" (submitRequested)="send()">
127
+ <textarea ui-composer-input rows="1" maxRows="4" placeholder="Quick reply..."></textarea>
128
+ </ui-composer>
129
+ ```
130
+
131
+ When `submitForm` stays `true`, the composer also calls the nearest native `form.requestSubmit()` after emitting `submitRequested`.
132
+
133
+ ## Rich Text Slot
134
+
135
+ Project a custom editor shell through `ui-composer-input` when you want a richer surface without changing the composer container API.
136
+
137
+ ```html
138
+ <ui-composer>
139
+ <ui-composer-input>
140
+ <div
141
+ contenteditable="true"
142
+ role="textbox"
143
+ aria-multiline="true"
144
+ class="min-h-20 w-full rounded-sm bg-transparent px-2 py-2 outline-none">
145
+ Draft a richer message...
146
+ </div>
147
+ </ui-composer-input>
148
+
149
+ <ui-composer-actions-leading>
150
+ <button ui-button type="button" variant="ghost" size="icon-sm" aria-label="Insert file">+</button>
151
+ </ui-composer-actions-leading>
152
+
153
+ <ui-composer-actions-trailing>
154
+ <button ui-button type="button" size="icon-sm" aria-label="Send rich text message">Send</button>
155
+ </ui-composer-actions-trailing>
156
+ </ui-composer>
157
+ ```
158
+
159
+ ## Disabled And Invalid
160
+
161
+ Use the root inputs for shared composer state.
162
+
163
+ ```html
164
+ <ui-composer [disabled]="isSending" [invalid]="promptInvalid">
165
+ <textarea ui-composer-input rows="2" maxRows="6"></textarea>
166
+ </ui-composer>
167
+ ```
168
+
169
+ For native textarea integrations, `aria-invalid` can still be supplied directly on `textarea[ui-composer-input]` when state comes from another layer.
170
+
171
+ ## API Reference
172
+
173
+ ### `ComposerComponent`
174
+
175
+ | Input | Type | Default | Notes |
176
+ | ------------ | ------------------------ | ------------- | --------------------------------------------------------------------- |
177
+ | `variant` | `'default' \| 'input'` | `'default'` | Controls shell radius and density. |
178
+ | `inline` | `boolean` | `false` | Places leading actions, input, and trailing actions in a compact row. |
179
+ | `disabled` | `boolean` | `false` | Applies shared disabled treatment and prevents keyboard submit. |
180
+ | `invalid` | `boolean` | `false` | Applies destructive border and ring treatment. |
181
+ | `submit` | `'cmd-enter' \| 'enter'` | `'cmd-enter'` | Controls keyboard submit behavior. |
182
+ | `submitForm` | `boolean` | `true` | Requests native form submission after `submitRequested`. |
183
+ | `class` | `string` | `''` | Appends classes to the composer host. |
184
+
185
+ ### `ComposerComponent` output
186
+
187
+ | Output | Type | Notes |
188
+ | ----------------- | --------------- | --------------------------------------------------------------------- |
189
+ | `submitRequested` | `KeyboardEvent` | Emitted when keyboard submission is triggered from the input surface. |
190
+
191
+ ### `ComposerTextareaComponent`
192
+
193
+ | Input | Type | Default | Notes |
194
+ | -------------- | ---------------- | ------- | --------------------------------------------------- |
195
+ | `rows` | `number` | `2` | Initial line count. |
196
+ | `maxRows` | `number \| null` | `null` | Maximum autosize line count before scrolling. |
197
+ | `disabled` | `boolean` | `false` | Disables the textarea even if the root is enabled. |
198
+ | `aria-invalid` | `boolean` | `false` | Applies invalid styling on the textarea input slot. |
199
+ | `class` | `string` | `''` | Appends classes to the textarea host. |
200
+
201
+ ### Slot Components
202
+
203
+ `ComposerHeaderComponent`, `ComposerFooterComponent`, `ComposerActionsLeadingComponent`, `ComposerActionsTrailingComponent`, and `ComposerInputComponent` each accept a single `class` input.
204
+
205
+ ## Accessibility
206
+
207
+ - Pair `textarea[ui-composer-input]` with an accessible label from surrounding copy, `aria-label`, or form-field composition.
208
+ - Give icon-only buttons inside action slots explicit `aria-label` values.
209
+ - Keep meaningful supporting text in `ui-composer-footer` or nearby description content.
210
+ - Use `submit="enter"` carefully in multiline experiences so users still understand `Shift+Enter` for a new line.
211
+ - When projecting a custom editor through `ui-composer-input`, provide `role="textbox"`, `aria-multiline="true"`, and clear keyboard handling in the editor surface itself.
212
+
213
+ ## Keyboard Interactions
214
+
215
+ - `Cmd+Enter` or `Ctrl+Enter` submits by default.
216
+ - `Enter` submits when `submit="enter"`.
217
+ - `Shift+Enter` keeps inserting new lines in `submit="enter"` mode.
218
+ - Standard textarea editing, selection, clipboard, and IME behavior remain native when using `textarea[ui-composer-input]`.
219
+
220
+ ## Styling And Theming
221
+
222
+ The composer uses the shared `border-input`, `bg-background`, `ring-ring`, `text-foreground`, and `placeholder:text-muted-foreground` tokens.
223
+
224
+ Override layout and density by passing `class` to the root or individual slot components.
225
+ Keep the projected input surface transparent so the composer shell remains the visible boundary.
226
+
227
+ ## Angular Notes
228
+
229
+ - `textarea[ui-composer-input]` remains a native textarea surface and autosizes without replacing native browser editing behavior.
230
+ - `ui-composer-input` is intentionally presentational. It is meant for custom editor projection, not as a built-in rich-text editor.
231
+ - The composer shell is presentational and does not import layout or theme services, which keeps the entrypoint compatible with the library's component-layer rules.
232
+
233
+ ## Source Inspiration
234
+
235
+ This component borrows the high-level idea of a structured prompt composer from Flux Composer, but the Angular API, slot names, styling tokens, keyboard behavior contract, and examples are implemented specifically for this library's shadcn-style component system.
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "../../fesm2022/ojiepermana-angular-component-composer.mjs",
3
+ "typings": "../../types/ojiepermana-angular-component-composer.d.ts"
4
+ }