@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,700 @@
1
+ import { isPlatformBrowser } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { Component, Directive, PLATFORM_ID, computed, effect, forwardRef, inject, input, output, signal, viewChild } from "@angular/core";
4
+ import EmblaCarousel from "embla-carousel";
5
+ import { cn } from "@edsis/angular/component/utils/core";
6
+ var CarouselContextBase = class CarouselContextBase {
7
+ static ɵfac = i0.ɵɵngDeclareFactory({
8
+ minVersion: "12.0.0",
9
+ version: "22.2.3",
10
+ ngImport: i0,
11
+ type: CarouselContextBase,
12
+ deps: [],
13
+ target: i0.ɵɵFactoryTarget.Directive
14
+ });
15
+ static ɵdir = i0.ɵɵngDeclareDirective({
16
+ minVersion: "14.0.0",
17
+ version: "22.2.3",
18
+ type: CarouselContextBase,
19
+ isStandalone: true,
20
+ ngImport: i0
21
+ });
22
+ };
23
+ i0.ɵɵngDeclareClassMetadata({
24
+ minVersion: "12.0.0",
25
+ version: "22.2.3",
26
+ ngImport: i0,
27
+ type: CarouselContextBase,
28
+ decorators: [{ type: Directive }]
29
+ });
30
+ var CarouselComponent = class CarouselComponent extends CarouselContextBase {
31
+ orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
32
+ opts = input({}, ...ngDevMode ? [{ debugName: "opts" }] : /* istanbul ignore next */ []);
33
+ plugins = input([], ...ngDevMode ? [{ debugName: "plugins" }] : /* istanbul ignore next */ []);
34
+ keyboard = input(true, ...ngDevMode ? [{ debugName: "keyboard" }] : /* istanbul ignore next */ []);
35
+ label = input("Carousel", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
36
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
37
+ apiReady = output();
38
+ apiChange = output();
39
+ selectedIndex = signal(0, ...ngDevMode ? [{ debugName: "selectedIndex" }] : /* istanbul ignore next */ []);
40
+ slideCount = signal(0, ...ngDevMode ? [{ debugName: "slideCount" }] : /* istanbul ignore next */ []);
41
+ canScrollPrev = signal(false, ...ngDevMode ? [{ debugName: "canScrollPrev" }] : /* istanbul ignore next */ []);
42
+ canScrollNext = signal(false, ...ngDevMode ? [{ debugName: "canScrollNext" }] : /* istanbul ignore next */ []);
43
+ isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
44
+ viewport = signal(null, ...ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []);
45
+ api = null;
46
+ classes = computed(() => cn("relative block", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
47
+ constructor() {
48
+ super();
49
+ effect((onCleanup) => {
50
+ const viewport = this.viewport();
51
+ const orientation = this.orientation();
52
+ const opts = this.opts();
53
+ const plugins = this.plugins();
54
+ if (!this.isBrowser || !viewport) {
55
+ this.api = null;
56
+ this.resetState();
57
+ return;
58
+ }
59
+ const carousel = EmblaCarousel(viewport, {
60
+ ...opts,
61
+ axis: orientation === "horizontal" ? "x" : "y"
62
+ }, [...plugins]);
63
+ const updateState = () => this.updateState(carousel);
64
+ this.api = carousel;
65
+ this.apiChange.emit(carousel);
66
+ this.apiReady.emit(carousel);
67
+ updateState();
68
+ carousel.on("select", updateState);
69
+ carousel.on("reInit", updateState);
70
+ carousel.on("resize", updateState);
71
+ onCleanup(() => {
72
+ carousel.destroy();
73
+ if (this.api === carousel) {
74
+ this.api = null;
75
+ this.apiChange.emit(null);
76
+ this.resetState();
77
+ }
78
+ });
79
+ });
80
+ }
81
+ registerViewport(viewport) {
82
+ this.viewport.set(viewport);
83
+ }
84
+ unregisterViewport(viewport) {
85
+ if (this.viewport() === viewport) this.viewport.set(null);
86
+ }
87
+ scrollPrev() {
88
+ this.api?.scrollPrev();
89
+ }
90
+ scrollNext() {
91
+ this.api?.scrollNext();
92
+ }
93
+ scrollTo(index) {
94
+ this.api?.scrollTo(index);
95
+ }
96
+ onKeydown(event) {
97
+ if (!this.keyboard()) return;
98
+ const horizontal = this.orientation() === "horizontal";
99
+ const previousKey = horizontal ? "ArrowLeft" : "ArrowUp";
100
+ const nextKey = horizontal ? "ArrowRight" : "ArrowDown";
101
+ if (event.key === previousKey) {
102
+ event.preventDefault();
103
+ this.scrollPrev();
104
+ return;
105
+ }
106
+ if (event.key === nextKey) {
107
+ event.preventDefault();
108
+ this.scrollNext();
109
+ return;
110
+ }
111
+ if (event.key === "Home") {
112
+ event.preventDefault();
113
+ this.scrollTo(0);
114
+ return;
115
+ }
116
+ if (event.key === "End") {
117
+ event.preventDefault();
118
+ this.scrollTo(Math.max(0, this.slideCount() - 1));
119
+ }
120
+ }
121
+ updateState(carousel) {
122
+ this.slideCount.set(carousel.scrollSnapList().length);
123
+ this.selectedIndex.set(carousel.selectedScrollSnap());
124
+ this.canScrollPrev.set(carousel.canScrollPrev());
125
+ this.canScrollNext.set(carousel.canScrollNext());
126
+ }
127
+ resetState() {
128
+ this.selectedIndex.set(0);
129
+ this.slideCount.set(0);
130
+ this.canScrollPrev.set(false);
131
+ this.canScrollNext.set(false);
132
+ }
133
+ static ɵfac = i0.ɵɵngDeclareFactory({
134
+ minVersion: "12.0.0",
135
+ version: "22.2.3",
136
+ ngImport: i0,
137
+ type: CarouselComponent,
138
+ deps: [],
139
+ target: i0.ɵɵFactoryTarget.Component
140
+ });
141
+ static ɵcmp = i0.ɵɵngDeclareComponent({
142
+ minVersion: "17.1.0",
143
+ version: "22.2.3",
144
+ type: CarouselComponent,
145
+ isStandalone: true,
146
+ selector: "Carousel",
147
+ inputs: {
148
+ orientation: {
149
+ classPropertyName: "orientation",
150
+ publicName: "orientation",
151
+ isSignal: true,
152
+ isRequired: false,
153
+ transformFunction: null
154
+ },
155
+ opts: {
156
+ classPropertyName: "opts",
157
+ publicName: "opts",
158
+ isSignal: true,
159
+ isRequired: false,
160
+ transformFunction: null
161
+ },
162
+ plugins: {
163
+ classPropertyName: "plugins",
164
+ publicName: "plugins",
165
+ isSignal: true,
166
+ isRequired: false,
167
+ transformFunction: null
168
+ },
169
+ keyboard: {
170
+ classPropertyName: "keyboard",
171
+ publicName: "keyboard",
172
+ isSignal: true,
173
+ isRequired: false,
174
+ transformFunction: null
175
+ },
176
+ label: {
177
+ classPropertyName: "label",
178
+ publicName: "label",
179
+ isSignal: true,
180
+ isRequired: false,
181
+ transformFunction: null
182
+ },
183
+ class: {
184
+ classPropertyName: "class",
185
+ publicName: "class",
186
+ isSignal: true,
187
+ isRequired: false,
188
+ transformFunction: null
189
+ }
190
+ },
191
+ outputs: {
192
+ apiReady: "apiReady",
193
+ apiChange: "apiChange"
194
+ },
195
+ host: {
196
+ listeners: { "keydown": "onKeydown($event)" },
197
+ properties: {
198
+ "class": "classes()",
199
+ "attr.role": "\"region\"",
200
+ "attr.aria-roledescription": "\"carousel\"",
201
+ "attr.aria-label": "label()",
202
+ "attr.data-orientation": "orientation()",
203
+ "attr.tabindex": "keyboard() ? 0 : null"
204
+ }
205
+ },
206
+ providers: [{
207
+ provide: CarouselContextBase,
208
+ useExisting: forwardRef(() => CarouselComponent)
209
+ }],
210
+ usesInheritance: true,
211
+ ngImport: i0,
212
+ template: `<ng-content />`,
213
+ isInline: true
214
+ });
215
+ };
216
+ i0.ɵɵngDeclareClassMetadata({
217
+ minVersion: "12.0.0",
218
+ version: "22.2.3",
219
+ ngImport: i0,
220
+ type: CarouselComponent,
221
+ decorators: [{
222
+ type: Component,
223
+ args: [{
224
+ selector: "Carousel",
225
+ providers: [{
226
+ provide: CarouselContextBase,
227
+ useExisting: forwardRef(() => CarouselComponent)
228
+ }],
229
+ host: {
230
+ "[class]": "classes()",
231
+ "[attr.role]": "\"region\"",
232
+ "[attr.aria-roledescription]": "\"carousel\"",
233
+ "[attr.aria-label]": "label()",
234
+ "[attr.data-orientation]": "orientation()",
235
+ "[attr.tabindex]": "keyboard() ? 0 : null",
236
+ "(keydown)": "onKeydown($event)"
237
+ },
238
+ template: `<ng-content />`
239
+ }]
240
+ }],
241
+ ctorParameters: () => [],
242
+ propDecorators: {
243
+ orientation: [{
244
+ type: i0.Input,
245
+ args: [{
246
+ isSignal: true,
247
+ alias: "orientation",
248
+ required: false
249
+ }]
250
+ }],
251
+ opts: [{
252
+ type: i0.Input,
253
+ args: [{
254
+ isSignal: true,
255
+ alias: "opts",
256
+ required: false
257
+ }]
258
+ }],
259
+ plugins: [{
260
+ type: i0.Input,
261
+ args: [{
262
+ isSignal: true,
263
+ alias: "plugins",
264
+ required: false
265
+ }]
266
+ }],
267
+ keyboard: [{
268
+ type: i0.Input,
269
+ args: [{
270
+ isSignal: true,
271
+ alias: "keyboard",
272
+ required: false
273
+ }]
274
+ }],
275
+ label: [{
276
+ type: i0.Input,
277
+ args: [{
278
+ isSignal: true,
279
+ alias: "label",
280
+ required: false
281
+ }]
282
+ }],
283
+ class: [{
284
+ type: i0.Input,
285
+ args: [{
286
+ isSignal: true,
287
+ alias: "class",
288
+ required: false
289
+ }]
290
+ }],
291
+ apiReady: [{
292
+ type: i0.Output,
293
+ args: ["apiReady"]
294
+ }],
295
+ apiChange: [{
296
+ type: i0.Output,
297
+ args: ["apiChange"]
298
+ }]
299
+ }
300
+ });
301
+ var CarouselContentComponent = class CarouselContentComponent {
302
+ ctx = inject(CarouselContextBase);
303
+ viewport = viewChild("viewport", ...ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []);
304
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
305
+ contentClasses = computed(() => cn("flex", this.ctx.orientation() === "horizontal" ? "-ml-4" : "-mt-4 flex-col", this.class()), ...ngDevMode ? [{ debugName: "contentClasses" }] : /* istanbul ignore next */ []);
306
+ ngAfterViewInit() {
307
+ const viewport = this.viewport()?.nativeElement;
308
+ if (viewport) this.ctx.registerViewport(viewport);
309
+ }
310
+ ngOnDestroy() {
311
+ const viewport = this.viewport()?.nativeElement;
312
+ if (viewport) this.ctx.unregisterViewport(viewport);
313
+ }
314
+ static ɵfac = i0.ɵɵngDeclareFactory({
315
+ minVersion: "12.0.0",
316
+ version: "22.2.3",
317
+ ngImport: i0,
318
+ type: CarouselContentComponent,
319
+ deps: [],
320
+ target: i0.ɵɵFactoryTarget.Component
321
+ });
322
+ static ɵcmp = i0.ɵɵngDeclareComponent({
323
+ minVersion: "17.2.0",
324
+ version: "22.2.3",
325
+ type: CarouselContentComponent,
326
+ isStandalone: true,
327
+ selector: "CarouselContent",
328
+ inputs: { class: {
329
+ classPropertyName: "class",
330
+ publicName: "class",
331
+ isSignal: true,
332
+ isRequired: false,
333
+ transformFunction: null
334
+ } },
335
+ host: { properties: { "class": "\"block\"" } },
336
+ viewQueries: [{
337
+ propertyName: "viewport",
338
+ first: true,
339
+ predicate: ["viewport"],
340
+ descendants: true,
341
+ isSignal: true
342
+ }],
343
+ ngImport: i0,
344
+ template: `
345
+ <div #viewport class="overflow-hidden">
346
+ <div [class]="contentClasses()"><ng-content /></div>
347
+ </div>
348
+ `,
349
+ isInline: true
350
+ });
351
+ };
352
+ i0.ɵɵngDeclareClassMetadata({
353
+ minVersion: "12.0.0",
354
+ version: "22.2.3",
355
+ ngImport: i0,
356
+ type: CarouselContentComponent,
357
+ decorators: [{
358
+ type: Component,
359
+ args: [{
360
+ selector: "CarouselContent",
361
+ host: { "[class]": "\"block\"" },
362
+ template: `
363
+ <div #viewport class="overflow-hidden">
364
+ <div [class]="contentClasses()"><ng-content /></div>
365
+ </div>
366
+ `
367
+ }]
368
+ }],
369
+ propDecorators: {
370
+ viewport: [{
371
+ type: i0.ViewChild,
372
+ args: ["viewport", { isSignal: true }]
373
+ }],
374
+ class: [{
375
+ type: i0.Input,
376
+ args: [{
377
+ isSignal: true,
378
+ alias: "class",
379
+ required: false
380
+ }]
381
+ }]
382
+ }
383
+ });
384
+ var CarouselItemComponent = class CarouselItemComponent {
385
+ ctx = inject(CarouselContextBase);
386
+ ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
387
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
388
+ classes = computed(() => cn("min-w-0 shrink-0 grow-0 basis-full", this.ctx.orientation() === "horizontal" ? "pl-4" : "pt-4", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
389
+ static ɵfac = i0.ɵɵngDeclareFactory({
390
+ minVersion: "12.0.0",
391
+ version: "22.2.3",
392
+ ngImport: i0,
393
+ type: CarouselItemComponent,
394
+ deps: [],
395
+ target: i0.ɵɵFactoryTarget.Component
396
+ });
397
+ static ɵcmp = i0.ɵɵngDeclareComponent({
398
+ minVersion: "17.1.0",
399
+ version: "22.2.3",
400
+ type: CarouselItemComponent,
401
+ isStandalone: true,
402
+ selector: "CarouselItem",
403
+ inputs: {
404
+ ariaLabel: {
405
+ classPropertyName: "ariaLabel",
406
+ publicName: "ariaLabel",
407
+ isSignal: true,
408
+ isRequired: false,
409
+ transformFunction: null
410
+ },
411
+ class: {
412
+ classPropertyName: "class",
413
+ publicName: "class",
414
+ isSignal: true,
415
+ isRequired: false,
416
+ transformFunction: null
417
+ }
418
+ },
419
+ host: { properties: {
420
+ "class": "classes()",
421
+ "attr.role": "\"group\"",
422
+ "attr.aria-roledescription": "\"slide\"",
423
+ "attr.aria-label": "ariaLabel()"
424
+ } },
425
+ ngImport: i0,
426
+ template: `<ng-content />`,
427
+ isInline: true
428
+ });
429
+ };
430
+ i0.ɵɵngDeclareClassMetadata({
431
+ minVersion: "12.0.0",
432
+ version: "22.2.3",
433
+ ngImport: i0,
434
+ type: CarouselItemComponent,
435
+ decorators: [{
436
+ type: Component,
437
+ args: [{
438
+ selector: "CarouselItem",
439
+ host: {
440
+ "[class]": "classes()",
441
+ "[attr.role]": "\"group\"",
442
+ "[attr.aria-roledescription]": "\"slide\"",
443
+ "[attr.aria-label]": "ariaLabel()"
444
+ },
445
+ template: `<ng-content />`
446
+ }]
447
+ }],
448
+ propDecorators: {
449
+ ariaLabel: [{
450
+ type: i0.Input,
451
+ args: [{
452
+ isSignal: true,
453
+ alias: "ariaLabel",
454
+ required: false
455
+ }]
456
+ }],
457
+ class: [{
458
+ type: i0.Input,
459
+ args: [{
460
+ isSignal: true,
461
+ alias: "class",
462
+ required: false
463
+ }]
464
+ }]
465
+ }
466
+ });
467
+ var CarouselPreviousComponent = class CarouselPreviousComponent {
468
+ ctx = inject(CarouselContextBase);
469
+ label = input("Previous slide", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
470
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
471
+ classes = computed(() => cn(carouselButtonClasses, carouselPreviousPlacement(this.ctx.orientation()), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
472
+ static ɵfac = i0.ɵɵngDeclareFactory({
473
+ minVersion: "12.0.0",
474
+ version: "22.2.3",
475
+ ngImport: i0,
476
+ type: CarouselPreviousComponent,
477
+ deps: [],
478
+ target: i0.ɵɵFactoryTarget.Component
479
+ });
480
+ static ɵcmp = i0.ɵɵngDeclareComponent({
481
+ minVersion: "17.1.0",
482
+ version: "22.2.3",
483
+ type: CarouselPreviousComponent,
484
+ isStandalone: true,
485
+ selector: "button[CarouselPrevious]",
486
+ inputs: {
487
+ label: {
488
+ classPropertyName: "label",
489
+ publicName: "label",
490
+ isSignal: true,
491
+ isRequired: false,
492
+ transformFunction: null
493
+ },
494
+ class: {
495
+ classPropertyName: "class",
496
+ publicName: "class",
497
+ isSignal: true,
498
+ isRequired: false,
499
+ transformFunction: null
500
+ }
501
+ },
502
+ host: {
503
+ attributes: { "type": "button" },
504
+ listeners: { "click": "ctx.scrollPrev()" },
505
+ properties: {
506
+ "class": "classes()",
507
+ "attr.aria-label": "label()",
508
+ "disabled": "!ctx.canScrollPrev() || null"
509
+ }
510
+ },
511
+ ngImport: i0,
512
+ template: `
513
+ <svg
514
+ aria-hidden="true"
515
+ class="h-4 w-4"
516
+ viewBox="0 0 24 24"
517
+ fill="none"
518
+ stroke="currentColor"
519
+ stroke-width="2"
520
+ stroke-linecap="round"
521
+ stroke-linejoin="round"
522
+ >
523
+ <path d="m15 18-6-6 6-6" />
524
+ </svg>
525
+ `,
526
+ isInline: true
527
+ });
528
+ };
529
+ i0.ɵɵngDeclareClassMetadata({
530
+ minVersion: "12.0.0",
531
+ version: "22.2.3",
532
+ ngImport: i0,
533
+ type: CarouselPreviousComponent,
534
+ decorators: [{
535
+ type: Component,
536
+ args: [{
537
+ selector: "button[CarouselPrevious]",
538
+ host: {
539
+ "[class]": "classes()",
540
+ type: "button",
541
+ "[attr.aria-label]": "label()",
542
+ "[disabled]": "!ctx.canScrollPrev() || null",
543
+ "(click)": "ctx.scrollPrev()"
544
+ },
545
+ template: `
546
+ <svg
547
+ aria-hidden="true"
548
+ class="h-4 w-4"
549
+ viewBox="0 0 24 24"
550
+ fill="none"
551
+ stroke="currentColor"
552
+ stroke-width="2"
553
+ stroke-linecap="round"
554
+ stroke-linejoin="round"
555
+ >
556
+ <path d="m15 18-6-6 6-6" />
557
+ </svg>
558
+ `
559
+ }]
560
+ }],
561
+ propDecorators: {
562
+ label: [{
563
+ type: i0.Input,
564
+ args: [{
565
+ isSignal: true,
566
+ alias: "label",
567
+ required: false
568
+ }]
569
+ }],
570
+ class: [{
571
+ type: i0.Input,
572
+ args: [{
573
+ isSignal: true,
574
+ alias: "class",
575
+ required: false
576
+ }]
577
+ }]
578
+ }
579
+ });
580
+ var CarouselNextComponent = class CarouselNextComponent {
581
+ ctx = inject(CarouselContextBase);
582
+ label = input("Next slide", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
583
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
584
+ classes = computed(() => cn(carouselButtonClasses, carouselNextPlacement(this.ctx.orientation()), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
585
+ static ɵfac = i0.ɵɵngDeclareFactory({
586
+ minVersion: "12.0.0",
587
+ version: "22.2.3",
588
+ ngImport: i0,
589
+ type: CarouselNextComponent,
590
+ deps: [],
591
+ target: i0.ɵɵFactoryTarget.Component
592
+ });
593
+ static ɵcmp = i0.ɵɵngDeclareComponent({
594
+ minVersion: "17.1.0",
595
+ version: "22.2.3",
596
+ type: CarouselNextComponent,
597
+ isStandalone: true,
598
+ selector: "button[CarouselNext]",
599
+ inputs: {
600
+ label: {
601
+ classPropertyName: "label",
602
+ publicName: "label",
603
+ isSignal: true,
604
+ isRequired: false,
605
+ transformFunction: null
606
+ },
607
+ class: {
608
+ classPropertyName: "class",
609
+ publicName: "class",
610
+ isSignal: true,
611
+ isRequired: false,
612
+ transformFunction: null
613
+ }
614
+ },
615
+ host: {
616
+ attributes: { "type": "button" },
617
+ listeners: { "click": "ctx.scrollNext()" },
618
+ properties: {
619
+ "class": "classes()",
620
+ "attr.aria-label": "label()",
621
+ "disabled": "!ctx.canScrollNext() || null"
622
+ }
623
+ },
624
+ ngImport: i0,
625
+ template: `
626
+ <svg
627
+ aria-hidden="true"
628
+ class="h-4 w-4"
629
+ viewBox="0 0 24 24"
630
+ fill="none"
631
+ stroke="currentColor"
632
+ stroke-width="2"
633
+ stroke-linecap="round"
634
+ stroke-linejoin="round"
635
+ >
636
+ <path d="m9 18 6-6-6-6" />
637
+ </svg>
638
+ `,
639
+ isInline: true
640
+ });
641
+ };
642
+ i0.ɵɵngDeclareClassMetadata({
643
+ minVersion: "12.0.0",
644
+ version: "22.2.3",
645
+ ngImport: i0,
646
+ type: CarouselNextComponent,
647
+ decorators: [{
648
+ type: Component,
649
+ args: [{
650
+ selector: "button[CarouselNext]",
651
+ host: {
652
+ "[class]": "classes()",
653
+ type: "button",
654
+ "[attr.aria-label]": "label()",
655
+ "[disabled]": "!ctx.canScrollNext() || null",
656
+ "(click)": "ctx.scrollNext()"
657
+ },
658
+ template: `
659
+ <svg
660
+ aria-hidden="true"
661
+ class="h-4 w-4"
662
+ viewBox="0 0 24 24"
663
+ fill="none"
664
+ stroke="currentColor"
665
+ stroke-width="2"
666
+ stroke-linecap="round"
667
+ stroke-linejoin="round"
668
+ >
669
+ <path d="m9 18 6-6-6-6" />
670
+ </svg>
671
+ `
672
+ }]
673
+ }],
674
+ propDecorators: {
675
+ label: [{
676
+ type: i0.Input,
677
+ args: [{
678
+ isSignal: true,
679
+ alias: "label",
680
+ required: false
681
+ }]
682
+ }],
683
+ class: [{
684
+ type: i0.Input,
685
+ args: [{
686
+ isSignal: true,
687
+ alias: "class",
688
+ required: false
689
+ }]
690
+ }]
691
+ }
692
+ });
693
+ const carouselButtonClasses = "absolute inline-flex h-8 w-8 items-center justify-center rounded-full border border-border bg-background p-0 text-foreground shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50";
694
+ function carouselPreviousPlacement(orientation) {
695
+ return orientation === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90";
696
+ }
697
+ function carouselNextPlacement(orientation) {
698
+ return orientation === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90";
699
+ }
700
+ export { CarouselComponent, CarouselContentComponent, CarouselContextBase, CarouselItemComponent, CarouselNextComponent, CarouselPreviousComponent };