@ojiepermana/angular 22.1.10 → 22.1.12

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 (340) hide show
  1. package/README.md +32 -26
  2. package/chart/README.md +272 -0
  3. package/component/README.md +89 -0
  4. package/component/accordion/README.md +195 -0
  5. package/component/alert/README.md +184 -0
  6. package/component/alert-dialog/README.md +255 -0
  7. package/component/aspect-ratio/README.md +116 -0
  8. package/component/avatar/README.md +182 -0
  9. package/component/badge/README.md +143 -0
  10. package/component/breadcrumb/README.md +223 -0
  11. package/component/button/README.md +141 -0
  12. package/component/button-group/README.md +214 -0
  13. package/component/calendar/README.md +137 -0
  14. package/component/card/README.md +232 -0
  15. package/component/carousel/README.md +276 -0
  16. package/component/checkbox/README.md +153 -0
  17. package/component/collapsible/README.md +216 -0
  18. package/component/combobox/README.md +202 -0
  19. package/component/command/README.md +287 -0
  20. package/component/composer/README.md +241 -0
  21. package/component/context-menu/README.md +268 -0
  22. package/component/date-picker/README.md +202 -0
  23. package/component/dialog/README.md +276 -0
  24. package/component/drawer/README.md +147 -0
  25. package/component/dropdown-menu/README.md +336 -0
  26. package/component/editor/README.md +152 -0
  27. package/component/empty/README.md +193 -0
  28. package/component/form/README.md +216 -0
  29. package/component/hover-card/README.md +150 -0
  30. package/component/icon/README.md +25 -0
  31. package/component/input/README.md +160 -0
  32. package/component/input-group/README.md +245 -0
  33. package/component/input-otp/README.md +331 -0
  34. package/component/item/README.md +254 -0
  35. package/component/kanban/README.md +81 -0
  36. package/component/kbd/README.md +141 -0
  37. package/component/label/README.md +137 -0
  38. package/component/menubar/README.md +270 -0
  39. package/component/native-select/README.md +176 -0
  40. package/component/navigation-menu/README.md +165 -0
  41. package/component/pagination/README.md +151 -0
  42. package/component/pillbox/README.md +68 -0
  43. package/component/popover/README.md +54 -0
  44. package/component/progress/README.md +160 -0
  45. package/component/radio/README.md +212 -0
  46. package/component/resizable/README.md +178 -0
  47. package/component/scroll-area/README.md +150 -0
  48. package/component/select/README.md +228 -0
  49. package/component/separator/README.md +175 -0
  50. package/component/sheet/README.md +190 -0
  51. package/component/skeleton/README.md +158 -0
  52. package/component/slider/README.md +207 -0
  53. package/component/spinner/README.md +160 -0
  54. package/component/switch/README.md +170 -0
  55. package/component/table/README.md +292 -0
  56. package/component/tabs/README.md +220 -0
  57. package/component/textarea/README.md +169 -0
  58. package/component/timeline/README.md +94 -0
  59. package/component/toast/README.md +173 -0
  60. package/component/toggle/README.md +133 -0
  61. package/component/toggle-group/README.md +234 -0
  62. package/component/tooltip/README.md +230 -0
  63. package/fesm2022/ojiepermana-angular-chart-area.mjs +289 -3
  64. package/fesm2022/ojiepermana-angular-chart-bar.mjs +722 -3
  65. package/fesm2022/ojiepermana-angular-chart-core.mjs +1482 -3
  66. package/fesm2022/ojiepermana-angular-chart-line.mjs +294 -3
  67. package/fesm2022/ojiepermana-angular-chart-pie.mjs +291 -3
  68. package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1301 -3
  69. package/fesm2022/ojiepermana-angular-chart-radar.mjs +421 -3
  70. package/fesm2022/ojiepermana-angular-chart-radial.mjs +295 -3
  71. package/fesm2022/ojiepermana-angular-chart-scatter.mjs +306 -3
  72. package/fesm2022/ojiepermana-angular-chart.mjs +12 -3
  73. package/fesm2022/ojiepermana-angular-component-accordion.mjs +267 -3
  74. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +359 -3
  75. package/fesm2022/ojiepermana-angular-component-alert.mjs +101 -3
  76. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +31 -3
  77. package/fesm2022/ojiepermana-angular-component-avatar.mjs +139 -3
  78. package/fesm2022/ojiepermana-angular-component-badge.mjs +57 -3
  79. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +192 -3
  80. package/fesm2022/ojiepermana-angular-component-button-group.mjs +95 -3
  81. package/fesm2022/ojiepermana-angular-component-button.mjs +73 -3
  82. package/fesm2022/ojiepermana-angular-component-calendar.mjs +718 -3
  83. package/fesm2022/ojiepermana-angular-component-card.mjs +167 -3
  84. package/fesm2022/ojiepermana-angular-component-carousel.mjs +326 -3
  85. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +190 -3
  86. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +117 -3
  87. package/fesm2022/ojiepermana-angular-component-combobox.mjs +327 -3
  88. package/fesm2022/ojiepermana-angular-component-command.mjs +351 -3
  89. package/fesm2022/ojiepermana-angular-component-composer.mjs +359 -3
  90. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +158 -3
  91. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +482 -3
  92. package/fesm2022/ojiepermana-angular-component-dialog.mjs +400 -3
  93. package/fesm2022/ojiepermana-angular-component-drawer.mjs +1 -3
  94. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +689 -3
  95. package/fesm2022/ojiepermana-angular-component-editor.mjs +511 -3
  96. package/fesm2022/ojiepermana-angular-component-empty.mjs +134 -3
  97. package/fesm2022/ojiepermana-angular-component-form.mjs +438 -3
  98. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +273 -3
  99. package/fesm2022/ojiepermana-angular-component-icon.mjs +139 -3
  100. package/fesm2022/ojiepermana-angular-component-input-group.mjs +176 -3
  101. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +550 -3
  102. package/fesm2022/ojiepermana-angular-component-input.mjs +52 -3
  103. package/fesm2022/ojiepermana-angular-component-item.mjs +264 -3
  104. package/fesm2022/ojiepermana-angular-component-kanban.mjs +310 -3
  105. package/fesm2022/ojiepermana-angular-component-kbd.mjs +48 -3
  106. package/fesm2022/ojiepermana-angular-component-label.mjs +27 -3
  107. package/fesm2022/ojiepermana-angular-component-menubar.mjs +327 -3
  108. package/fesm2022/ojiepermana-angular-component-native-select.mjs +62 -3
  109. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +378 -3
  110. package/fesm2022/ojiepermana-angular-component-pagination.mjs +238 -3
  111. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +999 -3
  112. package/fesm2022/ojiepermana-angular-component-popover.mjs +201 -3
  113. package/fesm2022/ojiepermana-angular-component-progress.mjs +57 -3
  114. package/fesm2022/ojiepermana-angular-component-radio.mjs +180 -3
  115. package/fesm2022/ojiepermana-angular-component-resizable.mjs +493 -3
  116. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +51 -3
  117. package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +227 -3
  118. package/fesm2022/ojiepermana-angular-component-select.mjs +609 -3
  119. package/fesm2022/ojiepermana-angular-component-separator.mjs +31 -3
  120. package/fesm2022/ojiepermana-angular-component-sheet.mjs +407 -3
  121. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +25 -3
  122. package/fesm2022/ojiepermana-angular-component-slider.mjs +456 -3
  123. package/fesm2022/ojiepermana-angular-component-spinner.mjs +56 -3
  124. package/fesm2022/ojiepermana-angular-component-switch.mjs +145 -3
  125. package/fesm2022/ojiepermana-angular-component-table.mjs +155 -3
  126. package/fesm2022/ojiepermana-angular-component-tabs.mjs +315 -3
  127. package/fesm2022/ojiepermana-angular-component-textarea.mjs +46 -3
  128. package/fesm2022/ojiepermana-angular-component-timeline.mjs +237 -3
  129. package/fesm2022/ojiepermana-angular-component-toast.mjs +241 -3
  130. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +290 -3
  131. package/fesm2022/ojiepermana-angular-component-toggle.mjs +76 -3
  132. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +519 -3
  133. package/fesm2022/ojiepermana-angular-component-utils-core.mjs +310 -3
  134. package/fesm2022/ojiepermana-angular-component-utils-overlay.mjs +62 -3
  135. package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +34 -3
  136. package/fesm2022/ojiepermana-angular-component-utils.mjs +3 -2
  137. package/fesm2022/ojiepermana-angular-component.mjs +4 -4
  138. package/fesm2022/ojiepermana-angular-navigation-core.mjs +21 -3
  139. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +20 -3
  140. package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-CDBxQ8rk.mjs +91 -0
  141. package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DBQHdvGa.mjs +512 -0
  142. package/fesm2022/ojiepermana-angular-navigation-navigation-entry-grid.component-Cd-jh6tg.mjs +623 -0
  143. package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BCGvhoYj.mjs +404 -0
  144. package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-Dk_03e-6.mjs +466 -0
  145. package/fesm2022/ojiepermana-angular-navigation-ojiepermana-angular-navigation-DNKU6viC.mjs +2642 -0
  146. package/fesm2022/ojiepermana-angular-navigation-service.mjs +725 -3
  147. package/fesm2022/ojiepermana-angular-navigation-types.mjs +65 -4
  148. package/fesm2022/ojiepermana-angular-navigation.mjs +4 -10
  149. package/fesm2022/ojiepermana-angular-sdk.mjs +204 -4
  150. package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +1387 -3
  151. package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +331 -3
  152. package/fesm2022/ojiepermana-angular-theme-layout-types.mjs +45 -4
  153. package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +1044 -3
  154. package/fesm2022/ojiepermana-angular-theme-layout.mjs +729 -3
  155. package/fesm2022/ojiepermana-angular-theme-page-core.mjs +381 -3
  156. package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +267 -3
  157. package/fesm2022/ojiepermana-angular-theme-page-root.mjs +361 -3
  158. package/fesm2022/ojiepermana-angular-theme-page-side.mjs +198 -3
  159. package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +110 -3
  160. package/fesm2022/ojiepermana-angular-theme-page.mjs +7 -2
  161. package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +338 -3
  162. package/fesm2022/ojiepermana-angular-theme-shell-types.mjs +160 -4
  163. package/fesm2022/ojiepermana-angular-theme-shell.mjs +811 -3
  164. package/fesm2022/ojiepermana-angular-theme-styles.mjs +783 -3
  165. package/fesm2022/ojiepermana-angular-theme.mjs +4 -4
  166. package/fesm2022/ojiepermana-angular.mjs +6 -11
  167. package/navigation/README.md +374 -0
  168. package/package.json +81 -20
  169. package/sdk/README.md +212 -0
  170. package/sdk/schematics/collection.json +20 -0
  171. package/sdk/schematics/init/index.js +83 -0
  172. package/sdk/schematics/init/schema.json +19 -0
  173. package/sdk/schematics/ng-add/index.js +147 -0
  174. package/sdk/schematics/ng-add/schema.json +14 -0
  175. package/sdk/schematics/package.json +3 -0
  176. package/sdk/schematics/sdk/index.js +175 -0
  177. package/sdk/schematics/sdk/schema.json +19 -0
  178. package/sdk/sdk.config.example.json +24 -0
  179. package/sdk/src/config/loader.js +43 -0
  180. package/sdk/src/config/schema.js +59 -0
  181. package/sdk/src/emit/client.js +251 -0
  182. package/sdk/src/emit/metadata.js +310 -0
  183. package/sdk/src/emit/models.js +104 -0
  184. package/sdk/src/emit/navigation.js +56 -0
  185. package/sdk/src/emit/operations.js +118 -0
  186. package/sdk/src/emit/public-api.js +54 -0
  187. package/sdk/src/emit/services.js +110 -0
  188. package/sdk/src/engine.js +67 -0
  189. package/sdk/src/layout/per-domain.js +360 -0
  190. package/sdk/src/package.json +3 -0
  191. package/sdk/src/parser/bundle.js +25 -0
  192. package/sdk/src/parser/ir.js +429 -0
  193. package/sdk/src/parser/types.js +7 -0
  194. package/sdk/src/render/template.js +152 -0
  195. package/sdk/src/writer/index.js +286 -0
  196. package/theme/README.md +126 -0
  197. package/theme/component/settings/README.md +135 -0
  198. package/theme/layout/README.md +539 -0
  199. package/theme/page/README.md +453 -0
  200. package/theme/shell/README.md +340 -0
  201. package/theme/styles/README.md +178 -0
  202. package/theme/styles/css/base/components.css +553 -0
  203. package/theme/styles/css/base/index.css +14 -0
  204. package/theme/styles/css/base/package.css +9 -0
  205. package/theme/styles/css/base/prefers-dark.css +86 -0
  206. package/theme/styles/css/base/print.css +62 -0
  207. package/theme/styles/css/base/status.css +38 -0
  208. package/theme/styles/css/base/tailwind.css +165 -0
  209. package/theme/styles/css/base/theme.css +373 -0
  210. package/theme/styles/css/base/tokens.css +361 -0
  211. package/theme/styles/css/color/amber.css +72 -0
  212. package/theme/styles/css/color/blue.css +72 -0
  213. package/theme/styles/css/color/brand.css +38 -0
  214. package/theme/styles/css/color/cyan.css +72 -0
  215. package/theme/styles/css/color/emerald.css +72 -0
  216. package/theme/styles/css/color/fuchsia.css +72 -0
  217. package/theme/styles/css/color/green.css +72 -0
  218. package/theme/styles/css/color/index.css +19 -0
  219. package/theme/styles/css/color/indigo.css +72 -0
  220. package/theme/styles/css/color/lime.css +72 -0
  221. package/theme/styles/css/color/orange.css +72 -0
  222. package/theme/styles/css/color/pink.css +72 -0
  223. package/theme/styles/css/color/purple.css +72 -0
  224. package/theme/styles/css/color/red.css +72 -0
  225. package/theme/styles/css/color/rose.css +72 -0
  226. package/theme/styles/css/color/sky.css +72 -0
  227. package/theme/styles/css/color/teal.css +72 -0
  228. package/theme/styles/css/color/violet.css +72 -0
  229. package/theme/styles/css/color/yellow.css +72 -0
  230. package/theme/styles/css/index.css +18 -0
  231. package/theme/styles/css/neutral/gray.css +63 -0
  232. package/theme/styles/css/neutral/index.css +11 -0
  233. package/theme/styles/css/neutral/mauve.css +63 -0
  234. package/theme/styles/css/neutral/mist.css +63 -0
  235. package/theme/styles/css/neutral/neutral.css +63 -0
  236. package/theme/styles/css/neutral/olive.css +63 -0
  237. package/theme/styles/css/neutral/slate.css +63 -0
  238. package/theme/styles/css/neutral/stone.css +63 -0
  239. package/theme/styles/css/neutral/taupe.css +63 -0
  240. package/theme/styles/css/neutral/zinc.css +63 -0
  241. package/theme/styles/css/radius/index.css +30 -0
  242. package/theme/styles/css/space/index.css +20 -0
  243. package/types/ojiepermana-angular-chart-area.d.ts +76 -1
  244. package/types/ojiepermana-angular-chart-bar.d.ts +201 -1
  245. package/types/ojiepermana-angular-chart-core.d.ts +811 -1
  246. package/types/ojiepermana-angular-chart-line.d.ts +75 -1
  247. package/types/ojiepermana-angular-chart-pie.d.ts +131 -1
  248. package/types/ojiepermana-angular-chart-primitives.d.ts +291 -1
  249. package/types/ojiepermana-angular-chart-radar.d.ts +116 -1
  250. package/types/ojiepermana-angular-chart-radial.d.ts +116 -1
  251. package/types/ojiepermana-angular-chart-scatter.d.ts +125 -1
  252. package/types/ojiepermana-angular-chart.d.ts +2 -1
  253. package/types/ojiepermana-angular-component-accordion.d.ts +85 -1
  254. package/types/ojiepermana-angular-component-alert-dialog.d.ts +140 -1
  255. package/types/ojiepermana-angular-component-alert.d.ts +42 -1
  256. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +12 -1
  257. package/types/ojiepermana-angular-component-avatar.d.ts +56 -1
  258. package/types/ojiepermana-angular-component-badge.d.ts +24 -1
  259. package/types/ojiepermana-angular-component-breadcrumb.d.ts +46 -1
  260. package/types/ojiepermana-angular-component-button-group.d.ts +26 -1
  261. package/types/ojiepermana-angular-component-button.d.ts +27 -1
  262. package/types/ojiepermana-angular-component-calendar.d.ts +111 -1
  263. package/types/ojiepermana-angular-component-card.d.ts +69 -1
  264. package/types/ojiepermana-angular-component-carousel.d.ts +86 -1
  265. package/types/ojiepermana-angular-component-checkbox.d.ts +42 -1
  266. package/types/ojiepermana-angular-component-collapsible.d.ts +42 -1
  267. package/types/ojiepermana-angular-component-combobox.d.ts +60 -1
  268. package/types/ojiepermana-angular-component-command.d.ts +130 -1
  269. package/types/ojiepermana-angular-component-composer.d.ts +90 -1
  270. package/types/ojiepermana-angular-component-context-menu.d.ts +54 -1
  271. package/types/ojiepermana-angular-component-date-picker.d.ts +109 -1
  272. package/types/ojiepermana-angular-component-dialog.d.ts +136 -1
  273. package/types/ojiepermana-angular-component-drawer.d.ts +1 -1
  274. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +248 -1
  275. package/types/ojiepermana-angular-component-editor.d.ts +135 -1
  276. package/types/ojiepermana-angular-component-empty.d.ts +50 -1
  277. package/types/ojiepermana-angular-component-form.d.ts +159 -1
  278. package/types/ojiepermana-angular-component-hover-card.d.ts +75 -1
  279. package/types/ojiepermana-angular-component-icon.d.ts +89 -1
  280. package/types/ojiepermana-angular-component-input-group.d.ts +51 -1
  281. package/types/ojiepermana-angular-component-input-otp.d.ts +155 -1
  282. package/types/ojiepermana-angular-component-input.d.ts +21 -1
  283. package/types/ojiepermana-angular-component-item.d.ts +93 -1
  284. package/types/ojiepermana-angular-component-kanban.d.ts +70 -1
  285. package/types/ojiepermana-angular-component-kbd.d.ts +16 -1
  286. package/types/ojiepermana-angular-component-label.d.ts +11 -1
  287. package/types/ojiepermana-angular-component-menubar.d.ts +93 -1
  288. package/types/ojiepermana-angular-component-native-select.d.ts +26 -1
  289. package/types/ojiepermana-angular-component-navigation-menu.d.ts +104 -1
  290. package/types/ojiepermana-angular-component-pagination.d.ts +33 -1
  291. package/types/ojiepermana-angular-component-pillbox.d.ts +222 -1
  292. package/types/ojiepermana-angular-component-popover.d.ts +66 -1
  293. package/types/ojiepermana-angular-component-progress.d.ts +17 -1
  294. package/types/ojiepermana-angular-component-radio.d.ts +60 -1
  295. package/types/ojiepermana-angular-component-resizable.d.ts +117 -1
  296. package/types/ojiepermana-angular-component-scroll-area.d.ts +19 -1
  297. package/types/ojiepermana-angular-component-segmented-control.d.ts +58 -1
  298. package/types/ojiepermana-angular-component-select.d.ts +122 -1
  299. package/types/ojiepermana-angular-component-separator.d.ts +14 -1
  300. package/types/ojiepermana-angular-component-sheet.d.ts +130 -1
  301. package/types/ojiepermana-angular-component-skeleton.d.ts +10 -1
  302. package/types/ojiepermana-angular-component-slider.d.ts +83 -1
  303. package/types/ojiepermana-angular-component-spinner.d.ts +13 -1
  304. package/types/ojiepermana-angular-component-switch.d.ts +44 -1
  305. package/types/ojiepermana-angular-component-table.d.ts +57 -1
  306. package/types/ojiepermana-angular-component-tabs.d.ts +124 -1
  307. package/types/ojiepermana-angular-component-textarea.d.ts +17 -1
  308. package/types/ojiepermana-angular-component-timeline.d.ts +64 -1
  309. package/types/ojiepermana-angular-component-toast.d.ts +64 -1
  310. package/types/ojiepermana-angular-component-toggle-group.d.ts +90 -1
  311. package/types/ojiepermana-angular-component-toggle.d.ts +25 -1
  312. package/types/ojiepermana-angular-component-tooltip.d.ts +143 -1
  313. package/types/ojiepermana-angular-component-utils-core.d.ts +184 -1
  314. package/types/ojiepermana-angular-component-utils-overlay.d.ts +21 -1
  315. package/types/ojiepermana-angular-component-utils-scale.d.ts +19 -1
  316. package/types/ojiepermana-angular-component-utils.d.ts +2 -1
  317. package/types/ojiepermana-angular-component.d.ts +2 -1
  318. package/types/ojiepermana-angular-navigation-core.d.ts +59 -1
  319. package/types/ojiepermana-angular-navigation-icon.d.ts +12 -1
  320. package/types/ojiepermana-angular-navigation-service.d.ts +116 -1
  321. package/types/ojiepermana-angular-navigation-types.d.ts +144 -1
  322. package/types/ojiepermana-angular-navigation.d.ts +507 -1
  323. package/types/ojiepermana-angular-sdk.d.ts +89 -1
  324. package/types/ojiepermana-angular-theme-component-settings.d.ts +154 -1
  325. package/types/ojiepermana-angular-theme-layout-services.d.ts +147 -1
  326. package/types/ojiepermana-angular-theme-layout-types.d.ts +40 -1
  327. package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +299 -1
  328. package/types/ojiepermana-angular-theme-layout.d.ts +129 -1
  329. package/types/ojiepermana-angular-theme-page-core.d.ts +157 -1
  330. package/types/ojiepermana-angular-theme-page-filter.d.ts +77 -1
  331. package/types/ojiepermana-angular-theme-page-root.d.ts +88 -1
  332. package/types/ojiepermana-angular-theme-page-side.d.ts +50 -1
  333. package/types/ojiepermana-angular-theme-page-slots.d.ts +40 -1
  334. package/types/ojiepermana-angular-theme-page.d.ts +5 -1
  335. package/types/ojiepermana-angular-theme-shell-services.d.ts +193 -1
  336. package/types/ojiepermana-angular-theme-shell-types.d.ts +105 -1
  337. package/types/ojiepermana-angular-theme-shell.d.ts +100 -1
  338. package/types/ojiepermana-angular-theme-styles.d.ts +319 -1
  339. package/types/ojiepermana-angular-theme.d.ts +2 -1
  340. package/types/ojiepermana-angular.d.ts +5 -5
@@ -1 +1,116 @@
1
- export * from '@ojiepermana/angular-chart/radial';
1
+ import * as _ojiepermana_angular_chart_core from '@ojiepermana/angular/chart/core';
2
+ import { ChartDatum, ChartPointClickEvent, ChartMargin } from '@ojiepermana/angular/chart/core';
3
+ import * as _ojiepermana_angular_chart_radial from '@ojiepermana/angular/chart/radial';
4
+ import * as _angular_core from '@angular/core';
5
+
6
+ interface RadialLayoutInput {
7
+ readonly data: readonly ChartDatum[];
8
+ readonly nameKey: string;
9
+ readonly valueKey: string;
10
+ readonly innerWidth: number;
11
+ readonly innerHeight: number;
12
+ /** Optional explicit series-key list (same length as data). */
13
+ readonly seriesKeys?: readonly string[];
14
+ /**
15
+ * Series keys the legend has toggled off. Their tracks are dropped and the
16
+ * remaining ones share the radius; the value scale is unaffected, so a track
17
+ * that stays keeps the sweep it had.
18
+ */
19
+ readonly hiddenSeriesKeys?: ReadonlySet<string>;
20
+ /** Gap between concentric tracks (px). */
21
+ readonly trackPadding: number;
22
+ /** Start / end angle (radians). */
23
+ readonly startAngle: number;
24
+ readonly endAngle: number;
25
+ readonly cornerRadius: number;
26
+ readonly maxValue?: number;
27
+ }
28
+ interface RadialBarRect {
29
+ readonly seriesKey: string;
30
+ readonly name: string;
31
+ readonly value: number;
32
+ readonly datumIndex: number;
33
+ readonly color: string;
34
+ readonly arcPath: string;
35
+ readonly backgroundPath: string;
36
+ readonly innerRadius: number;
37
+ readonly outerRadius: number;
38
+ readonly endAngle: number;
39
+ }
40
+ interface RadialLayout {
41
+ readonly centerX: number;
42
+ readonly centerY: number;
43
+ readonly outerRadius: number;
44
+ readonly bars: readonly RadialBarRect[];
45
+ readonly maxValue: number;
46
+ }
47
+ declare function computeRadialLayout(input: RadialLayoutInput): RadialLayout;
48
+
49
+ type RadialValueLabelFormatter = (value: number, name: string) => string;
50
+ /**
51
+ * @deprecated Use `ChartPointClickEvent` from
52
+ * `@ojiepermana/angular/chart/core`. `name` is superseded by `category`, which
53
+ * carries the same value; `name` is still emitted so existing handlers keep
54
+ * working.
55
+ */
56
+ type RadialBarClickEvent = ChartPointClickEvent & {
57
+ /** @deprecated Use `category`. */
58
+ readonly name: string;
59
+ };
60
+ declare class RadialChart {
61
+ private readonly root;
62
+ private readonly themeRadius;
63
+ readonly data: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
64
+ readonly nameKey: _angular_core.InputSignal<string>;
65
+ readonly valueKey: _angular_core.InputSignal<string>;
66
+ readonly seriesKeys: _angular_core.InputSignal<readonly string[] | undefined>;
67
+ /**
68
+ * Presentational style of the chart.
69
+ *
70
+ * Replaces `styles`, which read like a CSS styles bag rather than a single
71
+ * variant. Named `styleVariant` and not `variant` because `ChartBar` already
72
+ * publishes a `variant` input for its grouped versus stacked axis, and one
73
+ * name cannot mean two things across the family.
74
+ */
75
+ readonly styleVariant: _angular_core.InputSignal<"base" | undefined>;
76
+ /**
77
+ * @deprecated Use `styleVariant`. Still fully supported; when both are bound,
78
+ * `styleVariant` wins. Due for removal in the next major.
79
+ */
80
+ readonly styles: _angular_core.InputSignal<"base">;
81
+ /** The style actually in effect. Bind this, never `styles()`. */
82
+ protected readonly chartStyle: _angular_core.Signal<"base">;
83
+ private readonly themeSpace;
84
+ /**
85
+ * Plot gutters. Leave it unset and they follow the theme-space density
86
+ * axis; set it and your numbers win, unchanged, whatever the axis says.
87
+ */
88
+ readonly margin: _angular_core.InputSignal<ChartMargin | null>;
89
+ /** The margin actually in effect. Bind this, never `margin()`. */
90
+ protected readonly plotMargin: _angular_core.Signal<ChartMargin>;
91
+ readonly trackPadding: _angular_core.InputSignal<number>;
92
+ readonly cornerRadius: _angular_core.InputSignal<number | null>;
93
+ readonly startAngle: _angular_core.InputSignal<number>;
94
+ readonly endAngle: _angular_core.InputSignal<number>;
95
+ readonly maxValue: _angular_core.InputSignal<number | undefined>;
96
+ readonly showTrack: _angular_core.InputSignal<boolean>;
97
+ readonly showValueLabels: _angular_core.InputSignal<boolean>;
98
+ readonly valueLabelFormat: _angular_core.InputSignal<RadialValueLabelFormatter>;
99
+ readonly barClick: _angular_core.OutputEmitterRef<RadialBarClickEvent>;
100
+ protected readonly resolvedCornerRadius: _angular_core.Signal<number>;
101
+ protected readonly polar: _ojiepermana_angular_chart_core.PolarChartSetup;
102
+ protected readonly layout: _angular_core.Signal<_ojiepermana_angular_chart_radial.RadialLayout>;
103
+ protected readonly ariaSummary: _angular_core.Signal<string>;
104
+ protected readonly dataColumns: _angular_core.Signal<string[]>;
105
+ protected barAriaLabel(b: RadialBarRect): string;
106
+ protected formatValueLabel(b: RadialBarRect): string;
107
+ protected barLabelX(b: RadialBarRect): number;
108
+ protected barLabelY(b: RadialBarRect): number;
109
+ protected barLabelAnchor(b: RadialBarRect): 'start' | 'end';
110
+ protected emitClick(b: RadialBarRect): void;
111
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadialChart, never>;
112
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadialChart, "ChartRadial", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "nameKey": { "alias": "nameKey"; "required": true; "isSignal": true; }; "valueKey": { "alias": "valueKey"; "required": true; "isSignal": true; }; "seriesKeys": { "alias": "seriesKeys"; "required": false; "isSignal": true; }; "styleVariant": { "alias": "styleVariant"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "trackPadding": { "alias": "trackPadding"; "required": false; "isSignal": true; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; "isSignal": true; }; "startAngle": { "alias": "startAngle"; "required": false; "isSignal": true; }; "endAngle": { "alias": "endAngle"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "showTrack": { "alias": "showTrack"; "required": false; "isSignal": true; }; "showValueLabels": { "alias": "showValueLabels"; "required": false; "isSignal": true; }; "valueLabelFormat": { "alias": "valueLabelFormat"; "required": false; "isSignal": true; }; }, { "barClick": "barClick"; }, never, ["ChartRadialCenter", "ChartTooltip", "ChartLegend"], true, never>;
113
+ }
114
+
115
+ export { RadialChart, computeRadialLayout };
116
+ export type { RadialBarClickEvent, RadialBarRect, RadialLayout, RadialLayoutInput, RadialValueLabelFormatter };
@@ -1 +1,125 @@
1
- export * from '@ojiepermana/angular-chart/scatter';
1
+ import { ScaleLinear } from 'd3-scale';
2
+ import * as _ojiepermana_angular_chart_core from '@ojiepermana/angular/chart/core';
3
+ import { NumericDomain, ChartDatum, ChartMargin, ChartPointClickEvent } from '@ojiepermana/angular/chart/core';
4
+ import * as _ojiepermana_angular_chart_scatter from '@ojiepermana/angular/chart/scatter';
5
+ import * as _angular_core from '@angular/core';
6
+
7
+ interface ScatterLayoutInput {
8
+ readonly data: readonly ChartDatum[];
9
+ readonly xKey: string;
10
+ readonly yKey: string;
11
+ readonly sizeKey?: string;
12
+ readonly seriesKey?: string;
13
+ readonly seriesKeys: readonly string[];
14
+ readonly innerWidth: number;
15
+ readonly innerHeight: number;
16
+ readonly minPointRadius: number;
17
+ readonly maxPointRadius: number;
18
+ readonly xDomain?: readonly [number, number];
19
+ readonly yDomain?: readonly [number, number];
20
+ }
21
+ interface ScatterPoint {
22
+ readonly seriesKey: string;
23
+ readonly color: string;
24
+ readonly x: number;
25
+ readonly y: number;
26
+ readonly radius: number;
27
+ readonly datumIndex: number;
28
+ readonly rawX: number;
29
+ readonly rawY: number;
30
+ readonly rawSize: number;
31
+ }
32
+ interface ScatterLayout {
33
+ readonly points: readonly ScatterPoint[];
34
+ readonly xScale: ScaleLinear<number, number>;
35
+ readonly yScale: ScaleLinear<number, number>;
36
+ readonly xDomain: NumericDomain;
37
+ readonly yDomain: NumericDomain;
38
+ }
39
+ declare function resolveScatterDomains(input: Pick<ScatterLayoutInput, 'data' | 'xKey' | 'yKey' | 'xDomain' | 'yDomain'>): {
40
+ xDomain: NumericDomain;
41
+ yDomain: NumericDomain;
42
+ };
43
+ declare function computeScatterLayout(input: ScatterLayoutInput): ScatterLayout;
44
+
45
+ /**
46
+ * @deprecated Use `ChartPointClickEvent` from `@ojiepermana/angular/chart/core`.
47
+ * `x` and `y` stay scatter-only and are still emitted; the shared `category` and
48
+ * `value` carry the same pair (`category` is the x value as text, `value` is y).
49
+ */
50
+ type ScatterPointClickEvent = ChartPointClickEvent & {
51
+ /** Raw x value. Also surfaced as `category`. */
52
+ readonly x: number;
53
+ /** Raw y value. Also surfaced as `value`. */
54
+ readonly y: number;
55
+ };
56
+ /**
57
+ * Scatter chart — one dot per datum. Both axes are linear; color can
58
+ * come from a fixed series key or per-row via `seriesKey` field. Point
59
+ * radius optionally scales with `sizeKey`.
60
+ */
61
+ declare class ScatterChart {
62
+ private readonly root;
63
+ private readonly viewport;
64
+ readonly data: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
65
+ readonly xKey: _angular_core.InputSignal<string>;
66
+ readonly yKey: _angular_core.InputSignal<string>;
67
+ /** Optional numeric field to drive point radius. */
68
+ readonly sizeKey: _angular_core.InputSignal<string | undefined>;
69
+ /** Optional field on each datum used as color key. */
70
+ readonly seriesKey: _angular_core.InputSignal<string | undefined>;
71
+ /**
72
+ * Presentational style of the chart.
73
+ *
74
+ * Replaces `styles`, which read like a CSS styles bag rather than a single
75
+ * variant. Named `styleVariant` and not `variant` because `ChartBar` already
76
+ * publishes a `variant` input for its grouped versus stacked axis, and one
77
+ * name cannot mean two things across the family.
78
+ */
79
+ readonly styleVariant: _angular_core.InputSignal<"base" | undefined>;
80
+ /**
81
+ * @deprecated Use `styleVariant`. Still fully supported; when both are bound,
82
+ * `styleVariant` wins. Due for removal in the next major.
83
+ */
84
+ readonly styles: _angular_core.InputSignal<"base">;
85
+ /** The style actually in effect. Bind this, never `styles()`. */
86
+ protected readonly chartStyle: _angular_core.Signal<"base">;
87
+ private readonly themeSpace;
88
+ /**
89
+ * Plot gutters. Leave it unset and they follow the theme-space density
90
+ * axis; set it and your numbers win, unchanged, whatever the axis says.
91
+ */
92
+ readonly margin: _angular_core.InputSignal<ChartMargin | null>;
93
+ /** The margin actually in effect. Bind this, never `margin()`. */
94
+ protected readonly plotMargin: _angular_core.Signal<ChartMargin>;
95
+ readonly minPointRadius: _angular_core.InputSignal<number>;
96
+ readonly maxPointRadius: _angular_core.InputSignal<number>;
97
+ readonly xDomain: _angular_core.InputSignal<readonly [number, number] | undefined>;
98
+ readonly yDomain: _angular_core.InputSignal<readonly [number, number] | undefined>;
99
+ readonly pointClick: _angular_core.OutputEmitterRef<ScatterPointClickEvent>;
100
+ /**
101
+ * The shared cartesian scaffolding. Scatter uses the geometry, the layout
102
+ * effect, and the click plus active-point plus aria-label handlers; it has no
103
+ * `CartesianContext` of its own (it publishes to a `ScatterViewportContext`
104
+ * instead) and no index window, so it passes neither `cartesian` nor
105
+ * `viewport`.
106
+ *
107
+ * Declared before `layout` because the layout computed reads its geometry.
108
+ */
109
+ protected readonly cx: _ojiepermana_angular_chart_core.CartesianChartSetup<ScatterPoint>;
110
+ protected readonly resolvedDomains: _angular_core.Signal<{
111
+ xDomain: _ojiepermana_angular_chart_core.NumericDomain;
112
+ yDomain: _ojiepermana_angular_chart_core.NumericDomain;
113
+ }>;
114
+ protected readonly currentXDomain: _angular_core.Signal<_ojiepermana_angular_chart_core.NumericDomain>;
115
+ protected readonly currentYDomain: _angular_core.Signal<_ojiepermana_angular_chart_core.NumericDomain>;
116
+ protected readonly layout: _angular_core.Signal<_ojiepermana_angular_chart_scatter.ScatterLayout>;
117
+ protected readonly clipPathId: _angular_core.Signal<string>;
118
+ protected readonly ariaSummary: _angular_core.Signal<string>;
119
+ protected readonly dataColumns: _angular_core.Signal<string[]>;
120
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChart, never>;
121
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChart, "ChartScatter", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "xKey": { "alias": "xKey"; "required": true; "isSignal": true; }; "yKey": { "alias": "yKey"; "required": true; "isSignal": true; }; "sizeKey": { "alias": "sizeKey"; "required": false; "isSignal": true; }; "seriesKey": { "alias": "seriesKey"; "required": false; "isSignal": true; }; "styleVariant": { "alias": "styleVariant"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "minPointRadius": { "alias": "minPointRadius"; "required": false; "isSignal": true; }; "maxPointRadius": { "alias": "maxPointRadius"; "required": false; "isSignal": true; }; "xDomain": { "alias": "xDomain"; "required": false; "isSignal": true; }; "yDomain": { "alias": "yDomain"; "required": false; "isSignal": true; }; }, { "pointClick": "pointClick"; }, never, ["svg:g[ChartBrush]", "ChartTooltip", "ChartLegend", "ChartZoomControls"], true, never>;
122
+ }
123
+
124
+ export { ScatterChart, computeScatterLayout, resolveScatterDomains };
125
+ export type { ScatterLayout, ScatterLayoutInput, ScatterPoint, ScatterPointClickEvent };
@@ -1 +1,2 @@
1
- export * from '@ojiepermana/angular-chart';
1
+ export { AreaLayoutInput, AreaLayoutResult, CHART_DATA_ATTRIBUTE, CHART_THEMES, CartesianBase, CartesianChartOptions, CartesianChartSetup, CartesianContext, CartesianMark, CategoricalViewportContext, CategoryScale, ChartActivePoint, ChartConfig, ChartContainer, ChartContext, ChartDatum, ChartDimensions, ChartIndexRange, ChartMargin, ChartOrientation, ChartPointClickEvent, ChartSeriesConfig, ChartStyle, ChartStyleVariant, ChartThemeKey, ChartTick, ClientPoint, DEFAULT_CARTESIAN_MARGIN, DEFAULT_POLAR_MARGIN, DEFAULT_RADAR_MARGIN, LineCurve, LineLayoutResult, LinePoint, LineSeriesPath, NumericDomain, ScatterViewportContext, ValueScale, bandTicks, buildCartesianScales, buildChartCss, cloneLinear, computeAreaLayout, computeLineLayout, effectiveIndexRange, elementClientCenter, escapeCssIdent, indexRangeSize, isSafeCssColorValue, linearTicks, nearestCategoryIndex, normalizeIndexRange, normalizeNumericDomain, panIndexRange, panNumericDomain, pointToBandAdapter, provideCartesianFromLineLayout, resolveChartStyle, resolveSeriesColor, seriesColorVar, setupCartesianChart, sliceByIndexRange, xScale, yScale, zoomIndexRange, zoomNumericDomain } from '@ojiepermana/angular/chart/core';
2
+ export { ChartAxisX, ChartAxisY, ChartBrush, ChartCrosshair, ChartGrid, ChartLegend, ChartPointerTracker, ChartTooltip, ChartTooltipIndicator, ChartTooltipLabelFormatter, ChartTooltipPayload, ChartTooltipRow, ChartTooltipValueFormatter, ChartZoomControls, PieCenter, RadialCenter } from '@ojiepermana/angular/chart/primitives';
@@ -1 +1,85 @@
1
- export * from '@ojiepermana/angular-component/accordion';
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit, OnDestroy } from '@angular/core';
3
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
4
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
5
+
6
+ type AccordionType = 'single' | 'multiple';
7
+ declare abstract class AccordionContextBase {
8
+ abstract isOpen(value: string): boolean;
9
+ abstract toggle(value: string): void;
10
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionContextBase, never>;
11
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionContextBase, never, never, {}, {}, never, never, true, never>;
12
+ }
13
+ declare class AccordionComponent extends AccordionContextBase {
14
+ protected readonly componentScale: ComponentScaleDirective;
15
+ readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
16
+ readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
17
+ readonly type: _angular_core.InputSignal<AccordionType>;
18
+ readonly collapsible: _angular_core.InputSignal<boolean>;
19
+ readonly value: _angular_core.ModelSignal<string | string[] | null>;
20
+ readonly class: _angular_core.InputSignal<string>;
21
+ protected readonly classes: _angular_core.Signal<string>;
22
+ private readonly openSet;
23
+ isOpen(value: string): boolean;
24
+ /**
25
+ * Header elements, so arrow keys can move between them.
26
+ *
27
+ * Kept as a set of elements rather than an ordered list: registration order
28
+ * follows creation order, which is not the reading order once items are added,
29
+ * removed, or reordered. {@link orderedTriggers} sorts by document position so
30
+ * the keyboard always follows what the user sees.
31
+ */
32
+ private readonly triggers;
33
+ registerTrigger(element: HTMLElement): void;
34
+ unregisterTrigger(element: HTMLElement): void;
35
+ /** Move focus between headers, wrapping around, the way Tabs does. */
36
+ moveTriggerFocus(from: HTMLElement, offset: number): void;
37
+ focusFirstTrigger(): void;
38
+ focusLastTrigger(): void;
39
+ private orderedTriggers;
40
+ toggle(value: string): void;
41
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
42
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "Accordion", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
43
+ }
44
+ declare class AccordionItemComponent {
45
+ protected readonly ctx: AccordionContextBase;
46
+ readonly value: _angular_core.InputSignal<string>;
47
+ readonly disabled: _angular_core.InputSignal<boolean>;
48
+ readonly class: _angular_core.InputSignal<string>;
49
+ readonly triggerId: string;
50
+ readonly contentId: string;
51
+ protected readonly classes: _angular_core.Signal<string>;
52
+ readonly open: _angular_core.Signal<boolean>;
53
+ toggle(): void;
54
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
55
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "AccordionItem", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
56
+ }
57
+ declare class AccordionTriggerComponent implements OnInit, OnDestroy {
58
+ protected readonly item: AccordionItemComponent;
59
+ private readonly accordion;
60
+ private readonly el;
61
+ readonly class: _angular_core.InputSignal<string>;
62
+ protected readonly classes: _angular_core.Signal<string>;
63
+ ngOnInit(): void;
64
+ ngOnDestroy(): void;
65
+ /**
66
+ * Arrow keys move focus between headers; they never open or close a section.
67
+ * Enter and Space still do the toggling, which is the accordion pattern and
68
+ * matches how Tabs moves between its triggers.
69
+ */
70
+ protected onArrow(event: KeyboardEvent, offset: number): void;
71
+ protected onHome(event: KeyboardEvent): void;
72
+ protected onEnd(event: KeyboardEvent): void;
73
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionTriggerComponent, never>;
74
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionTriggerComponent, "button[AccordionTrigger]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
75
+ }
76
+ declare class AccordionContentComponent {
77
+ protected readonly item: AccordionItemComponent;
78
+ readonly class: _angular_core.InputSignal<string>;
79
+ protected readonly classes: _angular_core.Signal<string>;
80
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionContentComponent, never>;
81
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionContentComponent, "AccordionContent", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
82
+ }
83
+
84
+ export { AccordionComponent, AccordionContentComponent, AccordionContextBase, AccordionItemComponent, AccordionTriggerComponent };
85
+ export type { AccordionType };
@@ -1 +1,140 @@
1
- export * from '@ojiepermana/angular-component/alert-dialog';
1
+ import * as _angular_core from '@angular/core';
2
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
3
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
4
+ import { DialogBackdrop } from '@ojiepermana/angular/component/dialog';
5
+ import { ButtonVariant, ButtonSize } from '@ojiepermana/angular/component/button';
6
+
7
+ type AlertDialogSize = 'default' | 'sm';
8
+
9
+ /**
10
+ * Confirmation dialog with `role="alertdialog"`.
11
+ *
12
+ * For the accessible name/description to wire up automatically, project the
13
+ * matching `AlertDialogTitle` / `AlertDialogDescription` parts (they register
14
+ * their ids with this component). Plain `DialogTitle` / `DialogDescription` will
15
+ * not auto-wire here — pass `aria-labelledby` / `aria-describedby` explicitly if
16
+ * you use custom markup.
17
+ */
18
+ declare class AlertDialogComponent {
19
+ protected readonly componentScale: ComponentScaleDirective;
20
+ readonly radius: _angular_core.InputSignal<"sm" | "inherit" | "none" | "xs" | "md" | "xl" | "full">;
21
+ readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
22
+ readonly open: _angular_core.ModelSignal<boolean>;
23
+ readonly closeOnEscape: _angular_core.InputSignal<boolean>;
24
+ readonly closeOnBackdropClick: _angular_core.InputSignal<boolean>;
25
+ /** Appearance of the area outside the surface. Defaults to a dimmed overlay. */
26
+ readonly backdrop: _angular_core.InputSignal<DialogBackdrop>;
27
+ readonly showCloseButton: _angular_core.InputSignal<boolean>;
28
+ readonly closeButtonLabel: _angular_core.InputSignal<string>;
29
+ readonly labelledBy: _angular_core.InputSignal<string | null>;
30
+ readonly describedBy: _angular_core.InputSignal<string | null>;
31
+ /** ARIA role passed to the underlying dialog surface. `'alertdialog'` by default. */
32
+ readonly role: _angular_core.InputSignal<string>;
33
+ readonly class: _angular_core.InputSignal<string>;
34
+ readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
35
+ private readonly contentSize;
36
+ private readonly registeredTitleId;
37
+ private readonly registeredDescriptionId;
38
+ readonly resolvedSize: _angular_core.Signal<AlertDialogSize>;
39
+ protected readonly surfaceClasses: _angular_core.Signal<string>;
40
+ /** Explicit `aria-labelledby` wins; otherwise a projected `AlertDialogTitle` supplies the id. */
41
+ protected readonly resolvedLabelledBy: _angular_core.Signal<string | null>;
42
+ /** Explicit `aria-describedby` wins; otherwise a projected `AlertDialogDescription` supplies the id. */
43
+ protected readonly resolvedDescribedBy: _angular_core.Signal<string | null>;
44
+ setContentSize(size: AlertDialogSize): void;
45
+ /** Called by a projected `AlertDialogTitle` so default usage has an accessible name (AXE-safe). */
46
+ registerTitleId(id: string | null): void;
47
+ /** Cleared by an `AlertDialogTitle` on destroy so a reopened alert never points at a stale id. */
48
+ unregisterTitleId(id: string): void;
49
+ /** Called by a projected `AlertDialogDescription`. */
50
+ registerDescriptionId(id: string | null): void;
51
+ /** Cleared by an `AlertDialogDescription` on destroy. */
52
+ unregisterDescriptionId(id: string): void;
53
+ close(): void;
54
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
55
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogComponent, "AlertDialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
56
+ }
57
+
58
+ declare class AlertDialogContentComponent {
59
+ readonly size: _angular_core.InputSignal<AlertDialogSize>;
60
+ readonly class: _angular_core.InputSignal<string>;
61
+ private readonly alertDialog;
62
+ protected readonly classes: _angular_core.Signal<string>;
63
+ constructor();
64
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogContentComponent, never>;
65
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogContentComponent, "AlertDialogContent", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
66
+ }
67
+ declare class AlertDialogHeaderComponent {
68
+ readonly class: _angular_core.InputSignal<string>;
69
+ protected readonly classes: _angular_core.Signal<string>;
70
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogHeaderComponent, never>;
71
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogHeaderComponent, "AlertDialogHeader", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
72
+ }
73
+ declare class AlertDialogTitleComponent {
74
+ /** Explicit id override; when omitted a document-unique id is generated. */
75
+ readonly id: _angular_core.InputSignal<string | null>;
76
+ readonly class: _angular_core.InputSignal<string>;
77
+ private readonly autoId;
78
+ private readonly alertDialog;
79
+ /** The id rendered on the element, used by the parent alert dialog for aria-labelledby. */
80
+ readonly resolvedId: _angular_core.Signal<string>;
81
+ protected readonly classes: _angular_core.Signal<string>;
82
+ constructor();
83
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogTitleComponent, never>;
84
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogTitleComponent, "AlertDialogTitle, h2[AlertDialogTitle]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
85
+ }
86
+ declare class AlertDialogDescriptionComponent {
87
+ /** Explicit id override; when omitted a document-unique id is generated. */
88
+ readonly id: _angular_core.InputSignal<string | null>;
89
+ readonly class: _angular_core.InputSignal<string>;
90
+ private readonly autoId;
91
+ private readonly alertDialog;
92
+ /** The id rendered on the element, used by the parent alert dialog for aria-describedby. */
93
+ readonly resolvedId: _angular_core.Signal<string>;
94
+ protected readonly classes: _angular_core.Signal<string>;
95
+ constructor();
96
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogDescriptionComponent, never>;
97
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogDescriptionComponent, "AlertDialogDescription, p[AlertDialogDescription]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
98
+ }
99
+ declare class AlertDialogMediaComponent {
100
+ readonly class: _angular_core.InputSignal<string>;
101
+ private readonly alertDialog;
102
+ protected readonly classes: _angular_core.Signal<string>;
103
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogMediaComponent, never>;
104
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogMediaComponent, "AlertDialogMedia", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
105
+ }
106
+ declare class AlertDialogFooterComponent {
107
+ readonly class: _angular_core.InputSignal<string>;
108
+ protected readonly classes: _angular_core.Signal<string>;
109
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogFooterComponent, never>;
110
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogFooterComponent, "AlertDialogFooter", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
111
+ }
112
+ declare class AlertDialogCancelComponent {
113
+ readonly variant: _angular_core.InputSignal<ButtonVariant>;
114
+ readonly size: _angular_core.InputSignal<ButtonSize>;
115
+ readonly closeOnClick: _angular_core.InputSignal<boolean>;
116
+ readonly class: _angular_core.InputSignal<string>;
117
+ private readonly host;
118
+ private readonly alertDialog;
119
+ protected readonly classes: _angular_core.Signal<string>;
120
+ protected readonly buttonType: _angular_core.Signal<"button" | null>;
121
+ protected handleClick(): void;
122
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogCancelComponent, never>;
123
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogCancelComponent, "button[AlertDialogCancel], a[AlertDialogCancel]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
124
+ }
125
+ declare class AlertDialogActionComponent {
126
+ readonly variant: _angular_core.InputSignal<ButtonVariant>;
127
+ readonly size: _angular_core.InputSignal<ButtonSize>;
128
+ readonly closeOnClick: _angular_core.InputSignal<boolean>;
129
+ readonly class: _angular_core.InputSignal<string>;
130
+ private readonly host;
131
+ private readonly alertDialog;
132
+ protected readonly classes: _angular_core.Signal<string>;
133
+ protected readonly buttonType: _angular_core.Signal<"button" | null>;
134
+ protected handleClick(): void;
135
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogActionComponent, never>;
136
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogActionComponent, "button[AlertDialogAction], a[AlertDialogAction]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closeOnClick": { "alias": "closeOnClick"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
137
+ }
138
+
139
+ export { AlertDialogActionComponent, AlertDialogCancelComponent, AlertDialogComponent, AlertDialogContentComponent, AlertDialogDescriptionComponent, AlertDialogFooterComponent, AlertDialogHeaderComponent, AlertDialogMediaComponent, AlertDialogTitleComponent };
140
+ export type { AlertDialogSize };
@@ -1 +1,42 @@
1
- export * from '@ojiepermana/angular-component/alert';
1
+ import * as _angular_core from '@angular/core';
2
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
3
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare const alertVariants: (props?: ({
8
+ variant?: "default" | "destructive" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ type AlertVariant = NonNullable<VariantProps<typeof alertVariants>['variant']>;
11
+
12
+ declare class AlertComponent {
13
+ protected readonly componentScale: ComponentScaleDirective;
14
+ readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
15
+ readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
16
+ readonly variant: _angular_core.InputSignal<AlertVariant>;
17
+ readonly class: _angular_core.InputSignal<string>;
18
+ protected readonly classes: _angular_core.Signal<string>;
19
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
20
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "Alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
21
+ }
22
+ declare class AlertTitleComponent {
23
+ readonly class: _angular_core.InputSignal<string>;
24
+ protected readonly classes: _angular_core.Signal<string>;
25
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertTitleComponent, never>;
26
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertTitleComponent, "AlertTitle, h5[AlertTitle]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
27
+ }
28
+ declare class AlertDescriptionComponent {
29
+ readonly class: _angular_core.InputSignal<string>;
30
+ protected readonly classes: _angular_core.Signal<string>;
31
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDescriptionComponent, never>;
32
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDescriptionComponent, "AlertDescription", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
33
+ }
34
+ declare class AlertActionComponent {
35
+ readonly class: _angular_core.InputSignal<string>;
36
+ protected readonly classes: _angular_core.Signal<string>;
37
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertActionComponent, never>;
38
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertActionComponent, "AlertAction", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
39
+ }
40
+
41
+ export { AlertActionComponent, AlertComponent, AlertDescriptionComponent, AlertTitleComponent, alertVariants };
42
+ export type { AlertVariant };
@@ -1 +1,12 @@
1
- export * from '@ojiepermana/angular-component/aspect-ratio';
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ declare class AspectRatioComponent {
4
+ readonly ratio: _angular_core.InputSignal<number>;
5
+ readonly class: _angular_core.InputSignal<string>;
6
+ protected readonly classes: _angular_core.Signal<string>;
7
+ protected readonly paddingBottom: _angular_core.Signal<string>;
8
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AspectRatioComponent, never>;
9
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AspectRatioComponent, "AspectRatio", never, { "ratio": { "alias": "ratio"; "required": true; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
10
+ }
11
+
12
+ export { AspectRatioComponent };
@@ -1 +1,56 @@
1
- export * from '@ojiepermana/angular-component/avatar';
1
+ import * as _angular_core from '@angular/core';
2
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
3
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
4
+
5
+ declare const avatarSizeClasses: {
6
+ readonly default: "h-10 w-10";
7
+ readonly sm: "h-8 w-8";
8
+ readonly lg: "h-12 w-12";
9
+ };
10
+ type AvatarSize = keyof typeof avatarSizeClasses;
11
+ declare class AvatarComponent {
12
+ protected readonly componentScale: ComponentScaleDirective;
13
+ readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
14
+ readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
15
+ readonly size: _angular_core.InputSignal<"sm" | "default" | "lg">;
16
+ readonly class: _angular_core.InputSignal<string>;
17
+ protected readonly classes: _angular_core.Signal<string>;
18
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarComponent, never>;
19
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "Avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
20
+ }
21
+ declare class AvatarImageComponent {
22
+ readonly src: _angular_core.InputSignal<string>;
23
+ readonly alt: _angular_core.InputSignal<string>;
24
+ readonly class: _angular_core.InputSignal<string>;
25
+ protected readonly failed: _angular_core.WritableSignal<boolean>;
26
+ protected readonly classes: _angular_core.Signal<string>;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarImageComponent, never>;
28
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarImageComponent, "AvatarImage", never, { "src": { "alias": "src"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
+ }
30
+ declare class AvatarFallbackComponent {
31
+ readonly class: _angular_core.InputSignal<string>;
32
+ protected readonly classes: _angular_core.Signal<string>;
33
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarFallbackComponent, never>;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarFallbackComponent, "AvatarFallback", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
35
+ }
36
+ declare class AvatarBadgeComponent {
37
+ readonly class: _angular_core.InputSignal<string>;
38
+ protected readonly classes: _angular_core.Signal<string>;
39
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarBadgeComponent, never>;
40
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarBadgeComponent, "AvatarBadge", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
41
+ }
42
+ declare class AvatarGroupComponent {
43
+ readonly class: _angular_core.InputSignal<string>;
44
+ protected readonly classes: _angular_core.Signal<string>;
45
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
46
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "AvatarGroup", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
47
+ }
48
+ declare class AvatarGroupCountComponent {
49
+ readonly class: _angular_core.InputSignal<string>;
50
+ protected readonly classes: _angular_core.Signal<string>;
51
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarGroupCountComponent, never>;
52
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupCountComponent, "AvatarGroupCount", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
53
+ }
54
+
55
+ export { AvatarBadgeComponent, AvatarComponent, AvatarFallbackComponent, AvatarGroupComponent, AvatarGroupCountComponent, AvatarImageComponent };
56
+ export type { AvatarSize };
@@ -1 +1,24 @@
1
- export * from '@ojiepermana/angular-component/badge';
1
+ import * as _angular_core from '@angular/core';
2
+ import * as i1 from '@ojiepermana/angular/component/utils/scale';
3
+ import { ComponentScaleDirective } from '@ojiepermana/angular/component/utils/scale';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare const badgeVariants: (props?: ({
8
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
9
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
10
+ type BadgeVariant = NonNullable<VariantProps<typeof badgeVariants>['variant']>;
11
+
12
+ declare class BadgeComponent {
13
+ protected readonly componentScale: ComponentScaleDirective;
14
+ readonly radius: _angular_core.InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
15
+ readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
16
+ readonly variant: _angular_core.InputSignal<BadgeVariant>;
17
+ readonly class: _angular_core.InputSignal<string>;
18
+ protected readonly classes: _angular_core.Signal<string>;
19
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeComponent, never>;
20
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "Badge, [Badge]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.ComponentScaleDirective; inputs: { "radius": "radius"; "density": "density"; }; outputs: {}; }]>;
21
+ }
22
+
23
+ export { BadgeComponent, badgeVariants };
24
+ export type { BadgeVariant };