@magmonium/one 0.4.41 → 0.4.43

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 (83) hide show
  1. package/assets/fields/app_color.json +5 -0
  2. package/assets/fields/logo_glyph_paste.json +7 -0
  3. package/assets/fields/logo_glyph_upload.json +12 -0
  4. package/assets/forms/logo_glyph_input.json +13 -0
  5. package/assets/i18n/ar.json +8 -0
  6. package/assets/i18n/de.json +8 -0
  7. package/assets/i18n/en.json +8 -0
  8. package/assets/i18n/es.json +8 -0
  9. package/assets/i18n/fr.json +8 -0
  10. package/assets/i18n/hi.json +8 -0
  11. package/assets/i18n/it.json +8 -0
  12. package/assets/i18n/ja.json +8 -0
  13. package/assets/i18n/ko.json +8 -0
  14. package/assets/i18n/nl.json +8 -0
  15. package/assets/i18n/pl.json +8 -0
  16. package/assets/i18n/pt.json +8 -0
  17. package/assets/i18n/ru.json +8 -0
  18. package/assets/i18n/tr.json +8 -0
  19. package/assets/i18n/zh.json +8 -0
  20. package/assets/index.json +1 -1
  21. package/fesm2022/{magmonium-one-attribute-value-DCTXt4Sr.mjs → magmonium-one-attribute-value-C1lqou2L.mjs} +3 -3
  22. package/fesm2022/{magmonium-one-attribute-value-DCTXt4Sr.mjs.map → magmonium-one-attribute-value-C1lqou2L.mjs.map} +1 -1
  23. package/fesm2022/{magmonium-one-base-checkbox-BNQAkyYU.mjs → magmonium-one-base-checkbox-CIxAiA4Q.mjs} +2 -2
  24. package/fesm2022/{magmonium-one-base-checkbox-BNQAkyYU.mjs.map → magmonium-one-base-checkbox-CIxAiA4Q.mjs.map} +1 -1
  25. package/fesm2022/{magmonium-one-base-dropdown-DU4B4w7c.mjs → magmonium-one-base-dropdown-XpTWe4Ii.mjs} +10 -10
  26. package/fesm2022/{magmonium-one-base-dropdown-DU4B4w7c.mjs.map → magmonium-one-base-dropdown-XpTWe4Ii.mjs.map} +1 -1
  27. package/fesm2022/{magmonium-one-base-input-BTxhUtYO.mjs → magmonium-one-base-input-C1Ek0Ezm.mjs} +2 -2
  28. package/fesm2022/{magmonium-one-base-input-BTxhUtYO.mjs.map → magmonium-one-base-input-C1Ek0Ezm.mjs.map} +1 -1
  29. package/fesm2022/{magmonium-one-base-text-BCSqKmVs.mjs → magmonium-one-base-text-Di2V2ojp.mjs} +2 -2
  30. package/fesm2022/{magmonium-one-base-text-BCSqKmVs.mjs.map → magmonium-one-base-text-Di2V2ojp.mjs.map} +1 -1
  31. package/fesm2022/{magmonium-one-button-BWB3ZKIj.mjs → magmonium-one-button-DZ4wCJgb.mjs} +11 -9
  32. package/fesm2022/{magmonium-one-button-BWB3ZKIj.mjs.map → magmonium-one-button-DZ4wCJgb.mjs.map} +1 -1
  33. package/fesm2022/{magmonium-one-checkbox-D5-5WhJ-.mjs → magmonium-one-checkbox-R-hPZrCa.mjs} +5 -5
  34. package/fesm2022/{magmonium-one-checkbox-D5-5WhJ-.mjs.map → magmonium-one-checkbox-R-hPZrCa.mjs.map} +1 -1
  35. package/fesm2022/{magmonium-one-color-utl-D86GGpz5.mjs → magmonium-one-color-utl-DI5p24iQ.mjs} +209 -6
  36. package/fesm2022/magmonium-one-color-utl-DI5p24iQ.mjs.map +1 -0
  37. package/fesm2022/{magmonium-one-directives-DePukAj8.mjs → magmonium-one-directives-B93p5bAL.mjs} +4 -4
  38. package/fesm2022/{magmonium-one-directives-DePukAj8.mjs.map → magmonium-one-directives-B93p5bAL.mjs.map} +1 -1
  39. package/fesm2022/{magmonium-one-group-m41SX_fL.mjs → magmonium-one-group-B7YeUd1u.mjs} +7 -7
  40. package/fesm2022/{magmonium-one-group-m41SX_fL.mjs.map → magmonium-one-group-B7YeUd1u.mjs.map} +1 -1
  41. package/fesm2022/{magmonium-one-header-D8CB9CBJ.mjs → magmonium-one-header-DUiBhPUP.mjs} +6 -5
  42. package/fesm2022/{magmonium-one-header-D8CB9CBJ.mjs.map → magmonium-one-header-DUiBhPUP.mjs.map} +1 -1
  43. package/fesm2022/{magmonium-one-icon-BTPHGpEN.mjs → magmonium-one-icon-C3jwzbb2.mjs} +80 -9
  44. package/fesm2022/magmonium-one-icon-C3jwzbb2.mjs.map +1 -0
  45. package/fesm2022/{magmonium-one-image-editor-Dn0ACfH0.mjs → magmonium-one-image-editor-BRTk8i4O.mjs} +4 -4
  46. package/fesm2022/{magmonium-one-image-editor-Dn0ACfH0.mjs.map → magmonium-one-image-editor-BRTk8i4O.mjs.map} +1 -1
  47. package/fesm2022/{magmonium-one-label-DjvJthAB.mjs → magmonium-one-label-D_rU82nD.mjs} +2 -2
  48. package/fesm2022/{magmonium-one-label-DjvJthAB.mjs.map → magmonium-one-label-D_rU82nD.mjs.map} +1 -1
  49. package/fesm2022/{magmonium-one-m-ref-C8c4Vf1G.mjs → magmonium-one-m-ref-CEms7B6-.mjs} +2 -2
  50. package/fesm2022/{magmonium-one-m-ref-C8c4Vf1G.mjs.map → magmonium-one-m-ref-CEms7B6-.mjs.map} +1 -1
  51. package/fesm2022/{magmonium-one-menu-EIfPlZ4E.mjs → magmonium-one-menu-cO34OcJc.mjs} +8 -7
  52. package/fesm2022/{magmonium-one-menu-EIfPlZ4E.mjs.map → magmonium-one-menu-cO34OcJc.mjs.map} +1 -1
  53. package/fesm2022/{magmonium-one-multi-range-o57TiVJU.mjs → magmonium-one-multi-range-Bq3_3NHg.mjs} +3 -3
  54. package/fesm2022/{magmonium-one-multi-range-o57TiVJU.mjs.map → magmonium-one-multi-range-Bq3_3NHg.mjs.map} +1 -1
  55. package/fesm2022/{magmonium-one-options-asset-EVsv0DL7.mjs → magmonium-one-options-asset-BMd7W0Mk.mjs} +2 -2
  56. package/fesm2022/{magmonium-one-options-asset-EVsv0DL7.mjs.map → magmonium-one-options-asset-BMd7W0Mk.mjs.map} +1 -1
  57. package/fesm2022/{magmonium-one-otp-CE4L1RcG.mjs → magmonium-one-otp-V2tFztLx.mjs} +5 -5
  58. package/fesm2022/{magmonium-one-otp-CE4L1RcG.mjs.map → magmonium-one-otp-V2tFztLx.mjs.map} +1 -1
  59. package/fesm2022/{magmonium-one-password-BjqYmT1s.mjs → magmonium-one-password-IdllPMUw.mjs} +6 -6
  60. package/fesm2022/{magmonium-one-password-BjqYmT1s.mjs.map → magmonium-one-password-IdllPMUw.mjs.map} +1 -1
  61. package/fesm2022/{magmonium-one-radio-C2wOB_Nb.mjs → magmonium-one-radio-BAL3-3j5.mjs} +3 -3
  62. package/fesm2022/{magmonium-one-radio-C2wOB_Nb.mjs.map → magmonium-one-radio-BAL3-3j5.mjs.map} +1 -1
  63. package/fesm2022/{magmonium-one-range-rgDe4O8u.mjs → magmonium-one-range-Cf7yUnhN.mjs} +4 -4
  64. package/fesm2022/{magmonium-one-range-rgDe4O8u.mjs.map → magmonium-one-range-Cf7yUnhN.mjs.map} +1 -1
  65. package/fesm2022/{magmonium-one-selector-DeRIUUBA.mjs → magmonium-one-selector-DAEI_0JX.mjs} +4 -4
  66. package/fesm2022/{magmonium-one-selector-DeRIUUBA.mjs.map → magmonium-one-selector-DAEI_0JX.mjs.map} +1 -1
  67. package/fesm2022/{magmonium-one-size-converter-C5fG_dgw.mjs → magmonium-one-size-converter-BOBD8nHy.mjs} +8 -1
  68. package/fesm2022/magmonium-one-size-converter-BOBD8nHy.mjs.map +1 -0
  69. package/fesm2022/{magmonium-one-text-BL-1lWST.mjs → magmonium-one-text-BnTkYLJe.mjs} +8 -7
  70. package/fesm2022/{magmonium-one-text-BL-1lWST.mjs.map → magmonium-one-text-BnTkYLJe.mjs.map} +1 -1
  71. package/fesm2022/{magmonium-one-text-output-Ci93Hi9Y.mjs → magmonium-one-text-output-BZU61QIF.mjs} +4 -4
  72. package/fesm2022/{magmonium-one-text-output-Ci93Hi9Y.mjs.map → magmonium-one-text-output-BZU61QIF.mjs.map} +1 -1
  73. package/fesm2022/magmonium-one-theme-DYvNIWmo.mjs +1 -0
  74. package/fesm2022/{magmonium-one-toggle-BTK2lzqA.mjs → magmonium-one-toggle-V_YnZXx5.mjs} +3 -3
  75. package/fesm2022/{magmonium-one-toggle-BTK2lzqA.mjs.map → magmonium-one-toggle-V_YnZXx5.mjs.map} +1 -1
  76. package/fesm2022/magmonium-one.mjs +788 -185
  77. package/fesm2022/magmonium-one.mjs.map +1 -1
  78. package/package.json +1 -1
  79. package/types/magmonium-one.d.ts +355 -53
  80. package/fesm2022/magmonium-one-color-utl-D86GGpz5.mjs.map +0 -1
  81. package/fesm2022/magmonium-one-icon-BTPHGpEN.mjs.map +0 -1
  82. package/fesm2022/magmonium-one-size-converter-C5fG_dgw.mjs.map +0 -1
  83. package/fesm2022/magmonium-one-theme-CT4cWpe7.mjs +0 -1
package/assets/index.json CHANGED
@@ -1 +1 @@
1
- {"accordion_groups":{"small_gap":null},"accordions":{"fixed_allocation":{"label":"fixed-allocation","subtitle":"portfolio_targets","open":false,"variant":"flat"},"general_settings":{"label":"settings","subtitle":"strategy_configuration","open":true,"variant":"flat"}},"badges":{"danger_absolute":{"variant":"danger","position":"absolute"},"danger_static":{"variant":"danger","position":"static"},"filter_badge":{"variant":"chip"}},"button_groups":{"comment_edit_actions":{"names":["comment_cancel","comment_save"],"primary":"comment_save","one":true,"buttons":[]},"date_header":{"names":["date_header_back","date_header_title","date_header_next"],"buttons":[]},"form-actions":{"layout":"horizontal","spacing":"medium","alignment":"right","buttons":[]},"nav_footer_button_group":{"vertical":true,"center":true,"size":"sm","color":"textSecondary","buttons":[{"name":"settings_icon_only","icon":"gear","color":"mm","nav":"root_settings","variant":"ghost"},{"name":"theme_icon_only","icon":"star","color":"mm","nav":"root_settings_user_theme","variant":"ghost"},{"name":"current_lang","nav":"root_settings_user_language","label":"en","variant":"ghost"}]},"nav_main_button_group":{"vertical":true,"center":true,"color":"mm","buttons":[{"name":"search","icon":"search","color":"mm","nav":"root_search","variant":"ghost","iconOnly":true},{"name":"notification","title":"Notifications","icon":"notification","iconOnly":true,"variant":"ghost"}]},"nav_user_actions":{"names":["nav_user_edit_profile","nav_user_settings","nav_user_logout"],"size":"sm","one":true,"buttons":[]},"notification_actions":{"names":["decline","accept"],"primary":"accept","one":true,"buttons":[{"name":"decline_notification","label":"decline","variant":"ghost"},{"name":"accept_notification","label":"accept","variant":"primary"}]},"notification_filter":{"names":["all","unread"],"size":"sm","variant":"toggle","buttons":[]},"profile_modal_actions":{"names":["cancel_profile","save_profile"],"primary":"save_profile","center":true,"one":true,"buttons":[]},"reply_actions":{"names":["comment_cancel","post"],"primary":"post","one":true,"buttons":[]},"showcase_nav":{"names":["showcase_back","showcase_back_to_home"],"buttons":[]}},"buttons":{"accept_notification":{"label":"accept","variant":"primary"},"accordion_chevron":{"icon":"chevron-down","variant":"ghost"},"all":{"label":"all","variant":"ghost"},"app_open_arrow":{"icon":"chevron-right","color":"textSecondary","variant":"ghost","label":"open","iconOnly":true},"apps":{"icon":"apps","iconOnly":true,"variant":"ghost","nav":"root_app"},"audience_done":{"label":"done","variant":"primary"},"back_icon":{"icon":"arrow-left","color":"mm","variant":"ghost"},"cancel_profile":{"label":"cancel","icon":"x","variant":"ghost"},"close-icon-only":{"icon":"x","color":"error","variant":"ghost","isOne":true},"comment_cancel":{"label":"comment_cancel","color":"danger"},"comment_hide_replies":{"label":"hide-replies","variant":"ghost","color":"mm"},"comment_reply":{"icon":"comment_reply","variant":"ghost","color":"mm"},"comment_save":{"label":"save-changes","color":"mm","variant":"primary"},"comment_view_replies":{"label":"view-replies","variant":"ghost","color":"mm"},"confirm_cancel":{"label":"cancel","variant":"ghost","fullWidth":true},"current_lang":{"nav":"root_settings_user_language","label":"en","variant":"ghost"},"date_header_back":{"icon":"arrow-left","variant":"ghost"},"date_header_next":{"icon":"arrow-right","variant":"ghost"},"date_header_title":{"variant":"ghost"},"decline_notification":{"label":"decline","variant":"ghost"},"edit_profile":{"label":"edit","icon":"pencil","variant":"primary"},"eye":{"icon":"eye","color":"mm","variant":"ghost"},"eye_close":{"icon":"eye_close","color":"mm","variant":"ghost"},"filter_toggle":{"icon":"adjust","one":true,"variant":"ghost","iconOnly":true},"language":{"icon":"language","variant":"ghost","nav":"root_settings_user_language","label":"language"},"login_icon_only":{"icon":"lock","color":"mm","action":"authenticate","variant":"ghost"},"login_new_user":{"label":"login-with-a-new-user","variant":"secondary"},"logout":{"icon":"lock","label":"logout","variant":"ghost"},"mark_all_read":{"label":"mark-all-read","variant":"ghost"},"menu":{"icon":"menu","variant":"ghost","color":"mm"},"nav_back":{"icon":"chevron_left","color":"mm","variant":"ghost"},"nav_trail_next":{"icon":"chevron-right","color":"mm","variant":"ghost","iconOnly":true},"nav_user_edit_profile":{"icon":"user","label":"edit-profile","variant":"ghost"},"nav_user_logout":{"icon":"lock","label":"logout","variant":"ghost"},"nav_user_settings":{"icon":"gear","label":"settings","variant":"ghost"},"next":{"icon":"arrow-right","label":"next","color":"mm","isRightIcon":true,"variant":"secondary"},"no":{"label":"false","icon":"x","color":"danger","variant":"ghost"},"notification":{"title":"Notifications","icon":"notification","iconOnly":true,"variant":"ghost"},"ok":{"label":"OK","icon":"check","color":"success"},"okay":{"label":"okay","variant":"primary","fullWidth":true},"pagination_first":{"icon":"chevrons-left","variant":"ghost"},"pagination_last":{"icon":"chevrons-right","variant":"ghost"},"pagination_next":{"icon":"arrow-right","variant":"ghost"},"pagination_prev":{"icon":"arrow-left","variant":"ghost"},"post":{"icon":"arrow-right","label":"post","color":"mm","variant":"primary"},"remove_allocation":{"icon":"trash-2","iconOnly":true,"variant":"ghost"},"resend":{"label":"resend","color":"mm"},"reset":{"label":"reset","color":"mm"},"save_allocation":{"label":"save-allocation","icon":"save","variant":"primary"},"save_general":{"label":"save-settings","icon":"check-circle","variant":"primary"},"save_profile":{"label":"save","icon":"check-circle","variant":"primary"},"search":{"icon":"search","color":"mm","nav":"root_search","variant":"ghost","iconOnly":true},"search_clear":{"icon":"x","one":true,"variant":"ghost"},"search_result":{"variant":"ghost","icon":"plus"},"search_toggle":{"icon":"search","one":true,"variant":"ghost","iconOnly":true},"select_user":{"label":"select-user","icon":"user","variant":"primary"},"send_comment":{"icon":"send","color":"mm"},"settings":{"icon":"gear","color":"mm","nav":"root_settings","variant":"ghost","iconOnly":true},"settings_icon_only":{"icon":"gear","color":"mm","nav":"root_settings","variant":"ghost"},"showcase_back":{"iconOnly":true,"icon":"chevron-left","variant":"ghost","label":"back"},"showcase_back_to_home":{"label":"one-ui","icon":"logo","variant":"ghost","nav":"root"},"sign_in":{"icon":"user","label":"sign_in","variant":"primary"},"sort_asc":{"icon":"chevron-up"},"sort_desc":{"icon":"chevron-down"},"stepper_next":{"icon":"chevron-right","label":"next","isRightIcon":true,"variant":"ghost"},"stepper_prev":{"icon":"chevron-left","label":"prev","variant":"ghost"},"submit":{"icon":{"name":"check"},"text":"Submit","type":"primary","disabled":false},"terms":{"name":"terms","label":"terms","nav":"root_info_terms"},"theme":{"icon":"theme","variant":"ghost","nav":"root_settings_user_theme","label":"theme"},"theme_icon_only":{"icon":"star","color":"mm","nav":"root_settings_user_theme","variant":"ghost"},"unread":{"label":"unread","variant":"ghost"},"upload_image":{"icon":"upload","variant":"ghost"},"user":{"icon":"user","iconOnly":true,"variant":"ghost","nav":"root_user"},"x":{"icon":"x","one":true,"variant":"ghost"},"yes":{"label":"true","icon":"check","color":"success"}},"cards":{"beautiful":{"variant":"beautiful","interactive":true},"featured":{"variant":"beautiful","interactive":true,"separator":true},"no_border":{"variant":"no-border","fullHeight":true}},"carousel":{"sample":{"slides":[{"image":"https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?q=80&w=2070&auto=format&fit=crop","title":"Marvel Universe","description":"Explore the vast Multiverse of Marvel Comics."},{"image":"https://images.unsplash.com/photo-1620336655055-088d06e36bf0?q=80&w=1974&auto=format&fit=crop","title":"DC Universe","description":"Witness the dawn of justice with DC Legends."},{"image":"https://images.unsplash.com/photo-1588497859490-85d1c17db96d?q=80&w=2070&auto=format&fit=crop","title":"Manga Classics","description":"Dive into the world of Japanese storytelling."}],"autoPlay":true,"interval":5000,"showDots":true,"dotsPosition":"bottom","componentPosition":"right"}},"charts":{"default":{"showGlow":false,"showLegend":false,"showPnlZone":false,"showCurrentValue":false,"vPad":12},"dual_area":{"showGlow":true,"showLegend":true,"showPnlZone":true,"showCurrentValue":false,"vPad":0}},"fields":{"allocation_pct":{"type":"number","label":"","placeholder":"0","min":0,"max":100,"step":1},"backgroundColor":{"type":"color","label":"background-color","name":"backgroundColor"},"bevel":{"type":"radio","label":"bevel"},"butt":{"type":"radio","label":"butt"},"canInteract":{"type":"toggle","label":"can-interact","name":"canInteract"},"comment_edit_textarea":{"type":"textarea","name":"comment_edit_textarea","placeholder":"comment_placeholder","variant":"comment-edit"},"comment_text":{"type":"textarea","name":"comment_text","placeholder":"write_placeholder","variant":"comment-edit"},"confirm_password":{"type":"password","label":"confirm-password"},"dob":{"type":"date","label":"date-of-birth"},"edgeSensitivity":{"type":"range","label":"edge-sensitivity","name":"edgeSensitivity","min":0,"max":5},"email":{"type":1,"model":"email","placeholder":"Enter your email","validators":[{"type":"required","message":"Email is required"},{"type":"email","message":"Please enter a valid email"}]},"female":{"type":"radio","label":"female"},"first_name":{"type":"text","label":"first-name","placeholder":"type-text"},"identity":{"type":"selectable_card","label":"","vertical":true,"multiSelect":false,"isCheckboxVisible":false},"invertSvg":{"type":"toggle","label":"invert-svg","name":"invertSvg"},"last_name":{"type":"text","label":"last-name","placeholder":"type-text"},"last_name_search":{"type":"text","label":"last-name","button":"search","buttonAction":"search","placeholder":"type-text"},"lineColor":{"type":"color","label":"line-color","name":"lineColor"},"lineSmoothing":{"type":"range","label":"line-smoothing","name":"lineSmoothing","min":0,"max":10},"linecap":{"type":"radio_group","label":"line-cap","name":"linecap","vertical":true,"options":["butt","round","square"]},"linejoin":{"type":"radio_group","label":"line-join","name":"linejoin","vertical":true,"options":["miter","round","bevel"]},"male":{"type":"radio","label":"male"},"miter":{"type":"radio","label":"miter"},"nearestPoint":{"type":"range","label":"nearest-point","name":"nearestPoint","min":0,"max":5},"new_password":{"type":"password","label":"new-password"},"noiseReduction":{"type":"range","label":"noise-reduction","name":"noiseReduction","min":0,"max":20},"other":{"type":"radio","label":"other"},"otp":{"type":"otp","label":"one-time-password","length":6},"password":{"type":"password","label":"password"},"playground_format":{"type":"toggle_radio","name":"playground_format","label":"","configs":[{"type":"radio","id":"json","label":"json"},{"type":"radio","id":"yaml","label":"yaml"}]},"re_password":{"type":"password","label":"retype-password"},"round":{"type":"radio","label":"round"},"search_input":{"name":"search","type":"search","label":"","icon":"search","one":true,"placeholder":"Search..."},"service_agreement":{"type":"checkbox","label":"i-agree-to-above-agreement"},"sex":{"type":"radio_group","label":"sex","options":["male","female","other"]},"square":{"type":"radio","label":"square"},"strokeWidth":{"type":"range","label":"stroke-width","name":"strokeWidth","min":1,"max":25},"table_page_size":{"type":"dropdown","label":"rows-per-page","maxWidth":100,"placeholder":"please_select"},"table_search":{"type":"search","label":"","icon":"search","one":true,"maxWidth":240},"threshold":{"type":"range","label":"threshold","name":"threshold","min":0,"max":255},"tree_search":{"type":"search","label":"","icon":"search","one":true},"username_email_mobile":{"type":"text","label":"username-email-mobile","placeholder":"type-text"}},"forms":{"allocation_row":{"inputs":[["allocation_pct"]],"spans":[[12]]},"check_username":{"inputs":[["username_email_mobile"]]},"companies_search":{"inputs":[["search"]],"spans":[[12]]},"contact":{"fields":["email"],"validators":[],"values":{},"isValid":[],"isTouched":[]},"create_user":{"inputs":[["first_name","last_name"],["dob"],["sex","country"],["password"],["re_password"]]},"reset_password":{"inputs":[["otp"],["new_password"],["confirm_password"]]},"select_identity":{"inputs":[["identity"]]},"service_agreement":{"inputs":[["service_agreement"]]},"settings_general":{"inputs":[["amount"],["max"]],"spans":[[12],[12]]},"svg_edit":{"inputs":[["strokeWidth"],["linecap"],["linejoin"],["invertSvg"],["canInteract"],["backgroundColor"],["lineColor"]]},"svg_tuning":{"inputs":[["threshold"],["edgeSensitivity"],["lineSmoothing"],["noiseReduction"],["nearestPoint"]]},"user_search":{"inputs":[["first_name","last_name_search"]]},"verify_otp":{"inputs":[["otp"]]},"verify_password":{"inputs":[["password"]]}},"graphs":{"animated-graphs":{"dimensions":{"desktop":"60vh","tablet":"50vh","mobile":"40vh"},"curviness":"150px"}},"menu":{"comment_actions":{"icon":{"name":"ellipsis-vertical"},"width":"140px","options":[[{"id":"edit","label":"comment_edit","icon":"pencil"},{"id":"delete","label":"comment_delete","icon":"trash"}]]},"comments_feed_actions":{"icon":{"name":"ellipsis-vertical"},"width":"160px","align":"right","options":[[{"id":"refresh","label":"refresh","icon":"reset"}]]}},"modal":{"authenticate":{"align":"center","resizable":false,"backdropClose":false,"closeProhibited":true,"fullscreen":false,"noBackdrop":false},"bottom":{"one":true,"align":"bottom","backdropClose":true},"center":{"one":true,"align":"center","backdropClose":true},"fullscreen":{"one":true,"fullscreen":true}},"options":{"countries":[[{"id":"ad","value":"AD","label":"andorra"},{"id":"ae","value":"AE","label":"united-arab-emirates"},{"id":"af","value":"AF","label":"afghanistan"},{"id":"ag","value":"AG","label":"antigua-and-barbuda"},{"id":"ai","value":"AI","label":"anguilla"},{"id":"al","value":"AL","label":"albania"},{"id":"am","value":"AM","label":"armenia"},{"id":"ao","value":"AO","label":"angola"},{"id":"aq","value":"AQ","label":"antarctica"},{"id":"ar","value":"AR","label":"argentina"},{"id":"as","value":"AS","label":"american-samoa"},{"id":"at","value":"AT","label":"austria"},{"id":"au","value":"AU","label":"australia"},{"id":"aw","value":"AW","label":"aruba"},{"id":"ax","value":"AX","label":"land-islands"},{"id":"az","value":"AZ","label":"azerbaijan"},{"id":"ba","value":"BA","label":"bosnia-and-herzegovina"},{"id":"bb","value":"BB","label":"barbados"},{"id":"bd","value":"BD","label":"bangladesh"},{"id":"be","value":"BE","label":"belgium"},{"id":"bf","value":"BF","label":"burkina-faso"},{"id":"bg","value":"BG","label":"bulgaria"},{"id":"bh","value":"BH","label":"bahrain"},{"id":"bi","value":"BI","label":"burundi"},{"id":"bj","value":"BJ","label":"benin"},{"id":"bl","value":"BL","label":"saint-barth-lemy"},{"id":"bm","value":"BM","label":"bermuda"},{"id":"bn","value":"BN","label":"brunei"},{"id":"bo","value":"BO","label":"bolivia"},{"id":"bq","value":"BQ","label":"caribbean-netherlands"},{"id":"br","value":"BR","label":"brazil"},{"id":"bs","value":"BS","label":"bahamas"},{"id":"bt","value":"BT","label":"bhutan"},{"id":"bv","value":"BV","label":"bouvet-island"},{"id":"bw","value":"BW","label":"botswana"},{"id":"by","value":"BY","label":"belarus"},{"id":"bz","value":"BZ","label":"belize"},{"id":"ca","value":"CA","label":"canada"},{"id":"cc","value":"CC","label":"cocos-keeling-islands"},{"id":"cd","value":"CD","label":"democratic-republic-of-the-congo"},{"id":"cf","value":"CF","label":"central-african-republic"},{"id":"cg","value":"CG","label":"congo"},{"id":"ch","value":"CH","label":"switzerland"},{"id":"ci","value":"CI","label":"c-te-d-ivoire"},{"id":"ck","value":"CK","label":"cook-islands"},{"id":"cl","value":"CL","label":"chile"},{"id":"cm","value":"CM","label":"cameroon"},{"id":"cn","value":"CN","label":"china"},{"id":"co","value":"CO","label":"colombia"},{"id":"cr","value":"CR","label":"costa-rica"},{"id":"cu","value":"CU","label":"cuba"},{"id":"cv","value":"CV","label":"cabo-verde"},{"id":"cw","value":"CW","label":"cura-ao"},{"id":"cx","value":"CX","label":"christmas-island"},{"id":"cy","value":"CY","label":"cyprus"},{"id":"cz","value":"CZ","label":"czechia"},{"id":"de","value":"DE","label":"germany"},{"id":"dj","value":"DJ","label":"djibouti"},{"id":"dk","value":"DK","label":"denmark"},{"id":"dm","value":"DM","label":"dominica"},{"id":"do","value":"DO","label":"dominican-republic"},{"id":"dz","value":"DZ","label":"algeria"},{"id":"ec","value":"EC","label":"ecuador"},{"id":"ee","value":"EE","label":"estonia"},{"id":"eg","value":"EG","label":"egypt"},{"id":"eh","value":"EH","label":"western-sahara"},{"id":"er","value":"ER","label":"eritrea"},{"id":"es","value":"ES","label":"spain"},{"id":"et","value":"ET","label":"ethiopia"},{"id":"fi","value":"FI","label":"finland"},{"id":"fj","value":"FJ","label":"fiji"},{"id":"fk","value":"FK","label":"falkland-islands"},{"id":"fm","value":"FM","label":"micronesia"},{"id":"fo","value":"FO","label":"faroe-islands"},{"id":"fr","value":"FR","label":"france"},{"id":"ga","value":"GA","label":"gabon"},{"id":"gb","value":"GB","label":"united-kingdom"},{"id":"gd","value":"GD","label":"grenada"},{"id":"ge","value":"GE","label":"georgia"},{"id":"gf","value":"GF","label":"french-guiana"},{"id":"gg","value":"GG","label":"guernsey"},{"id":"gh","value":"GH","label":"ghana"},{"id":"gi","value":"GI","label":"gibraltar"},{"id":"gl","value":"GL","label":"greenland"},{"id":"gm","value":"GM","label":"gambia"},{"id":"gn","value":"GN","label":"guinea"},{"id":"gp","value":"GP","label":"guadeloupe"},{"id":"gq","value":"GQ","label":"equatorial-guinea"},{"id":"gr","value":"GR","label":"greece"},{"id":"gs","value":"GS","label":"south-georgia-and-the-south-sandwich-islands"},{"id":"gt","value":"GT","label":"guatemala"},{"id":"gu","value":"GU","label":"guam"},{"id":"gw","value":"GW","label":"guinea-bissau"},{"id":"gy","value":"GY","label":"guyana"},{"id":"hk","value":"HK","label":"hong-kong"},{"id":"hm","value":"HM","label":"heard-island-and-mcdonald-islands"},{"id":"hn","value":"HN","label":"honduras"},{"id":"hr","value":"HR","label":"croatia"},{"id":"ht","value":"HT","label":"haiti"},{"id":"hu","value":"HU","label":"hungary"},{"id":"id","value":"ID","label":"indonesia"},{"id":"ie","value":"IE","label":"ireland"},{"id":"il","value":"IL","label":"israel"},{"id":"im","value":"IM","label":"isle-of-man"},{"id":"in","value":"IN","label":"india"},{"id":"io","value":"IO","label":"british-indian-ocean-territory"},{"id":"iq","value":"IQ","label":"iraq"},{"id":"ir","value":"IR","label":"iran"},{"id":"is","value":"IS","label":"iceland"},{"id":"it","value":"IT","label":"italy"},{"id":"je","value":"JE","label":"jersey"},{"id":"jm","value":"JM","label":"jamaica"},{"id":"jo","value":"JO","label":"jordan"},{"id":"jp","value":"JP","label":"japan"},{"id":"ke","value":"KE","label":"kenya"},{"id":"kg","value":"KG","label":"kyrgyzstan"},{"id":"kh","value":"KH","label":"cambodia"},{"id":"ki","value":"KI","label":"kiribati"},{"id":"km","value":"KM","label":"comoros"},{"id":"kn","value":"KN","label":"saint-kitts-and-nevis"},{"id":"kp","value":"KP","label":"north-korea"},{"id":"kr","value":"KR","label":"south-korea"},{"id":"kw","value":"KW","label":"kuwait"},{"id":"ky","value":"KY","label":"cayman-islands"},{"id":"kz","value":"KZ","label":"kazakhstan"},{"id":"la","value":"LA","label":"laos"},{"id":"lb","value":"LB","label":"lebanon"},{"id":"lc","value":"LC","label":"saint-lucia"},{"id":"li","value":"LI","label":"liechtenstein"},{"id":"lk","value":"LK","label":"sri-lanka"},{"id":"lr","value":"LR","label":"liberia"},{"id":"ls","value":"LS","label":"lesotho"},{"id":"lt","value":"LT","label":"lithuania"},{"id":"lu","value":"LU","label":"luxembourg"},{"id":"lv","value":"LV","label":"latvia"},{"id":"ly","value":"LY","label":"libya"},{"id":"ma","value":"MA","label":"morocco"},{"id":"mc","value":"MC","label":"monaco"},{"id":"md","value":"MD","label":"moldova"},{"id":"me","value":"ME","label":"montenegro"},{"id":"mf","value":"MF","label":"saint-martin"},{"id":"mg","value":"MG","label":"madagascar"},{"id":"mh","value":"MH","label":"marshall-islands"},{"id":"mk","value":"MK","label":"north-macedonia"},{"id":"ml","value":"ML","label":"mali"},{"id":"mm","value":"MM","label":"myanmar"},{"id":"mn","value":"MN","label":"mongolia"},{"id":"mo","value":"MO","label":"macao"},{"id":"mp","value":"MP","label":"northern-mariana-islands"},{"id":"mq","value":"MQ","label":"martinique"},{"id":"mr","value":"MR","label":"mauritania"},{"id":"ms","value":"MS","label":"montserrat"},{"id":"mt","value":"MT","label":"malta"},{"id":"mu","value":"MU","label":"mauritius"},{"id":"mv","value":"MV","label":"maldives"},{"id":"mw","value":"MW","label":"malawi"},{"id":"mx","value":"MX","label":"mexico"},{"id":"my","value":"MY","label":"malaysia"},{"id":"mz","value":"MZ","label":"mozambique"},{"id":"na","value":"NA","label":"namibia"},{"id":"nc","value":"NC","label":"new-caledonia"},{"id":"ne","value":"NE","label":"niger"},{"id":"nf","value":"NF","label":"norfolk-island"},{"id":"ng","value":"NG","label":"nigeria"},{"id":"ni","value":"NI","label":"nicaragua"},{"id":"nl","value":"NL","label":"netherlands"},{"id":"no","value":"NO","label":"norway"},{"id":"np","value":"NP","label":"nepal"},{"id":"nr","value":"NR","label":"nauru"},{"id":"nu","value":"NU","label":"niue"},{"id":"nz","value":"NZ","label":"new-zealand"},{"id":"om","value":"OM","label":"oman"},{"id":"pa","value":"PA","label":"panama"},{"id":"pe","value":"PE","label":"peru"},{"id":"pf","value":"PF","label":"french-polynesia"},{"id":"pg","value":"PG","label":"papua-new-guinea"},{"id":"ph","value":"PH","label":"philippines"},{"id":"pk","value":"PK","label":"pakistan"},{"id":"pl","value":"PL","label":"poland"},{"id":"pm","value":"PM","label":"saint-pierre-and-miquelon"},{"id":"pn","value":"PN","label":"pitcairn-islands"},{"id":"pr","value":"PR","label":"puerto-rico"},{"id":"ps","value":"PS","label":"palestine"},{"id":"pt","value":"PT","label":"portugal"},{"id":"pw","value":"PW","label":"palau"},{"id":"py","value":"PY","label":"paraguay"},{"id":"qa","value":"QA","label":"qatar"},{"id":"re","value":"RE","label":"r-union"},{"id":"ro","value":"RO","label":"romania"},{"id":"rs","value":"RS","label":"serbia"},{"id":"ru","value":"RU","label":"russia"},{"id":"rw","value":"RW","label":"rwanda"},{"id":"sa","value":"SA","label":"saudi-arabia"},{"id":"sb","value":"SB","label":"solomon-islands"},{"id":"sc","value":"SC","label":"seychelles"},{"id":"sd","value":"SD","label":"sudan"},{"id":"se","value":"SE","label":"sweden"},{"id":"sg","value":"SG","label":"singapore"},{"id":"sh","value":"SH","label":"saint-helena"},{"id":"si","value":"SI","label":"slovenia"},{"id":"sj","value":"SJ","label":"svalbard-and-jan-mayen"},{"id":"sk","value":"SK","label":"slovakia"},{"id":"sl","value":"SL","label":"sierra-leone"},{"id":"sm","value":"SM","label":"san-marino"},{"id":"sn","value":"SN","label":"senegal"},{"id":"so","value":"SO","label":"somalia"},{"id":"sr","value":"SR","label":"suriname"},{"id":"ss","value":"SS","label":"south-sudan"},{"id":"st","value":"ST","label":"s-o-tom-and-pr-ncipe"},{"id":"sv","value":"SV","label":"el-salvador"},{"id":"sx","value":"SX","label":"sint-maarten"},{"id":"sy","value":"SY","label":"syria"},{"id":"sz","value":"SZ","label":"eswatini"},{"id":"tc","value":"TC","label":"turks-and-caicos-islands"},{"id":"td","value":"TD","label":"chad"},{"id":"tf","value":"TF","label":"french-southern-territories"},{"id":"tg","value":"TG","label":"togo"},{"id":"th","value":"TH","label":"thailand"},{"id":"tj","value":"TJ","label":"tajikistan"},{"id":"tk","value":"TK","label":"tokelau"},{"id":"tl","value":"TL","label":"timor-leste"},{"id":"tm","value":"TM","label":"turkmenistan"},{"id":"tn","value":"TN","label":"tunisia"},{"id":"to","value":"TO","label":"tonga"},{"id":"tr","value":"TR","label":"turkey"},{"id":"tt","value":"TT","label":"trinidad-and-tobago"},{"id":"tv","value":"TV","label":"tuvalu"},{"id":"tw","value":"TW","label":"taiwan"},{"id":"tz","value":"TZ","label":"tanzania"},{"id":"ua","value":"UA","label":"ukraine"},{"id":"ug","value":"UG","label":"uganda"},{"id":"um","value":"UM","label":"united-states-minor-outlying-islands"},{"id":"us","value":"US","label":"united-states"},{"id":"uy","value":"UY","label":"uruguay"},{"id":"uz","value":"UZ","label":"uzbekistan"},{"id":"va","value":"VA","label":"vatican-city"},{"id":"vc","value":"VC","label":"saint-vincent-and-the-grenadines"},{"id":"ve","value":"VE","label":"venezuela"},{"id":"vg","value":"VG","label":"virgin-islands-british"},{"id":"vi","value":"VI","label":"virgin-islands-u-s"},{"id":"vn","value":"VN","label":"vietnam"},{"id":"vu","value":"VU","label":"vanuatu"},{"id":"wf","value":"WF","label":"wallis-and-futuna"},{"id":"ws","value":"WS","label":"samoa"},{"id":"ye","value":"YE","label":"yemen"},{"id":"yt","value":"YT","label":"mayotte"},{"id":"za","value":"ZA","label":"south-africa"},{"id":"zm","value":"ZM","label":"zambia"},{"id":"zw","value":"ZW","label":"zimbabwe"}]],"file_accept":[[{"value":"image/*","label":"Any image","id":"file_accept-0-0"},{"value":".png","label":"PNG","id":"file_accept-0-1"},{"value":".jpg","label":"JPG","id":"file_accept-0-2"},{"value":".jpeg","label":"JPEG","id":"file_accept-0-3"},{"value":".svg","label":"SVG","id":"file_accept-0-4"},{"value":".gif","label":"GIF","id":"file_accept-0-5"},{"value":".webp","label":"WEBP","id":"file_accept-0-6"},{"value":".pdf","label":"PDF","id":"file_accept-0-7"},{"value":".txt","label":"TXT","id":"file_accept-0-8"},{"value":".md","label":"Markdown","id":"file_accept-0-9"},{"value":".csv","label":"CSV","id":"file_accept-0-10"},{"value":".json","label":"JSON","id":"file_accept-0-11"},{"value":".xlsx","label":"XLSX","id":"file_accept-0-12"},{"value":".docx","label":"DOCX","id":"file_accept-0-13"},{"value":".zip","label":"ZIP","id":"file_accept-0-14"},{"value":"video/*","label":"Any video","id":"file_accept-0-15"},{"value":"audio/*","label":"Any audio","id":"file_accept-0-16"}]],"language_options":[[{"value":"en","label":"English","id":"language_options-0-0"},{"value":"hi","label":"हिन्दी","id":"language_options-0-1"},{"value":"bn","label":"বাংলা","id":"language_options-0-2"},{"value":"pa","label":"ਪੰਜਾਬੀ","id":"language_options-0-3"},{"value":"ta","label":"தமிழ்","id":"language_options-0-4"},{"value":"te","label":"తెలుగు","id":"language_options-0-5"},{"value":"mr","label":"मराठी","id":"language_options-0-6"},{"value":"gu","label":"ગુજરાતી","id":"language_options-0-7"},{"value":"or","label":"ଓଡ଼ିଆ","id":"language_options-0-8"},{"value":"ml","label":"മലയാളം","id":"language_options-0-9"},{"value":"kn","label":"ಕನ್ನಡ","id":"language_options-0-10"},{"value":"ur","label":"اردو","id":"language_options-0-11"},{"value":"af","label":"Afrikaans","id":"language_options-0-12"},{"value":"sq","label":"Shqip","id":"language_options-0-13"},{"value":"am","label":"አማርኛ","id":"language_options-0-14"},{"value":"ar","label":"العربية","id":"language_options-0-15"},{"value":"hy","label":"Հայերեն","id":"language_options-0-16"},{"value":"az","label":"Azərbaycan dili","id":"language_options-0-17"},{"value":"eu","label":"Euskara","id":"language_options-0-18"},{"value":"be","label":"Беларуская","id":"language_options-0-19"},{"value":"bg","label":"Български","id":"language_options-0-20"},{"value":"bs","label":"Bosanski","id":"language_options-0-21"},{"value":"ca","label":"Català","id":"language_options-0-22"},{"value":"ceb","label":"Cebuano","id":"language_options-0-23"},{"value":"ny","label":"Chichewa","id":"language_options-0-24"},{"value":"zh","label":"中文","id":"language_options-0-25"},{"value":"co","label":"Corsu","id":"language_options-0-26"},{"value":"hr","label":"Hrvatski","id":"language_options-0-27"},{"value":"cs","label":"Čeština","id":"language_options-0-28"},{"value":"da","label":"Dansk","id":"language_options-0-29"},{"value":"nl","label":"Nederlands","id":"language_options-0-30"},{"value":"eo","label":"Esperanto","id":"language_options-0-31"},{"value":"et","label":"Eesti","id":"language_options-0-32"},{"value":"tl","label":"Filipino","id":"language_options-0-33"},{"value":"fi","label":"Suomi","id":"language_options-0-34"},{"value":"fr","label":"Français","id":"language_options-0-35"},{"value":"fy","label":"Frysk","id":"language_options-0-36"},{"value":"gl","label":"Galego","id":"language_options-0-37"},{"value":"ka","label":"ქართული","id":"language_options-0-38"},{"value":"de","label":"Deutsch","id":"language_options-0-39"},{"value":"el","label":"Ελληνικά","id":"language_options-0-40"},{"value":"ha","label":"Hausa","id":"language_options-0-41"},{"value":"haw","label":"Hawaiʻi","id":"language_options-0-42"},{"value":"iw","label":"עברית","id":"language_options-0-43"},{"value":"hmn","label":"Hmong","id":"language_options-0-44"},{"value":"hu","label":"Magyar","id":"language_options-0-45"},{"value":"is","label":"Íslenska","id":"language_options-0-46"},{"value":"ig","label":"Igbo","id":"language_options-0-47"},{"value":"id","label":"Bahasa Indonesia","id":"language_options-0-48"},{"value":"ga","label":"Gaeilge","id":"language_options-0-49"},{"value":"it","label":"Italiano","id":"language_options-0-50"},{"value":"ja","label":"日本語","id":"language_options-0-51"},{"value":"jw","label":"Jawa","id":"language_options-0-52"},{"value":"kk","label":"Қазақ тілі","id":"language_options-0-53"},{"value":"km","label":"ខ្មែរ","id":"language_options-0-54"},{"value":"ko","label":"한국어","id":"language_options-0-55"},{"value":"ku","label":"Kurdî","id":"language_options-0-56"},{"value":"ky","label":"Кыргызча","id":"language_options-0-57"},{"value":"lo","label":"ລາວ","id":"language_options-0-58"},{"value":"la","label":"Latina","id":"language_options-0-59"},{"value":"lv","label":"Latviešu","id":"language_options-0-60"},{"value":"lt","label":"Lietuvių","id":"language_options-0-61"},{"value":"lb","label":"Lëtzebuergesch","id":"language_options-0-62"},{"value":"mk","label":"Македонски","id":"language_options-0-63"},{"value":"mg","label":"Malagasy","id":"language_options-0-64"},{"value":"ms","label":"Bahasa Melayu","id":"language_options-0-65"},{"value":"mt","label":"Malti","id":"language_options-0-66"},{"value":"mi","label":"Māori","id":"language_options-0-67"},{"value":"mn","label":"Монгол","id":"language_options-0-68"},{"value":"my","label":"မြန်မာ","id":"language_options-0-69"},{"value":"ne","label":"नेपाली","id":"language_options-0-70"},{"value":"no","label":"Norsk","id":"language_options-0-71"},{"value":"ps","label":"پښتو","id":"language_options-0-72"},{"value":"fa","label":"فارسی","id":"language_options-0-73"},{"value":"pl","label":"Polski","id":"language_options-0-74"},{"value":"pt","label":"Português","id":"language_options-0-75"},{"value":"ro","label":"Română","id":"language_options-0-76"},{"value":"ru","label":"Русский","id":"language_options-0-77"},{"value":"sm","label":"Samoan","id":"language_options-0-78"},{"value":"gd","label":"Gàidhlig","id":"language_options-0-79"},{"value":"sr","label":"Српски","id":"language_options-0-80"},{"value":"st","label":"Sesotho","id":"language_options-0-81"},{"value":"sn","label":"Shona","id":"language_options-0-82"},{"value":"si","label":"සිංහල","id":"language_options-0-83"},{"value":"sk","label":"Slovenčina","id":"language_options-0-84"},{"value":"sl","label":"Slovenščina","id":"language_options-0-85"},{"value":"so","label":"Soomaali","id":"language_options-0-86"},{"value":"es","label":"Español","id":"language_options-0-87"},{"value":"su","label":"Basa Sunda","id":"language_options-0-88"},{"value":"sw","label":"Kiswahili","id":"language_options-0-89"},{"value":"sv","label":"Svenska","id":"language_options-0-90"},{"value":"tg","label":"Тоҷикӣ","id":"language_options-0-91"},{"value":"th","label":"ไทย","id":"language_options-0-92"},{"value":"tr","label":"Türkçe","id":"language_options-0-93"},{"value":"uk","label":"Українська","id":"language_options-0-94"},{"value":"uz","label":"O'zbek","id":"language_options-0-95"},{"value":"vi","label":"Tiếng Việt","id":"language_options-0-96"},{"value":"cy","label":"Cymraeg","id":"language_options-0-97"},{"value":"xh","label":"isiXhosa","id":"language_options-0-98"},{"value":"yi","label":"ייִדיש","id":"language_options-0-99"},{"value":"yo","label":"Yorùbá","id":"language_options-0-100"},{"value":"zu","label":"isiZulu","id":"language_options-0-101"}]],"permissions":[[{"value":"pd","label":"see-your-birth-date-sex-and-country","id":"permissions-0-0"},{"value":"cr","label":"see-your-comments-and-likes","id":"permissions-0-1"},{"value":"cw","label":"post-comments-and-likes-as-you","id":"permissions-0-2"},{"value":"wr","label":"see-your-coins-and-wallets","id":"permissions-0-3"},{"value":"ww","label":"create-wallet-requests-as-you","id":"permissions-0-4"},{"value":"fr","label":"see-your-portfolios-and-strategies","id":"permissions-0-5"},{"value":"ar","label":"see-your-accounts-and-events","id":"permissions-0-6"},{"value":"rr","label":"see-your-station-subscriptions","id":"permissions-0-7"},{"value":"sr","label":"see-which-apps-you-installed","id":"permissions-0-8"}]],"sample-options":[[{"id":"low","label":"Low Priority"},{"id":"medium","label":"Medium Priority"},{"id":"high","label":"High Priority"},{"id":"urgent","label":"Urgent"}]]},"pagination":{"default":{"showPageNumbers":true,"maxVisiblePages":5,"variant":"default"}},"patterns":{"alphanumeric":{"name":"alphanumeric","expression":"^(?:[A-Za-z0-9]+)$","message":"alphanumeric-expected"},"aspect-ratio":{"name":"aspect-ratio","expression":"^(?:\\d+(?:\\.\\d+)?:\\d+(?:\\.\\d+)?)$","message":"not-a-valid-aspect-ratio"},"digits-only":{"name":"digits-only","expression":"^(?:\\d+)$","message":"digits-only-expected"},"email":{"name":"email","expression":"^(?:[^@\\s]+@[^@\\s]+\\.[A-Za-z]{2,})$","message":"not-a-valid-email"},"hex-color":{"name":"hex-color","expression":"^(?:#(?:[0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}))$","flags":"i","message":"not-a-valid-hex-color"},"iban":{"name":"iban","expression":"^(?:[A-Z]{2}\\d{2}[A-Z0-9]{11,30})$","flags":"i","message":"not-a-valid-iban"},"letters-only":{"name":"letters-only","expression":"^(?:[A-Za-z]+)$","message":"letters-only-expected"},"no-whitespace":{"name":"no-whitespace","expression":"^(?:\\S+)$","message":"whitespace-not-allowed"},"phone-e164":{"name":"phone-e164","expression":"^(?:\\+[1-9]\\d{7,14})$","message":"not-a-valid-phone"},"postal-code-loose":{"name":"postal-code-loose","expression":"^(?:[A-Za-z0-9][A-Za-z0-9 -]{1,10}[A-Za-z0-9])$","flags":"i","message":"not-a-valid-postal-code"},"slug":{"name":"slug","expression":"^(?:[a-z0-9]+(?:-[a-z0-9]+)*)$","message":"not-a-valid-slug"},"strong-password":{"name":"strong-password","expression":"^(?:(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^A-Za-z0-9]).{8,})$","message":"password-invalid"},"url":{"name":"url","expression":"^(?:https?://[^\\s]+)$","message":"not-a-valid-url"}},"settings":{"user":{"sections":[{"id":"profile","title":"profile","icon":"user","keywords":["name","username","avatar","photo","display"]},{"id":"account","title":"account","icon":"key","keywords":["email","password","security","login","auth"]},{"id":"notifications","title":"notifications","icon":"notification","keywords":["alerts","push","email","notify"]}]}},"sort":{"default":{"sortBy":"","sortOrder":"asc","variant":"default","options":[]}},"theme":{"dark":{"icon":"star","mode":"dark","color":{"background":"#0d1117","border":"#30363d","frame":"#161b22","backgroundLite":"#21262d","text":"#f0f6fc","inverseText":"#0d1117","textSecondary":"#c9d1d9","textTertiary":"#8b949e","textQuaternary":"#6e7681","textQuinary":"#484f58","textSenary":"#383e47","textSeptenary":"#2d333b","textOctonary":"#24292f","textNonary":"#1c2128","mm":"#60a5fa","mmLite":"#93c5fd","mmDark":"#2563eb","focus":"#60a5fa","error":"#f85149","errorLight":"#2e1a1a","warning":"#ff8800","fade":"#6e7681","toolTipBg":"#21262d","toolTipCol":"#f0f6fc","bgFocus":"#262c36","clickEffect":"rgba(255,255,255,.08)","successLite":"#1a2f1a","success":"#3fb950","header":"#2563eb","highlight":"#1e3a8a1a","wealth":"#fd7e14","page":"#0d1117","pageDark":"#010409","focusBg":"rgba(96, 165, 250, 0.25)","modalBackground":"rgba(1, 4, 9, 0.55)","backdropStandard":"rgba(0, 0, 0, 0.3)","backdropGlass":"rgba(0, 0, 0, 0.5)","backdropFrosted":"rgba(0, 0, 0, 0.4)","backdropTheme":"rgba(0, 0, 0, 0.45)","backdropBorder":"rgba(48, 54, 61, 0.5)","backdropFrame":"rgba(22, 27, 34, 0.4)","backdropOverlay":"rgba(0, 0, 0, 0.75)","backdropPopup":"rgba(0, 0, 0, 0.3)","backdropNav":"rgba(22, 27, 34, 0.9)","backdropSidebar":"rgba(22, 27, 34, 0.8)","backdropCard":"rgba(0, 0, 0, 0.5)","backdropSurface":"rgba(0, 0, 0, 0.3)","backdropMm":"rgba(96, 165, 250, 0.15)","backdropError":"rgba(248, 81, 73, 0.15)","backdropWarning":"rgba(255, 136, 0, 0.15)","backdropSuccess":"rgba(63, 185, 80, 0.15)","backdropShadow":"rgba(0, 0, 0, 0.3)","gold":"#FFD700","backdropGold":"rgba(255, 215, 0, 0.15)","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","warningLite":"#2d1d05","info":"#0366d6","infoLite":"#112740"}},"default":{"color":{"background":"#f3f4f6","border":"#e1e4e8","frame":"#fafbfc","backgroundLite":"#f8f9fa","text":"#334955","inverseText":"#ffffff","textSecondary":"#666666","textTertiary":"#888888","textQuaternary":"#999999","textQuinary":"#aaaaaa","textSenary":"#bbbbbb","textSeptenary":"#cccccc","textOctonary":"#dddddd","textNonary":"#eeeeee","mm":"#2563eb","mmLite":"#60a5fa","mmDark":"#1d4ed8","focus":"#2563eb","error":"#EB191A","errorLight":"#fae7fb","warning":"#F77A02","fade":"#A4A4A4","toolTipBg":"#4D4F59","toolTipCol":"#CFD1DD","bgFocus":"#F4F4F4","clickEffect":"rgba(0,0,0,.01)","successLite":"#e4f8cf","success":"#6da82f","header":"#2563eb","highlight":"#c8e5f9","wealth":"#de6130","page":"#fefaf2","pageDark":"#f5efe6","focusBg":"rgba(37, 99, 235, 0.6)","modalBackground":"rgba(0, 0, 0, 0.5)","gold":"#FFD700","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","backdropStandard":"rgba(255, 255, 255, 0.1)","backdropGlass":"rgba(255, 255, 255, 0.25)","backdropFrosted":"rgba(255, 255, 255, 0.15)","backdropTheme":"rgba(255, 255, 255, 0.2)","backdropBorder":"rgba(225, 228, 232, 0.3)","backdropFrame":"rgba(250, 251, 252, 0.15)","backdropOverlay":"rgba(255, 255, 255, 0.75)","backdropPopup":"rgba(255, 255, 255, 0.1)","backdropNav":"rgba(250, 251, 252, 0.8)","backdropSidebar":"rgba(248, 249, 250, 0.15)","backdropCard":"rgba(255, 255, 255, 0.25)","backdropSurface":"rgba(255, 255, 255, 0.1)","backdropMm":"rgba(37, 99, 235, 0.1)","backdropError":"rgba(235, 25, 26, 0.1)","backdropWarning":"rgba(247, 122, 2, 0.1)","backdropSuccess":"rgba(109, 168, 47, 0.1)","backdropShadow":"rgba(0, 0, 0, 0.15)","backdropGold":"rgba(255, 215, 0, 0.15)","warningLite":"#fff4e5","info":"#0366d6","infoLite":"#dbedff"}},"light":{"icon":"sun","mode":"light","color":{"background":"#ffffff","border":"#d0d7de","frame":"#f6f8fa","backgroundLite":"#fafbfc","text":"#24292f","inverseText":"#ffffff","textSecondary":"#656d76","textTertiary":"#8b949e","textQuaternary":"#a0a8b0","textQuinary":"#b6bcc6","textSenary":"#c9d1d9","textSeptenary":"#d7dde3","textOctonary":"#e5e9ed","textNonary":"#f3f4f6","mm":"#2563eb","mmLite":"#60a5fa","mmDark":"#1d4ed8","focus":"#2563eb","error":"#EB191A","errorLight":"#fae7fb","warning":"#F77A02","fade":"#A4A4A4","toolTipBg":"#24292f","toolTipCol":"#ffffff","bgFocus":"#f6f8fa","clickEffect":"rgba(0,0,0,.03)","successLite":"#e4f8cf","success":"#6da82f","header":"#2563eb","highlight":"#dbeafe","wealth":"#de6130","page":"#fefaf2","pageDark":"#f5efe6","focusBg":"rgba(37, 99, 235, 0.6)","modalBackground":"rgba(255, 255, 255, 0.35)","backdropStandard":"rgba(255, 255, 255, 0.1)","backdropGlass":"rgba(255, 255, 255, 0.25)","backdropFrosted":"rgba(255, 255, 255, 0.15)","backdropTheme":"rgba(255, 255, 255, 0.2)","backdropBorder":"rgba(208, 215, 222, 0.3)","backdropFrame":"rgba(246, 248, 250, 0.15)","backdropOverlay":"rgba(255, 255, 255, 0.75)","backdropPopup":"rgba(255, 255, 255, 0.1)","backdropNav":"rgba(250, 251, 252, 0.8)","backdropSidebar":"rgba(246, 248, 250, 0.15)","backdropCard":"rgba(255, 255, 255, 0.25)","backdropSurface":"rgba(255, 255, 255, 0.1)","backdropMm":"rgba(37, 99, 235, 0.1)","backdropError":"rgba(235, 25, 26, 0.1)","backdropWarning":"rgba(247, 122, 2, 0.1)","backdropSuccess":"rgba(109, 168, 47, 0.1)","backdropShadow":"rgba(0, 0, 0, 0.3)","gold":"#FFD700","backdropGold":"rgba(255, 215, 0, 0.15)","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","warningLite":"#fff4e5","info":"#0366d6","infoLite":"#dbedff"}},"theme":[{"fileName":"light","name":"light","mode":"light","icon":"sun"},{"fileName":"default","name":"default","mode":"normal"},{"fileName":"dark","name":"dark","mode":"dark","icon":"star"}]},"docs":{"app-release":{"languages":["en"]},"app-repo":{"languages":["en"]}}}
1
+ {"accordion_groups":{"small_gap":null},"accordions":{"fixed_allocation":{"label":"fixed-allocation","subtitle":"portfolio_targets","open":false,"variant":"flat"},"general_settings":{"label":"settings","subtitle":"strategy_configuration","open":true,"variant":"flat"}},"badges":{"danger_absolute":{"variant":"danger","position":"absolute"},"danger_static":{"variant":"danger","position":"static"},"filter_badge":{"variant":"chip"}},"button_groups":{"comment_edit_actions":{"names":["comment_cancel","comment_save"],"primary":"comment_save","one":true,"buttons":[]},"date_header":{"names":["date_header_back","date_header_title","date_header_next"],"buttons":[]},"form-actions":{"layout":"horizontal","spacing":"medium","alignment":"right","buttons":[]},"nav_footer_button_group":{"vertical":true,"center":true,"size":"sm","color":"textSecondary","buttons":[{"name":"settings_icon_only","icon":"gear","color":"mm","nav":"root_settings","variant":"ghost"},{"name":"theme_icon_only","icon":"star","color":"mm","nav":"root_settings_user_theme","variant":"ghost"},{"name":"current_lang","nav":"root_settings_user_language","label":"en","variant":"ghost"}]},"nav_main_button_group":{"vertical":true,"center":true,"color":"mm","buttons":[{"name":"search","icon":"search","color":"mm","nav":"root_search","variant":"ghost","iconOnly":true},{"name":"notification","title":"Notifications","icon":"notification","iconOnly":true,"variant":"ghost"}]},"nav_user_actions":{"names":["nav_user_edit_profile","nav_user_settings","nav_user_logout"],"size":"sm","one":true,"buttons":[]},"notification_actions":{"names":["decline","accept"],"primary":"accept","one":true,"buttons":[{"name":"decline_notification","label":"decline","variant":"ghost"},{"name":"accept_notification","label":"accept","variant":"primary"}]},"notification_filter":{"names":["all","unread"],"size":"sm","variant":"toggle","buttons":[]},"profile_modal_actions":{"names":["cancel_profile","save_profile"],"primary":"save_profile","center":true,"one":true,"buttons":[]},"reply_actions":{"names":["comment_cancel","post"],"primary":"post","one":true,"buttons":[]},"showcase_nav":{"names":["showcase_back","showcase_back_to_home"],"buttons":[]}},"buttons":{"accept_notification":{"label":"accept","variant":"primary"},"accordion_chevron":{"icon":"chevron-down","variant":"ghost"},"all":{"label":"all","variant":"ghost"},"app_open_arrow":{"icon":"chevron-right","color":"textSecondary","variant":"ghost","label":"open","iconOnly":true},"apps":{"icon":"apps","iconOnly":true,"variant":"ghost","nav":"root_app"},"audience_done":{"label":"done","variant":"primary"},"back_icon":{"icon":"arrow-left","color":"mm","variant":"ghost"},"cancel_profile":{"label":"cancel","icon":"x","variant":"ghost"},"close-icon-only":{"icon":"x","color":"error","variant":"ghost","isOne":true},"comment_cancel":{"label":"comment_cancel","color":"danger"},"comment_hide_replies":{"label":"hide-replies","variant":"ghost","color":"mm"},"comment_reply":{"icon":"comment_reply","variant":"ghost","color":"mm"},"comment_save":{"label":"save-changes","color":"mm","variant":"primary"},"comment_view_replies":{"label":"view-replies","variant":"ghost","color":"mm"},"confirm_cancel":{"label":"cancel","variant":"ghost","fullWidth":true},"current_lang":{"nav":"root_settings_user_language","label":"en","variant":"ghost"},"date_header_back":{"icon":"arrow-left","variant":"ghost"},"date_header_next":{"icon":"arrow-right","variant":"ghost"},"date_header_title":{"variant":"ghost"},"decline_notification":{"label":"decline","variant":"ghost"},"edit_profile":{"label":"edit","icon":"pencil","variant":"primary"},"eye":{"icon":"eye","color":"mm","variant":"ghost"},"eye_close":{"icon":"eye_close","color":"mm","variant":"ghost"},"filter_toggle":{"icon":"adjust","one":true,"variant":"ghost","iconOnly":true},"language":{"icon":"language","variant":"ghost","nav":"root_settings_user_language","label":"language"},"login_icon_only":{"icon":"lock","color":"mm","action":"authenticate","variant":"ghost"},"login_new_user":{"label":"login-with-a-new-user","variant":"secondary"},"logout":{"icon":"lock","label":"logout","variant":"ghost"},"mark_all_read":{"label":"mark-all-read","variant":"ghost"},"menu":{"icon":"menu","variant":"ghost","color":"mm"},"nav_back":{"icon":"chevron_left","color":"mm","variant":"ghost"},"nav_trail_next":{"icon":"chevron-right","color":"mm","variant":"ghost","iconOnly":true},"nav_user_edit_profile":{"icon":"user","label":"edit-profile","variant":"ghost"},"nav_user_logout":{"icon":"lock","label":"logout","variant":"ghost"},"nav_user_settings":{"icon":"gear","label":"settings","variant":"ghost"},"next":{"icon":"arrow-right","label":"next","color":"mm","isRightIcon":true,"variant":"secondary"},"no":{"label":"false","icon":"x","color":"danger","variant":"ghost"},"notification":{"title":"Notifications","icon":"notification","iconOnly":true,"variant":"ghost"},"ok":{"label":"OK","icon":"check","color":"success"},"okay":{"label":"okay","variant":"primary","fullWidth":true},"pagination_first":{"icon":"chevrons-left","variant":"ghost"},"pagination_last":{"icon":"chevrons-right","variant":"ghost"},"pagination_next":{"icon":"arrow-right","variant":"ghost"},"pagination_prev":{"icon":"arrow-left","variant":"ghost"},"post":{"icon":"arrow-right","label":"post","color":"mm","variant":"primary"},"remove_allocation":{"icon":"trash-2","iconOnly":true,"variant":"ghost"},"resend":{"label":"resend","color":"mm"},"reset":{"label":"reset","color":"mm"},"save_allocation":{"label":"save-allocation","icon":"save","variant":"primary"},"save_general":{"label":"save-settings","icon":"check-circle","variant":"primary"},"save_profile":{"label":"save","icon":"check-circle","variant":"primary"},"search":{"icon":"search","color":"mm","nav":"root_search","variant":"ghost","iconOnly":true},"search_clear":{"icon":"x","one":true,"variant":"ghost"},"search_result":{"variant":"ghost","icon":"plus"},"search_toggle":{"icon":"search","one":true,"variant":"ghost","iconOnly":true},"select_user":{"label":"select-user","icon":"user","variant":"primary"},"send_comment":{"icon":"send","color":"mm"},"settings":{"icon":"gear","color":"mm","nav":"root_settings","variant":"ghost","iconOnly":true},"settings_icon_only":{"icon":"gear","color":"mm","nav":"root_settings","variant":"ghost"},"showcase_back":{"iconOnly":true,"icon":"chevron-left","variant":"ghost","label":"back"},"showcase_back_to_home":{"label":"one-ui","icon":"logo","variant":"ghost","nav":"root"},"sign_in":{"icon":"user","label":"sign_in","variant":"primary"},"sort_asc":{"icon":"chevron-up"},"sort_desc":{"icon":"chevron-down"},"stepper_next":{"icon":"chevron-right","label":"next","isRightIcon":true,"variant":"ghost"},"stepper_prev":{"icon":"chevron-left","label":"prev","variant":"ghost"},"submit":{"icon":{"name":"check"},"text":"Submit","type":"primary","disabled":false},"terms":{"name":"terms","label":"terms","nav":"root_info_terms"},"theme":{"icon":"theme","variant":"ghost","nav":"root_settings_user_theme","label":"theme"},"theme_icon_only":{"icon":"star","color":"mm","nav":"root_settings_user_theme","variant":"ghost"},"unread":{"label":"unread","variant":"ghost"},"upload_image":{"icon":"upload","variant":"ghost"},"user":{"icon":"user","iconOnly":true,"variant":"ghost","nav":"root_user"},"x":{"icon":"x","one":true,"variant":"ghost"},"yes":{"label":"true","icon":"check","color":"success"}},"cards":{"beautiful":{"variant":"beautiful","interactive":true},"featured":{"variant":"beautiful","interactive":true,"separator":true},"no_border":{"variant":"no-border","fullHeight":true}},"carousel":{"sample":{"slides":[{"image":"https://images.unsplash.com/photo-1612036782180-6f0b6cd846fe?q=80&w=2070&auto=format&fit=crop","title":"Marvel Universe","description":"Explore the vast Multiverse of Marvel Comics."},{"image":"https://images.unsplash.com/photo-1620336655055-088d06e36bf0?q=80&w=1974&auto=format&fit=crop","title":"DC Universe","description":"Witness the dawn of justice with DC Legends."},{"image":"https://images.unsplash.com/photo-1588497859490-85d1c17db96d?q=80&w=2070&auto=format&fit=crop","title":"Manga Classics","description":"Dive into the world of Japanese storytelling."}],"autoPlay":true,"interval":5000,"showDots":true,"dotsPosition":"bottom","componentPosition":"right"}},"charts":{"default":{"showGlow":false,"showLegend":false,"showPnlZone":false,"showCurrentValue":false,"vPad":12},"dual_area":{"showGlow":true,"showLegend":true,"showPnlZone":true,"showCurrentValue":false,"vPad":0}},"fields":{"allocation_pct":{"type":"number","label":"","placeholder":"0","min":0,"max":100,"step":1},"app_color":{"type":"color","name":"app_color","label":"app-color"},"backgroundColor":{"type":"color","label":"background-color","name":"backgroundColor"},"bevel":{"type":"radio","label":"bevel"},"butt":{"type":"radio","label":"butt"},"canInteract":{"type":"toggle","label":"can-interact","name":"canInteract"},"comment_edit_textarea":{"type":"textarea","name":"comment_edit_textarea","placeholder":"comment_placeholder","variant":"comment-edit"},"comment_text":{"type":"textarea","name":"comment_text","placeholder":"write_placeholder","variant":"comment-edit"},"confirm_password":{"type":"password","label":"confirm-password"},"dob":{"type":"date","label":"date-of-birth"},"edgeSensitivity":{"type":"range","label":"edge-sensitivity","name":"edgeSensitivity","min":0,"max":5},"email":{"type":1,"model":"email","placeholder":"Enter your email","validators":[{"type":"required","message":"Email is required"},{"type":"email","message":"Please enter a valid email"}]},"female":{"type":"radio","label":"female"},"first_name":{"type":"text","label":"first-name","placeholder":"type-text"},"identity":{"type":"selectable_card","label":"","vertical":true,"multiSelect":false,"isCheckboxVisible":false},"invertSvg":{"type":"toggle","label":"invert-svg","name":"invertSvg"},"last_name":{"type":"text","label":"last-name","placeholder":"type-text"},"last_name_search":{"type":"text","label":"last-name","button":"search","buttonAction":"search","placeholder":"type-text"},"lineColor":{"type":"color","label":"line-color","name":"lineColor"},"lineSmoothing":{"type":"range","label":"line-smoothing","name":"lineSmoothing","min":0,"max":10},"linecap":{"type":"radio_group","label":"line-cap","name":"linecap","vertical":true,"options":["butt","round","square"]},"linejoin":{"type":"radio_group","label":"line-join","name":"linejoin","vertical":true,"options":["miter","round","bevel"]},"logo_glyph_paste":{"type":"textarea","name":"logo_glyph_paste","label":"logo-glyph-paste","placeholder":"logo-glyph-paste-placeholder","spellcheck":false},"logo_glyph_upload":{"type":"file","name":"logo_glyph_upload","label":"logo-glyph-upload","accept":[".svg","image/svg+xml"],"maxSize":16384,"readAs":"text","dropZone":true},"male":{"type":"radio","label":"male"},"miter":{"type":"radio","label":"miter"},"nearestPoint":{"type":"range","label":"nearest-point","name":"nearestPoint","min":0,"max":5},"new_password":{"type":"password","label":"new-password"},"noiseReduction":{"type":"range","label":"noise-reduction","name":"noiseReduction","min":0,"max":20},"other":{"type":"radio","label":"other"},"otp":{"type":"otp","label":"one-time-password","length":6},"password":{"type":"password","label":"password"},"playground_format":{"type":"toggle_radio","name":"playground_format","label":"","configs":[{"type":"radio","id":"json","label":"json"},{"type":"radio","id":"yaml","label":"yaml"}]},"re_password":{"type":"password","label":"retype-password"},"round":{"type":"radio","label":"round"},"search_input":{"name":"search","type":"search","label":"","icon":"search","one":true,"placeholder":"Search..."},"service_agreement":{"type":"checkbox","label":"i-agree-to-above-agreement"},"sex":{"type":"radio_group","label":"sex","options":["male","female","other"]},"square":{"type":"radio","label":"square"},"strokeWidth":{"type":"range","label":"stroke-width","name":"strokeWidth","min":1,"max":25},"table_page_size":{"type":"dropdown","label":"rows-per-page","maxWidth":100,"placeholder":"please_select"},"table_search":{"type":"search","label":"","icon":"search","one":true,"maxWidth":240},"threshold":{"type":"range","label":"threshold","name":"threshold","min":0,"max":255},"tree_search":{"type":"search","label":"","icon":"search","one":true},"username_email_mobile":{"type":"text","label":"username-email-mobile","placeholder":"type-text"}},"forms":{"allocation_row":{"inputs":[["allocation_pct"]],"spans":[[12]]},"check_username":{"inputs":[["username_email_mobile"]]},"companies_search":{"inputs":[["search"]],"spans":[[12]]},"contact":{"fields":["email"],"validators":[],"values":{},"isValid":[],"isTouched":[]},"create_user":{"inputs":[["first_name","last_name"],["dob"],["sex","country"],["password"],["re_password"]]},"logo_glyph_input":{"inputs":[["logo_glyph_upload"],["logo_glyph_paste"],["app_color"]]},"reset_password":{"inputs":[["otp"],["new_password"],["confirm_password"]]},"select_identity":{"inputs":[["identity"]]},"service_agreement":{"inputs":[["service_agreement"]]},"settings_general":{"inputs":[["amount"],["max"]],"spans":[[12],[12]]},"svg_edit":{"inputs":[["strokeWidth"],["linecap"],["linejoin"],["invertSvg"],["canInteract"],["backgroundColor"],["lineColor"]]},"svg_tuning":{"inputs":[["threshold"],["edgeSensitivity"],["lineSmoothing"],["noiseReduction"],["nearestPoint"]]},"user_search":{"inputs":[["first_name","last_name_search"]]},"verify_otp":{"inputs":[["otp"]]},"verify_password":{"inputs":[["password"]]}},"graphs":{"animated-graphs":{"dimensions":{"desktop":"60vh","tablet":"50vh","mobile":"40vh"},"curviness":"150px"}},"menu":{"comment_actions":{"icon":{"name":"ellipsis-vertical"},"width":"140px","options":[[{"id":"edit","label":"comment_edit","icon":"pencil"},{"id":"delete","label":"comment_delete","icon":"trash"}]]},"comments_feed_actions":{"icon":{"name":"ellipsis-vertical"},"width":"160px","align":"right","options":[[{"id":"refresh","label":"refresh","icon":"reset"}]]}},"modal":{"authenticate":{"align":"center","resizable":false,"backdropClose":false,"closeProhibited":true,"fullscreen":false,"noBackdrop":false},"bottom":{"one":true,"align":"bottom","backdropClose":true},"center":{"one":true,"align":"center","backdropClose":true},"fullscreen":{"one":true,"fullscreen":true}},"options":{"countries":[[{"id":"ad","value":"AD","label":"andorra"},{"id":"ae","value":"AE","label":"united-arab-emirates"},{"id":"af","value":"AF","label":"afghanistan"},{"id":"ag","value":"AG","label":"antigua-and-barbuda"},{"id":"ai","value":"AI","label":"anguilla"},{"id":"al","value":"AL","label":"albania"},{"id":"am","value":"AM","label":"armenia"},{"id":"ao","value":"AO","label":"angola"},{"id":"aq","value":"AQ","label":"antarctica"},{"id":"ar","value":"AR","label":"argentina"},{"id":"as","value":"AS","label":"american-samoa"},{"id":"at","value":"AT","label":"austria"},{"id":"au","value":"AU","label":"australia"},{"id":"aw","value":"AW","label":"aruba"},{"id":"ax","value":"AX","label":"land-islands"},{"id":"az","value":"AZ","label":"azerbaijan"},{"id":"ba","value":"BA","label":"bosnia-and-herzegovina"},{"id":"bb","value":"BB","label":"barbados"},{"id":"bd","value":"BD","label":"bangladesh"},{"id":"be","value":"BE","label":"belgium"},{"id":"bf","value":"BF","label":"burkina-faso"},{"id":"bg","value":"BG","label":"bulgaria"},{"id":"bh","value":"BH","label":"bahrain"},{"id":"bi","value":"BI","label":"burundi"},{"id":"bj","value":"BJ","label":"benin"},{"id":"bl","value":"BL","label":"saint-barth-lemy"},{"id":"bm","value":"BM","label":"bermuda"},{"id":"bn","value":"BN","label":"brunei"},{"id":"bo","value":"BO","label":"bolivia"},{"id":"bq","value":"BQ","label":"caribbean-netherlands"},{"id":"br","value":"BR","label":"brazil"},{"id":"bs","value":"BS","label":"bahamas"},{"id":"bt","value":"BT","label":"bhutan"},{"id":"bv","value":"BV","label":"bouvet-island"},{"id":"bw","value":"BW","label":"botswana"},{"id":"by","value":"BY","label":"belarus"},{"id":"bz","value":"BZ","label":"belize"},{"id":"ca","value":"CA","label":"canada"},{"id":"cc","value":"CC","label":"cocos-keeling-islands"},{"id":"cd","value":"CD","label":"democratic-republic-of-the-congo"},{"id":"cf","value":"CF","label":"central-african-republic"},{"id":"cg","value":"CG","label":"congo"},{"id":"ch","value":"CH","label":"switzerland"},{"id":"ci","value":"CI","label":"c-te-d-ivoire"},{"id":"ck","value":"CK","label":"cook-islands"},{"id":"cl","value":"CL","label":"chile"},{"id":"cm","value":"CM","label":"cameroon"},{"id":"cn","value":"CN","label":"china"},{"id":"co","value":"CO","label":"colombia"},{"id":"cr","value":"CR","label":"costa-rica"},{"id":"cu","value":"CU","label":"cuba"},{"id":"cv","value":"CV","label":"cabo-verde"},{"id":"cw","value":"CW","label":"cura-ao"},{"id":"cx","value":"CX","label":"christmas-island"},{"id":"cy","value":"CY","label":"cyprus"},{"id":"cz","value":"CZ","label":"czechia"},{"id":"de","value":"DE","label":"germany"},{"id":"dj","value":"DJ","label":"djibouti"},{"id":"dk","value":"DK","label":"denmark"},{"id":"dm","value":"DM","label":"dominica"},{"id":"do","value":"DO","label":"dominican-republic"},{"id":"dz","value":"DZ","label":"algeria"},{"id":"ec","value":"EC","label":"ecuador"},{"id":"ee","value":"EE","label":"estonia"},{"id":"eg","value":"EG","label":"egypt"},{"id":"eh","value":"EH","label":"western-sahara"},{"id":"er","value":"ER","label":"eritrea"},{"id":"es","value":"ES","label":"spain"},{"id":"et","value":"ET","label":"ethiopia"},{"id":"fi","value":"FI","label":"finland"},{"id":"fj","value":"FJ","label":"fiji"},{"id":"fk","value":"FK","label":"falkland-islands"},{"id":"fm","value":"FM","label":"micronesia"},{"id":"fo","value":"FO","label":"faroe-islands"},{"id":"fr","value":"FR","label":"france"},{"id":"ga","value":"GA","label":"gabon"},{"id":"gb","value":"GB","label":"united-kingdom"},{"id":"gd","value":"GD","label":"grenada"},{"id":"ge","value":"GE","label":"georgia"},{"id":"gf","value":"GF","label":"french-guiana"},{"id":"gg","value":"GG","label":"guernsey"},{"id":"gh","value":"GH","label":"ghana"},{"id":"gi","value":"GI","label":"gibraltar"},{"id":"gl","value":"GL","label":"greenland"},{"id":"gm","value":"GM","label":"gambia"},{"id":"gn","value":"GN","label":"guinea"},{"id":"gp","value":"GP","label":"guadeloupe"},{"id":"gq","value":"GQ","label":"equatorial-guinea"},{"id":"gr","value":"GR","label":"greece"},{"id":"gs","value":"GS","label":"south-georgia-and-the-south-sandwich-islands"},{"id":"gt","value":"GT","label":"guatemala"},{"id":"gu","value":"GU","label":"guam"},{"id":"gw","value":"GW","label":"guinea-bissau"},{"id":"gy","value":"GY","label":"guyana"},{"id":"hk","value":"HK","label":"hong-kong"},{"id":"hm","value":"HM","label":"heard-island-and-mcdonald-islands"},{"id":"hn","value":"HN","label":"honduras"},{"id":"hr","value":"HR","label":"croatia"},{"id":"ht","value":"HT","label":"haiti"},{"id":"hu","value":"HU","label":"hungary"},{"id":"id","value":"ID","label":"indonesia"},{"id":"ie","value":"IE","label":"ireland"},{"id":"il","value":"IL","label":"israel"},{"id":"im","value":"IM","label":"isle-of-man"},{"id":"in","value":"IN","label":"india"},{"id":"io","value":"IO","label":"british-indian-ocean-territory"},{"id":"iq","value":"IQ","label":"iraq"},{"id":"ir","value":"IR","label":"iran"},{"id":"is","value":"IS","label":"iceland"},{"id":"it","value":"IT","label":"italy"},{"id":"je","value":"JE","label":"jersey"},{"id":"jm","value":"JM","label":"jamaica"},{"id":"jo","value":"JO","label":"jordan"},{"id":"jp","value":"JP","label":"japan"},{"id":"ke","value":"KE","label":"kenya"},{"id":"kg","value":"KG","label":"kyrgyzstan"},{"id":"kh","value":"KH","label":"cambodia"},{"id":"ki","value":"KI","label":"kiribati"},{"id":"km","value":"KM","label":"comoros"},{"id":"kn","value":"KN","label":"saint-kitts-and-nevis"},{"id":"kp","value":"KP","label":"north-korea"},{"id":"kr","value":"KR","label":"south-korea"},{"id":"kw","value":"KW","label":"kuwait"},{"id":"ky","value":"KY","label":"cayman-islands"},{"id":"kz","value":"KZ","label":"kazakhstan"},{"id":"la","value":"LA","label":"laos"},{"id":"lb","value":"LB","label":"lebanon"},{"id":"lc","value":"LC","label":"saint-lucia"},{"id":"li","value":"LI","label":"liechtenstein"},{"id":"lk","value":"LK","label":"sri-lanka"},{"id":"lr","value":"LR","label":"liberia"},{"id":"ls","value":"LS","label":"lesotho"},{"id":"lt","value":"LT","label":"lithuania"},{"id":"lu","value":"LU","label":"luxembourg"},{"id":"lv","value":"LV","label":"latvia"},{"id":"ly","value":"LY","label":"libya"},{"id":"ma","value":"MA","label":"morocco"},{"id":"mc","value":"MC","label":"monaco"},{"id":"md","value":"MD","label":"moldova"},{"id":"me","value":"ME","label":"montenegro"},{"id":"mf","value":"MF","label":"saint-martin"},{"id":"mg","value":"MG","label":"madagascar"},{"id":"mh","value":"MH","label":"marshall-islands"},{"id":"mk","value":"MK","label":"north-macedonia"},{"id":"ml","value":"ML","label":"mali"},{"id":"mm","value":"MM","label":"myanmar"},{"id":"mn","value":"MN","label":"mongolia"},{"id":"mo","value":"MO","label":"macao"},{"id":"mp","value":"MP","label":"northern-mariana-islands"},{"id":"mq","value":"MQ","label":"martinique"},{"id":"mr","value":"MR","label":"mauritania"},{"id":"ms","value":"MS","label":"montserrat"},{"id":"mt","value":"MT","label":"malta"},{"id":"mu","value":"MU","label":"mauritius"},{"id":"mv","value":"MV","label":"maldives"},{"id":"mw","value":"MW","label":"malawi"},{"id":"mx","value":"MX","label":"mexico"},{"id":"my","value":"MY","label":"malaysia"},{"id":"mz","value":"MZ","label":"mozambique"},{"id":"na","value":"NA","label":"namibia"},{"id":"nc","value":"NC","label":"new-caledonia"},{"id":"ne","value":"NE","label":"niger"},{"id":"nf","value":"NF","label":"norfolk-island"},{"id":"ng","value":"NG","label":"nigeria"},{"id":"ni","value":"NI","label":"nicaragua"},{"id":"nl","value":"NL","label":"netherlands"},{"id":"no","value":"NO","label":"norway"},{"id":"np","value":"NP","label":"nepal"},{"id":"nr","value":"NR","label":"nauru"},{"id":"nu","value":"NU","label":"niue"},{"id":"nz","value":"NZ","label":"new-zealand"},{"id":"om","value":"OM","label":"oman"},{"id":"pa","value":"PA","label":"panama"},{"id":"pe","value":"PE","label":"peru"},{"id":"pf","value":"PF","label":"french-polynesia"},{"id":"pg","value":"PG","label":"papua-new-guinea"},{"id":"ph","value":"PH","label":"philippines"},{"id":"pk","value":"PK","label":"pakistan"},{"id":"pl","value":"PL","label":"poland"},{"id":"pm","value":"PM","label":"saint-pierre-and-miquelon"},{"id":"pn","value":"PN","label":"pitcairn-islands"},{"id":"pr","value":"PR","label":"puerto-rico"},{"id":"ps","value":"PS","label":"palestine"},{"id":"pt","value":"PT","label":"portugal"},{"id":"pw","value":"PW","label":"palau"},{"id":"py","value":"PY","label":"paraguay"},{"id":"qa","value":"QA","label":"qatar"},{"id":"re","value":"RE","label":"r-union"},{"id":"ro","value":"RO","label":"romania"},{"id":"rs","value":"RS","label":"serbia"},{"id":"ru","value":"RU","label":"russia"},{"id":"rw","value":"RW","label":"rwanda"},{"id":"sa","value":"SA","label":"saudi-arabia"},{"id":"sb","value":"SB","label":"solomon-islands"},{"id":"sc","value":"SC","label":"seychelles"},{"id":"sd","value":"SD","label":"sudan"},{"id":"se","value":"SE","label":"sweden"},{"id":"sg","value":"SG","label":"singapore"},{"id":"sh","value":"SH","label":"saint-helena"},{"id":"si","value":"SI","label":"slovenia"},{"id":"sj","value":"SJ","label":"svalbard-and-jan-mayen"},{"id":"sk","value":"SK","label":"slovakia"},{"id":"sl","value":"SL","label":"sierra-leone"},{"id":"sm","value":"SM","label":"san-marino"},{"id":"sn","value":"SN","label":"senegal"},{"id":"so","value":"SO","label":"somalia"},{"id":"sr","value":"SR","label":"suriname"},{"id":"ss","value":"SS","label":"south-sudan"},{"id":"st","value":"ST","label":"s-o-tom-and-pr-ncipe"},{"id":"sv","value":"SV","label":"el-salvador"},{"id":"sx","value":"SX","label":"sint-maarten"},{"id":"sy","value":"SY","label":"syria"},{"id":"sz","value":"SZ","label":"eswatini"},{"id":"tc","value":"TC","label":"turks-and-caicos-islands"},{"id":"td","value":"TD","label":"chad"},{"id":"tf","value":"TF","label":"french-southern-territories"},{"id":"tg","value":"TG","label":"togo"},{"id":"th","value":"TH","label":"thailand"},{"id":"tj","value":"TJ","label":"tajikistan"},{"id":"tk","value":"TK","label":"tokelau"},{"id":"tl","value":"TL","label":"timor-leste"},{"id":"tm","value":"TM","label":"turkmenistan"},{"id":"tn","value":"TN","label":"tunisia"},{"id":"to","value":"TO","label":"tonga"},{"id":"tr","value":"TR","label":"turkey"},{"id":"tt","value":"TT","label":"trinidad-and-tobago"},{"id":"tv","value":"TV","label":"tuvalu"},{"id":"tw","value":"TW","label":"taiwan"},{"id":"tz","value":"TZ","label":"tanzania"},{"id":"ua","value":"UA","label":"ukraine"},{"id":"ug","value":"UG","label":"uganda"},{"id":"um","value":"UM","label":"united-states-minor-outlying-islands"},{"id":"us","value":"US","label":"united-states"},{"id":"uy","value":"UY","label":"uruguay"},{"id":"uz","value":"UZ","label":"uzbekistan"},{"id":"va","value":"VA","label":"vatican-city"},{"id":"vc","value":"VC","label":"saint-vincent-and-the-grenadines"},{"id":"ve","value":"VE","label":"venezuela"},{"id":"vg","value":"VG","label":"virgin-islands-british"},{"id":"vi","value":"VI","label":"virgin-islands-u-s"},{"id":"vn","value":"VN","label":"vietnam"},{"id":"vu","value":"VU","label":"vanuatu"},{"id":"wf","value":"WF","label":"wallis-and-futuna"},{"id":"ws","value":"WS","label":"samoa"},{"id":"ye","value":"YE","label":"yemen"},{"id":"yt","value":"YT","label":"mayotte"},{"id":"za","value":"ZA","label":"south-africa"},{"id":"zm","value":"ZM","label":"zambia"},{"id":"zw","value":"ZW","label":"zimbabwe"}]],"file_accept":[[{"value":"image/*","label":"Any image","id":"file_accept-0-0"},{"value":".png","label":"PNG","id":"file_accept-0-1"},{"value":".jpg","label":"JPG","id":"file_accept-0-2"},{"value":".jpeg","label":"JPEG","id":"file_accept-0-3"},{"value":".svg","label":"SVG","id":"file_accept-0-4"},{"value":".gif","label":"GIF","id":"file_accept-0-5"},{"value":".webp","label":"WEBP","id":"file_accept-0-6"},{"value":".pdf","label":"PDF","id":"file_accept-0-7"},{"value":".txt","label":"TXT","id":"file_accept-0-8"},{"value":".md","label":"Markdown","id":"file_accept-0-9"},{"value":".csv","label":"CSV","id":"file_accept-0-10"},{"value":".json","label":"JSON","id":"file_accept-0-11"},{"value":".xlsx","label":"XLSX","id":"file_accept-0-12"},{"value":".docx","label":"DOCX","id":"file_accept-0-13"},{"value":".zip","label":"ZIP","id":"file_accept-0-14"},{"value":"video/*","label":"Any video","id":"file_accept-0-15"},{"value":"audio/*","label":"Any audio","id":"file_accept-0-16"}]],"language_options":[[{"value":"en","label":"English","id":"language_options-0-0"},{"value":"hi","label":"हिन्दी","id":"language_options-0-1"},{"value":"bn","label":"বাংলা","id":"language_options-0-2"},{"value":"pa","label":"ਪੰਜਾਬੀ","id":"language_options-0-3"},{"value":"ta","label":"தமிழ்","id":"language_options-0-4"},{"value":"te","label":"తెలుగు","id":"language_options-0-5"},{"value":"mr","label":"मराठी","id":"language_options-0-6"},{"value":"gu","label":"ગુજરાતી","id":"language_options-0-7"},{"value":"or","label":"ଓଡ଼ିଆ","id":"language_options-0-8"},{"value":"ml","label":"മലയാളം","id":"language_options-0-9"},{"value":"kn","label":"ಕನ್ನಡ","id":"language_options-0-10"},{"value":"ur","label":"اردو","id":"language_options-0-11"},{"value":"af","label":"Afrikaans","id":"language_options-0-12"},{"value":"sq","label":"Shqip","id":"language_options-0-13"},{"value":"am","label":"አማርኛ","id":"language_options-0-14"},{"value":"ar","label":"العربية","id":"language_options-0-15"},{"value":"hy","label":"Հայերեն","id":"language_options-0-16"},{"value":"az","label":"Azərbaycan dili","id":"language_options-0-17"},{"value":"eu","label":"Euskara","id":"language_options-0-18"},{"value":"be","label":"Беларуская","id":"language_options-0-19"},{"value":"bg","label":"Български","id":"language_options-0-20"},{"value":"bs","label":"Bosanski","id":"language_options-0-21"},{"value":"ca","label":"Català","id":"language_options-0-22"},{"value":"ceb","label":"Cebuano","id":"language_options-0-23"},{"value":"ny","label":"Chichewa","id":"language_options-0-24"},{"value":"zh","label":"中文","id":"language_options-0-25"},{"value":"co","label":"Corsu","id":"language_options-0-26"},{"value":"hr","label":"Hrvatski","id":"language_options-0-27"},{"value":"cs","label":"Čeština","id":"language_options-0-28"},{"value":"da","label":"Dansk","id":"language_options-0-29"},{"value":"nl","label":"Nederlands","id":"language_options-0-30"},{"value":"eo","label":"Esperanto","id":"language_options-0-31"},{"value":"et","label":"Eesti","id":"language_options-0-32"},{"value":"tl","label":"Filipino","id":"language_options-0-33"},{"value":"fi","label":"Suomi","id":"language_options-0-34"},{"value":"fr","label":"Français","id":"language_options-0-35"},{"value":"fy","label":"Frysk","id":"language_options-0-36"},{"value":"gl","label":"Galego","id":"language_options-0-37"},{"value":"ka","label":"ქართული","id":"language_options-0-38"},{"value":"de","label":"Deutsch","id":"language_options-0-39"},{"value":"el","label":"Ελληνικά","id":"language_options-0-40"},{"value":"ha","label":"Hausa","id":"language_options-0-41"},{"value":"haw","label":"Hawaiʻi","id":"language_options-0-42"},{"value":"iw","label":"עברית","id":"language_options-0-43"},{"value":"hmn","label":"Hmong","id":"language_options-0-44"},{"value":"hu","label":"Magyar","id":"language_options-0-45"},{"value":"is","label":"Íslenska","id":"language_options-0-46"},{"value":"ig","label":"Igbo","id":"language_options-0-47"},{"value":"id","label":"Bahasa Indonesia","id":"language_options-0-48"},{"value":"ga","label":"Gaeilge","id":"language_options-0-49"},{"value":"it","label":"Italiano","id":"language_options-0-50"},{"value":"ja","label":"日本語","id":"language_options-0-51"},{"value":"jw","label":"Jawa","id":"language_options-0-52"},{"value":"kk","label":"Қазақ тілі","id":"language_options-0-53"},{"value":"km","label":"ខ្មែរ","id":"language_options-0-54"},{"value":"ko","label":"한국어","id":"language_options-0-55"},{"value":"ku","label":"Kurdî","id":"language_options-0-56"},{"value":"ky","label":"Кыргызча","id":"language_options-0-57"},{"value":"lo","label":"ລາວ","id":"language_options-0-58"},{"value":"la","label":"Latina","id":"language_options-0-59"},{"value":"lv","label":"Latviešu","id":"language_options-0-60"},{"value":"lt","label":"Lietuvių","id":"language_options-0-61"},{"value":"lb","label":"Lëtzebuergesch","id":"language_options-0-62"},{"value":"mk","label":"Македонски","id":"language_options-0-63"},{"value":"mg","label":"Malagasy","id":"language_options-0-64"},{"value":"ms","label":"Bahasa Melayu","id":"language_options-0-65"},{"value":"mt","label":"Malti","id":"language_options-0-66"},{"value":"mi","label":"Māori","id":"language_options-0-67"},{"value":"mn","label":"Монгол","id":"language_options-0-68"},{"value":"my","label":"မြန်မာ","id":"language_options-0-69"},{"value":"ne","label":"नेपाली","id":"language_options-0-70"},{"value":"no","label":"Norsk","id":"language_options-0-71"},{"value":"ps","label":"پښتو","id":"language_options-0-72"},{"value":"fa","label":"فارسی","id":"language_options-0-73"},{"value":"pl","label":"Polski","id":"language_options-0-74"},{"value":"pt","label":"Português","id":"language_options-0-75"},{"value":"ro","label":"Română","id":"language_options-0-76"},{"value":"ru","label":"Русский","id":"language_options-0-77"},{"value":"sm","label":"Samoan","id":"language_options-0-78"},{"value":"gd","label":"Gàidhlig","id":"language_options-0-79"},{"value":"sr","label":"Српски","id":"language_options-0-80"},{"value":"st","label":"Sesotho","id":"language_options-0-81"},{"value":"sn","label":"Shona","id":"language_options-0-82"},{"value":"si","label":"සිංහල","id":"language_options-0-83"},{"value":"sk","label":"Slovenčina","id":"language_options-0-84"},{"value":"sl","label":"Slovenščina","id":"language_options-0-85"},{"value":"so","label":"Soomaali","id":"language_options-0-86"},{"value":"es","label":"Español","id":"language_options-0-87"},{"value":"su","label":"Basa Sunda","id":"language_options-0-88"},{"value":"sw","label":"Kiswahili","id":"language_options-0-89"},{"value":"sv","label":"Svenska","id":"language_options-0-90"},{"value":"tg","label":"Тоҷикӣ","id":"language_options-0-91"},{"value":"th","label":"ไทย","id":"language_options-0-92"},{"value":"tr","label":"Türkçe","id":"language_options-0-93"},{"value":"uk","label":"Українська","id":"language_options-0-94"},{"value":"uz","label":"O'zbek","id":"language_options-0-95"},{"value":"vi","label":"Tiếng Việt","id":"language_options-0-96"},{"value":"cy","label":"Cymraeg","id":"language_options-0-97"},{"value":"xh","label":"isiXhosa","id":"language_options-0-98"},{"value":"yi","label":"ייִדיש","id":"language_options-0-99"},{"value":"yo","label":"Yorùbá","id":"language_options-0-100"},{"value":"zu","label":"isiZulu","id":"language_options-0-101"}]],"permissions":[[{"value":"pd","label":"see-your-birth-date-sex-and-country","id":"permissions-0-0"},{"value":"cr","label":"see-your-comments-and-likes","id":"permissions-0-1"},{"value":"cw","label":"post-comments-and-likes-as-you","id":"permissions-0-2"},{"value":"wr","label":"see-your-coins-and-wallets","id":"permissions-0-3"},{"value":"ww","label":"create-wallet-requests-as-you","id":"permissions-0-4"},{"value":"fr","label":"see-your-portfolios-and-strategies","id":"permissions-0-5"},{"value":"ar","label":"see-your-accounts-and-events","id":"permissions-0-6"},{"value":"rr","label":"see-your-station-subscriptions","id":"permissions-0-7"},{"value":"sr","label":"see-which-apps-you-installed","id":"permissions-0-8"}]],"sample-options":[[{"id":"low","label":"Low Priority"},{"id":"medium","label":"Medium Priority"},{"id":"high","label":"High Priority"},{"id":"urgent","label":"Urgent"}]]},"pagination":{"default":{"showPageNumbers":true,"maxVisiblePages":5,"variant":"default"}},"patterns":{"alphanumeric":{"name":"alphanumeric","expression":"^(?:[A-Za-z0-9]+)$","message":"alphanumeric-expected"},"aspect-ratio":{"name":"aspect-ratio","expression":"^(?:\\d+(?:\\.\\d+)?:\\d+(?:\\.\\d+)?)$","message":"not-a-valid-aspect-ratio"},"digits-only":{"name":"digits-only","expression":"^(?:\\d+)$","message":"digits-only-expected"},"email":{"name":"email","expression":"^(?:[^@\\s]+@[^@\\s]+\\.[A-Za-z]{2,})$","message":"not-a-valid-email"},"hex-color":{"name":"hex-color","expression":"^(?:#(?:[0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}))$","flags":"i","message":"not-a-valid-hex-color"},"iban":{"name":"iban","expression":"^(?:[A-Z]{2}\\d{2}[A-Z0-9]{11,30})$","flags":"i","message":"not-a-valid-iban"},"letters-only":{"name":"letters-only","expression":"^(?:[A-Za-z]+)$","message":"letters-only-expected"},"no-whitespace":{"name":"no-whitespace","expression":"^(?:\\S+)$","message":"whitespace-not-allowed"},"phone-e164":{"name":"phone-e164","expression":"^(?:\\+[1-9]\\d{7,14})$","message":"not-a-valid-phone"},"postal-code-loose":{"name":"postal-code-loose","expression":"^(?:[A-Za-z0-9][A-Za-z0-9 -]{1,10}[A-Za-z0-9])$","flags":"i","message":"not-a-valid-postal-code"},"slug":{"name":"slug","expression":"^(?:[a-z0-9]+(?:-[a-z0-9]+)*)$","message":"not-a-valid-slug"},"strong-password":{"name":"strong-password","expression":"^(?:(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^A-Za-z0-9]).{8,})$","message":"password-invalid"},"url":{"name":"url","expression":"^(?:https?://[^\\s]+)$","message":"not-a-valid-url"}},"settings":{"user":{"sections":[{"id":"profile","title":"profile","icon":"user","keywords":["name","username","avatar","photo","display"]},{"id":"account","title":"account","icon":"key","keywords":["email","password","security","login","auth"]},{"id":"notifications","title":"notifications","icon":"notification","keywords":["alerts","push","email","notify"]}]}},"sort":{"default":{"sortBy":"","sortOrder":"asc","variant":"default","options":[]}},"theme":{"dark":{"icon":"star","mode":"dark","color":{"background":"#0d1117","border":"#30363d","frame":"#161b22","backgroundLite":"#21262d","text":"#f0f6fc","inverseText":"#0d1117","textSecondary":"#c9d1d9","textTertiary":"#8b949e","textQuaternary":"#6e7681","textQuinary":"#484f58","textSenary":"#383e47","textSeptenary":"#2d333b","textOctonary":"#24292f","textNonary":"#1c2128","mm":"#60a5fa","mmLite":"#93c5fd","mmDark":"#2563eb","focus":"#60a5fa","error":"#f85149","errorLight":"#2e1a1a","warning":"#ff8800","fade":"#6e7681","toolTipBg":"#21262d","toolTipCol":"#f0f6fc","bgFocus":"#262c36","clickEffect":"rgba(255,255,255,.08)","successLite":"#1a2f1a","success":"#3fb950","header":"#2563eb","highlight":"#1e3a8a1a","wealth":"#fd7e14","page":"#0d1117","pageDark":"#010409","focusBg":"rgba(96, 165, 250, 0.25)","modalBackground":"rgba(1, 4, 9, 0.55)","backdropStandard":"rgba(0, 0, 0, 0.3)","backdropGlass":"rgba(0, 0, 0, 0.5)","backdropFrosted":"rgba(0, 0, 0, 0.4)","backdropTheme":"rgba(0, 0, 0, 0.45)","backdropBorder":"rgba(48, 54, 61, 0.5)","backdropFrame":"rgba(22, 27, 34, 0.4)","backdropOverlay":"rgba(0, 0, 0, 0.75)","backdropPopup":"rgba(0, 0, 0, 0.3)","backdropNav":"rgba(22, 27, 34, 0.9)","backdropSidebar":"rgba(22, 27, 34, 0.8)","backdropCard":"rgba(0, 0, 0, 0.5)","backdropSurface":"rgba(0, 0, 0, 0.3)","backdropMm":"rgba(96, 165, 250, 0.15)","backdropError":"rgba(248, 81, 73, 0.15)","backdropWarning":"rgba(255, 136, 0, 0.15)","backdropSuccess":"rgba(63, 185, 80, 0.15)","backdropShadow":"rgba(0, 0, 0, 0.3)","gold":"#FFD700","backdropGold":"rgba(255, 215, 0, 0.15)","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","warningLite":"#2d1d05","info":"#0366d6","infoLite":"#112740"}},"default":{"color":{"background":"#f3f4f6","border":"#e1e4e8","frame":"#fafbfc","backgroundLite":"#f8f9fa","text":"#334955","inverseText":"#ffffff","textSecondary":"#666666","textTertiary":"#888888","textQuaternary":"#999999","textQuinary":"#aaaaaa","textSenary":"#bbbbbb","textSeptenary":"#cccccc","textOctonary":"#dddddd","textNonary":"#eeeeee","mm":"#2563eb","mmLite":"#60a5fa","mmDark":"#1d4ed8","focus":"#2563eb","error":"#EB191A","errorLight":"#fae7fb","warning":"#F77A02","fade":"#A4A4A4","toolTipBg":"#4D4F59","toolTipCol":"#CFD1DD","bgFocus":"#F4F4F4","clickEffect":"rgba(0,0,0,.01)","successLite":"#e4f8cf","success":"#6da82f","header":"#2563eb","highlight":"#c8e5f9","wealth":"#de6130","page":"#fefaf2","pageDark":"#f5efe6","focusBg":"rgba(37, 99, 235, 0.6)","modalBackground":"rgba(0, 0, 0, 0.5)","gold":"#FFD700","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","backdropStandard":"rgba(255, 255, 255, 0.1)","backdropGlass":"rgba(255, 255, 255, 0.25)","backdropFrosted":"rgba(255, 255, 255, 0.15)","backdropTheme":"rgba(255, 255, 255, 0.2)","backdropBorder":"rgba(225, 228, 232, 0.3)","backdropFrame":"rgba(250, 251, 252, 0.15)","backdropOverlay":"rgba(255, 255, 255, 0.75)","backdropPopup":"rgba(255, 255, 255, 0.1)","backdropNav":"rgba(250, 251, 252, 0.8)","backdropSidebar":"rgba(248, 249, 250, 0.15)","backdropCard":"rgba(255, 255, 255, 0.25)","backdropSurface":"rgba(255, 255, 255, 0.1)","backdropMm":"rgba(37, 99, 235, 0.1)","backdropError":"rgba(235, 25, 26, 0.1)","backdropWarning":"rgba(247, 122, 2, 0.1)","backdropSuccess":"rgba(109, 168, 47, 0.1)","backdropShadow":"rgba(0, 0, 0, 0.15)","backdropGold":"rgba(255, 215, 0, 0.15)","warningLite":"#fff4e5","info":"#0366d6","infoLite":"#dbedff"}},"light":{"icon":"sun","mode":"light","color":{"background":"#ffffff","border":"#d0d7de","frame":"#f6f8fa","backgroundLite":"#fafbfc","text":"#24292f","inverseText":"#ffffff","textSecondary":"#656d76","textTertiary":"#8b949e","textQuaternary":"#a0a8b0","textQuinary":"#b6bcc6","textSenary":"#c9d1d9","textSeptenary":"#d7dde3","textOctonary":"#e5e9ed","textNonary":"#f3f4f6","mm":"#2563eb","mmLite":"#60a5fa","mmDark":"#1d4ed8","focus":"#2563eb","error":"#EB191A","errorLight":"#fae7fb","warning":"#F77A02","fade":"#A4A4A4","toolTipBg":"#24292f","toolTipCol":"#ffffff","bgFocus":"#f6f8fa","clickEffect":"rgba(0,0,0,.03)","successLite":"#e4f8cf","success":"#6da82f","header":"#2563eb","highlight":"#dbeafe","wealth":"#de6130","page":"#fefaf2","pageDark":"#f5efe6","focusBg":"rgba(37, 99, 235, 0.6)","modalBackground":"rgba(255, 255, 255, 0.35)","backdropStandard":"rgba(255, 255, 255, 0.1)","backdropGlass":"rgba(255, 255, 255, 0.25)","backdropFrosted":"rgba(255, 255, 255, 0.15)","backdropTheme":"rgba(255, 255, 255, 0.2)","backdropBorder":"rgba(208, 215, 222, 0.3)","backdropFrame":"rgba(246, 248, 250, 0.15)","backdropOverlay":"rgba(255, 255, 255, 0.75)","backdropPopup":"rgba(255, 255, 255, 0.1)","backdropNav":"rgba(250, 251, 252, 0.8)","backdropSidebar":"rgba(246, 248, 250, 0.15)","backdropCard":"rgba(255, 255, 255, 0.25)","backdropSurface":"rgba(255, 255, 255, 0.1)","backdropMm":"rgba(37, 99, 235, 0.1)","backdropError":"rgba(235, 25, 26, 0.1)","backdropWarning":"rgba(247, 122, 2, 0.1)","backdropSuccess":"rgba(109, 168, 47, 0.1)","backdropShadow":"rgba(0, 0, 0, 0.3)","gold":"#FFD700","backdropGold":"rgba(255, 215, 0, 0.15)","easeOutExpo":"cubic-bezier(0.16, 1, 0.3, 1)","warningLite":"#fff4e5","info":"#0366d6","infoLite":"#dbedff"}},"theme":[{"fileName":"light","name":"light","mode":"light","icon":"sun"},{"fileName":"default","name":"default","mode":"normal"},{"fileName":"dark","name":"dark","mode":"dark","icon":"star"}]},"docs":{"app-release":{"languages":["en"]},"app-repo":{"languages":["en"]}}}
@@ -1,5 +1,5 @@
1
- import { B as IS_DESIGN_MODE, p as AssetStore, v as HttpService } from "./magmonium-one-size-converter-C5fG_dgw.mjs";
2
- import { m as ThemeStore, t as applyColorsToElement } from "./magmonium-one-color-utl-D86GGpz5.mjs";
1
+ import { B as IS_DESIGN_MODE, p as AssetStore, v as HttpService } from "./magmonium-one-size-converter-BOBD8nHy.mjs";
2
+ import { m as ThemeStore, t as applyColorsToElement } from "./magmonium-one-color-utl-DI5p24iQ.mjs";
3
3
  import * as i0 from "@angular/core";
4
4
  import { ChangeDetectionStrategy, Component, ElementRef, computed, effect, inject, input, model, signal, untracked } from "@angular/core";
5
5
  import { catchError, of } from "rxjs";
@@ -252,4 +252,4 @@ const toAttrNumber = (value) => {
252
252
  };
253
253
  export { resolveConfigAsset as i, toAttrNumber as n, ConfigComponent as r, toAttrBool as t };
254
254
 
255
- //# sourceMappingURL=magmonium-one-attribute-value-DCTXt4Sr.mjs.map
255
+ //# sourceMappingURL=magmonium-one-attribute-value-C1lqou2L.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-attribute-value-DCTXt4Sr.mjs","names":[],"sources":["../../../../libs/one/src/lib/shared/functions/config/resolve-config-asset.ts","../../../../libs/one/src/lib/shared/lib/components/config-component.ts","../../../../libs/one/src/lib/shared/functions/config/attribute-value.ts"],"sourcesContent":["import { catchError, Observable, of } from 'rxjs';\nimport { AssetStore } from '../../stores/asset.store';\nimport { Config } from '../../type/config/config-type';\n\n/**\n * Resolves a config asset by name via `AssetStore`, outside any component\n * injection context — callable from directives, stores, or components alike.\n */\nexport function resolveConfigAsset<T extends Config = Config>(\n assetStore: InstanceType<typeof AssetStore>,\n subFolder: string | undefined,\n name: string | undefined,\n isOne: boolean,\n remoteBaseUrl: string | undefined\n): Observable<Partial<T>> {\n if (!name) return of({});\n\n const parts = [subFolder, name].filter(\n (part): part is string => typeof part !== 'undefined'\n );\n const type = parts.length > 1 ? parts.slice(0, -1).join('/') : parts[0];\n const assetName = parts[parts.length - 1];\n\n return assetStore\n .resolve<Partial<T>>(type, assetName, isOne, remoteBaseUrl)\n .pipe(catchError(() => of({})));\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n input,\n model,\n signal,\n untracked,\n} from '@angular/core';\nimport { rxResource } from '@angular/core/rxjs-interop';\nimport { AssetStore } from '../../stores/asset.store';\nimport { Config } from '../../type/config/config-type';\nimport { resolveConfigAsset } from '../../functions/config/resolve-config-asset';\nimport { applyColorsToElement, ColorPallet } from '../theme/lib/color-utl';\nimport { ThemeStore } from '../theme/lib/theme-store';\nimport { HttpService } from '../../services/http';\nimport { IS_DESIGN_MODE } from '../../config/tokens';\n\n@Component({\n imports: [],\n selector: 'm-config',\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ConfigComponent<T extends Config = Config> {\n config = model<Partial<T>>();\n name = input<string | undefined>();\n baseUrl = input<string | undefined>();\n protected readonly subFolder: string | undefined = undefined;\n // Off for components whose settings are written on the tag: a Section Form\n // and its Items take every key as an attribute (ADR 0010), so their `name`\n // is the data key a form models by and not a `forms/*.yml` or\n // `fields/*.yml` to fetch. Config assets stay with <m-form> and its\n // <m-input-wrapper>, the pair that is reached by name alone.\n protected readonly resolvesConfigAsset: boolean = true;\n one = input<boolean | undefined>(undefined);\n protected readonly elementRef = inject(ElementRef);\n protected readonly isFromOne = computed(() => {\n if (this.one() || this.config()?.one) {\n return true;\n }\n return this.elementRef.nativeElement.tagName.startsWith('M-ONE');\n });\n protected readonly themeStore = inject(ThemeStore);\n\n // True when this component sits inside a visual editor's canvas (DesignMode).\n // Subclasses use it to render editor-only affordances — placeholder boxes for\n // otherwise zero-sized nodes, drop outlines, inert interactions.\n protected readonly isDesignMode = !!inject(IS_DESIGN_MODE, {\n optional: true,\n });\n\n protected readonly pallet = signal<ColorPallet | undefined>(undefined);\n\n remote = input<string | undefined>();\n protected readonly assetStore = inject(AssetStore);\n private readonly http = inject(HttpService);\n private readonly previousName = signal<string | undefined>(undefined);\n // Protected: a subclass resolving an asset of its own — a Field's accepted\n // shapes — has to reach the same Remote its config came from.\n protected readonly remoteBaseUrl = computed<string | undefined>(() => {\n const remoteId = this.remote() ?? this.config()?.remote;\n return remoteId ? this.http.buildWcAssetBaseUrl(remoteId) : undefined;\n });\n private readonly assetsPath = computed<\n | {\n name: string;\n isOne: boolean;\n remoteBaseUrl: string | undefined;\n }\n | undefined\n >(() => {\n const name = this.name();\n if (!name || !this.resolvesConfigAsset) return undefined;\n return {\n name,\n isOne: this.isFromOne(),\n remoteBaseUrl: this.remoteBaseUrl(),\n };\n });\n private readonly storedConfig = rxResource({\n params: () => this.assetsPath(),\n stream: ({ params }) =>\n resolveConfigAsset<T>(\n this.assetStore,\n this.subFolder,\n params?.name,\n params?.isOne ?? false,\n params?.remoteBaseUrl\n ),\n });\n\n // The `name` the resolved asset declares for itself, which is not always the\n // filename it was found under: fields/label_key.yml declares `label`, so a\n // picker asset and a plain textarea asset can drive one config key. Exposed\n // because `config().name` is stamped with the filename — that is what\n // resolves the asset — and a subclass binding to the declared key needs the\n // other half.\n protected readonly declaredName = computed(\n () => (this.storedConfig.value() as Config | undefined)?.name\n );\n\n // Keep track of manual updates cumulatively to support delta updates\n private readonly manualConfig = signal<Partial<T>>({});\n // Prevents syncManualConfig from treating internal updateConfig writes as external input\n private readonly _internalConfigWritePending = signal(false);\n\n /** Override in subclasses to provide component-level config overrides from individual inputs. */\n protected resolveComponentOverrides(): Partial<T> {\n return {};\n }\n\n constructor() {\n effect(this.syncManualConfig);\n effect(this.updateConfig);\n effect(this.updatePallet);\n }\n\n private readonly syncManualConfig = () => {\n const current = this.config();\n if (!current) return;\n\n untracked(() => {\n // Skip writes that originated from updateConfig — they are already merged\n if (this._internalConfigWritePending()) {\n this._internalConfigWritePending.set(false);\n return;\n }\n\n const prev = this.manualConfig();\n\n const merged = {\n ...current,\n };\n\n const allKeys = new Set([...Object.keys(merged), ...Object.keys(prev)]);\n const changed = [...allKeys].some((k) => {\n const inMerged = Object.prototype.hasOwnProperty.call(merged, k);\n const inPrev = Object.prototype.hasOwnProperty.call(prev, k);\n return (\n inMerged !== inPrev ||\n (merged as Record<string, unknown>)[k] !==\n (prev as Record<string, unknown>)[k]\n );\n });\n\n if (changed) {\n this.manualConfig.set(merged);\n }\n });\n };\n\n protected get defaultColor(): string {\n return 'mm';\n }\n\n private readonly updatePallet = (): void => {\n const config = this.config();\n if (!config) {\n return;\n }\n // Scalar inputs override the resolved config everywhere else. Apply the\n // same precedence to the host palette so its contrast and opposite values\n // cannot lag behind an explicit `color` input.\n const color =\n this.resolveComponentOverrides().color ??\n config.color ??\n this.defaultColor;\n this.pallet.set(\n applyColorsToElement(\n color,\n this.themeStore.color(),\n this.elementRef.nativeElement\n )\n );\n };\n\n private readonly updateConfig = () => {\n const currentName = untracked(() => this.name());\n const prevName = untracked(() => this.previousName());\n const storedConfigValue = this.storedConfig.value();\n const isLoading = this.storedConfig.isLoading();\n const manual = this.manualConfig();\n const componentOverrides = this.resolveComponentOverrides();\n\n const nameChanged = currentName !== prevName && prevName !== undefined;\n\n if (nameChanged) {\n // Clear manual config on name change to start fresh with new asset\n this.manualConfig.set({});\n this._internalConfigWritePending.set(true);\n this.config.set({\n ...((storedConfigValue ?? {}) as T),\n ...componentOverrides,\n name: currentName,\n remote: this.remote() ?? (storedConfigValue as Partial<T>)?.remote,\n isLoading,\n } as T);\n } else {\n untracked(() => {\n const currentConfig = this.config();\n const merged = {\n ...((storedConfigValue ?? {}) as Partial<T>),\n ...(manual as T),\n ...componentOverrides,\n name: currentName ?? currentConfig?.name,\n baseUrl: this.baseUrl() ?? currentConfig?.baseUrl,\n remote:\n this.remote() ??\n (storedConfigValue as Partial<T>)?.remote ??\n currentConfig?.remote,\n isLoading,\n } as T;\n\n const prev = currentConfig ?? {};\n const allKeys = new Set([...Object.keys(merged), ...Object.keys(prev)]);\n const same = [...allKeys].every((k) => {\n const inMerged = Object.prototype.hasOwnProperty.call(merged, k);\n const inPrev = Object.prototype.hasOwnProperty.call(prev, k);\n return (\n inMerged === inPrev &&\n (merged as Record<string, unknown>)[k] ===\n (prev as Record<string, unknown>)[k]\n );\n });\n if (same) return;\n\n this._internalConfigWritePending.set(true);\n this.config.set(merged);\n });\n }\n this.previousName.set(currentName);\n };\n}\n","// A component's scalar settings ride on its tag (ADR 0010), and an attribute\n// is a string even when the value is not. These are what a\n// `resolveComponentOverrides()` runs an attribute through before folding it\n// into the config the component would otherwise have read from a YAML asset.\n\n/**\n * A bare attribute (`required`, `fullWidth`) arrives as '', which is HTML for\n * \"present\" — the one spelling that has to mean true rather than empty. Only\n * the literal string 'false' reads as false, so `[required]=\"false\"` and\n * `required=\"false\"` agree; without that, a non-empty string would reach a\n * `boolean` input as truthy and an unticked toggle would render as ticked.\n */\nexport const toAttrBool = (\n value: boolean | string | undefined\n): boolean | undefined => {\n if (value === undefined) return undefined;\n if (typeof value === 'boolean') return value;\n return value.trim().toLowerCase() !== 'false';\n};\n\n/**\n * A numeric string becomes a number so the inputs reading these get the type\n * they expect. Anything else passes through as written — `maxWidth: 50%` and a\n * date format are legitimately non-numeric, and an empty attribute is an unset\n * rather than a zero.\n */\nexport const toAttrNumber = (\n value: number | string | undefined\n): number | string | undefined => {\n if (value === undefined || typeof value === 'number') return value;\n const trimmed = value.trim();\n if (trimmed === '') return undefined;\n const numeric = Number(trimmed);\n return Number.isNaN(numeric) ? value : numeric;\n};\n"],"mappings":";;;;;;AAQA,SAAgB,mBACd,YACA,WACA,MACA,OACA,eAAiC;CAEjC,IAAI,CAAC,MAAM,OAAO,GAAG,CAAA,CAAE;CAEvB,MAAM,QAAQ,CAAC,WAAW,IAAI,CAAC,CAAC,QAC7B,SAAyB,OAAO,SAAS,WAAW;CAEvD,MAAM,OAAO,MAAM,SAAS,IAAI,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,KAAK,GAAG,IAAI,MAAM;CACrE,MAAM,YAAY,MAAM,MAAM,SAAS;CAEvC,OAAO,WACJ,QAAoB,MAAM,WAAW,OAAO,aAAa,CAAC,CAC1D,KAAK,iBAAiB,GAAG,CAAA,CAAE,CAAC,CAAC;AAClC;ACCA,IAAa,kBAAb,MAAa,gBAAe;CAC1B,SAAS,MAAmB,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACdD,MAAa,cACX,UACuB;CACvB,IAAI,UAAU,QAAW,OAAO;CAChC,IAAI,OAAO,UAAU,WAAW,OAAO;CACvC,OAAO,MAAM,KAAI,CAAE,CAAC,YAAW,MAAO;AACxC;AAQA,MAAa,gBACX,UAC+B;CAC/B,IAAI,UAAU,UAAa,OAAO,UAAU,UAAU,OAAO;CAC7D,MAAM,UAAU,MAAM,KAAI;CAC1B,IAAI,YAAY,IAAI,OAAO;CAC3B,MAAM,UAAU,OAAO,OAAO;CAC9B,OAAO,OAAO,MAAM,OAAO,IAAI,QAAQ;AACzC"}
1
+ {"version":3,"file":"magmonium-one-attribute-value-C1lqou2L.mjs","names":[],"sources":["../../../../libs/one/src/lib/shared/functions/config/resolve-config-asset.ts","../../../../libs/one/src/lib/shared/lib/components/config-component.ts","../../../../libs/one/src/lib/shared/functions/config/attribute-value.ts"],"sourcesContent":["import { catchError, Observable, of } from 'rxjs';\nimport { AssetStore } from '../../stores/asset.store';\nimport { Config } from '../../type/config/config-type';\n\n/**\n * Resolves a config asset by name via `AssetStore`, outside any component\n * injection context — callable from directives, stores, or components alike.\n */\nexport function resolveConfigAsset<T extends Config = Config>(\n assetStore: InstanceType<typeof AssetStore>,\n subFolder: string | undefined,\n name: string | undefined,\n isOne: boolean,\n remoteBaseUrl: string | undefined\n): Observable<Partial<T>> {\n if (!name) return of({});\n\n const parts = [subFolder, name].filter(\n (part): part is string => typeof part !== 'undefined'\n );\n const type = parts.length > 1 ? parts.slice(0, -1).join('/') : parts[0];\n const assetName = parts[parts.length - 1];\n\n return assetStore\n .resolve<Partial<T>>(type, assetName, isOne, remoteBaseUrl)\n .pipe(catchError(() => of({})));\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n input,\n model,\n signal,\n untracked,\n} from '@angular/core';\nimport { rxResource } from '@angular/core/rxjs-interop';\nimport { AssetStore } from '../../stores/asset.store';\nimport { Config } from '../../type/config/config-type';\nimport { resolveConfigAsset } from '../../functions/config/resolve-config-asset';\nimport { applyColorsToElement, ColorPallet } from '../theme/lib/color-utl';\nimport { ThemeStore } from '../theme/lib/theme-store';\nimport { HttpService } from '../../services/http';\nimport { IS_DESIGN_MODE } from '../../config/tokens';\n\n@Component({\n imports: [],\n selector: 'm-config',\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ConfigComponent<T extends Config = Config> {\n config = model<Partial<T>>();\n name = input<string | undefined>();\n baseUrl = input<string | undefined>();\n protected readonly subFolder: string | undefined = undefined;\n // Off for components whose settings are written on the tag: a Section Form\n // and its Items take every key as an attribute (ADR 0010), so their `name`\n // is the data key a form models by and not a `forms/*.yml` or\n // `fields/*.yml` to fetch. Config assets stay with <m-form> and its\n // <m-input-wrapper>, the pair that is reached by name alone.\n protected readonly resolvesConfigAsset: boolean = true;\n one = input<boolean | undefined>(undefined);\n protected readonly elementRef = inject(ElementRef);\n protected readonly isFromOne = computed(() => {\n if (this.one() || this.config()?.one) {\n return true;\n }\n return this.elementRef.nativeElement.tagName.startsWith('M-ONE');\n });\n protected readonly themeStore = inject(ThemeStore);\n\n // True when this component sits inside a visual editor's canvas (DesignMode).\n // Subclasses use it to render editor-only affordances — placeholder boxes for\n // otherwise zero-sized nodes, drop outlines, inert interactions.\n protected readonly isDesignMode = !!inject(IS_DESIGN_MODE, {\n optional: true,\n });\n\n protected readonly pallet = signal<ColorPallet | undefined>(undefined);\n\n remote = input<string | undefined>();\n protected readonly assetStore = inject(AssetStore);\n private readonly http = inject(HttpService);\n private readonly previousName = signal<string | undefined>(undefined);\n // Protected: a subclass resolving an asset of its own — a Field's accepted\n // shapes — has to reach the same Remote its config came from.\n protected readonly remoteBaseUrl = computed<string | undefined>(() => {\n const remoteId = this.remote() ?? this.config()?.remote;\n return remoteId ? this.http.buildWcAssetBaseUrl(remoteId) : undefined;\n });\n private readonly assetsPath = computed<\n | {\n name: string;\n isOne: boolean;\n remoteBaseUrl: string | undefined;\n }\n | undefined\n >(() => {\n const name = this.name();\n if (!name || !this.resolvesConfigAsset) return undefined;\n return {\n name,\n isOne: this.isFromOne(),\n remoteBaseUrl: this.remoteBaseUrl(),\n };\n });\n private readonly storedConfig = rxResource({\n params: () => this.assetsPath(),\n stream: ({ params }) =>\n resolveConfigAsset<T>(\n this.assetStore,\n this.subFolder,\n params?.name,\n params?.isOne ?? false,\n params?.remoteBaseUrl\n ),\n });\n\n // The `name` the resolved asset declares for itself, which is not always the\n // filename it was found under: fields/label_key.yml declares `label`, so a\n // picker asset and a plain textarea asset can drive one config key. Exposed\n // because `config().name` is stamped with the filename — that is what\n // resolves the asset — and a subclass binding to the declared key needs the\n // other half.\n protected readonly declaredName = computed(\n () => (this.storedConfig.value() as Config | undefined)?.name\n );\n\n // Keep track of manual updates cumulatively to support delta updates\n private readonly manualConfig = signal<Partial<T>>({});\n // Prevents syncManualConfig from treating internal updateConfig writes as external input\n private readonly _internalConfigWritePending = signal(false);\n\n /** Override in subclasses to provide component-level config overrides from individual inputs. */\n protected resolveComponentOverrides(): Partial<T> {\n return {};\n }\n\n constructor() {\n effect(this.syncManualConfig);\n effect(this.updateConfig);\n effect(this.updatePallet);\n }\n\n private readonly syncManualConfig = () => {\n const current = this.config();\n if (!current) return;\n\n untracked(() => {\n // Skip writes that originated from updateConfig — they are already merged\n if (this._internalConfigWritePending()) {\n this._internalConfigWritePending.set(false);\n return;\n }\n\n const prev = this.manualConfig();\n\n const merged = {\n ...current,\n };\n\n const allKeys = new Set([...Object.keys(merged), ...Object.keys(prev)]);\n const changed = [...allKeys].some((k) => {\n const inMerged = Object.prototype.hasOwnProperty.call(merged, k);\n const inPrev = Object.prototype.hasOwnProperty.call(prev, k);\n return (\n inMerged !== inPrev ||\n (merged as Record<string, unknown>)[k] !==\n (prev as Record<string, unknown>)[k]\n );\n });\n\n if (changed) {\n this.manualConfig.set(merged);\n }\n });\n };\n\n protected get defaultColor(): string {\n return 'mm';\n }\n\n private readonly updatePallet = (): void => {\n const config = this.config();\n if (!config) {\n return;\n }\n // Scalar inputs override the resolved config everywhere else. Apply the\n // same precedence to the host palette so its contrast and opposite values\n // cannot lag behind an explicit `color` input.\n const color =\n this.resolveComponentOverrides().color ??\n config.color ??\n this.defaultColor;\n this.pallet.set(\n applyColorsToElement(\n color,\n this.themeStore.color(),\n this.elementRef.nativeElement\n )\n );\n };\n\n private readonly updateConfig = () => {\n const currentName = untracked(() => this.name());\n const prevName = untracked(() => this.previousName());\n const storedConfigValue = this.storedConfig.value();\n const isLoading = this.storedConfig.isLoading();\n const manual = this.manualConfig();\n const componentOverrides = this.resolveComponentOverrides();\n\n const nameChanged = currentName !== prevName && prevName !== undefined;\n\n if (nameChanged) {\n // Clear manual config on name change to start fresh with new asset\n this.manualConfig.set({});\n this._internalConfigWritePending.set(true);\n this.config.set({\n ...((storedConfigValue ?? {}) as T),\n ...componentOverrides,\n name: currentName,\n remote: this.remote() ?? (storedConfigValue as Partial<T>)?.remote,\n isLoading,\n } as T);\n } else {\n untracked(() => {\n const currentConfig = this.config();\n const merged = {\n ...((storedConfigValue ?? {}) as Partial<T>),\n ...(manual as T),\n ...componentOverrides,\n name: currentName ?? currentConfig?.name,\n baseUrl: this.baseUrl() ?? currentConfig?.baseUrl,\n remote:\n this.remote() ??\n (storedConfigValue as Partial<T>)?.remote ??\n currentConfig?.remote,\n isLoading,\n } as T;\n\n const prev = currentConfig ?? {};\n const allKeys = new Set([...Object.keys(merged), ...Object.keys(prev)]);\n const same = [...allKeys].every((k) => {\n const inMerged = Object.prototype.hasOwnProperty.call(merged, k);\n const inPrev = Object.prototype.hasOwnProperty.call(prev, k);\n return (\n inMerged === inPrev &&\n (merged as Record<string, unknown>)[k] ===\n (prev as Record<string, unknown>)[k]\n );\n });\n if (same) return;\n\n this._internalConfigWritePending.set(true);\n this.config.set(merged);\n });\n }\n this.previousName.set(currentName);\n };\n}\n","// A component's scalar settings ride on its tag (ADR 0010), and an attribute\n// is a string even when the value is not. These are what a\n// `resolveComponentOverrides()` runs an attribute through before folding it\n// into the config the component would otherwise have read from a YAML asset.\n\n/**\n * A bare attribute (`required`, `fullWidth`) arrives as '', which is HTML for\n * \"present\" — the one spelling that has to mean true rather than empty. Only\n * the literal string 'false' reads as false, so `[required]=\"false\"` and\n * `required=\"false\"` agree; without that, a non-empty string would reach a\n * `boolean` input as truthy and an unticked toggle would render as ticked.\n */\nexport const toAttrBool = (\n value: boolean | string | undefined\n): boolean | undefined => {\n if (value === undefined) return undefined;\n if (typeof value === 'boolean') return value;\n return value.trim().toLowerCase() !== 'false';\n};\n\n/**\n * A numeric string becomes a number so the inputs reading these get the type\n * they expect. Anything else passes through as written — `maxWidth: 50%` and a\n * date format are legitimately non-numeric, and an empty attribute is an unset\n * rather than a zero.\n */\nexport const toAttrNumber = (\n value: number | string | undefined\n): number | string | undefined => {\n if (value === undefined || typeof value === 'number') return value;\n const trimmed = value.trim();\n if (trimmed === '') return undefined;\n const numeric = Number(trimmed);\n return Number.isNaN(numeric) ? value : numeric;\n};\n"],"mappings":";;;;;;AAQA,SAAgB,mBACd,YACA,WACA,MACA,OACA,eAAiC;CAEjC,IAAI,CAAC,MAAM,OAAO,GAAG,CAAA,CAAE;CAEvB,MAAM,QAAQ,CAAC,WAAW,IAAI,CAAC,CAAC,QAC7B,SAAyB,OAAO,SAAS,WAAW;CAEvD,MAAM,OAAO,MAAM,SAAS,IAAI,MAAM,MAAM,GAAG,EAAE,CAAC,CAAC,KAAK,GAAG,IAAI,MAAM;CACrE,MAAM,YAAY,MAAM,MAAM,SAAS;CAEvC,OAAO,WACJ,QAAoB,MAAM,WAAW,OAAO,aAAa,CAAC,CAC1D,KAAK,iBAAiB,GAAG,CAAA,CAAE,CAAC,CAAC;AAClC;ACCA,IAAa,kBAAb,MAAa,gBAAe;CAC1B,SAAS,MAAmB,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAC5B,OAAO,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,IAAI,UAAU,QAAW,OAAO;CAChC,IAAI,OAAO,UAAU,WAAW,OAAO;CACvC,OAAO,MAAM,KAAI,CAAE,CAAC,YAAW,MAAO;AACxC;AAQA,MAAa,gBACX,UAC+B;CAC/B,IAAI,UAAU,UAAa,OAAO,UAAU,UAAU,OAAO;CAC7D,MAAM,UAAU,MAAM,KAAI;CAC1B,IAAI,YAAY,IAAI,OAAO;CAC3B,MAAM,UAAU,OAAO,OAAO;CAC9B,OAAO,OAAO,MAAM,OAAO,IAAI,QAAQ;AACzC"}
@@ -1,4 +1,4 @@
1
- import { t as BaseInputComponent } from "./magmonium-one-base-input-BTxhUtYO.mjs";
1
+ import { t as BaseInputComponent } from "./magmonium-one-base-input-C1Ek0Ezm.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Directive, afterRenderEffect, model, viewChild } from "@angular/core";
4
4
  var BaseCheckboxInputComponent = class BaseCheckboxInputComponent extends BaseInputComponent {
@@ -74,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({
74
74
  });
75
75
  export { BaseCheckboxInputComponent as t };
76
76
 
77
- //# sourceMappingURL=magmonium-one-base-checkbox-BNQAkyYU.mjs.map
77
+ //# sourceMappingURL=magmonium-one-base-checkbox-CIxAiA4Q.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"magmonium-one-base-checkbox-BNQAkyYU.mjs","names":[],"sources":["../../../../libs/one/src/lib/shared/ui/input/ui/checkbox/base-checkbox.ts"],"sourcesContent":["import {\n afterRenderEffect,\n Directive,\n ElementRef,\n model,\n ModelSignal,\n viewChild,\n} from '@angular/core';\nimport { FormCheckboxControl } from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\nimport { Input } from '../../model/input';\n\n@Directive()\nexport class BaseCheckboxInputComponent\n extends BaseInputComponent<Input>\n implements FormCheckboxControl\n{\n public value = undefined;\n /** Required by FormCheckboxControl interface */\n public readonly checked: ModelSignal<boolean> = model<boolean>(\n false\n ) as ModelSignal<boolean>;\n\n private inputElement =\n viewChild<ElementRef<HTMLInputElement>>('inputElement');\n\n constructor() {\n super();\n afterRenderEffect(() => {\n if (this.focused() && this.inputElement()) {\n this.inputElement()?.nativeElement.focus();\n }\n });\n }\n\n protected readonly setValue = (value: boolean) => {\n this.checked.set(value);\n this.touched.set(true);\n };\n}\n"],"mappings":";;;AAaA,IAAa,6BAAb,MAAa,mCACH,mBAAyB;CAG1B,QAAQ;CAEC,UAAgC,MAC9C,KAAK;CAGC,eACN,UAAwC,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CAEzD,cAAA;EACE,MAAK;EACL,wBAAuB;GACrB,IAAI,KAAK,QAAO,KAAM,KAAK,aAAY,GACrC,KAAK,aAAY,CAAE,EAAE,cAAc,MAAK;EAE5C,CAAC;CACH;CAEmB,YAAY,UAAkB;EAC/C,KAAK,QAAQ,IAAI,KAAK;EACtB,KAAK,QAAQ,IAAI,IAAI;CACvB;CAzBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA0B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA1B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA0B,cAAA;EAAA,QAAA,EAAA,SAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,SAAA,EAAA,SAAA,gBAAA;EAAA,aAAA,CAAA;GAAA,cAAA;GAAA,OAAA;GAAA,WAAA,CAAA,cAAA;GAAA,aAAA;GAAA,UAAA;EAAA,CAAA;EAAA,iBAAA;EAAA,UAAA;CAAA,CAAA;;AAA1B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA0B,YAAA,CAAA,EADtC,MAAA,UAY2C,CAAA;CAAA,sBAAA,CAAA;CAAA,gBAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
1
+ {"version":3,"file":"magmonium-one-base-checkbox-CIxAiA4Q.mjs","names":[],"sources":["../../../../libs/one/src/lib/shared/ui/input/ui/checkbox/base-checkbox.ts"],"sourcesContent":["import {\n afterRenderEffect,\n Directive,\n ElementRef,\n model,\n ModelSignal,\n viewChild,\n} from '@angular/core';\nimport { FormCheckboxControl } from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\nimport { Input } from '../../model/input';\n\n@Directive()\nexport class BaseCheckboxInputComponent\n extends BaseInputComponent<Input>\n implements FormCheckboxControl\n{\n public value = undefined;\n /** Required by FormCheckboxControl interface */\n public readonly checked: ModelSignal<boolean> = model<boolean>(\n false\n ) as ModelSignal<boolean>;\n\n private inputElement =\n viewChild<ElementRef<HTMLInputElement>>('inputElement');\n\n constructor() {\n super();\n afterRenderEffect(() => {\n if (this.focused() && this.inputElement()) {\n this.inputElement()?.nativeElement.focus();\n }\n });\n }\n\n protected readonly setValue = (value: boolean) => {\n this.checked.set(value);\n this.touched.set(true);\n };\n}\n"],"mappings":";;;AAaA,IAAa,6BAAb,MAAa,mCACH,mBAAyB;CAG1B,QAAQ;CAEC,UAAgC,MAC9C,KAAK;CAGC,eACN,UAAwC,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CAEzD,cAAA;EACE,MAAK;EACL,wBAAuB;GACrB,IAAI,KAAK,QAAO,KAAM,KAAK,aAAY,GACrC,KAAK,aAAY,CAAE,EAAE,cAAc,MAAK;EAE5C,CAAC;CACH;CAEmB,YAAY,UAAkB;EAC/C,KAAK,QAAQ,IAAI,KAAK;EACtB,KAAK,QAAQ,IAAI,IAAI;CACvB;CAzBW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA0B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA1B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA0B,cAAA;EAAA,QAAA,EAAA,SAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,SAAA,EAAA,SAAA,gBAAA;EAAA,aAAA,CAAA;GAAA,cAAA;GAAA,OAAA;GAAA,WAAA,CAAA,cAAA;GAAA,aAAA;GAAA,UAAA;EAAA,CAAA;EAAA,iBAAA;EAAA,UAAA;CAAA,CAAA;;AAA1B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA0B,YAAA,CAAA,EADtC,MAAA,UAY2C,CAAA;CAAA,sBAAA,CAAA;CAAA,gBAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
@@ -1,12 +1,12 @@
1
- import { c as TranslatePipe, l as TranslateService } from "./magmonium-one-size-converter-C5fG_dgw.mjs";
2
- import { t as SelectorDirective } from "./magmonium-one-selector-DeRIUUBA.mjs";
3
- import { t as LabelComponent } from "./magmonium-one-label-DjvJthAB.mjs";
4
- import { t as ButtonComponent } from "./magmonium-one-button-BWB3ZKIj.mjs";
5
- import { t as TextOutputComponent } from "./magmonium-one-text-output-Ci93Hi9Y.mjs";
6
- import { t as BaseInputComponent } from "./magmonium-one-base-input-BTxhUtYO.mjs";
7
- import "./magmonium-one-directives-DePukAj8.mjs";
8
- import { t as TextInputComponent } from "./magmonium-one-text-BL-1lWST.mjs";
9
- import { t as assetOptions } from "./magmonium-one-options-asset-EVsv0DL7.mjs";
1
+ import { c as TranslatePipe, l as TranslateService } from "./magmonium-one-size-converter-BOBD8nHy.mjs";
2
+ import { t as SelectorDirective } from "./magmonium-one-selector-DAEI_0JX.mjs";
3
+ import { t as LabelComponent } from "./magmonium-one-label-D_rU82nD.mjs";
4
+ import { t as ButtonComponent } from "./magmonium-one-button-DZ4wCJgb.mjs";
5
+ import { t as TextOutputComponent } from "./magmonium-one-text-output-BZU61QIF.mjs";
6
+ import { t as BaseInputComponent } from "./magmonium-one-base-input-C1Ek0Ezm.mjs";
7
+ import "./magmonium-one-directives-B93p5bAL.mjs";
8
+ import { t as TextInputComponent } from "./magmonium-one-text-BnTkYLJe.mjs";
9
+ import { t as assetOptions } from "./magmonium-one-options-asset-BMd7W0Mk.mjs";
10
10
  import * as i0 from "@angular/core";
11
11
  import { ChangeDetectionStrategy, Component, Directive, ElementRef, computed, effect, inject, input, inputBinding, linkedSignal, model, output, outputBinding, signal, viewChild } from "@angular/core";
12
12
  var DropdownBoxComponent = class DropdownBoxComponent {
@@ -601,4 +601,4 @@ i0.ɵɵngDeclareClassMetadata({
601
601
  });
602
602
  export { DROPDOWN_IMPORTS as n, DROPDOWN_TEMPLATE as r, BaseDropdownComponent as t };
603
603
 
604
- //# sourceMappingURL=magmonium-one-base-dropdown-DU4B4w7c.mjs.map
604
+ //# sourceMappingURL=magmonium-one-base-dropdown-XpTWe4Ii.mjs.map