@edsis/angular 21.3.4 → 21.3.9

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 (384) hide show
  1. package/README.md +88 -257
  2. package/fesm2022/edsis-angular-block-shell.mjs +560 -0
  3. package/fesm2022/edsis-angular-block-shell.mjs.map +1 -0
  4. package/fesm2022/edsis-angular-module-auth.mjs +1301 -0
  5. package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
  6. package/fesm2022/edsis-angular.mjs +8 -0
  7. package/fesm2022/edsis-angular.mjs.map +1 -0
  8. package/package.json +16 -367
  9. package/types/edsis-angular-block-shell.d.ts +96 -0
  10. package/types/edsis-angular-module-auth.d.ts +132 -0
  11. package/types/edsis-angular.d.ts +2 -0
  12. package/.npmignore +0 -2
  13. package/collection.json +0 -30
  14. package/component/accordion/package.json +0 -4
  15. package/component/alert/package.json +0 -4
  16. package/component/alert-dialog/package.json +0 -4
  17. package/component/aspect-ratio/package.json +0 -4
  18. package/component/avatar/package.json +0 -4
  19. package/component/badge/package.json +0 -4
  20. package/component/breadcrumb/package.json +0 -4
  21. package/component/button/package.json +0 -4
  22. package/component/button-group/package.json +0 -4
  23. package/component/calendar/package.json +0 -4
  24. package/component/card/package.json +0 -4
  25. package/component/carousel/package.json +0 -4
  26. package/component/chart/README.md +0 -249
  27. package/component/chart/area/package.json +0 -4
  28. package/component/chart/bar/package.json +0 -4
  29. package/component/chart/line/package.json +0 -4
  30. package/component/chart/package.json +0 -4
  31. package/component/chart/pie/package.json +0 -4
  32. package/component/chart/radar/package.json +0 -4
  33. package/component/chart/radial/package.json +0 -4
  34. package/component/chart/scatter/package.json +0 -4
  35. package/component/checkbox/package.json +0 -4
  36. package/component/collapsible/package.json +0 -4
  37. package/component/combobox/package.json +0 -4
  38. package/component/command/package.json +0 -4
  39. package/component/context-menu/package.json +0 -4
  40. package/component/date-picker/package.json +0 -4
  41. package/component/dialog/package.json +0 -4
  42. package/component/drawer/package.json +0 -4
  43. package/component/dropdown-menu/package.json +0 -4
  44. package/component/form/package.json +0 -4
  45. package/component/input/package.json +0 -4
  46. package/component/input-group/package.json +0 -4
  47. package/component/item/package.json +0 -4
  48. package/component/label/package.json +0 -4
  49. package/component/pagination/package.json +0 -4
  50. package/component/popover/package.json +0 -4
  51. package/component/progress/package.json +0 -4
  52. package/component/radio/package.json +0 -4
  53. package/component/scroll-area/package.json +0 -4
  54. package/component/select/package.json +0 -4
  55. package/component/separator/package.json +0 -4
  56. package/component/sheet/package.json +0 -4
  57. package/component/skeleton/package.json +0 -4
  58. package/component/slider/package.json +0 -4
  59. package/component/switch/package.json +0 -4
  60. package/component/table/package.json +0 -4
  61. package/component/tabs/package.json +0 -4
  62. package/component/textarea/package.json +0 -4
  63. package/component/toast/package.json +0 -4
  64. package/component/tooltip/package.json +0 -4
  65. package/component/utils/package.json +0 -4
  66. package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -174
  67. package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
  68. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -242
  69. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
  70. package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -90
  71. package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
  72. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -33
  73. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
  74. package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -123
  75. package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
  76. package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -47
  77. package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
  78. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -186
  79. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
  80. package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -95
  81. package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
  82. package/fesm2022/ojiepermana-angular-component-button.mjs +0 -64
  83. package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
  84. package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -78
  85. package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
  86. package/fesm2022/ojiepermana-angular-component-card.mjs +0 -137
  87. package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
  88. package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -310
  89. package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
  90. package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
  91. package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
  92. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
  93. package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
  94. package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
  95. package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
  96. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
  97. package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
  98. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
  99. package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
  100. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
  101. package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
  102. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
  103. package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
  104. package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3714
  105. package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
  106. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -104
  107. package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
  108. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -116
  109. package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
  110. package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -263
  111. package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
  112. package/fesm2022/ojiepermana-angular-component-command.mjs +0 -268
  113. package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
  114. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -100
  115. package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
  116. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -155
  117. package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
  118. package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -262
  119. package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
  120. package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
  121. package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
  122. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -458
  123. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
  124. package/fesm2022/ojiepermana-angular-component-form.mjs +0 -208
  125. package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
  126. package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -164
  127. package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
  128. package/fesm2022/ojiepermana-angular-component-input.mjs +0 -43
  129. package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
  130. package/fesm2022/ojiepermana-angular-component-item.mjs +0 -241
  131. package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
  132. package/fesm2022/ojiepermana-angular-component-label.mjs +0 -30
  133. package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
  134. package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -192
  135. package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
  136. package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -163
  137. package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
  138. package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -53
  139. package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
  140. package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -92
  141. package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
  142. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -48
  143. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
  144. package/fesm2022/ojiepermana-angular-component-select.mjs +0 -131
  145. package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
  146. package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -33
  147. package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
  148. package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -235
  149. package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
  150. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -29
  151. package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
  152. package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -29
  153. package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
  154. package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -84
  155. package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
  156. package/fesm2022/ojiepermana-angular-component-table.mjs +0 -139
  157. package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
  158. package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -252
  159. package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
  160. package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -37
  161. package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
  162. package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -47
  163. package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
  164. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -56
  165. package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
  166. package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
  167. package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
  168. package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
  169. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
  170. package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -581
  171. package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
  172. package/fesm2022/ojiepermana-angular-layout-empty.mjs +0 -49
  173. package/fesm2022/ojiepermana-angular-layout-empty.mjs.map +0 -1
  174. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs +0 -119
  175. package/fesm2022/ojiepermana-angular-layout-horizontal.mjs.map +0 -1
  176. package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
  177. package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
  178. package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -114
  179. package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
  180. package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
  181. package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
  182. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -27
  183. package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
  184. package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
  185. package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
  186. package/fesm2022/ojiepermana-angular-layout-vertical.mjs +0 -113
  187. package/fesm2022/ojiepermana-angular-layout-vertical.mjs.map +0 -1
  188. package/fesm2022/ojiepermana-angular-layout.mjs +0 -461
  189. package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
  190. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
  191. package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
  192. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -59
  193. package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
  194. package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -548
  195. package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
  196. package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -204
  197. package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
  198. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -373
  199. package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
  200. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -433
  201. package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
  202. package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
  203. package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
  204. package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
  205. package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
  206. package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -286
  207. package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
  208. package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
  209. package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
  210. package/fesm2022/ojiepermana-angular-theme.mjs +0 -382
  211. package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
  212. package/fesm2022/ojiepermana-angular.mjs +0 -22
  213. package/fesm2022/ojiepermana-angular.mjs.map +0 -1
  214. package/generator/api/README.md +0 -252
  215. package/generator/api/bin/package.json +0 -3
  216. package/generator/api/bin/schematics/init/index.js +0 -90
  217. package/generator/api/bin/schematics/ng-add/index.js +0 -131
  218. package/generator/api/bin/schematics/sdk/index.js +0 -76
  219. package/generator/api/bin/src/config/loader.js +0 -41
  220. package/generator/api/bin/src/config/schema.js +0 -57
  221. package/generator/api/bin/src/emit/client.js +0 -246
  222. package/generator/api/bin/src/emit/metadata.js +0 -295
  223. package/generator/api/bin/src/emit/models.js +0 -106
  224. package/generator/api/bin/src/emit/navigation.js +0 -56
  225. package/generator/api/bin/src/emit/operations.js +0 -122
  226. package/generator/api/bin/src/emit/public-api.js +0 -54
  227. package/generator/api/bin/src/emit/services.js +0 -87
  228. package/generator/api/bin/src/engine.js +0 -65
  229. package/generator/api/bin/src/layout/per-domain.js +0 -359
  230. package/generator/api/bin/src/parser/bundle.js +0 -25
  231. package/generator/api/bin/src/parser/ir.js +0 -320
  232. package/generator/api/bin/src/parser/types.js +0 -7
  233. package/generator/api/bin/src/render/template.js +0 -58
  234. package/generator/api/bin/src/writer/index.js +0 -278
  235. package/generator/api/package.json +0 -4
  236. package/generator/api/schematics/init/schema.json +0 -19
  237. package/generator/api/schematics/ng-add/schema.json +0 -14
  238. package/generator/api/schematics/sdk/schema.json +0 -19
  239. package/generator/api/sdk.config.example.json +0 -24
  240. package/generator/guide/README.md +0 -84
  241. package/generator/guide/bin/package.json +0 -3
  242. package/generator/guide/bin/schematics/build/index.js +0 -35
  243. package/generator/guide/bin/schematics/init/index.js +0 -70
  244. package/generator/guide/bin/src/config/loader.js +0 -50
  245. package/generator/guide/bin/src/config/schema.js +0 -12
  246. package/generator/guide/bin/src/engine/component.js +0 -74
  247. package/generator/guide/bin/src/engine/frontmatter.js +0 -42
  248. package/generator/guide/bin/src/engine/index.js +0 -42
  249. package/generator/guide/bin/src/engine/naming.js +0 -39
  250. package/generator/guide/bin/src/engine/render.js +0 -31
  251. package/generator/guide/bin/src/engine/routes.js +0 -106
  252. package/generator/guide/bin/src/engine/walk.js +0 -35
  253. package/generator/guide/guide.config.example.json +0 -9
  254. package/generator/guide/schematics/build/schema.json +0 -14
  255. package/generator/guide/schematics/init/schema.json +0 -19
  256. package/layout/component/package.json +0 -4
  257. package/layout/empty/package.json +0 -4
  258. package/layout/horizontal/package.json +0 -4
  259. package/layout/package.json +0 -4
  260. package/layout/provider/package.json +0 -4
  261. package/layout/services/package.json +0 -4
  262. package/layout/shell/package.json +0 -4
  263. package/layout/token/directive/package.json +0 -4
  264. package/layout/token/package.json +0 -4
  265. package/layout/vertical/package.json +0 -4
  266. package/navigation/demo-data/package.json +0 -4
  267. package/navigation/icon/package.json +0 -4
  268. package/navigation/item/package.json +0 -4
  269. package/navigation/service/package.json +0 -4
  270. package/navigation/sidebar/package.json +0 -4
  271. package/navigation/topbar/package.json +0 -4
  272. package/navigation/types/package.json +0 -4
  273. package/theme/README.md +0 -67
  274. package/theme/package.json +0 -4
  275. package/theme/provider/package.json +0 -4
  276. package/theme/services/package.json +0 -4
  277. package/theme/styles/foundation/components.css +0 -81
  278. package/theme/styles/foundation/layers.css +0 -15
  279. package/theme/styles/foundation/tokens.css +0 -55
  280. package/theme/styles/index.css +0 -37
  281. package/theme/styles/integrations/material.css +0 -254
  282. package/theme/styles/integrations/tailwind.css +0 -114
  283. package/theme/styles/variants/color/amber.css +0 -31
  284. package/theme/styles/variants/color/base.css +0 -36
  285. package/theme/styles/variants/color/blue.css +0 -31
  286. package/theme/styles/variants/color/cyan.css +0 -31
  287. package/theme/styles/variants/color/emerald.css +0 -31
  288. package/theme/styles/variants/color/fuchsia.css +0 -31
  289. package/theme/styles/variants/color/green.css +0 -31
  290. package/theme/styles/variants/color/index.css +0 -22
  291. package/theme/styles/variants/color/indigo.css +0 -31
  292. package/theme/styles/variants/color/lime.css +0 -31
  293. package/theme/styles/variants/color/orange.css +0 -31
  294. package/theme/styles/variants/color/pink.css +0 -31
  295. package/theme/styles/variants/color/purple.css +0 -31
  296. package/theme/styles/variants/color/red.css +0 -31
  297. package/theme/styles/variants/color/rose.css +0 -31
  298. package/theme/styles/variants/color/sky.css +0 -31
  299. package/theme/styles/variants/color/teal.css +0 -31
  300. package/theme/styles/variants/color/violet.css +0 -31
  301. package/theme/styles/variants/color/yellow.css +0 -31
  302. package/theme/styles/variants/mode/dark.css +0 -20
  303. package/theme/styles/variants/mode/index.css +0 -6
  304. package/theme/styles/variants/mode/light.css +0 -24
  305. package/theme/styles/variants/style/brutal.css +0 -50
  306. package/theme/styles/variants/style/default.css +0 -54
  307. package/theme/styles/variants/style/index.css +0 -8
  308. package/theme/styles/variants/style/sharp.css +0 -50
  309. package/theme/styles/variants/style/soft.css +0 -50
  310. package/theme/token/package.json +0 -4
  311. package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
  312. package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
  313. package/types/ojiepermana-angular-component-alert.d.ts +0 -37
  314. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
  315. package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
  316. package/types/ojiepermana-angular-component-badge.d.ts +0 -19
  317. package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
  318. package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
  319. package/types/ojiepermana-angular-component-button.d.ts +0 -22
  320. package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
  321. package/types/ojiepermana-angular-component-card.d.ts +0 -60
  322. package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
  323. package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
  324. package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
  325. package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
  326. package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
  327. package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
  328. package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
  329. package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
  330. package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
  331. package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
  332. package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
  333. package/types/ojiepermana-angular-component-combobox.d.ts +0 -51
  334. package/types/ojiepermana-angular-component-command.d.ts +0 -99
  335. package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
  336. package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
  337. package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
  338. package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
  339. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -135
  340. package/types/ojiepermana-angular-component-form.d.ts +0 -92
  341. package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
  342. package/types/ojiepermana-angular-component-input.d.ts +0 -16
  343. package/types/ojiepermana-angular-component-item.d.ts +0 -88
  344. package/types/ojiepermana-angular-component-label.d.ts +0 -11
  345. package/types/ojiepermana-angular-component-pagination.d.ts +0 -27
  346. package/types/ojiepermana-angular-component-popover.d.ts +0 -43
  347. package/types/ojiepermana-angular-component-progress.d.ts +0 -17
  348. package/types/ojiepermana-angular-component-radio.d.ts +0 -34
  349. package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
  350. package/types/ojiepermana-angular-component-select.d.ts +0 -45
  351. package/types/ojiepermana-angular-component-separator.d.ts +0 -14
  352. package/types/ojiepermana-angular-component-sheet.d.ts +0 -74
  353. package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
  354. package/types/ojiepermana-angular-component-slider.d.ts +0 -16
  355. package/types/ojiepermana-angular-component-switch.d.ts +0 -30
  356. package/types/ojiepermana-angular-component-table.d.ts +0 -52
  357. package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
  358. package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
  359. package/types/ojiepermana-angular-component-toast.d.ts +0 -29
  360. package/types/ojiepermana-angular-component-tooltip.d.ts +0 -22
  361. package/types/ojiepermana-angular-component-utils.d.ts +0 -5
  362. package/types/ojiepermana-angular-generator-api.d.ts +0 -86
  363. package/types/ojiepermana-angular-layout-component.d.ts +0 -205
  364. package/types/ojiepermana-angular-layout-empty.d.ts +0 -22
  365. package/types/ojiepermana-angular-layout-horizontal.d.ts +0 -36
  366. package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
  367. package/types/ojiepermana-angular-layout-services.d.ts +0 -25
  368. package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
  369. package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
  370. package/types/ojiepermana-angular-layout-token.d.ts +0 -36
  371. package/types/ojiepermana-angular-layout-vertical.d.ts +0 -38
  372. package/types/ojiepermana-angular-layout.d.ts +0 -164
  373. package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
  374. package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
  375. package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
  376. package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
  377. package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
  378. package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -54
  379. package/types/ojiepermana-angular-navigation-types.d.ts +0 -129
  380. package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
  381. package/types/ojiepermana-angular-theme-services.d.ts +0 -55
  382. package/types/ojiepermana-angular-theme-token.d.ts +0 -57
  383. package/types/ojiepermana-angular-theme.d.ts +0 -116
  384. package/types/ojiepermana-angular.d.ts +0 -3
@@ -0,0 +1,96 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { LayoutService } from '@edsis/ui/layout';
3
+ import { UiNavItem } from '@edsis/ui/nav';
4
+
5
+ declare class BlockShellComponent {
6
+ readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
7
+ readonly navbarId: _angular_core.InputSignal<string>;
8
+ readonly sidebarNavId: _angular_core.InputSignal<string>;
9
+ readonly shellName: _angular_core.InputSignal<string>;
10
+ readonly brandSubtitle: _angular_core.InputSignal<string>;
11
+ readonly logoText: _angular_core.InputSignal<string>;
12
+ readonly homePath: _angular_core.InputSignal<`/${string}`>;
13
+ readonly userName: _angular_core.InputSignal<string>;
14
+ readonly userPosition: _angular_core.InputSignal<string>;
15
+ readonly topAriaLabel: _angular_core.InputSignal<string>;
16
+ readonly sideAriaLabel: _angular_core.InputSignal<string>;
17
+ readonly contentAriaLabel: _angular_core.InputSignal<string>;
18
+ protected readonly layout: LayoutService;
19
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellComponent, never>;
20
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellComponent, "block-shell", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "topAriaLabel": { "alias": "topAriaLabel"; "required": false; "isSignal": true; }; "sideAriaLabel": { "alias": "sideAriaLabel"; "required": false; "isSignal": true; }; "contentAriaLabel": { "alias": "contentAriaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
+ }
22
+
23
+ declare class BlockShellLogoComponent {
24
+ readonly text: _angular_core.InputSignal<string>;
25
+ readonly homePath: _angular_core.InputSignal<`/${string}`>;
26
+ readonly ariaLabel: _angular_core.InputSignal<string>;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellLogoComponent, never>;
28
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellLogoComponent, "block-shell-logo", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
+ }
30
+
31
+ declare class BlockShellNavAvatarComponent {
32
+ readonly initials: _angular_core.InputSignal<string>;
33
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavAvatarComponent, never>;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavAvatarComponent, "block-shell-nav-avatar", never, { "initials": { "alias": "initials"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
35
+ }
36
+
37
+ declare class BlockShellNavFooterComponent {
38
+ readonly name: _angular_core.InputSignal<string>;
39
+ readonly subtitle: _angular_core.InputSignal<string>;
40
+ readonly initials: _angular_core.InputSignal<string | undefined>;
41
+ readonly collapsible: _angular_core.InputSignal<boolean>;
42
+ readonly desktopOnly: _angular_core.InputSignal<boolean>;
43
+ protected readonly resolvedInitials: _angular_core.Signal<string>;
44
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavFooterComponent, never>;
45
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavFooterComponent, "block-shell-nav-footer", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "desktopOnly": { "alias": "desktopOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
46
+ }
47
+
48
+ declare class BlockShellNavHeaderComponent {
49
+ readonly name: _angular_core.InputSignal<string>;
50
+ readonly subtitle: _angular_core.InputSignal<string>;
51
+ readonly logoText: _angular_core.InputSignal<string>;
52
+ readonly homePath: _angular_core.InputSignal<`/${string}`>;
53
+ readonly collapsible: _angular_core.InputSignal<boolean>;
54
+ protected readonly logoAriaLabel: _angular_core.Signal<string>;
55
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavHeaderComponent, never>;
56
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavHeaderComponent, "block-shell-nav-header", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
57
+ }
58
+
59
+ declare class BlockShellNavMetaComponent {
60
+ readonly name: _angular_core.InputSignal<string>;
61
+ readonly subtitle: _angular_core.InputSignal<string>;
62
+ readonly containerClass: _angular_core.InputSignal<string>;
63
+ readonly subtitleClass: _angular_core.InputSignal<string>;
64
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellNavMetaComponent, never>;
65
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellNavMetaComponent, "block-shell-nav-meta", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": true; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "subtitleClass": { "alias": "subtitleClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
66
+ }
67
+
68
+ declare class BlockShellSidebarNavComponent {
69
+ readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
70
+ readonly sidebarNavId: _angular_core.InputSignal<string>;
71
+ readonly shellName: _angular_core.InputSignal<string>;
72
+ readonly brandSubtitle: _angular_core.InputSignal<string>;
73
+ readonly logoText: _angular_core.InputSignal<string>;
74
+ readonly homePath: _angular_core.InputSignal<`/${string}`>;
75
+ readonly userName: _angular_core.InputSignal<string>;
76
+ readonly userPosition: _angular_core.InputSignal<string>;
77
+ readonly ariaLabel: _angular_core.InputSignal<string>;
78
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellSidebarNavComponent, never>;
79
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellSidebarNavComponent, "block-shell-sidebar-nav", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "sidebarNavId": { "alias": "sidebarNavId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
80
+ }
81
+
82
+ declare class BlockShellTopNavComponent {
83
+ readonly navigation: _angular_core.InputSignal<readonly UiNavItem[]>;
84
+ readonly navbarId: _angular_core.InputSignal<string>;
85
+ readonly shellName: _angular_core.InputSignal<string>;
86
+ readonly brandSubtitle: _angular_core.InputSignal<string>;
87
+ readonly logoText: _angular_core.InputSignal<string>;
88
+ readonly homePath: _angular_core.InputSignal<`/${string}`>;
89
+ readonly userName: _angular_core.InputSignal<string>;
90
+ readonly userPosition: _angular_core.InputSignal<string>;
91
+ readonly ariaLabel: _angular_core.InputSignal<string>;
92
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BlockShellTopNavComponent, never>;
93
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BlockShellTopNavComponent, "block-shell-top-nav", never, { "navigation": { "alias": "navigation"; "required": true; "isSignal": true; }; "navbarId": { "alias": "navbarId"; "required": false; "isSignal": true; }; "shellName": { "alias": "shellName"; "required": true; "isSignal": true; }; "brandSubtitle": { "alias": "brandSubtitle"; "required": false; "isSignal": true; }; "logoText": { "alias": "logoText"; "required": false; "isSignal": true; }; "homePath": { "alias": "homePath"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": true; "isSignal": true; }; "userPosition": { "alias": "userPosition"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
94
+ }
95
+
96
+ export { BlockShellComponent, BlockShellLogoComponent, BlockShellNavAvatarComponent, BlockShellNavFooterComponent, BlockShellNavHeaderComponent, BlockShellNavMetaComponent, BlockShellSidebarNavComponent, BlockShellTopNavComponent };
@@ -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
- }