@edsis/angular 22.1.3 → 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,579 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Component, Directive, ElementRef, computed, forwardRef, inject, input, model, numberAttribute, signal } from "@angular/core";
3
+ import { toggleVariants } from "@edsis/angular/component/toggle";
4
+ import { cn } from "@edsis/angular/component/utils/core";
5
+ const spacingClasses = {
6
+ 0: "",
7
+ 1: "gap-1",
8
+ 2: "gap-2",
9
+ 3: "gap-3",
10
+ 4: "gap-4"
11
+ };
12
+ const connectedItemClasses = {
13
+ horizontal: [
14
+ "[&>[data-slot=toggle-group-item]:not(:first-child)]:rounded-s-none",
15
+ "[&>[data-slot=toggle-group-item]:not(:first-child)]:[border-inline-start-width:0]",
16
+ "[&>[data-slot=toggle-group-item]:not(:last-child)]:rounded-e-none"
17
+ ].join(" "),
18
+ vertical: [
19
+ "[&>[data-slot=toggle-group-item]:not(:first-child)]:rounded-t-none",
20
+ "[&>[data-slot=toggle-group-item]:not(:first-child)]:border-t-0",
21
+ "[&>[data-slot=toggle-group-item]:not(:last-child)]:rounded-b-none"
22
+ ].join(" ")
23
+ };
24
+ var ToggleGroupContextBase = class ToggleGroupContextBase {
25
+ static ɵfac = i0.ɵɵngDeclareFactory({
26
+ minVersion: "12.0.0",
27
+ version: "22.2.3",
28
+ ngImport: i0,
29
+ type: ToggleGroupContextBase,
30
+ deps: [],
31
+ target: i0.ɵɵFactoryTarget.Directive
32
+ });
33
+ static ɵdir = i0.ɵɵngDeclareDirective({
34
+ minVersion: "14.0.0",
35
+ version: "22.2.3",
36
+ type: ToggleGroupContextBase,
37
+ isStandalone: true,
38
+ ngImport: i0
39
+ });
40
+ };
41
+ i0.ɵɵngDeclareClassMetadata({
42
+ minVersion: "12.0.0",
43
+ version: "22.2.3",
44
+ ngImport: i0,
45
+ type: ToggleGroupContextBase,
46
+ decorators: [{ type: Directive }]
47
+ });
48
+ var ToggleGroupComponent = class ToggleGroupComponent extends ToggleGroupContextBase {
49
+ type = input.required(...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
50
+ value = model(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
51
+ values = model([], ...ngDevMode ? [{ debugName: "values" }] : /* istanbul ignore next */ []);
52
+ orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
53
+ variant = input("default", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
54
+ size = input("default", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
55
+ spacing = input(2, {
56
+ ...ngDevMode ? { debugName: "spacing" } : /* istanbul ignore next */ {},
57
+ transform: numberAttribute
58
+ });
59
+ loop = input(true, ...ngDevMode ? [{ debugName: "loop" }] : /* istanbul ignore next */ []);
60
+ disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
61
+ dir = input(null, ...ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []);
62
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
63
+ host = inject(ElementRef);
64
+ focusedValue = signal(null, ...ngDevMode ? [{ debugName: "focusedValue" }] : /* istanbul ignore next */ []);
65
+ registrationVersion = signal(0, ...ngDevMode ? [{ debugName: "registrationVersion" }] : /* istanbul ignore next */ []);
66
+ items = /* @__PURE__ */ new Map();
67
+ resolvedSpacing = computed(() => normalizeSpacing(this.spacing()), ...ngDevMode ? [{ debugName: "resolvedSpacing" }] : /* istanbul ignore next */ []);
68
+ tabStopValue = computed(() => {
69
+ this.registrationVersion();
70
+ const enabledItems = this.enabledItems();
71
+ if (enabledItems.length === 0) return null;
72
+ const current = this.focusedValue();
73
+ if (current && enabledItems.some((item) => item.value() === current)) return current;
74
+ return enabledItems.find((item) => this.isSelected(item.value()))?.value() ?? enabledItems[0].value();
75
+ }, ...ngDevMode ? [{ debugName: "tabStopValue" }] : /* istanbul ignore next */ []);
76
+ classes = computed(() => cn("inline-flex w-fit", this.orientation() === "vertical" ? "flex-col items-stretch" : "items-center", spacingClasses[this.resolvedSpacing()], this.resolvedSpacing() === 0 && connectedItemClasses[this.orientation()], this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
77
+ groupType() {
78
+ return this.type();
79
+ }
80
+ groupOrientation() {
81
+ return this.orientation();
82
+ }
83
+ groupVariant() {
84
+ return this.variant();
85
+ }
86
+ groupSize() {
87
+ return this.size();
88
+ }
89
+ groupDisabled() {
90
+ return this.disabled();
91
+ }
92
+ isRtl() {
93
+ const explicitDir = this.dir();
94
+ if (explicitDir) return explicitDir === "rtl";
95
+ const host = this.host.nativeElement;
96
+ const nearestDir = host.closest("[dir]")?.getAttribute("dir");
97
+ if (nearestDir === "rtl" || nearestDir === "ltr") return nearestDir === "rtl";
98
+ return getComputedStyle(host).direction === "rtl";
99
+ }
100
+ register(element, value, disabled) {
101
+ this.items.set(element, {
102
+ element,
103
+ value,
104
+ disabled
105
+ });
106
+ this.bumpRegistrationVersion();
107
+ }
108
+ unregister(element) {
109
+ this.items.delete(element);
110
+ this.bumpRegistrationVersion();
111
+ }
112
+ isSelected(value) {
113
+ return this.type() === "multiple" ? this.values().includes(value) : this.value() === value;
114
+ }
115
+ toggle(value) {
116
+ const item = this.itemForValue(value);
117
+ if (!item || this.disabled() || item.disabled()) return;
118
+ this.focusedValue.set(value);
119
+ if (this.type() === "multiple") {
120
+ this.values.update((current) => current.includes(value) ? current.filter((itemValue) => itemValue !== value) : [...current, value]);
121
+ return;
122
+ }
123
+ this.value.set(this.value() === value ? null : value);
124
+ }
125
+ tabindexFor(value, disabled) {
126
+ if (this.disabled() || disabled) return -1;
127
+ return this.tabStopValue() === value ? 0 : -1;
128
+ }
129
+ markFocused(value) {
130
+ const item = this.itemForValue(value);
131
+ if (!item || this.disabled() || item.disabled()) return;
132
+ this.focusedValue.set(value);
133
+ }
134
+ focusNext(from, offset) {
135
+ const enabledItems = this.enabledItems();
136
+ const currentIndex = enabledItems.findIndex((item) => item.element === from);
137
+ if (currentIndex < 0 || enabledItems.length === 0) return;
138
+ let nextIndex = currentIndex + offset;
139
+ if (this.loop()) nextIndex = (nextIndex + enabledItems.length) % enabledItems.length;
140
+ else if (nextIndex < 0 || nextIndex >= enabledItems.length) return;
141
+ const next = enabledItems[nextIndex];
142
+ this.focusedValue.set(next.value());
143
+ next.element.focus();
144
+ }
145
+ focusFirst() {
146
+ const first = this.enabledItems()[0];
147
+ if (!first) return;
148
+ this.focusedValue.set(first.value());
149
+ first.element.focus();
150
+ }
151
+ focusLast() {
152
+ const enabledItems = this.enabledItems();
153
+ const last = enabledItems[enabledItems.length - 1];
154
+ if (!last) return;
155
+ this.focusedValue.set(last.value());
156
+ last.element.focus();
157
+ }
158
+ enabledItems() {
159
+ return [...this.items.values()].filter((item) => !item.disabled());
160
+ }
161
+ itemForValue(value) {
162
+ return [...this.items.values()].find((item) => item.value() === value);
163
+ }
164
+ bumpRegistrationVersion() {
165
+ this.registrationVersion.update((version) => version + 1);
166
+ }
167
+ static ɵfac = i0.ɵɵngDeclareFactory({
168
+ minVersion: "12.0.0",
169
+ version: "22.2.3",
170
+ ngImport: i0,
171
+ type: ToggleGroupComponent,
172
+ deps: null,
173
+ target: i0.ɵɵFactoryTarget.Component
174
+ });
175
+ static ɵcmp = i0.ɵɵngDeclareComponent({
176
+ minVersion: "17.1.0",
177
+ version: "22.2.3",
178
+ type: ToggleGroupComponent,
179
+ isStandalone: true,
180
+ selector: "ToggleGroup",
181
+ inputs: {
182
+ type: {
183
+ classPropertyName: "type",
184
+ publicName: "type",
185
+ isSignal: true,
186
+ isRequired: true,
187
+ transformFunction: null
188
+ },
189
+ value: {
190
+ classPropertyName: "value",
191
+ publicName: "value",
192
+ isSignal: true,
193
+ isRequired: false,
194
+ transformFunction: null
195
+ },
196
+ values: {
197
+ classPropertyName: "values",
198
+ publicName: "values",
199
+ isSignal: true,
200
+ isRequired: false,
201
+ transformFunction: null
202
+ },
203
+ orientation: {
204
+ classPropertyName: "orientation",
205
+ publicName: "orientation",
206
+ isSignal: true,
207
+ isRequired: false,
208
+ transformFunction: null
209
+ },
210
+ variant: {
211
+ classPropertyName: "variant",
212
+ publicName: "variant",
213
+ isSignal: true,
214
+ isRequired: false,
215
+ transformFunction: null
216
+ },
217
+ size: {
218
+ classPropertyName: "size",
219
+ publicName: "size",
220
+ isSignal: true,
221
+ isRequired: false,
222
+ transformFunction: null
223
+ },
224
+ spacing: {
225
+ classPropertyName: "spacing",
226
+ publicName: "spacing",
227
+ isSignal: true,
228
+ isRequired: false,
229
+ transformFunction: null
230
+ },
231
+ loop: {
232
+ classPropertyName: "loop",
233
+ publicName: "loop",
234
+ isSignal: true,
235
+ isRequired: false,
236
+ transformFunction: null
237
+ },
238
+ disabled: {
239
+ classPropertyName: "disabled",
240
+ publicName: "disabled",
241
+ isSignal: true,
242
+ isRequired: false,
243
+ transformFunction: null
244
+ },
245
+ dir: {
246
+ classPropertyName: "dir",
247
+ publicName: "dir",
248
+ isSignal: true,
249
+ isRequired: false,
250
+ transformFunction: null
251
+ },
252
+ class: {
253
+ classPropertyName: "class",
254
+ publicName: "class",
255
+ isSignal: true,
256
+ isRequired: false,
257
+ transformFunction: null
258
+ }
259
+ },
260
+ outputs: {
261
+ value: "valueChange",
262
+ values: "valuesChange"
263
+ },
264
+ host: { properties: {
265
+ "class": "classes()",
266
+ "attr.role": "\"group\"",
267
+ "attr.dir": "dir() ?? null",
268
+ "attr.data-disabled": "disabled() ? \"\" : null",
269
+ "attr.data-orientation": "orientation()",
270
+ "attr.data-slot": "\"toggle-group\"",
271
+ "attr.data-type": "type()"
272
+ } },
273
+ providers: [{
274
+ provide: ToggleGroupContextBase,
275
+ useExisting: forwardRef(() => ToggleGroupComponent)
276
+ }],
277
+ usesInheritance: true,
278
+ ngImport: i0,
279
+ template: `<ng-content />`,
280
+ isInline: true
281
+ });
282
+ };
283
+ i0.ɵɵngDeclareClassMetadata({
284
+ minVersion: "12.0.0",
285
+ version: "22.2.3",
286
+ ngImport: i0,
287
+ type: ToggleGroupComponent,
288
+ decorators: [{
289
+ type: Component,
290
+ args: [{
291
+ selector: "ToggleGroup",
292
+ providers: [{
293
+ provide: ToggleGroupContextBase,
294
+ useExisting: forwardRef(() => ToggleGroupComponent)
295
+ }],
296
+ host: {
297
+ "[class]": "classes()",
298
+ "[attr.role]": "\"group\"",
299
+ "[attr.dir]": "dir() ?? null",
300
+ "[attr.data-disabled]": "disabled() ? \"\" : null",
301
+ "[attr.data-orientation]": "orientation()",
302
+ "[attr.data-slot]": "\"toggle-group\"",
303
+ "[attr.data-type]": "type()"
304
+ },
305
+ template: `<ng-content />`
306
+ }]
307
+ }],
308
+ propDecorators: {
309
+ type: [{
310
+ type: i0.Input,
311
+ args: [{
312
+ isSignal: true,
313
+ alias: "type",
314
+ required: true
315
+ }]
316
+ }],
317
+ value: [{
318
+ type: i0.Input,
319
+ args: [{
320
+ isSignal: true,
321
+ alias: "value",
322
+ required: false
323
+ }]
324
+ }, {
325
+ type: i0.Output,
326
+ args: ["valueChange"]
327
+ }],
328
+ values: [{
329
+ type: i0.Input,
330
+ args: [{
331
+ isSignal: true,
332
+ alias: "values",
333
+ required: false
334
+ }]
335
+ }, {
336
+ type: i0.Output,
337
+ args: ["valuesChange"]
338
+ }],
339
+ orientation: [{
340
+ type: i0.Input,
341
+ args: [{
342
+ isSignal: true,
343
+ alias: "orientation",
344
+ required: false
345
+ }]
346
+ }],
347
+ variant: [{
348
+ type: i0.Input,
349
+ args: [{
350
+ isSignal: true,
351
+ alias: "variant",
352
+ required: false
353
+ }]
354
+ }],
355
+ size: [{
356
+ type: i0.Input,
357
+ args: [{
358
+ isSignal: true,
359
+ alias: "size",
360
+ required: false
361
+ }]
362
+ }],
363
+ spacing: [{
364
+ type: i0.Input,
365
+ args: [{
366
+ isSignal: true,
367
+ alias: "spacing",
368
+ required: false
369
+ }]
370
+ }],
371
+ loop: [{
372
+ type: i0.Input,
373
+ args: [{
374
+ isSignal: true,
375
+ alias: "loop",
376
+ required: false
377
+ }]
378
+ }],
379
+ disabled: [{
380
+ type: i0.Input,
381
+ args: [{
382
+ isSignal: true,
383
+ alias: "disabled",
384
+ required: false
385
+ }]
386
+ }],
387
+ dir: [{
388
+ type: i0.Input,
389
+ args: [{
390
+ isSignal: true,
391
+ alias: "dir",
392
+ required: false
393
+ }]
394
+ }],
395
+ class: [{
396
+ type: i0.Input,
397
+ args: [{
398
+ isSignal: true,
399
+ alias: "class",
400
+ required: false
401
+ }]
402
+ }]
403
+ }
404
+ });
405
+ var ToggleGroupItemDirective = class ToggleGroupItemDirective {
406
+ ctx = inject(ToggleGroupContextBase);
407
+ element = inject(ElementRef);
408
+ value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
409
+ disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
410
+ class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
411
+ selected = computed(() => this.ctx.isSelected(this.value()), ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
412
+ classes = computed(() => cn(toggleVariants({
413
+ variant: this.ctx.groupVariant(),
414
+ size: this.ctx.groupSize()
415
+ }), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
416
+ ngOnInit() {
417
+ this.ctx.register(this.element.nativeElement, this.value, this.disabled);
418
+ }
419
+ ngOnDestroy() {
420
+ this.ctx.unregister(this.element.nativeElement);
421
+ }
422
+ isDisabled() {
423
+ return this.ctx.groupDisabled() || this.disabled();
424
+ }
425
+ onClick() {
426
+ if (this.isDisabled()) return;
427
+ this.ctx.toggle(this.value());
428
+ }
429
+ onFocus() {
430
+ if (this.isDisabled()) return;
431
+ this.ctx.markFocused(this.value());
432
+ }
433
+ onArrow(event, offset) {
434
+ event.preventDefault();
435
+ this.ctx.focusNext(this.element.nativeElement, offset);
436
+ }
437
+ onHorizontalArrow(event, offset) {
438
+ event.preventDefault();
439
+ this.ctx.focusNext(this.element.nativeElement, this.ctx.isRtl() ? offset * -1 : offset);
440
+ }
441
+ onHome(event) {
442
+ event.preventDefault();
443
+ this.ctx.focusFirst();
444
+ }
445
+ onEnd(event) {
446
+ event.preventDefault();
447
+ this.ctx.focusLast();
448
+ }
449
+ static ɵfac = i0.ɵɵngDeclareFactory({
450
+ minVersion: "12.0.0",
451
+ version: "22.2.3",
452
+ ngImport: i0,
453
+ type: ToggleGroupItemDirective,
454
+ deps: [],
455
+ target: i0.ɵɵFactoryTarget.Directive
456
+ });
457
+ static ɵdir = i0.ɵɵngDeclareDirective({
458
+ minVersion: "17.1.0",
459
+ version: "22.2.3",
460
+ type: ToggleGroupItemDirective,
461
+ isStandalone: true,
462
+ selector: "button[ToggleGroupItem]",
463
+ inputs: {
464
+ value: {
465
+ classPropertyName: "value",
466
+ publicName: "value",
467
+ isSignal: true,
468
+ isRequired: true,
469
+ transformFunction: null
470
+ },
471
+ disabled: {
472
+ classPropertyName: "disabled",
473
+ publicName: "disabled",
474
+ isSignal: true,
475
+ isRequired: false,
476
+ transformFunction: null
477
+ },
478
+ class: {
479
+ classPropertyName: "class",
480
+ publicName: "class",
481
+ isSignal: true,
482
+ isRequired: false,
483
+ transformFunction: null
484
+ }
485
+ },
486
+ host: {
487
+ attributes: { "type": "button" },
488
+ listeners: {
489
+ "click": "onClick()",
490
+ "focus": "onFocus()",
491
+ "keydown.arrowDown": "onArrow($any($event), 1)",
492
+ "keydown.arrowLeft": "onHorizontalArrow($any($event), -1)",
493
+ "keydown.arrowRight": "onHorizontalArrow($any($event), 1)",
494
+ "keydown.arrowUp": "onArrow($any($event), -1)",
495
+ "keydown.end": "onEnd($any($event))",
496
+ "keydown.home": "onHome($any($event))"
497
+ },
498
+ properties: {
499
+ "class": "classes()",
500
+ "attr.aria-disabled": "isDisabled() ? \"true\" : null",
501
+ "attr.aria-pressed": "selected()",
502
+ "attr.data-disabled": "isDisabled() ? \"\" : null",
503
+ "attr.data-orientation": "ctx.groupOrientation()",
504
+ "attr.data-size": "ctx.groupSize()",
505
+ "attr.data-slot": "\"toggle-group-item\"",
506
+ "attr.data-state": "selected() ? \"on\" : \"off\"",
507
+ "attr.data-variant": "ctx.groupVariant()",
508
+ "attr.tabindex": "ctx.tabindexFor(value(), isDisabled())",
509
+ "disabled": "isDisabled() || null"
510
+ }
511
+ },
512
+ ngImport: i0
513
+ });
514
+ };
515
+ i0.ɵɵngDeclareClassMetadata({
516
+ minVersion: "12.0.0",
517
+ version: "22.2.3",
518
+ ngImport: i0,
519
+ type: ToggleGroupItemDirective,
520
+ decorators: [{
521
+ type: Directive,
522
+ args: [{
523
+ selector: "button[ToggleGroupItem]",
524
+ host: {
525
+ "[class]": "classes()",
526
+ type: "button",
527
+ "[attr.aria-disabled]": "isDisabled() ? \"true\" : null",
528
+ "[attr.aria-pressed]": "selected()",
529
+ "[attr.data-disabled]": "isDisabled() ? \"\" : null",
530
+ "[attr.data-orientation]": "ctx.groupOrientation()",
531
+ "[attr.data-size]": "ctx.groupSize()",
532
+ "[attr.data-slot]": "\"toggle-group-item\"",
533
+ "[attr.data-state]": "selected() ? \"on\" : \"off\"",
534
+ "[attr.data-variant]": "ctx.groupVariant()",
535
+ "[attr.tabindex]": "ctx.tabindexFor(value(), isDisabled())",
536
+ "[disabled]": "isDisabled() || null",
537
+ "(click)": "onClick()",
538
+ "(focus)": "onFocus()",
539
+ "(keydown.arrowDown)": "onArrow($any($event), 1)",
540
+ "(keydown.arrowLeft)": "onHorizontalArrow($any($event), -1)",
541
+ "(keydown.arrowRight)": "onHorizontalArrow($any($event), 1)",
542
+ "(keydown.arrowUp)": "onArrow($any($event), -1)",
543
+ "(keydown.end)": "onEnd($any($event))",
544
+ "(keydown.home)": "onHome($any($event))"
545
+ }
546
+ }]
547
+ }],
548
+ propDecorators: {
549
+ value: [{
550
+ type: i0.Input,
551
+ args: [{
552
+ isSignal: true,
553
+ alias: "value",
554
+ required: true
555
+ }]
556
+ }],
557
+ disabled: [{
558
+ type: i0.Input,
559
+ args: [{
560
+ isSignal: true,
561
+ alias: "disabled",
562
+ required: false
563
+ }]
564
+ }],
565
+ class: [{
566
+ type: i0.Input,
567
+ args: [{
568
+ isSignal: true,
569
+ alias: "class",
570
+ required: false
571
+ }]
572
+ }]
573
+ }
574
+ });
575
+ function normalizeSpacing(value) {
576
+ if (value in spacingClasses) return value;
577
+ return 2;
578
+ }
579
+ export { ToggleGroupComponent, ToggleGroupContextBase, ToggleGroupItemDirective };