@edsis/angular 22.1.6 → 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,385 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, signal, computed, Service, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';
3
- import { DOCUMENT } from '@angular/common';
4
-
5
- const EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION = 1;
6
- const EDSIS_RUNTIME_SCHEMA_VERSION = 2;
7
- const EDSIS_RUNTIME_PLATFORMS = [
8
- 'windows',
9
- 'macos',
10
- 'linux',
11
- 'ios',
12
- 'android',
13
- 'web',
14
- ];
15
- const EDSIS_DEVICE_TYPES = ['browser', 'windows', 'macos', 'android', 'ipados'];
16
- const EDSIS_RUNTIME_CAPABILITIES = [
17
- 'window-controls',
18
- 'window-layout',
19
- 'app-menu',
20
- 'tray',
21
- 'notification-badge',
22
- 'native-notification',
23
- 'dialog',
24
- 'clipboard-text',
25
- 'open-url',
26
- 'network-diagnostics',
27
- 'google-native-sign-in',
28
- ];
29
- const RUNTIME_HOSTS = new Set(['tauri', 'browser']);
30
- const RUNTIME_ENVIRONMENTS = new Set([
31
- 'production',
32
- 'development',
33
- 'local',
34
- ]);
35
- const RUNTIME_PLATFORMS = new Set(EDSIS_RUNTIME_PLATFORMS);
36
- const DEVICE_TYPES = new Set(EDSIS_DEVICE_TYPES);
37
- const DEVICE_FAMILIES = new Set(['desktop', 'tablet', 'responsive']);
38
- const UI_PROFILES = new Set(['desktop', 'tablet', 'responsive']);
39
- const RUNTIME_CAPABILITIES = new Set(EDSIS_RUNTIME_CAPABILITIES);
40
- function isEdsisRuntimeContextV1(value) {
41
- return (isRuntimeContextBase(value, EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION) &&
42
- resolveDeviceType(value) !== null);
43
- }
44
- function isEdsisRuntimeContextV2(value) {
45
- if (!isRuntimeContextBase(value, EDSIS_RUNTIME_SCHEMA_VERSION)) {
46
- return false;
47
- }
48
- const deviceType = value['deviceType'];
49
- return isSetMember(DEVICE_TYPES, deviceType) && resolveDeviceType(value) === deviceType;
50
- }
51
- /** Validate either supported wire schema and normalize it to the immutable V2 contract. */
52
- function normalizeEdsisRuntimeContext(value) {
53
- if (isEdsisRuntimeContextV2(value)) {
54
- return freezeEdsisRuntimeContext(value);
55
- }
56
- if (!isEdsisRuntimeContextV1(value)) {
57
- return null;
58
- }
59
- const deviceType = resolveDeviceType(value);
60
- if (!deviceType) {
61
- return null;
62
- }
63
- return freezeEdsisRuntimeContext({
64
- ...value,
65
- schemaVersion: EDSIS_RUNTIME_SCHEMA_VERSION,
66
- deviceType,
67
- });
68
- }
69
- function freezeEdsisRuntimeContext(context) {
70
- const capabilities = Object.freeze([...new Set(context.capabilities)]);
71
- const app = Object.freeze({ ...context.app });
72
- return Object.freeze({ ...context, app, capabilities });
73
- }
74
- function createBrowserRuntimeContext(environment) {
75
- return freezeEdsisRuntimeContext({
76
- schemaVersion: EDSIS_RUNTIME_SCHEMA_VERSION,
77
- host: 'browser',
78
- environment,
79
- platform: 'web',
80
- deviceType: 'browser',
81
- deviceFamily: 'responsive',
82
- uiProfile: 'responsive',
83
- app: {
84
- identifier: 'web',
85
- name: 'EDSIS Web',
86
- version: '',
87
- arch: 'web',
88
- debug: environment !== 'production',
89
- },
90
- capabilities: [],
91
- });
92
- }
93
- function isRuntimeContextBase(value, schemaVersion) {
94
- if (!isRecord(value) || value['schemaVersion'] !== schemaVersion) {
95
- return false;
96
- }
97
- const app = value['app'];
98
- const capabilities = value['capabilities'];
99
- return (isSetMember(RUNTIME_HOSTS, value['host']) &&
100
- isSetMember(RUNTIME_ENVIRONMENTS, value['environment']) &&
101
- isSetMember(RUNTIME_PLATFORMS, value['platform']) &&
102
- isSetMember(DEVICE_FAMILIES, value['deviceFamily']) &&
103
- isSetMember(UI_PROFILES, value['uiProfile']) &&
104
- isRecord(app) &&
105
- isNonEmptyString(app['identifier']) &&
106
- isNonEmptyString(app['name']) &&
107
- typeof app['version'] === 'string' &&
108
- isNonEmptyString(app['arch']) &&
109
- typeof app['debug'] === 'boolean' &&
110
- Array.isArray(capabilities) &&
111
- capabilities.every((capability) => isSetMember(RUNTIME_CAPABILITIES, capability)));
112
- }
113
- function resolveDeviceType(context) {
114
- const { host, platform, deviceFamily, uiProfile } = context;
115
- if (host === 'browser') {
116
- return platform === 'web' && deviceFamily === 'responsive' && uiProfile === 'responsive'
117
- ? 'browser'
118
- : null;
119
- }
120
- if (platform === 'windows' && deviceFamily === 'desktop' && uiProfile === 'desktop') {
121
- return 'windows';
122
- }
123
- if (platform === 'macos' && deviceFamily === 'desktop' && uiProfile === 'desktop') {
124
- return 'macos';
125
- }
126
- if (platform === 'android' && deviceFamily === 'tablet' && uiProfile === 'tablet') {
127
- return 'android';
128
- }
129
- if (platform === 'ios' && deviceFamily === 'tablet' && uiProfile === 'tablet') {
130
- return 'ipados';
131
- }
132
- return null;
133
- }
134
- function isRecord(value) {
135
- return typeof value === 'object' && value !== null && !Array.isArray(value);
136
- }
137
- function isNonEmptyString(value) {
138
- return typeof value === 'string' && value.trim().length > 0;
139
- }
140
- function isSetMember(values, value) {
141
- return typeof value === 'string' && values.has(value);
142
- }
143
-
144
- const EDSIS_RUNTIME_CONFIG = new InjectionToken('EDSIS_RUNTIME_CONFIG');
145
-
146
- const EDSIS_RUNTIME_READY_EVENT = 'edsis:runtime-ready';
147
- class RuntimeContextService {
148
- documentRef = inject(DOCUMENT);
149
- config = inject(EDSIS_RUNTIME_CONFIG);
150
- contextState = signal(createBrowserRuntimeContext(this.config.browserEnvironment), /* @ts-ignore */
151
- ...(ngDevMode ? [{ debugName: "contextState" }] : /* istanbul ignore next */ []));
152
- initialization = null;
153
- context = this.contextState.asReadonly();
154
- deviceType = computed(() => this.contextState().deviceType, /* @ts-ignore */
155
- ...(ngDevMode ? [{ debugName: "deviceType" }] : /* istanbul ignore next */ []));
156
- isDesktopShell = computed(() => this.contextState().host === 'tauri' &&
157
- (this.deviceType() === 'windows' || this.deviceType() === 'macos'), /* @ts-ignore */
158
- ...(ngDevMode ? [{ debugName: "isDesktopShell" }] : /* istanbul ignore next */ []));
159
- isTabletShell = computed(() => this.contextState().host === 'tauri' &&
160
- (this.deviceType() === 'android' || this.deviceType() === 'ipados'), /* @ts-ignore */
161
- ...(ngDevMode ? [{ debugName: "isTabletShell" }] : /* istanbul ignore next */ []));
162
- isIPadOS = computed(() => this.deviceType() === 'ipados', /* @ts-ignore */
163
- ...(ngDevMode ? [{ debugName: "isIPadOS" }] : /* istanbul ignore next */ []));
164
- isAndroidTablet = computed(() => this.deviceType() === 'android', /* @ts-ignore */
165
- ...(ngDevMode ? [{ debugName: "isAndroidTablet" }] : /* istanbul ignore next */ []));
166
- initialize() {
167
- this.initialization ??= this.resolveContext();
168
- return this.initialization;
169
- }
170
- supports(capability) {
171
- return this.contextState().capabilities.includes(capability);
172
- }
173
- async resolveContext() {
174
- const windowRef = this.documentRef.defaultView;
175
- if (!windowRef) {
176
- this.applyContext(createBrowserRuntimeContext(this.config.browserEnvironment));
177
- return;
178
- }
179
- const hasNativeHost = hasTauriInternals$1(windowRef);
180
- const initialContext = normalizeEdsisRuntimeContext(windowRef.EDSIS_RUNTIME);
181
- if (initialContext &&
182
- ((hasNativeHost && initialContext.host === 'tauri') ||
183
- (!hasNativeHost && initialContext.host === 'browser'))) {
184
- this.applyContext(initialContext);
185
- return;
186
- }
187
- if (!hasNativeHost) {
188
- this.applyContext(createBrowserRuntimeContext(this.config.browserEnvironment));
189
- return;
190
- }
191
- const eventContext = waitForRuntimeReadyEvent(windowRef, this.config.eventTimeoutMs);
192
- const commandContext = await invokeRuntimeContext();
193
- if (commandContext)
194
- eventContext.cancel();
195
- const context = commandContext ?? (await eventContext.promise);
196
- if (!context) {
197
- throw new Error('Tauri runtime did not provide a valid native runtime context.');
198
- }
199
- this.applyContext(context);
200
- }
201
- applyContext(context) {
202
- const frozenContext = freezeEdsisRuntimeContext(context);
203
- this.contextState.set(frozenContext);
204
- const root = this.documentRef.documentElement;
205
- root.dataset['edsisHost'] = frozenContext.host;
206
- root.dataset['edsisPlatform'] = frozenContext.platform;
207
- root.dataset['edsisDevice'] = frozenContext.deviceFamily;
208
- root.dataset['edsisDeviceType'] = frozenContext.deviceType;
209
- root.dataset['edsisUiProfile'] = frozenContext.uiProfile;
210
- }
211
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: RuntimeContextService, deps: [], target: i0.ɵɵFactoryTarget.Service });
212
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.0", ngImport: i0, type: RuntimeContextService, autoProvided: false });
213
- }
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: RuntimeContextService, decorators: [{
215
- type: Service,
216
- args: [{ autoProvided: false }]
217
- }] });
218
- async function invokeRuntimeContext() {
219
- try {
220
- const { invoke } = await import('@tauri-apps/api/core');
221
- const value = await invoke('runtime_context');
222
- const context = normalizeEdsisRuntimeContext(value);
223
- return context?.host === 'tauri' ? context : null;
224
- }
225
- catch {
226
- return null;
227
- }
228
- }
229
- function hasTauriInternals$1(windowRef) {
230
- const internals = Reflect.get(windowRef, '__TAURI_INTERNALS__');
231
- return typeof internals === 'object' && internals !== null;
232
- }
233
- function waitForRuntimeReadyEvent(windowRef, timeoutMs) {
234
- let cancel = () => undefined;
235
- const promise = new Promise((resolve) => {
236
- let settled = false;
237
- const finish = (context) => {
238
- if (settled)
239
- return;
240
- settled = true;
241
- windowRef.removeEventListener(EDSIS_RUNTIME_READY_EVENT, onRuntimeReady);
242
- windowRef.clearTimeout(timeoutId);
243
- resolve(context);
244
- };
245
- const onRuntimeReady = (event) => {
246
- const detail = 'detail' in event ? event.detail : null;
247
- const context = normalizeEdsisRuntimeContext(detail);
248
- finish(context?.host === 'tauri' ? context : null);
249
- };
250
- const timeoutId = windowRef.setTimeout(() => finish(null), timeoutMs);
251
- windowRef.addEventListener(EDSIS_RUNTIME_READY_EVENT, onRuntimeReady, { once: true });
252
- cancel = () => finish(null);
253
- });
254
- return { promise, cancel };
255
- }
256
-
257
- class NativeHostService {
258
- runtime = inject(RuntimeContextService);
259
- supports(capability) {
260
- return this.runtime.context().host === 'tauri' && this.runtime.supports(capability);
261
- }
262
- async emitWindowControl(action) {
263
- if (!this.supports('window-controls'))
264
- return;
265
- const { emit } = await import('@tauri-apps/api/event');
266
- await emit('edsis:window-control', action);
267
- }
268
- async startDragging() {
269
- if (!this.supports('window-controls'))
270
- return;
271
- try {
272
- const { getCurrentWindow } = await import('@tauri-apps/api/window');
273
- await getCurrentWindow().startDragging();
274
- }
275
- catch {
276
- const { emit } = await import('@tauri-apps/api/event');
277
- await emit('edsis:window-drag');
278
- }
279
- }
280
- async setNotificationBadge(unreadCount) {
281
- if (!this.supports('notification-badge'))
282
- return;
283
- await invokeNotificationBadge(unreadCount);
284
- }
285
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: NativeHostService, deps: [], target: i0.ɵɵFactoryTarget.Service });
286
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.0", ngImport: i0, type: NativeHostService, autoProvided: false });
287
- }
288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: NativeHostService, decorators: [{
289
- type: Service,
290
- args: [{ autoProvided: false }]
291
- }] });
292
- /** Browser-safe compatibility helper for callers outside Angular injection. */
293
- async function setNativeNotificationBadge(unreadCount) {
294
- if (typeof window === 'undefined' || !hasTauriInternals(window))
295
- return;
296
- try {
297
- await invokeNotificationBadge(unreadCount);
298
- }
299
- catch {
300
- // Native integration is optional for browser consumers and older shells.
301
- }
302
- }
303
- async function invokeNotificationBadge(unreadCount) {
304
- const { invoke } = await import('@tauri-apps/api/core');
305
- await invoke('set_notification_badge', { unreadCount });
306
- }
307
- function hasTauriInternals(windowRef) {
308
- const internals = Reflect.get(windowRef, '__TAURI_INTERNALS__');
309
- return typeof internals === 'object' && internals !== null;
310
- }
311
-
312
- const EDSIS_TABLET_MINIMUM_VIEWPORT_WIDTH = 600;
313
- class TabletViewportService {
314
- documentRef = inject(DOCUMENT);
315
- widthState = signal(0, /* @ts-ignore */
316
- ...(ngDevMode ? [{ debugName: "widthState" }] : /* istanbul ignore next */ []));
317
- heightState = signal(0, /* @ts-ignore */
318
- ...(ngDevMode ? [{ debugName: "heightState" }] : /* istanbul ignore next */ []));
319
- initialized = false;
320
- width = this.widthState.asReadonly();
321
- height = this.heightState.asReadonly();
322
- isLandscape = computed(() => this.widthState() >= this.heightState(), /* @ts-ignore */
323
- ...(ngDevMode ? [{ debugName: "isLandscape" }] : /* istanbul ignore next */ []));
324
- meetsMinimumWidth = computed(() => this.widthState() >= EDSIS_TABLET_MINIMUM_VIEWPORT_WIDTH, /* @ts-ignore */
325
- ...(ngDevMode ? [{ debugName: "meetsMinimumWidth" }] : /* istanbul ignore next */ []));
326
- blockReason = computed(() => {
327
- if (!this.meetsMinimumWidth())
328
- return 'too-narrow';
329
- if (!this.isLandscape())
330
- return 'portrait';
331
- return null;
332
- }, /* @ts-ignore */
333
- ...(ngDevMode ? [{ debugName: "blockReason" }] : /* istanbul ignore next */ []));
334
- isSupported = computed(() => this.blockReason() === null, /* @ts-ignore */
335
- ...(ngDevMode ? [{ debugName: "isSupported" }] : /* istanbul ignore next */ []));
336
- initialize() {
337
- if (this.initialized)
338
- return;
339
- this.initialized = true;
340
- const windowRef = this.documentRef.defaultView;
341
- if (!windowRef)
342
- return;
343
- const update = () => {
344
- this.widthState.set(windowRef.innerWidth);
345
- this.heightState.set(windowRef.innerHeight);
346
- this.documentRef.documentElement.dataset['edsisTabletViewport'] = this.isSupported()
347
- ? 'supported'
348
- : 'unsupported';
349
- };
350
- update();
351
- windowRef.addEventListener('resize', update, { passive: true });
352
- windowRef.addEventListener('orientationchange', update, { passive: true });
353
- }
354
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: TabletViewportService, deps: [], target: i0.ɵɵFactoryTarget.Service });
355
- static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.0", ngImport: i0, type: TabletViewportService, autoProvided: false });
356
- }
357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: TabletViewportService, decorators: [{
358
- type: Service,
359
- args: [{ autoProvided: false }]
360
- }] });
361
-
362
- function provideEdsisRuntime(config = {}) {
363
- const resolvedConfig = {
364
- browserEnvironment: config.browserEnvironment ?? 'production',
365
- eventTimeoutMs: Math.max(0, config.eventTimeoutMs ?? 750),
366
- };
367
- return makeEnvironmentProviders([
368
- { provide: EDSIS_RUNTIME_CONFIG, useValue: resolvedConfig },
369
- RuntimeContextService,
370
- NativeHostService,
371
- TabletViewportService,
372
- provideAppInitializer(() => {
373
- const runtime = inject(RuntimeContextService);
374
- const viewport = inject(TabletViewportService);
375
- return runtime.initialize().then(() => viewport.initialize());
376
- }),
377
- ]);
378
- }
379
-
380
- /**
381
- * Generated bundle index. Do not edit.
382
- */
383
-
384
- export { EDSIS_DEVICE_TYPES, EDSIS_RUNTIME_CAPABILITIES, EDSIS_RUNTIME_CONFIG, EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION, EDSIS_RUNTIME_PLATFORMS, EDSIS_RUNTIME_READY_EVENT, EDSIS_RUNTIME_SCHEMA_VERSION, EDSIS_TABLET_MINIMUM_VIEWPORT_WIDTH, NativeHostService, RuntimeContextService, TabletViewportService, createBrowserRuntimeContext, freezeEdsisRuntimeContext, isEdsisRuntimeContextV1, isEdsisRuntimeContextV2, normalizeEdsisRuntimeContext, provideEdsisRuntime, setNativeNotificationBadge };
385
- //# sourceMappingURL=edsis-angular-services-runtime.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edsis-angular-services-runtime.mjs","sources":["../../../library/angular/services/runtime/runtime-context.ts","../../../library/angular/services/runtime/runtime.config.ts","../../../library/angular/services/runtime/runtime-context.service.ts","../../../library/angular/services/runtime/native-host.service.ts","../../../library/angular/services/runtime/tablet-viewport.service.ts","../../../library/angular/services/runtime/runtime.providers.ts","../../../library/angular/services/runtime/edsis-angular-services-runtime.ts"],"sourcesContent":["export const EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION = 1 as const;\nexport const EDSIS_RUNTIME_SCHEMA_VERSION = 2 as const;\n\nexport const EDSIS_RUNTIME_PLATFORMS = [\n 'windows',\n 'macos',\n 'linux',\n 'ios',\n 'android',\n 'web',\n] as const;\n\nexport const EDSIS_DEVICE_TYPES = ['browser', 'windows', 'macos', 'android', 'ipados'] as const;\n\nexport const EDSIS_RUNTIME_CAPABILITIES = [\n 'window-controls',\n 'window-layout',\n 'app-menu',\n 'tray',\n 'notification-badge',\n 'native-notification',\n 'dialog',\n 'clipboard-text',\n 'open-url',\n 'network-diagnostics',\n 'google-native-sign-in',\n] as const;\n\nexport type EdsisRuntimePlatform = (typeof EDSIS_RUNTIME_PLATFORMS)[number];\nexport type EdsisDeviceType = (typeof EDSIS_DEVICE_TYPES)[number];\nexport type EdsisRuntimeCapability = (typeof EDSIS_RUNTIME_CAPABILITIES)[number];\nexport type EdsisRuntimeEnvironment = 'production' | 'development' | 'local';\nexport type EdsisRuntimeHost = 'tauri' | 'browser';\nexport type EdsisDeviceFamily = 'desktop' | 'tablet' | 'responsive';\nexport type EdsisUiProfile = 'desktop' | 'tablet' | 'responsive';\n\ninterface EdsisRuntimeContextBase {\n readonly host: EdsisRuntimeHost;\n readonly environment: EdsisRuntimeEnvironment;\n readonly platform: EdsisRuntimePlatform;\n readonly deviceFamily: EdsisDeviceFamily;\n readonly uiProfile: EdsisUiProfile;\n readonly app: {\n readonly identifier: string;\n readonly name: string;\n readonly version: string;\n readonly arch: string;\n readonly debug: boolean;\n };\n readonly capabilities: readonly EdsisRuntimeCapability[];\n}\n\n/** Legacy wire payload accepted during the schema V2 migration. */\nexport interface EdsisRuntimeContextV1 extends EdsisRuntimeContextBase {\n readonly schemaVersion: 1;\n}\n\n/** Canonical runtime payload returned to Angular consumers. */\nexport interface EdsisRuntimeContextV2 extends EdsisRuntimeContextBase {\n readonly schemaVersion: 2;\n readonly deviceType: EdsisDeviceType;\n}\n\nexport type EdsisRuntimeContext = EdsisRuntimeContextV2;\nexport type EdsisRuntimeWireContext = EdsisRuntimeContextV1 | EdsisRuntimeContextV2;\n\nconst RUNTIME_HOSTS = new Set<EdsisRuntimeHost>(['tauri', 'browser']);\nconst RUNTIME_ENVIRONMENTS = new Set<EdsisRuntimeEnvironment>([\n 'production',\n 'development',\n 'local',\n]);\nconst RUNTIME_PLATFORMS = new Set<EdsisRuntimePlatform>(EDSIS_RUNTIME_PLATFORMS);\nconst DEVICE_TYPES = new Set<EdsisDeviceType>(EDSIS_DEVICE_TYPES);\nconst DEVICE_FAMILIES = new Set<EdsisDeviceFamily>(['desktop', 'tablet', 'responsive']);\nconst UI_PROFILES = new Set<EdsisUiProfile>(['desktop', 'tablet', 'responsive']);\nconst RUNTIME_CAPABILITIES = new Set<EdsisRuntimeCapability>(EDSIS_RUNTIME_CAPABILITIES);\n\nexport function isEdsisRuntimeContextV1(value: unknown): value is EdsisRuntimeContextV1 {\n return (\n isRuntimeContextBase(value, EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION) &&\n resolveDeviceType(value) !== null\n );\n}\n\nexport function isEdsisRuntimeContextV2(value: unknown): value is EdsisRuntimeContextV2 {\n if (!isRuntimeContextBase(value, EDSIS_RUNTIME_SCHEMA_VERSION)) {\n return false;\n }\n\n const deviceType = value['deviceType'];\n return isSetMember(DEVICE_TYPES, deviceType) && resolveDeviceType(value) === deviceType;\n}\n\n/** Validate either supported wire schema and normalize it to the immutable V2 contract. */\nexport function normalizeEdsisRuntimeContext(value: unknown): EdsisRuntimeContextV2 | null {\n if (isEdsisRuntimeContextV2(value)) {\n return freezeEdsisRuntimeContext(value);\n }\n\n if (!isEdsisRuntimeContextV1(value)) {\n return null;\n }\n\n const deviceType = resolveDeviceType(value);\n if (!deviceType) {\n return null;\n }\n\n return freezeEdsisRuntimeContext({\n ...value,\n schemaVersion: EDSIS_RUNTIME_SCHEMA_VERSION,\n deviceType,\n });\n}\n\nexport function freezeEdsisRuntimeContext<T extends EdsisRuntimeWireContext>(context: T): T {\n const capabilities = Object.freeze([...new Set(context.capabilities)]);\n const app = Object.freeze({ ...context.app });\n\n return Object.freeze({ ...context, app, capabilities }) as unknown as T;\n}\n\nexport function createBrowserRuntimeContext(\n environment: EdsisRuntimeEnvironment,\n): EdsisRuntimeContextV2 {\n return freezeEdsisRuntimeContext({\n schemaVersion: EDSIS_RUNTIME_SCHEMA_VERSION,\n host: 'browser',\n environment,\n platform: 'web',\n deviceType: 'browser',\n deviceFamily: 'responsive',\n uiProfile: 'responsive',\n app: {\n identifier: 'web',\n name: 'EDSIS Web',\n version: '',\n arch: 'web',\n debug: environment !== 'production',\n },\n capabilities: [],\n });\n}\n\nfunction isRuntimeContextBase(\n value: unknown,\n schemaVersion: typeof EDSIS_RUNTIME_LEGACY_SCHEMA_VERSION | typeof EDSIS_RUNTIME_SCHEMA_VERSION,\n): value is Record<string, unknown> & EdsisRuntimeContextBase {\n if (!isRecord(value) || value['schemaVersion'] !== schemaVersion) {\n return false;\n }\n\n const app = value['app'];\n const capabilities = value['capabilities'];\n\n return (\n isSetMember(RUNTIME_HOSTS, value['host']) &&\n isSetMember(RUNTIME_ENVIRONMENTS, value['environment']) &&\n isSetMember(RUNTIME_PLATFORMS, value['platform']) &&\n isSetMember(DEVICE_FAMILIES, value['deviceFamily']) &&\n isSetMember(UI_PROFILES, value['uiProfile']) &&\n isRecord(app) &&\n isNonEmptyString(app['identifier']) &&\n isNonEmptyString(app['name']) &&\n typeof app['version'] === 'string' &&\n isNonEmptyString(app['arch']) &&\n typeof app['debug'] === 'boolean' &&\n Array.isArray(capabilities) &&\n capabilities.every((capability) => isSetMember(RUNTIME_CAPABILITIES, capability))\n );\n}\n\nfunction resolveDeviceType(\n context: Pick<EdsisRuntimeContextBase, 'host' | 'platform' | 'deviceFamily' | 'uiProfile'>,\n): EdsisDeviceType | null {\n const { host, platform, deviceFamily, uiProfile } = context;\n\n if (host === 'browser') {\n return platform === 'web' && deviceFamily === 'responsive' && uiProfile === 'responsive'\n ? 'browser'\n : null;\n }\n\n if (platform === 'windows' && deviceFamily === 'desktop' && uiProfile === 'desktop') {\n return 'windows';\n }\n\n if (platform === 'macos' && deviceFamily === 'desktop' && uiProfile === 'desktop') {\n return 'macos';\n }\n\n if (platform === 'android' && deviceFamily === 'tablet' && uiProfile === 'tablet') {\n return 'android';\n }\n\n if (platform === 'ios' && deviceFamily === 'tablet' && uiProfile === 'tablet') {\n return 'ipados';\n }\n\n return null;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\nfunction isNonEmptyString(value: unknown): value is string {\n return typeof value === 'string' && value.trim().length > 0;\n}\n\nfunction isSetMember<T extends string>(values: ReadonlySet<T>, value: unknown): value is T {\n return typeof value === 'string' && values.has(value as T);\n}\n","import { InjectionToken } from '@angular/core';\n\nimport type { EdsisRuntimeEnvironment } from './runtime-context';\n\nexport interface EdsisRuntimeConfig {\n readonly browserEnvironment?: EdsisRuntimeEnvironment;\n readonly eventTimeoutMs?: number;\n}\n\nexport interface ResolvedEdsisRuntimeConfig {\n readonly browserEnvironment: EdsisRuntimeEnvironment;\n readonly eventTimeoutMs: number;\n}\n\nexport const EDSIS_RUNTIME_CONFIG = new InjectionToken<ResolvedEdsisRuntimeConfig>(\n 'EDSIS_RUNTIME_CONFIG',\n);\n","import { DOCUMENT } from '@angular/common';\nimport { computed, inject, signal, Service } from '@angular/core';\n\nimport {\n createBrowserRuntimeContext,\n freezeEdsisRuntimeContext,\n normalizeEdsisRuntimeContext,\n type EdsisRuntimeCapability,\n type EdsisRuntimeContextV2,\n} from './runtime-context';\nimport { EDSIS_RUNTIME_CONFIG } from './runtime.config';\n\nexport const EDSIS_RUNTIME_READY_EVENT = 'edsis:runtime-ready' as const;\n\ndeclare global {\n interface Window {\n readonly EDSIS_RUNTIME?: unknown;\n }\n}\n\n@Service({ autoProvided: false })\nexport class RuntimeContextService {\n private readonly documentRef = inject<Document>(DOCUMENT);\n private readonly config = inject(EDSIS_RUNTIME_CONFIG);\n private readonly contextState = signal<EdsisRuntimeContextV2>(\n createBrowserRuntimeContext(this.config.browserEnvironment),\n );\n private initialization: Promise<void> | null = null;\n\n readonly context = this.contextState.asReadonly();\n readonly deviceType = computed(() => this.contextState().deviceType);\n readonly isDesktopShell = computed(\n () =>\n this.contextState().host === 'tauri' &&\n (this.deviceType() === 'windows' || this.deviceType() === 'macos'),\n );\n readonly isTabletShell = computed(\n () =>\n this.contextState().host === 'tauri' &&\n (this.deviceType() === 'android' || this.deviceType() === 'ipados'),\n );\n readonly isIPadOS = computed(() => this.deviceType() === 'ipados');\n readonly isAndroidTablet = computed(() => this.deviceType() === 'android');\n\n initialize(): Promise<void> {\n this.initialization ??= this.resolveContext();\n return this.initialization;\n }\n\n supports(capability: EdsisRuntimeCapability): boolean {\n return this.contextState().capabilities.includes(capability);\n }\n\n private async resolveContext(): Promise<void> {\n const windowRef = this.documentRef.defaultView;\n\n if (!windowRef) {\n this.applyContext(createBrowserRuntimeContext(this.config.browserEnvironment));\n return;\n }\n\n const hasNativeHost = hasTauriInternals(windowRef);\n const initialContext = normalizeEdsisRuntimeContext(windowRef.EDSIS_RUNTIME);\n\n if (\n initialContext &&\n ((hasNativeHost && initialContext.host === 'tauri') ||\n (!hasNativeHost && initialContext.host === 'browser'))\n ) {\n this.applyContext(initialContext);\n return;\n }\n\n if (!hasNativeHost) {\n this.applyContext(createBrowserRuntimeContext(this.config.browserEnvironment));\n return;\n }\n\n const eventContext = waitForRuntimeReadyEvent(windowRef, this.config.eventTimeoutMs);\n const commandContext = await invokeRuntimeContext();\n if (commandContext) eventContext.cancel();\n const context = commandContext ?? (await eventContext.promise);\n\n if (!context) {\n throw new Error('Tauri runtime did not provide a valid native runtime context.');\n }\n\n this.applyContext(context);\n }\n\n private applyContext(context: EdsisRuntimeContextV2): void {\n const frozenContext = freezeEdsisRuntimeContext(context);\n this.contextState.set(frozenContext);\n\n const root = this.documentRef.documentElement;\n root.dataset['edsisHost'] = frozenContext.host;\n root.dataset['edsisPlatform'] = frozenContext.platform;\n root.dataset['edsisDevice'] = frozenContext.deviceFamily;\n root.dataset['edsisDeviceType'] = frozenContext.deviceType;\n root.dataset['edsisUiProfile'] = frozenContext.uiProfile;\n }\n}\n\nasync function invokeRuntimeContext(): Promise<EdsisRuntimeContextV2 | null> {\n try {\n const { invoke } = await import('@tauri-apps/api/core');\n const value = await invoke<unknown>('runtime_context');\n const context = normalizeEdsisRuntimeContext(value);\n return context?.host === 'tauri' ? context : null;\n } catch {\n return null;\n }\n}\n\nfunction hasTauriInternals(windowRef: Window): boolean {\n const internals = Reflect.get(windowRef, '__TAURI_INTERNALS__');\n return typeof internals === 'object' && internals !== null;\n}\n\nfunction waitForRuntimeReadyEvent(\n windowRef: Window,\n timeoutMs: number,\n): {\n readonly promise: Promise<EdsisRuntimeContextV2 | null>;\n readonly cancel: () => void;\n} {\n let cancel = (): void => undefined;\n const promise = new Promise<EdsisRuntimeContextV2 | null>((resolve) => {\n let settled = false;\n const finish = (context: EdsisRuntimeContextV2 | null): void => {\n if (settled) return;\n settled = true;\n windowRef.removeEventListener(EDSIS_RUNTIME_READY_EVENT, onRuntimeReady);\n windowRef.clearTimeout(timeoutId);\n resolve(context);\n };\n const onRuntimeReady = (event: Event): void => {\n const detail = 'detail' in event ? event.detail : null;\n const context = normalizeEdsisRuntimeContext(detail);\n finish(context?.host === 'tauri' ? context : null);\n };\n const timeoutId = windowRef.setTimeout(() => finish(null), timeoutMs);\n\n windowRef.addEventListener(EDSIS_RUNTIME_READY_EVENT, onRuntimeReady, { once: true });\n cancel = () => finish(null);\n });\n\n return { promise, cancel };\n}\n","import { inject, Service } from '@angular/core';\n\nimport type { EdsisRuntimeCapability } from './runtime-context';\nimport { RuntimeContextService } from './runtime-context.service';\n\nexport type EdsisWindowControlAction = 'close' | 'minimize' | 'toggle-maximize';\n\n@Service({ autoProvided: false })\nexport class NativeHostService {\n private readonly runtime = inject(RuntimeContextService);\n\n supports(capability: EdsisRuntimeCapability): boolean {\n return this.runtime.context().host === 'tauri' && this.runtime.supports(capability);\n }\n\n async emitWindowControl(action: EdsisWindowControlAction): Promise<void> {\n if (!this.supports('window-controls')) return;\n const { emit } = await import('@tauri-apps/api/event');\n await emit('edsis:window-control', action);\n }\n\n async startDragging(): Promise<void> {\n if (!this.supports('window-controls')) return;\n\n try {\n const { getCurrentWindow } = await import('@tauri-apps/api/window');\n await getCurrentWindow().startDragging();\n } catch {\n const { emit } = await import('@tauri-apps/api/event');\n await emit('edsis:window-drag');\n }\n }\n\n async setNotificationBadge(unreadCount: number): Promise<void> {\n if (!this.supports('notification-badge')) return;\n await invokeNotificationBadge(unreadCount);\n }\n}\n\n/** Browser-safe compatibility helper for callers outside Angular injection. */\nexport async function setNativeNotificationBadge(unreadCount: number): Promise<void> {\n if (typeof window === 'undefined' || !hasTauriInternals(window)) return;\n\n try {\n await invokeNotificationBadge(unreadCount);\n } catch {\n // Native integration is optional for browser consumers and older shells.\n }\n}\n\nasync function invokeNotificationBadge(unreadCount: number): Promise<void> {\n const { invoke } = await import('@tauri-apps/api/core');\n await invoke('set_notification_badge', { unreadCount });\n}\n\nfunction hasTauriInternals(windowRef: Window): boolean {\n const internals = Reflect.get(windowRef, '__TAURI_INTERNALS__');\n return typeof internals === 'object' && internals !== null;\n}\n","import { DOCUMENT } from '@angular/common';\nimport { computed, inject, signal, Service } from '@angular/core';\n\nexport const EDSIS_TABLET_MINIMUM_VIEWPORT_WIDTH = 600;\n\nexport type TabletViewportBlockReason = 'portrait' | 'too-narrow' | null;\n\n@Service({ autoProvided: false })\nexport class TabletViewportService {\n private readonly documentRef = inject<Document>(DOCUMENT);\n private readonly widthState = signal(0);\n private readonly heightState = signal(0);\n private initialized = false;\n\n readonly width = this.widthState.asReadonly();\n readonly height = this.heightState.asReadonly();\n readonly isLandscape = computed(() => this.widthState() >= this.heightState());\n readonly meetsMinimumWidth = computed(\n () => this.widthState() >= EDSIS_TABLET_MINIMUM_VIEWPORT_WIDTH,\n );\n readonly blockReason = computed<TabletViewportBlockReason>(() => {\n if (!this.meetsMinimumWidth()) return 'too-narrow';\n if (!this.isLandscape()) return 'portrait';\n return null;\n });\n readonly isSupported = computed(() => this.blockReason() === null);\n\n initialize(): void {\n if (this.initialized) return;\n this.initialized = true;\n\n const windowRef = this.documentRef.defaultView;\n if (!windowRef) return;\n\n const update = (): void => {\n this.widthState.set(windowRef.innerWidth);\n this.heightState.set(windowRef.innerHeight);\n this.documentRef.documentElement.dataset['edsisTabletViewport'] = this.isSupported()\n ? 'supported'\n : 'unsupported';\n };\n\n update();\n windowRef.addEventListener('resize', update, { passive: true });\n windowRef.addEventListener('orientationchange', update, { passive: true });\n }\n}\n","import {\n inject,\n makeEnvironmentProviders,\n provideAppInitializer,\n type EnvironmentProviders,\n} from '@angular/core';\n\nimport {\n EDSIS_RUNTIME_CONFIG,\n type EdsisRuntimeConfig,\n type ResolvedEdsisRuntimeConfig,\n} from './runtime.config';\nimport { NativeHostService } from './native-host.service';\nimport { RuntimeContextService } from './runtime-context.service';\nimport { TabletViewportService } from './tablet-viewport.service';\n\nexport function provideEdsisRuntime(config: EdsisRuntimeConfig = {}): EnvironmentProviders {\n const resolvedConfig: ResolvedEdsisRuntimeConfig = {\n browserEnvironment: config.browserEnvironment ?? 'production',\n eventTimeoutMs: Math.max(0, config.eventTimeoutMs ?? 750),\n };\n\n return makeEnvironmentProviders([\n { provide: EDSIS_RUNTIME_CONFIG, useValue: resolvedConfig },\n RuntimeContextService,\n NativeHostService,\n TabletViewportService,\n provideAppInitializer(() => {\n const runtime = inject(RuntimeContextService);\n const viewport = inject(TabletViewportService);\n return runtime.initialize().then(() => viewport.initialize());\n }),\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["hasTauriInternals"],"mappings":";;;;AAAO,MAAM,mCAAmC,GAAG;AAC5C,MAAM,4BAA4B,GAAG;AAErC,MAAM,uBAAuB,GAAG;IACrC,SAAS;IACT,OAAO;IACP,OAAO;IACP,KAAK;IACL,SAAS;IACT,KAAK;;AAGA,MAAM,kBAAkB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ;AAE9E,MAAM,0BAA0B,GAAG;IACxC,iBAAiB;IACjB,eAAe;IACf,UAAU;IACV,MAAM;IACN,oBAAoB;IACpB,qBAAqB;IACrB,QAAQ;IACR,gBAAgB;IAChB,UAAU;IACV,qBAAqB;IACrB,uBAAuB;;AAyCzB,MAAM,aAAa,GAAG,IAAI,GAAG,CAAmB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AACrE,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAA0B;IAC5D,YAAY;IACZ,aAAa;IACb,OAAO;AACR,CAAA,CAAC;AACF,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAuB,uBAAuB,CAAC;AAChF,MAAM,YAAY,GAAG,IAAI,GAAG,CAAkB,kBAAkB,CAAC;AACjE,MAAM,eAAe,GAAG,IAAI,GAAG,CAAoB,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACvF,MAAM,WAAW,GAAG,IAAI,GAAG,CAAiB,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AAChF,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAyB,0BAA0B,CAAC;AAElF,SAAU,uBAAuB,CAAC,KAAc,EAAA;AACpD,IAAA,QACE,oBAAoB,CAAC,KAAK,EAAE,m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,EAAA,CAAA;wGAArB,qBAAqB,EAAA,YAAA,EAAA,KAAA,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,OAAO;mBAAC,EAAE,YAAY,EAAE,KAAK,EAAE;;;ACS1B,SAAU,mBAAmB,CAAC,MAAA,GAA6B,EAAE,EAAA;AACjE,IAAA,MAAM,cAAc,GAA+B;AACjD,QAAA,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,IAAI,YAAY;AAC7D,QAAA,cAAc,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,CAAC,cAAc,IAAI,GAAG,CAAC;KAC1D;AAED,IAAA,OAAO,wBAAwB,CAAC;AAC9B,QAAA,EAAE,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,cAAc,EAAE;QAC3D,qBAAqB;QACrB,iBAAiB;QACjB,qBAAqB;QACrB,qBAAqB,CAAC,MAAK;AACzB,YAAA,MAAM,OAAO,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC7C,YAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,qBAAqB,CAAC;AAC9C,YAAA,OAAO,OAAO,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,CAAC;AAC/D,QAAA,CAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACjCA;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"edsis-angular.mjs","sources":["../../../library/angular/public-api.ts","../../../library/angular/edsis-angular.ts"],"sourcesContent":["/*\n * Public API Surface of library\n */\n\nexport {};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG;;ACFH;;AAEG"}