@edsis/angular 22.1.6 → 22.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +87 -399
  3. package/SECURITY.md +18 -0
  4. package/SUPPORT.md +15 -0
  5. package/chart/README.md +275 -0
  6. package/component/README.md +89 -0
  7. package/component/accordion/README.md +195 -0
  8. package/component/alert/README.md +184 -0
  9. package/component/alert-dialog/README.md +255 -0
  10. package/component/aspect-ratio/README.md +116 -0
  11. package/component/avatar/README.md +182 -0
  12. package/component/badge/README.md +143 -0
  13. package/component/breadcrumb/README.md +223 -0
  14. package/component/button/README.md +141 -0
  15. package/component/button-group/README.md +214 -0
  16. package/component/calendar/README.md +125 -0
  17. package/component/card/README.md +232 -0
  18. package/component/carousel/README.md +276 -0
  19. package/component/checkbox/README.md +153 -0
  20. package/component/collapsible/README.md +216 -0
  21. package/component/combobox/README.md +202 -0
  22. package/component/command/README.md +287 -0
  23. package/component/composer/README.md +241 -0
  24. package/component/context-menu/README.md +268 -0
  25. package/component/date-picker/README.md +202 -0
  26. package/component/dialog/README.md +276 -0
  27. package/component/drawer/README.md +146 -0
  28. package/component/dropdown-menu/README.md +336 -0
  29. package/component/editor/README.md +152 -0
  30. package/component/empty/README.md +193 -0
  31. package/component/form/README.md +216 -0
  32. package/component/hover-card/README.md +150 -0
  33. package/component/icon/README.md +52 -0
  34. package/component/input/README.md +160 -0
  35. package/component/input-group/README.md +245 -0
  36. package/component/input-otp/README.md +331 -0
  37. package/component/item/README.md +254 -0
  38. package/component/kanban/README.md +81 -0
  39. package/component/kbd/README.md +141 -0
  40. package/component/label/README.md +137 -0
  41. package/component/menubar/README.md +270 -0
  42. package/component/native-select/README.md +176 -0
  43. package/component/navigation-menu/README.md +165 -0
  44. package/component/pagination/README.md +151 -0
  45. package/component/pillbox/README.md +68 -0
  46. package/component/popover/README.md +54 -0
  47. package/component/progress/README.md +160 -0
  48. package/component/radio/README.md +212 -0
  49. package/component/resizable/README.md +178 -0
  50. package/component/scroll-area/README.md +150 -0
  51. package/component/select/README.md +228 -0
  52. package/component/separator/README.md +175 -0
  53. package/component/sheet/README.md +190 -0
  54. package/component/skeleton/README.md +158 -0
  55. package/component/slider/README.md +207 -0
  56. package/component/spinner/README.md +160 -0
  57. package/component/switch/README.md +170 -0
  58. package/component/table/README.md +292 -0
  59. package/component/tabs/README.md +220 -0
  60. package/component/textarea/README.md +169 -0
  61. package/component/timeline/README.md +94 -0
  62. package/component/toast/README.md +173 -0
  63. package/component/toggle/README.md +133 -0
  64. package/component/toggle-group/README.md +234 -0
  65. package/component/tooltip/README.md +230 -0
  66. package/fesm2022/edsis-angular-chart-area.mjs +508 -0
  67. package/fesm2022/edsis-angular-chart-bar.mjs +946 -0
  68. package/fesm2022/edsis-angular-chart-core.mjs +1319 -0
  69. package/fesm2022/edsis-angular-chart-line.mjs +544 -0
  70. package/fesm2022/edsis-angular-chart-pie.mjs +531 -0
  71. package/fesm2022/edsis-angular-chart-primitives.mjs +1647 -0
  72. package/fesm2022/edsis-angular-chart-radar.mjs +693 -0
  73. package/fesm2022/edsis-angular-chart-radial.mjs +542 -0
  74. package/fesm2022/edsis-angular-chart-scatter.mjs +486 -0
  75. package/fesm2022/edsis-angular-chart.mjs +3 -0
  76. package/fesm2022/edsis-angular-component-accordion.mjs +513 -0
  77. package/fesm2022/edsis-angular-component-alert-dialog.mjs +1001 -0
  78. package/fesm2022/edsis-angular-component-alert.mjs +268 -0
  79. package/fesm2022/edsis-angular-component-aspect-ratio.mjs +80 -0
  80. package/fesm2022/edsis-angular-component-avatar.mjs +410 -0
  81. package/fesm2022/edsis-angular-component-badge.mjs +111 -0
  82. package/fesm2022/edsis-angular-component-breadcrumb.mjs +464 -0
  83. package/fesm2022/edsis-angular-component-button-group.mjs +252 -0
  84. package/fesm2022/edsis-angular-component-button.mjs +155 -0
  85. package/fesm2022/edsis-angular-component-calendar.mjs +835 -0
  86. package/fesm2022/edsis-angular-component-card.mjs +460 -0
  87. package/fesm2022/edsis-angular-component-carousel.mjs +700 -0
  88. package/fesm2022/edsis-angular-component-checkbox.mjs +398 -0
  89. package/fesm2022/edsis-angular-component-collapsible.mjs +305 -0
  90. package/fesm2022/edsis-angular-component-combobox.mjs +544 -0
  91. package/fesm2022/edsis-angular-component-command.mjs +815 -0
  92. package/fesm2022/edsis-angular-component-composer.mjs +840 -0
  93. package/fesm2022/edsis-angular-component-context-menu.mjs +197 -0
  94. package/fesm2022/edsis-angular-component-date-picker.mjs +798 -0
  95. package/fesm2022/edsis-angular-component-dialog.mjs +798 -0
  96. package/fesm2022/edsis-angular-component-drawer.mjs +1 -0
  97. package/fesm2022/edsis-angular-component-dropdown-menu.mjs +1259 -0
  98. package/fesm2022/edsis-angular-component-editor.mjs +1000 -0
  99. package/fesm2022/edsis-angular-component-empty.mjs +351 -0
  100. package/fesm2022/edsis-angular-component-form.mjs +821 -0
  101. package/fesm2022/edsis-angular-component-hover-card.mjs +486 -0
  102. package/fesm2022/edsis-angular-component-icon.mjs +253 -0
  103. package/fesm2022/edsis-angular-component-input-group.mjs +453 -0
  104. package/fesm2022/edsis-angular-component-input-otp.mjs +957 -0
  105. package/fesm2022/edsis-angular-component-input.mjs +87 -0
  106. package/fesm2022/edsis-angular-component-item.mjs +720 -0
  107. package/fesm2022/edsis-angular-component-kanban.mjs +812 -0
  108. package/fesm2022/edsis-angular-component-kbd.mjs +124 -0
  109. package/fesm2022/edsis-angular-component-label.mjs +82 -0
  110. package/fesm2022/edsis-angular-component-menubar.mjs +481 -0
  111. package/fesm2022/edsis-angular-component-native-select.mjs +168 -0
  112. package/fesm2022/edsis-angular-component-navigation-menu.mjs +685 -0
  113. package/fesm2022/edsis-angular-component-pagination.mjs +425 -0
  114. package/fesm2022/edsis-angular-component-pillbox.mjs +1679 -0
  115. package/fesm2022/edsis-angular-component-popover.mjs +292 -0
  116. package/fesm2022/edsis-angular-component-progress.mjs +184 -0
  117. package/fesm2022/edsis-angular-component-radio.mjs +491 -0
  118. package/fesm2022/edsis-angular-component-resizable.mjs +703 -0
  119. package/fesm2022/edsis-angular-component-scroll-area.mjs +133 -0
  120. package/fesm2022/edsis-angular-component-segmented-control.mjs +408 -0
  121. package/fesm2022/edsis-angular-component-select.mjs +743 -0
  122. package/fesm2022/edsis-angular-component-separator.mjs +102 -0
  123. package/fesm2022/edsis-angular-component-sheet.mjs +874 -0
  124. package/fesm2022/edsis-angular-component-skeleton.mjs +62 -0
  125. package/fesm2022/edsis-angular-component-slider.mjs +676 -0
  126. package/fesm2022/edsis-angular-component-spinner.mjs +157 -0
  127. package/fesm2022/edsis-angular-component-switch.mjs +361 -0
  128. package/fesm2022/edsis-angular-component-table.mjs +446 -0
  129. package/fesm2022/edsis-angular-component-tabs.mjs +592 -0
  130. package/fesm2022/edsis-angular-component-textarea.mjs +85 -0
  131. package/fesm2022/edsis-angular-component-timeline.mjs +619 -0
  132. package/fesm2022/edsis-angular-component-toast.mjs +231 -0
  133. package/fesm2022/edsis-angular-component-toggle-group.mjs +579 -0
  134. package/fesm2022/edsis-angular-component-toggle.mjs +189 -0
  135. package/fesm2022/edsis-angular-component-tooltip.mjs +804 -0
  136. package/fesm2022/edsis-angular-component-utils-core.mjs +181 -0
  137. package/fesm2022/edsis-angular-component-utils-overlay.mjs +54 -0
  138. package/fesm2022/edsis-angular-component-utils-scale.mjs +76 -0
  139. package/fesm2022/edsis-angular-component-utils.mjs +2 -0
  140. package/fesm2022/edsis-angular-component.mjs +0 -0
  141. package/fesm2022/edsis-angular-navigation-core.mjs +15 -0
  142. package/fesm2022/edsis-angular-navigation-icon.mjs +35 -0
  143. package/fesm2022/edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs +234 -0
  144. package/fesm2022/edsis-angular-navigation-navigation-dockbar-menu.component-BaFnh48V.mjs +834 -0
  145. package/fesm2022/edsis-angular-navigation-navigation-entry-grid.component-D39W0FQZ.mjs +823 -0
  146. package/fesm2022/edsis-angular-navigation-navigation-flyout-menu.component-CpmsY8hb.mjs +670 -0
  147. package/fesm2022/edsis-angular-navigation-navigation-horizontal.component-D35IfX6r.mjs +689 -0
  148. package/fesm2022/edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs +1522 -0
  149. package/fesm2022/edsis-angular-navigation-navigation-list.component-D6Ms8H5g.mjs +346 -0
  150. package/fesm2022/edsis-angular-navigation-service.mjs +558 -0
  151. package/fesm2022/edsis-angular-navigation-types.mjs +151 -0
  152. package/fesm2022/edsis-angular-navigation.mjs +3338 -0
  153. package/fesm2022/edsis-angular-sdk.mjs +100 -0
  154. package/fesm2022/edsis-angular-theme-component-settings.mjs +1863 -0
  155. package/fesm2022/edsis-angular-theme-layout-services.mjs +252 -0
  156. package/fesm2022/edsis-angular-theme-layout-types.mjs +45 -0
  157. package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +2568 -0
  158. package/fesm2022/edsis-angular-theme-layout.mjs +1089 -0
  159. package/fesm2022/edsis-angular-theme-on-fill.mjs +89 -0
  160. package/fesm2022/edsis-angular-theme-page-core.mjs +315 -0
  161. package/fesm2022/edsis-angular-theme-page-filter.mjs +409 -0
  162. package/fesm2022/edsis-angular-theme-page-overview.mjs +88 -0
  163. package/fesm2022/edsis-angular-theme-page-root.mjs +693 -0
  164. package/fesm2022/edsis-angular-theme-page-side.mjs +342 -0
  165. package/fesm2022/edsis-angular-theme-page-slots.mjs +258 -0
  166. package/fesm2022/edsis-angular-theme-page.mjs +7 -0
  167. package/fesm2022/edsis-angular-theme-shell-services.mjs +231 -0
  168. package/fesm2022/edsis-angular-theme-shell-types.mjs +102 -0
  169. package/fesm2022/edsis-angular-theme-shell.mjs +1352 -0
  170. package/fesm2022/edsis-angular-theme-styles.mjs +605 -0
  171. package/fesm2022/edsis-angular-theme.mjs +0 -0
  172. package/fesm2022/edsis-angular.mjs +5 -8
  173. package/navigation/README.md +576 -0
  174. package/package.json +481 -52
  175. package/sdk/README.md +212 -0
  176. package/sdk/schematics/collection.json +20 -0
  177. package/sdk/schematics/init/index.js +83 -0
  178. package/sdk/schematics/init/schema.json +19 -0
  179. package/sdk/schematics/ng-add/index.js +147 -0
  180. package/sdk/schematics/ng-add/schema.json +14 -0
  181. package/sdk/schematics/package.json +3 -0
  182. package/sdk/schematics/sdk/index.js +175 -0
  183. package/sdk/schematics/sdk/schema.json +19 -0
  184. package/sdk/sdk.config.example.json +24 -0
  185. package/sdk/src/config/loader.js +43 -0
  186. package/sdk/src/config/schema.js +59 -0
  187. package/sdk/src/emit/client.js +251 -0
  188. package/sdk/src/emit/metadata.js +310 -0
  189. package/sdk/src/emit/models.js +104 -0
  190. package/sdk/src/emit/navigation.js +56 -0
  191. package/sdk/src/emit/operations.js +118 -0
  192. package/sdk/src/emit/public-api.js +54 -0
  193. package/sdk/src/emit/services.js +110 -0
  194. package/sdk/src/engine.js +67 -0
  195. package/sdk/src/layout/per-domain.js +360 -0
  196. package/sdk/src/package.json +3 -0
  197. package/sdk/src/parser/bundle.js +25 -0
  198. package/sdk/src/parser/ir.js +429 -0
  199. package/sdk/src/parser/types.js +7 -0
  200. package/sdk/src/render/template.js +152 -0
  201. package/sdk/src/writer/index.js +286 -0
  202. package/theme/README.md +120 -0
  203. package/theme/component/settings/README.md +154 -0
  204. package/theme/layout/README.md +604 -0
  205. package/theme/page/README.md +505 -0
  206. package/theme/shell/README.md +344 -0
  207. package/theme/styles/README.md +251 -0
  208. package/theme/styles/css/base/components.css +577 -0
  209. package/theme/styles/css/base/index.css +14 -0
  210. package/theme/styles/css/base/on-fill.css +153 -0
  211. package/theme/styles/css/base/package.css +10 -0
  212. package/theme/styles/css/base/prefers-dark.css +81 -0
  213. package/theme/styles/css/base/print.css +62 -0
  214. package/theme/styles/css/base/status.css +38 -0
  215. package/theme/styles/css/base/tailwind.css +208 -0
  216. package/theme/styles/css/base/theme.css +306 -0
  217. package/theme/styles/css/base/tokens.css +388 -0
  218. package/theme/styles/css/color/amber.css +72 -0
  219. package/theme/styles/css/color/blue.css +72 -0
  220. package/theme/styles/css/color/brand.css +38 -0
  221. package/theme/styles/css/color/cyan.css +72 -0
  222. package/theme/styles/css/color/emerald.css +72 -0
  223. package/theme/styles/css/color/fuchsia.css +72 -0
  224. package/theme/styles/css/color/green.css +72 -0
  225. package/theme/styles/css/color/index.css +19 -0
  226. package/theme/styles/css/color/indigo.css +72 -0
  227. package/theme/styles/css/color/lime.css +72 -0
  228. package/theme/styles/css/color/orange.css +72 -0
  229. package/theme/styles/css/color/pink.css +72 -0
  230. package/theme/styles/css/color/purple.css +72 -0
  231. package/theme/styles/css/color/red.css +72 -0
  232. package/theme/styles/css/color/rose.css +72 -0
  233. package/theme/styles/css/color/sky.css +72 -0
  234. package/theme/styles/css/color/teal.css +72 -0
  235. package/theme/styles/css/color/violet.css +72 -0
  236. package/theme/styles/css/color/yellow.css +72 -0
  237. package/theme/styles/css/fonts.css +85 -0
  238. package/theme/styles/css/index.css +18 -0
  239. package/theme/styles/css/neutral/gray.css +63 -0
  240. package/theme/styles/css/neutral/index.css +11 -0
  241. package/theme/styles/css/neutral/mauve.css +63 -0
  242. package/theme/styles/css/neutral/mist.css +63 -0
  243. package/theme/styles/css/neutral/neutral.css +63 -0
  244. package/theme/styles/css/neutral/olive.css +63 -0
  245. package/theme/styles/css/neutral/slate.css +63 -0
  246. package/theme/styles/css/neutral/stone.css +63 -0
  247. package/theme/styles/css/neutral/taupe.css +63 -0
  248. package/theme/styles/css/neutral/zinc.css +63 -0
  249. package/theme/styles/css/radius/index.css +30 -0
  250. package/theme/styles/css/space/index.css +20 -0
  251. package/types/edsis-angular-chart-area.d.ts +139 -0
  252. package/types/edsis-angular-chart-bar.d.ts +291 -0
  253. package/types/edsis-angular-chart-core.d.ts +824 -0
  254. package/types/edsis-angular-chart-line.d.ts +148 -0
  255. package/types/edsis-angular-chart-pie.d.ts +207 -0
  256. package/types/edsis-angular-chart-primitives.d.ts +360 -0
  257. package/types/edsis-angular-chart-radar.d.ts +198 -0
  258. package/types/edsis-angular-chart-radial.d.ts +187 -0
  259. package/types/edsis-angular-chart-scatter.d.ts +181 -0
  260. package/types/edsis-angular-chart.d.ts +3 -0
  261. package/types/edsis-angular-component-accordion.d.ts +139 -0
  262. package/types/edsis-angular-component-alert-dialog.d.ts +288 -0
  263. package/types/edsis-angular-component-alert.d.ts +72 -0
  264. package/types/edsis-angular-component-aspect-ratio.d.ts +20 -0
  265. package/types/edsis-angular-component-avatar.d.ts +111 -0
  266. package/types/edsis-angular-component-badge.d.ts +36 -0
  267. package/types/edsis-angular-component-breadcrumb.d.ts +85 -0
  268. package/types/edsis-angular-component-button-group.d.ts +50 -0
  269. package/types/edsis-angular-component-button.d.ts +44 -0
  270. package/types/edsis-angular-component-calendar.d.ts +150 -0
  271. package/types/edsis-angular-component-card.d.ts +123 -0
  272. package/types/edsis-angular-component-carousel.d.ts +155 -0
  273. package/types/edsis-angular-component-checkbox.d.ts +100 -0
  274. package/types/edsis-angular-component-collapsible.d.ts +68 -0
  275. package/types/edsis-angular-component-combobox.d.ts +105 -0
  276. package/types/edsis-angular-component-command.d.ts +215 -0
  277. package/types/edsis-angular-component-composer.d.ts +190 -0
  278. package/types/edsis-angular-component-context-menu.d.ts +64 -0
  279. package/types/edsis-angular-component-date-picker.d.ts +199 -0
  280. package/types/edsis-angular-component-dialog.d.ts +231 -0
  281. package/types/edsis-angular-component-drawer.d.ts +2 -0
  282. package/types/edsis-angular-component-dropdown-menu.d.ts +370 -0
  283. package/types/edsis-angular-component-editor.d.ts +234 -0
  284. package/types/edsis-angular-component-empty.d.ts +85 -0
  285. package/types/edsis-angular-component-form.d.ts +223 -0
  286. package/types/edsis-angular-component-hover-card.d.ts +133 -0
  287. package/types/edsis-angular-component-icon.d.ts +90 -0
  288. package/types/edsis-angular-component-input-group.d.ts +98 -0
  289. package/types/edsis-angular-component-input-otp.d.ts +249 -0
  290. package/types/edsis-angular-component-input.d.ts +31 -0
  291. package/types/edsis-angular-component-item.d.ts +169 -0
  292. package/types/edsis-angular-component-kanban.d.ts +165 -0
  293. package/types/edsis-angular-component-kbd.d.ts +25 -0
  294. package/types/edsis-angular-component-label.d.ts +19 -0
  295. package/types/edsis-angular-component-menubar.d.ts +123 -0
  296. package/types/edsis-angular-component-native-select.d.ts +39 -0
  297. package/types/edsis-angular-component-navigation-menu.d.ts +163 -0
  298. package/types/edsis-angular-component-pagination.d.ts +83 -0
  299. package/types/edsis-angular-component-pillbox.d.ts +380 -0
  300. package/types/edsis-angular-component-popover.d.ts +96 -0
  301. package/types/edsis-angular-component-progress.d.ts +45 -0
  302. package/types/edsis-angular-component-radio.d.ts +137 -0
  303. package/types/edsis-angular-component-resizable.d.ts +166 -0
  304. package/types/edsis-angular-component-scroll-area.d.ts +37 -0
  305. package/types/edsis-angular-component-segmented-control.d.ts +102 -0
  306. package/types/edsis-angular-component-select.d.ts +138 -0
  307. package/types/edsis-angular-component-separator.d.ts +26 -0
  308. package/types/edsis-angular-component-sheet.d.ts +240 -0
  309. package/types/edsis-angular-component-skeleton.d.ts +13 -0
  310. package/types/edsis-angular-component-slider.d.ts +148 -0
  311. package/types/edsis-angular-component-spinner.d.ts +31 -0
  312. package/types/edsis-angular-component-switch.d.ts +101 -0
  313. package/types/edsis-angular-component-table.d.ts +109 -0
  314. package/types/edsis-angular-component-tabs.d.ts +183 -0
  315. package/types/edsis-angular-component-textarea.d.ts +27 -0
  316. package/types/edsis-angular-component-timeline.d.ts +146 -0
  317. package/types/edsis-angular-component-toast.d.ts +60 -0
  318. package/types/edsis-angular-component-toggle-group.d.ts +161 -0
  319. package/types/edsis-angular-component-toggle.d.ts +47 -0
  320. package/types/edsis-angular-component-tooltip.d.ts +233 -0
  321. package/types/edsis-angular-component-utils-core.d.ts +175 -0
  322. package/types/edsis-angular-component-utils-overlay.d.ts +17 -0
  323. package/types/edsis-angular-component-utils-scale.d.ts +27 -0
  324. package/types/edsis-angular-component-utils.d.ts +2 -0
  325. package/types/edsis-angular-component.d.ts +1 -0
  326. package/types/edsis-angular-navigation-core.d.ts +55 -0
  327. package/types/edsis-angular-navigation-icon.d.ts +9 -0
  328. package/types/edsis-angular-navigation-service.d.ts +121 -0
  329. package/types/edsis-angular-navigation-types.d.ts +185 -0
  330. package/types/edsis-angular-navigation.d.ts +862 -0
  331. package/types/edsis-angular-sdk.d.ts +87 -0
  332. package/types/edsis-angular-theme-component-settings.d.ts +205 -0
  333. package/types/edsis-angular-theme-layout-services.d.ts +143 -0
  334. package/types/edsis-angular-theme-layout-types.d.ts +36 -0
  335. package/types/edsis-angular-theme-layout-wrapper.d.ts +670 -0
  336. package/types/edsis-angular-theme-layout.d.ts +218 -0
  337. package/types/edsis-angular-theme-on-fill.d.ts +45 -0
  338. package/types/edsis-angular-theme-page-core.d.ts +151 -0
  339. package/types/edsis-angular-theme-page-filter.d.ts +127 -0
  340. package/types/edsis-angular-theme-page-overview.d.ts +28 -0
  341. package/types/edsis-angular-theme-page-root.d.ts +172 -0
  342. package/types/edsis-angular-theme-page-side.d.ts +90 -0
  343. package/types/edsis-angular-theme-page-slots.d.ts +61 -0
  344. package/types/edsis-angular-theme-page.d.ts +7 -0
  345. package/types/edsis-angular-theme-shell-services.d.ts +188 -0
  346. package/types/edsis-angular-theme-shell-types.d.ts +102 -0
  347. package/types/edsis-angular-theme-shell.d.ts +178 -0
  348. package/types/edsis-angular-theme-styles.d.ts +328 -0
  349. package/types/edsis-angular-theme.d.ts +1 -0
  350. package/types/edsis-angular.d.ts +5 -2
  351. package/fesm2022/edsis-angular-block-shell.mjs +0 -1329
  352. package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
  353. package/fesm2022/edsis-angular-block-themes.mjs +0 -1007
  354. package/fesm2022/edsis-angular-block-themes.mjs.map +0 -1
  355. package/fesm2022/edsis-angular-module-auth.mjs +0 -2582
  356. package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
  357. package/fesm2022/edsis-angular-platform-mfe.mjs +0 -329
  358. package/fesm2022/edsis-angular-platform-mfe.mjs.map +0 -1
  359. package/fesm2022/edsis-angular-services-runtime.mjs +0 -385
  360. package/fesm2022/edsis-angular-services-runtime.mjs.map +0 -1
  361. package/fesm2022/edsis-angular.mjs.map +0 -1
  362. package/types/edsis-angular-block-shell.d.ts +0 -190
  363. package/types/edsis-angular-block-themes.d.ts +0 -94
  364. package/types/edsis-angular-module-auth.d.ts +0 -533
  365. package/types/edsis-angular-platform-mfe.d.ts +0 -126
  366. package/types/edsis-angular-services-runtime.d.ts +0 -118
@@ -0,0 +1,1352 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Component, booleanAttribute, computed, inject, input } from "@angular/core";
3
+ import { cn } from "@edsis/angular/component/utils/core";
4
+ import { SHELL_WINDOW_BRIDGE, ShellService, ShellService as ShellService$1, WEB_SHELL_WINDOW_BRIDGE, createTauriShellWindowBridge, isTauriRuntime, provideShellWindowBridge, provideTauriShellWindowBridge } from "@edsis/angular/theme/shell/services";
5
+ import { SHELL_COLORS, SHELL_COLOR_STORAGE_KEY, SHELL_DEFAULT_COLOR, SHELL_DEFAULT_COLOR as SHELL_DEFAULT_COLOR$1, SHELL_DEFAULT_DEVICE, SHELL_DEFAULT_DEVICE as SHELL_DEFAULT_DEVICE$1, SHELL_DEFAULT_FRAME, SHELL_DEFAULT_FRAME as SHELL_DEFAULT_FRAME$1, SHELL_DEFAULT_MODE, SHELL_DEFAULT_PLATFORM, SHELL_DEFAULT_WINDOW_STATE, SHELL_DEVICES, SHELL_DEVICE_STORAGE_KEY, SHELL_FRAMES, SHELL_FRAME_STORAGE_KEY, SHELL_MODES, SHELL_MODE_DEVICES, SHELL_MODE_STORAGE_KEY, SHELL_PLATFORMS, SHELL_WINDOW_STATES, defaultShellDeviceForMode, isShellColor, isShellDevice, isShellDeviceForMode, isShellFrame, isShellMode, isShellPlatform, isShellWindowState, normalizeShellColor, normalizeShellDevice, normalizeShellFrame, normalizeShellMode, resolveShellDeviceForMode, resolveShellDeviceForMode as resolveShellDeviceForMode$1, resolveShellFrameForMode, resolveShellFrameForMode as resolveShellFrameForMode$1, shellDevicesForMode } from "@edsis/angular/theme/shell/types";
6
+ import { LucideGrip } from "@lucide/angular";
7
+ import { provideIcons } from "@edsis/angular/component/icon";
8
+ import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@edsis/angular/navigation";
9
+ import { NAVIGATION_ADAPTER } from "@edsis/angular/navigation/core";
10
+ import { LayoutService } from "@edsis/angular/theme/layout/services";
11
+ import { LAYOUT_DESKTOP_NAVIGATION_DATA_ID, LayoutBrand, LayoutIdentityService, LayoutUser } from "@edsis/angular/theme/layout/wrapper";
12
+ let shellNavigationFlyoutInstanceId = 0;
13
+ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
14
+ navigation = inject(NAVIGATION_ADAPTER);
15
+ layout = inject(LayoutService, { optional: true });
16
+ identity = inject(LayoutIdentityService, { optional: true });
17
+ enabled = input(true, ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
18
+ icon = input("grip", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
19
+ label = input("Open navigation", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
20
+ navigationId = `__shell-navigation-${shellNavigationFlyoutInstanceId += 1}`;
21
+ navigationSource = this.navigation.data(LAYOUT_DESKTOP_NAVIGATION_DATA_ID);
22
+ navigationData = computed(() => this.navigationSource(), ...ngDevMode ? [{ debugName: "navigationData" }] : /* istanbul ignore next */ []);
23
+ showsFlyout = computed(() => this.enabled() && this.navigationData().length > 0, ...ngDevMode ? [{ debugName: "showsFlyout" }] : /* istanbul ignore next */ []);
24
+ appearance = computed(() => this.layout?.appearance() ?? "flat", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
25
+ brand = computed(() => this.identity?.brand() ?? null, ...ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []);
26
+ user = computed(() => this.identity?.user() ?? null, ...ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []);
27
+ static ɵfac = i0.ɵɵngDeclareFactory({
28
+ minVersion: "12.0.0",
29
+ version: "22.2.4",
30
+ ngImport: i0,
31
+ type: ShellNavigationFlyoutComponent,
32
+ deps: [],
33
+ target: i0.ɵɵFactoryTarget.Component
34
+ });
35
+ static ɵcmp = i0.ɵɵngDeclareComponent({
36
+ minVersion: "17.0.0",
37
+ version: "22.2.4",
38
+ type: ShellNavigationFlyoutComponent,
39
+ isStandalone: true,
40
+ selector: "ShellNavigationFlyout",
41
+ inputs: {
42
+ enabled: {
43
+ classPropertyName: "enabled",
44
+ publicName: "enabled",
45
+ isSignal: true,
46
+ isRequired: false,
47
+ transformFunction: null
48
+ },
49
+ icon: {
50
+ classPropertyName: "icon",
51
+ publicName: "icon",
52
+ isSignal: true,
53
+ isRequired: false,
54
+ transformFunction: null
55
+ },
56
+ label: {
57
+ classPropertyName: "label",
58
+ publicName: "label",
59
+ isSignal: true,
60
+ isRequired: false,
61
+ transformFunction: null
62
+ }
63
+ },
64
+ host: {
65
+ properties: { "attr.data-shell-navigation-flyout": "showsFlyout() ? \"\" : null" },
66
+ styleAttribute: "--nav-flyout-floating-width: 100vw; --nav-flyout-floating-max-width: 100vw; --nav-flyout-floating-radius: 0 0 var(--shell-frame-radius) var(--shell-frame-radius);",
67
+ classAttribute: "contents"
68
+ },
69
+ providers: [provideIcons(LucideGrip)],
70
+ ngImport: i0,
71
+ template: `
72
+ @if (showsFlyout()) {
73
+ <Navigation
74
+ [id]="navigationId"
75
+ [data]="navigationData()"
76
+ ariaLabel="Application navigation"
77
+ class="h-full w-auto shrink-0"
78
+ >
79
+ <NavigationFlyout
80
+ [icon]="icon()"
81
+ icon-only
82
+ trigger-variant="plain"
83
+ trigger-floating
84
+ panel-viewport
85
+ trigger-class="relative z-20 flex h-full w-max items-center"
86
+ trigger-button-class="!bg-transparent !text-[hsl(var(--shell-bar-foreground))]"
87
+ [nav-type-style]="appearance()"
88
+ [label]="label()"
89
+ >
90
+ @if (brand(); as identity) {
91
+ <NavigationHeader>
92
+ <LayoutBrand [brand]="identity" />
93
+ </NavigationHeader>
94
+ }
95
+ @if (user(); as identity) {
96
+ <NavigationFooter class="px-3">
97
+ <LayoutUser [user]="identity" />
98
+ </NavigationFooter>
99
+ }
100
+ </NavigationFlyout>
101
+ </Navigation>
102
+ }
103
+ `,
104
+ isInline: true,
105
+ dependencies: [
106
+ {
107
+ kind: "component",
108
+ type: NavigationContainerComponent,
109
+ selector: "Navigation",
110
+ inputs: [
111
+ "id",
112
+ "data-id",
113
+ "data",
114
+ "badge-context",
115
+ "ariaLabel",
116
+ "compact",
117
+ "collapse-tree",
118
+ "class",
119
+ "itemClass",
120
+ "nav-group-class",
121
+ "activeIds",
122
+ "activeUrl",
123
+ "openedIds"
124
+ ],
125
+ outputs: ["openedIdsChange", "itemSelected"]
126
+ },
127
+ {
128
+ kind: "component",
129
+ type: NavigationFlyoutComponent,
130
+ selector: "NavigationFlyout",
131
+ inputs: [
132
+ "label",
133
+ "icon",
134
+ "icon-only",
135
+ "icon-position",
136
+ "trigger-variant",
137
+ "trigger-floating",
138
+ "panel-viewport",
139
+ "trigger-class",
140
+ "trigger-button-class",
141
+ "nav-position",
142
+ "nav-type-style",
143
+ "class"
144
+ ]
145
+ },
146
+ {
147
+ kind: "component",
148
+ type: NavigationHeaderComponent,
149
+ selector: "NavigationHeader",
150
+ inputs: ["toggle", "class"]
151
+ },
152
+ {
153
+ kind: "component",
154
+ type: NavigationFooterComponent,
155
+ selector: "NavigationFooter",
156
+ inputs: ["class"]
157
+ },
158
+ {
159
+ kind: "component",
160
+ type: LayoutBrand,
161
+ selector: "LayoutBrand",
162
+ inputs: ["brand", "compact"]
163
+ },
164
+ {
165
+ kind: "component",
166
+ type: LayoutUser,
167
+ selector: "LayoutUser",
168
+ inputs: [
169
+ "user",
170
+ "detailed",
171
+ "show-initial",
172
+ "show-email",
173
+ "show-theme-settings",
174
+ "logoutLabel",
175
+ "logoutIcon"
176
+ ],
177
+ outputs: ["logout"]
178
+ }
179
+ ]
180
+ });
181
+ };
182
+ i0.ɵɵngDeclareClassMetadata({
183
+ minVersion: "12.0.0",
184
+ version: "22.2.4",
185
+ ngImport: i0,
186
+ type: ShellNavigationFlyoutComponent,
187
+ decorators: [{
188
+ type: Component,
189
+ args: [{
190
+ selector: "ShellNavigationFlyout",
191
+ providers: [provideIcons(LucideGrip)],
192
+ imports: [
193
+ NavigationContainerComponent,
194
+ NavigationFlyoutComponent,
195
+ NavigationHeaderComponent,
196
+ NavigationFooterComponent,
197
+ LayoutBrand,
198
+ LayoutUser
199
+ ],
200
+ host: {
201
+ class: "contents",
202
+ style: "--nav-flyout-floating-width: 100vw; --nav-flyout-floating-max-width: 100vw; --nav-flyout-floating-radius: 0 0 var(--shell-frame-radius) var(--shell-frame-radius);",
203
+ "[attr.data-shell-navigation-flyout]": "showsFlyout() ? \"\" : null"
204
+ },
205
+ template: `
206
+ @if (showsFlyout()) {
207
+ <Navigation
208
+ [id]="navigationId"
209
+ [data]="navigationData()"
210
+ ariaLabel="Application navigation"
211
+ class="h-full w-auto shrink-0"
212
+ >
213
+ <NavigationFlyout
214
+ [icon]="icon()"
215
+ icon-only
216
+ trigger-variant="plain"
217
+ trigger-floating
218
+ panel-viewport
219
+ trigger-class="relative z-20 flex h-full w-max items-center"
220
+ trigger-button-class="!bg-transparent !text-[hsl(var(--shell-bar-foreground))]"
221
+ [nav-type-style]="appearance()"
222
+ [label]="label()"
223
+ >
224
+ @if (brand(); as identity) {
225
+ <NavigationHeader>
226
+ <LayoutBrand [brand]="identity" />
227
+ </NavigationHeader>
228
+ }
229
+ @if (user(); as identity) {
230
+ <NavigationFooter class="px-3">
231
+ <LayoutUser [user]="identity" />
232
+ </NavigationFooter>
233
+ }
234
+ </NavigationFlyout>
235
+ </Navigation>
236
+ }
237
+ `
238
+ }]
239
+ }],
240
+ propDecorators: {
241
+ enabled: [{
242
+ type: i0.Input,
243
+ args: [{
244
+ isSignal: true,
245
+ alias: "enabled",
246
+ required: false
247
+ }]
248
+ }],
249
+ icon: [{
250
+ type: i0.Input,
251
+ args: [{
252
+ isSignal: true,
253
+ alias: "icon",
254
+ required: false
255
+ }]
256
+ }],
257
+ label: [{
258
+ type: i0.Input,
259
+ args: [{
260
+ isSignal: true,
261
+ alias: "label",
262
+ required: false
263
+ }]
264
+ }]
265
+ }
266
+ });
267
+ var ShellBarComponent = class ShellBarComponent {
268
+ shell = inject(ShellService$1);
269
+ device = input(SHELL_DEFAULT_DEVICE$1, ...ngDevMode ? [{ debugName: "device" }] : /* istanbul ignore next */ []);
270
+ color = input(SHELL_DEFAULT_COLOR$1, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
271
+ frame = input(SHELL_DEFAULT_FRAME$1, ...ngDevMode ? [{ debugName: "frame" }] : /* istanbul ignore next */ []);
272
+ nativeWindowControls = input(false, {
273
+ ...ngDevMode ? { debugName: "nativeWindowControls" } : /* istanbul ignore next */ {},
274
+ transform: booleanAttribute
275
+ });
276
+ drag = input(true, {
277
+ ...ngDevMode ? { debugName: "drag" } : /* istanbul ignore next */ {},
278
+ transform: booleanAttribute
279
+ });
280
+ landmark = input(true, {
281
+ ...ngDevMode ? { debugName: "landmark" } : /* istanbul ignore next */ {},
282
+ transform: booleanAttribute
283
+ });
284
+ ariaLabel = input("Application title bar", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
285
+ minimizeLabel = input("Minimize window", ...ngDevMode ? [{ debugName: "minimizeLabel" }] : /* istanbul ignore next */ []);
286
+ maximizeLabel = input("Maximize window", ...ngDevMode ? [{ debugName: "maximizeLabel" }] : /* istanbul ignore next */ []);
287
+ restoreLabel = input("Restore window", ...ngDevMode ? [{ debugName: "restoreLabel" }] : /* istanbul ignore next */ []);
288
+ closeLabel = input("Close window", ...ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []);
289
+ navigationFlyout = input(true, ...ngDevMode ? [{ debugName: "navigationFlyout" }] : /* istanbul ignore next */ []);
290
+ navigationFlyoutIcon = input("grip", ...ngDevMode ? [{ debugName: "navigationFlyoutIcon" }] : /* istanbul ignore next */ []);
291
+ navigationFlyoutLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "navigationFlyoutLabel" }] : /* istanbul ignore next */ []);
292
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
293
+ maximizeToggleLabel = computed(() => this.shell.isMaximized() ? this.restoreLabel() : this.maximizeLabel(), ...ngDevMode ? [{ debugName: "maximizeToggleLabel" }] : /* istanbul ignore next */ []);
294
+ isMacOs = computed(() => this.device() === "macos", ...ngDevMode ? [{ debugName: "isMacOs" }] : /* istanbul ignore next */ []);
295
+ showsTrafficLights = computed(() => this.isMacOs() && !this.nativeWindowControls(), ...ngDevMode ? [{ debugName: "showsTrafficLights" }] : /* istanbul ignore next */ []);
296
+ showsWindowControls = computed(() => !this.isMacOs() && !this.nativeWindowControls(), ...ngDevMode ? [{ debugName: "showsWindowControls" }] : /* istanbul ignore next */ []);
297
+ reservesTrafficLights = computed(() => this.isMacOs() && this.nativeWindowControls(), ...ngDevMode ? [{ debugName: "reservesTrafficLights" }] : /* istanbul ignore next */ []);
298
+ classes = computed(() => cn("relative z-20 grid h-(--shell-bar-height) min-h-(--shell-bar-height) shrink-0", "grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-(--shell-bar-gap)", "bg-[hsl(var(--shell-bar-background))] px-(--shell-bar-inline)", "text-[hsl(var(--shell-bar-foreground))]", this.frame() === "classic" && "border-b border-[hsl(var(--shell-bar-border))]", this.reservesTrafficLights() && "pl-(--shell-traffic-light-inset)", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
299
+ startSlotClasses = computed(() => cn("shell-no-drag flex min-w-0 items-center gap-(--shell-bar-gap)"), ...ngDevMode ? [{ debugName: "startSlotClasses" }] : /* istanbul ignore next */ []);
300
+ endSlotClasses = computed(() => cn("shell-no-drag flex min-w-0 items-center justify-end gap-(--shell-bar-gap)"), ...ngDevMode ? [{ debugName: "endSlotClasses" }] : /* istanbul ignore next */ []);
301
+ titleClasses = computed(() => cn("min-w-0 truncate text-center text-xs font-medium", this.shell.focused() ? "opacity-100" : "opacity-60"), ...ngDevMode ? [{ debugName: "titleClasses" }] : /* istanbul ignore next */ []);
302
+ controlClasses = computed(() => cn("shell-no-drag inline-grid size-(--shell-control-size) shrink-0 place-items-center rounded-sm", "opacity-70 transition-[background-color,opacity] hover:opacity-100", "hover:bg-[hsl(var(--shell-bar-foreground)/0.12)]", "focus-visible:outline-none focus-visible:ring-2", "focus-visible:ring-[hsl(var(--shell-bar-foreground))]", "focus-visible:ring-offset-1 focus-visible:ring-offset-[hsl(var(--shell-bar-background))]"), ...ngDevMode ? [{ debugName: "controlClasses" }] : /* istanbul ignore next */ []);
303
+ trafficLightClasses(control) {
304
+ return cn("shell-no-drag group inline-grid size-(--shell-traffic-light-size) shrink-0", "cursor-pointer place-items-center rounded-full", "ring-1 ring-black/15 transition-colors", "focus-visible:outline-none focus-visible:ring-2", "focus-visible:ring-[hsl(var(--shell-bar-foreground))]", "focus-visible:ring-offset-1 focus-visible:ring-offset-[hsl(var(--shell-bar-background))]", control === "close" && "bg-[#ff5f57] hover:bg-[#e0443e]", control === "minimize" && "bg-[#febc2e] hover:bg-[#dea123]", control === "zoom" && "bg-[#28c840] hover:bg-[#1aad2b]");
305
+ }
306
+ trafficGlyphClasses() {
307
+ return cn("size-(--shell-traffic-light-size) opacity-0 transition-opacity", "group-hover:opacity-70 group-focus-visible:opacity-70", "stroke-black/70 [stroke-linecap:round] [stroke-width:1.5] [fill:none]");
308
+ }
309
+ closeControlClasses = computed(() => cn(this.controlClasses(), "hover:bg-destructive hover:text-destructive-foreground"), ...ngDevMode ? [{ debugName: "closeControlClasses" }] : /* istanbul ignore next */ []);
310
+ minimize() {
311
+ this.shell.minimize();
312
+ }
313
+ toggleMaximize() {
314
+ this.shell.toggleMaximize();
315
+ }
316
+ close() {
317
+ this.shell.close();
318
+ }
319
+ static ɵfac = i0.ɵɵngDeclareFactory({
320
+ minVersion: "12.0.0",
321
+ version: "22.2.4",
322
+ ngImport: i0,
323
+ type: ShellBarComponent,
324
+ deps: [],
325
+ target: i0.ɵɵFactoryTarget.Component
326
+ });
327
+ static ɵcmp = i0.ɵɵngDeclareComponent({
328
+ minVersion: "17.0.0",
329
+ version: "22.2.4",
330
+ type: ShellBarComponent,
331
+ isStandalone: true,
332
+ selector: "ShellBar",
333
+ inputs: {
334
+ device: {
335
+ classPropertyName: "device",
336
+ publicName: "device",
337
+ isSignal: true,
338
+ isRequired: false,
339
+ transformFunction: null
340
+ },
341
+ color: {
342
+ classPropertyName: "color",
343
+ publicName: "color",
344
+ isSignal: true,
345
+ isRequired: false,
346
+ transformFunction: null
347
+ },
348
+ frame: {
349
+ classPropertyName: "frame",
350
+ publicName: "frame",
351
+ isSignal: true,
352
+ isRequired: false,
353
+ transformFunction: null
354
+ },
355
+ nativeWindowControls: {
356
+ classPropertyName: "nativeWindowControls",
357
+ publicName: "nativeWindowControls",
358
+ isSignal: true,
359
+ isRequired: false,
360
+ transformFunction: null
361
+ },
362
+ drag: {
363
+ classPropertyName: "drag",
364
+ publicName: "drag",
365
+ isSignal: true,
366
+ isRequired: false,
367
+ transformFunction: null
368
+ },
369
+ landmark: {
370
+ classPropertyName: "landmark",
371
+ publicName: "landmark",
372
+ isSignal: true,
373
+ isRequired: false,
374
+ transformFunction: null
375
+ },
376
+ ariaLabel: {
377
+ classPropertyName: "ariaLabel",
378
+ publicName: "ariaLabel",
379
+ isSignal: true,
380
+ isRequired: false,
381
+ transformFunction: null
382
+ },
383
+ minimizeLabel: {
384
+ classPropertyName: "minimizeLabel",
385
+ publicName: "minimizeLabel",
386
+ isSignal: true,
387
+ isRequired: false,
388
+ transformFunction: null
389
+ },
390
+ maximizeLabel: {
391
+ classPropertyName: "maximizeLabel",
392
+ publicName: "maximizeLabel",
393
+ isSignal: true,
394
+ isRequired: false,
395
+ transformFunction: null
396
+ },
397
+ restoreLabel: {
398
+ classPropertyName: "restoreLabel",
399
+ publicName: "restoreLabel",
400
+ isSignal: true,
401
+ isRequired: false,
402
+ transformFunction: null
403
+ },
404
+ closeLabel: {
405
+ classPropertyName: "closeLabel",
406
+ publicName: "closeLabel",
407
+ isSignal: true,
408
+ isRequired: false,
409
+ transformFunction: null
410
+ },
411
+ navigationFlyout: {
412
+ classPropertyName: "navigationFlyout",
413
+ publicName: "navigationFlyout",
414
+ isSignal: true,
415
+ isRequired: false,
416
+ transformFunction: null
417
+ },
418
+ navigationFlyoutIcon: {
419
+ classPropertyName: "navigationFlyoutIcon",
420
+ publicName: "navigationFlyoutIcon",
421
+ isSignal: true,
422
+ isRequired: false,
423
+ transformFunction: null
424
+ },
425
+ navigationFlyoutLabel: {
426
+ classPropertyName: "navigationFlyoutLabel",
427
+ publicName: "navigationFlyoutLabel",
428
+ isSignal: true,
429
+ isRequired: false,
430
+ transformFunction: null
431
+ },
432
+ class: {
433
+ classPropertyName: "class",
434
+ publicName: "class",
435
+ isSignal: true,
436
+ isRequired: false,
437
+ transformFunction: null
438
+ }
439
+ },
440
+ host: {
441
+ attributes: { "data-shell-bar": "" },
442
+ properties: {
443
+ "class": "classes()",
444
+ "attr.data-shell-device": "device()",
445
+ "attr.data-shell-color": "color()",
446
+ "attr.data-shell-frame": "frame()",
447
+ "attr.data-tauri-drag-region": "drag() ? \"\" : null",
448
+ "attr.data-shell-window": "shell.windowState()",
449
+ "attr.data-shell-focused": "shell.focused()",
450
+ "attr.role": "landmark() ? \"banner\" : null",
451
+ "attr.aria-label": "landmark() ? ariaLabel() || null : null"
452
+ }
453
+ },
454
+ ngImport: i0,
455
+ template: `
456
+ <div data-shell-bar-start [class]="startSlotClasses()">
457
+ @if (!isMacOs()) {
458
+ <ShellNavigationFlyout
459
+ [enabled]="navigationFlyout()"
460
+ [icon]="navigationFlyoutIcon()"
461
+ [label]="navigationFlyoutLabel()"
462
+ />
463
+ }
464
+
465
+ @if (showsTrafficLights()) {
466
+ <div data-shell-traffic-lights class="flex shrink-0 items-center gap-2 pl-2 pr-1">
467
+ <button
468
+ type="button"
469
+ data-shell-control="close"
470
+ [class]="trafficLightClasses('close')"
471
+ [attr.aria-label]="closeLabel()"
472
+ [title]="closeLabel()"
473
+ (click)="close()"
474
+ >
475
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
476
+ <path d="M4 4l4 4M8 4l-4 4" />
477
+ </svg>
478
+ </button>
479
+ <button
480
+ type="button"
481
+ data-shell-control="minimize"
482
+ [class]="trafficLightClasses('minimize')"
483
+ [attr.aria-label]="minimizeLabel()"
484
+ [title]="minimizeLabel()"
485
+ (click)="minimize()"
486
+ >
487
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
488
+ <path d="M3.5 6h5" />
489
+ </svg>
490
+ </button>
491
+ <button
492
+ type="button"
493
+ data-shell-control="zoom"
494
+ [class]="trafficLightClasses('zoom')"
495
+ [attr.aria-label]="maximizeToggleLabel()"
496
+ [attr.aria-pressed]="shell.isMaximized()"
497
+ [title]="maximizeToggleLabel()"
498
+ (click)="toggleMaximize()"
499
+ >
500
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
501
+ <path d="M6 3.5v5M3.5 6h5" />
502
+ </svg>
503
+ </button>
504
+ </div>
505
+ }
506
+
507
+ <ng-content select="[shellBarStart]" />
508
+ </div>
509
+
510
+ <div data-shell-bar-title [class]="titleClasses()">
511
+ <ng-content select="[shellBarTitle]" />
512
+ </div>
513
+
514
+ <div data-shell-bar-end [class]="endSlotClasses()">
515
+ <ng-content select="[shellBarEnd]" />
516
+
517
+ @if (isMacOs()) {
518
+ <ShellNavigationFlyout
519
+ [enabled]="navigationFlyout()"
520
+ [icon]="navigationFlyoutIcon()"
521
+ [label]="navigationFlyoutLabel()"
522
+ />
523
+ }
524
+
525
+ @if (showsWindowControls()) {
526
+ <button
527
+ type="button"
528
+ data-shell-control="minimize"
529
+ [class]="controlClasses()"
530
+ [attr.aria-label]="minimizeLabel()"
531
+ [title]="minimizeLabel()"
532
+ (click)="minimize()"
533
+ >
534
+ <svg
535
+ aria-hidden="true"
536
+ focusable="false"
537
+ viewBox="0 0 16 16"
538
+ class="size-4"
539
+ fill="none"
540
+ stroke="currentColor"
541
+ stroke-width="1.25"
542
+ stroke-linecap="round"
543
+ >
544
+ <path d="M3.5 8h9" />
545
+ </svg>
546
+ </button>
547
+
548
+ <button
549
+ type="button"
550
+ data-shell-control="maximize"
551
+ [class]="controlClasses()"
552
+ [attr.aria-label]="maximizeToggleLabel()"
553
+ [attr.aria-pressed]="shell.isMaximized()"
554
+ [title]="maximizeToggleLabel()"
555
+ (click)="toggleMaximize()"
556
+ >
557
+ @if (shell.isMaximized()) {
558
+ <svg
559
+ aria-hidden="true"
560
+ focusable="false"
561
+ viewBox="0 0 16 16"
562
+ class="size-4"
563
+ fill="none"
564
+ stroke="currentColor"
565
+ stroke-width="1.25"
566
+ stroke-linejoin="round"
567
+ >
568
+ <path d="M5.25 5.25V3.75h7v7h-1.5" />
569
+ <rect x="3.75" y="5.25" width="7" height="7" rx="0.75" />
570
+ </svg>
571
+ } @else {
572
+ <svg
573
+ aria-hidden="true"
574
+ focusable="false"
575
+ viewBox="0 0 16 16"
576
+ class="size-4"
577
+ fill="none"
578
+ stroke="currentColor"
579
+ stroke-width="1.25"
580
+ stroke-linejoin="round"
581
+ >
582
+ <rect x="3.75" y="3.75" width="8.5" height="8.5" rx="0.75" />
583
+ </svg>
584
+ }
585
+ </button>
586
+
587
+ <button
588
+ type="button"
589
+ data-shell-control="close"
590
+ [class]="closeControlClasses()"
591
+ [attr.aria-label]="closeLabel()"
592
+ [title]="closeLabel()"
593
+ (click)="close()"
594
+ >
595
+ <svg
596
+ aria-hidden="true"
597
+ focusable="false"
598
+ viewBox="0 0 16 16"
599
+ class="size-4"
600
+ fill="none"
601
+ stroke="currentColor"
602
+ stroke-width="1.25"
603
+ stroke-linecap="round"
604
+ >
605
+ <path d="M4.25 4.25l7.5 7.5M11.75 4.25l-7.5 7.5" />
606
+ </svg>
607
+ </button>
608
+ }
609
+ </div>
610
+ `,
611
+ isInline: true,
612
+ dependencies: [{
613
+ kind: "component",
614
+ type: ShellNavigationFlyoutComponent,
615
+ selector: "ShellNavigationFlyout",
616
+ inputs: [
617
+ "enabled",
618
+ "icon",
619
+ "label"
620
+ ]
621
+ }]
622
+ });
623
+ };
624
+ i0.ɵɵngDeclareClassMetadata({
625
+ minVersion: "12.0.0",
626
+ version: "22.2.4",
627
+ ngImport: i0,
628
+ type: ShellBarComponent,
629
+ decorators: [{
630
+ type: Component,
631
+ args: [{
632
+ selector: "ShellBar",
633
+ imports: [ShellNavigationFlyoutComponent],
634
+ host: {
635
+ "[class]": "classes()",
636
+ "data-shell-bar": "",
637
+ "[attr.data-shell-device]": "device()",
638
+ "[attr.data-shell-color]": "color()",
639
+ "[attr.data-shell-frame]": "frame()",
640
+ "[attr.data-tauri-drag-region]": "drag() ? \"\" : null",
641
+ "[attr.data-shell-window]": "shell.windowState()",
642
+ "[attr.data-shell-focused]": "shell.focused()",
643
+ "[attr.role]": "landmark() ? \"banner\" : null",
644
+ "[attr.aria-label]": "landmark() ? ariaLabel() || null : null"
645
+ },
646
+ template: `
647
+ <div data-shell-bar-start [class]="startSlotClasses()">
648
+ @if (!isMacOs()) {
649
+ <ShellNavigationFlyout
650
+ [enabled]="navigationFlyout()"
651
+ [icon]="navigationFlyoutIcon()"
652
+ [label]="navigationFlyoutLabel()"
653
+ />
654
+ }
655
+
656
+ @if (showsTrafficLights()) {
657
+ <div data-shell-traffic-lights class="flex shrink-0 items-center gap-2 pl-2 pr-1">
658
+ <button
659
+ type="button"
660
+ data-shell-control="close"
661
+ [class]="trafficLightClasses('close')"
662
+ [attr.aria-label]="closeLabel()"
663
+ [title]="closeLabel()"
664
+ (click)="close()"
665
+ >
666
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
667
+ <path d="M4 4l4 4M8 4l-4 4" />
668
+ </svg>
669
+ </button>
670
+ <button
671
+ type="button"
672
+ data-shell-control="minimize"
673
+ [class]="trafficLightClasses('minimize')"
674
+ [attr.aria-label]="minimizeLabel()"
675
+ [title]="minimizeLabel()"
676
+ (click)="minimize()"
677
+ >
678
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
679
+ <path d="M3.5 6h5" />
680
+ </svg>
681
+ </button>
682
+ <button
683
+ type="button"
684
+ data-shell-control="zoom"
685
+ [class]="trafficLightClasses('zoom')"
686
+ [attr.aria-label]="maximizeToggleLabel()"
687
+ [attr.aria-pressed]="shell.isMaximized()"
688
+ [title]="maximizeToggleLabel()"
689
+ (click)="toggleMaximize()"
690
+ >
691
+ <svg [class]="trafficGlyphClasses()" viewBox="0 0 12 12" aria-hidden="true">
692
+ <path d="M6 3.5v5M3.5 6h5" />
693
+ </svg>
694
+ </button>
695
+ </div>
696
+ }
697
+
698
+ <ng-content select="[shellBarStart]" />
699
+ </div>
700
+
701
+ <div data-shell-bar-title [class]="titleClasses()">
702
+ <ng-content select="[shellBarTitle]" />
703
+ </div>
704
+
705
+ <div data-shell-bar-end [class]="endSlotClasses()">
706
+ <ng-content select="[shellBarEnd]" />
707
+
708
+ @if (isMacOs()) {
709
+ <ShellNavigationFlyout
710
+ [enabled]="navigationFlyout()"
711
+ [icon]="navigationFlyoutIcon()"
712
+ [label]="navigationFlyoutLabel()"
713
+ />
714
+ }
715
+
716
+ @if (showsWindowControls()) {
717
+ <button
718
+ type="button"
719
+ data-shell-control="minimize"
720
+ [class]="controlClasses()"
721
+ [attr.aria-label]="minimizeLabel()"
722
+ [title]="minimizeLabel()"
723
+ (click)="minimize()"
724
+ >
725
+ <svg
726
+ aria-hidden="true"
727
+ focusable="false"
728
+ viewBox="0 0 16 16"
729
+ class="size-4"
730
+ fill="none"
731
+ stroke="currentColor"
732
+ stroke-width="1.25"
733
+ stroke-linecap="round"
734
+ >
735
+ <path d="M3.5 8h9" />
736
+ </svg>
737
+ </button>
738
+
739
+ <button
740
+ type="button"
741
+ data-shell-control="maximize"
742
+ [class]="controlClasses()"
743
+ [attr.aria-label]="maximizeToggleLabel()"
744
+ [attr.aria-pressed]="shell.isMaximized()"
745
+ [title]="maximizeToggleLabel()"
746
+ (click)="toggleMaximize()"
747
+ >
748
+ @if (shell.isMaximized()) {
749
+ <svg
750
+ aria-hidden="true"
751
+ focusable="false"
752
+ viewBox="0 0 16 16"
753
+ class="size-4"
754
+ fill="none"
755
+ stroke="currentColor"
756
+ stroke-width="1.25"
757
+ stroke-linejoin="round"
758
+ >
759
+ <path d="M5.25 5.25V3.75h7v7h-1.5" />
760
+ <rect x="3.75" y="5.25" width="7" height="7" rx="0.75" />
761
+ </svg>
762
+ } @else {
763
+ <svg
764
+ aria-hidden="true"
765
+ focusable="false"
766
+ viewBox="0 0 16 16"
767
+ class="size-4"
768
+ fill="none"
769
+ stroke="currentColor"
770
+ stroke-width="1.25"
771
+ stroke-linejoin="round"
772
+ >
773
+ <rect x="3.75" y="3.75" width="8.5" height="8.5" rx="0.75" />
774
+ </svg>
775
+ }
776
+ </button>
777
+
778
+ <button
779
+ type="button"
780
+ data-shell-control="close"
781
+ [class]="closeControlClasses()"
782
+ [attr.aria-label]="closeLabel()"
783
+ [title]="closeLabel()"
784
+ (click)="close()"
785
+ >
786
+ <svg
787
+ aria-hidden="true"
788
+ focusable="false"
789
+ viewBox="0 0 16 16"
790
+ class="size-4"
791
+ fill="none"
792
+ stroke="currentColor"
793
+ stroke-width="1.25"
794
+ stroke-linecap="round"
795
+ >
796
+ <path d="M4.25 4.25l7.5 7.5M11.75 4.25l-7.5 7.5" />
797
+ </svg>
798
+ </button>
799
+ }
800
+ </div>
801
+ `
802
+ }]
803
+ }],
804
+ propDecorators: {
805
+ device: [{
806
+ type: i0.Input,
807
+ args: [{
808
+ isSignal: true,
809
+ alias: "device",
810
+ required: false
811
+ }]
812
+ }],
813
+ color: [{
814
+ type: i0.Input,
815
+ args: [{
816
+ isSignal: true,
817
+ alias: "color",
818
+ required: false
819
+ }]
820
+ }],
821
+ frame: [{
822
+ type: i0.Input,
823
+ args: [{
824
+ isSignal: true,
825
+ alias: "frame",
826
+ required: false
827
+ }]
828
+ }],
829
+ nativeWindowControls: [{
830
+ type: i0.Input,
831
+ args: [{
832
+ isSignal: true,
833
+ alias: "nativeWindowControls",
834
+ required: false
835
+ }]
836
+ }],
837
+ drag: [{
838
+ type: i0.Input,
839
+ args: [{
840
+ isSignal: true,
841
+ alias: "drag",
842
+ required: false
843
+ }]
844
+ }],
845
+ landmark: [{
846
+ type: i0.Input,
847
+ args: [{
848
+ isSignal: true,
849
+ alias: "landmark",
850
+ required: false
851
+ }]
852
+ }],
853
+ ariaLabel: [{
854
+ type: i0.Input,
855
+ args: [{
856
+ isSignal: true,
857
+ alias: "ariaLabel",
858
+ required: false
859
+ }]
860
+ }],
861
+ minimizeLabel: [{
862
+ type: i0.Input,
863
+ args: [{
864
+ isSignal: true,
865
+ alias: "minimizeLabel",
866
+ required: false
867
+ }]
868
+ }],
869
+ maximizeLabel: [{
870
+ type: i0.Input,
871
+ args: [{
872
+ isSignal: true,
873
+ alias: "maximizeLabel",
874
+ required: false
875
+ }]
876
+ }],
877
+ restoreLabel: [{
878
+ type: i0.Input,
879
+ args: [{
880
+ isSignal: true,
881
+ alias: "restoreLabel",
882
+ required: false
883
+ }]
884
+ }],
885
+ closeLabel: [{
886
+ type: i0.Input,
887
+ args: [{
888
+ isSignal: true,
889
+ alias: "closeLabel",
890
+ required: false
891
+ }]
892
+ }],
893
+ navigationFlyout: [{
894
+ type: i0.Input,
895
+ args: [{
896
+ isSignal: true,
897
+ alias: "navigationFlyout",
898
+ required: false
899
+ }]
900
+ }],
901
+ navigationFlyoutIcon: [{
902
+ type: i0.Input,
903
+ args: [{
904
+ isSignal: true,
905
+ alias: "navigationFlyoutIcon",
906
+ required: false
907
+ }]
908
+ }],
909
+ navigationFlyoutLabel: [{
910
+ type: i0.Input,
911
+ args: [{
912
+ isSignal: true,
913
+ alias: "navigationFlyoutLabel",
914
+ required: false
915
+ }]
916
+ }],
917
+ class: [{
918
+ type: i0.Input,
919
+ args: [{
920
+ isSignal: true,
921
+ alias: "class",
922
+ required: false
923
+ }]
924
+ }]
925
+ }
926
+ });
927
+ var ShellComponent = class ShellComponent {
928
+ shell = inject(ShellService$1);
929
+ mode = input(null, ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
930
+ device = input(null, ...ngDevMode ? [{ debugName: "device" }] : /* istanbul ignore next */ []);
931
+ color = input(null, ...ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []);
932
+ frame = input(null, ...ngDevMode ? [{ debugName: "frame" }] : /* istanbul ignore next */ []);
933
+ nativeWindowControls = input(false, {
934
+ ...ngDevMode ? { debugName: "nativeWindowControls" } : /* istanbul ignore next */ {},
935
+ transform: booleanAttribute
936
+ });
937
+ drag = input(true, {
938
+ ...ngDevMode ? { debugName: "drag" } : /* istanbul ignore next */ {},
939
+ transform: booleanAttribute
940
+ });
941
+ landmark = input(true, {
942
+ ...ngDevMode ? { debugName: "landmark" } : /* istanbul ignore next */ {},
943
+ transform: booleanAttribute
944
+ });
945
+ barAriaLabel = input("Application title bar", ...ngDevMode ? [{ debugName: "barAriaLabel" }] : /* istanbul ignore next */ []);
946
+ minimizeLabel = input("Minimize window", ...ngDevMode ? [{ debugName: "minimizeLabel" }] : /* istanbul ignore next */ []);
947
+ maximizeLabel = input("Maximize window", ...ngDevMode ? [{ debugName: "maximizeLabel" }] : /* istanbul ignore next */ []);
948
+ restoreLabel = input("Restore window", ...ngDevMode ? [{ debugName: "restoreLabel" }] : /* istanbul ignore next */ []);
949
+ closeLabel = input("Close window", ...ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []);
950
+ navigationFlyout = input(true, {
951
+ ...ngDevMode ? { debugName: "navigationFlyout" } : /* istanbul ignore next */ {},
952
+ transform: booleanAttribute
953
+ });
954
+ navigationFlyoutIcon = input("grip", ...ngDevMode ? [{ debugName: "navigationFlyoutIcon" }] : /* istanbul ignore next */ []);
955
+ navigationFlyoutLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "navigationFlyoutLabel" }] : /* istanbul ignore next */ []);
956
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
957
+ resolvedMode = computed(() => this.mode() ?? this.shell.mode(), ...ngDevMode ? [{ debugName: "resolvedMode" }] : /* istanbul ignore next */ []);
958
+ resolvedDevice = computed(() => resolveShellDeviceForMode$1(this.resolvedMode(), this.device() ?? this.shell.device()), ...ngDevMode ? [{ debugName: "resolvedDevice" }] : /* istanbul ignore next */ []);
959
+ resolvedColor = computed(() => this.color() ?? this.shell.color(), ...ngDevMode ? [{ debugName: "resolvedColor" }] : /* istanbul ignore next */ []);
960
+ resolvedFrame = computed(() => resolveShellFrameForMode$1(this.resolvedMode(), this.frame() ?? this.shell.frame()), ...ngDevMode ? [{ debugName: "resolvedFrame" }] : /* istanbul ignore next */ []);
961
+ showsBar = computed(() => this.resolvedMode() === "desktop", ...ngDevMode ? [{ debugName: "showsBar" }] : /* istanbul ignore next */ []);
962
+ hostClasses = computed(() => cn("relative isolate flex h-dvh w-full min-w-0 flex-col overflow-hidden text-foreground", this.showsBar() && this.drag() && "shell-drag-region", this.resolvedColor() === "sync" || this.resolvedFrame() === "modern" ? "bg-[hsl(var(--shell-bar-background))]" : "bg-layout-canvas", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
963
+ static ɵfac = i0.ɵɵngDeclareFactory({
964
+ minVersion: "12.0.0",
965
+ version: "22.2.4",
966
+ ngImport: i0,
967
+ type: ShellComponent,
968
+ deps: [],
969
+ target: i0.ɵɵFactoryTarget.Component
970
+ });
971
+ static ɵcmp = i0.ɵɵngDeclareComponent({
972
+ minVersion: "17.0.0",
973
+ version: "22.2.4",
974
+ type: ShellComponent,
975
+ isStandalone: true,
976
+ selector: "Shell",
977
+ inputs: {
978
+ mode: {
979
+ classPropertyName: "mode",
980
+ publicName: "mode",
981
+ isSignal: true,
982
+ isRequired: false,
983
+ transformFunction: null
984
+ },
985
+ device: {
986
+ classPropertyName: "device",
987
+ publicName: "device",
988
+ isSignal: true,
989
+ isRequired: false,
990
+ transformFunction: null
991
+ },
992
+ color: {
993
+ classPropertyName: "color",
994
+ publicName: "color",
995
+ isSignal: true,
996
+ isRequired: false,
997
+ transformFunction: null
998
+ },
999
+ frame: {
1000
+ classPropertyName: "frame",
1001
+ publicName: "frame",
1002
+ isSignal: true,
1003
+ isRequired: false,
1004
+ transformFunction: null
1005
+ },
1006
+ nativeWindowControls: {
1007
+ classPropertyName: "nativeWindowControls",
1008
+ publicName: "nativeWindowControls",
1009
+ isSignal: true,
1010
+ isRequired: false,
1011
+ transformFunction: null
1012
+ },
1013
+ drag: {
1014
+ classPropertyName: "drag",
1015
+ publicName: "drag",
1016
+ isSignal: true,
1017
+ isRequired: false,
1018
+ transformFunction: null
1019
+ },
1020
+ landmark: {
1021
+ classPropertyName: "landmark",
1022
+ publicName: "landmark",
1023
+ isSignal: true,
1024
+ isRequired: false,
1025
+ transformFunction: null
1026
+ },
1027
+ barAriaLabel: {
1028
+ classPropertyName: "barAriaLabel",
1029
+ publicName: "barAriaLabel",
1030
+ isSignal: true,
1031
+ isRequired: false,
1032
+ transformFunction: null
1033
+ },
1034
+ minimizeLabel: {
1035
+ classPropertyName: "minimizeLabel",
1036
+ publicName: "minimizeLabel",
1037
+ isSignal: true,
1038
+ isRequired: false,
1039
+ transformFunction: null
1040
+ },
1041
+ maximizeLabel: {
1042
+ classPropertyName: "maximizeLabel",
1043
+ publicName: "maximizeLabel",
1044
+ isSignal: true,
1045
+ isRequired: false,
1046
+ transformFunction: null
1047
+ },
1048
+ restoreLabel: {
1049
+ classPropertyName: "restoreLabel",
1050
+ publicName: "restoreLabel",
1051
+ isSignal: true,
1052
+ isRequired: false,
1053
+ transformFunction: null
1054
+ },
1055
+ closeLabel: {
1056
+ classPropertyName: "closeLabel",
1057
+ publicName: "closeLabel",
1058
+ isSignal: true,
1059
+ isRequired: false,
1060
+ transformFunction: null
1061
+ },
1062
+ navigationFlyout: {
1063
+ classPropertyName: "navigationFlyout",
1064
+ publicName: "navigationFlyout",
1065
+ isSignal: true,
1066
+ isRequired: false,
1067
+ transformFunction: null
1068
+ },
1069
+ navigationFlyoutIcon: {
1070
+ classPropertyName: "navigationFlyoutIcon",
1071
+ publicName: "navigationFlyoutIcon",
1072
+ isSignal: true,
1073
+ isRequired: false,
1074
+ transformFunction: null
1075
+ },
1076
+ navigationFlyoutLabel: {
1077
+ classPropertyName: "navigationFlyoutLabel",
1078
+ publicName: "navigationFlyoutLabel",
1079
+ isSignal: true,
1080
+ isRequired: false,
1081
+ transformFunction: null
1082
+ },
1083
+ class: {
1084
+ classPropertyName: "class",
1085
+ publicName: "class",
1086
+ isSignal: true,
1087
+ isRequired: false,
1088
+ transformFunction: null
1089
+ }
1090
+ },
1091
+ host: {
1092
+ attributes: { "data-shell-root": "" },
1093
+ properties: {
1094
+ "class": "hostClasses()",
1095
+ "attr.data-shell-mode": "resolvedMode()",
1096
+ "attr.data-shell-device": "resolvedDevice()",
1097
+ "attr.data-shell-color": "resolvedColor()",
1098
+ "attr.data-shell-frame": "resolvedFrame()",
1099
+ "attr.data-shell-platform": "shell.platform",
1100
+ "attr.data-shell-window": "shell.windowState()"
1101
+ }
1102
+ },
1103
+ ngImport: i0,
1104
+ template: `
1105
+ @if (showsBar() && drag()) {
1106
+ <div
1107
+ aria-hidden="true"
1108
+ data-shell-frame-drag-region
1109
+ data-tauri-drag-region
1110
+ class="pointer-events-auto absolute inset-0 z-0"
1111
+ ></div>
1112
+ }
1113
+
1114
+ @if (showsBar()) {
1115
+ <ShellBar
1116
+ [device]="resolvedDevice()"
1117
+ [color]="resolvedColor()"
1118
+ [frame]="resolvedFrame()"
1119
+ [nativeWindowControls]="nativeWindowControls()"
1120
+ [drag]="drag()"
1121
+ [landmark]="landmark()"
1122
+ [ariaLabel]="barAriaLabel()"
1123
+ [minimizeLabel]="minimizeLabel()"
1124
+ [maximizeLabel]="maximizeLabel()"
1125
+ [restoreLabel]="restoreLabel()"
1126
+ [closeLabel]="closeLabel()"
1127
+ [navigationFlyout]="navigationFlyout()"
1128
+ [navigationFlyoutIcon]="navigationFlyoutIcon()"
1129
+ [navigationFlyoutLabel]="navigationFlyoutLabel()"
1130
+ >
1131
+ <ng-content select="[shellBarStart]" ngProjectAs="[shellBarStart]" />
1132
+ <ng-content select="[shellBarTitle]" ngProjectAs="[shellBarTitle]" />
1133
+ <ng-content select="[shellBarEnd]" ngProjectAs="[shellBarEnd]" />
1134
+ </ShellBar>
1135
+ }
1136
+
1137
+ <ng-content />
1138
+ `,
1139
+ isInline: true,
1140
+ dependencies: [{
1141
+ kind: "component",
1142
+ type: ShellBarComponent,
1143
+ selector: "ShellBar",
1144
+ inputs: [
1145
+ "device",
1146
+ "color",
1147
+ "frame",
1148
+ "nativeWindowControls",
1149
+ "drag",
1150
+ "landmark",
1151
+ "ariaLabel",
1152
+ "minimizeLabel",
1153
+ "maximizeLabel",
1154
+ "restoreLabel",
1155
+ "closeLabel",
1156
+ "navigationFlyout",
1157
+ "navigationFlyoutIcon",
1158
+ "navigationFlyoutLabel",
1159
+ "class"
1160
+ ]
1161
+ }]
1162
+ });
1163
+ };
1164
+ i0.ɵɵngDeclareClassMetadata({
1165
+ minVersion: "12.0.0",
1166
+ version: "22.2.4",
1167
+ ngImport: i0,
1168
+ type: ShellComponent,
1169
+ decorators: [{
1170
+ type: Component,
1171
+ args: [{
1172
+ selector: "Shell",
1173
+ imports: [ShellBarComponent],
1174
+ host: {
1175
+ "[class]": "hostClasses()",
1176
+ "data-shell-root": "",
1177
+ "[attr.data-shell-mode]": "resolvedMode()",
1178
+ "[attr.data-shell-device]": "resolvedDevice()",
1179
+ "[attr.data-shell-color]": "resolvedColor()",
1180
+ "[attr.data-shell-frame]": "resolvedFrame()",
1181
+ "[attr.data-shell-platform]": "shell.platform",
1182
+ "[attr.data-shell-window]": "shell.windowState()"
1183
+ },
1184
+ template: `
1185
+ @if (showsBar() && drag()) {
1186
+ <div
1187
+ aria-hidden="true"
1188
+ data-shell-frame-drag-region
1189
+ data-tauri-drag-region
1190
+ class="pointer-events-auto absolute inset-0 z-0"
1191
+ ></div>
1192
+ }
1193
+
1194
+ @if (showsBar()) {
1195
+ <ShellBar
1196
+ [device]="resolvedDevice()"
1197
+ [color]="resolvedColor()"
1198
+ [frame]="resolvedFrame()"
1199
+ [nativeWindowControls]="nativeWindowControls()"
1200
+ [drag]="drag()"
1201
+ [landmark]="landmark()"
1202
+ [ariaLabel]="barAriaLabel()"
1203
+ [minimizeLabel]="minimizeLabel()"
1204
+ [maximizeLabel]="maximizeLabel()"
1205
+ [restoreLabel]="restoreLabel()"
1206
+ [closeLabel]="closeLabel()"
1207
+ [navigationFlyout]="navigationFlyout()"
1208
+ [navigationFlyoutIcon]="navigationFlyoutIcon()"
1209
+ [navigationFlyoutLabel]="navigationFlyoutLabel()"
1210
+ >
1211
+ <ng-content select="[shellBarStart]" ngProjectAs="[shellBarStart]" />
1212
+ <ng-content select="[shellBarTitle]" ngProjectAs="[shellBarTitle]" />
1213
+ <ng-content select="[shellBarEnd]" ngProjectAs="[shellBarEnd]" />
1214
+ </ShellBar>
1215
+ }
1216
+
1217
+ <ng-content />
1218
+ `
1219
+ }]
1220
+ }],
1221
+ propDecorators: {
1222
+ mode: [{
1223
+ type: i0.Input,
1224
+ args: [{
1225
+ isSignal: true,
1226
+ alias: "mode",
1227
+ required: false
1228
+ }]
1229
+ }],
1230
+ device: [{
1231
+ type: i0.Input,
1232
+ args: [{
1233
+ isSignal: true,
1234
+ alias: "device",
1235
+ required: false
1236
+ }]
1237
+ }],
1238
+ color: [{
1239
+ type: i0.Input,
1240
+ args: [{
1241
+ isSignal: true,
1242
+ alias: "color",
1243
+ required: false
1244
+ }]
1245
+ }],
1246
+ frame: [{
1247
+ type: i0.Input,
1248
+ args: [{
1249
+ isSignal: true,
1250
+ alias: "frame",
1251
+ required: false
1252
+ }]
1253
+ }],
1254
+ nativeWindowControls: [{
1255
+ type: i0.Input,
1256
+ args: [{
1257
+ isSignal: true,
1258
+ alias: "nativeWindowControls",
1259
+ required: false
1260
+ }]
1261
+ }],
1262
+ drag: [{
1263
+ type: i0.Input,
1264
+ args: [{
1265
+ isSignal: true,
1266
+ alias: "drag",
1267
+ required: false
1268
+ }]
1269
+ }],
1270
+ landmark: [{
1271
+ type: i0.Input,
1272
+ args: [{
1273
+ isSignal: true,
1274
+ alias: "landmark",
1275
+ required: false
1276
+ }]
1277
+ }],
1278
+ barAriaLabel: [{
1279
+ type: i0.Input,
1280
+ args: [{
1281
+ isSignal: true,
1282
+ alias: "barAriaLabel",
1283
+ required: false
1284
+ }]
1285
+ }],
1286
+ minimizeLabel: [{
1287
+ type: i0.Input,
1288
+ args: [{
1289
+ isSignal: true,
1290
+ alias: "minimizeLabel",
1291
+ required: false
1292
+ }]
1293
+ }],
1294
+ maximizeLabel: [{
1295
+ type: i0.Input,
1296
+ args: [{
1297
+ isSignal: true,
1298
+ alias: "maximizeLabel",
1299
+ required: false
1300
+ }]
1301
+ }],
1302
+ restoreLabel: [{
1303
+ type: i0.Input,
1304
+ args: [{
1305
+ isSignal: true,
1306
+ alias: "restoreLabel",
1307
+ required: false
1308
+ }]
1309
+ }],
1310
+ closeLabel: [{
1311
+ type: i0.Input,
1312
+ args: [{
1313
+ isSignal: true,
1314
+ alias: "closeLabel",
1315
+ required: false
1316
+ }]
1317
+ }],
1318
+ navigationFlyout: [{
1319
+ type: i0.Input,
1320
+ args: [{
1321
+ isSignal: true,
1322
+ alias: "navigationFlyout",
1323
+ required: false
1324
+ }]
1325
+ }],
1326
+ navigationFlyoutIcon: [{
1327
+ type: i0.Input,
1328
+ args: [{
1329
+ isSignal: true,
1330
+ alias: "navigationFlyoutIcon",
1331
+ required: false
1332
+ }]
1333
+ }],
1334
+ navigationFlyoutLabel: [{
1335
+ type: i0.Input,
1336
+ args: [{
1337
+ isSignal: true,
1338
+ alias: "navigationFlyoutLabel",
1339
+ required: false
1340
+ }]
1341
+ }],
1342
+ class: [{
1343
+ type: i0.Input,
1344
+ args: [{
1345
+ isSignal: true,
1346
+ alias: "class",
1347
+ required: false
1348
+ }]
1349
+ }]
1350
+ }
1351
+ });
1352
+ export { SHELL_COLORS, SHELL_COLOR_STORAGE_KEY, SHELL_DEFAULT_COLOR, SHELL_DEFAULT_DEVICE, SHELL_DEFAULT_FRAME, SHELL_DEFAULT_MODE, SHELL_DEFAULT_PLATFORM, SHELL_DEFAULT_WINDOW_STATE, SHELL_DEVICES, SHELL_DEVICE_STORAGE_KEY, SHELL_FRAMES, SHELL_FRAME_STORAGE_KEY, SHELL_MODES, SHELL_MODE_DEVICES, SHELL_MODE_STORAGE_KEY, SHELL_PLATFORMS, SHELL_WINDOW_BRIDGE, SHELL_WINDOW_STATES, ShellComponent, ShellService, WEB_SHELL_WINDOW_BRIDGE, createTauriShellWindowBridge, defaultShellDeviceForMode, isShellColor, isShellDevice, isShellDeviceForMode, isShellFrame, isShellMode, isShellPlatform, isShellWindowState, isTauriRuntime, normalizeShellColor, normalizeShellDevice, normalizeShellFrame, normalizeShellMode, provideShellWindowBridge, provideTauriShellWindowBridge, resolveShellDeviceForMode, resolveShellFrameForMode, shellDevicesForMode };