@edsis/angular 21.3.3 → 21.3.8

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 (381) hide show
  1. package/README.md +88 -257
  2. package/fesm2022/edsis-angular-module-auth.mjs +1301 -0
  3. package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
  4. package/fesm2022/edsis-angular.mjs +8 -0
  5. package/fesm2022/edsis-angular.mjs.map +1 -0
  6. package/package.json +13 -368
  7. package/types/edsis-angular-module-auth.d.ts +132 -0
  8. package/types/edsis-angular.d.ts +2 -0
  9. package/.npmignore +0 -2
  10. package/collection.json +0 -30
  11. package/component/accordion/package.json +0 -4
  12. package/component/alert/package.json +0 -4
  13. package/component/alert-dialog/package.json +0 -4
  14. package/component/aspect-ratio/package.json +0 -4
  15. package/component/avatar/package.json +0 -4
  16. package/component/badge/package.json +0 -4
  17. package/component/breadcrumb/package.json +0 -4
  18. package/component/button/package.json +0 -4
  19. package/component/button-group/package.json +0 -4
  20. package/component/calendar/package.json +0 -4
  21. package/component/card/package.json +0 -4
  22. package/component/carousel/package.json +0 -4
  23. package/component/chart/README.md +0 -249
  24. package/component/chart/area/package.json +0 -4
  25. package/component/chart/bar/package.json +0 -4
  26. package/component/chart/line/package.json +0 -4
  27. package/component/chart/package.json +0 -4
  28. package/component/chart/pie/package.json +0 -4
  29. package/component/chart/radar/package.json +0 -4
  30. package/component/chart/radial/package.json +0 -4
  31. package/component/chart/scatter/package.json +0 -4
  32. package/component/checkbox/package.json +0 -4
  33. package/component/collapsible/package.json +0 -4
  34. package/component/combobox/package.json +0 -4
  35. package/component/command/package.json +0 -4
  36. package/component/context-menu/package.json +0 -4
  37. package/component/date-picker/package.json +0 -4
  38. package/component/dialog/package.json +0 -4
  39. package/component/drawer/package.json +0 -4
  40. package/component/dropdown-menu/package.json +0 -4
  41. package/component/form/package.json +0 -4
  42. package/component/input/package.json +0 -4
  43. package/component/input-group/package.json +0 -4
  44. package/component/item/package.json +0 -4
  45. package/component/label/package.json +0 -4
  46. package/component/pagination/package.json +0 -4
  47. package/component/popover/package.json +0 -4
  48. package/component/progress/package.json +0 -4
  49. package/component/radio/package.json +0 -4
  50. package/component/scroll-area/package.json +0 -4
  51. package/component/select/package.json +0 -4
  52. package/component/separator/package.json +0 -4
  53. package/component/sheet/package.json +0 -4
  54. package/component/skeleton/package.json +0 -4
  55. package/component/slider/package.json +0 -4
  56. package/component/switch/package.json +0 -4
  57. package/component/table/package.json +0 -4
  58. package/component/tabs/package.json +0 -4
  59. package/component/textarea/package.json +0 -4
  60. package/component/toast/package.json +0 -4
  61. package/component/tooltip/package.json +0 -4
  62. package/component/utils/package.json +0 -4
  63. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -174
  64. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  65. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -242
  66. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  67. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -90
  68. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  69. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -33
  70. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  71. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -123
  72. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  73. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -47
  74. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  75. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -186
  76. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  77. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -95
  78. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  79. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -64
  80. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  81. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -78
  82. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  83. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -137
  84. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  85. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -310
  86. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  87. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  88. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  89. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  90. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  91. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  92. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  93. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  94. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  95. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  96. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  97. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  98. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  99. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  100. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  101. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3714
  102. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  103. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -104
  104. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  105. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -116
  106. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  107. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -263
  108. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  109. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -268
  110. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  111. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -100
  112. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  113. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -155
  114. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  115. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -262
  116. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  117. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  118. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  119. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -458
  120. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  121. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -208
  122. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  123. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -164
  124. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  125. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -43
  126. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  127. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -241
  128. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  129. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -30
  130. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  131. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -192
  132. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  133. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -163
  134. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  135. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -53
  136. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  137. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -92
  138. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  139. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -48
  140. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  141. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -131
  142. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  143. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -33
  144. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  145. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -235
  146. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  147. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -29
  148. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  149. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -29
  150. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  151. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -84
  152. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  153. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -139
  154. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  155. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -252
  156. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  157. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -37
  158. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  159. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -47
  160. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  161. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -56
  162. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  163. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  164. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  165. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  166. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  167. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -581
  168. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  169. package/fesm2022/ojiepermana-angular-layout-empty.mjs +0 -49
  170. package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +0 -1
  171. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs +0 -119
  172. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +0 -1
  173. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  174. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  175. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -114
  176. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  177. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  178. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  179. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -27
  180. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  181. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  182. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  183. package/fesm2022/ojiepermana-angular-layout-vertical.mjs +0 -113
  184. package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +0 -1
  185. package/fesm2022/ojiepermana-angular-layout.mjs +0 -461
  186. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  187. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  188. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  189. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -59
  190. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  191. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -548
  192. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  193. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -204
  194. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  195. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -373
  196. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  197. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -433
  198. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  199. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  200. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  201. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  202. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  203. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -286
  204. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  205. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  206. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  207. package/fesm2022/ojiepermana-angular-theme.mjs +0 -382
  208. package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
  209. package/fesm2022/ojiepermana-angular.mjs +0 -22
  210. package/fesm2022/ojiepermana-angular.mjs.map +0 -1
  211. package/generator/api/README.md +0 -249
  212. package/generator/api/bin/package.json +0 -3
  213. package/generator/api/bin/schematics/init/index.js +0 -90
  214. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  215. package/generator/api/bin/schematics/sdk/index.js +0 -76
  216. package/generator/api/bin/src/config/loader.js +0 -41
  217. package/generator/api/bin/src/config/schema.js +0 -57
  218. package/generator/api/bin/src/emit/client.js +0 -246
  219. package/generator/api/bin/src/emit/metadata.js +0 -295
  220. package/generator/api/bin/src/emit/models.js +0 -106
  221. package/generator/api/bin/src/emit/navigation.js +0 -56
  222. package/generator/api/bin/src/emit/operations.js +0 -122
  223. package/generator/api/bin/src/emit/public-api.js +0 -54
  224. package/generator/api/bin/src/emit/services.js +0 -87
  225. package/generator/api/bin/src/engine.js +0 -65
  226. package/generator/api/bin/src/layout/per-domain.js +0 -359
  227. package/generator/api/bin/src/parser/bundle.js +0 -25
  228. package/generator/api/bin/src/parser/ir.js +0 -320
  229. package/generator/api/bin/src/parser/types.js +0 -7
  230. package/generator/api/bin/src/render/template.js +0 -58
  231. package/generator/api/bin/src/writer/index.js +0 -236
  232. package/generator/api/package.json +0 -4
  233. package/generator/api/schematics/init/schema.json +0 -19
  234. package/generator/api/schematics/ng-add/schema.json +0 -14
  235. package/generator/api/schematics/sdk/schema.json +0 -19
  236. package/generator/api/sdk.config.example.json +0 -24
  237. package/generator/guide/README.md +0 -84
  238. package/generator/guide/bin/package.json +0 -3
  239. package/generator/guide/bin/schematics/build/index.js +0 -35
  240. package/generator/guide/bin/schematics/init/index.js +0 -70
  241. package/generator/guide/bin/src/config/loader.js +0 -50
  242. package/generator/guide/bin/src/config/schema.js +0 -12
  243. package/generator/guide/bin/src/engine/component.js +0 -74
  244. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  245. package/generator/guide/bin/src/engine/index.js +0 -42
  246. package/generator/guide/bin/src/engine/naming.js +0 -39
  247. package/generator/guide/bin/src/engine/render.js +0 -31
  248. package/generator/guide/bin/src/engine/routes.js +0 -106
  249. package/generator/guide/bin/src/engine/walk.js +0 -35
  250. package/generator/guide/guide.config.example.json +0 -9
  251. package/generator/guide/schematics/build/schema.json +0 -14
  252. package/generator/guide/schematics/init/schema.json +0 -19
  253. package/layout/component/package.json +0 -4
  254. package/layout/empty/package.json +0 -4
  255. package/layout/horizontal/package.json +0 -4
  256. package/layout/package.json +0 -4
  257. package/layout/provider/package.json +0 -4
  258. package/layout/services/package.json +0 -4
  259. package/layout/shell/package.json +0 -4
  260. package/layout/token/directive/package.json +0 -4
  261. package/layout/token/package.json +0 -4
  262. package/layout/vertical/package.json +0 -4
  263. package/navigation/demo-data/package.json +0 -4
  264. package/navigation/icon/package.json +0 -4
  265. package/navigation/item/package.json +0 -4
  266. package/navigation/service/package.json +0 -4
  267. package/navigation/sidebar/package.json +0 -4
  268. package/navigation/topbar/package.json +0 -4
  269. package/navigation/types/package.json +0 -4
  270. package/theme/README.md +0 -67
  271. package/theme/package.json +0 -4
  272. package/theme/provider/package.json +0 -4
  273. package/theme/services/package.json +0 -4
  274. package/theme/styles/foundation/components.css +0 -81
  275. package/theme/styles/foundation/layers.css +0 -15
  276. package/theme/styles/foundation/tokens.css +0 -55
  277. package/theme/styles/index.css +0 -37
  278. package/theme/styles/integrations/material.css +0 -254
  279. package/theme/styles/integrations/tailwind.css +0 -114
  280. package/theme/styles/variants/color/amber.css +0 -31
  281. package/theme/styles/variants/color/base.css +0 -36
  282. package/theme/styles/variants/color/blue.css +0 -31
  283. package/theme/styles/variants/color/cyan.css +0 -31
  284. package/theme/styles/variants/color/emerald.css +0 -31
  285. package/theme/styles/variants/color/fuchsia.css +0 -31
  286. package/theme/styles/variants/color/green.css +0 -31
  287. package/theme/styles/variants/color/index.css +0 -22
  288. package/theme/styles/variants/color/indigo.css +0 -31
  289. package/theme/styles/variants/color/lime.css +0 -31
  290. package/theme/styles/variants/color/orange.css +0 -31
  291. package/theme/styles/variants/color/pink.css +0 -31
  292. package/theme/styles/variants/color/purple.css +0 -31
  293. package/theme/styles/variants/color/red.css +0 -31
  294. package/theme/styles/variants/color/rose.css +0 -31
  295. package/theme/styles/variants/color/sky.css +0 -31
  296. package/theme/styles/variants/color/teal.css +0 -31
  297. package/theme/styles/variants/color/violet.css +0 -31
  298. package/theme/styles/variants/color/yellow.css +0 -31
  299. package/theme/styles/variants/mode/dark.css +0 -20
  300. package/theme/styles/variants/mode/index.css +0 -6
  301. package/theme/styles/variants/mode/light.css +0 -24
  302. package/theme/styles/variants/style/brutal.css +0 -50
  303. package/theme/styles/variants/style/default.css +0 -54
  304. package/theme/styles/variants/style/index.css +0 -8
  305. package/theme/styles/variants/style/sharp.css +0 -50
  306. package/theme/styles/variants/style/soft.css +0 -50
  307. package/theme/token/package.json +0 -4
  308. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  309. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  310. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  311. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  312. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  313. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  314. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  315. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  316. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  317. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  318. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  319. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  320. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  321. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  322. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  323. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  324. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  325. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  326. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  327. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  328. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  329. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  330. package/types/ojiepermana-angular-component-combobox.d.ts +0 -51
  331. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  332. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  333. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  334. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  335. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  336. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -135
  337. package/types/ojiepermana-angular-component-form.d.ts +0 -92
  338. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  339. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  340. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  341. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  342. package/types/ojiepermana-angular-component-pagination.d.ts +0 -27
  343. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  344. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  345. package/types/ojiepermana-angular-component-radio.d.ts +0 -34
  346. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  347. package/types/ojiepermana-angular-component-select.d.ts +0 -45
  348. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  349. package/types/ojiepermana-angular-component-sheet.d.ts +0 -74
  350. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  351. package/types/ojiepermana-angular-component-slider.d.ts +0 -16
  352. package/types/ojiepermana-angular-component-switch.d.ts +0 -30
  353. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  354. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  355. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  356. package/types/ojiepermana-angular-component-toast.d.ts +0 -29
  357. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -22
  358. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  359. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  360. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  361. package/types/ojiepermana-angular-layout-empty.d.ts +0 -22
  362. package/types/ojiepermana-angular-layout-horizontal.d.ts +0 -36
  363. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  364. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  365. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  366. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  367. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  368. package/types/ojiepermana-angular-layout-vertical.d.ts +0 -38
  369. package/types/ojiepermana-angular-layout.d.ts +0 -164
  370. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  371. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  372. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  373. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  374. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  375. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -54
  376. package/types/ojiepermana-angular-navigation-types.d.ts +0 -129
  377. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  378. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  379. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
  380. package/types/ojiepermana-angular-theme.d.ts +0 -116
  381. package/types/ojiepermana-angular.d.ts +0 -3
@@ -0,0 +1,132 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken, EnvironmentProviders, OnInit } from '@angular/core';
3
+ import { CanActivateFn, Routes } from '@angular/router';
4
+ import { HttpContextToken, HttpInterceptorFn } from '@angular/common/http';
5
+ import * as _angular_forms from '@angular/forms';
6
+ import { AuthTokenResponse, AuthService } from '@edsis/sdk/auth';
7
+
8
+ interface EdsisAuthConfig {
9
+ apiUrl: string;
10
+ appUrl: string;
11
+ loginPath?: string;
12
+ logoutPath?: string;
13
+ verifyPath?: string;
14
+ authenticatedHomePath?: string;
15
+ guestHomePath?: string;
16
+ }
17
+ interface ResolvedEdsisAuthConfig {
18
+ apiUrl: string;
19
+ appUrl: string;
20
+ loginPath: `/${string}`;
21
+ logoutPath: `/${string}`;
22
+ verifyPath: `/${string}`;
23
+ authenticatedHomePath: `/${string}`;
24
+ guestHomePath: `/${string}`;
25
+ }
26
+ declare const EDSIS_AUTH_CONFIG: InjectionToken<ResolvedEdsisAuthConfig>;
27
+ declare function resolveEdsisAuthConfig(config: EdsisAuthConfig): ResolvedEdsisAuthConfig;
28
+
29
+ declare function provideEdsisAuth(config: EdsisAuthConfig): EnvironmentProviders;
30
+
31
+ declare const authenticatedGuard: CanActivateFn;
32
+ declare const homeRedirectGuard: CanActivateFn;
33
+ declare const guestOnlyGuard: CanActivateFn;
34
+
35
+ declare const EDSIS_SKIP_AUTH: HttpContextToken<boolean>;
36
+ declare const edsisAuthInterceptor: HttpInterceptorFn;
37
+
38
+ declare const authRoutes: Routes;
39
+
40
+ declare class AuthShellPage {
41
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthShellPage, never>;
42
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthShellPage, "edsis-auth-shell-page", never, {}, {}, never, never, true, never>;
43
+ }
44
+
45
+ declare class AuthLoginPage {
46
+ private readonly destroyRef;
47
+ private readonly formBuilder;
48
+ private readonly authService;
49
+ protected readonly form: _angular_forms.FormGroup<{
50
+ email: _angular_forms.FormControl<string>;
51
+ }>;
52
+ protected readonly isSubmitting: _angular_core.WritableSignal<boolean>;
53
+ protected readonly responseMessage: _angular_core.WritableSignal<string | null>;
54
+ protected readonly errorMessage: _angular_core.WritableSignal<string | null>;
55
+ protected readonly emailControl: _angular_forms.FormControl<string>;
56
+ protected readonly emailFeedbackId = "email-feedback";
57
+ private readonly emailControlState;
58
+ protected readonly hasInlineError: _angular_core.Signal<boolean>;
59
+ protected readonly inlineErrorMessage: _angular_core.Signal<"Email wajib diisi." | "Gunakan format email yang valid dengan panjang maksimal 255 karakter." | null>;
60
+ protected readonly feedbackMessage: _angular_core.Signal<string | null>;
61
+ protected readonly feedbackTone: _angular_core.Signal<"error" | "success" | null>;
62
+ protected readonly fieldTone: _angular_core.Signal<"error" | "success" | "idle">;
63
+ protected readonly emailFieldClasses: _angular_core.Signal<"flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base!" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-destructive focus-within:border-destructive focus-within:ring-destructive/20" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-emerald-500 focus-within:border-emerald-500 focus-within:ring-emerald-500/20">;
64
+ protected submit(): void;
65
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLoginPage, never>;
66
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLoginPage, "edsis-auth-login-page", never, {}, {}, never, never, true, never>;
67
+ }
68
+
69
+ declare class AuthLogoutPage implements OnInit {
70
+ private readonly destroyRef;
71
+ private readonly documentRef;
72
+ private readonly router;
73
+ private readonly authService;
74
+ private readonly authConfig;
75
+ protected readonly guestHomePath: `/${string}`;
76
+ protected readonly authenticatedHomePath: `/${string}`;
77
+ protected readonly state: _angular_core.WritableSignal<"error" | "success" | "pending">;
78
+ protected readonly message: _angular_core.WritableSignal<string>;
79
+ ngOnInit(): void;
80
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLogoutPage, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLogoutPage, "edsis-auth-logout-page", never, {}, {}, never, never, true, never>;
82
+ }
83
+
84
+ declare class AuthVerifyPage {
85
+ private readonly documentRef;
86
+ private readonly destroyRef;
87
+ private readonly route;
88
+ private readonly router;
89
+ private readonly location;
90
+ private readonly authService;
91
+ private readonly authConfig;
92
+ private readonly queryParamMap;
93
+ private readonly fragment;
94
+ private handledToken;
95
+ private verifySubscription;
96
+ protected readonly guestHomePath: `/${string}`;
97
+ protected readonly authenticatedHomePath: `/${string}`;
98
+ protected readonly state: _angular_core.WritableSignal<"error" | "success" | "pending">;
99
+ protected readonly message: _angular_core.WritableSignal<string>;
100
+ protected readonly token: _angular_core.InputSignal<string | null | undefined>;
101
+ constructor();
102
+ private clearTokenFromAddressBar;
103
+ private verify;
104
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthVerifyPage, never>;
105
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthVerifyPage, "edsis-auth-verify-page", never, { "token": { "alias": "token"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
106
+ }
107
+
108
+ declare const AUTH_SESSION_CHANGE_EVENT = "edsis-auth-session-change";
109
+ type AuthSessionData = NonNullable<AuthTokenResponse['data']>;
110
+ interface StoredAuthSession {
111
+ accessToken: string;
112
+ userId?: string;
113
+ role?: string;
114
+ name?: string;
115
+ }
116
+ declare function ɵresetAuthSessionModuleState(): void;
117
+ declare function hasStoredSession(documentRef: Document): boolean;
118
+ declare function readStoredAccessToken(documentRef: Document): string;
119
+ declare function readStoredSession(documentRef: Document): StoredAuthSession | null;
120
+ declare function persistSession(documentRef: Document, sessionData: AuthSessionData | undefined): StoredAuthSession | null;
121
+ declare function clearStoredSession(documentRef: Document, options?: {
122
+ preserveFailedSessionFingerprint?: boolean;
123
+ }): void;
124
+ declare function validateStoredSession(documentRef: Document, authService: Pick<AuthService, 'refreshAuthToken'>, options?: {
125
+ forceRefresh?: boolean;
126
+ }): Promise<boolean>;
127
+ declare function injectSessionState(): Promise<boolean>;
128
+ declare function injectSessionRefresh(): Promise<boolean>;
129
+ declare function injectSessionClear(): void;
130
+
131
+ export { AUTH_SESSION_CHANGE_EVENT, AuthLoginPage, AuthLogoutPage, AuthShellPage, AuthVerifyPage, EDSIS_AUTH_CONFIG, EDSIS_SKIP_AUTH, authRoutes, authenticatedGuard, clearStoredSession, edsisAuthInterceptor, guestOnlyGuard, hasStoredSession, homeRedirectGuard, injectSessionClear, injectSessionRefresh, injectSessionState, persistSession, provideEdsisAuth, readStoredAccessToken, readStoredSession, resolveEdsisAuthConfig, validateStoredSession, ɵresetAuthSessionModuleState };
132
+ export type { EdsisAuthConfig, ResolvedEdsisAuthConfig, StoredAuthSession };
@@ -0,0 +1,2 @@
1
+
2
+ export { };
package/.npmignore DELETED
@@ -1,2 +0,0 @@
1
- # Nested package.json's are only needed for development.
2
- **/package.json
package/collection.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "ng-add": {
5
- "description": "Add @edsis/angular and its required peer dependencies to an Angular workspace.",
6
- "factory": "./generator/api/bin/schematics/ng-add/index.js#ngAdd",
7
- "schema": "./generator/api/schematics/ng-add/schema.json"
8
- },
9
- "sdk": {
10
- "description": "Generate an Angular SDK from an OpenAPI spec.",
11
- "factory": "./generator/api/bin/schematics/sdk/index.js#sdk",
12
- "schema": "./generator/api/schematics/sdk/schema.json"
13
- },
14
- "sdk-init": {
15
- "description": "Create config/sdk.config.json under the workspace root.",
16
- "factory": "./generator/api/bin/schematics/init/index.js#init",
17
- "schema": "./generator/api/schematics/init/schema.json"
18
- },
19
- "guide": {
20
- "description": "Compile Markdown files into Angular standalone components and a nested route tree.",
21
- "factory": "./generator/guide/bin/schematics/build/index.js#build",
22
- "schema": "./generator/guide/schematics/build/schema.json"
23
- },
24
- "guide-init": {
25
- "description": "Create config/guide.config.json under the workspace root.",
26
- "factory": "./generator/guide/bin/schematics/init/index.js#init",
27
- "schema": "./generator/guide/schematics/init/schema.json"
28
- }
29
- }
30
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-accordion.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-accordion.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-alert.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-alert.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-alert-dialog.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-alert-dialog.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-aspect-ratio.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-aspect-ratio.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-avatar.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-avatar.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-badge.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-badge.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-breadcrumb.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-breadcrumb.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-button.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-button.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-button-group.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-button-group.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-calendar.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-calendar.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-card.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-card.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-carousel.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-carousel.d.ts"
4
- }
@@ -1,249 +0,0 @@
1
- # Chart
2
-
3
- Angular chart primitives and chart families inspired by shadcn Chart.
4
-
5
- In this repository, shadcn's single Chart page maps to the dedicated `/ui/chart/*` demo route group so each chart family can keep focused, production-like examples without forcing everything into one `/ui/shadcn/chart` page.
6
-
7
- Use Chart for dashboards, KPI cards, trend comparisons, radial summaries, and interactive data views where one shared config should drive labels, colors, legends, and tooltip copy.
8
-
9
- ## Installation
10
-
11
- ```bash
12
- bun add @edsis/angular
13
- npm install @edsis/angular
14
- ```
15
-
16
- ## Import
17
-
18
- Import shared primitives from the chart root entrypoint, then import the concrete chart family from its granular subpath.
19
-
20
- ```ts
21
- import {
22
- ChartAxisX,
23
- ChartAxisY,
24
- ChartContainer,
25
- ChartGrid,
26
- ChartLegend,
27
- ChartTooltip,
28
- type ChartConfig,
29
- } from '@edsis/angular/component/chart';
30
- import { BarChart } from '@edsis/angular/component/chart/bar';
31
- ```
32
-
33
- ### Supported chart entrypoints
34
-
35
- | Import path | Selector | Best for |
36
- | ---------------------------------------------- | ------------------ | ----------------------------------------------------------------- |
37
- | `@edsis/angular/component/chart/bar` | `ui-bar-chart` | grouped, stacked, horizontal, active, and mixed-color bar layouts |
38
- | `@edsis/angular/component/chart/line` | `ui-line-chart` | trends, comparisons, and zoomable time-series lines |
39
- | `@edsis/angular/component/chart/area` | `ui-area-chart` | filled trend bands, stacked areas, and expanded percent views |
40
- | `@edsis/angular/component/chart/pie` | `ui-pie-chart` | part-to-whole slices and donut charts |
41
- | `@edsis/angular/component/chart/radar` | `ui-radar-chart` | multi-axis performance comparisons |
42
- | `@edsis/angular/component/chart/radial` | `ui-radial-chart` | progress rings, radial comparisons, and center-metric summaries |
43
- | `@edsis/angular/component/chart/scatter` | `ui-scatter-chart` | XY correlation plots and point clouds |
44
-
45
- ## Composition
46
-
47
- The Angular structure keeps the same high-level idea as shadcn Chart: define a shared chart config once, then compose a specific chart type with optional grid, axis, tooltip, legend, and center content.
48
-
49
- ```text
50
- ui-chart-container
51
- ├── ui-bar-chart | ui-line-chart | ui-area-chart | ui-scatter-chart
52
- │ ├── svg:g[ui-chart-grid]
53
- │ ├── svg:g[ui-chart-axis-x]
54
- │ ├── svg:g[ui-chart-axis-y]
55
- │ └── svg:g[ui-chart-crosshair] / svg:g[ui-chart-brush] (optional)
56
- ├── ui-pie-chart | ui-radial-chart | ui-radar-chart
57
- │ └── ui-pie-center | ui-radial-center (optional)
58
- ├── ui-chart-tooltip
59
- ├── ui-chart-legend
60
- └── ui-chart-zoom-controls (optional)
61
- ```
62
-
63
- All child primitives read dimensions, series metadata, and scoped color tokens from `ui-chart-container`.
64
-
65
- ## Basic usage
66
-
67
- Start with a readonly `ChartConfig`, keep the dataset in any shape that makes sense for your feature, and map the chart to the relevant keys.
68
-
69
- ```ts
70
- const trafficChartConfig = {
71
- desktop: { label: 'Desktop', color: 'var(--chart-1)' },
72
- mobile: { label: 'Mobile', color: 'var(--chart-2)' },
73
- } satisfies ChartConfig;
74
-
75
- const trafficData = [
76
- { month: 'January', desktop: 186, mobile: 80 },
77
- { month: 'February', desktop: 305, mobile: 200 },
78
- { month: 'March', desktop: 237, mobile: 120 },
79
- { month: 'April', desktop: 73, mobile: 190 },
80
- { month: 'May', desktop: 209, mobile: 130 },
81
- { month: 'June', desktop: 214, mobile: 140 },
82
- ];
83
- ```
84
-
85
- ```html
86
- <div class="w-full max-w-3xl">
87
- <ui-chart-container [config]="trafficChartConfig" chartId="traffic-overview">
88
- <ui-bar-chart [data]="trafficData" xKey="month">
89
- <svg:g ui-chart-grid></svg:g>
90
- <svg:g ui-chart-axis-x></svg:g>
91
- <svg:g ui-chart-axis-y></svg:g>
92
- </ui-bar-chart>
93
- <ui-chart-tooltip [data]="trafficData" xKey="month" />
94
- <ui-chart-legend />
95
- </ui-chart-container>
96
- </div>
97
- ```
98
-
99
- ## Common patterns
100
-
101
- ### First chart flow
102
-
103
- The closest Angular equivalent to the upstream shadcn walkthrough is:
104
-
105
- 1. Define your dataset.
106
- 2. Define `ChartConfig` so labels and colors stay decoupled from the raw data.
107
- 3. Wrap the chart in `ui-chart-container`.
108
- 4. Add `svg:g[ui-chart-grid]`, axis directives, `ui-chart-tooltip`, and `ui-chart-legend` only where they add value.
109
-
110
- This keeps the chart family focused while still letting the shared primitives manage the common UI pieces.
111
-
112
- ### Swapping chart families
113
-
114
- The same `ChartConfig` can back multiple chart families. In most cases you only swap the concrete chart import and the family-specific inputs.
115
-
116
- ```ts
117
- import { AreaChart } from '@edsis/angular/component/chart/area';
118
- import { LineChart } from '@edsis/angular/component/chart/line';
119
- ```
120
-
121
- - `ui-line-chart` adds inputs such as `curve`, `showDots`, and `showValueLabels`.
122
- - `ui-area-chart` adds `stacked`, `expanded`, `gradient`, and `curve`.
123
- - `ui-bar-chart` adds `orientation`, `variant`, `colorKey`, `activeKey`, and `activeValue`.
124
-
125
- ### Pie and radial summaries
126
-
127
- For donut, pie, and radial progress layouts, use `nameKey` plus `valueKey` instead of `xKey`.
128
-
129
- ```html
130
- <ui-chart-container [config]="browserConfig" aspect="aspect-square">
131
- <ui-pie-chart
132
- [data]="browserData"
133
- nameKey="browser"
134
- valueKey="visitors"
135
- [seriesKeys]="browserSeriesKeys"
136
- [innerRadius]="64">
137
- </ui-pie-chart>
138
- <ui-chart-tooltip [data]="browserData" xKey="browser" valueKey="visitors" indicator="dot" />
139
- <ui-chart-legend />
140
- </ui-chart-container>
141
- ```
142
-
143
- ### Tooltip formatting
144
-
145
- `ui-chart-tooltip` is where most presentational customization lives.
146
-
147
- ```html
148
- <ui-chart-tooltip
149
- [data]="activityData"
150
- xKey="date"
151
- indicator="line"
152
- labelKey="views"
153
- [labelFormatter]="longDateFormatter"
154
- [formatter]="compactNumberFormatter" />
155
- ```
156
-
157
- Use `valueKey` for single-value radial and pie datasets, `hideLabel` when the card already provides the label context, and `indicator="none"` when you want a copy-first tooltip layout.
158
-
159
- ### Per-row colors and active emphasis
160
-
161
- Use `colorKey` when the dataset itself carries a color token such as `fill`, and use `activeKey` plus `activeValue` when one category should be visually emphasized without rewriting the whole series config.
162
-
163
- ## API reference
164
-
165
- ### `ChartContainer`
166
-
167
- | Input | Type | Default |
168
- | --------- | ---------------- | ---------------- |
169
- | `config` | `ChartConfig` | — |
170
- | `aspect` | `string` | `'aspect-video'` |
171
- | `chartId` | `string \| null` | auto-generated |
172
-
173
- `ChartConfig` is a readonly record of series keys to labels, icons, colors, or theme-aware light/dark color maps.
174
-
175
- ```ts
176
- type ChartConfig = Readonly<
177
- Record<
178
- string,
179
- {
180
- label?: string;
181
- icon?: Type<unknown>;
182
- color?: string;
183
- theme?: Readonly<Record<'light' | 'dark', string>>;
184
- }
185
- >
186
- >;
187
- ```
188
-
189
- ### Shared primitives
190
-
191
- | Part | Key inputs | Notes |
192
- | ------------------------ | -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
193
- | `svg:g[ui-chart-grid]` | none | Adds cartesian grid lines behind bar, line, and area charts. |
194
- | `svg:g[ui-chart-axis-x]` | `tickCount`, `tickLine`, `tickFormat` | Categorical axis for cartesian layouts. |
195
- | `svg:g[ui-chart-axis-y]` | `tickCount`, `tickLine`, `tickFormat` | Numeric axis for cartesian layouts. |
196
- | `ui-chart-tooltip` | `data`, `xKey`, `valueKey`, `indicator`, `label`, `labelKey`, `labelFormatter`, `formatter`, `hideLabel` | Handles default tooltip layout plus custom template projection. |
197
- | `ui-chart-legend` | none | Renders toggle buttons for visible series. |
198
- | `ui-chart-zoom-controls` | none | Pair with zoomable line and scatter views. |
199
- | `ui-pie-center` | projected content | Centers labels or KPIs inside pie layouts. |
200
- | `ui-radial-center` | projected content | Centers labels or KPIs inside radial layouts. |
201
-
202
- ### Chart families
203
-
204
- | Selector | Key inputs |
205
- | ------------------ | --------------------------------------------------------------------------------------------------- |
206
- | `ui-bar-chart` | `data`, `xKey`, `orientation`, `variant`, `colorKey`, `activeKey`, `activeValue`, `showValueLabels` |
207
- | `ui-line-chart` | `data`, `xKey`, `curve`, `showDots`, `dotRadius`, `showValueLabels` |
208
- | `ui-area-chart` | `data`, `xKey`, `stacked`, `expanded`, `gradient`, `curve` |
209
- | `ui-pie-chart` | `data`, `nameKey`, `valueKey`, `seriesKeys`, `innerRadius`, `activeIndex`, `activeOffset` |
210
- | `ui-radar-chart` | `data`, `axisKey`, `curve`, `levels`, `grid`, `showLabels`, `showDots` |
211
- | `ui-radial-chart` | `data`, `nameKey`, `valueKey`, `seriesKeys`, `maxValue`, `showTrack`, `showValueLabels` |
212
- | `ui-scatter-chart` | `data`, `xKey`, `yKey`, `sizeKey`, `seriesKey`, `xDomain`, `yDomain` |
213
-
214
- ## Styling and theming
215
-
216
- - Prefer CSS variables such as `var(--chart-1)` and `var(--chart-2)` in `ChartConfig`. This matches the current shadcn guidance and the theme tokens shipped by this library.
217
- - `ui-chart-container` scopes generated `--color-<series>` variables to the chart instance, so tooltip rows, legends, and series shapes stay aligned.
218
- - Use `theme: { light, dark }` on a series config entry when the chart needs different values per color scheme.
219
- - Keep the parent container responsible for width, and use the `aspect` input when the default `aspect-video` does not match the layout.
220
- - Use `colorKey` only when the dataset should override per-series colors with a row-specific token such as `fill`.
221
-
222
- ## Accessibility
223
-
224
- - Chart hosts expose an `aria-label` summary describing the chart type, category count, and visible series.
225
- - Interactive marks such as bars, dots, and slices are keyboard focusable where the layout supports activation.
226
- - `ui-chart-tooltip` includes a polite live region so changing categories can be announced to assistive technology.
227
- - `ui-chart-legend` uses native buttons with `aria-pressed` to reflect hidden and visible series state.
228
- - Keep surrounding card copy descriptive so the chart has enough context when read outside its visual layout.
229
-
230
- ## Keyboard interactions
231
-
232
- - `Tab` reaches interactive bars, dots, slices, and legend toggle buttons.
233
- - `Enter` and `Space` trigger the same click behavior as pointer activation on interactive marks.
234
- - Focusing a supported data mark updates the shared active point so tooltip content stays reachable without hover.
235
-
236
- ## Angular notes
237
-
238
- - Keep chart config objects readonly and signal-friendly. A top-level `const` or signal-backed computed config works well.
239
- - Every chart family must live inside `ui-chart-container`; that container provides dimensions, series visibility state, and scoped color variables to descendants.
240
- - Use an explicit `chartId` when multiple charts of the same family appear on one page or when tests need a stable selector.
241
- - The local shadcn mapping for Chart lives in the dedicated `/ui/chart` overview route with focused family demos under `/ui/chart/*`.
242
-
243
- ## Source parity
244
-
245
- This Angular package follows the shadcn Chart information architecture and theming concepts, but it does not mirror the React API one-to-one.
246
-
247
- - shadcn uses Recharts components directly and layers `ChartTooltipContent` and `ChartLegendContent` around them.
248
- - This Angular library ships standalone chart families plus shared primitives, so you compose `ui-chart-container`, the relevant `ui-*-chart`, `ui-chart-tooltip`, and `ui-chart-legend` instead of wiring Recharts JSX.
249
- - The dedicated `/ui/chart/*` route group is the intentional local mapping for shadcn Chart in this repo; no duplicate `/ui/shadcn/chart` page is required.
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-area.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-area.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-bar.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-bar.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-line.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-line.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-chart.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-chart.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-pie.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-pie.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-radar.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-radar.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-radial.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-radial.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../../fesm2022/ojiepermana-angular-component-chart-scatter.mjs",
3
- "typings": "../../../types/ojiepermana-angular-component-chart-scatter.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-checkbox.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-checkbox.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-collapsible.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-collapsible.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-combobox.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-combobox.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-command.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-command.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-context-menu.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-context-menu.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-date-picker.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-date-picker.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-dialog.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-dialog.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-drawer.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-drawer.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-dropdown-menu.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-dropdown-menu.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-form.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-form.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-input.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-input.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-input-group.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-input-group.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-item.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-item.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-label.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-label.d.ts"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "module": "../../fesm2022/ojiepermana-angular-component-pagination.mjs",
3
- "typings": "../../types/ojiepermana-angular-component-pagination.d.ts"
4
- }