@edsis/angular 22.1.6 → 22.2.10

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 (366) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -399
  3. package/SECURITY.md +18 -0
  4. package/SUPPORT.md +15 -0
  5. package/chart/README.md +275 -0
  6. package/component/README.md +89 -0
  7. package/component/accordion/README.md +195 -0
  8. package/component/alert/README.md +184 -0
  9. package/component/alert-dialog/README.md +255 -0
  10. package/component/aspect-ratio/README.md +116 -0
  11. package/component/avatar/README.md +182 -0
  12. package/component/badge/README.md +143 -0
  13. package/component/breadcrumb/README.md +223 -0
  14. package/component/button/README.md +141 -0
  15. package/component/button-group/README.md +214 -0
  16. package/component/calendar/README.md +125 -0
  17. package/component/card/README.md +232 -0
  18. package/component/carousel/README.md +276 -0
  19. package/component/checkbox/README.md +153 -0
  20. package/component/collapsible/README.md +216 -0
  21. package/component/combobox/README.md +202 -0
  22. package/component/command/README.md +287 -0
  23. package/component/composer/README.md +241 -0
  24. package/component/context-menu/README.md +268 -0
  25. package/component/date-picker/README.md +202 -0
  26. package/component/dialog/README.md +276 -0
  27. package/component/drawer/README.md +146 -0
  28. package/component/dropdown-menu/README.md +336 -0
  29. package/component/editor/README.md +152 -0
  30. package/component/empty/README.md +193 -0
  31. package/component/form/README.md +216 -0
  32. package/component/hover-card/README.md +150 -0
  33. package/component/icon/README.md +52 -0
  34. package/component/input/README.md +160 -0
  35. package/component/input-group/README.md +245 -0
  36. package/component/input-otp/README.md +331 -0
  37. package/component/item/README.md +254 -0
  38. package/component/kanban/README.md +81 -0
  39. package/component/kbd/README.md +141 -0
  40. package/component/label/README.md +137 -0
  41. package/component/menubar/README.md +270 -0
  42. package/component/native-select/README.md +176 -0
  43. package/component/navigation-menu/README.md +165 -0
  44. package/component/pagination/README.md +151 -0
  45. package/component/pillbox/README.md +68 -0
  46. package/component/popover/README.md +54 -0
  47. package/component/progress/README.md +160 -0
  48. package/component/radio/README.md +212 -0
  49. package/component/resizable/README.md +178 -0
  50. package/component/scroll-area/README.md +150 -0
  51. package/component/select/README.md +228 -0
  52. package/component/separator/README.md +175 -0
  53. package/component/sheet/README.md +190 -0
  54. package/component/skeleton/README.md +158 -0
  55. package/component/slider/README.md +207 -0
  56. package/component/spinner/README.md +160 -0
  57. package/component/switch/README.md +170 -0
  58. package/component/table/README.md +292 -0
  59. package/component/tabs/README.md +220 -0
  60. package/component/textarea/README.md +169 -0
  61. package/component/timeline/README.md +94 -0
  62. package/component/toast/README.md +173 -0
  63. package/component/toggle/README.md +133 -0
  64. package/component/toggle-group/README.md +234 -0
  65. package/component/tooltip/README.md +230 -0
  66. package/fesm2022/edsis-angular-chart-area.mjs +508 -0
  67. package/fesm2022/edsis-angular-chart-bar.mjs +946 -0
  68. package/fesm2022/edsis-angular-chart-core.mjs +1319 -0
  69. package/fesm2022/edsis-angular-chart-line.mjs +544 -0
  70. package/fesm2022/edsis-angular-chart-pie.mjs +531 -0
  71. package/fesm2022/edsis-angular-chart-primitives.mjs +1647 -0
  72. package/fesm2022/edsis-angular-chart-radar.mjs +693 -0
  73. package/fesm2022/edsis-angular-chart-radial.mjs +542 -0
  74. package/fesm2022/edsis-angular-chart-scatter.mjs +486 -0
  75. package/fesm2022/edsis-angular-chart.mjs +3 -0
  76. package/fesm2022/edsis-angular-component-accordion.mjs +513 -0
  77. package/fesm2022/edsis-angular-component-alert-dialog.mjs +1001 -0
  78. package/fesm2022/edsis-angular-component-alert.mjs +268 -0
  79. package/fesm2022/edsis-angular-component-aspect-ratio.mjs +80 -0
  80. package/fesm2022/edsis-angular-component-avatar.mjs +410 -0
  81. package/fesm2022/edsis-angular-component-badge.mjs +111 -0
  82. package/fesm2022/edsis-angular-component-breadcrumb.mjs +464 -0
  83. package/fesm2022/edsis-angular-component-button-group.mjs +252 -0
  84. package/fesm2022/edsis-angular-component-button.mjs +155 -0
  85. package/fesm2022/edsis-angular-component-calendar.mjs +835 -0
  86. package/fesm2022/edsis-angular-component-card.mjs +460 -0
  87. package/fesm2022/edsis-angular-component-carousel.mjs +700 -0
  88. package/fesm2022/edsis-angular-component-checkbox.mjs +398 -0
  89. package/fesm2022/edsis-angular-component-collapsible.mjs +305 -0
  90. package/fesm2022/edsis-angular-component-combobox.mjs +544 -0
  91. package/fesm2022/edsis-angular-component-command.mjs +815 -0
  92. package/fesm2022/edsis-angular-component-composer.mjs +840 -0
  93. package/fesm2022/edsis-angular-component-context-menu.mjs +197 -0
  94. package/fesm2022/edsis-angular-component-date-picker.mjs +798 -0
  95. package/fesm2022/edsis-angular-component-dialog.mjs +798 -0
  96. package/fesm2022/edsis-angular-component-drawer.mjs +1 -0
  97. package/fesm2022/edsis-angular-component-dropdown-menu.mjs +1259 -0
  98. package/fesm2022/edsis-angular-component-editor.mjs +1000 -0
  99. package/fesm2022/edsis-angular-component-empty.mjs +351 -0
  100. package/fesm2022/edsis-angular-component-form.mjs +821 -0
  101. package/fesm2022/edsis-angular-component-hover-card.mjs +486 -0
  102. package/fesm2022/edsis-angular-component-icon.mjs +253 -0
  103. package/fesm2022/edsis-angular-component-input-group.mjs +453 -0
  104. package/fesm2022/edsis-angular-component-input-otp.mjs +957 -0
  105. package/fesm2022/edsis-angular-component-input.mjs +87 -0
  106. package/fesm2022/edsis-angular-component-item.mjs +720 -0
  107. package/fesm2022/edsis-angular-component-kanban.mjs +812 -0
  108. package/fesm2022/edsis-angular-component-kbd.mjs +124 -0
  109. package/fesm2022/edsis-angular-component-label.mjs +82 -0
  110. package/fesm2022/edsis-angular-component-menubar.mjs +481 -0
  111. package/fesm2022/edsis-angular-component-native-select.mjs +168 -0
  112. package/fesm2022/edsis-angular-component-navigation-menu.mjs +685 -0
  113. package/fesm2022/edsis-angular-component-pagination.mjs +425 -0
  114. package/fesm2022/edsis-angular-component-pillbox.mjs +1679 -0
  115. package/fesm2022/edsis-angular-component-popover.mjs +292 -0
  116. package/fesm2022/edsis-angular-component-progress.mjs +184 -0
  117. package/fesm2022/edsis-angular-component-radio.mjs +491 -0
  118. package/fesm2022/edsis-angular-component-resizable.mjs +703 -0
  119. package/fesm2022/edsis-angular-component-scroll-area.mjs +133 -0
  120. package/fesm2022/edsis-angular-component-segmented-control.mjs +408 -0
  121. package/fesm2022/edsis-angular-component-select.mjs +743 -0
  122. package/fesm2022/edsis-angular-component-separator.mjs +102 -0
  123. package/fesm2022/edsis-angular-component-sheet.mjs +874 -0
  124. package/fesm2022/edsis-angular-component-skeleton.mjs +62 -0
  125. package/fesm2022/edsis-angular-component-slider.mjs +676 -0
  126. package/fesm2022/edsis-angular-component-spinner.mjs +157 -0
  127. package/fesm2022/edsis-angular-component-switch.mjs +361 -0
  128. package/fesm2022/edsis-angular-component-table.mjs +446 -0
  129. package/fesm2022/edsis-angular-component-tabs.mjs +592 -0
  130. package/fesm2022/edsis-angular-component-textarea.mjs +85 -0
  131. package/fesm2022/edsis-angular-component-timeline.mjs +619 -0
  132. package/fesm2022/edsis-angular-component-toast.mjs +231 -0
  133. package/fesm2022/edsis-angular-component-toggle-group.mjs +579 -0
  134. package/fesm2022/edsis-angular-component-toggle.mjs +189 -0
  135. package/fesm2022/edsis-angular-component-tooltip.mjs +804 -0
  136. package/fesm2022/edsis-angular-component-utils-core.mjs +181 -0
  137. package/fesm2022/edsis-angular-component-utils-overlay.mjs +54 -0
  138. package/fesm2022/edsis-angular-component-utils-scale.mjs +76 -0
  139. package/fesm2022/edsis-angular-component-utils.mjs +2 -0
  140. package/fesm2022/edsis-angular-component.mjs +0 -0
  141. package/fesm2022/edsis-angular-navigation-core.mjs +15 -0
  142. package/fesm2022/edsis-angular-navigation-icon.mjs +35 -0
  143. package/fesm2022/edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs +234 -0
  144. package/fesm2022/edsis-angular-navigation-navigation-dockbar-menu.component-BaFnh48V.mjs +834 -0
  145. package/fesm2022/edsis-angular-navigation-navigation-entry-grid.component-D39W0FQZ.mjs +823 -0
  146. package/fesm2022/edsis-angular-navigation-navigation-flyout-menu.component-CpmsY8hb.mjs +670 -0
  147. package/fesm2022/edsis-angular-navigation-navigation-horizontal.component-D35IfX6r.mjs +689 -0
  148. package/fesm2022/edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs +1522 -0
  149. package/fesm2022/edsis-angular-navigation-navigation-list.component-D6Ms8H5g.mjs +346 -0
  150. package/fesm2022/edsis-angular-navigation-service.mjs +558 -0
  151. package/fesm2022/edsis-angular-navigation-types.mjs +151 -0
  152. package/fesm2022/edsis-angular-navigation.mjs +3338 -0
  153. package/fesm2022/edsis-angular-sdk.mjs +100 -0
  154. package/fesm2022/edsis-angular-theme-component-settings.mjs +1863 -0
  155. package/fesm2022/edsis-angular-theme-layout-services.mjs +252 -0
  156. package/fesm2022/edsis-angular-theme-layout-types.mjs +45 -0
  157. package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +2568 -0
  158. package/fesm2022/edsis-angular-theme-layout.mjs +1089 -0
  159. package/fesm2022/edsis-angular-theme-on-fill.mjs +89 -0
  160. package/fesm2022/edsis-angular-theme-page-core.mjs +315 -0
  161. package/fesm2022/edsis-angular-theme-page-filter.mjs +409 -0
  162. package/fesm2022/edsis-angular-theme-page-overview.mjs +88 -0
  163. package/fesm2022/edsis-angular-theme-page-root.mjs +693 -0
  164. package/fesm2022/edsis-angular-theme-page-side.mjs +342 -0
  165. package/fesm2022/edsis-angular-theme-page-slots.mjs +258 -0
  166. package/fesm2022/edsis-angular-theme-page.mjs +7 -0
  167. package/fesm2022/edsis-angular-theme-shell-services.mjs +231 -0
  168. package/fesm2022/edsis-angular-theme-shell-types.mjs +102 -0
  169. package/fesm2022/edsis-angular-theme-shell.mjs +1352 -0
  170. package/fesm2022/edsis-angular-theme-styles.mjs +605 -0
  171. package/fesm2022/edsis-angular-theme.mjs +0 -0
  172. package/fesm2022/edsis-angular.mjs +5 -8
  173. package/navigation/README.md +576 -0
  174. package/package.json +481 -52
  175. package/sdk/README.md +212 -0
  176. package/sdk/schematics/collection.json +20 -0
  177. package/sdk/schematics/init/index.js +83 -0
  178. package/sdk/schematics/init/schema.json +19 -0
  179. package/sdk/schematics/ng-add/index.js +147 -0
  180. package/sdk/schematics/ng-add/schema.json +14 -0
  181. package/sdk/schematics/package.json +3 -0
  182. package/sdk/schematics/sdk/index.js +175 -0
  183. package/sdk/schematics/sdk/schema.json +19 -0
  184. package/sdk/sdk.config.example.json +24 -0
  185. package/sdk/src/config/loader.js +43 -0
  186. package/sdk/src/config/schema.js +59 -0
  187. package/sdk/src/emit/client.js +251 -0
  188. package/sdk/src/emit/metadata.js +310 -0
  189. package/sdk/src/emit/models.js +104 -0
  190. package/sdk/src/emit/navigation.js +56 -0
  191. package/sdk/src/emit/operations.js +118 -0
  192. package/sdk/src/emit/public-api.js +54 -0
  193. package/sdk/src/emit/services.js +110 -0
  194. package/sdk/src/engine.js +67 -0
  195. package/sdk/src/layout/per-domain.js +360 -0
  196. package/sdk/src/package.json +3 -0
  197. package/sdk/src/parser/bundle.js +25 -0
  198. package/sdk/src/parser/ir.js +429 -0
  199. package/sdk/src/parser/types.js +7 -0
  200. package/sdk/src/render/template.js +152 -0
  201. package/sdk/src/writer/index.js +286 -0
  202. package/theme/README.md +120 -0
  203. package/theme/component/settings/README.md +154 -0
  204. package/theme/layout/README.md +604 -0
  205. package/theme/page/README.md +505 -0
  206. package/theme/shell/README.md +344 -0
  207. package/theme/styles/README.md +251 -0
  208. package/theme/styles/css/base/components.css +577 -0
  209. package/theme/styles/css/base/index.css +14 -0
  210. package/theme/styles/css/base/on-fill.css +153 -0
  211. package/theme/styles/css/base/package.css +10 -0
  212. package/theme/styles/css/base/prefers-dark.css +81 -0
  213. package/theme/styles/css/base/print.css +62 -0
  214. package/theme/styles/css/base/status.css +38 -0
  215. package/theme/styles/css/base/tailwind.css +208 -0
  216. package/theme/styles/css/base/theme.css +306 -0
  217. package/theme/styles/css/base/tokens.css +388 -0
  218. package/theme/styles/css/color/amber.css +72 -0
  219. package/theme/styles/css/color/blue.css +72 -0
  220. package/theme/styles/css/color/brand.css +38 -0
  221. package/theme/styles/css/color/cyan.css +72 -0
  222. package/theme/styles/css/color/emerald.css +72 -0
  223. package/theme/styles/css/color/fuchsia.css +72 -0
  224. package/theme/styles/css/color/green.css +72 -0
  225. package/theme/styles/css/color/index.css +19 -0
  226. package/theme/styles/css/color/indigo.css +72 -0
  227. package/theme/styles/css/color/lime.css +72 -0
  228. package/theme/styles/css/color/orange.css +72 -0
  229. package/theme/styles/css/color/pink.css +72 -0
  230. package/theme/styles/css/color/purple.css +72 -0
  231. package/theme/styles/css/color/red.css +72 -0
  232. package/theme/styles/css/color/rose.css +72 -0
  233. package/theme/styles/css/color/sky.css +72 -0
  234. package/theme/styles/css/color/teal.css +72 -0
  235. package/theme/styles/css/color/violet.css +72 -0
  236. package/theme/styles/css/color/yellow.css +72 -0
  237. package/theme/styles/css/fonts.css +85 -0
  238. package/theme/styles/css/index.css +18 -0
  239. package/theme/styles/css/neutral/gray.css +63 -0
  240. package/theme/styles/css/neutral/index.css +11 -0
  241. package/theme/styles/css/neutral/mauve.css +63 -0
  242. package/theme/styles/css/neutral/mist.css +63 -0
  243. package/theme/styles/css/neutral/neutral.css +63 -0
  244. package/theme/styles/css/neutral/olive.css +63 -0
  245. package/theme/styles/css/neutral/slate.css +63 -0
  246. package/theme/styles/css/neutral/stone.css +63 -0
  247. package/theme/styles/css/neutral/taupe.css +63 -0
  248. package/theme/styles/css/neutral/zinc.css +63 -0
  249. package/theme/styles/css/radius/index.css +30 -0
  250. package/theme/styles/css/space/index.css +20 -0
  251. package/types/edsis-angular-chart-area.d.ts +139 -0
  252. package/types/edsis-angular-chart-bar.d.ts +291 -0
  253. package/types/edsis-angular-chart-core.d.ts +824 -0
  254. package/types/edsis-angular-chart-line.d.ts +148 -0
  255. package/types/edsis-angular-chart-pie.d.ts +207 -0
  256. package/types/edsis-angular-chart-primitives.d.ts +360 -0
  257. package/types/edsis-angular-chart-radar.d.ts +198 -0
  258. package/types/edsis-angular-chart-radial.d.ts +187 -0
  259. package/types/edsis-angular-chart-scatter.d.ts +181 -0
  260. package/types/edsis-angular-chart.d.ts +3 -0
  261. package/types/edsis-angular-component-accordion.d.ts +139 -0
  262. package/types/edsis-angular-component-alert-dialog.d.ts +288 -0
  263. package/types/edsis-angular-component-alert.d.ts +72 -0
  264. package/types/edsis-angular-component-aspect-ratio.d.ts +20 -0
  265. package/types/edsis-angular-component-avatar.d.ts +111 -0
  266. package/types/edsis-angular-component-badge.d.ts +36 -0
  267. package/types/edsis-angular-component-breadcrumb.d.ts +85 -0
  268. package/types/edsis-angular-component-button-group.d.ts +50 -0
  269. package/types/edsis-angular-component-button.d.ts +44 -0
  270. package/types/edsis-angular-component-calendar.d.ts +150 -0
  271. package/types/edsis-angular-component-card.d.ts +123 -0
  272. package/types/edsis-angular-component-carousel.d.ts +155 -0
  273. package/types/edsis-angular-component-checkbox.d.ts +100 -0
  274. package/types/edsis-angular-component-collapsible.d.ts +68 -0
  275. package/types/edsis-angular-component-combobox.d.ts +105 -0
  276. package/types/edsis-angular-component-command.d.ts +215 -0
  277. package/types/edsis-angular-component-composer.d.ts +190 -0
  278. package/types/edsis-angular-component-context-menu.d.ts +64 -0
  279. package/types/edsis-angular-component-date-picker.d.ts +199 -0
  280. package/types/edsis-angular-component-dialog.d.ts +231 -0
  281. package/types/edsis-angular-component-drawer.d.ts +2 -0
  282. package/types/edsis-angular-component-dropdown-menu.d.ts +370 -0
  283. package/types/edsis-angular-component-editor.d.ts +234 -0
  284. package/types/edsis-angular-component-empty.d.ts +85 -0
  285. package/types/edsis-angular-component-form.d.ts +223 -0
  286. package/types/edsis-angular-component-hover-card.d.ts +133 -0
  287. package/types/edsis-angular-component-icon.d.ts +90 -0
  288. package/types/edsis-angular-component-input-group.d.ts +98 -0
  289. package/types/edsis-angular-component-input-otp.d.ts +249 -0
  290. package/types/edsis-angular-component-input.d.ts +31 -0
  291. package/types/edsis-angular-component-item.d.ts +169 -0
  292. package/types/edsis-angular-component-kanban.d.ts +165 -0
  293. package/types/edsis-angular-component-kbd.d.ts +25 -0
  294. package/types/edsis-angular-component-label.d.ts +19 -0
  295. package/types/edsis-angular-component-menubar.d.ts +123 -0
  296. package/types/edsis-angular-component-native-select.d.ts +39 -0
  297. package/types/edsis-angular-component-navigation-menu.d.ts +163 -0
  298. package/types/edsis-angular-component-pagination.d.ts +83 -0
  299. package/types/edsis-angular-component-pillbox.d.ts +380 -0
  300. package/types/edsis-angular-component-popover.d.ts +96 -0
  301. package/types/edsis-angular-component-progress.d.ts +45 -0
  302. package/types/edsis-angular-component-radio.d.ts +137 -0
  303. package/types/edsis-angular-component-resizable.d.ts +166 -0
  304. package/types/edsis-angular-component-scroll-area.d.ts +37 -0
  305. package/types/edsis-angular-component-segmented-control.d.ts +102 -0
  306. package/types/edsis-angular-component-select.d.ts +138 -0
  307. package/types/edsis-angular-component-separator.d.ts +26 -0
  308. package/types/edsis-angular-component-sheet.d.ts +240 -0
  309. package/types/edsis-angular-component-skeleton.d.ts +13 -0
  310. package/types/edsis-angular-component-slider.d.ts +148 -0
  311. package/types/edsis-angular-component-spinner.d.ts +31 -0
  312. package/types/edsis-angular-component-switch.d.ts +101 -0
  313. package/types/edsis-angular-component-table.d.ts +109 -0
  314. package/types/edsis-angular-component-tabs.d.ts +183 -0
  315. package/types/edsis-angular-component-textarea.d.ts +27 -0
  316. package/types/edsis-angular-component-timeline.d.ts +146 -0
  317. package/types/edsis-angular-component-toast.d.ts +60 -0
  318. package/types/edsis-angular-component-toggle-group.d.ts +161 -0
  319. package/types/edsis-angular-component-toggle.d.ts +47 -0
  320. package/types/edsis-angular-component-tooltip.d.ts +233 -0
  321. package/types/edsis-angular-component-utils-core.d.ts +175 -0
  322. package/types/edsis-angular-component-utils-overlay.d.ts +17 -0
  323. package/types/edsis-angular-component-utils-scale.d.ts +27 -0
  324. package/types/edsis-angular-component-utils.d.ts +2 -0
  325. package/types/edsis-angular-component.d.ts +1 -0
  326. package/types/edsis-angular-navigation-core.d.ts +55 -0
  327. package/types/edsis-angular-navigation-icon.d.ts +9 -0
  328. package/types/edsis-angular-navigation-service.d.ts +121 -0
  329. package/types/edsis-angular-navigation-types.d.ts +185 -0
  330. package/types/edsis-angular-navigation.d.ts +862 -0
  331. package/types/edsis-angular-sdk.d.ts +87 -0
  332. package/types/edsis-angular-theme-component-settings.d.ts +205 -0
  333. package/types/edsis-angular-theme-layout-services.d.ts +143 -0
  334. package/types/edsis-angular-theme-layout-types.d.ts +36 -0
  335. package/types/edsis-angular-theme-layout-wrapper.d.ts +670 -0
  336. package/types/edsis-angular-theme-layout.d.ts +218 -0
  337. package/types/edsis-angular-theme-on-fill.d.ts +45 -0
  338. package/types/edsis-angular-theme-page-core.d.ts +151 -0
  339. package/types/edsis-angular-theme-page-filter.d.ts +127 -0
  340. package/types/edsis-angular-theme-page-overview.d.ts +28 -0
  341. package/types/edsis-angular-theme-page-root.d.ts +172 -0
  342. package/types/edsis-angular-theme-page-side.d.ts +90 -0
  343. package/types/edsis-angular-theme-page-slots.d.ts +61 -0
  344. package/types/edsis-angular-theme-page.d.ts +7 -0
  345. package/types/edsis-angular-theme-shell-services.d.ts +188 -0
  346. package/types/edsis-angular-theme-shell-types.d.ts +102 -0
  347. package/types/edsis-angular-theme-shell.d.ts +178 -0
  348. package/types/edsis-angular-theme-styles.d.ts +328 -0
  349. package/types/edsis-angular-theme.d.ts +1 -0
  350. package/types/edsis-angular.d.ts +5 -2
  351. package/fesm2022/edsis-angular-block-shell.mjs +0 -1329
  352. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  353. package/fesm2022/edsis-angular-block-themes.mjs +0 -1007
  354. package/fesm2022/edsis-angular-block-themes.mjs.map +0 -1
  355. package/fesm2022/edsis-angular-module-auth.mjs +0 -2582
  356. package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
  357. package/fesm2022/edsis-angular-platform-mfe.mjs +0 -329
  358. package/fesm2022/edsis-angular-platform-mfe.mjs.map +0 -1
  359. package/fesm2022/edsis-angular-services-runtime.mjs +0 -385
  360. package/fesm2022/edsis-angular-services-runtime.mjs.map +0 -1
  361. package/fesm2022/edsis-angular.mjs.map +0 -1
  362. package/types/edsis-angular-block-shell.d.ts +0 -190
  363. package/types/edsis-angular-block-themes.d.ts +0 -94
  364. package/types/edsis-angular-module-auth.d.ts +0 -533
  365. package/types/edsis-angular-platform-mfe.d.ts +0 -126
  366. package/types/edsis-angular-services-runtime.d.ts +0 -118
@@ -0,0 +1,544 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Component, computed, inject, input, output } from "@angular/core";
3
+ import { CartesianContext, CategoricalViewportContext, ChartContext, ChartDataTable, ChartMarkFocus, ChartRovingFocus, ChartThemeSpace, DEFAULT_CARTESIAN_MARGIN_UNITS, buildCartesianScales, cloneLinear, computeAreaLayout, computeLineLayout, computeLineLayout as computeLineLayout$1, pointToBandAdapter, provideCartesianFromLineLayout, provideCartesianFromLineLayout as provideCartesianFromLineLayout$1, resolveChartMargin, resolveChartStyle, resolveSeriesColor, setupCartesianChart } from "@edsis/angular/chart/core";
4
+ import { ChartPointerTracker } from "@edsis/angular/chart/primitives";
5
+ const defaultLineValueFormatter = (value) => `${value}`;
6
+ var LineChart = class LineChart {
7
+ root = inject(ChartContext);
8
+ cart = inject(CartesianContext);
9
+ viewport = inject(CategoricalViewportContext);
10
+ data = input.required(...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
11
+ xKey = input.required(...ngDevMode ? [{ debugName: "xKey" }] : /* istanbul ignore next */ []);
12
+ orientation = input("vertical", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
13
+ styleVariant = input(void 0, ...ngDevMode ? [{ debugName: "styleVariant" }] : /* istanbul ignore next */ []);
14
+ styles = input("base", ...ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []);
15
+ chartStyle = resolveChartStyle(this.styleVariant, this.styles);
16
+ curve = input("monotone", ...ngDevMode ? [{ debugName: "curve" }] : /* istanbul ignore next */ []);
17
+ themeSpace = inject(ChartThemeSpace);
18
+ margin = input(null, ...ngDevMode ? [{ debugName: "margin" }] : /* istanbul ignore next */ []);
19
+ plotMargin = resolveChartMargin(this.margin, DEFAULT_CARTESIAN_MARGIN_UNITS, this.themeSpace);
20
+ strokeWidth = input(2, ...ngDevMode ? [{ debugName: "strokeWidth" }] : /* istanbul ignore next */ []);
21
+ showDots = input(true, ...ngDevMode ? [{ debugName: "showDots" }] : /* istanbul ignore next */ []);
22
+ dotRadius = input(3, ...ngDevMode ? [{ debugName: "dotRadius" }] : /* istanbul ignore next */ []);
23
+ dotColorKey = input(void 0, ...ngDevMode ? [{ debugName: "dotColorKey" }] : /* istanbul ignore next */ []);
24
+ dotStrokeColor = input(void 0, ...ngDevMode ? [{ debugName: "dotStrokeColor" }] : /* istanbul ignore next */ []);
25
+ dotStrokeWidth = input(0, ...ngDevMode ? [{ debugName: "dotStrokeWidth" }] : /* istanbul ignore next */ []);
26
+ showValueLabels = input(false, ...ngDevMode ? [{ debugName: "showValueLabels" }] : /* istanbul ignore next */ []);
27
+ valueLabelFormat = input(defaultLineValueFormatter, ...ngDevMode ? [{ debugName: "valueLabelFormat" }] : /* istanbul ignore next */ []);
28
+ pointClick = output();
29
+ cx = setupCartesianChart({
30
+ data: () => this.data(),
31
+ margin: () => this.plotMargin(),
32
+ cartesian: {
33
+ context: this.cart,
34
+ orientation: () => this.orientation()
35
+ },
36
+ viewport: this.viewport,
37
+ publishLayout: (inner) => provideCartesianFromLineLayout$1(this.cart, this.layout(), this.orientation(), inner.width, inner.height),
38
+ click: {
39
+ emit: (event) => this.pointClick.emit(event),
40
+ payload: (point, datumIndex, datum) => ({
41
+ seriesKey: point.seriesKey,
42
+ datumIndex,
43
+ category: point.category,
44
+ value: point.value,
45
+ datum
46
+ })
47
+ },
48
+ ariaLabel: (point, label) => `${label} at ${point.category}: ${point.value}`
49
+ });
50
+ layout = computed(() => computeLineLayout$1({
51
+ data: this.cx.visibleData(),
52
+ xKey: this.xKey(),
53
+ seriesKeys: this.root.visibleSeriesKeys(),
54
+ orientation: this.orientation(),
55
+ innerWidth: this.cx.innerWidth(),
56
+ innerHeight: this.cx.innerHeight(),
57
+ curve: this.curve()
58
+ }), ...ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []);
59
+ series = computed(() => this.layout().series, ...ngDevMode ? [{ debugName: "series" }] : /* istanbul ignore next */ []);
60
+ ariaSummary = computed(() => {
61
+ const keys = this.root.visibleSeriesKeys();
62
+ return `Line chart, ${this.cx.visibleData().length} points, ${keys.length} series: ${keys.join(", ")}.`;
63
+ }, ...ngDevMode ? [{ debugName: "ariaSummary" }] : /* istanbul ignore next */ []);
64
+ dataColumns = computed(() => [this.xKey(), ...this.root.visibleSeriesKeys()], ...ngDevMode ? [{ debugName: "dataColumns" }] : /* istanbul ignore next */ []);
65
+ dotFill(point, fallbackColor) {
66
+ const colorKey = this.dotColorKey();
67
+ if (!colorKey) return fallbackColor;
68
+ return resolveSeriesColor(this.cx.visibleData()[point.datumIndex]?.[colorKey], fallbackColor);
69
+ }
70
+ formatValueLabel(point) {
71
+ return this.valueLabelFormat()(point.value);
72
+ }
73
+ labelX(point) {
74
+ return this.orientation() === "vertical" ? point.x : point.x + this.dotRadius() + 6;
75
+ }
76
+ labelY(point) {
77
+ return this.orientation() === "vertical" ? point.y - this.dotRadius() - 8 : point.y;
78
+ }
79
+ labelAnchor() {
80
+ return this.orientation() === "vertical" ? "middle" : "start";
81
+ }
82
+ static ɵfac = i0.ɵɵngDeclareFactory({
83
+ minVersion: "12.0.0",
84
+ version: "22.2.4",
85
+ ngImport: i0,
86
+ type: LineChart,
87
+ deps: [],
88
+ target: i0.ɵɵFactoryTarget.Component
89
+ });
90
+ static ɵcmp = i0.ɵɵngDeclareComponent({
91
+ minVersion: "17.0.0",
92
+ version: "22.2.4",
93
+ type: LineChart,
94
+ isStandalone: true,
95
+ selector: "ChartLine",
96
+ inputs: {
97
+ data: {
98
+ classPropertyName: "data",
99
+ publicName: "data",
100
+ isSignal: true,
101
+ isRequired: true,
102
+ transformFunction: null
103
+ },
104
+ xKey: {
105
+ classPropertyName: "xKey",
106
+ publicName: "xKey",
107
+ isSignal: true,
108
+ isRequired: true,
109
+ transformFunction: null
110
+ },
111
+ orientation: {
112
+ classPropertyName: "orientation",
113
+ publicName: "orientation",
114
+ isSignal: true,
115
+ isRequired: false,
116
+ transformFunction: null
117
+ },
118
+ styleVariant: {
119
+ classPropertyName: "styleVariant",
120
+ publicName: "styleVariant",
121
+ isSignal: true,
122
+ isRequired: false,
123
+ transformFunction: null
124
+ },
125
+ styles: {
126
+ classPropertyName: "styles",
127
+ publicName: "styles",
128
+ isSignal: true,
129
+ isRequired: false,
130
+ transformFunction: null
131
+ },
132
+ curve: {
133
+ classPropertyName: "curve",
134
+ publicName: "curve",
135
+ isSignal: true,
136
+ isRequired: false,
137
+ transformFunction: null
138
+ },
139
+ margin: {
140
+ classPropertyName: "margin",
141
+ publicName: "margin",
142
+ isSignal: true,
143
+ isRequired: false,
144
+ transformFunction: null
145
+ },
146
+ strokeWidth: {
147
+ classPropertyName: "strokeWidth",
148
+ publicName: "strokeWidth",
149
+ isSignal: true,
150
+ isRequired: false,
151
+ transformFunction: null
152
+ },
153
+ showDots: {
154
+ classPropertyName: "showDots",
155
+ publicName: "showDots",
156
+ isSignal: true,
157
+ isRequired: false,
158
+ transformFunction: null
159
+ },
160
+ dotRadius: {
161
+ classPropertyName: "dotRadius",
162
+ publicName: "dotRadius",
163
+ isSignal: true,
164
+ isRequired: false,
165
+ transformFunction: null
166
+ },
167
+ dotColorKey: {
168
+ classPropertyName: "dotColorKey",
169
+ publicName: "dotColorKey",
170
+ isSignal: true,
171
+ isRequired: false,
172
+ transformFunction: null
173
+ },
174
+ dotStrokeColor: {
175
+ classPropertyName: "dotStrokeColor",
176
+ publicName: "dotStrokeColor",
177
+ isSignal: true,
178
+ isRequired: false,
179
+ transformFunction: null
180
+ },
181
+ dotStrokeWidth: {
182
+ classPropertyName: "dotStrokeWidth",
183
+ publicName: "dotStrokeWidth",
184
+ isSignal: true,
185
+ isRequired: false,
186
+ transformFunction: null
187
+ },
188
+ showValueLabels: {
189
+ classPropertyName: "showValueLabels",
190
+ publicName: "showValueLabels",
191
+ isSignal: true,
192
+ isRequired: false,
193
+ transformFunction: null
194
+ },
195
+ valueLabelFormat: {
196
+ classPropertyName: "valueLabelFormat",
197
+ publicName: "valueLabelFormat",
198
+ isSignal: true,
199
+ isRequired: false,
200
+ transformFunction: null
201
+ }
202
+ },
203
+ outputs: { pointClick: "pointClick" },
204
+ host: {
205
+ properties: { "attr.data-style": "chartStyle()" },
206
+ classAttribute: "relative block h-full w-full"
207
+ },
208
+ providers: [CartesianContext, CategoricalViewportContext],
209
+ ngImport: i0,
210
+ template: `
211
+ <svg:svg
212
+ ChartPointerTracker
213
+ ChartRovingFocus
214
+ class="block h-full w-full overflow-visible"
215
+ [attr.viewBox]="cx.viewBox()"
216
+ preserveAspectRatio="none"
217
+ role="img"
218
+ [attr.aria-label]="ariaSummary()"
219
+ >
220
+ <svg:g [attr.transform]="cx.innerTransform()">
221
+ <!-- The brush hitbox is slotted first so it sits UNDER the marks: it is
222
+ a hit-testable rect, and on top it swallowed every click, hover and
223
+ cursor affordance the dots publish. -->
224
+ <ng-content select="svg:g[ChartBrush]" />
225
+ <ng-content select="svg\\:g[ChartGrid]" />
226
+ <svg:g class="chart-lines">
227
+ @for (s of series(); track s.seriesKey) {
228
+ <svg:path
229
+ class="chart-line"
230
+ fill="none"
231
+ stroke-linecap="round"
232
+ stroke-linejoin="round"
233
+ [attr.stroke]="s.color"
234
+ [attr.stroke-width]="strokeWidth()"
235
+ [attr.d]="s.linePath"
236
+ />
237
+ @if (showDots()) {
238
+ @for (p of s.points; track p.datumIndex) {
239
+ <svg:circle
240
+ ChartMarkFocus
241
+ class="chart-dot cursor-pointer"
242
+ [attr.cx]="p.x"
243
+ [attr.cy]="p.y"
244
+ [attr.r]="dotRadius()"
245
+ [attr.fill]="dotFill(p, s.color)"
246
+ [attr.stroke]="dotStrokeColor()"
247
+ [attr.stroke-width]="dotStrokeWidth() || null"
248
+ [attr.aria-label]="cx.pointAriaLabel(p)"
249
+ role="img"
250
+ tabindex="0"
251
+ (focus)="cx.setActivePoint($event, p)"
252
+ (blur)="cx.clearActivePoint()"
253
+ (click)="cx.emitClick(p)"
254
+ (keydown.enter)="cx.emitClick(p)"
255
+ (keydown.space)="cx.emitClick(p); $event.preventDefault()"
256
+ />
257
+ @if (showValueLabels()) {
258
+ <svg:text
259
+ class="chart-line-value pointer-events-none fill-muted-foreground text-2xs-plus"
260
+ [attr.x]="labelX(p)"
261
+ [attr.y]="labelY(p)"
262
+ [attr.text-anchor]="labelAnchor()"
263
+ dominant-baseline="middle"
264
+ >
265
+ {{ formatValueLabel(p) }}
266
+ </svg:text>
267
+ }
268
+ }
269
+ }
270
+ }
271
+ </svg:g>
272
+ <ng-content select="svg\\:g[ChartAxisX]" />
273
+ <ng-content select="svg\\:g[ChartAxisY]" />
274
+ <ng-content select="svg\\:g[ChartCrosshair]" />
275
+ </svg:g>
276
+ </svg:svg>
277
+ <ng-content select="ChartTooltip" />
278
+ <ng-content select="ChartLegend" />
279
+ <ng-content select="ChartZoomControls" />
280
+ <ChartDataTable
281
+ [data]="cx.visibleData()"
282
+ [columns]="dataColumns()"
283
+ [rowHeaderKey]="xKey()"
284
+ [label]="ariaSummary()"
285
+ />
286
+ `,
287
+ isInline: true,
288
+ dependencies: [
289
+ {
290
+ kind: "directive",
291
+ type: ChartPointerTracker,
292
+ selector: "svg:svg[ChartPointerTracker]"
293
+ },
294
+ {
295
+ kind: "directive",
296
+ type: ChartRovingFocus,
297
+ selector: "svg[ChartRovingFocus]"
298
+ },
299
+ {
300
+ kind: "directive",
301
+ type: ChartMarkFocus,
302
+ selector: "[ChartMarkFocus]"
303
+ },
304
+ {
305
+ kind: "component",
306
+ type: ChartDataTable,
307
+ selector: "ChartDataTable",
308
+ inputs: [
309
+ "data",
310
+ "columns",
311
+ "label",
312
+ "rowHeaderKey"
313
+ ]
314
+ }
315
+ ]
316
+ });
317
+ };
318
+ i0.ɵɵngDeclareClassMetadata({
319
+ minVersion: "12.0.0",
320
+ version: "22.2.4",
321
+ ngImport: i0,
322
+ type: LineChart,
323
+ decorators: [{
324
+ type: Component,
325
+ args: [{
326
+ selector: "ChartLine",
327
+ providers: [CartesianContext, CategoricalViewportContext],
328
+ imports: [
329
+ ChartPointerTracker,
330
+ ChartRovingFocus,
331
+ ChartMarkFocus,
332
+ ChartDataTable
333
+ ],
334
+ host: {
335
+ class: "relative block h-full w-full",
336
+ "[attr.data-style]": "chartStyle()"
337
+ },
338
+ template: `
339
+ <svg:svg
340
+ ChartPointerTracker
341
+ ChartRovingFocus
342
+ class="block h-full w-full overflow-visible"
343
+ [attr.viewBox]="cx.viewBox()"
344
+ preserveAspectRatio="none"
345
+ role="img"
346
+ [attr.aria-label]="ariaSummary()"
347
+ >
348
+ <svg:g [attr.transform]="cx.innerTransform()">
349
+ <!-- The brush hitbox is slotted first so it sits UNDER the marks: it is
350
+ a hit-testable rect, and on top it swallowed every click, hover and
351
+ cursor affordance the dots publish. -->
352
+ <ng-content select="svg:g[ChartBrush]" />
353
+ <ng-content select="svg\\:g[ChartGrid]" />
354
+ <svg:g class="chart-lines">
355
+ @for (s of series(); track s.seriesKey) {
356
+ <svg:path
357
+ class="chart-line"
358
+ fill="none"
359
+ stroke-linecap="round"
360
+ stroke-linejoin="round"
361
+ [attr.stroke]="s.color"
362
+ [attr.stroke-width]="strokeWidth()"
363
+ [attr.d]="s.linePath"
364
+ />
365
+ @if (showDots()) {
366
+ @for (p of s.points; track p.datumIndex) {
367
+ <svg:circle
368
+ ChartMarkFocus
369
+ class="chart-dot cursor-pointer"
370
+ [attr.cx]="p.x"
371
+ [attr.cy]="p.y"
372
+ [attr.r]="dotRadius()"
373
+ [attr.fill]="dotFill(p, s.color)"
374
+ [attr.stroke]="dotStrokeColor()"
375
+ [attr.stroke-width]="dotStrokeWidth() || null"
376
+ [attr.aria-label]="cx.pointAriaLabel(p)"
377
+ role="img"
378
+ tabindex="0"
379
+ (focus)="cx.setActivePoint($event, p)"
380
+ (blur)="cx.clearActivePoint()"
381
+ (click)="cx.emitClick(p)"
382
+ (keydown.enter)="cx.emitClick(p)"
383
+ (keydown.space)="cx.emitClick(p); $event.preventDefault()"
384
+ />
385
+ @if (showValueLabels()) {
386
+ <svg:text
387
+ class="chart-line-value pointer-events-none fill-muted-foreground text-2xs-plus"
388
+ [attr.x]="labelX(p)"
389
+ [attr.y]="labelY(p)"
390
+ [attr.text-anchor]="labelAnchor()"
391
+ dominant-baseline="middle"
392
+ >
393
+ {{ formatValueLabel(p) }}
394
+ </svg:text>
395
+ }
396
+ }
397
+ }
398
+ }
399
+ </svg:g>
400
+ <ng-content select="svg\\:g[ChartAxisX]" />
401
+ <ng-content select="svg\\:g[ChartAxisY]" />
402
+ <ng-content select="svg\\:g[ChartCrosshair]" />
403
+ </svg:g>
404
+ </svg:svg>
405
+ <ng-content select="ChartTooltip" />
406
+ <ng-content select="ChartLegend" />
407
+ <ng-content select="ChartZoomControls" />
408
+ <ChartDataTable
409
+ [data]="cx.visibleData()"
410
+ [columns]="dataColumns()"
411
+ [rowHeaderKey]="xKey()"
412
+ [label]="ariaSummary()"
413
+ />
414
+ `
415
+ }]
416
+ }],
417
+ propDecorators: {
418
+ data: [{
419
+ type: i0.Input,
420
+ args: [{
421
+ isSignal: true,
422
+ alias: "data",
423
+ required: true
424
+ }]
425
+ }],
426
+ xKey: [{
427
+ type: i0.Input,
428
+ args: [{
429
+ isSignal: true,
430
+ alias: "xKey",
431
+ required: true
432
+ }]
433
+ }],
434
+ orientation: [{
435
+ type: i0.Input,
436
+ args: [{
437
+ isSignal: true,
438
+ alias: "orientation",
439
+ required: false
440
+ }]
441
+ }],
442
+ styleVariant: [{
443
+ type: i0.Input,
444
+ args: [{
445
+ isSignal: true,
446
+ alias: "styleVariant",
447
+ required: false
448
+ }]
449
+ }],
450
+ styles: [{
451
+ type: i0.Input,
452
+ args: [{
453
+ isSignal: true,
454
+ alias: "styles",
455
+ required: false
456
+ }]
457
+ }],
458
+ curve: [{
459
+ type: i0.Input,
460
+ args: [{
461
+ isSignal: true,
462
+ alias: "curve",
463
+ required: false
464
+ }]
465
+ }],
466
+ margin: [{
467
+ type: i0.Input,
468
+ args: [{
469
+ isSignal: true,
470
+ alias: "margin",
471
+ required: false
472
+ }]
473
+ }],
474
+ strokeWidth: [{
475
+ type: i0.Input,
476
+ args: [{
477
+ isSignal: true,
478
+ alias: "strokeWidth",
479
+ required: false
480
+ }]
481
+ }],
482
+ showDots: [{
483
+ type: i0.Input,
484
+ args: [{
485
+ isSignal: true,
486
+ alias: "showDots",
487
+ required: false
488
+ }]
489
+ }],
490
+ dotRadius: [{
491
+ type: i0.Input,
492
+ args: [{
493
+ isSignal: true,
494
+ alias: "dotRadius",
495
+ required: false
496
+ }]
497
+ }],
498
+ dotColorKey: [{
499
+ type: i0.Input,
500
+ args: [{
501
+ isSignal: true,
502
+ alias: "dotColorKey",
503
+ required: false
504
+ }]
505
+ }],
506
+ dotStrokeColor: [{
507
+ type: i0.Input,
508
+ args: [{
509
+ isSignal: true,
510
+ alias: "dotStrokeColor",
511
+ required: false
512
+ }]
513
+ }],
514
+ dotStrokeWidth: [{
515
+ type: i0.Input,
516
+ args: [{
517
+ isSignal: true,
518
+ alias: "dotStrokeWidth",
519
+ required: false
520
+ }]
521
+ }],
522
+ showValueLabels: [{
523
+ type: i0.Input,
524
+ args: [{
525
+ isSignal: true,
526
+ alias: "showValueLabels",
527
+ required: false
528
+ }]
529
+ }],
530
+ valueLabelFormat: [{
531
+ type: i0.Input,
532
+ args: [{
533
+ isSignal: true,
534
+ alias: "valueLabelFormat",
535
+ required: false
536
+ }]
537
+ }],
538
+ pointClick: [{
539
+ type: i0.Output,
540
+ args: ["pointClick"]
541
+ }]
542
+ }
543
+ });
544
+ export { LineChart, buildCartesianScales, cloneLinear, computeAreaLayout, computeLineLayout, pointToBandAdapter, provideCartesianFromLineLayout };