@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,1001 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Component, DestroyRef, ElementRef, computed, effect, inject, input, model, output, signal } from "@angular/core";
3
+ import { cn, injectUniqueId } from "@edsis/angular/component/utils/core";
4
+ import * as i1 from "@edsis/angular/component/utils/scale";
5
+ import { ComponentScaleDirective } from "@edsis/angular/component/utils/scale";
6
+ import { DialogComponent } from "@edsis/angular/component/dialog";
7
+ import { buttonVariants } from "@edsis/angular/component/button";
8
+ const ALERT_DIALOG_SIZE_CLASSES = {
9
+ default: "sm:max-w-lg",
10
+ sm: "sm:max-w-sm"
11
+ };
12
+ var AlertDialogComponent = class AlertDialogComponent {
13
+ componentScale = inject(ComponentScaleDirective);
14
+ radius = this.componentScale.radius;
15
+ density = this.componentScale.density;
16
+ open = model(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
17
+ closeOnEscape = input(true, ...ngDevMode ? [{ debugName: "closeOnEscape" }] : /* istanbul ignore next */ []);
18
+ closeOnBackdropClick = input(false, ...ngDevMode ? [{ debugName: "closeOnBackdropClick" }] : /* istanbul ignore next */ []);
19
+ backdrop = input("dim", ...ngDevMode ? [{ debugName: "backdrop" }] : /* istanbul ignore next */ []);
20
+ showCloseButton = input(false, ...ngDevMode ? [{ debugName: "showCloseButton" }] : /* istanbul ignore next */ []);
21
+ closeButtonLabel = input("Close", ...ngDevMode ? [{ debugName: "closeButtonLabel" }] : /* istanbul ignore next */ []);
22
+ labelledBy = input(null, {
23
+ ...ngDevMode ? { debugName: "labelledBy" } : /* istanbul ignore next */ {},
24
+ alias: "aria-labelledby"
25
+ });
26
+ describedBy = input(null, {
27
+ ...ngDevMode ? { debugName: "describedBy" } : /* istanbul ignore next */ {},
28
+ alias: "aria-describedby"
29
+ });
30
+ role = input("alertdialog", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
31
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
32
+ openedChange = output();
33
+ contentSize = signal("default", ...ngDevMode ? [{ debugName: "contentSize" }] : /* istanbul ignore next */ []);
34
+ registeredTitleId = signal(null, ...ngDevMode ? [{ debugName: "registeredTitleId" }] : /* istanbul ignore next */ []);
35
+ registeredDescriptionId = signal(null, ...ngDevMode ? [{ debugName: "registeredDescriptionId" }] : /* istanbul ignore next */ []);
36
+ resolvedSize = computed(() => this.contentSize(), ...ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []);
37
+ surfaceClasses = computed(() => cn(ALERT_DIALOG_SIZE_CLASSES[this.resolvedSize()], this.class()), ...ngDevMode ? [{ debugName: "surfaceClasses" }] : /* istanbul ignore next */ []);
38
+ resolvedLabelledBy = computed(() => this.labelledBy() ?? this.registeredTitleId(), ...ngDevMode ? [{ debugName: "resolvedLabelledBy" }] : /* istanbul ignore next */ []);
39
+ resolvedDescribedBy = computed(() => this.describedBy() ?? this.registeredDescriptionId(), ...ngDevMode ? [{ debugName: "resolvedDescribedBy" }] : /* istanbul ignore next */ []);
40
+ setContentSize(size) {
41
+ this.contentSize.set(size);
42
+ }
43
+ registerTitleId(id) {
44
+ this.registeredTitleId.set(id);
45
+ }
46
+ unregisterTitleId(id) {
47
+ if (this.registeredTitleId() === id) this.registeredTitleId.set(null);
48
+ }
49
+ registerDescriptionId(id) {
50
+ this.registeredDescriptionId.set(id);
51
+ }
52
+ unregisterDescriptionId(id) {
53
+ if (this.registeredDescriptionId() === id) this.registeredDescriptionId.set(null);
54
+ }
55
+ close() {
56
+ this.open.set(false);
57
+ }
58
+ static ɵfac = i0.ɵɵngDeclareFactory({
59
+ minVersion: "12.0.0",
60
+ version: "22.2.3",
61
+ ngImport: i0,
62
+ type: AlertDialogComponent,
63
+ deps: [],
64
+ target: i0.ɵɵFactoryTarget.Component
65
+ });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({
67
+ minVersion: "17.1.0",
68
+ version: "22.2.3",
69
+ type: AlertDialogComponent,
70
+ isStandalone: true,
71
+ selector: "AlertDialog",
72
+ inputs: {
73
+ open: {
74
+ classPropertyName: "open",
75
+ publicName: "open",
76
+ isSignal: true,
77
+ isRequired: false,
78
+ transformFunction: null
79
+ },
80
+ closeOnEscape: {
81
+ classPropertyName: "closeOnEscape",
82
+ publicName: "closeOnEscape",
83
+ isSignal: true,
84
+ isRequired: false,
85
+ transformFunction: null
86
+ },
87
+ closeOnBackdropClick: {
88
+ classPropertyName: "closeOnBackdropClick",
89
+ publicName: "closeOnBackdropClick",
90
+ isSignal: true,
91
+ isRequired: false,
92
+ transformFunction: null
93
+ },
94
+ backdrop: {
95
+ classPropertyName: "backdrop",
96
+ publicName: "backdrop",
97
+ isSignal: true,
98
+ isRequired: false,
99
+ transformFunction: null
100
+ },
101
+ showCloseButton: {
102
+ classPropertyName: "showCloseButton",
103
+ publicName: "showCloseButton",
104
+ isSignal: true,
105
+ isRequired: false,
106
+ transformFunction: null
107
+ },
108
+ closeButtonLabel: {
109
+ classPropertyName: "closeButtonLabel",
110
+ publicName: "closeButtonLabel",
111
+ isSignal: true,
112
+ isRequired: false,
113
+ transformFunction: null
114
+ },
115
+ labelledBy: {
116
+ classPropertyName: "labelledBy",
117
+ publicName: "aria-labelledby",
118
+ isSignal: true,
119
+ isRequired: false,
120
+ transformFunction: null
121
+ },
122
+ describedBy: {
123
+ classPropertyName: "describedBy",
124
+ publicName: "aria-describedby",
125
+ isSignal: true,
126
+ isRequired: false,
127
+ transformFunction: null
128
+ },
129
+ role: {
130
+ classPropertyName: "role",
131
+ publicName: "role",
132
+ isSignal: true,
133
+ isRequired: false,
134
+ transformFunction: null
135
+ },
136
+ class: {
137
+ classPropertyName: "class",
138
+ publicName: "class",
139
+ isSignal: true,
140
+ isRequired: false,
141
+ transformFunction: null
142
+ }
143
+ },
144
+ outputs: {
145
+ open: "openChange",
146
+ openedChange: "openedChange"
147
+ },
148
+ host: { properties: {
149
+ "attr.aria-labelledby": "null",
150
+ "attr.aria-describedby": "null"
151
+ } },
152
+ hostDirectives: [{
153
+ directive: i1.ComponentScaleDirective,
154
+ inputs: [
155
+ "radius",
156
+ "radius",
157
+ "density",
158
+ "density"
159
+ ]
160
+ }],
161
+ ngImport: i0,
162
+ template: `
163
+ <Dialog
164
+ [(open)]="open"
165
+ [role]="role()"
166
+ [closeOnEscape]="closeOnEscape()"
167
+ [closeOnBackdropClick]="closeOnBackdropClick()"
168
+ [backdrop]="backdrop()"
169
+ [showCloseButton]="showCloseButton()"
170
+ [closeButtonLabel]="closeButtonLabel()"
171
+ [aria-labelledby]="resolvedLabelledBy()"
172
+ [aria-describedby]="resolvedDescribedBy()"
173
+ [class]="surfaceClasses()"
174
+ [radius]="componentScale.radius()"
175
+ [density]="componentScale.density()"
176
+ (openedChange)="openedChange.emit($event)"
177
+ >
178
+ <ng-content />
179
+ </Dialog>
180
+ `,
181
+ isInline: true,
182
+ dependencies: [{
183
+ kind: "component",
184
+ type: DialogComponent,
185
+ selector: "Dialog",
186
+ inputs: [
187
+ "open",
188
+ "closeOnEscape",
189
+ "closeOnBackdropClick",
190
+ "backdrop",
191
+ "showCloseButton",
192
+ "closeButtonLabel",
193
+ "aria-labelledby",
194
+ "aria-describedby",
195
+ "role",
196
+ "class"
197
+ ],
198
+ outputs: ["openChange", "openedChange"]
199
+ }]
200
+ });
201
+ };
202
+ i0.ɵɵngDeclareClassMetadata({
203
+ minVersion: "12.0.0",
204
+ version: "22.2.3",
205
+ ngImport: i0,
206
+ type: AlertDialogComponent,
207
+ decorators: [{
208
+ type: Component,
209
+ args: [{
210
+ selector: "AlertDialog",
211
+ hostDirectives: [{
212
+ directive: ComponentScaleDirective,
213
+ inputs: ["radius", "density"]
214
+ }],
215
+ host: {
216
+ "[attr.aria-labelledby]": "null",
217
+ "[attr.aria-describedby]": "null"
218
+ },
219
+ imports: [DialogComponent],
220
+ template: `
221
+ <Dialog
222
+ [(open)]="open"
223
+ [role]="role()"
224
+ [closeOnEscape]="closeOnEscape()"
225
+ [closeOnBackdropClick]="closeOnBackdropClick()"
226
+ [backdrop]="backdrop()"
227
+ [showCloseButton]="showCloseButton()"
228
+ [closeButtonLabel]="closeButtonLabel()"
229
+ [aria-labelledby]="resolvedLabelledBy()"
230
+ [aria-describedby]="resolvedDescribedBy()"
231
+ [class]="surfaceClasses()"
232
+ [radius]="componentScale.radius()"
233
+ [density]="componentScale.density()"
234
+ (openedChange)="openedChange.emit($event)"
235
+ >
236
+ <ng-content />
237
+ </Dialog>
238
+ `
239
+ }]
240
+ }],
241
+ propDecorators: {
242
+ open: [{
243
+ type: i0.Input,
244
+ args: [{
245
+ isSignal: true,
246
+ alias: "open",
247
+ required: false
248
+ }]
249
+ }, {
250
+ type: i0.Output,
251
+ args: ["openChange"]
252
+ }],
253
+ closeOnEscape: [{
254
+ type: i0.Input,
255
+ args: [{
256
+ isSignal: true,
257
+ alias: "closeOnEscape",
258
+ required: false
259
+ }]
260
+ }],
261
+ closeOnBackdropClick: [{
262
+ type: i0.Input,
263
+ args: [{
264
+ isSignal: true,
265
+ alias: "closeOnBackdropClick",
266
+ required: false
267
+ }]
268
+ }],
269
+ backdrop: [{
270
+ type: i0.Input,
271
+ args: [{
272
+ isSignal: true,
273
+ alias: "backdrop",
274
+ required: false
275
+ }]
276
+ }],
277
+ showCloseButton: [{
278
+ type: i0.Input,
279
+ args: [{
280
+ isSignal: true,
281
+ alias: "showCloseButton",
282
+ required: false
283
+ }]
284
+ }],
285
+ closeButtonLabel: [{
286
+ type: i0.Input,
287
+ args: [{
288
+ isSignal: true,
289
+ alias: "closeButtonLabel",
290
+ required: false
291
+ }]
292
+ }],
293
+ labelledBy: [{
294
+ type: i0.Input,
295
+ args: [{
296
+ isSignal: true,
297
+ alias: "aria-labelledby",
298
+ required: false
299
+ }]
300
+ }],
301
+ describedBy: [{
302
+ type: i0.Input,
303
+ args: [{
304
+ isSignal: true,
305
+ alias: "aria-describedby",
306
+ required: false
307
+ }]
308
+ }],
309
+ role: [{
310
+ type: i0.Input,
311
+ args: [{
312
+ isSignal: true,
313
+ alias: "role",
314
+ required: false
315
+ }]
316
+ }],
317
+ class: [{
318
+ type: i0.Input,
319
+ args: [{
320
+ isSignal: true,
321
+ alias: "class",
322
+ required: false
323
+ }]
324
+ }],
325
+ openedChange: [{
326
+ type: i0.Output,
327
+ args: ["openedChange"]
328
+ }]
329
+ }
330
+ });
331
+ const ALERT_DIALOG_MEDIA_SIZE_CLASSES = {
332
+ default: "h-12 w-12 [&_svg]:h-5 [&_svg]:w-5",
333
+ sm: "h-10 w-10 [&_svg]:h-4.5 [&_svg]:w-4.5"
334
+ };
335
+ var AlertDialogContentComponent = class AlertDialogContentComponent {
336
+ size = input("default", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
337
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
338
+ alertDialog = inject(AlertDialogComponent, { optional: true });
339
+ classes = computed(() => cn("grid gap-4", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
340
+ constructor() {
341
+ effect(() => this.alertDialog?.setContentSize(this.size()));
342
+ }
343
+ static ɵfac = i0.ɵɵngDeclareFactory({
344
+ minVersion: "12.0.0",
345
+ version: "22.2.3",
346
+ ngImport: i0,
347
+ type: AlertDialogContentComponent,
348
+ deps: [],
349
+ target: i0.ɵɵFactoryTarget.Component
350
+ });
351
+ static ɵcmp = i0.ɵɵngDeclareComponent({
352
+ minVersion: "17.1.0",
353
+ version: "22.2.3",
354
+ type: AlertDialogContentComponent,
355
+ isStandalone: true,
356
+ selector: "AlertDialogContent",
357
+ inputs: {
358
+ size: {
359
+ classPropertyName: "size",
360
+ publicName: "size",
361
+ isSignal: true,
362
+ isRequired: false,
363
+ transformFunction: null
364
+ },
365
+ class: {
366
+ classPropertyName: "class",
367
+ publicName: "class",
368
+ isSignal: true,
369
+ isRequired: false,
370
+ transformFunction: null
371
+ }
372
+ },
373
+ host: { properties: {
374
+ "class": "classes()",
375
+ "attr.data-size": "size()"
376
+ } },
377
+ ngImport: i0,
378
+ template: `<ng-content />`,
379
+ isInline: true
380
+ });
381
+ };
382
+ i0.ɵɵngDeclareClassMetadata({
383
+ minVersion: "12.0.0",
384
+ version: "22.2.3",
385
+ ngImport: i0,
386
+ type: AlertDialogContentComponent,
387
+ decorators: [{
388
+ type: Component,
389
+ args: [{
390
+ selector: "AlertDialogContent",
391
+ host: {
392
+ "[class]": "classes()",
393
+ "[attr.data-size]": "size()"
394
+ },
395
+ template: `<ng-content />`
396
+ }]
397
+ }],
398
+ ctorParameters: () => [],
399
+ propDecorators: {
400
+ size: [{
401
+ type: i0.Input,
402
+ args: [{
403
+ isSignal: true,
404
+ alias: "size",
405
+ required: false
406
+ }]
407
+ }],
408
+ class: [{
409
+ type: i0.Input,
410
+ args: [{
411
+ isSignal: true,
412
+ alias: "class",
413
+ required: false
414
+ }]
415
+ }]
416
+ }
417
+ });
418
+ var AlertDialogHeaderComponent = class AlertDialogHeaderComponent {
419
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
420
+ classes = computed(() => cn("flex flex-col gap-2 text-center sm:text-left", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
421
+ static ɵfac = i0.ɵɵngDeclareFactory({
422
+ minVersion: "12.0.0",
423
+ version: "22.2.3",
424
+ ngImport: i0,
425
+ type: AlertDialogHeaderComponent,
426
+ deps: [],
427
+ target: i0.ɵɵFactoryTarget.Component
428
+ });
429
+ static ɵcmp = i0.ɵɵngDeclareComponent({
430
+ minVersion: "17.1.0",
431
+ version: "22.2.3",
432
+ type: AlertDialogHeaderComponent,
433
+ isStandalone: true,
434
+ selector: "AlertDialogHeader",
435
+ inputs: { class: {
436
+ classPropertyName: "class",
437
+ publicName: "class",
438
+ isSignal: true,
439
+ isRequired: false,
440
+ transformFunction: null
441
+ } },
442
+ host: { properties: { "class": "classes()" } },
443
+ ngImport: i0,
444
+ template: `<ng-content />`,
445
+ isInline: true
446
+ });
447
+ };
448
+ i0.ɵɵngDeclareClassMetadata({
449
+ minVersion: "12.0.0",
450
+ version: "22.2.3",
451
+ ngImport: i0,
452
+ type: AlertDialogHeaderComponent,
453
+ decorators: [{
454
+ type: Component,
455
+ args: [{
456
+ selector: "AlertDialogHeader",
457
+ host: { "[class]": "classes()" },
458
+ template: `<ng-content />`
459
+ }]
460
+ }],
461
+ propDecorators: { class: [{
462
+ type: i0.Input,
463
+ args: [{
464
+ isSignal: true,
465
+ alias: "class",
466
+ required: false
467
+ }]
468
+ }] }
469
+ });
470
+ var AlertDialogTitleComponent = class AlertDialogTitleComponent {
471
+ id = input(null, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
472
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
473
+ autoId = injectUniqueId("alert-dialog-title");
474
+ alertDialog = inject(AlertDialogComponent, { optional: true });
475
+ resolvedId = computed(() => this.id() ?? this.autoId, ...ngDevMode ? [{ debugName: "resolvedId" }] : /* istanbul ignore next */ []);
476
+ classes = computed(() => cn("text-lg font-semibold leading-none tracking-tight", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
477
+ constructor() {
478
+ effect(() => this.alertDialog?.registerTitleId(this.resolvedId()));
479
+ inject(DestroyRef).onDestroy(() => this.alertDialog?.unregisterTitleId(this.resolvedId()));
480
+ }
481
+ static ɵfac = i0.ɵɵngDeclareFactory({
482
+ minVersion: "12.0.0",
483
+ version: "22.2.3",
484
+ ngImport: i0,
485
+ type: AlertDialogTitleComponent,
486
+ deps: [],
487
+ target: i0.ɵɵFactoryTarget.Component
488
+ });
489
+ static ɵcmp = i0.ɵɵngDeclareComponent({
490
+ minVersion: "17.1.0",
491
+ version: "22.2.3",
492
+ type: AlertDialogTitleComponent,
493
+ isStandalone: true,
494
+ selector: "AlertDialogTitle, h2[AlertDialogTitle]",
495
+ inputs: {
496
+ id: {
497
+ classPropertyName: "id",
498
+ publicName: "id",
499
+ isSignal: true,
500
+ isRequired: false,
501
+ transformFunction: null
502
+ },
503
+ class: {
504
+ classPropertyName: "class",
505
+ publicName: "class",
506
+ isSignal: true,
507
+ isRequired: false,
508
+ transformFunction: null
509
+ }
510
+ },
511
+ host: { properties: {
512
+ "class": "classes()",
513
+ "attr.id": "resolvedId()"
514
+ } },
515
+ ngImport: i0,
516
+ template: `<ng-content />`,
517
+ isInline: true
518
+ });
519
+ };
520
+ i0.ɵɵngDeclareClassMetadata({
521
+ minVersion: "12.0.0",
522
+ version: "22.2.3",
523
+ ngImport: i0,
524
+ type: AlertDialogTitleComponent,
525
+ decorators: [{
526
+ type: Component,
527
+ args: [{
528
+ selector: "AlertDialogTitle, h2[AlertDialogTitle]",
529
+ host: {
530
+ "[class]": "classes()",
531
+ "[attr.id]": "resolvedId()"
532
+ },
533
+ template: `<ng-content />`
534
+ }]
535
+ }],
536
+ ctorParameters: () => [],
537
+ propDecorators: {
538
+ id: [{
539
+ type: i0.Input,
540
+ args: [{
541
+ isSignal: true,
542
+ alias: "id",
543
+ required: false
544
+ }]
545
+ }],
546
+ class: [{
547
+ type: i0.Input,
548
+ args: [{
549
+ isSignal: true,
550
+ alias: "class",
551
+ required: false
552
+ }]
553
+ }]
554
+ }
555
+ });
556
+ var AlertDialogDescriptionComponent = class AlertDialogDescriptionComponent {
557
+ id = input(null, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
558
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
559
+ autoId = injectUniqueId("alert-dialog-description");
560
+ alertDialog = inject(AlertDialogComponent, { optional: true });
561
+ resolvedId = computed(() => this.id() ?? this.autoId, ...ngDevMode ? [{ debugName: "resolvedId" }] : /* istanbul ignore next */ []);
562
+ classes = computed(() => cn("text-sm leading-6 text-muted-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
563
+ constructor() {
564
+ effect(() => this.alertDialog?.registerDescriptionId(this.resolvedId()));
565
+ inject(DestroyRef).onDestroy(() => this.alertDialog?.unregisterDescriptionId(this.resolvedId()));
566
+ }
567
+ static ɵfac = i0.ɵɵngDeclareFactory({
568
+ minVersion: "12.0.0",
569
+ version: "22.2.3",
570
+ ngImport: i0,
571
+ type: AlertDialogDescriptionComponent,
572
+ deps: [],
573
+ target: i0.ɵɵFactoryTarget.Component
574
+ });
575
+ static ɵcmp = i0.ɵɵngDeclareComponent({
576
+ minVersion: "17.1.0",
577
+ version: "22.2.3",
578
+ type: AlertDialogDescriptionComponent,
579
+ isStandalone: true,
580
+ selector: "AlertDialogDescription, p[AlertDialogDescription]",
581
+ inputs: {
582
+ id: {
583
+ classPropertyName: "id",
584
+ publicName: "id",
585
+ isSignal: true,
586
+ isRequired: false,
587
+ transformFunction: null
588
+ },
589
+ class: {
590
+ classPropertyName: "class",
591
+ publicName: "class",
592
+ isSignal: true,
593
+ isRequired: false,
594
+ transformFunction: null
595
+ }
596
+ },
597
+ host: { properties: {
598
+ "class": "classes()",
599
+ "attr.id": "resolvedId()"
600
+ } },
601
+ ngImport: i0,
602
+ template: `<ng-content />`,
603
+ isInline: true
604
+ });
605
+ };
606
+ i0.ɵɵngDeclareClassMetadata({
607
+ minVersion: "12.0.0",
608
+ version: "22.2.3",
609
+ ngImport: i0,
610
+ type: AlertDialogDescriptionComponent,
611
+ decorators: [{
612
+ type: Component,
613
+ args: [{
614
+ selector: "AlertDialogDescription, p[AlertDialogDescription]",
615
+ host: {
616
+ "[class]": "classes()",
617
+ "[attr.id]": "resolvedId()"
618
+ },
619
+ template: `<ng-content />`
620
+ }]
621
+ }],
622
+ ctorParameters: () => [],
623
+ propDecorators: {
624
+ id: [{
625
+ type: i0.Input,
626
+ args: [{
627
+ isSignal: true,
628
+ alias: "id",
629
+ required: false
630
+ }]
631
+ }],
632
+ class: [{
633
+ type: i0.Input,
634
+ args: [{
635
+ isSignal: true,
636
+ alias: "class",
637
+ required: false
638
+ }]
639
+ }]
640
+ }
641
+ });
642
+ var AlertDialogMediaComponent = class AlertDialogMediaComponent {
643
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
644
+ alertDialog = inject(AlertDialogComponent, { optional: true });
645
+ classes = computed(() => cn("mx-auto flex shrink-0 items-center justify-center rounded-full border border-border bg-muted/60 text-foreground sm:mx-0", ALERT_DIALOG_MEDIA_SIZE_CLASSES[this.alertDialog?.resolvedSize() ?? "default"], this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
646
+ static ɵfac = i0.ɵɵngDeclareFactory({
647
+ minVersion: "12.0.0",
648
+ version: "22.2.3",
649
+ ngImport: i0,
650
+ type: AlertDialogMediaComponent,
651
+ deps: [],
652
+ target: i0.ɵɵFactoryTarget.Component
653
+ });
654
+ static ɵcmp = i0.ɵɵngDeclareComponent({
655
+ minVersion: "17.1.0",
656
+ version: "22.2.3",
657
+ type: AlertDialogMediaComponent,
658
+ isStandalone: true,
659
+ selector: "AlertDialogMedia",
660
+ inputs: { class: {
661
+ classPropertyName: "class",
662
+ publicName: "class",
663
+ isSignal: true,
664
+ isRequired: false,
665
+ transformFunction: null
666
+ } },
667
+ host: { properties: { "class": "classes()" } },
668
+ ngImport: i0,
669
+ template: `<ng-content />`,
670
+ isInline: true
671
+ });
672
+ };
673
+ i0.ɵɵngDeclareClassMetadata({
674
+ minVersion: "12.0.0",
675
+ version: "22.2.3",
676
+ ngImport: i0,
677
+ type: AlertDialogMediaComponent,
678
+ decorators: [{
679
+ type: Component,
680
+ args: [{
681
+ selector: "AlertDialogMedia",
682
+ host: { "[class]": "classes()" },
683
+ template: `<ng-content />`
684
+ }]
685
+ }],
686
+ propDecorators: { class: [{
687
+ type: i0.Input,
688
+ args: [{
689
+ isSignal: true,
690
+ alias: "class",
691
+ required: false
692
+ }]
693
+ }] }
694
+ });
695
+ var AlertDialogFooterComponent = class AlertDialogFooterComponent {
696
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
697
+ classes = computed(() => cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:gap-2", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
698
+ static ɵfac = i0.ɵɵngDeclareFactory({
699
+ minVersion: "12.0.0",
700
+ version: "22.2.3",
701
+ ngImport: i0,
702
+ type: AlertDialogFooterComponent,
703
+ deps: [],
704
+ target: i0.ɵɵFactoryTarget.Component
705
+ });
706
+ static ɵcmp = i0.ɵɵngDeclareComponent({
707
+ minVersion: "17.1.0",
708
+ version: "22.2.3",
709
+ type: AlertDialogFooterComponent,
710
+ isStandalone: true,
711
+ selector: "AlertDialogFooter",
712
+ inputs: { class: {
713
+ classPropertyName: "class",
714
+ publicName: "class",
715
+ isSignal: true,
716
+ isRequired: false,
717
+ transformFunction: null
718
+ } },
719
+ host: { properties: { "class": "classes()" } },
720
+ ngImport: i0,
721
+ template: `<ng-content />`,
722
+ isInline: true
723
+ });
724
+ };
725
+ i0.ɵɵngDeclareClassMetadata({
726
+ minVersion: "12.0.0",
727
+ version: "22.2.3",
728
+ ngImport: i0,
729
+ type: AlertDialogFooterComponent,
730
+ decorators: [{
731
+ type: Component,
732
+ args: [{
733
+ selector: "AlertDialogFooter",
734
+ host: { "[class]": "classes()" },
735
+ template: `<ng-content />`
736
+ }]
737
+ }],
738
+ propDecorators: { class: [{
739
+ type: i0.Input,
740
+ args: [{
741
+ isSignal: true,
742
+ alias: "class",
743
+ required: false
744
+ }]
745
+ }] }
746
+ });
747
+ var AlertDialogCancelComponent = class AlertDialogCancelComponent {
748
+ variant = input("outline", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
749
+ size = input("default", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
750
+ closeOnClick = input(true, ...ngDevMode ? [{ debugName: "closeOnClick" }] : /* istanbul ignore next */ []);
751
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
752
+ host = inject(ElementRef);
753
+ alertDialog = inject(AlertDialogComponent, { optional: true });
754
+ classes = computed(() => cn(buttonVariants({
755
+ variant: this.variant(),
756
+ size: this.size()
757
+ }), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
758
+ buttonType = computed(() => this.host.nativeElement.tagName.toLowerCase() === "button" ? "button" : null, ...ngDevMode ? [{ debugName: "buttonType" }] : /* istanbul ignore next */ []);
759
+ handleClick() {
760
+ if (this.closeOnClick()) this.alertDialog?.close();
761
+ }
762
+ static ɵfac = i0.ɵɵngDeclareFactory({
763
+ minVersion: "12.0.0",
764
+ version: "22.2.3",
765
+ ngImport: i0,
766
+ type: AlertDialogCancelComponent,
767
+ deps: [],
768
+ target: i0.ɵɵFactoryTarget.Component
769
+ });
770
+ static ɵcmp = i0.ɵɵngDeclareComponent({
771
+ minVersion: "17.1.0",
772
+ version: "22.2.3",
773
+ type: AlertDialogCancelComponent,
774
+ isStandalone: true,
775
+ selector: "button[AlertDialogCancel], a[AlertDialogCancel]",
776
+ inputs: {
777
+ variant: {
778
+ classPropertyName: "variant",
779
+ publicName: "variant",
780
+ isSignal: true,
781
+ isRequired: false,
782
+ transformFunction: null
783
+ },
784
+ size: {
785
+ classPropertyName: "size",
786
+ publicName: "size",
787
+ isSignal: true,
788
+ isRequired: false,
789
+ transformFunction: null
790
+ },
791
+ closeOnClick: {
792
+ classPropertyName: "closeOnClick",
793
+ publicName: "closeOnClick",
794
+ isSignal: true,
795
+ isRequired: false,
796
+ transformFunction: null
797
+ },
798
+ class: {
799
+ classPropertyName: "class",
800
+ publicName: "class",
801
+ isSignal: true,
802
+ isRequired: false,
803
+ transformFunction: null
804
+ }
805
+ },
806
+ host: {
807
+ listeners: { "click": "handleClick()" },
808
+ properties: {
809
+ "class": "classes()",
810
+ "attr.data-size": "size()",
811
+ "attr.data-variant": "variant()",
812
+ "attr.type": "buttonType()"
813
+ }
814
+ },
815
+ ngImport: i0,
816
+ template: `<ng-content />`,
817
+ isInline: true
818
+ });
819
+ };
820
+ i0.ɵɵngDeclareClassMetadata({
821
+ minVersion: "12.0.0",
822
+ version: "22.2.3",
823
+ ngImport: i0,
824
+ type: AlertDialogCancelComponent,
825
+ decorators: [{
826
+ type: Component,
827
+ args: [{
828
+ selector: "button[AlertDialogCancel], a[AlertDialogCancel]",
829
+ host: {
830
+ "[class]": "classes()",
831
+ "[attr.data-size]": "size()",
832
+ "[attr.data-variant]": "variant()",
833
+ "[attr.type]": "buttonType()",
834
+ "(click)": "handleClick()"
835
+ },
836
+ template: `<ng-content />`
837
+ }]
838
+ }],
839
+ propDecorators: {
840
+ variant: [{
841
+ type: i0.Input,
842
+ args: [{
843
+ isSignal: true,
844
+ alias: "variant",
845
+ required: false
846
+ }]
847
+ }],
848
+ size: [{
849
+ type: i0.Input,
850
+ args: [{
851
+ isSignal: true,
852
+ alias: "size",
853
+ required: false
854
+ }]
855
+ }],
856
+ closeOnClick: [{
857
+ type: i0.Input,
858
+ args: [{
859
+ isSignal: true,
860
+ alias: "closeOnClick",
861
+ required: false
862
+ }]
863
+ }],
864
+ class: [{
865
+ type: i0.Input,
866
+ args: [{
867
+ isSignal: true,
868
+ alias: "class",
869
+ required: false
870
+ }]
871
+ }]
872
+ }
873
+ });
874
+ var AlertDialogActionComponent = class AlertDialogActionComponent {
875
+ variant = input("default", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
876
+ size = input("default", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
877
+ closeOnClick = input(true, ...ngDevMode ? [{ debugName: "closeOnClick" }] : /* istanbul ignore next */ []);
878
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
879
+ host = inject(ElementRef);
880
+ alertDialog = inject(AlertDialogComponent, { optional: true });
881
+ classes = computed(() => cn(buttonVariants({
882
+ variant: this.variant(),
883
+ size: this.size()
884
+ }), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
885
+ buttonType = computed(() => this.host.nativeElement.tagName.toLowerCase() === "button" ? "button" : null, ...ngDevMode ? [{ debugName: "buttonType" }] : /* istanbul ignore next */ []);
886
+ handleClick() {
887
+ if (this.closeOnClick()) this.alertDialog?.close();
888
+ }
889
+ static ɵfac = i0.ɵɵngDeclareFactory({
890
+ minVersion: "12.0.0",
891
+ version: "22.2.3",
892
+ ngImport: i0,
893
+ type: AlertDialogActionComponent,
894
+ deps: [],
895
+ target: i0.ɵɵFactoryTarget.Component
896
+ });
897
+ static ɵcmp = i0.ɵɵngDeclareComponent({
898
+ minVersion: "17.1.0",
899
+ version: "22.2.3",
900
+ type: AlertDialogActionComponent,
901
+ isStandalone: true,
902
+ selector: "button[AlertDialogAction], a[AlertDialogAction]",
903
+ inputs: {
904
+ variant: {
905
+ classPropertyName: "variant",
906
+ publicName: "variant",
907
+ isSignal: true,
908
+ isRequired: false,
909
+ transformFunction: null
910
+ },
911
+ size: {
912
+ classPropertyName: "size",
913
+ publicName: "size",
914
+ isSignal: true,
915
+ isRequired: false,
916
+ transformFunction: null
917
+ },
918
+ closeOnClick: {
919
+ classPropertyName: "closeOnClick",
920
+ publicName: "closeOnClick",
921
+ isSignal: true,
922
+ isRequired: false,
923
+ transformFunction: null
924
+ },
925
+ class: {
926
+ classPropertyName: "class",
927
+ publicName: "class",
928
+ isSignal: true,
929
+ isRequired: false,
930
+ transformFunction: null
931
+ }
932
+ },
933
+ host: {
934
+ listeners: { "click": "handleClick()" },
935
+ properties: {
936
+ "class": "classes()",
937
+ "attr.data-size": "size()",
938
+ "attr.data-variant": "variant()",
939
+ "attr.type": "buttonType()"
940
+ }
941
+ },
942
+ ngImport: i0,
943
+ template: `<ng-content />`,
944
+ isInline: true
945
+ });
946
+ };
947
+ i0.ɵɵngDeclareClassMetadata({
948
+ minVersion: "12.0.0",
949
+ version: "22.2.3",
950
+ ngImport: i0,
951
+ type: AlertDialogActionComponent,
952
+ decorators: [{
953
+ type: Component,
954
+ args: [{
955
+ selector: "button[AlertDialogAction], a[AlertDialogAction]",
956
+ host: {
957
+ "[class]": "classes()",
958
+ "[attr.data-size]": "size()",
959
+ "[attr.data-variant]": "variant()",
960
+ "[attr.type]": "buttonType()",
961
+ "(click)": "handleClick()"
962
+ },
963
+ template: `<ng-content />`
964
+ }]
965
+ }],
966
+ propDecorators: {
967
+ variant: [{
968
+ type: i0.Input,
969
+ args: [{
970
+ isSignal: true,
971
+ alias: "variant",
972
+ required: false
973
+ }]
974
+ }],
975
+ size: [{
976
+ type: i0.Input,
977
+ args: [{
978
+ isSignal: true,
979
+ alias: "size",
980
+ required: false
981
+ }]
982
+ }],
983
+ closeOnClick: [{
984
+ type: i0.Input,
985
+ args: [{
986
+ isSignal: true,
987
+ alias: "closeOnClick",
988
+ required: false
989
+ }]
990
+ }],
991
+ class: [{
992
+ type: i0.Input,
993
+ args: [{
994
+ isSignal: true,
995
+ alias: "class",
996
+ required: false
997
+ }]
998
+ }]
999
+ }
1000
+ });
1001
+ export { AlertDialogActionComponent, AlertDialogCancelComponent, AlertDialogComponent, AlertDialogContentComponent, AlertDialogDescriptionComponent, AlertDialogFooterComponent, AlertDialogHeaderComponent, AlertDialogMediaComponent, AlertDialogTitleComponent };