@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
@@ -0,0 +1,874 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Component, DestroyRef, Directive, ElementRef, ViewContainerRef, computed, effect, inject, input, model, output, signal, viewChild } from "@angular/core";
3
+ import { Overlay } from "@angular/cdk/overlay";
4
+ import { TemplatePortal } from "@angular/cdk/portal";
5
+ import { FocusTrapFactory } from "@angular/cdk/a11y";
6
+ import { DOCUMENT } from "@angular/common";
7
+ import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
8
+ import { filter } from "rxjs/operators";
9
+ import { LucideX } from "@lucide/angular";
10
+ import { ButtonComponent } from "@edsis/angular/component/button";
11
+ import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
12
+ import { cn, injectUniqueId } from "@edsis/angular/component/utils/core";
13
+ import * as i1 from "@edsis/angular/component/utils/scale";
14
+ import { ComponentScaleDirective } from "@edsis/angular/component/utils/scale";
15
+ const SIDE_BASE = {
16
+ top: "inset-x-0 top-0 border-b border-border",
17
+ bottom: "inset-x-0 bottom-0 border-t border-border",
18
+ left: "inset-y-0 left-0 h-full w-3/4 border-r border-border sm:max-w-sm",
19
+ right: "inset-y-0 right-0 h-full w-3/4 border-l border-border sm:max-w-sm"
20
+ };
21
+ const DRAWER_SIDE_CLASSES = {
22
+ top: "max-h-[85vh] rounded-b-lg",
23
+ bottom: "max-h-[85vh] rounded-t-lg",
24
+ left: "rounded-r-lg",
25
+ right: "rounded-l-lg"
26
+ };
27
+ const SIDE_ENTER_FROM = {
28
+ top: "translateY(-100%)",
29
+ bottom: "translateY(100%)",
30
+ left: "translateX(-100%)",
31
+ right: "translateX(100%)"
32
+ };
33
+ var SheetComponent = class SheetComponent {
34
+ componentScale = inject(ComponentScaleDirective);
35
+ radius = this.componentScale.radius;
36
+ density = this.componentScale.density;
37
+ overlay = inject(Overlay);
38
+ vcr = inject(ViewContainerRef);
39
+ trapFactory = inject(FocusTrapFactory);
40
+ doc = inject(DOCUMENT);
41
+ destroyRef = inject(DestroyRef);
42
+ host = inject(ElementRef);
43
+ open = model(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
44
+ side = input(void 0, ...ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []);
45
+ variant = input(null, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
46
+ closeOnEscape = input(true, ...ngDevMode ? [{ debugName: "closeOnEscape" }] : /* istanbul ignore next */ []);
47
+ closeOnBackdropClick = input(true, ...ngDevMode ? [{ debugName: "closeOnBackdropClick" }] : /* istanbul ignore next */ []);
48
+ backdrop = input("dim", ...ngDevMode ? [{ debugName: "backdrop" }] : /* istanbul ignore next */ []);
49
+ showCloseButton = input(true, ...ngDevMode ? [{ debugName: "showCloseButton" }] : /* istanbul ignore next */ []);
50
+ closeButtonLabel = input("Close", ...ngDevMode ? [{ debugName: "closeButtonLabel" }] : /* istanbul ignore next */ []);
51
+ restoreFocus = input(null, ...ngDevMode ? [{ debugName: "restoreFocus" }] : /* istanbul ignore next */ []);
52
+ labelledBy = input(null, {
53
+ ...ngDevMode ? { debugName: "labelledBy" } : /* istanbul ignore next */ {},
54
+ alias: "aria-labelledby"
55
+ });
56
+ describedBy = input(null, {
57
+ ...ngDevMode ? { debugName: "describedBy" } : /* istanbul ignore next */ {},
58
+ alias: "aria-describedby"
59
+ });
60
+ role = input("dialog", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
61
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
62
+ openedChange = output();
63
+ registeredTitleId = signal(null, ...ngDevMode ? [{ debugName: "registeredTitleId" }] : /* istanbul ignore next */ []);
64
+ registeredDescriptionId = signal(null, ...ngDevMode ? [{ debugName: "registeredDescriptionId" }] : /* istanbul ignore next */ []);
65
+ resolvedLabelledBy = computed(() => this.labelledBy() ?? this.registeredTitleId(), ...ngDevMode ? [{ debugName: "resolvedLabelledBy" }] : /* istanbul ignore next */ []);
66
+ resolvedDescribedBy = computed(() => this.describedBy() ?? this.registeredDescriptionId(), ...ngDevMode ? [{ debugName: "resolvedDescribedBy" }] : /* istanbul ignore next */ []);
67
+ tpl = viewChild.required("tpl", ...ngDevMode ? [{ debugName: "tpl" }] : /* istanbul ignore next */ []);
68
+ overlayRef = null;
69
+ focusTrap = null;
70
+ previousFocus = null;
71
+ resolvedSide = computed(() => this.side() ?? (this.isDrawerHost() ? "bottom" : "right"), ...ngDevMode ? [{ debugName: "resolvedSide" }] : /* istanbul ignore next */ []);
72
+ surfaceClasses = computed(() => cn("gap-4 p-6 flex flex-col", SIDE_BASE[this.resolvedSide()], this.isDrawerHost() ? DRAWER_SIDE_CLASSES[this.resolvedSide()] : "", this.class()), ...ngDevMode ? [{ debugName: "surfaceClasses" }] : /* istanbul ignore next */ []);
73
+ enterFrom = computed(() => SIDE_ENTER_FROM[this.resolvedSide()], ...ngDevMode ? [{ debugName: "enterFrom" }] : /* istanbul ignore next */ []);
74
+ backdropClass = computed(() => {
75
+ const classes = ["dialog-backdrop"];
76
+ const kind = this.backdrop();
77
+ if (kind === "blur") classes.push("dialog-backdrop-blur");
78
+ else if (kind === "transparent") classes.push("dialog-backdrop-transparent");
79
+ return classes;
80
+ }, ...ngDevMode ? [{ debugName: "backdropClass" }] : /* istanbul ignore next */ []);
81
+ constructor() {
82
+ this.destroyRef.onDestroy(() => this.detach(false));
83
+ effect(() => {
84
+ if (this.open()) this.attach();
85
+ else this.detach();
86
+ });
87
+ }
88
+ attach() {
89
+ if (this.overlayRef) return;
90
+ this.previousFocus = this.restoreFocus() ?? (this.doc.activeElement instanceof HTMLElement ? this.doc.activeElement : null);
91
+ this.overlayRef = this.overlay.create({
92
+ hasBackdrop: true,
93
+ backdropClass: this.backdropClass(),
94
+ panelClass: "sheet-panel",
95
+ scrollStrategy: this.overlay.scrollStrategies.block(),
96
+ positionStrategy: this.overlay.position().global()
97
+ });
98
+ const portal = new TemplatePortal(this.tpl(), this.vcr);
99
+ this.overlayRef.attach(portal);
100
+ this.focusTrap = this.trapFactory.create(this.overlayRef.hostElement);
101
+ this.focusTrap.focusInitialElementWhenReady();
102
+ if (this.closeOnBackdropClick()) this.overlayRef.backdropClick().pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => this.open.set(false));
103
+ this.overlayRef.keydownEvents().pipe(takeUntilDestroyed(this.destroyRef), filter((e) => e.key === "Escape" && this.closeOnEscape())).subscribe((e) => {
104
+ e.preventDefault();
105
+ this.open.set(false);
106
+ });
107
+ this.openedChange.emit(true);
108
+ }
109
+ detach(emitOpenedChange = true) {
110
+ if (!this.overlayRef) return;
111
+ const previousFocus = this.previousFocus;
112
+ this.focusTrap?.destroy();
113
+ this.focusTrap = null;
114
+ this.overlayRef.dispose();
115
+ this.overlayRef = null;
116
+ this.previousFocus = null;
117
+ this.restoreFocusAfterOverlayTeardown(previousFocus);
118
+ if (emitOpenedChange) this.openedChange.emit(false);
119
+ }
120
+ close() {
121
+ this.open.set(false);
122
+ }
123
+ registerTitleId(id) {
124
+ this.registeredTitleId.set(id);
125
+ }
126
+ unregisterTitleId(id) {
127
+ if (this.registeredTitleId() === id) this.registeredTitleId.set(null);
128
+ }
129
+ registerDescriptionId(id) {
130
+ this.registeredDescriptionId.set(id);
131
+ }
132
+ unregisterDescriptionId(id) {
133
+ if (this.registeredDescriptionId() === id) this.registeredDescriptionId.set(null);
134
+ }
135
+ isDrawerHost() {
136
+ const variant = this.variant();
137
+ if (variant) return variant === "drawer";
138
+ return this.host.nativeElement.localName === "drawer";
139
+ }
140
+ restoreFocusAfterOverlayTeardown(element) {
141
+ if (!element?.isConnected) return;
142
+ const view = this.doc.defaultView;
143
+ if (!view) {
144
+ queueMicrotask(() => element.isConnected && element.focus());
145
+ return;
146
+ }
147
+ view.requestAnimationFrame(() => {
148
+ if (element.isConnected) element.focus();
149
+ });
150
+ }
151
+ static ɵfac = i0.ɵɵngDeclareFactory({
152
+ minVersion: "12.0.0",
153
+ version: "22.2.3",
154
+ ngImport: i0,
155
+ type: SheetComponent,
156
+ deps: [],
157
+ target: i0.ɵɵFactoryTarget.Component
158
+ });
159
+ static ɵcmp = i0.ɵɵngDeclareComponent({
160
+ minVersion: "17.0.0",
161
+ version: "22.2.3",
162
+ type: SheetComponent,
163
+ isStandalone: true,
164
+ selector: "Sheet, Drawer",
165
+ inputs: {
166
+ open: {
167
+ classPropertyName: "open",
168
+ publicName: "open",
169
+ isSignal: true,
170
+ isRequired: false,
171
+ transformFunction: null
172
+ },
173
+ side: {
174
+ classPropertyName: "side",
175
+ publicName: "side",
176
+ isSignal: true,
177
+ isRequired: false,
178
+ transformFunction: null
179
+ },
180
+ variant: {
181
+ classPropertyName: "variant",
182
+ publicName: "variant",
183
+ isSignal: true,
184
+ isRequired: false,
185
+ transformFunction: null
186
+ },
187
+ closeOnEscape: {
188
+ classPropertyName: "closeOnEscape",
189
+ publicName: "closeOnEscape",
190
+ isSignal: true,
191
+ isRequired: false,
192
+ transformFunction: null
193
+ },
194
+ closeOnBackdropClick: {
195
+ classPropertyName: "closeOnBackdropClick",
196
+ publicName: "closeOnBackdropClick",
197
+ isSignal: true,
198
+ isRequired: false,
199
+ transformFunction: null
200
+ },
201
+ backdrop: {
202
+ classPropertyName: "backdrop",
203
+ publicName: "backdrop",
204
+ isSignal: true,
205
+ isRequired: false,
206
+ transformFunction: null
207
+ },
208
+ showCloseButton: {
209
+ classPropertyName: "showCloseButton",
210
+ publicName: "showCloseButton",
211
+ isSignal: true,
212
+ isRequired: false,
213
+ transformFunction: null
214
+ },
215
+ closeButtonLabel: {
216
+ classPropertyName: "closeButtonLabel",
217
+ publicName: "closeButtonLabel",
218
+ isSignal: true,
219
+ isRequired: false,
220
+ transformFunction: null
221
+ },
222
+ restoreFocus: {
223
+ classPropertyName: "restoreFocus",
224
+ publicName: "restoreFocus",
225
+ isSignal: true,
226
+ isRequired: false,
227
+ transformFunction: null
228
+ },
229
+ labelledBy: {
230
+ classPropertyName: "labelledBy",
231
+ publicName: "aria-labelledby",
232
+ isSignal: true,
233
+ isRequired: false,
234
+ transformFunction: null
235
+ },
236
+ describedBy: {
237
+ classPropertyName: "describedBy",
238
+ publicName: "aria-describedby",
239
+ isSignal: true,
240
+ isRequired: false,
241
+ transformFunction: null
242
+ },
243
+ role: {
244
+ classPropertyName: "role",
245
+ publicName: "role",
246
+ isSignal: true,
247
+ isRequired: false,
248
+ transformFunction: null
249
+ },
250
+ class: {
251
+ classPropertyName: "class",
252
+ publicName: "class",
253
+ isSignal: true,
254
+ isRequired: false,
255
+ transformFunction: null
256
+ }
257
+ },
258
+ outputs: {
259
+ open: "openChange",
260
+ openedChange: "openedChange"
261
+ },
262
+ host: { properties: {
263
+ "attr.aria-labelledby": "null",
264
+ "attr.aria-describedby": "null"
265
+ } },
266
+ providers: [provideIcons(LucideX)],
267
+ viewQueries: [{
268
+ propertyName: "tpl",
269
+ first: true,
270
+ predicate: ["tpl"],
271
+ descendants: true,
272
+ isSignal: true
273
+ }],
274
+ hostDirectives: [{
275
+ directive: i1.ComponentScaleDirective,
276
+ inputs: [
277
+ "radius",
278
+ "radius",
279
+ "density",
280
+ "density"
281
+ ]
282
+ }],
283
+ ngImport: i0,
284
+ template: `
285
+ <ng-template #tpl>
286
+ <div
287
+ class="sheet-surface fixed z-50 bg-background shadow-lg transition ease-in-out"
288
+ [attr.role]="role()"
289
+ aria-modal="true"
290
+ [attr.aria-labelledby]="resolvedLabelledBy()"
291
+ [attr.aria-describedby]="resolvedDescribedBy()"
292
+ [class]="surfaceClasses()"
293
+ [style.--sheet-from]="enterFrom()"
294
+ [style.--radius-base]="componentScale.radiusBase()"
295
+ [style.--spacing-base]="componentScale.densityBase()"
296
+ >
297
+ @if (showCloseButton()) {
298
+ <button
299
+ type="button"
300
+ Button
301
+ variant="ghost"
302
+ size="icon-sm"
303
+ class="sheet-close-button absolute right-4 top-4 h-8 w-8 rounded-md p-0 text-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring"
304
+ [attr.aria-label]="closeButtonLabel()"
305
+ (click)="close()"
306
+ >
307
+ <Icon name="x" [size]="16" />
308
+ </button>
309
+ }
310
+ <ng-content />
311
+ </div>
312
+ </ng-template>
313
+ `,
314
+ isInline: true,
315
+ styles: [".sheet-surface{animation:sheet-in var(--duration-slow) var(--ease-enter)}@keyframes sheet-in{0%{transform:var(--sheet-from)}to{transform:translate(0)}}@media(prefers-reduced-motion:reduce){.sheet-surface{animation-duration:0ms}}\n"],
316
+ dependencies: [{
317
+ kind: "component",
318
+ type: ButtonComponent,
319
+ selector: "button[Button], a[Button]",
320
+ inputs: [
321
+ "variant",
322
+ "size",
323
+ "class"
324
+ ]
325
+ }, {
326
+ kind: "component",
327
+ type: IconComponent,
328
+ selector: "Icon",
329
+ inputs: [
330
+ "name",
331
+ "class",
332
+ "size",
333
+ "strokeWidth",
334
+ "label"
335
+ ]
336
+ }]
337
+ });
338
+ };
339
+ i0.ɵɵngDeclareClassMetadata({
340
+ minVersion: "12.0.0",
341
+ version: "22.2.3",
342
+ ngImport: i0,
343
+ type: SheetComponent,
344
+ decorators: [{
345
+ type: Component,
346
+ args: [{
347
+ selector: "Sheet, Drawer",
348
+ hostDirectives: [{
349
+ directive: ComponentScaleDirective,
350
+ inputs: ["radius", "density"]
351
+ }],
352
+ host: {
353
+ "[attr.aria-labelledby]": "null",
354
+ "[attr.aria-describedby]": "null"
355
+ },
356
+ imports: [ButtonComponent, IconComponent],
357
+ providers: [provideIcons(LucideX)],
358
+ template: `
359
+ <ng-template #tpl>
360
+ <div
361
+ class="sheet-surface fixed z-50 bg-background shadow-lg transition ease-in-out"
362
+ [attr.role]="role()"
363
+ aria-modal="true"
364
+ [attr.aria-labelledby]="resolvedLabelledBy()"
365
+ [attr.aria-describedby]="resolvedDescribedBy()"
366
+ [class]="surfaceClasses()"
367
+ [style.--sheet-from]="enterFrom()"
368
+ [style.--radius-base]="componentScale.radiusBase()"
369
+ [style.--spacing-base]="componentScale.densityBase()"
370
+ >
371
+ @if (showCloseButton()) {
372
+ <button
373
+ type="button"
374
+ Button
375
+ variant="ghost"
376
+ size="icon-sm"
377
+ class="sheet-close-button absolute right-4 top-4 h-8 w-8 rounded-md p-0 text-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring"
378
+ [attr.aria-label]="closeButtonLabel()"
379
+ (click)="close()"
380
+ >
381
+ <Icon name="x" [size]="16" />
382
+ </button>
383
+ }
384
+ <ng-content />
385
+ </div>
386
+ </ng-template>
387
+ `,
388
+ styles: [".sheet-surface{animation:sheet-in var(--duration-slow) var(--ease-enter)}@keyframes sheet-in{0%{transform:var(--sheet-from)}to{transform:translate(0)}}@media(prefers-reduced-motion:reduce){.sheet-surface{animation-duration:0ms}}\n"]
389
+ }]
390
+ }],
391
+ ctorParameters: () => [],
392
+ propDecorators: {
393
+ open: [{
394
+ type: i0.Input,
395
+ args: [{
396
+ isSignal: true,
397
+ alias: "open",
398
+ required: false
399
+ }]
400
+ }, {
401
+ type: i0.Output,
402
+ args: ["openChange"]
403
+ }],
404
+ side: [{
405
+ type: i0.Input,
406
+ args: [{
407
+ isSignal: true,
408
+ alias: "side",
409
+ required: false
410
+ }]
411
+ }],
412
+ variant: [{
413
+ type: i0.Input,
414
+ args: [{
415
+ isSignal: true,
416
+ alias: "variant",
417
+ required: false
418
+ }]
419
+ }],
420
+ closeOnEscape: [{
421
+ type: i0.Input,
422
+ args: [{
423
+ isSignal: true,
424
+ alias: "closeOnEscape",
425
+ required: false
426
+ }]
427
+ }],
428
+ closeOnBackdropClick: [{
429
+ type: i0.Input,
430
+ args: [{
431
+ isSignal: true,
432
+ alias: "closeOnBackdropClick",
433
+ required: false
434
+ }]
435
+ }],
436
+ backdrop: [{
437
+ type: i0.Input,
438
+ args: [{
439
+ isSignal: true,
440
+ alias: "backdrop",
441
+ required: false
442
+ }]
443
+ }],
444
+ showCloseButton: [{
445
+ type: i0.Input,
446
+ args: [{
447
+ isSignal: true,
448
+ alias: "showCloseButton",
449
+ required: false
450
+ }]
451
+ }],
452
+ closeButtonLabel: [{
453
+ type: i0.Input,
454
+ args: [{
455
+ isSignal: true,
456
+ alias: "closeButtonLabel",
457
+ required: false
458
+ }]
459
+ }],
460
+ restoreFocus: [{
461
+ type: i0.Input,
462
+ args: [{
463
+ isSignal: true,
464
+ alias: "restoreFocus",
465
+ required: false
466
+ }]
467
+ }],
468
+ labelledBy: [{
469
+ type: i0.Input,
470
+ args: [{
471
+ isSignal: true,
472
+ alias: "aria-labelledby",
473
+ required: false
474
+ }]
475
+ }],
476
+ describedBy: [{
477
+ type: i0.Input,
478
+ args: [{
479
+ isSignal: true,
480
+ alias: "aria-describedby",
481
+ required: false
482
+ }]
483
+ }],
484
+ role: [{
485
+ type: i0.Input,
486
+ args: [{
487
+ isSignal: true,
488
+ alias: "role",
489
+ required: false
490
+ }]
491
+ }],
492
+ class: [{
493
+ type: i0.Input,
494
+ args: [{
495
+ isSignal: true,
496
+ alias: "class",
497
+ required: false
498
+ }]
499
+ }],
500
+ openedChange: [{
501
+ type: i0.Output,
502
+ args: ["openedChange"]
503
+ }],
504
+ tpl: [{
505
+ type: i0.ViewChild,
506
+ args: ["tpl", { isSignal: true }]
507
+ }]
508
+ }
509
+ });
510
+ var SheetCloseDirective = class SheetCloseDirective {
511
+ sheet = inject(SheetComponent);
512
+ closeSheet() {
513
+ this.sheet.close();
514
+ }
515
+ static ɵfac = i0.ɵɵngDeclareFactory({
516
+ minVersion: "12.0.0",
517
+ version: "22.2.3",
518
+ ngImport: i0,
519
+ type: SheetCloseDirective,
520
+ deps: [],
521
+ target: i0.ɵɵFactoryTarget.Directive
522
+ });
523
+ static ɵdir = i0.ɵɵngDeclareDirective({
524
+ minVersion: "14.0.0",
525
+ version: "22.2.3",
526
+ type: SheetCloseDirective,
527
+ isStandalone: true,
528
+ selector: "button[SheetClose], a[SheetClose], button[DrawerClose], a[DrawerClose]",
529
+ host: { listeners: { "click": "closeSheet()" } },
530
+ ngImport: i0
531
+ });
532
+ };
533
+ i0.ɵɵngDeclareClassMetadata({
534
+ minVersion: "12.0.0",
535
+ version: "22.2.3",
536
+ ngImport: i0,
537
+ type: SheetCloseDirective,
538
+ decorators: [{
539
+ type: Directive,
540
+ args: [{
541
+ selector: "button[SheetClose], a[SheetClose], button[DrawerClose], a[DrawerClose]",
542
+ host: { "(click)": "closeSheet()" }
543
+ }]
544
+ }]
545
+ });
546
+ var SheetHeaderComponent = class SheetHeaderComponent {
547
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
548
+ classes = computed(() => cn("flex flex-col gap-2 text-center sm:text-left", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
549
+ static ɵfac = i0.ɵɵngDeclareFactory({
550
+ minVersion: "12.0.0",
551
+ version: "22.2.3",
552
+ ngImport: i0,
553
+ type: SheetHeaderComponent,
554
+ deps: [],
555
+ target: i0.ɵɵFactoryTarget.Component
556
+ });
557
+ static ɵcmp = i0.ɵɵngDeclareComponent({
558
+ minVersion: "17.1.0",
559
+ version: "22.2.3",
560
+ type: SheetHeaderComponent,
561
+ isStandalone: true,
562
+ selector: "SheetHeader, DrawerHeader",
563
+ inputs: { class: {
564
+ classPropertyName: "class",
565
+ publicName: "class",
566
+ isSignal: true,
567
+ isRequired: false,
568
+ transformFunction: null
569
+ } },
570
+ host: { properties: { "class": "classes()" } },
571
+ ngImport: i0,
572
+ template: `<ng-content />`,
573
+ isInline: true
574
+ });
575
+ };
576
+ i0.ɵɵngDeclareClassMetadata({
577
+ minVersion: "12.0.0",
578
+ version: "22.2.3",
579
+ ngImport: i0,
580
+ type: SheetHeaderComponent,
581
+ decorators: [{
582
+ type: Component,
583
+ args: [{
584
+ selector: "SheetHeader, DrawerHeader",
585
+ host: { "[class]": "classes()" },
586
+ template: `<ng-content />`
587
+ }]
588
+ }],
589
+ propDecorators: { class: [{
590
+ type: i0.Input,
591
+ args: [{
592
+ isSignal: true,
593
+ alias: "class",
594
+ required: false
595
+ }]
596
+ }] }
597
+ });
598
+ var SheetTitleComponent = class SheetTitleComponent {
599
+ id = input(null, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
600
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
601
+ autoId = injectUniqueId("sheet-title");
602
+ sheet = inject(SheetComponent, { optional: true });
603
+ resolvedId = computed(() => this.id() ?? this.autoId, ...ngDevMode ? [{ debugName: "resolvedId" }] : /* istanbul ignore next */ []);
604
+ classes = computed(() => cn("text-lg font-semibold text-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
605
+ constructor() {
606
+ effect(() => this.sheet?.registerTitleId(this.resolvedId()));
607
+ inject(DestroyRef).onDestroy(() => this.sheet?.unregisterTitleId(this.resolvedId()));
608
+ }
609
+ static ɵfac = i0.ɵɵngDeclareFactory({
610
+ minVersion: "12.0.0",
611
+ version: "22.2.3",
612
+ ngImport: i0,
613
+ type: SheetTitleComponent,
614
+ deps: [],
615
+ target: i0.ɵɵFactoryTarget.Component
616
+ });
617
+ static ɵcmp = i0.ɵɵngDeclareComponent({
618
+ minVersion: "17.1.0",
619
+ version: "22.2.3",
620
+ type: SheetTitleComponent,
621
+ isStandalone: true,
622
+ selector: "SheetTitle, DrawerTitle, h2[SheetTitle], h2[DrawerTitle]",
623
+ inputs: {
624
+ id: {
625
+ classPropertyName: "id",
626
+ publicName: "id",
627
+ isSignal: true,
628
+ isRequired: false,
629
+ transformFunction: null
630
+ },
631
+ class: {
632
+ classPropertyName: "class",
633
+ publicName: "class",
634
+ isSignal: true,
635
+ isRequired: false,
636
+ transformFunction: null
637
+ }
638
+ },
639
+ host: { properties: {
640
+ "class": "classes()",
641
+ "attr.id": "resolvedId()"
642
+ } },
643
+ ngImport: i0,
644
+ template: `<ng-content />`,
645
+ isInline: true
646
+ });
647
+ };
648
+ i0.ɵɵngDeclareClassMetadata({
649
+ minVersion: "12.0.0",
650
+ version: "22.2.3",
651
+ ngImport: i0,
652
+ type: SheetTitleComponent,
653
+ decorators: [{
654
+ type: Component,
655
+ args: [{
656
+ selector: "SheetTitle, DrawerTitle, h2[SheetTitle], h2[DrawerTitle]",
657
+ host: {
658
+ "[class]": "classes()",
659
+ "[attr.id]": "resolvedId()"
660
+ },
661
+ template: `<ng-content />`
662
+ }]
663
+ }],
664
+ ctorParameters: () => [],
665
+ propDecorators: {
666
+ id: [{
667
+ type: i0.Input,
668
+ args: [{
669
+ isSignal: true,
670
+ alias: "id",
671
+ required: false
672
+ }]
673
+ }],
674
+ class: [{
675
+ type: i0.Input,
676
+ args: [{
677
+ isSignal: true,
678
+ alias: "class",
679
+ required: false
680
+ }]
681
+ }]
682
+ }
683
+ });
684
+ var SheetDescriptionComponent = class SheetDescriptionComponent {
685
+ id = input(null, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
686
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
687
+ autoId = injectUniqueId("sheet-description");
688
+ sheet = inject(SheetComponent, { optional: true });
689
+ resolvedId = computed(() => this.id() ?? this.autoId, ...ngDevMode ? [{ debugName: "resolvedId" }] : /* istanbul ignore next */ []);
690
+ classes = computed(() => cn("text-sm text-muted-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
691
+ constructor() {
692
+ effect(() => this.sheet?.registerDescriptionId(this.resolvedId()));
693
+ inject(DestroyRef).onDestroy(() => this.sheet?.unregisterDescriptionId(this.resolvedId()));
694
+ }
695
+ static ɵfac = i0.ɵɵngDeclareFactory({
696
+ minVersion: "12.0.0",
697
+ version: "22.2.3",
698
+ ngImport: i0,
699
+ type: SheetDescriptionComponent,
700
+ deps: [],
701
+ target: i0.ɵɵFactoryTarget.Component
702
+ });
703
+ static ɵcmp = i0.ɵɵngDeclareComponent({
704
+ minVersion: "17.1.0",
705
+ version: "22.2.3",
706
+ type: SheetDescriptionComponent,
707
+ isStandalone: true,
708
+ selector: "SheetDescription, DrawerDescription, p[SheetDescription], p[DrawerDescription]",
709
+ inputs: {
710
+ id: {
711
+ classPropertyName: "id",
712
+ publicName: "id",
713
+ isSignal: true,
714
+ isRequired: false,
715
+ transformFunction: null
716
+ },
717
+ class: {
718
+ classPropertyName: "class",
719
+ publicName: "class",
720
+ isSignal: true,
721
+ isRequired: false,
722
+ transformFunction: null
723
+ }
724
+ },
725
+ host: { properties: {
726
+ "class": "classes()",
727
+ "attr.id": "resolvedId()"
728
+ } },
729
+ ngImport: i0,
730
+ template: `<ng-content />`,
731
+ isInline: true
732
+ });
733
+ };
734
+ i0.ɵɵngDeclareClassMetadata({
735
+ minVersion: "12.0.0",
736
+ version: "22.2.3",
737
+ ngImport: i0,
738
+ type: SheetDescriptionComponent,
739
+ decorators: [{
740
+ type: Component,
741
+ args: [{
742
+ selector: "SheetDescription, DrawerDescription, p[SheetDescription], p[DrawerDescription]",
743
+ host: {
744
+ "[class]": "classes()",
745
+ "[attr.id]": "resolvedId()"
746
+ },
747
+ template: `<ng-content />`
748
+ }]
749
+ }],
750
+ ctorParameters: () => [],
751
+ propDecorators: {
752
+ id: [{
753
+ type: i0.Input,
754
+ args: [{
755
+ isSignal: true,
756
+ alias: "id",
757
+ required: false
758
+ }]
759
+ }],
760
+ class: [{
761
+ type: i0.Input,
762
+ args: [{
763
+ isSignal: true,
764
+ alias: "class",
765
+ required: false
766
+ }]
767
+ }]
768
+ }
769
+ });
770
+ var SheetContentComponent = class SheetContentComponent {
771
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
772
+ classes = computed(() => cn("flex-1 overflow-auto", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
773
+ static ɵfac = i0.ɵɵngDeclareFactory({
774
+ minVersion: "12.0.0",
775
+ version: "22.2.3",
776
+ ngImport: i0,
777
+ type: SheetContentComponent,
778
+ deps: [],
779
+ target: i0.ɵɵFactoryTarget.Component
780
+ });
781
+ static ɵcmp = i0.ɵɵngDeclareComponent({
782
+ minVersion: "17.1.0",
783
+ version: "22.2.3",
784
+ type: SheetContentComponent,
785
+ isStandalone: true,
786
+ selector: "SheetContent, DrawerContent",
787
+ inputs: { class: {
788
+ classPropertyName: "class",
789
+ publicName: "class",
790
+ isSignal: true,
791
+ isRequired: false,
792
+ transformFunction: null
793
+ } },
794
+ host: { properties: { "class": "classes()" } },
795
+ ngImport: i0,
796
+ template: `<ng-content />`,
797
+ isInline: true
798
+ });
799
+ };
800
+ i0.ɵɵngDeclareClassMetadata({
801
+ minVersion: "12.0.0",
802
+ version: "22.2.3",
803
+ ngImport: i0,
804
+ type: SheetContentComponent,
805
+ decorators: [{
806
+ type: Component,
807
+ args: [{
808
+ selector: "SheetContent, DrawerContent",
809
+ host: { "[class]": "classes()" },
810
+ template: `<ng-content />`
811
+ }]
812
+ }],
813
+ propDecorators: { class: [{
814
+ type: i0.Input,
815
+ args: [{
816
+ isSignal: true,
817
+ alias: "class",
818
+ required: false
819
+ }]
820
+ }] }
821
+ });
822
+ var SheetFooterComponent = class SheetFooterComponent {
823
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
824
+ classes = computed(() => cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
825
+ static ɵfac = i0.ɵɵngDeclareFactory({
826
+ minVersion: "12.0.0",
827
+ version: "22.2.3",
828
+ ngImport: i0,
829
+ type: SheetFooterComponent,
830
+ deps: [],
831
+ target: i0.ɵɵFactoryTarget.Component
832
+ });
833
+ static ɵcmp = i0.ɵɵngDeclareComponent({
834
+ minVersion: "17.1.0",
835
+ version: "22.2.3",
836
+ type: SheetFooterComponent,
837
+ isStandalone: true,
838
+ selector: "SheetFooter, DrawerFooter",
839
+ inputs: { class: {
840
+ classPropertyName: "class",
841
+ publicName: "class",
842
+ isSignal: true,
843
+ isRequired: false,
844
+ transformFunction: null
845
+ } },
846
+ host: { properties: { "class": "classes()" } },
847
+ ngImport: i0,
848
+ template: `<ng-content />`,
849
+ isInline: true
850
+ });
851
+ };
852
+ i0.ɵɵngDeclareClassMetadata({
853
+ minVersion: "12.0.0",
854
+ version: "22.2.3",
855
+ ngImport: i0,
856
+ type: SheetFooterComponent,
857
+ decorators: [{
858
+ type: Component,
859
+ args: [{
860
+ selector: "SheetFooter, DrawerFooter",
861
+ host: { "[class]": "classes()" },
862
+ template: `<ng-content />`
863
+ }]
864
+ }],
865
+ propDecorators: { class: [{
866
+ type: i0.Input,
867
+ args: [{
868
+ isSignal: true,
869
+ alias: "class",
870
+ required: false
871
+ }]
872
+ }] }
873
+ });
874
+ export { SheetCloseDirective, SheetComponent, SheetContentComponent, SheetDescriptionComponent, SheetFooterComponent, SheetHeaderComponent, SheetTitleComponent };