@magmonium/one 0.0.9 → 0.0.11

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 (588) hide show
  1. package/assets/README.md +38 -0
  2. package/assets/accordion_groups/small_gap.json +1 -0
  3. package/assets/accordions/fixed_allocation.json +6 -0
  4. package/assets/accordions/general_settings.json +6 -0
  5. package/assets/badges/danger_absolute.json +4 -0
  6. package/assets/badges/danger_static.json +4 -0
  7. package/assets/badges/filter_badge.json +3 -0
  8. package/assets/button_groups/comment_edit_actions.json +9 -0
  9. package/assets/button_groups/date_header.json +8 -0
  10. package/assets/button_groups/form-actions.json +6 -0
  11. package/assets/button_groups/nav_footer_button_group.json +16 -0
  12. package/assets/button_groups/nav_main_button_group.json +22 -0
  13. package/assets/button_groups/nav_user_actions.json +9 -0
  14. package/assets/button_groups/notification_actions.json +15 -0
  15. package/assets/button_groups/notification_filter.json +20 -0
  16. package/assets/button_groups/profile_modal_actions.json +10 -0
  17. package/assets/button_groups/reply_actions.json +9 -0
  18. package/assets/button_groups/showcase_nav.json +7 -0
  19. package/assets/buttons/accordion_chevron.json +4 -0
  20. package/assets/buttons/all.json +4 -0
  21. package/assets/buttons/app_open_arrow.json +7 -0
  22. package/assets/buttons/apps.json +6 -0
  23. package/assets/buttons/back_icon.json +5 -0
  24. package/assets/buttons/cancel_profile.json +5 -0
  25. package/assets/buttons/close-icon-only.json +6 -0
  26. package/assets/buttons/comment_cancel.json +4 -0
  27. package/assets/buttons/comment_hide_replies.json +5 -0
  28. package/assets/buttons/comment_reply.json +5 -0
  29. package/assets/buttons/comment_save.json +5 -0
  30. package/assets/buttons/comment_view_replies.json +5 -0
  31. package/assets/buttons/current_lang.json +5 -0
  32. package/assets/buttons/date_header_back.json +4 -0
  33. package/assets/buttons/date_header_next.json +4 -0
  34. package/assets/buttons/date_header_title.json +3 -0
  35. package/assets/buttons/decline_notification.json +4 -0
  36. package/assets/buttons/edit_profile.json +5 -0
  37. package/assets/buttons/eye.json +5 -0
  38. package/assets/buttons/eye_close.json +5 -0
  39. package/assets/buttons/filter_toggle.json +6 -0
  40. package/assets/buttons/language.json +6 -0
  41. package/assets/buttons/login_icon_only.json +6 -0
  42. package/assets/buttons/logout.json +5 -0
  43. package/assets/buttons/mark_all_read.json +4 -0
  44. package/assets/buttons/menu.json +5 -0
  45. package/assets/buttons/nav_back.json +5 -0
  46. package/assets/buttons/nav_trail_next.json +6 -0
  47. package/assets/buttons/nav_user_logout.json +5 -0
  48. package/assets/buttons/nav_user_settings.json +5 -0
  49. package/assets/buttons/next.json +7 -0
  50. package/assets/buttons/no.json +6 -0
  51. package/assets/buttons/notification.json +6 -0
  52. package/assets/buttons/ok.json +5 -0
  53. package/assets/buttons/okay.json +5 -0
  54. package/assets/buttons/pagination_first.json +4 -0
  55. package/assets/buttons/pagination_last.json +4 -0
  56. package/assets/buttons/pagination_next.json +4 -0
  57. package/assets/buttons/pagination_prev.json +4 -0
  58. package/assets/buttons/post.json +6 -0
  59. package/assets/buttons/remove_allocation.json +5 -0
  60. package/assets/buttons/resend.json +4 -0
  61. package/assets/buttons/reset.json +4 -0
  62. package/assets/buttons/save_allocation.json +5 -0
  63. package/assets/buttons/save_general.json +5 -0
  64. package/assets/buttons/save_profile.json +5 -0
  65. package/assets/buttons/search.json +7 -0
  66. package/assets/buttons/search_clear.json +5 -0
  67. package/assets/buttons/search_toggle.json +6 -0
  68. package/assets/buttons/select_user.json +5 -0
  69. package/assets/buttons/send_comment.json +4 -0
  70. package/assets/buttons/settings.json +7 -0
  71. package/assets/buttons/settings_icon_only.json +6 -0
  72. package/assets/buttons/showcase_back.json +6 -0
  73. package/assets/buttons/showcase_back_to_home.json +6 -0
  74. package/assets/buttons/sign_in.json +5 -0
  75. package/assets/buttons/sort_asc.json +3 -0
  76. package/assets/buttons/sort_desc.json +3 -0
  77. package/assets/buttons/stepper_next.json +6 -0
  78. package/assets/buttons/stepper_prev.json +5 -0
  79. package/assets/buttons/submit.json +8 -0
  80. package/assets/buttons/terms.json +5 -0
  81. package/assets/buttons/theme.json +6 -0
  82. package/assets/buttons/theme_icon_only.json +6 -0
  83. package/assets/buttons/unread.json +4 -0
  84. package/assets/buttons/upload_image.json +4 -0
  85. package/assets/buttons/user.json +6 -0
  86. package/assets/buttons/x.json +5 -0
  87. package/assets/buttons/yes.json +5 -0
  88. package/assets/cards/beautiful.json +4 -0
  89. package/assets/cards/featured.json +5 -0
  90. package/assets/cards/no_border.json +4 -0
  91. package/assets/carousel/sample.json +24 -0
  92. package/assets/charts/default.json +7 -0
  93. package/assets/charts/dual_area.json +7 -0
  94. package/assets/fields/allocation_pct.json +8 -0
  95. package/assets/fields/backgroundColor.json +5 -0
  96. package/assets/fields/bevel.json +4 -0
  97. package/assets/fields/butt.json +4 -0
  98. package/assets/fields/canInteract.json +5 -0
  99. package/assets/fields/comment_edit_textarea.json +6 -0
  100. package/assets/fields/confirm_password.json +4 -0
  101. package/assets/fields/dob.json +4 -0
  102. package/assets/fields/edgeSensitivity.json +7 -0
  103. package/assets/fields/email.json +15 -0
  104. package/assets/fields/female.json +4 -0
  105. package/assets/fields/first_name.json +5 -0
  106. package/assets/fields/identity.json +7 -0
  107. package/assets/fields/invertSvg.json +5 -0
  108. package/assets/fields/last_name.json +5 -0
  109. package/assets/fields/last_name_search.json +7 -0
  110. package/assets/fields/lineColor.json +5 -0
  111. package/assets/fields/lineSmoothing.json +7 -0
  112. package/assets/fields/linecap.json +11 -0
  113. package/assets/fields/linejoin.json +11 -0
  114. package/assets/fields/male.json +4 -0
  115. package/assets/fields/miter.json +4 -0
  116. package/assets/fields/nearestPoint.json +7 -0
  117. package/assets/fields/new_password.json +4 -0
  118. package/assets/fields/noiseReduction.json +7 -0
  119. package/assets/fields/other.json +4 -0
  120. package/assets/fields/otp.json +5 -0
  121. package/assets/fields/password.json +4 -0
  122. package/assets/fields/playground_format.json +17 -0
  123. package/assets/fields/re_password.json +4 -0
  124. package/assets/fields/round.json +4 -0
  125. package/assets/fields/search_input.json +8 -0
  126. package/assets/fields/service_agreement.json +4 -0
  127. package/assets/fields/sex.json +9 -0
  128. package/assets/fields/square.json +4 -0
  129. package/assets/fields/strokeWidth.json +7 -0
  130. package/assets/fields/table_page_size.json +6 -0
  131. package/assets/fields/table_search.json +6 -0
  132. package/assets/fields/threshold.json +7 -0
  133. package/assets/fields/username_email_mobile.json +5 -0
  134. package/assets/forms/allocation_row.json +12 -0
  135. package/assets/forms/check_username.json +7 -0
  136. package/assets/forms/companies_search.json +12 -0
  137. package/assets/forms/contact.json +9 -0
  138. package/assets/forms/create_user.json +21 -0
  139. package/assets/forms/reset_password.json +13 -0
  140. package/assets/forms/select_identity.json +7 -0
  141. package/assets/forms/service_agreement.json +7 -0
  142. package/assets/forms/settings_general.json +18 -0
  143. package/assets/forms/svg_edit.json +25 -0
  144. package/assets/forms/svg_tuning.json +19 -0
  145. package/assets/forms/user_search.json +8 -0
  146. package/assets/forms/verify_otp.json +7 -0
  147. package/assets/forms/verify_password.json +7 -0
  148. package/assets/graphs/animated-graphs.json +8 -0
  149. package/assets/i18n/(Note.json +3 -0
  150. package/assets/i18n/af.json +525 -0
  151. package/assets/i18n/al.json +23 -0
  152. package/assets/i18n/am.json +525 -0
  153. package/assets/i18n/ar.json +525 -0
  154. package/assets/i18n/as.json +525 -0
  155. package/assets/i18n/az.json +525 -0
  156. package/assets/i18n/ba.json +525 -0
  157. package/assets/i18n/be.json +525 -0
  158. package/assets/i18n/bg.json +525 -0
  159. package/assets/i18n/bn.json +525 -0
  160. package/assets/i18n/br.json +525 -0
  161. package/assets/i18n/brx.json +498 -0
  162. package/assets/i18n/bs.json +525 -0
  163. package/assets/i18n/ca.json +525 -0
  164. package/assets/i18n/ceb.json +523 -0
  165. package/assets/i18n/cnr.json +525 -0
  166. package/assets/i18n/co.json +523 -0
  167. package/assets/i18n/country-AF.json +4 -0
  168. package/assets/i18n/country-AL.json +3 -0
  169. package/assets/i18n/country-AM.json +4 -0
  170. package/assets/i18n/country-AO.json +3 -0
  171. package/assets/i18n/country-AR.json +3 -0
  172. package/assets/i18n/country-AZ.json +3 -0
  173. package/assets/i18n/country-BA.json +3 -0
  174. package/assets/i18n/country-BD.json +3 -0
  175. package/assets/i18n/country-BE.json +5 -0
  176. package/assets/i18n/country-BF.json +3 -0
  177. package/assets/i18n/country-BG.json +3 -0
  178. package/assets/i18n/country-BI.json +4 -0
  179. package/assets/i18n/country-BJ.json +4 -0
  180. package/assets/i18n/country-BN.json +4 -0
  181. package/assets/i18n/country-BR.json +3 -0
  182. package/assets/i18n/country-BT.json +4 -0
  183. package/assets/i18n/country-BW.json +4 -0
  184. package/assets/i18n/country-BY.json +3 -0
  185. package/assets/i18n/country-CA.json +4 -0
  186. package/assets/i18n/country-CD.json +5 -0
  187. package/assets/i18n/country-CF.json +4 -0
  188. package/assets/i18n/country-CG.json +3 -0
  189. package/assets/i18n/country-CH.json +6 -0
  190. package/assets/i18n/country-CI.json +3 -0
  191. package/assets/i18n/country-CM.json +4 -0
  192. package/assets/i18n/country-CN.json +3 -0
  193. package/assets/i18n/country-CO.json +3 -0
  194. package/assets/i18n/country-CR.json +3 -0
  195. package/assets/i18n/country-CU.json +3 -0
  196. package/assets/i18n/country-CV.json +3 -0
  197. package/assets/i18n/country-CZ.json +3 -0
  198. package/assets/i18n/country-DE.json +3 -0
  199. package/assets/i18n/country-DJ.json +5 -0
  200. package/assets/i18n/country-DK.json +3 -0
  201. package/assets/i18n/country-DO.json +3 -0
  202. package/assets/i18n/country-DZ.json +5 -0
  203. package/assets/i18n/country-EC.json +4 -0
  204. package/assets/i18n/country-EE.json +3 -0
  205. package/assets/i18n/country-EG.json +3 -0
  206. package/assets/i18n/country-ER.json +5 -0
  207. package/assets/i18n/country-ES.json +6 -0
  208. package/assets/i18n/country-ET.json +5 -0
  209. package/assets/i18n/country-FI.json +3 -0
  210. package/assets/i18n/country-FJ.json +5 -0
  211. package/assets/i18n/country-FR.json +4 -0
  212. package/assets/i18n/country-GA.json +3 -0
  213. package/assets/i18n/country-GB.json +5 -0
  214. package/assets/i18n/country-GE.json +3 -0
  215. package/assets/i18n/country-GH.json +4 -0
  216. package/assets/i18n/country-GM.json +3 -0
  217. package/assets/i18n/country-GN.json +3 -0
  218. package/assets/i18n/country-GQ.json +5 -0
  219. package/assets/i18n/country-GR.json +3 -0
  220. package/assets/i18n/country-GT.json +3 -0
  221. package/assets/i18n/country-GW.json +3 -0
  222. package/assets/i18n/country-GY.json +3 -0
  223. package/assets/i18n/country-HK.json +4 -0
  224. package/assets/i18n/country-HN.json +3 -0
  225. package/assets/i18n/country-HR.json +3 -0
  226. package/assets/i18n/country-HT.json +4 -0
  227. package/assets/i18n/country-HU.json +3 -0
  228. package/assets/i18n/country-ID.json +3 -0
  229. package/assets/i18n/country-IE.json +4 -0
  230. package/assets/i18n/country-IL.json +4 -0
  231. package/assets/i18n/country-IN.json +26 -0
  232. package/assets/i18n/country-IR.json +4 -0
  233. package/assets/i18n/country-IS.json +3 -0
  234. package/assets/i18n/country-IT.json +3 -0
  235. package/assets/i18n/country-JM.json +3 -0
  236. package/assets/i18n/country-JO.json +3 -0
  237. package/assets/i18n/country-JP.json +4 -0
  238. package/assets/i18n/country-KE.json +4 -0
  239. package/assets/i18n/country-KG.json +4 -0
  240. package/assets/i18n/country-KH.json +3 -0
  241. package/assets/i18n/country-KM.json +5 -0
  242. package/assets/i18n/country-KP.json +3 -0
  243. package/assets/i18n/country-KR.json +3 -0
  244. package/assets/i18n/country-KW.json +3 -0
  245. package/assets/i18n/country-KZ.json +4 -0
  246. package/assets/i18n/country-LA.json +3 -0
  247. package/assets/i18n/country-LB.json +4 -0
  248. package/assets/i18n/country-LK.json +5 -0
  249. package/assets/i18n/country-LR.json +3 -0
  250. package/assets/i18n/country-LS.json +4 -0
  251. package/assets/i18n/country-LT.json +4 -0
  252. package/assets/i18n/country-LU.json +5 -0
  253. package/assets/i18n/country-LV.json +4 -0
  254. package/assets/i18n/country-LY.json +3 -0
  255. package/assets/i18n/country-MA.json +5 -0
  256. package/assets/i18n/country-MC.json +3 -0
  257. package/assets/i18n/country-MD.json +4 -0
  258. package/assets/i18n/country-ME.json +3 -0
  259. package/assets/i18n/country-MG.json +4 -0
  260. package/assets/i18n/country-MK.json +3 -0
  261. package/assets/i18n/country-ML.json +4 -0
  262. package/assets/i18n/country-MM.json +3 -0
  263. package/assets/i18n/country-MN.json +3 -0
  264. package/assets/i18n/country-MR.json +4 -0
  265. package/assets/i18n/country-MT.json +4 -0
  266. package/assets/i18n/country-MU.json +5 -0
  267. package/assets/i18n/country-MV.json +3 -0
  268. package/assets/i18n/country-MW.json +4 -0
  269. package/assets/i18n/country-MX.json +3 -0
  270. package/assets/i18n/country-MY.json +6 -0
  271. package/assets/i18n/country-MZ.json +3 -0
  272. package/assets/i18n/country-NA.json +4 -0
  273. package/assets/i18n/country-NC.json +3 -0
  274. package/assets/i18n/country-NE.json +3 -0
  275. package/assets/i18n/country-NG.json +6 -0
  276. package/assets/i18n/country-NI.json +3 -0
  277. package/assets/i18n/country-NL.json +4 -0
  278. package/assets/i18n/country-NO.json +4 -0
  279. package/assets/i18n/country-NP.json +3 -0
  280. package/assets/i18n/country-NZ.json +4 -0
  281. package/assets/i18n/country-OM.json +3 -0
  282. package/assets/i18n/country-PA.json +3 -0
  283. package/assets/i18n/country-PE.json +5 -0
  284. package/assets/i18n/country-PF.json +4 -0
  285. package/assets/i18n/country-PG.json +5 -0
  286. package/assets/i18n/country-PH.json +4 -0
  287. package/assets/i18n/country-PK.json +4 -0
  288. package/assets/i18n/country-PL.json +3 -0
  289. package/assets/i18n/country-PR.json +4 -0
  290. package/assets/i18n/country-PT.json +3 -0
  291. package/assets/i18n/country-PY.json +4 -0
  292. package/assets/i18n/country-QA.json +3 -0
  293. package/assets/i18n/country-RO.json +4 -0
  294. package/assets/i18n/country-RS.json +3 -0
  295. package/assets/i18n/country-RU.json +3 -0
  296. package/assets/i18n/country-RW.json +5 -0
  297. package/assets/i18n/country-SA.json +3 -0
  298. package/assets/i18n/country-SC.json +5 -0
  299. package/assets/i18n/country-SD.json +4 -0
  300. package/assets/i18n/country-SE.json +4 -0
  301. package/assets/i18n/country-SG.json +6 -0
  302. package/assets/i18n/country-SI.json +3 -0
  303. package/assets/i18n/country-SK.json +4 -0
  304. package/assets/i18n/country-SL.json +4 -0
  305. package/assets/i18n/country-SN.json +4 -0
  306. package/assets/i18n/country-SO.json +4 -0
  307. package/assets/i18n/country-SR.json +4 -0
  308. package/assets/i18n/country-SS.json +4 -0
  309. package/assets/i18n/country-SV.json +3 -0
  310. package/assets/i18n/country-SY.json +3 -0
  311. package/assets/i18n/country-TD.json +4 -0
  312. package/assets/i18n/country-TG.json +4 -0
  313. package/assets/i18n/country-TH.json +3 -0
  314. package/assets/i18n/country-TJ.json +4 -0
  315. package/assets/i18n/country-TM.json +4 -0
  316. package/assets/i18n/country-TN.json +4 -0
  317. package/assets/i18n/country-TR.json +3 -0
  318. package/assets/i18n/country-TT.json +4 -0
  319. package/assets/i18n/country-TW.json +4 -0
  320. package/assets/i18n/country-TZ.json +4 -0
  321. package/assets/i18n/country-UA.json +4 -0
  322. package/assets/i18n/country-UG.json +4 -0
  323. package/assets/i18n/country-US.json +3 -0
  324. package/assets/i18n/country-UY.json +3 -0
  325. package/assets/i18n/country-UZ.json +4 -0
  326. package/assets/i18n/country-VA.json +4 -0
  327. package/assets/i18n/country-VE.json +3 -0
  328. package/assets/i18n/country-VN.json +3 -0
  329. package/assets/i18n/country-VU.json +5 -0
  330. package/assets/i18n/country-WS.json +4 -0
  331. package/assets/i18n/country-YE.json +4 -0
  332. package/assets/i18n/country-YT.json +4 -0
  333. package/assets/i18n/country-ZA.json +6 -0
  334. package/assets/i18n/country-ZM.json +4 -0
  335. package/assets/i18n/country-ZW.json +4 -0
  336. package/assets/i18n/cs.json +525 -0
  337. package/assets/i18n/cy.json +525 -0
  338. package/assets/i18n/da.json +524 -0
  339. package/assets/i18n/de.json +525 -0
  340. package/assets/i18n/doi.json +525 -0
  341. package/assets/i18n/el.json +525 -0
  342. package/assets/i18n/en.json +525 -0
  343. package/assets/i18n/eo.json +525 -0
  344. package/assets/i18n/es.json +525 -0
  345. package/assets/i18n/et.json +525 -0
  346. package/assets/i18n/eu.json +525 -0
  347. package/assets/i18n/fa.json +525 -0
  348. package/assets/i18n/fi.json +525 -0
  349. package/assets/i18n/fr.json +524 -0
  350. package/assets/i18n/fy.json +521 -0
  351. package/assets/i18n/ga.json +525 -0
  352. package/assets/i18n/gd.json +525 -0
  353. package/assets/i18n/gl.json +525 -0
  354. package/assets/i18n/gu.json +525 -0
  355. package/assets/i18n/ha.json +524 -0
  356. package/assets/i18n/haw.json +524 -0
  357. package/assets/i18n/he.json +525 -0
  358. package/assets/i18n/hi.json +525 -0
  359. package/assets/i18n/hmn.json +524 -0
  360. package/assets/i18n/hr.json +525 -0
  361. package/assets/i18n/hu.json +525 -0
  362. package/assets/i18n/hy.json +525 -0
  363. package/assets/i18n/id.json +525 -0
  364. package/assets/i18n/ie.json +500 -0
  365. package/assets/i18n/ig.json +525 -0
  366. package/assets/i18n/ilo.json +525 -0
  367. package/assets/i18n/is.json +525 -0
  368. package/assets/i18n/it.json +525 -0
  369. package/assets/i18n/iw.json +525 -0
  370. package/assets/i18n/ja.json +525 -0
  371. package/assets/i18n/jw.json +525 -0
  372. package/assets/i18n/ka.json +525 -0
  373. package/assets/i18n/kk.json +525 -0
  374. package/assets/i18n/km.json +525 -0
  375. package/assets/i18n/kn.json +525 -0
  376. package/assets/i18n/ko.json +525 -0
  377. package/assets/i18n/kok.json +525 -0
  378. package/assets/i18n/ks.json +499 -0
  379. package/assets/i18n/ku.json +525 -0
  380. package/assets/i18n/ky.json +525 -0
  381. package/assets/i18n/la.json +522 -0
  382. package/assets/i18n/lang.json +109 -0
  383. package/assets/i18n/lb.json +524 -0
  384. package/assets/i18n/links.json +6 -0
  385. package/assets/i18n/lo.json +525 -0
  386. package/assets/i18n/lt.json +525 -0
  387. package/assets/i18n/lv.json +525 -0
  388. package/assets/i18n/ma.json +500 -0
  389. package/assets/i18n/mai.json +525 -0
  390. package/assets/i18n/me.json +497 -0
  391. package/assets/i18n/mg.json +522 -0
  392. package/assets/i18n/mi.json +525 -0
  393. package/assets/i18n/mk.json +525 -0
  394. package/assets/i18n/ml.json +525 -0
  395. package/assets/i18n/mn.json +525 -0
  396. package/assets/i18n/mni.json +497 -0
  397. package/assets/i18n/mr.json +525 -0
  398. package/assets/i18n/ms.json +525 -0
  399. package/assets/i18n/mt.json +524 -0
  400. package/assets/i18n/my.json +525 -0
  401. package/assets/i18n/ne.json +525 -0
  402. package/assets/i18n/nl.json +525 -0
  403. package/assets/i18n/no.json +525 -0
  404. package/assets/i18n/ny.json +525 -0
  405. package/assets/i18n/or.json +525 -0
  406. package/assets/i18n/pa.json +525 -0
  407. package/assets/i18n/pl.json +525 -0
  408. package/assets/i18n/ps.json +525 -0
  409. package/assets/i18n/pt.json +525 -0
  410. package/assets/i18n/rm.json +500 -0
  411. package/assets/i18n/ro.json +525 -0
  412. package/assets/i18n/ru.json +525 -0
  413. package/assets/i18n/sa.json +525 -0
  414. package/assets/i18n/sat.json +525 -0
  415. package/assets/i18n/sc.json +500 -0
  416. package/assets/i18n/sd.json +525 -0
  417. package/assets/i18n/si.json +525 -0
  418. package/assets/i18n/sk.json +525 -0
  419. package/assets/i18n/sl.json +524 -0
  420. package/assets/i18n/sm.json +525 -0
  421. package/assets/i18n/sn.json +519 -0
  422. package/assets/i18n/so.json +525 -0
  423. package/assets/i18n/sq.json +525 -0
  424. package/assets/i18n/sr.json +525 -0
  425. package/assets/i18n/st.json +524 -0
  426. package/assets/i18n/su.json +524 -0
  427. package/assets/i18n/sv.json +524 -0
  428. package/assets/i18n/sw.json +525 -0
  429. package/assets/i18n/ta.json +525 -0
  430. package/assets/i18n/te.json +525 -0
  431. package/assets/i18n/tg.json +525 -0
  432. package/assets/i18n/th.json +525 -0
  433. package/assets/i18n/tl.json +524 -0
  434. package/assets/i18n/tr.json +525 -0
  435. package/assets/i18n/uk.json +525 -0
  436. package/assets/i18n/ur.json +525 -0
  437. package/assets/i18n/uz.json +525 -0
  438. package/assets/i18n/vi.json +525 -0
  439. package/assets/i18n/xh.json +525 -0
  440. package/assets/i18n/yi.json +525 -0
  441. package/assets/i18n/yo.json +525 -0
  442. package/assets/i18n/zh.json +525 -0
  443. package/assets/i18n/zu.json +525 -0
  444. package/assets/icons/accordion_chevron.svg +3 -0
  445. package/assets/icons/account_balance_wallet.svg +1 -0
  446. package/assets/icons/activity.svg +3 -0
  447. package/assets/icons/add-image.svg +7 -0
  448. package/assets/icons/adjust.svg +11 -0
  449. package/assets/icons/alert-circle.svg +1 -0
  450. package/assets/icons/analytics.svg +5 -0
  451. package/assets/icons/apps.svg +7 -0
  452. package/assets/icons/arrow-down.svg +4 -0
  453. package/assets/icons/arrow-left-right.svg +3 -0
  454. package/assets/icons/arrow-left.svg +4 -0
  455. package/assets/icons/arrow-right.svg +4 -0
  456. package/assets/icons/arrow-up.svg +4 -0
  457. package/assets/icons/arrow_back.svg +4 -0
  458. package/assets/icons/bell.svg +4 -0
  459. package/assets/icons/books.svg +6 -0
  460. package/assets/icons/calendar-open.svg +4 -0
  461. package/assets/icons/calendar.svg +14 -0
  462. package/assets/icons/camera.svg +4 -0
  463. package/assets/icons/chat.svg +3 -0
  464. package/assets/icons/check.svg +3 -0
  465. package/assets/icons/chevron-down.svg +4 -0
  466. package/assets/icons/chevron-left.svg +3 -0
  467. package/assets/icons/chevron-right.svg +4 -0
  468. package/assets/icons/chevron-up.svg +4 -0
  469. package/assets/icons/chevron_left.svg +3 -0
  470. package/assets/icons/chevrons-down.svg +4 -0
  471. package/assets/icons/chevrons-left.svg +4 -0
  472. package/assets/icons/chevrons-right.svg +5 -0
  473. package/assets/icons/chevrons-up.svg +5 -0
  474. package/assets/icons/clipboard.svg +4 -0
  475. package/assets/icons/code.svg +4 -0
  476. package/assets/icons/coins.svg +7 -0
  477. package/assets/icons/color-picker.svg +4 -0
  478. package/assets/icons/copy.svg +4 -0
  479. package/assets/icons/copyright.svg +4 -0
  480. package/assets/icons/currency_exchange.svg +1 -0
  481. package/assets/icons/dot.svg +3 -0
  482. package/assets/icons/download.svg +5 -0
  483. package/assets/icons/ellipsis-vertical.svg +5 -0
  484. package/assets/icons/exclamation-triangle.svg +5 -0
  485. package/assets/icons/eye.svg +5 -0
  486. package/assets/icons/eye_close.svg +5 -0
  487. package/assets/icons/file-code.svg +6 -0
  488. package/assets/icons/file-data.svg +10 -0
  489. package/assets/icons/file-image.svg +6 -0
  490. package/assets/icons/file-markup.svg +7 -0
  491. package/assets/icons/file-style.svg +5 -0
  492. package/assets/icons/file-text.svg +7 -0
  493. package/assets/icons/fixed.svg +4 -0
  494. package/assets/icons/flower.svg +14 -0
  495. package/assets/icons/folder.svg +3 -0
  496. package/assets/icons/games.svg +6 -0
  497. package/assets/icons/gear.svg +6 -0
  498. package/assets/icons/heart.svg +3 -0
  499. package/assets/icons/heart_filled.svg +3 -0
  500. package/assets/icons/help.svg +5 -0
  501. package/assets/icons/hero.svg +6 -0
  502. package/assets/icons/info.svg +3 -0
  503. package/assets/icons/install.svg +6 -0
  504. package/assets/icons/instrument.svg +5 -0
  505. package/assets/icons/investments.svg +4 -0
  506. package/assets/icons/language.svg +3 -0
  507. package/assets/icons/layers.svg +1 -0
  508. package/assets/icons/layouts.svg +5 -0
  509. package/assets/icons/location.svg +4 -0
  510. package/assets/icons/lock.svg +5 -0
  511. package/assets/icons/logo.svg +10 -0
  512. package/assets/icons/magazines.svg +8 -0
  513. package/assets/icons/mail.svg +1 -0
  514. package/assets/icons/menu.svg +6 -0
  515. package/assets/icons/mic.svg +6 -0
  516. package/assets/icons/minus.svg +3 -0
  517. package/assets/icons/monitor.svg +5 -0
  518. package/assets/icons/more.svg +5 -0
  519. package/assets/icons/notification.svg +5 -0
  520. package/assets/icons/notification_off.svg +6 -0
  521. package/assets/icons/open.svg +6 -0
  522. package/assets/icons/pause.svg +1 -0
  523. package/assets/icons/pencil.svg +3 -0
  524. package/assets/icons/play.svg +3 -0
  525. package/assets/icons/plus.svg +4 -0
  526. package/assets/icons/posts.svg +8 -0
  527. package/assets/icons/reset.svg +4 -0
  528. package/assets/icons/save.svg +5 -0
  529. package/assets/icons/scissors.svg +7 -0
  530. package/assets/icons/search.svg +5 -0
  531. package/assets/icons/section.svg +5 -0
  532. package/assets/icons/security.svg +3 -0
  533. package/assets/icons/settings.svg +4 -0
  534. package/assets/icons/shield.svg +3 -0
  535. package/assets/icons/smartphone.svg +4 -0
  536. package/assets/icons/sort-alpha-asc.svg +8 -0
  537. package/assets/icons/sort-alpha-desc.svg +8 -0
  538. package/assets/icons/square.svg +1 -0
  539. package/assets/icons/star.svg +6 -0
  540. package/assets/icons/store.svg +13 -0
  541. package/assets/icons/strategies.svg +5 -0
  542. package/assets/icons/sun.svg +11 -0
  543. package/assets/icons/svg.json +116 -0
  544. package/assets/icons/tablet.svg +4 -0
  545. package/assets/icons/target.svg +5 -0
  546. package/assets/icons/theme.svg +3 -0
  547. package/assets/icons/trash-2.svg +7 -0
  548. package/assets/icons/trash.svg +5 -0
  549. package/assets/icons/trending-down.svg +4 -0
  550. package/assets/icons/trending-up.svg +4 -0
  551. package/assets/icons/user.svg +5 -0
  552. package/assets/icons/users.svg +6 -0
  553. package/assets/icons/wallet_manager.svg +6 -0
  554. package/assets/icons/wallet_owner.svg +6 -0
  555. package/assets/icons/wallet_shareholder.svg +7 -0
  556. package/assets/icons/wifi.svg +6 -0
  557. package/assets/icons/x.svg +4 -0
  558. package/assets/icons/zap.svg +3 -0
  559. package/assets/index.json +1 -0
  560. package/assets/login/illustration.png +0 -0
  561. package/assets/menu/comment_actions.json +20 -0
  562. package/assets/menu/user_header.json +27 -0
  563. package/assets/modal/authenticate.json +8 -0
  564. package/assets/modal/bottom.json +5 -0
  565. package/assets/modal/center.json +5 -0
  566. package/assets/modal/fullscreen.json +4 -0
  567. package/assets/options/countries.json +1249 -0
  568. package/assets/options/language_options.json +514 -0
  569. package/assets/options/sample-options.json +20 -0
  570. package/assets/pagination/default.json +5 -0
  571. package/assets/settings/user.json +39 -0
  572. package/assets/sort/default.json +6 -0
  573. package/assets/theme/dark.json +64 -0
  574. package/assets/theme/default.json +62 -0
  575. package/assets/theme/light.json +64 -0
  576. package/assets/theme/theme.json +19 -0
  577. package/fesm2022/{magmonium-one-magmonium-one-Bsmruvcx.mjs → magmonium-one-magmonium-one-8HzitX0z.mjs} +213 -15
  578. package/fesm2022/magmonium-one-magmonium-one-8HzitX0z.mjs.map +1 -0
  579. package/fesm2022/{magmonium-one-otp-C-nsAtsR.mjs → magmonium-one-otp-DetrBKAU.mjs} +2 -2
  580. package/fesm2022/{magmonium-one-otp-C-nsAtsR.mjs.map → magmonium-one-otp-DetrBKAU.mjs.map} +1 -1
  581. package/fesm2022/{magmonium-one-password-6C8utHLm.mjs → magmonium-one-password-GsYbtXWv.mjs} +2 -2
  582. package/fesm2022/{magmonium-one-password-6C8utHLm.mjs.map → magmonium-one-password-GsYbtXWv.mjs.map} +1 -1
  583. package/fesm2022/{magmonium-one-toggle-w2R0ZIGV.mjs → magmonium-one-toggle-OQMCej2l.mjs} +2 -2
  584. package/fesm2022/{magmonium-one-toggle-w2R0ZIGV.mjs.map → magmonium-one-toggle-OQMCej2l.mjs.map} +1 -1
  585. package/fesm2022/magmonium-one.mjs +1 -1
  586. package/package.json +2 -2
  587. package/types/magmonium-one.d.ts +23 -3
  588. package/fesm2022/magmonium-one-magmonium-one-Bsmruvcx.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { signal, viewChildren, computed, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent } from './magmonium-one-magmonium-one-Bsmruvcx.mjs';
3
+ import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent } from './magmonium-one-magmonium-one-8HzitX0z.mjs';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
6
6
  class OtpInputComponent extends BaseTextInputComponent {
@@ -168,4 +168,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
168
168
  }], ctorParameters: () => [], propDecorators: { otpInputs: [{ type: i0.ViewChildren, args: ['otpInput', { isSignal: true }] }] } });
169
169
 
170
170
  export { OtpInputComponent };
171
- //# sourceMappingURL=magmonium-one-otp-C-nsAtsR.mjs.map
171
+ //# sourceMappingURL=magmonium-one-otp-DetrBKAU.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-otp-C-nsAtsR.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n signal,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, ErrorsComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n effect(() => {\n const inputs = this.otpInputs();\n if (inputs.length > 0) {\n setTimeout(() => {\n inputs[0].nativeElement.focus();\n }, 0);\n }\n });\n }\n\n onInput(event: Event, index: number): void {\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n }\n\n onKeyDown(event: KeyboardEvent, index: number): void {\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n }\n\n onPaste(event: ClipboardEvent): void {\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n }\n\n private focusInput(index: number): void {\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AAkDM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,MAAM,EAAc,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AACxE,IAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B,IAAA,CAAC,+EAAC;AAEF,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QACP,MAAM,CAAC,MAAK;YACV,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;AAC5C,YAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAA,CAAC,CAAC;QACF,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE;AAC/B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otp-DetrBKAU.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n signal,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, ErrorsComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n effect(() => {\n const inputs = this.otpInputs();\n if (inputs.length > 0) {\n setTimeout(() => {\n inputs[0].nativeElement.focus();\n }, 0);\n }\n });\n }\n\n onInput(event: Event, index: number): void {\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n }\n\n onKeyDown(event: KeyboardEvent, index: number): void {\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n }\n\n onPaste(event: ClipboardEvent): void {\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n }\n\n private focusInput(index: number): void {\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";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AAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAES,cAAc,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,aAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAG5C,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAnC7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAAA,QAAA,EACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BT,EAAA,OAAA,EAEQ,CAAC,cAAc,EAAE,eAAe,EAAE,YAAY,CAAC,EAAA,eAAA,EACvC,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,s8BAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent, b as ButtonComponent } from './magmonium-one-magmonium-one-Bsmruvcx.mjs';
3
+ import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent, b as ButtonComponent } from './magmonium-one-magmonium-one-8HzitX0z.mjs';
4
4
 
5
5
  class PasswordInputComponent extends BaseTextInputComponent {
6
6
  isPassword = signal(true, ...(ngDevMode ? [{ debugName: "isPassword" }] : /* istanbul ignore next */ []));
@@ -84,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
84
84
  }] });
85
85
 
86
86
  export { PasswordInputComponent };
87
- //# sourceMappingURL=magmonium-one-password-6C8utHLm.mjs.map
87
+ //# sourceMappingURL=magmonium-one-password-GsYbtXWv.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-password-6C8utHLm.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/password.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n signal,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { ButtonComponent } from '../../../button/ui/button';\n\n@Component({\n selector: 'm-password-input',\n template: `\n @if (config(); as text) {\n <m-label\n [for]=\"text.name\"\n [placeholder]=\"text.label\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"input-wrapper\">\n <input\n [id]=\"text.name ?? ''\"\n [value]=\"value()\"\n #inputElement\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false); touched.set(true)\"\n [type]=\"type()\"\n />\n <m-one-button\n [disabled]=\"disabled()\"\n [name]=\"button()\"\n [color]=\"iconColor()\"\n (clicked)=\"toggleType()\"\n />\n </div>\n @if (showErrors()) {\n <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n imports: [LabelComponent, ErrorsComponent, ButtonComponent],\n styleUrl: './password.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordInputComponent extends BaseTextInputComponent {\n isPassword = signal<boolean>(true);\n type = computed(() => (this.isPassword() ? 'password' : 'text'));\n button = computed(() => (!this.isPassword() ? 'eye' : 'eye_close'));\n\n protected toggleType() {\n this.isPassword.update((now) => !now);\n }\n\n protected onInput(event: Event): void {\n const target = event.target as HT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/input/ui/text/password.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n signal,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { ButtonComponent } from '../../../button/ui/button';\n\n@Component({\n selector: 'm-password-input',\n template: `\n @if (config(); as text) {\n <m-label\n [for]=\"text.name\"\n [placeholder]=\"text.label\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"input-wrapper\">\n <input\n [id]=\"text.name ?? ''\"\n [value]=\"value()\"\n #inputElement\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n (input)=\"onInput($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false); touched.set(true)\"\n [type]=\"type()\"\n />\n <m-one-button\n [disabled]=\"disabled()\"\n [name]=\"button()\"\n [color]=\"iconColor()\"\n (clicked)=\"toggleType()\"\n />\n </div>\n @if (showErrors()) {\n <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n imports: [LabelComponent, ErrorsComponent, ButtonComponent],\n styleUrl: './password.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordInputComponent extends BaseTextInputComponent {\n isPassword = signal<boolean>(true);\n type = computed(() => (this.isPassword() ? 'password' : 'text'));\n button = computed(() => (!this.isPassword() ? 'eye' : 'eye_close'));\n\n protected toggleType() {\n this.isPassword.update((now) => !now);\n }\n\n protected onInput(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.setValue(target?.value ?? '');\n }\n}\n"],"names":[],"mappings":";;;;AAiDM,MAAO,sBAAuB,SAAQ,sBAAsB,CAAA;AAChE,IAAA,UAAU,GAAG,MAAM,CAAU,IAAI,iFAAC;IAClC,IAAI,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,UAAU,EAAE,GAAG,UAAU,GAAG,MAAM,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,M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EAAA,MAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,YAAA,EAAA,WAAA,EAAA,KAAA,EAAA,WAAA,EAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,MAAA,EAAA,SAAA,EAAA,KAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,MAAA,EAAA,aAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,cAAA,EAAA,UAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAI/C,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAtClC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,QAAA,EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BT,EAAA,OAAA,EACQ,CAAC,cAAc,EAAE,eAAe,EAAE,eAAe,CAAC,EAAA,eAAA,EAE1C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+xFAAA,CAAA,EAAA;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { model, input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { B as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-Bsmruvcx.mjs';
3
+ import { B as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-8HzitX0z.mjs';
4
4
 
5
5
  class ToggleInputComponent extends BaseInputComponent {
6
6
  value = undefined;
@@ -59,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
59
59
  }], ctorParameters: () => [], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], focused: [{ type: i0.Input, args: [{ isSignal: true, alias: "focused", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }] } });
60
60
 
61
61
  export { ToggleInputComponent };
62
- //# sourceMappingURL=magmonium-one-toggle-w2R0ZIGV.mjs.map
62
+ //# sourceMappingURL=magmonium-one-toggle-OQMCej2l.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-toggle-w2R0ZIGV.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/toggle/toggle.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n ModelSignal,\n} from '@angular/core';\nimport { ToggleInput } from '../../model/input';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport {\n FormCheckboxControl,\n ValidationError,\n WithOptionalField,\n} from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\n\n@Component({\n selector: 'm-toggle-input',\n template: `\n @if (config(); as toggle) {\n <div class=\"toggle\">\n <input\n [id]=\"toggle.name ?? ''\"\n [checked]=\"checked()\"\n (change)=\"onChange($event)\"\n type=\"checkbox\"\n />\n <label [attr.for]=\"toggle.name || null\">{{\n toggle.label | translate\n }}</label>\n </div>\n }\n `,\n imports: [TranslatePipe],\n styleUrl: './toggle.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleInputComponent\n extends BaseInputComponent<ToggleInput>\n implements FormCheckboxControl\n{\n public value = undefined;\n public checked = model<boolean>(false) as ModelSignal<boolean>;\n public override config = input<Partial<ToggleInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalField<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n /** Required by FormCheckboxControl interface */\n // public readonly checked: ModelSignal<boolean> = this.value; // Already defined above\n\n constructor() {\n super();\n }\n\n protected onChange(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.checked.set(target?.checked ?? false);\n }\n}\n"],"names":[],"mappings":";;;;AAsCM,MAAO,oBACX,SAAQ,kBAA+B,CAAA;IAGhC,KAAK,GAAG,SAAS;AACjB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,CAAyB;IAC9C,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAoC;AAClD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,MAAM,GAAG,KAAK,CAC5B,EAAE,6EACH;AACe,IAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,iFAAC;;;AAK7E,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;IACT;AAEU,IAAA,QAAQ,CAAC,KAAY,EAAA;AAC7B,QAAA,MAAM,MAAM,GAA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EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,eAAA,EAAA,OAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAnBrB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,82GAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EACS,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAIZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,OAAA,EACQ,CAAC,aAAa,CAAC,EAAA,eAAA,EAEP,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,82GAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"magmonium-one-toggle-OQMCej2l.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/toggle/toggle.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n ModelSignal,\n} from '@angular/core';\nimport { ToggleInput } from '../../model/input';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport {\n FormCheckboxControl,\n ValidationError,\n WithOptionalField,\n} from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\n\n@Component({\n selector: 'm-toggle-input',\n template: `\n @if (config(); as toggle) {\n <div class=\"toggle\">\n <input\n [id]=\"toggle.name ?? ''\"\n [checked]=\"checked()\"\n (change)=\"onChange($event)\"\n type=\"checkbox\"\n />\n <label [attr.for]=\"toggle.name || null\">{{\n toggle.label | translate\n }}</label>\n </div>\n }\n `,\n imports: [TranslatePipe],\n styleUrl: './toggle.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleInputComponent\n extends BaseInputComponent<ToggleInput>\n implements FormCheckboxControl\n{\n public value = undefined;\n public checked = model<boolean>(false) as ModelSignal<boolean>;\n public override config = input<Partial<ToggleInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalField<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n /** Required by FormCheckboxControl interface */\n // public readonly checked: ModelSignal<boolean> = this.value; // Already defined above\n\n constructor() {\n super();\n }\n\n protected onChange(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.checked.set(target?.checked ?? false);\n }\n}\n"],"names":[],"mappings":";;;;AAsCM,MAAO,oBACX,SAAQ,kBAA+B,CAAA;IAGhC,KAAK,GAAG,SAAS;AACjB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,CAAyB;IAC9C,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAoC;AAClD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAA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AAA,CAAA;kBArBhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,OAAA,EACQ,CAAC,aAAa,CAAC,EAAA,eAAA,EAEP,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,82GAAA,CAAA,EAAA;;;;;"}
@@ -1,2 +1,2 @@
1
- export { A as ACCESS_DOMAINS, c as APP_CONTEXT_REF, d as ASSET_BASE_URL, e as AccordionBodyDirective, f as AccordionComponent, g as AccordionGroupComponent, h as ActionComponent, i as AnimatedGraphsComponent, j as AppCardComponent, k as AppRelationType, l as AppTileComponent, m as AssetStore, n as AssetUrlPipe, o as Assets, p as AutosizeDirective, q as BadgeComponent, r as BandingComponent, s as BaseArrayInputComponent, t as BaseRootWebComponent, u as BaseWebComponent, b as ButtonComponent, v as ButtonGroupComponent, C as COLOR_SCHEMES, w as COMPONENT_INPUT_REGISTRY, x as CardComponent, y as CardWrapperComponent, z as CarouselComponent, D as ChartComponent, F as CheckboxInputComponent, G as ClearableInputComponent, H as ColComponent, I as ColorPickerInputComponent, J as CommentItemComponent, K as CommentsApiService, M as CommentsComponent, N as CommentsStore, O as ComponentInputComponent, P as ComponentStepperComponent, Q as ConfigComponent, R as ConfirmComponent, S as ContextMenuComponent, U as CustomIconClass, V as CustomIconEditComponent, W as DEFAULT_SIZE, X as DashboardCardComponent, Y as DateInputComponent, Z as DatePickerComponent, _ as DeviceService, $ as DomService, a0 as Domain, a1 as DotGridComponent, a2 as DragListDirective, a3 as DragListItemDirective, a4 as DraggableDirective, a5 as DropdownInputComponent, a6 as FLEX_VARIANTS, a7 as FOLDER_PICK_LISTENER, a8 as FORM_ASSET_FOLDER, a9 as FileService, aa as FileUploadDirective, ab as FileUploadInputComponent, ac as FlexComponent, ad as FlexItemComponent, ae as FormGroupComponent, af as FrameComponent, ag as FreezeService, ah as GEN_NAV_DISPLAY_ORDER, ai as GRID_BREAKPOINTS, aj as GetNavService, ak as HeaderComponent, al as HighlightDirective, am as HttpService, an as ICON_SOURCE, ao as IS_DESIGN_MODE, ap as IS_SIDE_PANEL, aq as IconComponent, ar as ImgComponent, as as InputType, at as InstrumentScoreComponent, au as InterceptorObservables, av as JumbotronComponent, aw as KeyValueComponent, ax as LAYOUT_ASSET_FOLDER, ay as LOGIN_COMPONENT, az as LOGIN_FORM_GROUP, aA as LOGIN_PROCESS, aB as LOGIN_STORE, aC as LanguageComponent, aD as LoginDataService, aE as LoginOneComponent, aF as LoginStore, aG as LogoComponent, aH as MAG_SOCKET_EVENT, aI as MHeroColorDirective, aJ as MHeroComponent, aK as MODAL_REF, aL as MODAL_STORE_REF, aM as MRefDirective, aN as MStepComponent, aO as MURL_PARAM, aP as MURL_SEP, aQ as ManifestEnrichmentService, aR as MenuComponent, aS as ModalDirective, aT as ModalRef, aU as ModalStore, aV as MoneyPipe, aW as MultiRangeInputComponent, aX as MurlUrlSerializer, aY as NAV_DEFAULT_MURL, aZ as NAV_DISPLAY_ORDER, a_ as NAV_ID_SEP, a$ as NAV_MAIN_BUTTONS, b0 as NAV_SEGMENT_RE, b1 as NAV_STORE_REF, b2 as NAV_WC_COMPONENTS, b3 as NAV_WIDGET_MAP, b4 as NavComponent, b5 as NavDetailsComponent, b6 as NavMenuComponent, b7 as NavStore, b8 as NavTrailComponent, b9 as NothingComponent, ba as NotificationElementComponent, bb as NotificationGroupComponent, bc as NotificationPopupComponent, bd as NotificationService, be as NotificationStore, bf as NotificationType, bg as NotificationWidgetComponent, bh as ONE_ASSET_BASE_URL, bi as OPTIONS_SOURCE, bj as OneApp, bk as OptionsSourceDirective, bl as OverlayBodyComponent, bm as OverlayRef, bn as OverlayService, bo as PLATFORM_BUTTON_NAV_IDS, bp as PLATFORM_EXTENSIBLE_NAV_IDS, bq as PLATFORM_NAV_MAP, br as PLATFORM_ROOT_CHILDREN, bs as PaginationComponent, bt as PanelComponent, bu as PlaygroundComponent, bv as PositionDirective, bw as PwaInstallComponent, bx as ROOT_NAV, by as RadioGroupComponent, bz as RadioInputComponent, bA as RangeInputComponent, bB as RatingInputComponent, bC as ReactiveElementComponent, bD as RemoteComponent, bE as RemoteLoaderService, bF as ResizeElementComponent, bG as RouteContainer, bH as RowComponent, bI as SEARCH_QUERY, bJ as SEARCH_RESULTS_EVENT, bK as SECTION_ACCORDION_GROUP, bL as SECTION_FORM_CONTEXT, bM as SHARED_ICONS, bN as SIZE_CONTEXT, bO as ScoreComponent, bP as ScrollComponent, bQ as ScrollService, bR as SearchPanelComponent, bS as SearchStore, bT as SearchUserPanelComponent, bU as SectionAccordionDirective, bV as SectionAccordionGroupDirective, bW as SectionBackComponent, bX as SectionBadgesComponent, bY as SectionButtonGroupComponent, bZ as SectionCardComponent, b_ as SectionComponent, b$ as SectionFilterComponent, c0 as SectionFooterComponent, c1 as SectionFormComponent, c2 as SectionFormItemComponent, c3 as SectionHeaderComponent, c4 as SectionSearchComponent, c5 as SectionStepperComponent, c6 as SectionTabsComponent, c7 as SectionToggleComponent, c8 as SectionToggleItemDirective, c9 as SelectableCardInputComponent, ca as SelectorDirective, cb as SettingsSearchBarComponent, cc as SettingsSearchService, cd as Sex, ce as ShapeComponent, cf as SharedStoreRegistry, cg as SidePanelDirective, ch as Size, ci as SocketStore, cj as SortComponent, ck as StepComponent, cl as StepperComponent, cm as StepsComponent, cn as StorageService, co as StrokeLinecap, cp as StrokeLinejoin, cq as SummaryComponent, cr as SvgGeneratorComponent, cs as SvgGeneratorService, ct as SvgService, cu as TOTAL_COLUMNS, cv as TRANSLATION_SOURCE, cw as TableComponent, cx as TechnicalMeterComponent, cy as TextInputComponent, cz as TextOutputComponent, cA as TextareaInputComponent, cB as ThemeComponent, cC as ThemeService, cD as ThemeStore, cE as TimeAgoPipe, cF as TimelineComponent, cG as ToggleButtonComponent, cH as ToggleInputComponent, cI as ToggleRadioInputComponent, cJ as ToolTipDirective, cK as TooltipComponent, T as TranslatePipe, cL as TranslateService, cM as TreeGridComponent, cN as URL_SEP, cO as USER_STORE_REF, cP as USER_TAB_MAP, cQ as UlComponent, cR as UniverseComponent, cS as UserApiService, cT as UserAvatarComponent, cU as UserComponent, cV as UserNavComponent, cW as UserSettingsComponent, cX as UserStore, cY as WC_ROUTE_CHANGED_EVENT, cZ as WC_SEARCH_GROUPS, c_ as WIN_USER_TAB_HOOK, c$ as WIN_USER_TAB_KEY, d0 as WatermarkComponent, d1 as WcRouterStore, d2 as WrapperInputComponent, d3 as anchorNavId, d4 as applyColorsToElement, d5 as authGuard, d6 as bootstrapMagApp, d7 as bootstrapPwaInstall, d8 as buildWcBaseUrl, d9 as calculateLuminance, da as calculateRanks, db as cellText, dc as checkFilterCondition, dd as childNavId, de as classListSignal, df as createMap, dg as createPlatformNavMap, dh as deriveAvatarGradient, di as deriveContrastColor, dj as deriveOppositeColor, dk as derivePropertyName, dl as emailValidation, dm as evaluate, dn as evaluateBool, dp as flattenTreeGridRows, dq as formatBadgeCount, dr as fullName, ds as generateClipPath, dt as generateTransform, du as getClassList, dv as getProperty, dw as getScrollParent, dx as getTierFromPreviewPath, dy as getTreeGridRow, dz as getUniqueId, dA as getValue, dB as hasErrorComputed, dC as hexToRgb, dD as hslToRgb, dE as initMagmoniumApp, dF as initialNotificationState, dG as initials, dH as injectAuthenticate, dI as injectInstallApp, dJ as injectParentSize, dK as injectScrollSticky, dL as isButtonName, dM as isCancelledComputed, dN as isExtensiblePlatformNavId, dO as isJson, dP as isLoadingComputed, dQ as isLocalhost, dR as isPlatformNavId, dS as isSize, dT as isTierPreview, dU as isUrlLocalhost, dV as isValidNavId, dW as isValidNavSegment, dX as isWebComponent, dY as linkToId, dZ as linkToNav, d_ as loadingActions, d$ as loginState, e0 as mInterceptor, e1 as manualValidation, e2 as matchFieldValidation, e3 as maxLengthValidation, e4 as maxValidation, e5 as mergePlatformNav, e6 as mergeUnique, e7 as mergeUniqueBy, e8 as mergeUniqueWith, e9 as minAgeValidation, ea as minLengthValidation, eb as minValidation, ec as miniMarkToHtml, ed as navIdChain, ee as navIdFor, ef as navIdSegment, eg as navIdToRoutePath, eh as navIdToSegments, ei as navToId, ej as parentNavId, ek as parseAddress, el as parseColor, em as patternValidation, en as platformNavWidgets, eo as privateGuard, ep as processImageToSvg, eq as provideAppContext, er as provideMagAppConfig, es as provideMagWcConfig, et as provideMagWcRoutes, eu as provideModalComponents, ev as provideMurlUrlSerializer, ew as provideNavWidgets, ex as providePlatformNavWidgets, ey as provideSearch, ez as provideSizeContext, eA as provideUserTabs, eB as publicGuard, eC as renderAddress, eD as requiredValidation, eE as resolveConfigAsset, eF as resolvePallet, eG as resolveSize, eH as rgbToHex, eI as rgbToHsl, eJ as rowHasChildren, eK as segmentsToNavId, eL as setProperty, eM as setTreeGridChildren, eN as settingsWidgets, eO as shouldShowBadge, eP as splitNavId, eQ as stringToColor, eR as toAttrBool, eS as toAttrNumber, eT as toCssLength, eU as toHostNavId, eV as toLength, eW as toLocalNavId, eX as toggleTreeGridRow, eY as unfetchedPlatformNav, eZ as urlValidation } from './magmonium-one-magmonium-one-Bsmruvcx.mjs';
1
+ export { A as ACCESS_DOMAINS, c as APP_CONTEXT_REF, d as ASSET_BASE_URL, e as AccordionBodyDirective, f as AccordionComponent, g as AccordionGroupComponent, h as ActionComponent, i as AnimatedGraphsComponent, j as AppCardComponent, k as AppRelationType, l as AppTileComponent, m as AssetStore, n as AssetUrlPipe, o as Assets, p as AutosizeDirective, q as BadgeComponent, r as BandingComponent, s as BaseArrayInputComponent, t as BaseRootWebComponent, u as BaseWebComponent, b as ButtonComponent, v as ButtonGroupComponent, C as COLOR_SCHEMES, w as COMPONENT_INPUT_REGISTRY, x as CardComponent, y as CardWrapperComponent, z as CarouselComponent, D as ChartComponent, F as CheckboxInputComponent, G as ClearableInputComponent, H as ColComponent, I as ColorPickerInputComponent, J as CommentItemComponent, K as CommentsApiService, M as CommentsComponent, N as CommentsStore, O as ComponentInputComponent, P as ComponentStepperComponent, Q as ConfigComponent, R as ConfirmComponent, S as ContextMenuComponent, U as CustomIconClass, V as CustomIconEditComponent, W as DEFAULT_SIZE, X as DashboardCardComponent, Y as DateInputComponent, Z as DatePickerComponent, _ as DeviceService, $ as DomService, a0 as Domain, a1 as DotGridComponent, a2 as DragListDirective, a3 as DragListItemDirective, a4 as DraggableDirective, a5 as DropdownInputComponent, a6 as FLEX_VARIANTS, a7 as FOLDER_PICK_LISTENER, a8 as FORM_ASSET_FOLDER, a9 as FileService, aa as FileUploadDirective, ab as FileUploadInputComponent, ac as FlexComponent, ad as FlexItemComponent, ae as FormGroupComponent, af as FrameComponent, ag as FreezeService, ah as GEN_NAV_DISPLAY_ORDER, ai as GRID_BREAKPOINTS, aj as GetNavService, ak as HeaderComponent, al as HighlightDirective, am as HttpService, an as ICON_SOURCE, ao as IS_DESIGN_MODE, ap as IS_SIDE_PANEL, aq as IconComponent, ar as ImgComponent, as as InputType, at as InstrumentScoreComponent, au as InterceptorObservables, av as JumbotronComponent, aw as KeyValueComponent, ax as LAYOUT_ASSET_FOLDER, ay as LOGIN_COMPONENT, az as LOGIN_FORM_GROUP, aA as LOGIN_PROCESS, aB as LOGIN_STORE, aC as LanguageComponent, aD as LoginDataService, aE as LoginOneComponent, aF as LoginStore, aG as LogoComponent, aH as MAG_SOCKET_EVENT, aI as MHeroColorDirective, aJ as MHeroComponent, aK as MODAL_REF, aL as MODAL_STORE_REF, aM as MRefDirective, aN as MStepComponent, aO as MURL_PARAM, aP as MURL_SEP, aQ as ManifestEnrichmentService, aR as MenuComponent, aS as ModalDirective, aT as ModalRef, aU as ModalStore, aV as MoneyPipe, aW as MultiRangeInputComponent, aX as MurlUrlSerializer, aY as NAV_DEFAULT_MURL, aZ as NAV_DISPLAY_ORDER, a_ as NAV_ID_SEP, a$ as NAV_MAIN_BUTTONS, b0 as NAV_SEGMENT_RE, b1 as NAV_STORE_REF, b2 as NAV_WC_COMPONENTS, b3 as NAV_WIDGET_MAP, b4 as NavComponent, b5 as NavDetailsComponent, b6 as NavMenuComponent, b7 as NavStore, b8 as NavTrailComponent, b9 as NothingComponent, ba as NotificationElementComponent, bb as NotificationGroupComponent, bc as NotificationPopupComponent, bd as NotificationService, be as NotificationStore, bf as NotificationType, bg as NotificationWidgetComponent, bh as ONE_ASSET_BASE_URL, bi as OPTIONS_SOURCE, bj as OneApp, bk as OptionsSourceDirective, bl as OverlayBodyComponent, bm as OverlayRef, bn as OverlayService, bo as PLATFORM_BUTTON_NAV_IDS, bp as PLATFORM_EXTENSIBLE_NAV_IDS, bq as PLATFORM_NAV_MAP, br as PLATFORM_ROOT_CHILDREN, bs as PaginationComponent, bt as PanelComponent, bu as PlaygroundComponent, bv as PositionDirective, bw as PwaInstallComponent, bx as ROOT_NAV, by as RadioGroupComponent, bz as RadioInputComponent, bA as RangeInputComponent, bB as RatingInputComponent, bC as ReactiveElementComponent, bD as RemoteComponent, bE as RemoteLoaderService, bF as ResizeElementComponent, bG as RouteContainer, bH as RowComponent, bI as SEARCH_QUERY, bJ as SEARCH_RESULTS_EVENT, bK as SECTION_ACCORDION_GROUP, bL as SECTION_FORM_CONTEXT, bM as SHARED_ICONS, bN as SIZE_CONTEXT, bO as ScoreComponent, bP as ScrollComponent, bQ as ScrollService, bR as SearchPanelComponent, bS as SearchStore, bT as SearchUserPanelComponent, bU as SectionAccordionDirective, bV as SectionAccordionGroupDirective, bW as SectionBackComponent, bX as SectionBadgesComponent, bY as SectionButtonGroupComponent, bZ as SectionCardComponent, b_ as SectionComponent, b$ as SectionFilterComponent, c0 as SectionFooterComponent, c1 as SectionFormComponent, c2 as SectionFormItemComponent, c3 as SectionHeaderComponent, c4 as SectionSearchComponent, c5 as SectionStepperComponent, c6 as SectionTabsComponent, c7 as SectionToggleComponent, c8 as SectionToggleItemDirective, c9 as SelectableCardInputComponent, ca as SelectorDirective, cb as SettingsSearchBarComponent, cc as SettingsSearchService, cd as Sex, ce as ShapeComponent, cf as SharedStoreRegistry, cg as SidePanelDirective, ch as Size, ci as SocketStore, cj as SortComponent, ck as StepComponent, cl as StepperComponent, cm as StepsComponent, cn as StorageService, co as StrokeLinecap, cp as StrokeLinejoin, cq as SummaryComponent, cr as SvgGeneratorComponent, cs as SvgGeneratorService, ct as SvgService, cu as TOTAL_COLUMNS, cv as TRANSLATION_SOURCE, cw as TableComponent, cx as TechnicalMeterComponent, cy as TextInputComponent, cz as TextOutputComponent, cA as TextareaInputComponent, cB as ThemeComponent, cC as ThemeService, cD as ThemeStore, cE as TimeAgoPipe, cF as TimelineComponent, cG as ToggleButtonComponent, cH as ToggleInputComponent, cI as ToggleRadioInputComponent, cJ as ToolTipDirective, cK as TooltipComponent, T as TranslatePipe, cL as TranslateService, cM as TreeGridComponent, cN as URL_SEP, cO as USER_STORE_REF, cP as USER_TAB_MAP, cQ as UlComponent, cR as UniverseComponent, cS as UserApiService, cT as UserAvatarComponent, cU as UserComponent, cV as UserNavComponent, cW as UserSettingsComponent, cX as UserStore, cY as WC_ROUTE_CHANGED_EVENT, cZ as WC_SEARCH_GROUPS, c_ as WIN_USER_TAB_HOOK, c$ as WIN_USER_TAB_KEY, d0 as WatermarkComponent, d1 as WcRouterStore, d2 as WrapperInputComponent, d3 as anchorNavId, d4 as applyColorsToElement, d5 as authGuard, d6 as bootstrapMagApp, d7 as bootstrapPwaInstall, d8 as buildWcBaseUrl, d9 as calculateLuminance, da as calculateRanks, db as cellText, dc as checkFilterCondition, dd as childNavId, de as classListSignal, df as createMap, dg as createPlatformNavMap, dh as deriveAvatarGradient, di as deriveContrastColor, dj as deriveOppositeColor, dk as derivePropertyName, dl as emailValidation, dm as evaluate, dn as evaluateBool, dp as flattenTreeGridRows, dq as formatBadgeCount, dr as fullName, ds as generateClipPath, dt as generateTransform, du as getClassList, dv as getProperty, dw as getScrollParent, dx as getTierFromPreviewPath, dy as getTreeGridRow, dz as getUniqueId, dA as getValue, dB as hasErrorComputed, dC as hexToRgb, dD as hslToRgb, dE as initMagmoniumApp, dF as initialNotificationState, dG as initials, dH as injectAuthenticate, dI as injectInstallApp, dJ as injectParentSize, dK as injectScrollSticky, dL as isButtonName, dM as isCancelledComputed, dN as isExtensiblePlatformNavId, dO as isJson, dP as isLoadingComputed, dQ as isLocalhost, dR as isPlatformNavId, dS as isSize, dT as isTierPreview, dU as isUrlLocalhost, dV as isValidNavId, dW as isValidNavSegment, dX as isWebComponent, dY as linkToId, dZ as linkToNav, d_ as loadingActions, d$ as loginState, e0 as mInterceptor, e1 as manualValidation, e2 as matchFieldValidation, e3 as maxLengthValidation, e4 as maxValidation, e5 as mergePlatformNav, e6 as mergeUnique, e7 as mergeUniqueBy, e8 as mergeUniqueWith, e9 as minAgeValidation, ea as minLengthValidation, eb as minValidation, ec as miniMarkToHtml, ed as navIdChain, ee as navIdFor, ef as navIdSegment, eg as navIdToRoutePath, eh as navIdToSegments, ei as navToId, ej as parentNavId, ek as parseAddress, el as parseColor, em as patternValidation, en as platformNavWidgets, eo as privateGuard, ep as processImageToSvg, eq as provideAppContext, er as provideMagAppConfig, es as provideMagWcConfig, et as provideMagWcRoutes, eu as provideModalComponents, ev as provideMurlUrlSerializer, ew as provideNavWidgets, ex as providePlatformNavWidgets, ey as provideSearch, ez as provideSizeContext, eA as provideUserTabs, eB as publicGuard, eC as renderAddress, eD as requiredValidation, eE as resolveConfigAsset, eF as resolvePallet, eG as resolveSize, eH as rgbToHex, eI as rgbToHsl, eJ as rowHasChildren, eK as segmentsToNavId, eL as setProperty, eM as setTreeGridChildren, eN as settingsWidgets, eO as shouldShowBadge, eP as splitNavId, eQ as stringToColor, eR as toAttrBool, eS as toAttrNumber, eT as toCssLength, eU as toHostNavId, eV as toLength, eW as toLocalNavId, eX as toggleTreeGridRow, eY as unfetchedPlatformNav, eZ as urlValidation } from './magmonium-one-magmonium-one-8HzitX0z.mjs';
2
2
  //# sourceMappingURL=magmonium-one.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magmonium/one",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "Magmonium One — Angular design-system primitives for mm Apps",
5
5
  "author": "magmonium",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "@angular/elements": "^21.0.0",
29
29
  "@ngrx/signals": "^21.0.0",
30
30
  "rxjs": "^7.8.0",
31
- "@magmonium/cli": "^0.7.9",
31
+ "@magmonium/cli": "^0.7.12",
32
32
  "socket.io-client": "^4.8.0"
33
33
  },
34
34
  "sideEffects": false,
@@ -4102,7 +4102,7 @@ declare class ImgComponent {
4102
4102
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImgComponent, "m-img", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": true; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; "isSignal": true; }; "sizes": { "alias": "sizes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4103
4103
  }
4104
4104
 
4105
- type ColumnType = 'text' | 'number' | 'date' | 'timeago' | 'currency' | 'percent' | 'input' | 'icon' | 'context-menu' | 'link' | 'chart' | 'user';
4105
+ type ColumnType = 'text' | 'number' | 'date' | 'timeago' | 'currency' | 'percent' | 'input' | 'icon' | 'icon-text' | 'context-menu' | 'link' | 'chart' | 'user';
4106
4106
  type ColumnDef = {
4107
4107
  key: string;
4108
4108
  label?: string;
@@ -4114,6 +4114,8 @@ type ColumnDef = {
4114
4114
  signed?: boolean;
4115
4115
  menuName?: string;
4116
4116
  menuOptions?: MenuItem[][];
4117
+ /** `icon-text` only — which data slot holds the icon name. */
4118
+ iconIndex?: number;
4117
4119
  originalIndex?: number;
4118
4120
  translate?: boolean;
4119
4121
  };
@@ -4324,6 +4326,19 @@ type TreeGridRowSelectEvent = {
4324
4326
  row: TreeGridRow;
4325
4327
  key: string;
4326
4328
  };
4329
+ /**
4330
+ * A `link` cell was activated. Carries the row and its path like every other
4331
+ * tree-grid event — a flat table's row index means nothing in a tree, where
4332
+ * the same row moves as ancestors open and close. `value` is the cell's key
4333
+ * (`{ key, label }` cells give the key, plain cells give their text), so the
4334
+ * caller reads an id rather than the label rendered from it.
4335
+ */
4336
+ type TreeGridCellClickEvent = {
4337
+ path: number[];
4338
+ row: TreeGridRow;
4339
+ columnKey: string;
4340
+ value: string;
4341
+ };
4327
4342
 
4328
4343
  declare class TreeGridComponent extends ConfigComponent<TableConfig> {
4329
4344
  subFolder: string;
@@ -4347,8 +4362,12 @@ declare class TreeGridComponent extends ConfigComponent<TableConfig> {
4347
4362
  path: number[];
4348
4363
  actionId: string;
4349
4364
  }>;
4365
+ /** A `link` column's cell was activated. Selection is untouched — the click
4366
+ * never reaches the row. */
4367
+ readonly cellClicked: _angular_core.OutputEmitterRef<TreeGridCellClickEvent>;
4350
4368
  readonly cellText: (row: unknown[], colIndex: number) => string;
4351
4369
  readonly cellTitle: (row: unknown[], colIndex: number) => string | undefined;
4370
+ readonly isLinkCell: (row: unknown[], colIndex: number) => boolean;
4352
4371
  readonly variantClass: _angular_core.Signal<string>;
4353
4372
  readonly visibleColumns: _angular_core.Signal<ColumnDef[]>;
4354
4373
  readonly effectiveFixedCount: _angular_core.Signal<number>;
@@ -4361,9 +4380,10 @@ declare class TreeGridComponent extends ConfigComponent<TableConfig> {
4361
4380
  };
4362
4381
  readonly onToggle: (path: number[]) => void;
4363
4382
  readonly onRowClick: (row: TreeGridRow, path: number[]) => void;
4383
+ readonly onCellClick: (row: TreeGridRow, path: number[], col: ColumnDef, event: Event) => void;
4364
4384
  readonly onMenuAction: (row: TreeGridRow, path: number[], item: MenuItem) => void;
4365
4385
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeGridComponent, never>;
4366
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeGridComponent, "m-tree-grid", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "indentRem": { "alias": "indentRem"; "required": false; "isSignal": true; }; "keyIndex": { "alias": "keyIndex"; "required": false; "isSignal": true; }; "selectedKey": { "alias": "selectedKey"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "data": "dataChange"; "selectedKey": "selectedKeyChange"; "rowToggled": "rowToggled"; "loadChildren": "loadChildren"; "rowSelected": "rowSelected"; "menuAction": "menuAction"; }, never, never, true, never>;
4386
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeGridComponent, "m-tree-grid", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "indentRem": { "alias": "indentRem"; "required": false; "isSignal": true; }; "keyIndex": { "alias": "keyIndex"; "required": false; "isSignal": true; }; "selectedKey": { "alias": "selectedKey"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "data": "dataChange"; "selectedKey": "selectedKeyChange"; "rowToggled": "rowToggled"; "loadChildren": "loadChildren"; "rowSelected": "rowSelected"; "menuAction": "menuAction"; "cellClicked": "cellClicked"; }, never, never, true, never>;
4367
4387
  }
4368
4388
 
4369
4389
  declare const rowHasChildren: (row: TreeGridRow) => boolean;
@@ -7310,4 +7330,4 @@ declare class DotGridComponent {
7310
7330
  }
7311
7331
 
7312
7332
  export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COLOR_SCHEMES, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GEN_NAV_DISPLAY_ORDER, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_FORM_GROUP, LOGIN_PROCESS, LOGIN_STORE, LanguageComponent, LoginDataService, LoginOneComponent, LoginStore, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_DISPLAY_ORDER, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionComponent, SectionFilterComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, Sex, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UlComponent, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, authGuard, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, loginState, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navToId, parentNavId, parseAddress, parseColor, patternValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, renderAddress, requiredValidation, resolveConfigAsset, resolvePallet, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
7313
- export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, Auth, AuthResult, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColorScheme, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterOption, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridBreakpoint, Header, HeaderLevel, HeroDataRecord, HeroDimensions, HslColor, Icon, IdentityInfo, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginState, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, Option, OtpInput, OverlayConfig, PageChangeEvent, Pagination, PanelOverlayConfig, PanelTrigger, PasswordInput, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionFormConfig, SectionFormContext, SectionToggleItem, SectionToggleItemContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Token, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
7333
+ export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, Auth, AuthResult, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColorScheme, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterOption, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridBreakpoint, Header, HeaderLevel, HeroDataRecord, HeroDimensions, HslColor, Icon, IdentityInfo, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginState, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, Option, OtpInput, OverlayConfig, PageChangeEvent, Pagination, PanelOverlayConfig, PanelTrigger, PasswordInput, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionFormConfig, SectionFormContext, SectionToggleItem, SectionToggleItemContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Token, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };