@edsis/angular 22.1.3 → 22.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) 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 +272 -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 +1282 -0
  69. package/fesm2022/edsis-angular-chart-line.mjs +544 -0
  70. package/fesm2022/edsis-angular-chart-pie.mjs +524 -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 +2 -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-BWWWaUgy.mjs +234 -0
  144. package/fesm2022/edsis-angular-navigation-navigation-dockbar-menu.component-Bx2bxTID.mjs +834 -0
  145. package/fesm2022/edsis-angular-navigation-navigation-entry-grid.component-Duzt1ffz.mjs +823 -0
  146. package/fesm2022/edsis-angular-navigation-navigation-flyout-menu.component-cJ8Q1vM6.mjs +670 -0
  147. package/fesm2022/edsis-angular-navigation-navigation-horizontal.component-CDQ1wt2_.mjs +689 -0
  148. package/fesm2022/edsis-angular-navigation-navigation-item.component-C1VzerJp.mjs +1522 -0
  149. package/fesm2022/edsis-angular-navigation-navigation-list.component-BPYLfrID.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 +1877 -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-page-core.mjs +315 -0
  160. package/fesm2022/edsis-angular-theme-page-filter.mjs +409 -0
  161. package/fesm2022/edsis-angular-theme-page-overview.mjs +88 -0
  162. package/fesm2022/edsis-angular-theme-page-root.mjs +693 -0
  163. package/fesm2022/edsis-angular-theme-page-side.mjs +342 -0
  164. package/fesm2022/edsis-angular-theme-page-slots.mjs +258 -0
  165. package/fesm2022/edsis-angular-theme-page.mjs +7 -0
  166. package/fesm2022/edsis-angular-theme-shell-services.mjs +231 -0
  167. package/fesm2022/edsis-angular-theme-shell-types.mjs +102 -0
  168. package/fesm2022/edsis-angular-theme-shell.mjs +1352 -0
  169. package/fesm2022/edsis-angular-theme-styles.mjs +572 -0
  170. package/fesm2022/edsis-angular-theme.mjs +0 -0
  171. package/fesm2022/edsis-angular.mjs +5 -8
  172. package/navigation/README.md +576 -0
  173. package/package.json +477 -52
  174. package/sdk/README.md +212 -0
  175. package/sdk/schematics/collection.json +20 -0
  176. package/sdk/schematics/init/index.js +83 -0
  177. package/sdk/schematics/init/schema.json +19 -0
  178. package/sdk/schematics/ng-add/index.js +147 -0
  179. package/sdk/schematics/ng-add/schema.json +14 -0
  180. package/sdk/schematics/package.json +3 -0
  181. package/sdk/schematics/sdk/index.js +175 -0
  182. package/sdk/schematics/sdk/schema.json +19 -0
  183. package/sdk/sdk.config.example.json +24 -0
  184. package/sdk/src/config/loader.js +43 -0
  185. package/sdk/src/config/schema.js +59 -0
  186. package/sdk/src/emit/client.js +251 -0
  187. package/sdk/src/emit/metadata.js +310 -0
  188. package/sdk/src/emit/models.js +104 -0
  189. package/sdk/src/emit/navigation.js +56 -0
  190. package/sdk/src/emit/operations.js +118 -0
  191. package/sdk/src/emit/public-api.js +54 -0
  192. package/sdk/src/emit/services.js +110 -0
  193. package/sdk/src/engine.js +67 -0
  194. package/sdk/src/layout/per-domain.js +360 -0
  195. package/sdk/src/package.json +3 -0
  196. package/sdk/src/parser/bundle.js +25 -0
  197. package/sdk/src/parser/ir.js +429 -0
  198. package/sdk/src/parser/types.js +7 -0
  199. package/sdk/src/render/template.js +152 -0
  200. package/sdk/src/writer/index.js +286 -0
  201. package/theme/README.md +120 -0
  202. package/theme/component/settings/README.md +154 -0
  203. package/theme/layout/README.md +604 -0
  204. package/theme/page/README.md +505 -0
  205. package/theme/shell/README.md +344 -0
  206. package/theme/styles/README.md +202 -0
  207. package/theme/styles/css/base/components.css +577 -0
  208. package/theme/styles/css/base/index.css +14 -0
  209. package/theme/styles/css/base/package.css +9 -0
  210. package/theme/styles/css/base/prefers-dark.css +86 -0
  211. package/theme/styles/css/base/print.css +62 -0
  212. package/theme/styles/css/base/status.css +38 -0
  213. package/theme/styles/css/base/tailwind.css +208 -0
  214. package/theme/styles/css/base/theme.css +353 -0
  215. package/theme/styles/css/base/tokens.css +388 -0
  216. package/theme/styles/css/color/amber.css +72 -0
  217. package/theme/styles/css/color/blue.css +72 -0
  218. package/theme/styles/css/color/brand.css +38 -0
  219. package/theme/styles/css/color/cyan.css +72 -0
  220. package/theme/styles/css/color/emerald.css +72 -0
  221. package/theme/styles/css/color/fuchsia.css +72 -0
  222. package/theme/styles/css/color/green.css +72 -0
  223. package/theme/styles/css/color/index.css +19 -0
  224. package/theme/styles/css/color/indigo.css +72 -0
  225. package/theme/styles/css/color/lime.css +72 -0
  226. package/theme/styles/css/color/orange.css +72 -0
  227. package/theme/styles/css/color/pink.css +72 -0
  228. package/theme/styles/css/color/purple.css +72 -0
  229. package/theme/styles/css/color/red.css +72 -0
  230. package/theme/styles/css/color/rose.css +72 -0
  231. package/theme/styles/css/color/sky.css +72 -0
  232. package/theme/styles/css/color/teal.css +72 -0
  233. package/theme/styles/css/color/violet.css +72 -0
  234. package/theme/styles/css/color/yellow.css +72 -0
  235. package/theme/styles/css/fonts.css +85 -0
  236. package/theme/styles/css/index.css +18 -0
  237. package/theme/styles/css/neutral/gray.css +63 -0
  238. package/theme/styles/css/neutral/index.css +11 -0
  239. package/theme/styles/css/neutral/mauve.css +63 -0
  240. package/theme/styles/css/neutral/mist.css +63 -0
  241. package/theme/styles/css/neutral/neutral.css +63 -0
  242. package/theme/styles/css/neutral/olive.css +63 -0
  243. package/theme/styles/css/neutral/slate.css +63 -0
  244. package/theme/styles/css/neutral/stone.css +63 -0
  245. package/theme/styles/css/neutral/taupe.css +63 -0
  246. package/theme/styles/css/neutral/zinc.css +63 -0
  247. package/theme/styles/css/radius/index.css +30 -0
  248. package/theme/styles/css/space/index.css +20 -0
  249. package/types/edsis-angular-chart-area.d.ts +139 -0
  250. package/types/edsis-angular-chart-bar.d.ts +291 -0
  251. package/types/edsis-angular-chart-core.d.ts +822 -0
  252. package/types/edsis-angular-chart-line.d.ts +148 -0
  253. package/types/edsis-angular-chart-pie.d.ts +202 -0
  254. package/types/edsis-angular-chart-primitives.d.ts +360 -0
  255. package/types/edsis-angular-chart-radar.d.ts +198 -0
  256. package/types/edsis-angular-chart-radial.d.ts +187 -0
  257. package/types/edsis-angular-chart-scatter.d.ts +181 -0
  258. package/types/edsis-angular-chart.d.ts +3 -0
  259. package/types/edsis-angular-component-accordion.d.ts +139 -0
  260. package/types/edsis-angular-component-alert-dialog.d.ts +288 -0
  261. package/types/edsis-angular-component-alert.d.ts +72 -0
  262. package/types/edsis-angular-component-aspect-ratio.d.ts +20 -0
  263. package/types/edsis-angular-component-avatar.d.ts +111 -0
  264. package/types/edsis-angular-component-badge.d.ts +36 -0
  265. package/types/edsis-angular-component-breadcrumb.d.ts +85 -0
  266. package/types/edsis-angular-component-button-group.d.ts +50 -0
  267. package/types/edsis-angular-component-button.d.ts +44 -0
  268. package/types/edsis-angular-component-calendar.d.ts +150 -0
  269. package/types/edsis-angular-component-card.d.ts +123 -0
  270. package/types/edsis-angular-component-carousel.d.ts +155 -0
  271. package/types/edsis-angular-component-checkbox.d.ts +100 -0
  272. package/types/edsis-angular-component-collapsible.d.ts +68 -0
  273. package/types/edsis-angular-component-combobox.d.ts +105 -0
  274. package/types/edsis-angular-component-command.d.ts +215 -0
  275. package/types/edsis-angular-component-composer.d.ts +190 -0
  276. package/types/edsis-angular-component-context-menu.d.ts +64 -0
  277. package/types/edsis-angular-component-date-picker.d.ts +199 -0
  278. package/types/edsis-angular-component-dialog.d.ts +231 -0
  279. package/types/edsis-angular-component-drawer.d.ts +2 -0
  280. package/types/edsis-angular-component-dropdown-menu.d.ts +370 -0
  281. package/types/edsis-angular-component-editor.d.ts +234 -0
  282. package/types/edsis-angular-component-empty.d.ts +85 -0
  283. package/types/edsis-angular-component-form.d.ts +223 -0
  284. package/types/edsis-angular-component-hover-card.d.ts +133 -0
  285. package/types/edsis-angular-component-icon.d.ts +90 -0
  286. package/types/edsis-angular-component-input-group.d.ts +98 -0
  287. package/types/edsis-angular-component-input-otp.d.ts +249 -0
  288. package/types/edsis-angular-component-input.d.ts +31 -0
  289. package/types/edsis-angular-component-item.d.ts +169 -0
  290. package/types/edsis-angular-component-kanban.d.ts +165 -0
  291. package/types/edsis-angular-component-kbd.d.ts +25 -0
  292. package/types/edsis-angular-component-label.d.ts +19 -0
  293. package/types/edsis-angular-component-menubar.d.ts +123 -0
  294. package/types/edsis-angular-component-native-select.d.ts +39 -0
  295. package/types/edsis-angular-component-navigation-menu.d.ts +163 -0
  296. package/types/edsis-angular-component-pagination.d.ts +83 -0
  297. package/types/edsis-angular-component-pillbox.d.ts +380 -0
  298. package/types/edsis-angular-component-popover.d.ts +96 -0
  299. package/types/edsis-angular-component-progress.d.ts +45 -0
  300. package/types/edsis-angular-component-radio.d.ts +137 -0
  301. package/types/edsis-angular-component-resizable.d.ts +166 -0
  302. package/types/edsis-angular-component-scroll-area.d.ts +37 -0
  303. package/types/edsis-angular-component-segmented-control.d.ts +102 -0
  304. package/types/edsis-angular-component-select.d.ts +138 -0
  305. package/types/edsis-angular-component-separator.d.ts +26 -0
  306. package/types/edsis-angular-component-sheet.d.ts +240 -0
  307. package/types/edsis-angular-component-skeleton.d.ts +13 -0
  308. package/types/edsis-angular-component-slider.d.ts +148 -0
  309. package/types/edsis-angular-component-spinner.d.ts +31 -0
  310. package/types/edsis-angular-component-switch.d.ts +101 -0
  311. package/types/edsis-angular-component-table.d.ts +109 -0
  312. package/types/edsis-angular-component-tabs.d.ts +183 -0
  313. package/types/edsis-angular-component-textarea.d.ts +27 -0
  314. package/types/edsis-angular-component-timeline.d.ts +146 -0
  315. package/types/edsis-angular-component-toast.d.ts +60 -0
  316. package/types/edsis-angular-component-toggle-group.d.ts +161 -0
  317. package/types/edsis-angular-component-toggle.d.ts +47 -0
  318. package/types/edsis-angular-component-tooltip.d.ts +233 -0
  319. package/types/edsis-angular-component-utils-core.d.ts +175 -0
  320. package/types/edsis-angular-component-utils-overlay.d.ts +17 -0
  321. package/types/edsis-angular-component-utils-scale.d.ts +27 -0
  322. package/types/edsis-angular-component-utils.d.ts +2 -0
  323. package/types/edsis-angular-component.d.ts +1 -0
  324. package/types/edsis-angular-navigation-core.d.ts +55 -0
  325. package/types/edsis-angular-navigation-icon.d.ts +9 -0
  326. package/types/edsis-angular-navigation-service.d.ts +121 -0
  327. package/types/edsis-angular-navigation-types.d.ts +185 -0
  328. package/types/edsis-angular-navigation.d.ts +862 -0
  329. package/types/edsis-angular-sdk.d.ts +87 -0
  330. package/types/edsis-angular-theme-component-settings.d.ts +205 -0
  331. package/types/edsis-angular-theme-layout-services.d.ts +143 -0
  332. package/types/edsis-angular-theme-layout-types.d.ts +36 -0
  333. package/types/edsis-angular-theme-layout-wrapper.d.ts +670 -0
  334. package/types/edsis-angular-theme-layout.d.ts +218 -0
  335. package/types/edsis-angular-theme-page-core.d.ts +151 -0
  336. package/types/edsis-angular-theme-page-filter.d.ts +127 -0
  337. package/types/edsis-angular-theme-page-overview.d.ts +28 -0
  338. package/types/edsis-angular-theme-page-root.d.ts +172 -0
  339. package/types/edsis-angular-theme-page-side.d.ts +90 -0
  340. package/types/edsis-angular-theme-page-slots.d.ts +61 -0
  341. package/types/edsis-angular-theme-page.d.ts +7 -0
  342. package/types/edsis-angular-theme-shell-services.d.ts +188 -0
  343. package/types/edsis-angular-theme-shell-types.d.ts +102 -0
  344. package/types/edsis-angular-theme-shell.d.ts +178 -0
  345. package/types/edsis-angular-theme-styles.d.ts +295 -0
  346. package/types/edsis-angular-theme.d.ts +1 -0
  347. package/types/edsis-angular.d.ts +5 -2
  348. package/fesm2022/edsis-angular-block-shell.mjs +0 -1329
  349. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  350. package/fesm2022/edsis-angular-block-themes.mjs +0 -1007
  351. package/fesm2022/edsis-angular-block-themes.mjs.map +0 -1
  352. package/fesm2022/edsis-angular-module-auth.mjs +0 -2582
  353. package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
  354. package/fesm2022/edsis-angular-platform-mfe.mjs +0 -329
  355. package/fesm2022/edsis-angular-platform-mfe.mjs.map +0 -1
  356. package/fesm2022/edsis-angular-services-runtime.mjs +0 -385
  357. package/fesm2022/edsis-angular-services-runtime.mjs.map +0 -1
  358. package/fesm2022/edsis-angular.mjs.map +0 -1
  359. package/types/edsis-angular-block-shell.d.ts +0 -190
  360. package/types/edsis-angular-block-themes.d.ts +0 -94
  361. package/types/edsis-angular-module-auth.d.ts +0 -533
  362. package/types/edsis-angular-platform-mfe.d.ts +0 -126
  363. package/types/edsis-angular-services-runtime.d.ts +0 -118
@@ -1,533 +0,0 @@
1
- import { HttpInterceptorFn, HttpContextToken } from '@angular/common/http';
2
- import * as _angular_core from '@angular/core';
3
- import { InjectionToken, EnvironmentProviders, OnInit } from '@angular/core';
4
- import { PersistentAuthUser } from '@edsis/sdk/auth';
5
- import { CanActivateFn, Routes } from '@angular/router';
6
- import { EdsisWindowControlAction } from '@edsis/angular/services/runtime';
7
- import { LayoutService, DesktopAppBarPlatform } from '@edsis/theme/layout';
8
- import * as _edsis_angular_module_auth from '@edsis/angular/module/auth';
9
- import * as _angular_forms_signals from '@angular/forms/signals';
10
-
11
- /**
12
- * Seluruh teks yang tampil di halaman auth (login, logout, verify).
13
- * Override sebagian/seluruhnya lewat `provideEdsisAuth({ messages: ... })`
14
- * untuk deployment berbahasa lain atau branding berbeda.
15
- */
16
- interface EdsisAuthMessages {
17
- readonly brand: {
18
- /** Teks singkat di kotak logo (mis. inisial produk). */
19
- readonly mark: string;
20
- };
21
- readonly login: {
22
- readonly title: string;
23
- readonly intro: string;
24
- readonly badge: string;
25
- readonly emailPlaceholder: string;
26
- readonly submit: string;
27
- readonly submitting: string;
28
- readonly emailRequired: string;
29
- readonly emailInvalid: string;
30
- readonly magicLinkSent: string;
31
- readonly magicLinkFailed: string;
32
- readonly oauthComingSoon: string;
33
- readonly oauthGoogleAria: string;
34
- readonly oauthMicrosoftAria: string;
35
- readonly oauthAppleAria: string;
36
- readonly healthUnavailableTitle: string;
37
- readonly healthUnavailableBody: string;
38
- readonly healthRetry: string;
39
- readonly healthChecking: string;
40
- };
41
- readonly google: {
42
- readonly title: string;
43
- readonly intro: string;
44
- readonly badge: string;
45
- /** Aria tombol Google di halaman login saat sign-in aktif (config terisi). */
46
- readonly signInAria: string;
47
- /** Status di halaman login selama full-page redirect ke Google berlangsung. */
48
- readonly googleRedirecting: string;
49
- readonly gatewayStartFailed: string;
50
- readonly gatewayHandoffInProgress: string;
51
- readonly gatewaySessionMissing: string;
52
- readonly nativeSignInInProgress: string;
53
- readonly nativeSignInUnavailable: string;
54
- readonly nativeSignInFailed: string;
55
- readonly googleExchangeInProgress: string;
56
- readonly exchangeInProgressAria: string;
57
- readonly googleStateMismatch: string;
58
- readonly googleAccessDenied: string;
59
- /** Error generik callback; juga fallback saat backend tidak mengirim pesan. */
60
- readonly googleCallbackError: string;
61
- readonly googleRetry: string;
62
- readonly missingAccessToken: string;
63
- readonly successRedirect: string;
64
- readonly openDashboard: string;
65
- };
66
- readonly logout: {
67
- readonly title: string;
68
- readonly intro: string;
69
- readonly badge: string;
70
- readonly pending: string;
71
- readonly pendingAria: string;
72
- readonly success: string;
73
- readonly failed: string;
74
- readonly failedNote: string;
75
- readonly backToLogin: string;
76
- readonly openDashboard: string;
77
- };
78
- readonly verify: {
79
- readonly title: string;
80
- readonly intro: string;
81
- readonly badge: string;
82
- readonly pending: string;
83
- readonly pendingAria: string;
84
- readonly tokenMissing: string;
85
- readonly invalidOrExpired: string;
86
- readonly successRedirect: string;
87
- readonly missingAccessToken: string;
88
- readonly requestNewLink: string;
89
- readonly openDashboard: string;
90
- };
91
- }
92
- declare const DEFAULT_EDSIS_AUTH_MESSAGES: EdsisAuthMessages;
93
- /** Override per-bagian; field yang tidak diisi memakai default. */
94
- type EdsisAuthMessagesOverride = {
95
- readonly [K in keyof EdsisAuthMessages]?: Partial<EdsisAuthMessages[K]>;
96
- };
97
- declare const EDSIS_AUTH_MESSAGES: InjectionToken<EdsisAuthMessages>;
98
- declare function mergeEdsisAuthMessages(override?: EdsisAuthMessagesOverride): EdsisAuthMessages;
99
-
100
- declare const GOOGLE_AUTH_GATEWAY_DEFAULT_START_ENDPOINT: "/v1/auth/google/start";
101
- declare const GOOGLE_AUTH_GATEWAY_DEFAULT_HANDOFF_ENDPOINT: "/v1/auth/google/handoff";
102
- /**
103
- * Path route callback Google di dalam `authRoutes`; juga menjadi sumber
104
- * derivasi `redirectUri` (`${appUrl}/auth/google/callback`), sehingga URL yang
105
- * didaftarkan di Google Cloud Console selalu konsisten dengan route library.
106
- */
107
- declare const GOOGLE_OAUTH_CALLBACK_ROUTE_PATH: "auth/google/callback";
108
- /**
109
- * Health-check backend auth di halaman login (opt-in).
110
- * Sehat = HTTP 2xx dalam `timeoutMs`; body respons tidak diparse.
111
- */
112
- interface EdsisAuthHealthCheckConfig {
113
- /** Default `false` — tanpa flag, perilaku login tidak berubah. */
114
- enabled?: boolean;
115
- /** Default `${apiUrl}/health`. */
116
- url?: string;
117
- /** Default 4000. */
118
- timeoutMs?: number;
119
- }
120
- /**
121
- * Google Sign-In dengan authorization-code flow. Exchange code dilakukan
122
- * backend (`POST {apiUrl}/v1/auth/google`) sehingga client secret tidak pernah
123
- * menyentuh frontend.
124
- */
125
- interface EdsisAuthGoogleDirectOauthConfig {
126
- /** Optional for backward compatibility; omitting it selects direct mode. */
127
- mode?: 'direct';
128
- /**
129
- * OAuth 2.0 client ID dari Google Cloud Console. String kosong dianggap
130
- * tidak dikonfigurasi (tombol Google tetap placeholder), sehingga aman
131
- * meneruskan nilai environment yang di-inject build-time apa adanya.
132
- */
133
- clientId: string;
134
- }
135
- interface EdsisAuthGoogleGatewayEndpointsConfig {
136
- /**
137
- * Base URL Auth Gateway. Default `apiUrl`; jika diisi, origin-nya wajib
138
- * sama dengan `apiUrl` agar seluruh cookie/session auth tetap satu origin.
139
- */
140
- baseUrl?: string;
141
- /** Default `/v1/auth/google/start`; harus path relatif terhadap `baseUrl`. */
142
- startEndpoint?: string;
143
- /** Default `/v1/auth/google/handoff`; harus path relatif terhadap `baseUrl`. */
144
- handoffEndpoint?: string;
145
- }
146
- /**
147
- * Google Sign-In terpusat untuk MFE. Gateway memiliki konfigurasi Google dan
148
- * refresh cookie; MFE hanya memiliki ID allowlist dan PKCE verifier sekali pakai.
149
- */
150
- interface EdsisAuthGoogleGatewayOauthConfig {
151
- mode: 'gateway';
152
- /** ID lower-kebab-case yang terdaftar bersama return URL pada Auth Gateway. */
153
- mfeId: string;
154
- /** Optional jika Gateway memakai base URL dan endpoint auth standar dari `apiUrl`. */
155
- gateway?: EdsisAuthGoogleGatewayEndpointsConfig;
156
- }
157
- /** `{ clientId }` lama tetap memilih direct mode tanpa perubahan konsumer. */
158
- type EdsisAuthGoogleOauthConfig = EdsisAuthGoogleDirectOauthConfig | EdsisAuthGoogleGatewayOauthConfig;
159
- interface EdsisAuthNativeGoogleConfig {
160
- /** Default `true` saat blok konfigurasi ini diberikan. */
161
- enabled?: boolean;
162
- /** Harus path same-origin. Default `/api`. */
163
- apiUrl?: `/${string}`;
164
- }
165
- interface EdsisAuthOauthConfig {
166
- google?: EdsisAuthGoogleOauthConfig;
167
- nativeGoogle?: EdsisAuthNativeGoogleConfig;
168
- }
169
- interface EdsisAuthConfig {
170
- apiUrl: string;
171
- appUrl: string;
172
- loginPath?: string;
173
- logoutPath?: string;
174
- verifyPath?: string;
175
- authenticatedHomePath?: string;
176
- guestHomePath?: string;
177
- /** Override teks UI halaman auth (i18n/branding). */
178
- messages?: EdsisAuthMessagesOverride;
179
- /**
180
- * Interceptor tambahan dari aplikasi (mis. `layoutLoadingInterceptor` dari
181
- * `@edsis/theme/layout`), dijalankan setelah interceptor auth Edsis.
182
- */
183
- httpInterceptors?: readonly HttpInterceptorFn[];
184
- healthCheck?: EdsisAuthHealthCheckConfig;
185
- /**
186
- * Provider OAuth di halaman login (saat ini hanya Google). Callback direct
187
- * maupun Gateway tidak dikonfigurasi konsumer; library menurunkannya dari
188
- * `appUrl` sebagai `${appUrl}/auth/google/callback`.
189
- */
190
- oauth?: EdsisAuthOauthConfig;
191
- }
192
- interface ResolvedEdsisAuthHealthCheck {
193
- enabled: boolean;
194
- url: string;
195
- timeoutMs: number;
196
- }
197
- interface ResolvedEdsisAuthGoogleDirectOauth {
198
- mode: 'direct';
199
- clientId: string;
200
- /** Diturunkan dari `appUrl`: `${appUrl}/auth/google/callback`. */
201
- redirectUri: string;
202
- }
203
- interface ResolvedEdsisAuthGoogleGatewayOauth {
204
- mode: 'gateway';
205
- mfeId: string;
206
- /** Callback MFE exact yang didaftarkan pada allowlist Gateway. */
207
- returnUrl: string;
208
- gateway: {
209
- baseUrl: string;
210
- startUrl: string;
211
- handoffUrl: string;
212
- };
213
- }
214
- type ResolvedEdsisAuthGoogleOauth = ResolvedEdsisAuthGoogleDirectOauth | ResolvedEdsisAuthGoogleGatewayOauth;
215
- interface ResolvedEdsisAuthOauth {
216
- /** `null` saat Google Sign-In tidak dikonfigurasi (perilaku placeholder lama). */
217
- google: ResolvedEdsisAuthGoogleOauth | null;
218
- /** Flow native tablet; selalu memakai endpoint same-origin. */
219
- nativeGoogle: {
220
- readonly apiUrl: `/${string}`;
221
- } | null;
222
- }
223
- interface ResolvedEdsisAuthConfig {
224
- apiUrl: string;
225
- appUrl: string;
226
- loginPath: `/${string}`;
227
- logoutPath: `/${string}`;
228
- verifyPath: `/${string}`;
229
- authenticatedHomePath: `/${string}`;
230
- guestHomePath: `/${string}`;
231
- healthCheck: ResolvedEdsisAuthHealthCheck;
232
- oauth: ResolvedEdsisAuthOauth;
233
- }
234
- declare const EDSIS_AUTH_CONFIG: InjectionToken<ResolvedEdsisAuthConfig>;
235
- declare function resolveEdsisAuthConfig(config: EdsisAuthConfig): ResolvedEdsisAuthConfig;
236
-
237
- declare function provideEdsisAuth(config: EdsisAuthConfig): EnvironmentProviders;
238
-
239
- interface AuthUser extends PersistentAuthUser {
240
- readonly role?: string;
241
- }
242
- /** Native desktop features are optional; browser consumers have no bridge. */
243
- declare function setAuthNotificationBadge(unreadCount: number): Promise<void>;
244
- /**
245
- * Cookie-backed authentication state. The access token intentionally exists
246
- * only in this service instance; the long-lived refresh token is an HttpOnly
247
- * cookie owned by the server.
248
- */
249
- declare class AuthService {
250
- private readonly http;
251
- private readonly config;
252
- private readonly router;
253
- private readonly runtime;
254
- private readonly nativeGoogleAdapter;
255
- private readonly accessTokenState;
256
- private readonly userState;
257
- private refreshInFlight;
258
- private initialization;
259
- readonly accessToken: _angular_core.Signal<string>;
260
- readonly user: _angular_core.Signal<AuthUser | null>;
261
- readonly isAuthenticated: _angular_core.Signal<boolean>;
262
- get apiUrl(): string;
263
- get sessionApiUrl(): string;
264
- /** Restores an existing cookie session. A missing/expired cookie is normal. */
265
- initialize(): Promise<void>;
266
- private restoreSession;
267
- /** One shared refresh operation for initializer and concurrent 401 retries. */
268
- refresh(): Promise<boolean>;
269
- loadCurrentUser(): Promise<AuthUser | null>;
270
- logout(): Promise<void>;
271
- clearSession(): void;
272
- /** Allows existing OAuth exchanges to establish the same memory-only state. */
273
- acceptTokenResponse(response: unknown): void;
274
- redirectToLogin(): void;
275
- private applyTokenResponse;
276
- private clearNativeGoogleSession;
277
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthService, never>;
278
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthService>;
279
- }
280
-
281
- declare const authenticatedGuard: CanActivateFn;
282
- declare const homeRedirectGuard: CanActivateFn;
283
- declare const guestOnlyGuard: CanActivateFn;
284
-
285
- declare const EDSIS_SKIP_AUTH: HttpContextToken<boolean>;
286
- declare const edsisAuthInterceptor: HttpInterceptorFn;
287
-
288
- type NativeGooglePlatform = 'ios' | 'android';
289
- interface NativeGoogleSignInResult {
290
- readonly platform: NativeGooglePlatform;
291
- readonly idToken: string;
292
- readonly clientInstanceId: string;
293
- }
294
- interface EdsisNativeGoogleAuthAdapter {
295
- signInWithGoogle(input: {
296
- readonly nonce: string;
297
- }): Promise<NativeGoogleSignInResult>;
298
- signOutFromGoogle(): Promise<void>;
299
- }
300
- declare const EDSIS_NATIVE_GOOGLE_AUTH_ADAPTER: InjectionToken<EdsisNativeGoogleAuthAdapter>;
301
- declare class TauriNativeGoogleAuthAdapter implements EdsisNativeGoogleAuthAdapter {
302
- signInWithGoogle(input: {
303
- readonly nonce: string;
304
- }): Promise<NativeGoogleSignInResult>;
305
- signOutFromGoogle(): Promise<void>;
306
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TauriNativeGoogleAuthAdapter, never>;
307
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<TauriNativeGoogleAuthAdapter>;
308
- }
309
- declare function isNativeGoogleSignInResult(value: unknown): value is NativeGoogleSignInResult;
310
-
311
- declare class NativeGoogleAuthService {
312
- private readonly http;
313
- private readonly auth;
314
- private readonly config;
315
- private readonly runtime;
316
- private readonly adapter;
317
- readonly requiresNativeGoogle: _angular_core.Signal<boolean>;
318
- readonly isAvailable: _angular_core.Signal<boolean>;
319
- signIn(): Promise<void>;
320
- private exchangeNativeToken;
321
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<NativeGoogleAuthService, never>;
322
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<NativeGoogleAuthService>;
323
- }
324
-
325
- declare const GOOGLE_GATEWAY_SESSION_STORAGE_KEY = "auth-google-gateway-session";
326
- declare const GOOGLE_GATEWAY_SESSION_VERSION: 1;
327
- interface GoogleGatewaySession {
328
- readonly version: typeof GOOGLE_GATEWAY_SESSION_VERSION;
329
- readonly mfeId: string;
330
- readonly returnUrl: string;
331
- readonly codeVerifier: string;
332
- readonly expiresAt: number;
333
- }
334
- interface GoogleGatewaySessionExpectation {
335
- readonly mfeId: string;
336
- readonly returnUrl: string;
337
- readonly now?: number;
338
- }
339
- /** RFC 7636 verifier with 256 bits of entropy and no persisted token material. */
340
- declare function createGooglePkceVerifier(windowRef: Window): string;
341
- /** RFC 7636 S256 challenge for the verifier retained in the one-time session. */
342
- declare function createGooglePkceChallenge(windowRef: Window, codeVerifier: string): Promise<string>;
343
- /** Stores only the verifier and short-lived correlation metadata. */
344
- declare function storeGoogleGatewaySession(documentRef: Document, session: GoogleGatewaySession): void;
345
- declare function clearGoogleGatewaySession(documentRef: Document): void;
346
- /**
347
- * Consumes the PKCE session exactly once. Malformed, expired, or cross-MFE
348
- * records fail closed after removal so they cannot be replayed.
349
- */
350
- declare function consumeGoogleGatewaySession(documentRef: Document, expected: GoogleGatewaySessionExpectation): GoogleGatewaySession | null;
351
-
352
- /** HTTP client for the central Google Auth Gateway mode. */
353
- declare class GoogleGatewayAuthService {
354
- private readonly config;
355
- private readonly documentRef;
356
- private readonly http;
357
- start(): Promise<string>;
358
- consumeSession(): GoogleGatewaySession | null;
359
- exchangeHandoff(handoffCode: string, session: GoogleGatewaySession): Promise<unknown>;
360
- private requireGatewayConfig;
361
- private requireWindow;
362
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoogleGatewayAuthService, never>;
363
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<GoogleGatewayAuthService>;
364
- }
365
-
366
- declare const GOOGLE_OAUTH_STATE_STORAGE_KEY = "auth-google-state";
367
- declare const GOOGLE_OAUTH_AUTHORIZE_URL = "https://accounts.google.com/o/oauth2/v2/auth";
368
- interface GoogleAuthorizeUrlOptions {
369
- clientId: string;
370
- redirectUri: string;
371
- state: string;
372
- }
373
- /** Nilai `state` acak berbasis crypto (anti-CSRF untuk round-trip OAuth). */
374
- declare function createGoogleOauthState(windowRef: Window): string;
375
- declare function buildGoogleAuthorizeUrl(options: GoogleAuthorizeUrlOptions): string;
376
- declare function storeGoogleOauthState(documentRef: Document, state: string): void;
377
- /**
378
- * Baca lalu hapus state dari sessionStorage. State sekali pakai: dikonsumsi di
379
- * semua cabang callback agar tidak bocor ke percobaan login berikutnya.
380
- */
381
- declare function consumeGoogleOauthState(documentRef: Document): string;
382
-
383
- declare const authRoutes: Routes;
384
-
385
- declare class AuthShellPage {
386
- private readonly runtimeContext;
387
- private readonly nativeHost;
388
- protected readonly layout: LayoutService;
389
- protected readonly isDesktopAppearance: _angular_core.Signal<boolean>;
390
- protected readonly desktopAppBarPlatform: _angular_core.Signal<DesktopAppBarPlatform | null | undefined>;
391
- protected onDesktopWindowControlRequested(action: EdsisWindowControlAction): void;
392
- protected onDesktopWindowDragRequested(): void;
393
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthShellPage, never>;
394
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthShellPage, "edsis-auth-shell-page", never, {}, {}, never, never, true, never>;
395
- }
396
-
397
- declare class AuthGoogleCallbackPage {
398
- private readonly documentRef;
399
- private readonly destroyRef;
400
- private readonly injector;
401
- private readonly route;
402
- private readonly router;
403
- private readonly location;
404
- private readonly authSessionService;
405
- private readonly authService;
406
- private readonly authConfig;
407
- private readonly googleGateway;
408
- protected readonly messages: _edsis_angular_module_auth.EdsisAuthMessages;
409
- protected readonly loginPath: `/${string}`;
410
- protected readonly authenticatedHomePath: `/${string}`;
411
- protected readonly state: _angular_core.WritableSignal<"pending" | "success" | "error">;
412
- protected readonly message: _angular_core.WritableSignal<string>;
413
- private readonly retryLink;
414
- constructor();
415
- private handleCallback;
416
- private clearCallbackParamsFromAddressBar;
417
- private exchangeDirectCode;
418
- private exchangeGatewayHandoff;
419
- private complete;
420
- private callbackErrorMessage;
421
- private fail;
422
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthGoogleCallbackPage, never>;
423
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthGoogleCallbackPage, "AuthGoogleCallbackPage", never, {}, {}, never, never, true, never>;
424
- }
425
-
426
- type AuthHealthStatus = 'idle' | 'checking' | 'healthy' | 'unhealthy';
427
- /**
428
- * Health-check backend auth untuk `AuthLoginPage` (internal, di-provide oleh
429
- * `provideEdsisAuth`). Sehat = HTTP 2xx dalam `timeoutMs`; body tidak diparse.
430
- * Tanpa polling — hanya on-load, pre-submit, dan Retry manual.
431
- */
432
- declare class AuthHealthService {
433
- private readonly http;
434
- private readonly config;
435
- private readonly _status;
436
- readonly status: _angular_core.Signal<AuthHealthStatus>;
437
- readonly isChecking: _angular_core.Signal<boolean>;
438
- readonly isUnhealthy: _angular_core.Signal<boolean>;
439
- private inFlight;
440
- /** true jika sehat ATAU health-check dimatikan. Tak pernah throw. */
441
- check(): Promise<boolean>;
442
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthHealthService, never>;
443
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthHealthService>;
444
- }
445
-
446
- declare class AuthLoginPage {
447
- private readonly documentRef;
448
- private readonly destroyRef;
449
- private readonly injector;
450
- private readonly authMagicLinkService;
451
- private readonly authConfig;
452
- private readonly googleGateway;
453
- private readonly nativeGoogle;
454
- private readonly router;
455
- protected readonly messages: _edsis_angular_module_auth.EdsisAuthMessages;
456
- protected readonly health: AuthHealthService;
457
- protected readonly googleOauth: _edsis_angular_module_auth.ResolvedEdsisAuthGoogleOauth | null;
458
- protected readonly isGoogleRedirecting: _angular_core.WritableSignal<boolean>;
459
- protected readonly googleErrorMessage: _angular_core.WritableSignal<string | null>;
460
- protected readonly requiresNativeGoogle: _angular_core.Signal<boolean>;
461
- protected readonly isNativeGoogle: _angular_core.Signal<boolean>;
462
- protected readonly googleSignInAvailable: _angular_core.Signal<boolean>;
463
- protected readonly googleFeedbackMessage: _angular_core.Signal<string | null>;
464
- protected readonly googleProgressMessage: _angular_core.Signal<string>;
465
- private readonly loginModel;
466
- protected readonly form: _angular_forms_signals.FieldTree<{
467
- email: string;
468
- }, string | number, "writable">;
469
- protected readonly responseMessage: _angular_core.WritableSignal<string | null>;
470
- protected readonly errorMessage: _angular_core.WritableSignal<string | null>;
471
- protected readonly emailFeedbackId = "email-feedback";
472
- protected readonly healthBannerId = "auth-health-banner";
473
- private readonly retryButton;
474
- constructor();
475
- protected readonly hasInlineError: _angular_core.Signal<boolean>;
476
- protected readonly inlineErrorMessage: _angular_core.Signal<string | null>;
477
- protected readonly feedbackMessage: _angular_core.Signal<string | null>;
478
- protected readonly feedbackTone: _angular_core.Signal<"success" | "error" | null>;
479
- protected readonly fieldTone: _angular_core.Signal<"success" | "error" | "idle">;
480
- protected readonly emailFieldClasses: _angular_core.Signal<"flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base!" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-destructive focus-within:border-destructive focus-within:ring-destructive/20" | "flex-nowrap bg-background/70 shadow-sm [&>[data-slot=input-group-control]]:h-12! [&>[data-slot=input-group-control]]:px-4! [&>[data-slot=input-group-control]]:text-base! border-emerald-500 focus-within:border-emerald-500 focus-within:ring-emerald-500/20">;
481
- protected retryHealth(): void;
482
- protected signInWithGoogle(): void;
483
- private signInWithGatewayGoogle;
484
- private signInWithNativeGoogle;
485
- protected redirectTo(url: string): void;
486
- protected submit(): Promise<void>;
487
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLoginPage, never>;
488
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLoginPage, "edsis-auth-login-page", never, {}, {}, never, never, true, never>;
489
- }
490
-
491
- declare class AuthLogoutPage implements OnInit {
492
- private readonly destroyRef;
493
- private readonly router;
494
- private readonly authService;
495
- private readonly authConfig;
496
- protected readonly messages: _edsis_angular_module_auth.EdsisAuthMessages;
497
- protected readonly guestHomePath: `/${string}`;
498
- protected readonly authenticatedHomePath: `/${string}`;
499
- protected readonly state: _angular_core.WritableSignal<"pending" | "success" | "error">;
500
- protected readonly message: _angular_core.WritableSignal<string>;
501
- ngOnInit(): void;
502
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLogoutPage, never>;
503
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthLogoutPage, "edsis-auth-logout-page", never, {}, {}, never, never, true, never>;
504
- }
505
-
506
- declare class AuthVerifyPage {
507
- private readonly documentRef;
508
- private readonly destroyRef;
509
- private readonly route;
510
- private readonly router;
511
- private readonly location;
512
- private readonly authMagicLinkService;
513
- private readonly authConfig;
514
- private readonly authService;
515
- protected readonly messages: _edsis_angular_module_auth.EdsisAuthMessages;
516
- private readonly queryParamMap;
517
- private readonly fragment;
518
- private handledToken;
519
- private verifySubscription;
520
- protected readonly guestHomePath: `/${string}`;
521
- protected readonly authenticatedHomePath: `/${string}`;
522
- protected readonly state: _angular_core.WritableSignal<"pending" | "success" | "error">;
523
- protected readonly message: _angular_core.WritableSignal<string>;
524
- protected readonly token: _angular_core.InputSignal<string | null | undefined>;
525
- constructor();
526
- private clearTokenFromAddressBar;
527
- private verify;
528
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthVerifyPage, never>;
529
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthVerifyPage, "edsis-auth-verify-page", never, { "token": { "alias": "token"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
530
- }
531
-
532
- export { AuthGoogleCallbackPage, AuthLoginPage, AuthLogoutPage, AuthService, AuthShellPage, AuthVerifyPage, DEFAULT_EDSIS_AUTH_MESSAGES, EDSIS_AUTH_CONFIG, EDSIS_AUTH_MESSAGES, EDSIS_NATIVE_GOOGLE_AUTH_ADAPTER, EDSIS_SKIP_AUTH, GOOGLE_AUTH_GATEWAY_DEFAULT_HANDOFF_ENDPOINT, GOOGLE_AUTH_GATEWAY_DEFAULT_START_ENDPOINT, GOOGLE_GATEWAY_SESSION_STORAGE_KEY, GOOGLE_GATEWAY_SESSION_VERSION, GOOGLE_OAUTH_AUTHORIZE_URL, GOOGLE_OAUTH_CALLBACK_ROUTE_PATH, GOOGLE_OAUTH_STATE_STORAGE_KEY, GoogleGatewayAuthService, NativeGoogleAuthService, TauriNativeGoogleAuthAdapter, authRoutes, authenticatedGuard, buildGoogleAuthorizeUrl, clearGoogleGatewaySession, consumeGoogleGatewaySession, consumeGoogleOauthState, createGoogleOauthState, createGooglePkceChallenge, createGooglePkceVerifier, edsisAuthInterceptor, guestOnlyGuard, homeRedirectGuard, isNativeGoogleSignInResult, mergeEdsisAuthMessages, provideEdsisAuth, resolveEdsisAuthConfig, setAuthNotificationBadge, storeGoogleGatewaySession, storeGoogleOauthState };
533
- export type { AuthUser, EdsisAuthConfig, EdsisAuthGoogleDirectOauthConfig, EdsisAuthGoogleGatewayEndpointsConfig, EdsisAuthGoogleGatewayOauthConfig, EdsisAuthGoogleOauthConfig, EdsisAuthHealthCheckConfig, EdsisAuthMessages, EdsisAuthMessagesOverride, EdsisAuthNativeGoogleConfig, EdsisAuthOauthConfig, EdsisNativeGoogleAuthAdapter, GoogleAuthorizeUrlOptions, GoogleGatewaySession, GoogleGatewaySessionExpectation, NativeGooglePlatform, NativeGoogleSignInResult, ResolvedEdsisAuthConfig, ResolvedEdsisAuthGoogleDirectOauth, ResolvedEdsisAuthGoogleGatewayOauth, ResolvedEdsisAuthGoogleOauth, ResolvedEdsisAuthHealthCheck, ResolvedEdsisAuthOauth };
@@ -1,126 +0,0 @@
1
- import { InjectionToken, EnvironmentProviders } from '@angular/core';
2
- import { AppPreferencesDefaults } from '@edsis/angular/block/themes';
3
- import { EdsisAuthConfig } from '@edsis/angular/module/auth';
4
- import { EdsisRuntimeConfig } from '@edsis/angular/services/runtime';
5
- import { Routes } from '@angular/router';
6
- import { NavigationItem } from '@edsis/navigation';
7
-
8
- declare const APPLICATION_PROFILE_NAMES: readonly ["mfe-standalone"];
9
- declare const DEFAULT_APPLICATION_PROFILE_NAME: "mfe-standalone";
10
- type ApplicationProfileName = (typeof APPLICATION_PROFILE_NAMES)[number];
11
-
12
- /** Centrally managed visual and structural defaults for a standalone MFE. */
13
- interface ApplicationProfile {
14
- readonly name: ApplicationProfileName;
15
- readonly defaults: AppPreferencesDefaults;
16
- }
17
- declare const MFE_STANDALONE_APPLICATION_PROFILE: ApplicationProfile;
18
- declare const APPLICATION_PROFILES: Readonly<{
19
- 'mfe-standalone': ApplicationProfile;
20
- }>;
21
- declare const MFE_APPLICATION_PROFILE: InjectionToken<ApplicationProfile>;
22
- interface StandaloneMfeConfig {
23
- readonly auth: EdsisAuthConfig;
24
- readonly runtime?: EdsisRuntimeConfig;
25
- /** Exact registry field; MFEs cannot invent per-app global profiles. */
26
- readonly standaloneProfile: ApplicationProfileName;
27
- }
28
- declare function applicationProfile(name?: ApplicationProfileName): ApplicationProfile;
29
- /**
30
- * Composes the global providers used only by a standalone MFE application.
31
- * Federated feature routes must inherit these singletons from their host and
32
- * therefore must never call this provider.
33
- */
34
- declare function provideStandaloneMfe(config: StandaloneMfeConfig): EnvironmentProviders;
35
-
36
- declare const MFE_CONTRACT_VERSION: 1;
37
- declare const MFE_ENTRY_EXPOSURE: "./Mfe";
38
- declare const MFE_EXPOSURE_KINDS: readonly ["contract", "routes", "page", "component"];
39
- declare const MFE_CAPABILITY_MODES: readonly ["required", "optional", "provided"];
40
- declare const MFE_PLATFORM_CAPABILITIES: {
41
- readonly auth: "edsis.auth";
42
- readonly loading: "edsis.loading";
43
- readonly navigation: "edsis.navigation";
44
- readonly runtime: "edsis.runtime";
45
- readonly theme: "edsis.theme";
46
- };
47
- type MfeContractVersion = typeof MFE_CONTRACT_VERSION;
48
- type MfeExposureKind = (typeof MFE_EXPOSURE_KINDS)[number];
49
- type MfeCapabilityMode = (typeof MFE_CAPABILITY_MODES)[number];
50
- type MfeId = string;
51
- type MfeExposureKey = `./${string}`;
52
- type MfeCapabilityId = string;
53
- /** A host capability consumed or supplied by the MFE contract. */
54
- interface MfeCapabilityDescriptor {
55
- readonly id: MfeCapabilityId;
56
- /** Capability compatibility is versioned by a positive major number. */
57
- readonly version: number;
58
- readonly mode: MfeCapabilityMode;
59
- readonly description?: string;
60
- }
61
- /** Metadata for every module exposed in the remote federation configuration. */
62
- interface MfeExposureDescriptor {
63
- readonly key: MfeExposureKey;
64
- readonly kind: MfeExposureKind;
65
- /** Contract major in which this exposure became public. */
66
- readonly since: MfeContractVersion;
67
- /** Export to read from the loaded module. Omit for its default export. */
68
- readonly exportName?: string;
69
- /** Capability IDs associated with this exposure when it is rendered directly. */
70
- readonly capabilities?: readonly MfeCapabilityId[];
71
- readonly description?: string;
72
- }
73
- /**
74
- * Public, shell-free contract exposed from `./Mfe` by every EDSIS remote.
75
- *
76
- * The host owns global shell, theme, authentication, navigation state, runtime,
77
- * and loading services. The remote contributes only feature routes,
78
- * navigation metadata, capabilities, and optional direct exposures.
79
- */
80
- interface MfeContractV1 {
81
- readonly contractVersion: MfeContractVersion;
82
- readonly id: MfeId;
83
- readonly displayName: string;
84
- readonly featureRoutes: Routes;
85
- readonly navigation: readonly NavigationItem[];
86
- readonly capabilities: readonly MfeCapabilityDescriptor[];
87
- readonly exposures: readonly MfeExposureDescriptor[];
88
- }
89
- type MfeContract = MfeContractV1;
90
- type MfeContractIssueCode = 'duplicate_capability' | 'duplicate_exposure' | 'invalid_capability' | 'invalid_contract' | 'invalid_exposure' | 'invalid_id' | 'invalid_navigation' | 'invalid_routes' | 'missing_entry_exposure' | 'unknown_capability' | 'unsupported_version';
91
- interface MfeContractIssue {
92
- readonly code: MfeContractIssueCode;
93
- readonly path: string;
94
- readonly message: string;
95
- }
96
- /** Host-side registry expectations applied after the remote shape is trusted. */
97
- interface MfeContractExpectation {
98
- readonly id: string;
99
- readonly supportedContractVersions: readonly number[];
100
- }
101
- type MfeContractValidationResult = {
102
- readonly valid: true;
103
- readonly contract: MfeContract;
104
- readonly issues: readonly [];
105
- } | {
106
- readonly valid: false;
107
- readonly issues: readonly MfeContractIssue[];
108
- };
109
- declare class MfeContractValidationError extends Error {
110
- readonly issues: readonly MfeContractIssue[];
111
- constructor(issuesOrMessage: readonly MfeContractIssue[] | string);
112
- }
113
- /** Keeps literal inference while rejecting an invalid contract during remote evaluation. */
114
- declare function defineMfe<const Contract extends MfeContractV1>(contract: Contract): Contract;
115
- declare function isMfeContract(value: unknown): value is MfeContract;
116
- declare function assertMfeContract(value: unknown): asserts value is MfeContract;
117
- /**
118
- * Reads the exact named `mfe` export from an untrusted federation namespace.
119
- * Shape validation runs before registry identity and supported-major checks.
120
- */
121
- declare function readMfeContract(remoteModule: unknown, expectation: MfeContractExpectation): MfeContractV1;
122
- /** Validates an untrusted remote value before the host reads routes or exposures from it. */
123
- declare function validateMfeContract(value: unknown): MfeContractValidationResult;
124
-
125
- export { APPLICATION_PROFILES, APPLICATION_PROFILE_NAMES, DEFAULT_APPLICATION_PROFILE_NAME, MFE_APPLICATION_PROFILE, MFE_CAPABILITY_MODES, MFE_CONTRACT_VERSION, MFE_ENTRY_EXPOSURE, MFE_EXPOSURE_KINDS, MFE_PLATFORM_CAPABILITIES, MFE_STANDALONE_APPLICATION_PROFILE, MfeContractValidationError, applicationProfile, assertMfeContract, defineMfe, isMfeContract, provideStandaloneMfe, readMfeContract, validateMfeContract };
126
- export type { ApplicationProfile, ApplicationProfileName, MfeCapabilityDescriptor, MfeCapabilityId, MfeCapabilityMode, MfeContract, MfeContractExpectation, MfeContractIssue, MfeContractIssueCode, MfeContractV1, MfeContractValidationResult, MfeContractVersion, MfeExposureDescriptor, MfeExposureKey, MfeExposureKind, MfeId, StandaloneMfeConfig };